svn commit: r881979 - in /ofbiz/trunk/applications/commonext: config/CommonExtUiLabels.xml widget/SystemInfoForms.xml widget/SystemInfoScreens.xml

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

svn commit: r881979 - in /ofbiz/trunk/applications/commonext: config/CommonExtUiLabels.xml widget/SystemInfoForms.xml widget/SystemInfoScreens.xml

buscob
Author: buscob
Date: Wed Nov 18 22:49:10 2009
New Revision: 881979

URL: http://svn.apache.org/viewvc?rev=881979&view=rev
Log:
A patch from Erwan de FERRIERES "internationalization of the myportal page" (https://issues.apache.org/jira/browse/OFBIZ-3220) - OFBIZ-3220

Modified:
    ofbiz/trunk/applications/commonext/config/CommonExtUiLabels.xml
    ofbiz/trunk/applications/commonext/widget/SystemInfoForms.xml
    ofbiz/trunk/applications/commonext/widget/SystemInfoScreens.xml

Modified: ofbiz/trunk/applications/commonext/config/CommonExtUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/config/CommonExtUiLabels.xml?rev=881979&r1=881978&r2=881979&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/config/CommonExtUiLabels.xml (original)
+++ ofbiz/trunk/applications/commonext/config/CommonExtUiLabels.xml Wed Nov 18 22:49:10 2009
@@ -21,8 +21,17 @@
 <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <property key="CommonExtCreatePublicMessage">
         <value xml:lang="en">Create Public Message</value>
+        <value xml:lang="fr">Créer un message public</value>
         <value xml:lang="it">Creare messaggio pubblico</value>
     </property>
+    <property key="CommonExtDateInfoCreated">
+        <value xml:lang="en">Date info created</value>
+        <value xml:lang="fr">Date de création</value>
+    </property>
+    <property key="CommonExtDateLastChanged">
+        <value xml:lang="en">Date Last Changed</value>
+        <value xml:lang="fr">Dernière date de changement</value>
+    </property>
     <property key="CommonExtHelpDefinition">
         <value xml:lang="en">Definition, what is it?</value>
         <value xml:lang="it">Definizione, che cose'è ?</value>
@@ -43,4 +52,20 @@
         <value xml:lang="en">Index</value>
         <value xml:lang="it">Indice</value>
     </property>
+    <property key="CommonExtSystemInfoNote">
+        <value xml:lang="en">System Info Note</value>
+        <value xml:lang="fr">Message d'information système</value>
+    </property>
+    <property key="CommonExtSystemInfoNoteForUser">
+        <value xml:lang="en">System Info note for user:</value>
+        <value xml:lang="fr">Message d'information système pour l'utilisateur :</value>
+    </property>
+    <property key="CommonExtSystemInfoStatus">
+        <value xml:lang="en">System Info Status</value>
+        <value xml:lang="fr">Message d'information d'état</value>
+    </property>
+    <property key="CommonExtSystemInfoStatusForUser">
+        <value xml:lang="en">System Info status for user:</value>
+        <value xml:lang="fr">Message d'information d'état pour l'utilisateur :</value>
+    </property>
 </resource>

Modified: ofbiz/trunk/applications/commonext/widget/SystemInfoForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/widget/SystemInfoForms.xml?rev=881979&r1=881978&r2=881979&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/widget/SystemInfoForms.xml (original)
+++ ofbiz/trunk/applications/commonext/widget/SystemInfoForms.xml Wed Nov 18 22:49:10 2009
@@ -23,8 +23,8 @@
 
     <form name="SystemInfoNotes" type="list" list-name="systemInfoNotes"
         odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
-        <field name="noteDateTime" title="Date info created"><display type="date-time"/></field>
-        <field name="noteInfo" title="System Info Note"><hyperlink target="/myportal/control/showPortletDecorator?portalPortletId=${moreInfoPortletId}&amp;id=${moreInfoItemId}" target-type="inter-app" description="${noteInfo}"></hyperlink></field>
+        <field name="noteDateTime" title="${uiLabelMap.CommonExtDateInfoCreated}"><display type="date-time"/></field>
+        <field name="noteInfo" title="${uiLabelMap.CommonExtSystemInfoNote}"><hyperlink target="/myportal/control/showPortletDecorator?portalPortletId=${moreInfoPortletId}&amp;id=${moreInfoItemId}" target-type="inter-app" description="${noteInfo}"></hyperlink></field>
     </form>
     
     <form name="EditSysInfoPortletParams" extends="CommonPortletEdit" extends-resource="component://common/widget/PortletEditForms.xml">
@@ -39,8 +39,8 @@
 
     <form name="SystemInfoStatus" type="list" list-name="systemInfoStatus"
         odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
-        <field name="noteDateTime" title="Date Last Changed"><display type="date-time"/></field>
-        <field name="noteInfo" title="System Info Status"><hyperlink target="/myportal/control/showPortletDecorator?portalPortletId=${moreInfoPortletId}" target-type="inter-app" description="${noteInfo}"></hyperlink></field>
+        <field name="noteDateTime" title="${uiLabelMap.CommonExtDateLastChanged}"><display type="date-time"/></field>
+        <field name="noteInfo" title="${uiLabelMap.CommonExtSystemInfoStatus}"><hyperlink target="/myportal/control/showPortletDecorator?portalPortletId=${moreInfoPortletId}" target-type="inter-app" description="${noteInfo}"></hyperlink></field>
     </form>
     
     <form name="CreateSystemInfoNote" type="single" target="createSystemInfoNote">

Modified: ofbiz/trunk/applications/commonext/widget/SystemInfoScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/widget/SystemInfoScreens.xml?rev=881979&r1=881978&r2=881979&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/widget/SystemInfoScreens.xml (original)
+++ ofbiz/trunk/applications/commonext/widget/SystemInfoScreens.xml Wed Nov 18 22:49:10 2009
@@ -30,7 +30,7 @@
             </actions>
             <widgets>
                 <screenlet
-                    title="System Info notes for user: ${userLogin.partyId}"
+                    title="${uiLabelMap.CommonExtSystemInfoNoteForUser} ${userLogin.partyId}"
                     navigation-menu-name="SystemInfoNotes">
                 <section>
                     <condition>
@@ -64,7 +64,7 @@
                         <not><if-empty field="systemInfoStatus"/></not>
                     </condition>
                     <widgets>
-                        <screenlet title="System Status Info for user: ${userLogin.partyId}">
+                        <screenlet title="${uiLabelMap.CommonExtSystemInfoStatusForUser} ${userLogin.partyId}">
                             <include-form name="SystemInfoStatus" location="component://commonext/widget/SystemInfoForms.xml"/>
                         </screenlet>
                     </widgets>