diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2016-08-10 10:42:44 +0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 10:46:40 +0000 |
commit | 6bfa24aacb56aaf0d16c278ec1f3561d5e3b4606 (patch) | |
tree | f443732263147f6a6604d18f5ddc2f1274f5deb4 /cui/source/inc/cuires.hrc | |
parent | 5a95364bcb43210708764af91b00663e0b198450 (diff) |
Use English category names instead of localized ones in theme search tdf#87597
Added an OUString array to hold the original English strings
for search categories. The array is initialized in ctor by using
an initializer list of strings.
Also grouped the related strings of category names. So it can be
iterated easily without writing their names one by one.
Buttons in the UI will be displayed with localized strings,
but the search will take place with the original strings
coming from the array created in ctor.
Change-Id: Ieb72644203df1325e97693b14d5b3476020c6ff1
Reviewed-on: https://gerrit.libreoffice.org/28027
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/inc/cuires.hrc')
-rw-r--r-- | cui/source/inc/cuires.hrc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cui/source/inc/cuires.hrc b/cui/source/inc/cuires.hrc index 67c79e2bb096..8b452f216af6 100644 --- a/cui/source/inc/cuires.hrc +++ b/cui/source/inc/cuires.hrc @@ -435,11 +435,8 @@ #define RID_SVXSTR_CONFIRM_RESTORE_DEFAULT (RID_SVX_START + 1284) #define RID_SVXSTR_CONFIRM_SET_LANGUAGE (RID_SVX_START + 1285) -#define RID_SVXSTR_PERSONA_ABSTRACT (RID_SVX_START + 1286) -#define RID_SVXSTR_PERSONA_COLOR (RID_SVX_START + 1287) -#define RID_SVXSTR_PERSONA_MUSIC (RID_SVX_START + 1288) -#define RID_SVXSTR_PERSONA_NATURE (RID_SVX_START + 1289) -#define RID_SVXSTR_PERSONA_SOLID (RID_SVX_START + 1290) +// String Array for Persona Categories +#define RID_SVXSTR_PERSONA_CATEGORIES (RID_SVX_START + 1286) #define RID_SVXPAGE_OPENCL (RID_SVX_START + 254) |