diff options
author | Kovács László Zoltán <kovacs.laszlo.zoltan98@gmail.com> | 2019-08-13 15:46:56 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2019-08-21 15:02:43 +0200 |
commit | 16006492d6b1e26fdb13176b9a5ed74e4048218b (patch) | |
tree | 59afe794f4222ccf85c514f6d3dc555ab067452f /svx | |
parent | 655f4581575993226e81b40e00bdffbb21f69166 (diff) |
tdf#105000 Make Material palette entries localizable
Change-Id: I8e208ed6b807e43ce53c5604ccb5d544c28189e5
Reviewed-on: https://gerrit.libreoffice.org/77419
Reviewed-by: Gabor Kelemen <kelemen.gabor2@nisz.hu>
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/strings.hxx | 26 | ||||
-rw-r--r-- | svx/source/unodraw/unoprov.cxx | 48 |
2 files changed, 73 insertions, 1 deletions
diff --git a/svx/inc/strings.hxx b/svx/inc/strings.hxx index 81b9901980b6..353b97c54c83 100644 --- a/svx/inc/strings.hxx +++ b/svx/inc/strings.hxx @@ -91,7 +91,31 @@ #define RID_SVXSTR_COLOR_SPRINGGREEN_DEF "Spring Green" #define RID_SVXSTR_COLOR_CHARTREUSEGREEN_DEF "Chartreuse Green" #define RID_SVXSTR_COLOR_ROSE_DEF "Rose" - +// Reference strings for the Material palette +#define RID_SVXSTR_COLOR_MATERIAL_GRAY_A_DEF "Gray A" +#define RID_SVXSTR_COLOR_MATERIAL_YELLOW_A_DEF "Yellow A" +#define RID_SVXSTR_COLOR_MATERIAL_AMBER_A_DEF "Amber A" +#define RID_SVXSTR_COLOR_MATERIAL_AMBER_DEF "Amber" +#define RID_SVXSTR_COLOR_MATERIAL_ORANGE_A_DEF "Orange A" +#define RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE_A_DEF "Deep Orange A" +#define RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE_DEF "Deep Orange" +#define RID_SVXSTR_COLOR_MATERIAL_RED_A_DEF "Red A" +#define RID_SVXSTR_COLOR_MATERIAL_PINK_A_DEF "Pink A" +#define RID_SVXSTR_COLOR_MATERIAL_PURPLE_A_DEF "Purple A" +#define RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE_A_DEF "Deep Purple A" +#define RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE_DEF "Deep Purple" +#define RID_SVXSTR_COLOR_MATERIAL_INDIGO_A_DEF "Indigo A" +#define RID_SVXSTR_COLOR_MATERIAL_BLUE_A_DEF "Blue A" +#define RID_SVXSTR_COLOR_MATERIAL_LIGHT_BLUE_A_DEF "Light Blue A" +#define RID_SVXSTR_COLOR_MATERIAL_CYAN_A_DEF "Cyan A" +#define RID_SVXSTR_COLOR_MATERIAL_TEAL_A_DEF "Teal A" +#define RID_SVXSTR_COLOR_MATERIAL_GREEN_A_DEF "Green A" +#define RID_SVXSTR_COLOR_MATERIAL_LIGHT_GREEN_A_DEF "Light Green A" +#define RID_SVXSTR_COLOR_MATERIAL_LIME_A_DEF "Lime A" +#define RID_SVXSTR_COLOR_MATERIAL_BROWN_A_DEF "Brown A" +#define RID_SVXSTR_COLOR_MATERIAL_BROWN_DEF "Brown" +#define RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY_A_DEF "Blue Gray A" +#define RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY_DEF "Blue Gray" // Reference-strings for standard-gradient-table #define RID_SVXSTR_GRDT0_DEF "Gradient" #define RID_SVXSTR_GRDT1_DEF "Linear blue/white" diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx index 25b6486b01b1..06bd11bda42e 100644 --- a/svx/source/unodraw/unoprov.cxx +++ b/svx/source/unodraw/unoprov.cxx @@ -1664,6 +1664,30 @@ static const char* SvxUnoColorNameDefResId[] = RID_SVXSTR_COLOR_SPRINGGREEN_DEF, RID_SVXSTR_COLOR_CHARTREUSEGREEN_DEF, RID_SVXSTR_COLOR_ROSE_DEF, + RID_SVXSTR_COLOR_MATERIAL_GRAY_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_YELLOW_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_AMBER_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_AMBER_DEF, + RID_SVXSTR_COLOR_MATERIAL_ORANGE_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE_DEF, + RID_SVXSTR_COLOR_MATERIAL_RED_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_PINK_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_PURPLE_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE_DEF, + RID_SVXSTR_COLOR_MATERIAL_INDIGO_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_BLUE_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_LIGHT_BLUE_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_CYAN_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_TEAL_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_GREEN_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_LIGHT_GREEN_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_LIME_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_BROWN_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_BROWN_DEF, + RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY_A_DEF, + RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY_DEF, RID_SVXSTR_COLOR_LIBRE_GREEN_1_DEF, RID_SVXSTR_COLOR_LIBRE_GREEN_ACCENT_DEF, RID_SVXSTR_COLOR_LIBRE_BLUE_ACCENT_DEF, @@ -1752,6 +1776,30 @@ static const char* SvxUnoColorNameResId[] = RID_SVXSTR_COLOR_SPRINGGREEN, RID_SVXSTR_COLOR_CHARTREUSEGREEN, RID_SVXSTR_COLOR_ROSE, + RID_SVXSTR_COLOR_MATERIAL_GRAY_A, + RID_SVXSTR_COLOR_MATERIAL_YELLOW_A, + RID_SVXSTR_COLOR_MATERIAL_AMBER_A, + RID_SVXSTR_COLOR_MATERIAL_AMBER, + RID_SVXSTR_COLOR_MATERIAL_ORANGE_A, + RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE_A, + RID_SVXSTR_COLOR_MATERIAL_DEEP_ORANGE, + RID_SVXSTR_COLOR_MATERIAL_RED_A, + RID_SVXSTR_COLOR_MATERIAL_PINK_A, + RID_SVXSTR_COLOR_MATERIAL_PURPLE_A, + RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE_A, + RID_SVXSTR_COLOR_MATERIAL_DEEP_PURPLE, + RID_SVXSTR_COLOR_MATERIAL_INDIGO_A, + RID_SVXSTR_COLOR_MATERIAL_BLUE_A, + RID_SVXSTR_COLOR_MATERIAL_LIGHT_BLUE_A, + RID_SVXSTR_COLOR_MATERIAL_CYAN_A, + RID_SVXSTR_COLOR_MATERIAL_TEAL_A, + RID_SVXSTR_COLOR_MATERIAL_GREEN_A, + RID_SVXSTR_COLOR_MATERIAL_LIGHT_GREEN_A, + RID_SVXSTR_COLOR_MATERIAL_LIME_A, + RID_SVXSTR_COLOR_MATERIAL_BROWN_A, + RID_SVXSTR_COLOR_MATERIAL_BROWN, + RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY_A, + RID_SVXSTR_COLOR_MATERIAL_BLUE_GRAY, RID_SVXSTR_COLOR_LIBRE_GREEN_1, RID_SVXSTR_COLOR_LIBRE_GREEN_ACCENT, RID_SVXSTR_COLOR_LIBRE_BLUE_ACCENT, |