svn commit: r731876 - in /ofbiz/trunk: framework/common/config/ framework/common/widget/ specialpurpose/myportal/config/ specialpurpose/myportal/templates/ specialpurpose/myportal/widget/

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

svn commit: r731876 - in /ofbiz/trunk: framework/common/config/ framework/common/widget/ specialpurpose/myportal/config/ specialpurpose/myportal/templates/ specialpurpose/myportal/widget/

hansbak-2
Author: hansbak
Date: Tue Jan  6 00:28:10 2009
New Revision: 731876

URL: http://svn.apache.org/viewvc?rev=731876&view=rev
Log:
uilabels creation for myportal

Modified:
    ofbiz/trunk/framework/common/config/CommonUiLabels.xml
    ofbiz/trunk/framework/common/widget/PortalPageForms.xml
    ofbiz/trunk/specialpurpose/myportal/config/MyPortalUiLabels.xml
    ofbiz/trunk/specialpurpose/myportal/templates/appheader.ftl
    ofbiz/trunk/specialpurpose/myportal/widget/CommonScreens.xml
    ofbiz/trunk/specialpurpose/myportal/widget/MyPortalForms.xml

Modified: ofbiz/trunk/framework/common/config/CommonUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/config/CommonUiLabels.xml?rev=731876&r1=731875&r2=731876&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/config/CommonUiLabels.xml (original)
+++ ofbiz/trunk/framework/common/config/CommonUiLabels.xml Tue Jan  6 00:28:10 2009
@@ -5192,6 +5192,10 @@
         <value xml:lang="zh">退货状态</value>
         <value xml:lang="zh_CN">退货状态</value>
     </property>
+    <property key="CommonRevertPortalPage">
+        <value xml:lang="en">revert to original</value>
+        <value xml:lang="th">แปลงเป็นต้นฉบับ</value>
+    </property>
     <property key="CommonReview">
         <value xml:lang="ar">المراجعة</value>
         <value xml:lang="cs">Hodnocení</value>

Modified: ofbiz/trunk/framework/common/widget/PortalPageForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/PortalPageForms.xml?rev=731876&r1=731875&r2=731876&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/widget/PortalPageForms.xml (original)
+++ ofbiz/trunk/framework/common/widget/PortalPageForms.xml Tue Jan  6 00:28:10 2009
@@ -53,7 +53,7 @@
             <hyperlink target="deletePortalPage?portalPageId=${portalPageId}&amp;parentPortalPageId=${parameters.parentPortalPageId}" description="${uiLabelMap.CommonDelete}"/>
         </field>
         <field name="deleteLink" use-when="!ownerUserLoginId.equals(&quot;_NA_&quot;)&amp;&amp;originalPortalPageId!=null" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext" >
-            <hyperlink target="deletePortalPage?portalPageId=${portalPageId}&amp;parentPortalPageId=${parameters.parentPortalPageId}" description="revert to original"/>
+            <hyperlink target="deletePortalPage?portalPageId=${portalPageId}&amp;parentPortalPageId=${parameters.parentPortalPageId}" description="${uiLabelMap.CommonRevertPortalPage}"/>
         </field>
     </form>
     

Modified: ofbiz/trunk/specialpurpose/myportal/config/MyPortalUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/config/MyPortalUiLabels.xml?rev=731876&r1=731875&r2=731876&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/myportal/config/MyPortalUiLabels.xml (original)
+++ ofbiz/trunk/specialpurpose/myportal/config/MyPortalUiLabels.xml Tue Jan  6 00:28:10 2009
@@ -18,7 +18,189 @@
     under the License.
 -->
 <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-    <property key="MyPersonalPortal">
-        <value xml:lang="en">My Personal Portal.</value>
+    <property key="ActualStartDate">
+        <value xml:lang="en">Actual Start Date</value>
+        <value xml:lang="th">วันที่เริ่มทำงานจริง</value>
+    </property>
+    <property key="AllEvents">
+        <value xml:lang="en">All Communications</value>
+        <value xml:lang="fr">Toutes les communications</value>
+        <value xml:lang="th">การติดต่อทั้งหมด</value>
+    </property>
+    <property key="CommunicationsOfParty">
+        <value xml:lang="en">Communications of party</value>
+        <value xml:lang="fr">Communications de l'acteur</value>
+        <value xml:lang="th">การติดต่อบุคคล</value>
+    </property>
+    <property key="CommunicationEventId">
+        <value xml:lang="en">Communication Event id:</value>
+        <value xml:lang="fr">Réf. d'évènement de comm.</value>
+        <value xml:lang="th">เหตุการณ์ที่ทำการติดต่อ</value>
+    </property>
+    <property key="CompanyEvents">
+        <value xml:lang="en">Company events</value>
+        <value xml:lang="fr">Evènements de l'entreprise</value>
+        <value xml:lang="th">เหตุการณ์บริษัท</value>
+    </property>
+    <property key="EmailsFromKnownOrigin">
+        <value xml:lang="en">Emails from known origin</value>
+        <value xml:lang="fr">Courriel issue d'une origine connue</value>
+        <value xml:lang="th">อีเมล์ที่อ่านแล้ว</value>
+    </property>
+    <property key="EmailsFromUnknownOrigin">
+        <value xml:lang="en">Emails from unknown origin</value>
+        <value xml:lang="fr">Courriel issue d'une origine inconnue</value>
+        <value xml:lang="th">อีเมล์ที่ไม่ระบุ</value>
+    </property>
+    <property key="IncomingCustRequests">
+        <value xml:lang="en">Incoming customer requests</value>
+        <value xml:lang="fr">Nouvelles demandes utilisateur</value>
+        <value xml:lang="th">แสดงรายรับของลูกค้า</value>
+    </property>
+    <property key="MyportalDashboard">
+        <value xml:lang="en">My Portal</value>
+        <value xml:lang="th">ส่วนตัว</value>
+    </property>
+    <property key="MyCommunications">
+        <value xml:lang="en">My Communications</value>
+        <value xml:lang="fr">Mes communications</value>
+        <value xml:lang="th">การติดต่อฉัน</value>
+    </property>
+    <property key="MyCompanyComms">
+        <value xml:lang="en">Company communications</value>
+        <value xml:lang="fr">Communications de l'entreprise</value>
+        <value xml:lang="th">การติดต่อบริษัท</value>
+    </property>
+    <property key="MyCompletedCustomerRequests">
+        <value xml:lang="en">My Completed Customer Requests</value>
+        <value xml:lang="fr">Mes demandes de clients terminées</value>
+        <value xml:lang="th">งานที่แก้ไขให้ลูกค้าเรียยร้อยแล้ว</value>
+    </property>
+    <property key="MyInformation">
+        <value xml:lang="en">My Information</value>
+        <value xml:lang="fr">Mes informations </value>
+        <value xml:lang="th">ข้อมูลของฉัน</value>
+    </property>
+    <property key="MyOpenCustomerRequests">
+        <value xml:lang="en">My Open Customer Requests</value>
+        <value xml:lang="fr">Mes demandes de clients en-cours</value>
+        <value xml:lang="th">ความต้องการของลูกค้า</value>
+    </property>
+    <property key="MyProfile">
+        <value xml:lang="en">My Profile</value>
+        <value xml:lang="fr">Mon Profil</value>
+        <value xml:lang="th">ประวัติส่วนตัวของฉัน</value>
+    </property>
+    <property key="MyPageAppBar">
+        <value xml:lang="en">My Page App Bar</value>
+        <value xml:lang="fr">Menu des applications</value>
+        <value xml:lang="th">แอปพริเคชันของฉัน</value>
+    </property>
+    <property key="MyPageNewMessage">
+        <value xml:lang="en">New Message</value>
+        <value xml:lang="fr">Nouveau message</value>
+        <value xml:lang="th">ข้อความใหม่</value>
+    </property>
+    <property key="MyPageNoAccess1">
+        <value xml:lang="en">No Access priviledges has been setup.</value>
+        <value xml:lang="fr">Aucun accès privilégié n'a été paramétré.</value>
+        <value xml:lang="th">ไม่สามารถเข้าไปติดตั้งระบบ</value>
+    </property>
+    <property key="MyPageNoAccess2">
+        <value xml:lang="en">You do not have access to any functions in the MyPage subsystem, please contact your system admin</value>
+        <value xml:lang="fr">Vous n'avez accès à aucune fonction dans l'application Ma Page, contactez votre administrateur système SVP.</value>
+        <value xml:lang="th">ท่านไม่เข้าถึงฟังก์ชันการทำงานส่วนอื่นๆใน MyPage ได้, กรุณาติดต่อผู้ดูแลระบบของท่าน</value>
+    </property>
+    <property key="MyPageNoAccess3">
+        <value xml:lang="en">At least MYPAGE_CUSTOMER or MYPAGE_EMPLOYEE permission is required</value>
+        <value xml:lang="fr">Au moins une autorisation MYPAGE_CUSTOMER ou MYPAGE_EMPLOYEE est nécessaire</value>
+        <value xml:lang="th">อย่างน้อยที่สุด MYPAGE_CUSTOMER หรือ MYPAGE_EMPLOYEE ถูกกำหนดการใข้สิทธิ์ </value>
+    </property>
+    <property key="MyPageNoAccess4">
+        <value xml:lang="en">Use the demo userLogin id's 'DemoCustomer' and 'DemoEmployee' for a demo.</value>
+        <value xml:lang="fr">Utilisez l'identifiant de connexion 'DemoCustomer' ou 'DemoEmployee' pour une démonstration.</value>
+        <value xml:lang="th">จำลองผู้ใช้เป็น DemoCustomer และ DemoEmployee ในการทำงาน</value>
+    </property>
+    <property key="MyPagePagesVisible">
+        <value xml:lang="en">pages visible on the main screen.</value>
+        <value xml:lang="fr">Pages visibles sur l'écran principal.</value>
+        <value xml:lang="th">สามารถเห็นหน้าอื่นบนหน้าหลักได้</value>
+    </property>
+    <property key="MyTasks">
+        <value xml:lang="en">My Tasks</value>
+        <value xml:lang="fr">Mes Tâches</value>
+        <value xml:lang="th">งานของฉัน</value>
+    </property>
+    <property key="MyTimeSheets">
+        <value xml:lang="en">My Time Sheets</value>
+        <value xml:lang="fr">Mes feuilles d'activité</value>
+        <value xml:lang="th">ตารางการทำงานของฉัน</value>
+    </property>
+    <property key="MyCustRequests">
+        <value xml:lang="en">My customer requests</value>
+        <value xml:lang="fr">Mes demandes utilisateur</value>
+        <value xml:lang="th">ลูกค้าเรียกร้อง</value>
+    </property>
+    <property key="NoAccess">
+        <value xml:lang="en">You do not have access to this information</value>
+        <value xml:lang="fr">Vous n'avez pas accès à cette information</value>
+        <value xml:lang="th">คุณไม่มีข้อมูลอยู่ในระบบ</value>
+    </property>
+    <property key="OpenEvents">
+        <value xml:lang="en">Open Communications</value>
+        <value xml:lang="fr">Communications ouvertes</value>
+        <value xml:lang="th">เปิดการติดต่อ</value>
+    </property>
+    <property key="OtherCommunications">
+        <value xml:lang="en">Other Communications</value>
+        <value xml:lang="fr">Autres communications</value>
+        <value xml:lang="th">การติดต่อรูปแบบต่างๆ</value>
+    </property>
+    <property key="OtherCompanyCustomerRequests">
+        <value xml:lang="en">Customer Requests from other contacts of my company</value>
+        <value xml:lang="fr">Demandes client depuis d'autres contacts de mon entreprise</value>
+        <value xml:lang="th">ลูกค้าต้องการติดต่อรูปแบบอื่นจากบริษัทของเรา</value>
+    </property>
+    <property key="SendMailEveryCust">
+        <value xml:lang="en">Send Email To Every Customer Request Change</value>
+        <value xml:lang="th">ส่งอีเมล์ถึงลูกค้าที่เปลี่ยนความต้องการ</value>
+    </property>
+    <property key="TaskStatus">
+        <value xml:lang="en">Task Status</value>
+        <value xml:lang="fr">Status de la tâche</value>
+        <value xml:lang="th">สถานะของงาน</value>
+    </property>
+    <property key="TaskActEndDate">
+        <value xml:lang="en">Task Act End</value>
+        <value xml:lang="fr">Fin réelle de de la tâche</value>
+        <value xml:lang="th">เสร็จสิ้นการทำ</value>
+    </property>
+    <property key="TaskActStartDate">
+        <value xml:lang="en">Task Act Start</value>
+        <value xml:lang="fr">Départ réel de de la tâche</value>
+        <value xml:lang="th">เรื่มต้นการทำ</value>
+    </property>
+    <property key="TaskPlanEndDate">
+        <value xml:lang="en">Task Plan End</value>
+        <value xml:lang="fr">Fin prévue de la tâche</value>
+        <value xml:lang="th">สิ้นสุดชิ้นงาน</value>
+    </property>
+    <property key="TaskPlanStartDate">
+        <value xml:lang="en">Task Plan Start</value>
+        <value xml:lang="fr">Départ prévu de la tâche</value>
+        <value xml:lang="th">เริ่มต้นชิ้นงาน</value>
+    </property>
+    <property key="TitlePageMyportal">
+        <value xml:lang="en">My Portal for : </value>
+        <value xml:lang="th">ส่วนตัวสำหรับ </value>
+    </property>
+    <property key="TitlePageMyportalForNoLogin">
+        <value xml:lang="en">My Portal Page</value>
+        <value xml:lang="th">หน้าส่วนตัวของฉัน</value>
+    </property>
+    <property key="toComplete">
+        <value xml:lang="en">->Closed</value>
+        <value xml:lang="fr">->Fermé(e)</value>
+        <value xml:lang="th">เสร็จสิ้น</value>
     </property>
 </resource>

Modified: ofbiz/trunk/specialpurpose/myportal/templates/appheader.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/templates/appheader.ftl?rev=731876&r1=731875&r2=731876&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/myportal/templates/appheader.ftl (original)
+++ ofbiz/trunk/specialpurpose/myportal/templates/appheader.ftl Tue Jan  6 00:28:10 2009
@@ -19,7 +19,10 @@
 
 <#assign selected = headerItem?default("void")>
 <div id="app-navigation">
-  <h2>${uiLabelMap.ExampleDashboard}</h2>
+  <#if partyNameView?has_content>
+   <h2>${uiLabelMap.TitlePageMyportal} ${partyNameView.personalTitle?if_exists} ${partyNameView.firstName?if_exists} ${partyNameView.middleName?if_exists} ${partyNameView.lastName?if_exists} ${partyNameView.groupName?if_exists}</h2>
+   <#else><h2>${uiLabelMap.TitlePageMyportalForNoLogin}</h2>
+  </#if>
   <ul>
     <#if userLogin?has_content>    
         <#if portalPages?has_content>

Modified: ofbiz/trunk/specialpurpose/myportal/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/widget/CommonScreens.xml?rev=731876&r1=731875&r2=731876&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/myportal/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/myportal/widget/CommonScreens.xml Tue Jan  6 00:28:10 2009
@@ -50,6 +50,9 @@
                 <set field="parameters.parentPortalPageId" value="MYPORTAL"/>
                 <set field="parameters.userLogin.userLoginId" from-field="userLogin.userLoginId"/>
                 <script location="component://common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy"/>
+                <entity-one entity-name="PartyNameView" value-name="partyNameView">
+                    <field-map field-name="partyId" env-name="userLogin.partyId"/>
+                </entity-one>
             </actions>
             <widgets>
                 <include-screen name="GlobalDecorator" location="component://common/widget/CommonScreens.xml"/>

Modified: ofbiz/trunk/specialpurpose/myportal/widget/MyPortalForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/widget/MyPortalForms.xml?rev=731876&r1=731875&r2=731876&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/myportal/widget/MyPortalForms.xml (original)
+++ ofbiz/trunk/specialpurpose/myportal/widget/MyPortalForms.xml Tue Jan  6 00:28:10 2009
@@ -66,7 +66,7 @@
         <field name="workEffortId"><hidden/></field>
         <field name="workEffortName" title="${uiLabelMap.WorkEffortEventName}"><display/></field>
         <field name="description" title="${uiLabelMap.CommonDescription}"><display/></field>
-        <field name="actualStartDate" title="Date"><display type="date"/></field>
+        <field name="actualStartDate" title="${uiLabelMap.ActualStartDate}"><display type="date"/></field>
         <field name="delete"><submit button-type="text-link"/></field>
     </form>
     
@@ -92,7 +92,7 @@
     
     <form name="custPreferences" type="single" target="updateCustPreferences" default-map-name="preferences.userPrefMap">
         <field name="userPrefGroupTypeId"><hidden value="MyPage"/></field>
-        <field name="sendCustRequestEmail" title="Send Email To Every Customer Request Change"><check/></field>
+        <field name="sendCustRequestEmail" title="${uiLabelMap.SendMailEveryCust}"><check/></field>
         <field name="updateButton"><submit/></field>
     </form>