diff options
author | Andras Timar <timar@fsf.hu> | 2011-03-14 13:04:22 +0100 |
---|---|---|
committer | Andras Timar <timar@fsf.hu> | 2011-03-14 20:31:57 +0100 |
commit | 7604d66b26924084c30046dc616b94feecefbcbf (patch) | |
tree | 84a0a77c08001a0f19aac22ba0f2442cd0110f32 /svx/source | |
parent | cbee598404d1a5664956dce204b72558fa11d77a (diff) |
make LibreOffice palette entries localizable - fdo#32628
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/dialog/sdstring.src | 142 | ||||
-rw-r--r-- | svx/source/unodraw/unoprov.cxx | 18 |
2 files changed, 72 insertions, 88 deletions
diff --git a/svx/source/dialog/sdstring.src b/svx/source/dialog/sdstring.src index 3b3b1b6c6e7d..6805557570fa 100644 --- a/svx/source/dialog/sdstring.src +++ b/svx/source/dialog/sdstring.src @@ -1182,103 +1182,73 @@ String RID_SVXSTR_COLOR_USER Text [ en-US ] = "User" ; }; +String RID_SVXSTR_LIBRE_GREEN_1 +{ + Text [ en-US ] = "Green 1 (LibreOffice Main Color)" ; +}; +String RID_SVXSTR_LIBRE_GREEN_ACCENT +{ + Text [ en-US ] = "Green Accent" ; +}; +String RID_SVXSTR_LIBRE_BLUE_ACCENT +{ + Text [ en-US ] = "Blue Accent" ; +}; +String RID_SVXSTR_LIBRE_ORANGE_ACCENT +{ + Text [ en-US ] = "Orange Accent" ; +}; +String RID_SVXSTR_LIBRE_PURPLE +{ + Text [ en-US ] = "Purple" ; +}; +String RID_SVXSTR_LIBRE_PURPLE_ACCENT +{ + Text [ en-US ] = "Purple Accent" ; +}; +String RID_SVXSTR_LIBRE_YELLOW_ACCENT +{ + Text [ en-US ] = "Yellow Accent" ; +}; +String RID_SVXSTR_LIBRE_GREEN_1_DEF +{ + Text = "Green 1 (LibreOffice Main Color)" ; +}; +String RID_SVXSTR_LIBRE_GREEN_ACCENT_DEF +{ + Text = "Green Accent" ; +}; +String RID_SVXSTR_LIBRE_BLUE_ACCENT_DEF +{ + Text = "Blue Accent" ; +}; +String RID_SVXSTR_LIBRE_ORANGE_ACCENT_DEF +{ + Text = "Orange Accent" ; +}; +String RID_SVXSTR_LIBRE_PURPLE_DEF +{ + Text = "Purple" ; +}; +String RID_SVXSTR_LIBRE_PURPLE_ACCENT_DEF +{ + Text = "Purple Accent" ; +}; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +String RID_SVXSTR_LIBRE_YELLOW_ACCENT_DEF +{ + Text = "Yellow Accent" ; +}; diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx index 743b1cc0199b..597f1c17bfc7 100644 --- a/svx/source/unodraw/unoprov.cxx +++ b/svx/source/unodraw/unoprov.cxx @@ -1277,7 +1277,14 @@ static USHORT const SvxUnoColorNameDefResId[] = RID_SVXSTR_SALMON_DEF, RID_SVXSTR_SEABLUE_DEF, RID_SVXSTR_COLOR_SUN_DEF, - RID_SVXSTR_COLOR_CHART_DEF + RID_SVXSTR_COLOR_CHART_DEF, + RID_SVXSTR_LIBRE_GREEN_1_DEF, + RID_SVXSTR_LIBRE_GREEN_ACCENT_DEF, + RID_SVXSTR_LIBRE_BLUE_ACCENT_DEF, + RID_SVXSTR_LIBRE_ORANGE_ACCENT_DEF, + RID_SVXSTR_LIBRE_PURPLE_DEF, + RID_SVXSTR_LIBRE_PURPLE_ACCENT_DEF, + RID_SVXSTR_LIBRE_YELLOW_ACCENT_DEF }; static USHORT const SvxUnoColorNameResId[] = @@ -1308,7 +1315,14 @@ static USHORT const SvxUnoColorNameResId[] = RID_SVXSTR_SALMON, RID_SVXSTR_SEABLUE, RID_SVXSTR_COLOR_SUN, - RID_SVXSTR_COLOR_CHART + RID_SVXSTR_COLOR_CHART, + RID_SVXSTR_LIBRE_GREEN_1, + RID_SVXSTR_LIBRE_GREEN_ACCENT, + RID_SVXSTR_LIBRE_BLUE_ACCENT, + RID_SVXSTR_LIBRE_ORANGE_ACCENT, + RID_SVXSTR_LIBRE_PURPLE, + RID_SVXSTR_LIBRE_PURPLE_ACCENT, + RID_SVXSTR_LIBRE_YELLOW_ACCENT }; bool SvxUnoConvertResourceString( USHORT* pSourceResIds, USHORT* pDestResIds, int nCount, String& rString ) throw() |