diff options
author | Andras Timar <timar@fsf.hu> | 2011-03-26 20:10:39 +0100 |
---|---|---|
committer | Andras Timar <timar@fsf.hu> | 2011-03-26 20:14:34 +0100 |
commit | 50839cd9143a6de9154564e43d3631248cb14798 (patch) | |
tree | 53ae0ae04cf289dc83a947ae0c6e64c0de688542 | |
parent | 66a2e8efc92d1a07c3fd2e2e6670fd503d7bccd0 (diff) |
make Tango palette entries localizable
-rwxr-xr-x | svx/inc/svx/dialogs.hrc | 18 | ||||
-rwxr-xr-x | svx/source/dialog/sdstring.src | 88 | ||||
-rwxr-xr-x | svx/source/unodraw/unoprov.cxx | 20 |
3 files changed, 124 insertions, 2 deletions
diff --git a/svx/inc/svx/dialogs.hrc b/svx/inc/svx/dialogs.hrc index 22474fa64b6f..735994b5ebed 100755 --- a/svx/inc/svx/dialogs.hrc +++ b/svx/inc/svx/dialogs.hrc @@ -657,6 +657,24 @@ #define RID_SVXSTR_LIBRE_PURPLE_ACCENT_DEF (RID_SVX_START + 628) #define RID_SVXSTR_LIBRE_YELLOW_ACCENT_DEF (RID_SVX_START + 629) +// Tango palette colors +#define RID_SVXSTR_TANGO_BUTTER (RID_SVX_START + 630) +#define RID_SVXSTR_TANGO_ORANGE (RID_SVX_START + 631) +#define RID_SVXSTR_TANGO_CHOCOLATE (RID_SVX_START + 632) +#define RID_SVXSTR_TANGO_CHAMELEON (RID_SVX_START + 633) +#define RID_SVXSTR_TANGO_SKY_BLUE (RID_SVX_START + 634) +#define RID_SVXSTR_TANGO_PLUM (RID_SVX_START + 635) +#define RID_SVXSTR_TANGO_SCARLET_RED (RID_SVX_START + 636) +#define RID_SVXSTR_TANGO_ALUMINIUM (RID_SVX_START + 637) +#define RID_SVXSTR_TANGO_BUTTER_DEF (RID_SVX_START + 638) +#define RID_SVXSTR_TANGO_ORANGE_DEF (RID_SVX_START + 639) +#define RID_SVXSTR_TANGO_CHOCOLATE_DEF (RID_SVX_START + 640) +#define RID_SVXSTR_TANGO_CHAMELEON_DEF (RID_SVX_START + 641) +#define RID_SVXSTR_TANGO_SKY_BLUE_DEF (RID_SVX_START + 642) +#define RID_SVXSTR_TANGO_PLUM_DEF (RID_SVX_START + 643) +#define RID_SVXSTR_TANGO_SCARLET_RED_DEF (RID_SVX_START + 644) +#define RID_SVXSTR_TANGO_ALUMINIUM_DEF (RID_SVX_START + 645) + // Default-Gradient-Names #define RID_SVXSTR_GRDT0_DEF (RID_SVX_START + 2000) #define RID_SVXSTR_GRDT1_DEF (RID_SVX_START + 2001) diff --git a/svx/source/dialog/sdstring.src b/svx/source/dialog/sdstring.src index aa865136e939..7be731e08dc9 100755 --- a/svx/source/dialog/sdstring.src +++ b/svx/source/dialog/sdstring.src @@ -1821,6 +1821,94 @@ String RID_SVXSTR_LIBRE_YELLOW_ACCENT_DEF Text = "Yellow Accent" ; }; +String RID_SVXSTR_TANGO_BUTTER +{ + Text [ en-US ] = "Tango: Butter" ; + Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; +}; + +String RID_SVXSTR_TANGO_ORANGE +{ + Text [ en-US ] = "Tango: Orange" ; + Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; +}; + +String RID_SVXSTR_TANGO_CHOCOLATE +{ + Text [ en-US ] = "Tango: Chocolate" ; + Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; +}; + +String RID_SVXSTR_TANGO_CHAMELEON +{ + Text [ en-US ] = "Tango: Chameleon" ; + Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; +}; + +String RID_SVXSTR_TANGO_SKY_BLUE +{ + Text [ en-US ] = "Tango: Sky Blue" ; + Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; +}; + +String RID_SVXSTR_TANGO_PLUM +{ + Text [ en-US ] = "Tango: Plum" ; + Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; +}; + +String RID_SVXSTR_TANGO_SCARLET_RED +{ + Text [ en-US ] = "Tango: Scarlet Red" ; + Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; +}; + +String RID_SVXSTR_TANGO_ALUMINIUM +{ + Text [ en-US ] = "Tango: Aluminium" ; + Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; +}; + +String RID_SVXSTR_TANGO_BUTTER_DEF +{ + Text = "Tango: Butter" ; +}; + +String RID_SVXSTR_TANGO_ORANGE_DEF +{ + Text = "Tango: Orange" ; +}; + +String RID_SVXSTR_TANGO_CHOCOLATE_DEF +{ + Text = "Tango: Chocolate" ; +}; + +String RID_SVXSTR_TANGO_CHAMELEON_DEF +{ + Text = "Tango: Chameleon" ; +}; + +String RID_SVXSTR_TANGO_SKY_BLUE_DEF +{ + Text = "Tango: Sky Blue" ; +}; + +String RID_SVXSTR_TANGO_PLUM_DEF +{ + Text = "Tango: Plum" ; +}; + +String RID_SVXSTR_TANGO_SCARLET_RED_DEF +{ + Text = "Tango: Scarlet Red" ; +}; + +String RID_SVXSTR_TANGO_ALUMINIUM_DEF +{ + Text = "Tango: Aluminium" ; +}; + String RID_SVXSTR_GALLERYPROPS_GALTHEME { Text [ en-US ] = "Gallery Theme" ; diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx index 5db7b6632472..b07eaa84206d 100755 --- a/svx/source/unodraw/unoprov.cxx +++ b/svx/source/unodraw/unoprov.cxx @@ -1249,7 +1249,15 @@ static sal_uInt16 SvxUnoColorNameDefResId[] = RID_SVXSTR_LIBRE_ORANGE_ACCENT_DEF, RID_SVXSTR_LIBRE_PURPLE_DEF, RID_SVXSTR_LIBRE_PURPLE_ACCENT_DEF, - RID_SVXSTR_LIBRE_YELLOW_ACCENT_DEF + RID_SVXSTR_LIBRE_YELLOW_ACCENT_DEF, + RID_SVXSTR_TANGO_BUTTER_DEF, + RID_SVXSTR_TANGO_ORANGE_DEF, + RID_SVXSTR_TANGO_CHOCOLATE_DEF, + RID_SVXSTR_TANGO_CHAMELEON_DEF, + RID_SVXSTR_TANGO_SKY_BLUE_DEF, + RID_SVXSTR_TANGO_PLUM_DEF, + RID_SVXSTR_TANGO_SCARLET_RED_DEF, + RID_SVXSTR_TANGO_ALUMINIUM_DEF }; static sal_uInt16 SvxUnoColorNameResId[] = @@ -1287,7 +1295,15 @@ static sal_uInt16 SvxUnoColorNameResId[] = RID_SVXSTR_LIBRE_ORANGE_ACCENT, RID_SVXSTR_LIBRE_PURPLE, RID_SVXSTR_LIBRE_PURPLE_ACCENT, - RID_SVXSTR_LIBRE_YELLOW_ACCENT + RID_SVXSTR_LIBRE_YELLOW_ACCENT, + RID_SVXSTR_TANGO_BUTTER, + RID_SVXSTR_TANGO_ORANGE, + RID_SVXSTR_TANGO_CHOCOLATE, + RID_SVXSTR_TANGO_CHAMELEON, + RID_SVXSTR_TANGO_SKY_BLUE, + RID_SVXSTR_TANGO_PLUM, + RID_SVXSTR_TANGO_SCARLET_RED, + RID_SVXSTR_TANGO_ALUMINIUM }; bool SvxUnoConvertResourceString( sal_uInt16* pSourceResIds, sal_uInt16* pDestResIds, int nCount, String& rString ) throw() |