You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by er...@apache.org on 2011/08/09 20:40:31 UTC

svn commit: r1155465 - in /ofbiz/trunk/specialpurpose/projectmgr: config/ProjectMgrUiLabels.xml widget/ProjectMenus.xml

Author: erwan
Date: Tue Aug  9 18:40:30 2011
New Revision: 1155465

URL: http://svn.apache.org/viewvc?rev=1155465&view=rev
Log:
Adding missing uiLabels in projectmgr when closing or scheduling a project

Modified:
    ofbiz/trunk/specialpurpose/projectmgr/config/ProjectMgrUiLabels.xml
    ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectMenus.xml

Modified: ofbiz/trunk/specialpurpose/projectmgr/config/ProjectMgrUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/config/ProjectMgrUiLabels.xml?rev=1155465&r1=1155464&r2=1155465&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/config/ProjectMgrUiLabels.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/config/ProjectMgrUiLabels.xml Tue Aug  9 18:40:30 2011
@@ -850,6 +850,14 @@
         <value xml:lang="th">โปรเจค</value>
         <value xml:lang="zh">项目</value>
     </property>
+    <property key="ProjectMgrConfirmationClose">
+        <value xml:lang="en">Are you sure to close this project?</value>
+        <value xml:lang="fr">Etes vous sur de vouloir clôturer ce projet ?</value>
+    </property>
+    <property key="ProjectMgrConfirmationSchedule">
+        <value xml:lang="en">Are you sure to schedule this project?</value>
+        <value xml:lang="fr">Etes vous sûr de vouloir planifier ce projet ?</value>
+    </property>
     <property key="ProjectMgrContentList">
         <value xml:lang="de">Projektinhaltsliste</value>
         <value xml:lang="en">Project Content List</value>

Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectMenus.xml?rev=1155465&r1=1155464&r2=1155465&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectMenus.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectMenus.xml Tue Aug  9 18:40:30 2011
@@ -261,7 +261,7 @@
                     <if-compare field="hasUpdatePermission" operator="equals" value="true"/>
                 </and>
             </condition>
-            <link target="scheduleProject">
+            <link target="scheduleProject" request-confirmation="true" confirmation-message="${uiLabelMap.ProjectMgrConfirmationSchedule}">
                 <parameter param-name="projectId"/>
             </link>
         </menu-item>
@@ -288,7 +288,7 @@
                     <if-compare field="hasUpdatePermission" operator="equals" value="true"/>
                 </and>
             </condition>
-            <link target="updateProject" request-confirmation="true" confirmation-message="Are you sure you want to close this project?">
+            <link target="updateProject" request-confirmation="true" confirmation-message="${uiLabelMap.ProjectMgrConfirmationClose}">
                 <parameter param-name="workEffortId" from-field="parameters.projectId"/>
                 <parameter param-name="currentStatusId" value="PRJ_CLOSED"/>
             </link>