svn commit: r728288 - in /ofbiz/trunk/framework: common/config/CommonUiLabels.xml common/webcommon/portal/appheader.ftl common/widget/PortletScreens.xml example/config/ExampleUiLabels.xml example/widget/example/ExampleAjaxScreens.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r728288 - in /ofbiz/trunk/framework: common/config/CommonUiLabels.xml common/webcommon/portal/appheader.ftl common/widget/PortletScreens.xml example/config/ExampleUiLabels.xml example/widget/example/ExampleAjaxScreens.xml

jleroux@apache.org
Author: jleroux
Date: Sat Dec 20 07:08:03 2008
New Revision: 728288

URL: http://svn.apache.org/viewvc?rev=728288&view=rev
Log:
Some i18n and French l10n

Modified:
    ofbiz/trunk/framework/common/config/CommonUiLabels.xml
    ofbiz/trunk/framework/common/webcommon/portal/appheader.ftl
    ofbiz/trunk/framework/common/widget/PortletScreens.xml
    ofbiz/trunk/framework/example/config/ExampleUiLabels.xml
    ofbiz/trunk/framework/example/widget/example/ExampleAjaxScreens.xml

Modified: ofbiz/trunk/framework/common/config/CommonUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/config/CommonUiLabels.xml?rev=728288&r1=728287&r2=728288&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/config/CommonUiLabels.xml (original)
+++ ofbiz/trunk/framework/common/config/CommonUiLabels.xml Sat Dec 20 07:08:03 2008
@@ -1548,6 +1548,10 @@
         <value xml:lang="th">ทุกวัน</value>
         <value xml:lang="zh">每天</value>
     </property>
+    <property key="CommonDashboard">
+        <value xml:lang="en">Dashboard</value>
+        <value xml:lang="fr">Tableau de bord</value>
+    </property>    
     <property key="CommonDatabaseProblem">
         <value xml:lang="ar">مشكلة قاعدة بيانات</value>
         <value xml:lang="de">Datenbankproblem</value>
@@ -6818,6 +6822,10 @@
         <value xml:lang="zh">欢迎</value>
         <value xml:lang="zh_CN">欢迎</value>
     </property>
+    <property key="CommonWelcomeToTheOFBizDashboard">
+        <value xml:lang="en">Welcome to the OFBiz dashboard</value>
+        <value xml:lang="fr">Bienvenue au tableau de bord d'OFBiz</value>
+    </property>    
     <property key="CommonWhere">
         <value xml:lang="ar">أين</value>
         <value xml:lang="cs">Kde</value>

Modified: ofbiz/trunk/framework/common/webcommon/portal/appheader.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/portal/appheader.ftl?rev=728288&r1=728287&r2=728288&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/webcommon/portal/appheader.ftl (original)
+++ ofbiz/trunk/framework/common/webcommon/portal/appheader.ftl Sat Dec 20 07:08:03 2008
@@ -19,19 +19,19 @@
 
 <#assign selected = headerItem?default("void")>
 <div id="app-navigation">
-  <h2>Example Dashboard</h2>
+  <h2>${uiLabelMap.ExampleDashboard}</h2>
   <ul>
     <#if userLogin?has_content>    
         <li <#if selected = "${uiLabelMap.ExampleExample}"> class="selected"</#if>><a href="<@ofbizUrl>FindExample?portalPageId=${uiLabelMap.ExampleExample}</@ofbizUrl>">${uiLabelMap.ExampleExample}</a></li>
         <li <#if selected = "${uiLabelMap.ExampleFeature}"> class="selected"</#if>><a href="<@ofbizUrl>FindExampleFeature?portalPageId=${uiLabelMap.ExampleFeature}</@ofbizUrl>">${uiLabelMap.ExampleFeature}</a></li>
         <li <#if selected = "${uiLabelMap.ExampleFormWidgetExamples}"> class="selected"</#if>><a href="<@ofbizUrl>FormWidgetExamples?portalPageId=${uiLabelMap.ExampleFormWidgetExamples}</@ofbizUrl>">${uiLabelMap.ExampleFormWidgetExamples}</a></li>
-        <li <#if selected = "Ajax Examples"> class="selected"</#if>><a href="<@ofbizUrl>authview/findExampleAjax?portalPageId=Ajax Examples</@ofbizUrl>">Ajax Examples</a></li>
+        <li <#if selected = "${uiLabelMap.ExampleAjaxExamples}"> class="selected"</#if>><a href="<@ofbizUrl>authview/findExampleAjax?portalPageId=${uiLabelMap.ExampleAjaxExamples}</@ofbizUrl>">${uiLabelMap.ExampleAjaxExamples}</a></li>
         <#list pages as page>
             <li<#if selected = "${page.portalPageId}"> class="selected"</#if>><a href="<@ofbizUrl>dashboardExample?portalPageId=${page.portalPageId}</@ofbizUrl>">${page.portalName}</a></li>
         </#list>
         <li class="opposed"><a href="<@ofbizUrl>logout</@ofbizUrl>">${uiLabelMap.CommonLogout}</a></li>
         <#--li class="opposed"><a href="http://docs.ofbiz.org/display/OFBENDUSER/My+Page?decorator=printable" target="_blank">${uiLabelMap.CommonHelp}</a></li>-->
-        <li class="opposed"><a href="<@ofbizUrl>ManagePortalPages</@ofbizUrl>">Dashboard</a></li>
+        <li class="opposed"><a href="<@ofbizUrl>ManagePortalPages</@ofbizUrl>">${uiLabelMap.CommonDashboard}</a></li>
     <#else>
         <li class="opposed"><a href="<@ofbizUrl>${checkLoginUrl?if_exists}</@ofbizUrl>">${uiLabelMap.CommonLogin}</a></li>
     </#if>

Modified: ofbiz/trunk/framework/common/widget/PortletScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/PortletScreens.xml?rev=728288&r1=728287&r2=728288&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/widget/PortletScreens.xml (original)
+++ ofbiz/trunk/framework/common/widget/PortletScreens.xml Sat Dec 20 07:08:03 2008
@@ -24,7 +24,7 @@
     <screen name="welcomePortlet">
         <section>
             <widgets>
-                <label text="Welcome to the OFBiz dashboard"/>
+                <label text="${uiLabelMap.CommonWelcomeToTheOFBizDashboard}"/>
             </widgets>
         </section>
     </screen>

Modified: ofbiz/trunk/framework/example/config/ExampleUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/config/ExampleUiLabels.xml?rev=728288&r1=728287&r2=728288&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/config/ExampleUiLabels.xml (original)
+++ ofbiz/trunk/framework/example/config/ExampleUiLabels.xml Sat Dec 20 07:08:03 2008
@@ -61,6 +61,10 @@
         <value xml:lang="zh">开源软件OFBiz家族的一部分</value><!--value xml:lang="zh">开源软件OFBiz的组成部分</value--><!--value xml:lang="zh">开源软件OFBiz的组成部分</value-->
         <value xml:lang="zh_CN">OFBiz的一部分</value>
     </property>
+    <property key="ExampleDashboard">
+        <value xml:lang="en">Example Dashboard</value>
+        <value xml:lang="fr">Exemple de tableau de bord</value>
+    </property>        
     <property key="ExampleExampleId">
         <value xml:lang="en">Example ID</value>
         <value xml:lang="fr">Réf. exemple</value>

Modified: ofbiz/trunk/framework/example/widget/example/ExampleAjaxScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleAjaxScreens.xml?rev=728288&r1=728287&r2=728288&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/widget/example/ExampleAjaxScreens.xml (original)
+++ ofbiz/trunk/framework/example/widget/example/ExampleAjaxScreens.xml Sat Dec 20 07:08:03 2008
@@ -25,7 +25,7 @@
         <section>
             <actions>
                 <set field="layoutSettings.styleSheets[+0]" value="/images/prototypejs/scriptaculouscontrols.css" global="true"/>
-                <set field="headerItem" value="ExampleAjaxExamples"/>
+                <set field="headerItem" value="${uiLabelMap.ExampleAjaxExamples}"/>
                 <set field="titleProperty" value="PageTitleFindExample"/>
                 <set field="exampleCtx" from-field="parameters"/>
             </actions>