hi Erwan,

Thanks. It seems you have already created an issue in JIRA and put a patch
there. Will try that.

--
Regards,
Michael Xu (xudong)
www.wizitsoft.com


On Thu, Dec 3, 2009 at 5:36 PM, Erwan de FERRIERES <
[email protected]> wrote:

>
>
> Le 03/12/2009 08:41, Michael Xu (xudong) a écrit :
>
>> hi,
>>
>>
>> In theme selection screen, how to internationalize theme description? I
>> found it is hard coded in themes/**/data/**ThemeData.xml
>>
>> Appreciate any advice.
>>
>> --
>> Regards,
>> Michael Xu (xudong)
>> www.wizitsoft.com
>>
>>
> This should do the trick !
>
> Index: framework/common/config/CommonEntityLabels.xml
>
>
> ===================================================================
> --- framework/common/config/CommonEntityLabels.xml      (révision 886312)
> +++ framework/common/config/CommonEntityLabels.xml      (copie de travail)
> @@ -15068,4 +15068,19 @@
>         <value xml:lang="th">น้ำหนัก</value>
>         <value xml:lang="zh">重量</value>
>     </property>
> +    <property key="VisualTheme.description.BIZZNESS_TIME">
> +        <value xml:lang="en">It's bizzness, it's bizzness time.  I
> couldn't have said it better myself. This theme gets down</value>
> +    </property>
> +    <property key="VisualTheme.description.BLUELIGHT">
> +        <value xml:lang="en">BlueLight Theme: Breadcrumbs, drop-down menus
> and rounded corners</value>
> +    </property>
> +    <property key="VisualTheme.description.DROPPINGCRUMBS">
> +        <value xml:lang="en">Dropping Crumbs: Includes a drop down menu
> embedded in the breadcrumbs bar</value>
> +    </property>
> +    <property key="VisualTheme.description.FLAT_GREY">
> +        <value xml:lang="en">Flat Grey - Old OFBiz Standard Floating
> Layout</value>
> +    </property>
> +    <property key="VisualTheme.description.MULTIFLEX">
> +        <value xml:lang="en">Alternative VisualTheme for Ecommerce</value>
> +    </property>
>  </resource>
> Index: framework/common/entitydef/entitymodel.xml
> ===================================================================
> --- framework/common/entitydef/entitymodel.xml  (révision 886312)
> +++ framework/common/entitydef/entitymodel.xml  (copie de travail)
> @@ -574,6 +574,7 @@
>
>     <entity entity-name="VisualTheme"
>             package-name="org.ofbiz.common.theme"
> +            default-resource-name="CommonEntityLabels"
>             title="Defines a Visual Theme">
>       <description>The VisualTheme entity contains one entry per visual
> theme.</description>
>       <field name="visualThemeId" type="id-ne"></field>
>
>
> --
> Erwan
>

Reply via email to