Author: jleroux
Date: Sat Aug 17 18:26:42 2019
New Revision: 1865370
URL: http://svn.apache.org/viewvc?rev=1865370&view=rev
Log:
Improved: Use Labels in themes names
(OFBIZ-9863)
Adds labels and necessary calls in Theme.xml
While at it, improves other backend themes labels by removing redundancy, at
least in French and English.
Modified:
ofbiz/ofbiz-framework/trunk/framework/common/config/CommonEntityLabels.xml
ofbiz/ofbiz-framework/trunk/themes/rainbowstone/widget/Theme.xml
Modified:
ofbiz/ofbiz-framework/trunk/framework/common/config/CommonEntityLabels.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/common/config/CommonEntityLabels.xml?rev=1865370&r1=1865369&r2=1865370&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/common/config/CommonEntityLabels.xml
(original)
+++ ofbiz/ofbiz-framework/trunk/framework/common/config/CommonEntityLabels.xml
Sat Aug 17 18:26:42 2019
@@ -21886,9 +21886,9 @@
</property>
<property key="VisualTheme.description.BLUELIGHT">
<value xml:lang="cs">BlueLight Theme: navigaÄnà Åádek, menu a
zakulacené rohy</value>
- <value xml:lang="en">BlueLight Theme: breadcrumbs, drop-down menus and
rounded corners</value>
+ <value xml:lang="en">: breadcrumbs, drop-down menus and rounded
corners</value>
<value xml:lang="es">BlueLight: Migas de pan, menús desplegables y
las esquinas redondeadas</value>
- <value xml:lang="fr">BlueLight Theme: fil d'ariane, menus déroulants
et coins arrondis</value>
+ <value xml:lang="fr"> : fil d'ariane, menus déroulants et coins
arrondis</value>
<value xml:lang="ja">ãã«ã¼ã©ã¤ã:
ãã³ãããªã¹ãããããããã¦ã³ã¡ãã¥ã¼ãããã¦ä¸¸ãã³ã¼ãã¼</value>
<value xml:lang="pt-BR">Bluelight Tema: breadcrumbs, menus drop-down e
cantos arredondados</value>
<value xml:lang="ru">СвеÑло-голÑÐ±Ð°Ñ Ñема:
ÐÑеадкÑамбÑÑ, ÑаÑкÑÑваÑÑиеÑÑ Ð¼ÐµÐ½Ñ Ñ
закÑÑгленнÑм Ñглами</value>
@@ -21898,9 +21898,9 @@
</property>
<property key="VisualTheme.description.FLAT_GREY">
<value xml:lang="cs">Flat Grey - Plovoucà rozloženÃ, podpora
obousmÄrného textu</value>
- <value xml:lang="en">Flat Grey - Floating Layout, Sight-Impaired
Accessible, Bidirectional</value>
+ <value xml:lang="en"> - Floating Layout, Sight-Impaired Accessible,
Bidirectional</value>
<value xml:lang="es">Flat Grey - Diseño flotante, accesible para
personas con discapacidad visual, bidireccional</value>
- <value xml:lang="fr">Flat Grey : mise en page dynamique,
accessibilité, support de texte bidirectionnel</value>
+ <value xml:lang="fr"> : mise en page dynamique, accessibilité,
support de texte bidirectionnel</value>
<value xml:lang="ja">ãã©ããã°ã¬ã¼:
以åã®OFBizæ¨æºããã¼ãã£ã³ã°ã¬ã¤ã¢ã¦ã</value>
<value xml:lang="pt-BR">Apartamento Grey - Layout padrão antigo OFBiz
flutuante</value>
<value xml:lang="ru">ÐлоÑкие ÑеÑÑе - ÐлаваÑÑие
лейаÑÑÑ, СлабовидÑÑий доÑÑÑп,
ÐвÑнапÑавленнÑй</value>
@@ -21921,10 +21921,10 @@
<value xml:lang="zh-TW">é»åååçæ¿ä»£è¦è¦ºé¢¨æ ¼</value>
</property>
<property key="VisualTheme.description.TOMAHAWK">
- <value xml:lang="cs">Tomahawk: evoluÄnà verze BlueLight</value>
+ <value xml:lang="cs">: evoluÄnà verze BlueLight</value>
<value xml:lang="en">Tomahawk: the evolution of the BlueLight
theme</value>
<value xml:lang="es">Tomahawk: la evolución del tema BlueLight</value>
- <value xml:lang="fr">Tomahawk: évolution de BlueLight dans les tons
noir et orange</value>
+ <value xml:lang="fr"> : évolution de BlueLight dans les tons noir et
orange</value>
<value xml:lang="ja">ãããã¼ã¯: ãã³ããã®æ¹è¯</value>
<value xml:lang="pt-BR">Tomahawk: a evolução do tema Migalhas
Descartando</value>
<value xml:lang="ru">ТомаÑ
авк: ÑволÑÑиÑ
падаÑÑиÑ
кÑамбов ÑемÑ</value>
@@ -21932,4 +21932,24 @@
<value xml:lang="zh">å°ç¬¬å®ææ§ï¼ä¸æå¤çº§é£æ
¼çæ¼åç</value>
<value xml:lang="zh-TW">å°ç¬¬å®æ°æ§:䏿å¤ç´é¢¨æ
¼çæ¼åç</value>
</property>
-</resource>
\ No newline at end of file
+ <property key="VisualTheme.description.RAINBOWSTONE_SAPHIR">
+ <value xml:lang="en">: Rainbowstone theme in blue</value>
+ <value xml:lang="fr"> : le thème Rainbowstone en bleu</value>
+ </property>
+ <property key="VisualTheme.description.RAINBOWSTONE_AMBER">
+ <value xml:lang="en">: Rainbowstone theme in orange</value>
+ <value xml:lang="fr"> : le thème Rainbowstone en orange</value>
+ </property>
+ <property key="VisualTheme.description.RAINBOWSTONE_RUBY">
+ <value xml:lang="en">: Rainbowstone theme in red</value>
+ <value xml:lang="fr"> : le thème Rainbowstone en rouge</value>
+ </property>
+ <property key="VisualTheme.description.RAINBOWSTONE_EMERALD">
+ <value xml:lang="en">: Rainbowstone theme in green</value>
+ <value xml:lang="fr"> : le thème Rainbowstone en vert</value>
+ </property>
+ <property key="VisualTheme.description.RAINBOWSTONE_SAPHIR">
+ <value xml:lang="en">: Rainbowstone theme in blue</value>
+ <value xml:lang="fr"> : le thème Rainbowstone en bleu</value>
+ </property>
+</resource>
Modified: ofbiz/ofbiz-framework/trunk/themes/rainbowstone/widget/Theme.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/rainbowstone/widget/Theme.xml?rev=1865370&r1=1865369&r2=1865370&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/rainbowstone/widget/Theme.xml (original)
+++ ofbiz/ofbiz-framework/trunk/themes/rainbowstone/widget/Theme.xml Sat Aug 17
18:26:42 2019
@@ -35,6 +35,25 @@ under the License.
<screenshot location="/rainbowstone/images/themeEmerald.png"/>
</visual-theme>
</visual-themes>
+ <visual-themes>
+ <visual-theme id="RAINBOWSTONE_SAPHIR" display-name="Rainbow Stone -
Sapphire">
+ <description>${util:label('CommonEntityLabels',
'VisualTheme.description.RAINBOWSTONE_SAPHIR', locale)}</description>
+ <screenshot location="/rainbowstone/images/themeSaphir.png"/>
+ </visual-theme>
+ <visual-theme id="RAINBOWSTONE_AMBER" display-name="Rainbow Stone -
Amber">
+ <description>${util:label('CommonEntityLabels',
'VisualTheme.description.RAINBOWSTONE_AMBER', locale)}</description>
+ <screenshot location="/rainbowstone/images/themeAmber.png"/>
+ </visual-theme>
+ <visual-theme id="RAINBOWSTONE_RUBY" display-name="Rainbow Stone -
Sapphire">
+ <description>${util:label('CommonEntityLabels',
'VisualTheme.description.RAINBOWSTONE_RUBY', locale)}</description>
+ <screenshot location="/rainbowstone/images/themeRuby.png"/>
+ </visual-theme>
+ <visual-theme id="RAINBOWSTONE_EMERALD" display-name="Rainbow Stone -
Sapphire">
+ <description>${util:label('CommonEntityLabels',
'VisualTheme.description.RAINBOWSTONE_EMERALD', locale)}</description>
+ <screenshot location="/rainbowstone/images/themeEmerald.png"/>
+ </visual-theme>
+ </visual-themes>
+
<extends location="component://common-theme/widget/Theme.xml"/>
<theme-properties>
<!--header image -->