LabelReferences4.patch from Marco "New tool to get labels information" https://issues.apache.org/jira/browse/OFBIZ-2070 OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748732 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -52,6 +52,14 @@
|
||||
<value xml:lang="th">Bom formula for linear components</value>
|
||||
<value xml:lang="zh">用于线性组件的材料清单公式</value>
|
||||
</property>
|
||||
<property key="CustomMethod.description.DBL_DECL_DEP_FORMULA">
|
||||
<value xml:lang="en">Double decline depreciatiion algorithm for fixed asset((NetBookValue - salvageCost)*2/remainingLifeInYears)</value>
|
||||
<value xml:lang="it">Declina algoritmo doppio svalutazione per cespiti((NetBookValue - salvageCost)*2/remainingLifeInYears)</value>
|
||||
</property>
|
||||
<property key="CustomMethod.description.STR_LINE_DEP_FORMULA">
|
||||
<value xml:lang="en">Straight Line depreciatiion algorithm for fixed asset((purchaseCost - salvageCost)/expectedLifeInYears)</value>
|
||||
<value xml:lang="it">Riga semplice algoritmo svalutazione per cespiti((purchaseCost - salvageCost)/expectedLifeInYears)</value>
|
||||
</property>
|
||||
<property key="DataSource.description.ECOMMERCE_SITE">
|
||||
<value xml:lang="en">ECOMMERCE_SITE</value>
|
||||
<value xml:lang="fr">Site de commerce électronique</value>
|
||||
@@ -5880,6 +5888,10 @@
|
||||
<value xml:lang="th">ตัวแทน</value>
|
||||
<value xml:lang="zh">已委托</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.CAL_IN_PLANNING">
|
||||
<value xml:lang="en">In Planning</value>
|
||||
<value xml:lang="it">In pianificazione</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.CAL_NEEDS_ACTION">
|
||||
<value xml:lang="de">Benötigt Massnahmen</value>
|
||||
<value xml:lang="en">Needs Action</value>
|
||||
@@ -5892,6 +5904,10 @@
|
||||
<value xml:lang="th">ต้องการปฏิบัติการ</value>
|
||||
<value xml:lang="zh">需要行动</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.CAL_PLANNED">
|
||||
<value xml:lang="en">Planned</value>
|
||||
<value xml:lang="it">Pianificato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.CAL_SENT">
|
||||
<value xml:lang="de">Übermittelt</value>
|
||||
<value xml:lang="en">Sent</value>
|
||||
@@ -5928,6 +5944,10 @@
|
||||
<value xml:lang="th">ยอมรับ</value>
|
||||
<value xml:lang="zh">已接受</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.CLPT_IN_USE">
|
||||
<value xml:lang="en">In Use</value>
|
||||
<value xml:lang="it">In uso</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.CLPT_PENDING">
|
||||
<value xml:lang="de">Wartend auf Annahme</value>
|
||||
<value xml:lang="en">Pending Acceptance</value>
|
||||
@@ -5952,6 +5972,30 @@
|
||||
<value xml:lang="th">ผู้ปฏิเสธ</value>
|
||||
<value xml:lang="zh">已拒绝</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.CNTAP_APPROVED">
|
||||
<value xml:lang="en">Approved</value>
|
||||
<value xml:lang="it">Approvato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.CNTAP_IN_PROCESS">
|
||||
<value xml:lang="en">Approval In Process</value>
|
||||
<value xml:lang="it">Approvazione in corso</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.CNTAP_NOT_READY">
|
||||
<value xml:lang="en">Not Ready for Approval</value>
|
||||
<value xml:lang="it">Non pronto per l'approvazione</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.CNTAP_READY">
|
||||
<value xml:lang="en">Ready for Approval</value>
|
||||
<value xml:lang="it">Pronto per l'approvazione</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.CNTAP_REJECTED">
|
||||
<value xml:lang="en">Rejected</value>
|
||||
<value xml:lang="it">Rifiutato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.CNTAP_SOFT_REJ">
|
||||
<value xml:lang="en">Soft Rejected</value>
|
||||
<value xml:lang="it">Rifiutato leggermente</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.COM_CANCELLED">
|
||||
<value xml:lang="de">Annulliert</value>
|
||||
<value xml:lang="en">Cancelled</value>
|
||||
@@ -6048,6 +6092,18 @@
|
||||
<value xml:lang="th">แก้ปัญหา</value>
|
||||
<value xml:lang="zh">已解决</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.COM_ROLE_COMPLETED">
|
||||
<value xml:lang="en">Closed</value>
|
||||
<value xml:lang="it">Chiuso</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.COM_ROLE_CREATED">
|
||||
<value xml:lang="en">Created</value>
|
||||
<value xml:lang="it">Creato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.COM_ROLE_READ">
|
||||
<value xml:lang="en">Read</value>
|
||||
<value xml:lang="it">Letto</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.COM_UNKNOWN_PARTY">
|
||||
<value xml:lang="de">Unbekannter Akteur</value>
|
||||
<value xml:lang="en">Unknown Party</value>
|
||||
@@ -6132,6 +6188,10 @@
|
||||
<value xml:lang="th">เสนอ</value>
|
||||
<value xml:lang="zh">已提交</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.CTNT_AVAILABLE">
|
||||
<value xml:lang="en">Available</value>
|
||||
<value xml:lang="it">Disponibile</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.CTNT_DEACTIVATED">
|
||||
<value xml:lang="de">Deaktiviert</value>
|
||||
<value xml:lang="en">Deactivated</value>
|
||||
@@ -6204,6 +6264,18 @@
|
||||
<value xml:lang="th">แก้ไขเอกสารฉบับร่าง</value>
|
||||
<value xml:lang="zh">修订方案</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.EMPL_POS_ACTIVE">
|
||||
<value xml:lang="en">Active/Open</value>
|
||||
<value xml:lang="it">Attivo/Aperto</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.EMPL_POS_INACTIVE">
|
||||
<value xml:lang="en">Inactive/Closed</value>
|
||||
<value xml:lang="it">Inattivo/Chiuso</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.EMPL_POS_PLANNEDFOR">
|
||||
<value xml:lang="en">Planned For</value>
|
||||
<value xml:lang="it">Pianificato per</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.ESR_COMPLETE">
|
||||
<value xml:lang="en">ESR_COMPLETE</value>
|
||||
<value xml:lang="es">Completado</value>
|
||||
@@ -6253,6 +6325,34 @@
|
||||
<value xml:lang="it">Errore servizio</value>
|
||||
<value xml:lang="th">บริการผิดพลาด</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.EXST_APPROVED">
|
||||
<value xml:lang="en">Approved</value>
|
||||
<value xml:lang="it">Approvato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.EXST_CANCELLED">
|
||||
<value xml:lang="en">Cancelled</value>
|
||||
<value xml:lang="it">Cancellato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.EXST_COMPLETE">
|
||||
<value xml:lang="en">Complete</value>
|
||||
<value xml:lang="it">Completato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.EXST_DEFINED">
|
||||
<value xml:lang="en">Defined</value>
|
||||
<value xml:lang="it">Definito</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.EXST_IMPLEMENTED">
|
||||
<value xml:lang="en">Implemented</value>
|
||||
<value xml:lang="it">Implementato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.EXST_IN_DESIGN">
|
||||
<value xml:lang="en">In Design</value>
|
||||
<value xml:lang="it">In progettazione</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.EXST_TESTED">
|
||||
<value xml:lang="en">Tested</value>
|
||||
<value xml:lang="it">Testato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.FAM_CANCELLED">
|
||||
<value xml:lang="de">Annulliert</value>
|
||||
<value xml:lang="en">Cancelled</value>
|
||||
@@ -6313,6 +6413,58 @@
|
||||
<value xml:lang="th">ตารางเวลา</value>
|
||||
<value xml:lang="zh">已列入计划</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.FA_ASGN_ASSIGNED">
|
||||
<value xml:lang="en">Assigned</value>
|
||||
<value xml:lang="it">Assegnato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.FA_ASGN_DENIED">
|
||||
<value xml:lang="en">Request Denied</value>
|
||||
<value xml:lang="it">Richiesta negata</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.FA_ASGN_REQUESTED">
|
||||
<value xml:lang="en">Requested</value>
|
||||
<value xml:lang="it">Richiesta</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.FNACT_ACTIVE">
|
||||
<value xml:lang="en">Active</value>
|
||||
<value xml:lang="it">Attivo</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.FNACT_CANCELLED">
|
||||
<value xml:lang="en">Cancelled</value>
|
||||
<value xml:lang="it">Cancellato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.FNACT_MANFROZEN">
|
||||
<value xml:lang="en">Manually Frozen</value>
|
||||
<value xml:lang="it">Congelato manualmente</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.FNACT_NEGPENDREPL">
|
||||
<value xml:lang="en">Negative Pending Replenishment</value>
|
||||
<value xml:lang="it">Rifornimento in attesa negativo</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.HR_DS_COMPLETE">
|
||||
<value xml:lang="en">Completed</value>
|
||||
<value xml:lang="it">Completato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.HR_DS_DEFERRED">
|
||||
<value xml:lang="en">Deferred</value>
|
||||
<value xml:lang="it">Rinviato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.HR_DS_INCOMPLETE">
|
||||
<value xml:lang="en">Incomplete</value>
|
||||
<value xml:lang="it">Incompleto</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.HR_JS_CONTRACTOR">
|
||||
<value xml:lang="en">Contractor</value>
|
||||
<value xml:lang="it">Imprenditore</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.HR_JS_FULLTIME">
|
||||
<value xml:lang="en">Full time</value>
|
||||
<value xml:lang="it">Tempo pieno</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.HR_JS_PARTTIME">
|
||||
<value xml:lang="en">Part time</value>
|
||||
<value xml:lang="it">Part time</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.INVOICE_APPROVED">
|
||||
<value xml:lang="de">Genehmigt</value>
|
||||
<value xml:lang="en">Approved</value>
|
||||
@@ -6417,6 +6569,10 @@
|
||||
<value xml:lang="th">เขียนทันที</value>
|
||||
<value xml:lang="zh">丢失</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.INV_ACTIVATED">
|
||||
<value xml:lang="en">Activated</value>
|
||||
<value xml:lang="it">Attivato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.INV_AVAILABLE">
|
||||
<value xml:lang="de">Verfügbar</value>
|
||||
<value xml:lang="en">Available</value>
|
||||
@@ -6453,6 +6609,10 @@
|
||||
<value xml:lang="th">การเปลี่ยนคุณสมบัติ (ยืนยัน)</value>
|
||||
<value xml:lang="zh">正在递送(已承诺)</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.INV_DEACTIVATED">
|
||||
<value xml:lang="en">Deactivated</value>
|
||||
<value xml:lang="it">Disattivato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.INV_DEFECTIVE">
|
||||
<value xml:lang="de">Defekt</value>
|
||||
<value xml:lang="en">Defective</value>
|
||||
@@ -6477,6 +6637,14 @@
|
||||
<value xml:lang="th">การส่ง</value>
|
||||
<value xml:lang="zh">已投递</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.INV_NS_DEFECTIVE">
|
||||
<value xml:lang="en">Defective (Non-Serialized)</value>
|
||||
<value xml:lang="it">Difettoso (non-serializzato)</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.INV_NS_ON_HOLD">
|
||||
<value xml:lang="en">On Hold (Non-Serialized)</value>
|
||||
<value xml:lang="it">In attesa (non-serializzato)</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.INV_ON_HOLD">
|
||||
<value xml:lang="de">In Wartestellung</value>
|
||||
<value xml:lang="en">On Hold</value>
|
||||
@@ -6642,6 +6810,18 @@
|
||||
<value xml:lang="th">ตารางเวลา</value>
|
||||
<value xml:lang="zh">已计划</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.LEAD_ASSIGNED">
|
||||
<value xml:lang="en">Assigned</value>
|
||||
<value xml:lang="it">Assegnato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.LEAD_CONVERTED">
|
||||
<value xml:lang="en">Converted</value>
|
||||
<value xml:lang="it">Convertito</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.LEAD_QUALIFIED">
|
||||
<value xml:lang="en">Qualified</value>
|
||||
<value xml:lang="it">Qualificato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.MKTG_CAMP_APPROVED">
|
||||
<value xml:lang="de">Genehmigt</value>
|
||||
<value xml:lang="en">Approved</value>
|
||||
@@ -6715,6 +6895,58 @@
|
||||
<value xml:lang="th">ไม่เกิดขึ้นเวลาเดียวกัน</value>
|
||||
<value xml:lang="zh">没有同步</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.OAGMP_ERRCONFSENT">
|
||||
<value xml:lang="en">Error Confirm Sent</value>
|
||||
<value xml:lang="it">Errore conferma inviata</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.OAGMP_OGEN_ERROR">
|
||||
<value xml:lang="en">Out Generated - Error</value>
|
||||
<value xml:lang="it">Errore genereato fuori</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.OAGMP_OGEN_SUCCESS">
|
||||
<value xml:lang="en">Out Generated - Success</value>
|
||||
<value xml:lang="it">Successo genereato fuori</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.OAGMP_PROC_ERROR">
|
||||
<value xml:lang="en">In Processed - Error</value>
|
||||
<value xml:lang="it">Errore durante l'esecuzione</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.OAGMP_PROC_SUCCESS">
|
||||
<value xml:lang="en">In Processed - Success</value>
|
||||
<value xml:lang="it">Successo durante l'esecuzione</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.OAGMP_RECEIVED">
|
||||
<value xml:lang="en">In Message Received</value>
|
||||
<value xml:lang="it">Ricevuto messaggo in entrata</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.OAGMP_RECEIVEDOAGMP_RECEIVED">
|
||||
<value xml:lang="en">In Message Received</value>
|
||||
<value xml:lang="it">Messaggio in ingresso ricevuto</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.OAGMP_REC_ERR_CON">
|
||||
<value xml:lang="en">Received Error Confirm</value>
|
||||
<value xml:lang="it">Conferma errore ricevuto</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.OAGMP_REC_SUC_CON">
|
||||
<value xml:lang="en">Received Success Confirm</value>
|
||||
<value xml:lang="it">Conferma successo ricevuto</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.OAGMP_SEND_ERROR">
|
||||
<value xml:lang="en">Out Message Send Error</value>
|
||||
<value xml:lang="it">Errore invio messaggio all'esterno</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.OAGMP_SENT">
|
||||
<value xml:lang="en">Out Message Sent</value>
|
||||
<value xml:lang="it">Messaggio inviato all'esterno</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.OAGMP_SYS_ERROR">
|
||||
<value xml:lang="en">System Error</value>
|
||||
<value xml:lang="it">Errore di sistema</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.OAGMP_TRIGGERED">
|
||||
<value xml:lang="en">Out Message Triggered</value>
|
||||
<value xml:lang="it">Intercettato messaggio dall'esterno</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.ODS_ACCEPTED">
|
||||
<value xml:lang="de">Angenommen</value>
|
||||
<value xml:lang="en">Accepted</value>
|
||||
@@ -6868,6 +7100,34 @@
|
||||
<value xml:lang="th">ส่ง</value>
|
||||
<value xml:lang="zh">已发送</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PARTYINV_ACCEPTED">
|
||||
<value xml:lang="en">Invitation Accepted</value>
|
||||
<value xml:lang="it">Invito accettato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PARTYINV_CANCELLED">
|
||||
<value xml:lang="en">Invitation Cancelled</value>
|
||||
<value xml:lang="it">Invito cancellato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PARTYINV_DECLINED">
|
||||
<value xml:lang="en">Invitation Declined</value>
|
||||
<value xml:lang="it">Invito declinato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PARTYINV_PENDING">
|
||||
<value xml:lang="en">Invitation Pending</value>
|
||||
<value xml:lang="it">Invito in attesa</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PARTYINV_SENT">
|
||||
<value xml:lang="en">Invitation Sent</value>
|
||||
<value xml:lang="it">Invito inviato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PARTY_DISABLED">
|
||||
<value xml:lang="en">Disabled</value>
|
||||
<value xml:lang="it">Disabilitato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PARTY_ENABLED">
|
||||
<value xml:lang="en">Enabled</value>
|
||||
<value xml:lang="it">Abilitato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PAS_ASSIGNED">
|
||||
<value xml:lang="de">Zugewiesen</value>
|
||||
<value xml:lang="en">Assigned</value>
|
||||
@@ -6956,6 +7216,10 @@
|
||||
<value xml:lang="th">ยอมรับ</value>
|
||||
<value xml:lang="zh">已接收</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PAYMENT_REFUNDED">
|
||||
<value xml:lang="en">Refunded</value>
|
||||
<value xml:lang="it">Rimborsato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PAYMENT_SETTLED">
|
||||
<value xml:lang="de">Beglichen</value>
|
||||
<value xml:lang="en">Settled</value>
|
||||
@@ -6968,6 +7232,18 @@
|
||||
<value xml:lang="th">ตัดสินใจ</value>
|
||||
<value xml:lang="zh">已结清</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PICKITEM_CANCELLED">
|
||||
<value xml:lang="en">Cancelled</value>
|
||||
<value xml:lang="it">Cancellata</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PICKITEM_COMPLETED">
|
||||
<value xml:lang="en">Completed</value>
|
||||
<value xml:lang="it">Completata</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PICKITEM_PENDING">
|
||||
<value xml:lang="en">Pending</value>
|
||||
<value xml:lang="it">In attesa</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PICKLIST_ASSIGNED">
|
||||
<value xml:lang="de">Zugewiesen</value>
|
||||
<value xml:lang="en">Assigned</value>
|
||||
@@ -7016,6 +7292,10 @@
|
||||
<value xml:lang="th">เลือก</value>
|
||||
<value xml:lang="zh">已分拣</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PICKLIST_PRINTED">
|
||||
<value xml:lang="en">Printed</value>
|
||||
<value xml:lang="it">Stampata</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PMNT_CANCELLED">
|
||||
<value xml:lang="de">Annulliert</value>
|
||||
<value xml:lang="en">Cancelled</value>
|
||||
@@ -7095,6 +7375,14 @@
|
||||
<value xml:lang="it">Chiusa</value>
|
||||
<value xml:lang="th">ปิด</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.POSTX_PAID_IN">
|
||||
<value xml:lang="en">PaidIn</value>
|
||||
<value xml:lang="it">Pagamento in entrata</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.POSTX_PAID_OUT">
|
||||
<value xml:lang="en">PaidOut</value>
|
||||
<value xml:lang="it">Pagamento in uscita</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.POSTX_RETURNED">
|
||||
<value xml:lang="en">POSTX_RETURNED</value>
|
||||
<value xml:lang="es">Devuelto</value>
|
||||
@@ -7116,22 +7404,35 @@
|
||||
<value xml:lang="it">Annullata</value>
|
||||
<value xml:lang="th">โมฆะ</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PQV_NOT_VERIFIED">
|
||||
<value xml:lang="en">Not verified</value>
|
||||
<value xml:lang="it">Non verificato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PQV_VERIFIED">
|
||||
<value xml:lang="en">Verified</value>
|
||||
<value xml:lang="it">Verificato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PRJ_ACTIVE">
|
||||
<value xml:lang="en">Active</value>
|
||||
<value xml:lang="it">Attivo</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PRJ_CLOSED">
|
||||
<value xml:lang="en">Closed</value>
|
||||
<value xml:lang="it">Chiuso</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PRR_APPROVED">
|
||||
<value xml:lang="en">PRR_APPROVED</value>
|
||||
<value xml:lang="es">Aprobado</value>
|
||||
<value xml:lang="fr">Approuvé</value>
|
||||
<value xml:lang="it">Approvata</value>
|
||||
<value xml:lang="th">เห็นด้วย</value>
|
||||
<value xml:lang="en">Approved</value>
|
||||
<value xml:lang="it">Approvato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PRR_DELETED">
|
||||
<value xml:lang="en">PRR_DELETED</value>
|
||||
<value xml:lang="en">Deleted</value>
|
||||
<value xml:lang="es">Suprimido</value>
|
||||
<value xml:lang="fr">Supprimé</value>
|
||||
<value xml:lang="it">Cancellata</value>
|
||||
<value xml:lang="th">ลบ</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PRR_PENDING">
|
||||
<value xml:lang="en">PRR_PENDING</value>
|
||||
<value xml:lang="en">Pending</value>
|
||||
<value xml:lang="es">Pendiente</value>
|
||||
<value xml:lang="fr">En attente</value>
|
||||
<value xml:lang="it">Sospesa</value>
|
||||
@@ -7245,6 +7546,10 @@
|
||||
<value xml:lang="th">ดำเนินการ</value>
|
||||
<value xml:lang="zh">正在运行</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PRUN_SCHEDULED">
|
||||
<value xml:lang="en">Scheduled</value>
|
||||
<value xml:lang="it">Schedulato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.PTS_CANCELLED">
|
||||
<value xml:lang="de">Annulliert</value>
|
||||
<value xml:lang="en">Cancelled</value>
|
||||
@@ -7478,6 +7783,10 @@
|
||||
<value xml:lang="th">เสร็จสมบูรณ์</value>
|
||||
<value xml:lang="zh">已完成</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.RETURN_MAN_REFUND">
|
||||
<value xml:lang="en">Manual Refund Required</value>
|
||||
<value xml:lang="it">Reso manual richiesto</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.RETURN_RECEIVED">
|
||||
<value xml:lang="de">Erhalten</value>
|
||||
<value xml:lang="en">Received</value>
|
||||
@@ -7518,46 +7827,47 @@
|
||||
</property>
|
||||
<property key="StatusItem.description.SERVICE_CANCELLED">
|
||||
<value xml:lang="de">Annulliert</value>
|
||||
<value xml:lang="en">SERVICE_CANCELLED</value>
|
||||
<value xml:lang="en">Cancelled</value>
|
||||
<value xml:lang="es">Anulado</value>
|
||||
<value xml:lang="fr">Annulé</value>
|
||||
<value xml:lang="it">Annullato</value>
|
||||
<value xml:lang="th">ยกเลิก</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.SERVICE_CRASHED">
|
||||
<value xml:lang="en">SERVICE_CRASHED</value>
|
||||
<value xml:lang="en">Crashed</value>
|
||||
<value xml:lang="es">Caído</value>
|
||||
<value xml:lang="fr">Planté</value>
|
||||
<value xml:lang="it">Bloccato</value>
|
||||
<value xml:lang="th">เงินสด</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.SERVICE_FAILED">
|
||||
<value xml:lang="en">SERVICE_FAILED</value>
|
||||
<value xml:lang="en">Failed</value>
|
||||
<value xml:lang="es">Fallado</value>
|
||||
<value xml:lang="fr">Échoué</value>
|
||||
<value xml:lang="it">Fallito</value>
|
||||
<value xml:lang="th">ผิดพลาด</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.SERVICE_FINISHED">
|
||||
<value xml:lang="en">SERVICE_FINISHED</value>
|
||||
<value xml:lang="en">Finished</value>
|
||||
<value xml:lang="es">Finalizado</value>
|
||||
<value xml:lang="fr">Fini</value>
|
||||
<value xml:lang="it">Finito</value>
|
||||
<value xml:lang="th">เสร็จสิ้น</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.SERVICE_PENDING">
|
||||
<value xml:lang="en">SERVICE_PENDING</value>
|
||||
<value xml:lang="en">Pending</value>
|
||||
<value xml:lang="es">Pendiente</value>
|
||||
<value xml:lang="fr">En attente</value>
|
||||
<value xml:lang="it">Sospeso</value>
|
||||
<value xml:lang="th">ยังค้างอยู่</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.SERVICE_QUEUED">
|
||||
<value xml:lang="en">Running</value>
|
||||
<value xml:lang="it">In esecuzione</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.SERVICE_RUNNING">
|
||||
<value xml:lang="en">SERVICE_RUNNING</value>
|
||||
<value xml:lang="es">En ejecución</value>
|
||||
<value xml:lang="fr">En fonction</value>
|
||||
<value xml:lang="en">Queued</value>
|
||||
<value xml:lang="it">In esecuzione</value>
|
||||
<value xml:lang="th">ดำเนินการ</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.SHIPMENT_CANCELLED">
|
||||
<value xml:lang="de">Annulliert</value>
|
||||
@@ -7671,6 +7981,26 @@
|
||||
<value xml:lang="it">Annullato</value>
|
||||
<value xml:lang="th">โมฆะ</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.SUP_RETURN_ACCEPTED">
|
||||
<value xml:lang="en">Accepted</value>
|
||||
<value xml:lang="it">Accettato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.SUP_RETURN_CANCELLED">
|
||||
<value xml:lang="en">Cancelled</value>
|
||||
<value xml:lang="it">Cancellato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.SUP_RETURN_COMPLETED">
|
||||
<value xml:lang="en">Completed</value>
|
||||
<value xml:lang="it">Completato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.SUP_RETURN_REQUESTED">
|
||||
<value xml:lang="en">Requested</value>
|
||||
<value xml:lang="it">Richiesto</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.SUP_RETURN_SHIPPED">
|
||||
<value xml:lang="en">Shipped</value>
|
||||
<value xml:lang="it">Spedito</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.SYNCHRONIZED">
|
||||
<value xml:lang="de">Synchronisiert</value>
|
||||
<value xml:lang="en">Synchronized</value>
|
||||
@@ -7684,6 +8014,82 @@
|
||||
<value xml:lang="th">เกิดขึ้นเวลาเดียวกัน</value>
|
||||
<value xml:lang="zh">已同步</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.TIMESHEET_APPROVED">
|
||||
<value xml:lang="en">Approved</value>
|
||||
<value xml:lang="it">Approvato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.TIMESHEET_COMPLETED">
|
||||
<value xml:lang="en">Completed</value>
|
||||
<value xml:lang="it">Completato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.TIMESHEET_IN_PROCESS">
|
||||
<value xml:lang="en">In-Process</value>
|
||||
<value xml:lang="it">In attesa</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WEFA_AVAILABLE">
|
||||
<value xml:lang="en">Available</value>
|
||||
<value xml:lang="it">Disponibile</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WEFA_IN_USE">
|
||||
<value xml:lang="en">In Use</value>
|
||||
<value xml:lang="it">In uso</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WEGS_CANCELLED">
|
||||
<value xml:lang="en">Cancelled</value>
|
||||
<value xml:lang="it">Cancellato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WEGS_COMPLETED">
|
||||
<value xml:lang="en">Completed</value>
|
||||
<value xml:lang="it">Completato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WEGS_CREATED">
|
||||
<value xml:lang="en">Created</value>
|
||||
<value xml:lang="it">Creato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WEPA_AV_AVAILABLE">
|
||||
<value xml:lang="en">Available</value>
|
||||
<value xml:lang="it">Disponibile</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WEPA_AV_AWAY">
|
||||
<value xml:lang="en">Away</value>
|
||||
<value xml:lang="it">Lontano</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WEPA_AV_BUSY">
|
||||
<value xml:lang="en">Busy</value>
|
||||
<value xml:lang="it">Occupato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WEPR_CANCELLED">
|
||||
<value xml:lang="en">Cancelled</value>
|
||||
<value xml:lang="it">Cancellato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WEPR_COMPLETE">
|
||||
<value xml:lang="en">Complete</value>
|
||||
<value xml:lang="it">Completo</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WEPR_IN_PROGRESS">
|
||||
<value xml:lang="en">In Progress</value>
|
||||
<value xml:lang="it">In corso</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WEPR_ON_HOLD">
|
||||
<value xml:lang="en">On Hold</value>
|
||||
<value xml:lang="it">In attesa</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WEPR_PLANNING">
|
||||
<value xml:lang="en">Planning</value>
|
||||
<value xml:lang="it">Pianificato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WERV_APPROVED">
|
||||
<value xml:lang="en">Approved</value>
|
||||
<value xml:lang="it">Approvato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WERV_DELETED">
|
||||
<value xml:lang="en">Deleted</value>
|
||||
<value xml:lang="it">Cancellato</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WERV_PENDING">
|
||||
<value xml:lang="en">Pending</value>
|
||||
<value xml:lang="it">In attesa</value>
|
||||
</property>
|
||||
<property key="StatusItem.description.WF_ABORTED">
|
||||
<value xml:lang="de">Abgebrochen</value>
|
||||
<value xml:lang="en">Aborted</value>
|
||||
@@ -12659,6 +13065,10 @@
|
||||
<value xml:lang="th">แคนเดลา (หน่วยวัดความเข้มของแสง)</value>
|
||||
<value xml:lang="zh">烛光 -发光度 (发光强度)</value>
|
||||
</property>
|
||||
<property key="Uom.description.OTH_ea">
|
||||
<value xml:lang="en">Each</value>
|
||||
<value xml:lang="it">Ciascuno</value>
|
||||
</property>
|
||||
<property key="Uom.description.OTH_mol">
|
||||
<value xml:lang="de">Mol - Stoffmenge</value>
|
||||
<value xml:lang="en">Mole - Substance (molecule)</value>
|
||||
@@ -12671,6 +13081,10 @@
|
||||
<value xml:lang="th">โมล - สสาร (โมเลกุล)</value>
|
||||
<value xml:lang="zh">摩尔 -物质 (分子)</value>
|
||||
</property>
|
||||
<property key="Uom.description.OTH_pp">
|
||||
<value xml:lang="en">Per Person</value>
|
||||
<value xml:lang="it">Per persona</value>
|
||||
</property>
|
||||
<property key="Uom.description.PAB">
|
||||
<value xml:lang="de">Balboa Panama</value>
|
||||
<value xml:lang="en">Panamanian Balboa</value>
|
||||
|
||||
@@ -1387,7 +1387,7 @@
|
||||
<property key="CommonCopyright">
|
||||
<value xml:lang="en">Copyright</value>
|
||||
<value xml:lang="fr">Droit d'auteur</value>
|
||||
</property>
|
||||
</property>
|
||||
<property key="CommonCouldBeUsedAs">
|
||||
<value xml:lang="ar">يحتمل استعمالها ك</value>
|
||||
<value xml:lang="cs">Může být použit jako</value>
|
||||
@@ -3416,6 +3416,16 @@
|
||||
<value xml:lang="zh">查找</value>
|
||||
<value xml:lang="zh_CN">查找</value>
|
||||
</property>
|
||||
<property key="CommonLookupAnywho">
|
||||
<value xml:lang="en">lookup:anywho.com</value>
|
||||
<value xml:lang="fr">A qui est ce n° ?</value>
|
||||
<value xml:lang="it">lookup:anywho.com</value>
|
||||
</property>
|
||||
<property key="CommonLookupAnywhoLink">
|
||||
<value xml:lang="en">http://www.anywho.com/qry/wp_rl?npa=${telecomNumber.areaCode?if_exists}&telephone=${telecomNumber.contactNumber?if_exists}&btnsubmit.x=20&btnsubmit.y=8</value>
|
||||
<value xml:lang="fr">http://www.pagesjaunes.fr/quidonc/aquiestcenumero.do</value>
|
||||
<value xml:lang="it">http://www.anywho.com/qry/wp_rl?npa=${telecomNumber.areaCode?if_exists}&telephone=${telecomNumber.contactNumber?if_exists}&btnsubmit.x=20&btnsubmit.y=8</value>
|
||||
</property>
|
||||
<property key="CommonLookupWhitepages">
|
||||
<value xml:lang="en">Look up White pages</value>
|
||||
<value xml:lang="es">Páginas Blancas</value>
|
||||
@@ -3433,16 +3443,8 @@
|
||||
</property>
|
||||
<property key="CommonLookupWhitepagesTelNumberLink">
|
||||
<value xml:lang="en">http://whitepages.com/find_person_results.pl?fid=p&ac=${telecomNumber.areaCode?if_exists}&s=&p=${telecomNumber.contactNumber?if_exists}&pt=b&x=40&y=9</value>
|
||||
<value xml:lang="fr">http://www.pagesjaunes.fr/quidonc/aquiestcenumero.do</value>
|
||||
</property>
|
||||
<property key="CommonLookupAnywho">
|
||||
<value xml:lang="en">lookup:anywho.com</value>
|
||||
<value xml:lang="fr">A qui est ce n° ?</value>
|
||||
</property>
|
||||
<property key="CommonLookupAnywhoLink">
|
||||
<value xml:lang="en">http://www.anywho.com/qry/wp_rl?npa=${telecomNumber.areaCode?if_exists}&telephone=${telecomNumber.contactNumber?if_exists}&btnsubmit.x=20&btnsubmit.y=8</value>
|
||||
<value xml:lang="fr">http://www.pagesjaunes.fr/quidonc/aquiestcenumero.do</value>
|
||||
</property>
|
||||
</property>
|
||||
<property key="CommonMain">
|
||||
<value xml:lang="ar">الرئيسية</value>
|
||||
<value xml:lang="cs">Úvodní stránka</value>
|
||||
@@ -4729,12 +4731,6 @@
|
||||
<value xml:lang="zh">人员</value>
|
||||
<value xml:lang="zh_CN">人</value>
|
||||
</property>
|
||||
<property key="PortalPageNotFound">
|
||||
<value xml:lang="en">This page (${parameters.portalPageId}) could not be found!</value>
|
||||
</property>
|
||||
<property key="PortalPageNotOwned">
|
||||
<value xml:lang="en">The page '${portalPage.portalPageName}' [${portalPage.portalPageId}] is not owned by you, so cannot be changed!</value>
|
||||
</property>
|
||||
<property key="CommonPostedBy">
|
||||
<value xml:lang="ar">مرسلة من</value>
|
||||
<value xml:lang="de">Übermittelt von</value>
|
||||
@@ -4764,7 +4760,7 @@
|
||||
<property key="CommonPoweredBy">
|
||||
<value xml:lang="en">Powered by</value>
|
||||
<value xml:lang="fr">Fonctionne grâce à </value>
|
||||
</property>
|
||||
</property>
|
||||
<property key="CommonPreferences">
|
||||
<value xml:lang="de">Einstellungen</value>
|
||||
<value xml:lang="en">Preferences</value>
|
||||
@@ -8169,6 +8165,10 @@
|
||||
<value xml:lang="fr">Mon portail</value>
|
||||
<value xml:lang="it">Mio portale</value>
|
||||
</property>
|
||||
<property key="OFBiz Site">
|
||||
<value xml:lang="en">OFBiz Site</value>
|
||||
<value xml:lang="fr">Site officiel d'OFBiz</value>
|
||||
</property>
|
||||
<property key="Oagis">
|
||||
<value xml:lang="de">Oagis</value>
|
||||
<value xml:lang="en">Oagis</value>
|
||||
@@ -8177,10 +8177,6 @@
|
||||
<value xml:lang="it">Oagis</value>
|
||||
<value xml:lang="th">การรวมภาษาทางธุรกิจ</value>
|
||||
</property>
|
||||
<property key="OFBiz Site">
|
||||
<value xml:lang="en">OFBiz Site</value>
|
||||
<value xml:lang="fr">Site officiel d'OFBiz</value>
|
||||
</property>
|
||||
<property key="Order">
|
||||
<value xml:lang="ar">طلبية</value>
|
||||
<value xml:lang="de">Bestellung</value>
|
||||
@@ -8342,6 +8338,12 @@
|
||||
<value xml:lang="zh">会员</value>
|
||||
<value xml:lang="zh_CN">团体</value>
|
||||
</property>
|
||||
<property key="PortalPageNotFound">
|
||||
<value xml:lang="en">This page (${parameters.portalPageId}) could not be found!</value>
|
||||
</property>
|
||||
<property key="PortalPageNotOwned">
|
||||
<value xml:lang="en">The page '${portalPage.portalPageName}' [${portalPage.portalPageId}] is not owned by you, so cannot be changed!</value>
|
||||
</property>
|
||||
<property key="Project">
|
||||
<value xml:lang="de">Projekt</value>
|
||||
<value xml:lang="en">Project</value>
|
||||
|
||||
@@ -19,6 +19,14 @@
|
||||
under the License.
|
||||
-->
|
||||
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<property key="SecurityGroup.description.ASSETMAINTADMIN">
|
||||
<value xml:lang="en">Asset Maintenance Admin group, has all maintenance permissions.</value>
|
||||
<value xml:lang="it">Gruppo permesso manutenzione cespiti, ha tutti i permessi di manutenzione.</value>
|
||||
</property>
|
||||
<property key="SecurityGroup.description.ASSETMAINTTECH">
|
||||
<value xml:lang="en">Asset Maintenance Technician group, has view and update.</value>
|
||||
<value xml:lang="it">Gruppo permesso manutenzione tecnica cespiti, ha i permessi di visualizzazione e aggiornamento.</value>
|
||||
</property>
|
||||
<property key="SecurityGroup.description.BIZADMIN">
|
||||
<value xml:lang="en">Full Business Applications permission group, has all business app admin permissions, not technical permissions.</value>
|
||||
<value xml:lang="es">Permisos completos para las Aplicaciones de Negocio, no posee permisos técnicos.</value>
|
||||
@@ -42,6 +50,10 @@
|
||||
<value xml:lang="ru">Группа 'Ограниченный администратор каталога', содержит ограниченные права на каталог.</value>
|
||||
<value xml:lang="th">กลุ่มผู้ดูแลระบบหมวดหมู่จำกัด, มีการอนุญาตหมวดหมู่จำกัด.</value>
|
||||
</property>
|
||||
<property key="SecurityGroup.description.COMPDOCADMIN">
|
||||
<value xml:lang="en">CompDoc admin group, all permissions.</value>
|
||||
<value xml:lang="it">Gruppo permesso amministratore composizione documenti, ha tutti permessi di manutenzione.</value>
|
||||
</property>
|
||||
<property key="SecurityGroup.description.CONTENT_USER">
|
||||
<value xml:lang="en">Content user group; all limited content permissions.</value>
|
||||
<value xml:lang="es">Grupo de usuarios de contenidos; todos los permisos de contenido limitados</value>
|
||||
@@ -64,6 +76,30 @@
|
||||
<value xml:lang="ru">Группа 'Полный администратор', содержит все общие права.</value>
|
||||
<value xml:lang="th">Full Admin group, has all general permissions.</value>
|
||||
</property>
|
||||
<property key="SecurityGroup.description.MYPAGE_CUSTOMER">
|
||||
<value xml:lang="en">Customer user of mypage, Limited access to own custRequests, and project</value>
|
||||
<value xml:lang="it">Utente di mypage, accesso limitato al proprietario delle richieste cliente, e progetti</value>
|
||||
</property>
|
||||
<property key="SecurityGroup.description.MYPAGE_EMPL-NOEMAIL">
|
||||
<value xml:lang="en">Employee user of mypage, Limited access to the projectmgr and comms, custReq, no email</value>
|
||||
<value xml:lang="it">Utente impiegato di mypage, accesso limitato ai progetti e comunicazioni, richieste cliente, no email</value>
|
||||
</property>
|
||||
<property key="SecurityGroup.description.MYPAGE_EMPLOYEE">
|
||||
<value xml:lang="en">Employee user of mypage, Limited access to the projectmgr, comms,custRequests</value>
|
||||
<value xml:lang="it">Utente impiegato di mypage, accesso limitato ai progetti e comunicazioni, richieste cliente</value>
|
||||
</property>
|
||||
<property key="SecurityGroup.description.MYPORTAL_CUSTOMER">
|
||||
<value xml:lang="en">Customer user of MYPORTAL, Limited access to own custRequests, and project</value>
|
||||
<value xml:lang="it">Utente di myportal, accesso limitato al proprietario delle richieste cliente, e progetti</value>
|
||||
</property>
|
||||
<property key="SecurityGroup.description.MYPORTAL_EMPL-NOEML">
|
||||
<value xml:lang="en">Employee user of MYPORTAL, Limited access to the projectmgr and comms, custReq, no email</value>
|
||||
<value xml:lang="it">Utente impiegato di myportal, accesso limitato ai progetti e comunicazioni, richieste cliente, no email</value>
|
||||
</property>
|
||||
<property key="SecurityGroup.description.MYPORTAL_EMPLOYEE">
|
||||
<value xml:lang="en">Employee user of myportal, Limited access to the projectmgr, comms,custRequests</value>
|
||||
<value xml:lang="it">Utente impiegato di myportal, accesso limitato ai progetti e comunicazioni, richieste cliente</value>
|
||||
</property>
|
||||
<property key="SecurityGroup.description.ORDERADMIN">
|
||||
<value xml:lang="en">Order Admin group, has all order permissions.</value>
|
||||
<value xml:lang="es">Administrador de Órdenes, tiene todos los permisos de Órdenes.</value>
|
||||
@@ -136,6 +172,14 @@
|
||||
<value xml:lang="ru">Служащий POS</value>
|
||||
<value xml:lang="th">พนักงาน ณ.จุดขาย</value>
|
||||
</property>
|
||||
<property key="SecurityGroup.description.PROJECTADMIN">
|
||||
<value xml:lang="en">Project Admin group, has update access to own projects.</value>
|
||||
<value xml:lang="it">Gruppo permesso amministrazione progetti, ha accesso in aggiornamento come proprietario progetti.</value>
|
||||
</property>
|
||||
<property key="SecurityGroup.description.PROJECTUSER">
|
||||
<value xml:lang="en">Project User group, has read, task create/assign and timesheet create/update access to own projects.</value>
|
||||
<value xml:lang="it">Gruppo permesso utente progetti, può leggere, creare/assegnare compiti e creare/aggiornare timbrature accedere ai propri progetti.</value>
|
||||
</property>
|
||||
<property key="SecurityGroup.description.SECURITYADMIN">
|
||||
<value xml:lang="en">Security Admin group, has all permissions to modify security settings in party manager.</value>
|
||||
<value xml:lang="es">Grupo de administradores de seguridad, tiene todos los permisos para modificar ajustes de seguridad en el gestor de participantes.</value>
|
||||
@@ -260,6 +304,10 @@
|
||||
<value xml:lang="ru">Операции просмотра в приложении Управление учетом.</value>
|
||||
<value xml:lang="th">แสดงการทำงานในการจัดการบัญชี</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ACCTG_ATX_ADMIN">
|
||||
<value xml:lang="en">ALL operations involving general ledger accounting transactions and entries.</value>
|
||||
<value xml:lang="it">Tutte le operazioni che coinvolgono transazioni e voci di contabilità</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ACCTG_ATX_CREATE">
|
||||
<value xml:lang="en">Create general ledger accounting transaction and entries.</value>
|
||||
<value xml:lang="es">Creación de transacciones y entradas de contabilidad de libro mayor.</value>
|
||||
@@ -292,7 +340,11 @@
|
||||
<value xml:lang="ru">Обновление проводок и занесений главной книги.</value>
|
||||
<value xml:lang="th">อัพเดทรายการบัญชีแยกประเภททั่วไปและสิทธิในการเข้า</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ACCTG_FX_ENTRY">
|
||||
<property key="SecurityPermission.description.ACCTG_ATX_VIEW">
|
||||
<value xml:lang="en">View general ledger accounting transaction and entries.</value>
|
||||
<value xml:lang="it">Visualizzare le transazioni nella contabilità generale.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ACCTG_FX_UPDATE">
|
||||
<value xml:lang="en">Set foreign exchange rates.</value>
|
||||
<value xml:lang="es">Establecer tasas de cambio de divisa.</value>
|
||||
<value xml:lang="fr">Fixer les taux de devises étrangères.</value>
|
||||
@@ -300,6 +352,10 @@
|
||||
<value xml:lang="ru">Устанавливать курсы иностранных валют.</value>
|
||||
<value xml:lang="th">กำหนดอัตราการปริวรรตเงินตรา</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ACCTG_PREF_ADMIN">
|
||||
<value xml:lang="en">ALL organization accounting preferences operations</value>
|
||||
<value xml:lang="it">Tutte le operazioni nelle preferenze di contabilità.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ACCTG_PREF_CREATE">
|
||||
<value xml:lang="en">Set organization accounting preferences.</value>
|
||||
<value xml:lang="es">Establecer preferencias contables de la organización.</value>
|
||||
@@ -308,6 +364,42 @@
|
||||
<value xml:lang="ru">Устанавливать учетные параметры организации.</value>
|
||||
<value xml:lang="th">กำหนดสิทธิพิเศษให้บัญชีขององค์กร</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ACCTG_PREF_DELETE">
|
||||
<value xml:lang="en">Delete organization accounting preferences</value>
|
||||
<value xml:lang="it">Operazioni di cancellazione nelle preferenze di contabilità.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ACCTG_PREF_UPDATE">
|
||||
<value xml:lang="en">Update organization accounting preferences</value>
|
||||
<value xml:lang="it">Operazioni di aggiornamento nelle preferenze di contabilità.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ACCTG_PREF_VIEW">
|
||||
<value xml:lang="en">View organization accounting preferences</value>
|
||||
<value xml:lang="it">Operazioni di visualizzazione nelle preferenze di contabilità.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ARTIFACT_INFO_VIEW">
|
||||
<value xml:lang="en">View the Artifact Info pages.</value>
|
||||
<value xml:lang="it">Visualizzazione pagine informazioni artifatti.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ASSETMAINT_ADMIN">
|
||||
<value xml:lang="en">ALL Asset Maintenance operations.</value>
|
||||
<value xml:lang="it">Tutte le operazioni per la gestione cespiti.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ASSETMAINT_CREATE">
|
||||
<value xml:lang="en">Asset Maintenance Create operations.</value>
|
||||
<value xml:lang="it">Operazioni di creazione per la gestione cespiti.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ASSETMAINT_DELETE">
|
||||
<value xml:lang="en">Asset Maintenance Delete operations.</value>
|
||||
<value xml:lang="it">Operazioni di cancellazione per la gestione cespiti.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ASSETMAINT_UPDATE">
|
||||
<value xml:lang="en">Asset Maintenance Update operations.</value>
|
||||
<value xml:lang="it">Operazioni di aggiornamento per la gestione cespiti.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ASSETMAINT_VIEW">
|
||||
<value xml:lang="en">Asset Maintenance View permission.</value>
|
||||
<value xml:lang="it">Operazioni di visualizzazione per la gestione cespiti.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.CATALOG_ADMIN">
|
||||
<value xml:lang="en">ALL operations in the Catalog Manager.</value>
|
||||
<value xml:lang="es">TODAS las operaciones en el Administrador del Catálogo.</value>
|
||||
@@ -340,6 +432,10 @@
|
||||
<value xml:lang="ru">Дополнительные права для редактирования ценовой информации, включая цены, акции и правила ценообразования.</value>
|
||||
<value xml:lang="th">ต้องการการอนุญาต, ในการเพิ่มถึงการอนุญาตการปฏิบัติอื่น ๆ, ถึงการรักษาราคาสินค้าข้อมูลการรวมราคา,โปรโมชัน,และข้อบังคับราคา</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.CATALOG_PURCHASE_ALLOW">
|
||||
<value xml:lang="en">Allow create/update of 'Purchase Allow' in the Catalog Manager.</value>
|
||||
<value xml:lang="it">Permetti la creazione/aggiornamento di gestione cataloghi di 'Permetti acquisto'.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.CATALOG_ROLE_CREATE">
|
||||
<value xml:lang="en">Limited Create operations in the Catalog Manager.</value>
|
||||
<value xml:lang="es">Operaciones de Creación Limitadas en el Administrador del Catálogo.</value>
|
||||
@@ -380,6 +476,26 @@
|
||||
<value xml:lang="ru">Операции просмотра в приложении Управление каталогом продуктов.</value>
|
||||
<value xml:lang="th">การแสดงการทำงานในการจัดการหมวดหมู่</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.CATALOG_VIEW_ALLOW">
|
||||
<value xml:lang="en">Allow create/update of 'View Allow' in the Catalog Manager.</value>
|
||||
<value xml:lang="it">Permetti la creazione/aggiornamento di gestione cataloghi di 'Visualizzazione permessa'.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.COMMON_CREATE">
|
||||
<value xml:lang="en">Create operations in the Common Component.</value>
|
||||
<value xml:lang="it">Operazioni di creazione nel componente Common.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.COMMON_DELETE">
|
||||
<value xml:lang="en">Delete operations in the Common Component.</value>
|
||||
<value xml:lang="it">Operazioni di cancellazione nel componente Common.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.COMMON_UPDATE">
|
||||
<value xml:lang="en">Update operations in the Common Component.</value>
|
||||
<value xml:lang="it">Operazioni di aggiornamento nel componente Common.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.COMMON_VIEW">
|
||||
<value xml:lang="en">View operations in the Common Component.</value>
|
||||
<value xml:lang="it">Operazioni di visualizzazione nel componente Common.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.CONTENTMGR_ADMIN">
|
||||
<value xml:lang="en">ALL operations in the Content Manager.</value>
|
||||
<value xml:lang="es">TODAS las operaciones en el Administrador de Contenido.</value>
|
||||
@@ -404,6 +520,22 @@
|
||||
<value xml:lang="ru">Операции удаления в приложении Управление каталогом продуктов.</value>
|
||||
<value xml:lang="th">การลบการทำงานในการจัดการหัวข้อ</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.CONTENTMGR_ROLE_CREATE">
|
||||
<value xml:lang="en">Limited Create operations in the Content Manager.</value>
|
||||
<value xml:lang="it">Operazioni limitate di creazione nella gestione contenuti.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.CONTENTMGR_ROLE_DELETE">
|
||||
<value xml:lang="en">Limited Delete operations in the Content Manager.</value>
|
||||
<value xml:lang="it">Operazioni limitate di cancellazione nella gestione contenuti.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.CONTENTMGR_ROLE_UPDATE">
|
||||
<value xml:lang="en">Limited Update operations in the Content Manager.</value>
|
||||
<value xml:lang="it">Operazioni limitate di aggiornamento nella gestione contenuti.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.CONTENTMGR_ROLE_VIEW">
|
||||
<value xml:lang="en">Limited View operations in the Content Manager.</value>
|
||||
<value xml:lang="it">Operazioni limitate di visualizzazione nella gestione contenuti.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.CONTENTMGR_UPDATE">
|
||||
<value xml:lang="en">Update operations in the Content Manager.</value>
|
||||
<value xml:lang="es">Operaciones de Actualización en el Administrador de Contenido.</value>
|
||||
@@ -428,6 +560,10 @@
|
||||
<value xml:lang="ru">Использование страниц Обслуживание файлов данных.</value>
|
||||
<value xml:lang="th">ใช้ไฟล์ข้อมูลในหน้าการบำรุงรักษา</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.EBAY_VIEW">
|
||||
<value xml:lang="en">View operations in the eBay application.</value>
|
||||
<value xml:lang="it">Operazioni di visualizzazione nell'applicazione eBay.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ENTITY_DATA_ADMIN">
|
||||
<value xml:lang="en">ALL with the Entity Data Maintenance pages.</value>
|
||||
<value xml:lang="es">TODO dentro de las páginas de Mantenimiento de Datos de Entidad.</value>
|
||||
@@ -476,6 +612,10 @@
|
||||
<value xml:lang="ru">Использование страниц Обслуживание данных сущностей.</value>
|
||||
<value xml:lang="th">ใช้หน้าการรักษาสภาพเอนทิตี</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ENTITY_SYNC_ADMIN">
|
||||
<value xml:lang="en">Use the Entity Sync Admin pages.</value>
|
||||
<value xml:lang="it">Usare le pagine di amministrazione sincronizzazione entità.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ENUM_STATUS_MAINT">
|
||||
<value xml:lang="en">Use the Enum and Status Maintenance pages.</value>
|
||||
<value xml:lang="es">Usar las páginas de Mantenimiento de Enumeraciones y Estados.</value>
|
||||
@@ -484,6 +624,26 @@
|
||||
<value xml:lang="ru">Использование страниц Обслуживание перечеслений и статусов.</value>
|
||||
<value xml:lang="th">Use the Enum and Status Maintenance pages.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.EXAMPLE_ADMIN">
|
||||
<value xml:lang="en">ALL operations in the Example Management Screens.</value>
|
||||
<value xml:lang="it">Tutte le operazioni di gestione esempi.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.EXAMPLE_CREATE">
|
||||
<value xml:lang="en">Create operations in the Example Management Screens.</value>
|
||||
<value xml:lang="it">Operazioni di creazione nella gestione esempi.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.EXAMPLE_DELETE">
|
||||
<value xml:lang="en">Delete operations in the Example Management Screens.</value>
|
||||
<value xml:lang="it">Operazioni di cancellazione nella gestione esempi.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.EXAMPLE_UPDATE">
|
||||
<value xml:lang="en">Update operations in the Example Management Screens.</value>
|
||||
<value xml:lang="it">Operazioni di aggiornamento nella gestione esempi.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.EXAMPLE_VIEW">
|
||||
<value xml:lang="en">View operations in the Example Management Screens.</value>
|
||||
<value xml:lang="it">Operazioni di visualizzazione nella gestione esempi.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.FACILITY_ADMIN">
|
||||
<value xml:lang="en">ALL operations in the Facility Manager.</value>
|
||||
<value xml:lang="es">TODAS las operaciones en el Administrador de Establecimientos.</value>
|
||||
@@ -540,6 +700,30 @@
|
||||
<value xml:lang="ru">Операции просмотра в приложении Управление объектами.</value>
|
||||
<value xml:lang="th">การแสดงการทำงานในการจัดการคลังสินค้า</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.GOOGLEBASE_VIEW">
|
||||
<value xml:lang="en">View operations in the Google Base application.</value>
|
||||
<value xml:lang="it">Operazioni di visualizzazione nell'applicazione Google Base.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.HUMANRES_CREATE">
|
||||
<value xml:lang="en">Create operations in the HumanRes Manager.</value>
|
||||
<value xml:lang="it">Operazioni di creazione nella gestione risorse umane.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.HUMANRES_DELETE">
|
||||
<value xml:lang="en">Delete operations in the HumanRes Manager.</value>
|
||||
<value xml:lang="it">Operazioni di cancellazione nella gestione risorse umane.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.HUMANRES_UPDATE">
|
||||
<value xml:lang="en">Update operations in the HumanRes Manager.</value>
|
||||
<value xml:lang="it">Operazioni di aggiornamento nella gestione risorse umane.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.HUMANRES_VIEW">
|
||||
<value xml:lang="en">View operations in the HumanRes Manager.</value>
|
||||
<value xml:lang="it">Operazioni di visualizzazione nella gestione risorse umane.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.LABEL_MANAGER_VIEW">
|
||||
<value xml:lang="en">View the Labels Info pages.</value>
|
||||
<value xml:lang="it">Visualizzazione pagine per gestione labels.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.MANUAL_PAYMENT">
|
||||
<value xml:lang="en">Manual Payment Transaction.</value>
|
||||
<value xml:lang="es">Pago Manual de Transacciones.</value>
|
||||
@@ -644,6 +828,34 @@
|
||||
<value xml:lang="ru">Операции просмотра в приложении Управление маркетингом.</value>
|
||||
<value xml:lang="th">การแสดงการทำงานในการจัดการการตลาด</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.MYPAGE_CUSTOMER">
|
||||
<value xml:lang="en">Use the customer screens in mypage.</value>
|
||||
<value xml:lang="it">Usare la visualizzazione clienti in mypage.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.MYPAGE_EMPL-NOEMAIL">
|
||||
<value xml:lang="en">Usage of the employee screens in mypage: projectmanager and internal notes.</value>
|
||||
<value xml:lang="it">Usare la visualizzazione clienti in mypage: gestione progetti e note interne.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.MYPAGE_EMPLOYEE">
|
||||
<value xml:lang="en">Use the employee screens in mypage.</value>
|
||||
<value xml:lang="it">Usare la visualizzazione impiegati in mypage.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.MYPORTAL_CUSTOMER">
|
||||
<value xml:lang="en">Use the customer screens in myportal.</value>
|
||||
<value xml:lang="it">Usare la visualizzazione clienti in myportal.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.MYPORTAL_EMPL-NOEML">
|
||||
<value xml:lang="en">Usage of the employee screens in myportal: projectmanager and internal notes.</value>
|
||||
<value xml:lang="it">Usare la visualizzazione clienti in myportal: gestione progetti e note interne.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.MYPORTAL_EMPLOYEE">
|
||||
<value xml:lang="en">Use the employee screens in myportal.</value>
|
||||
<value xml:lang="it">Usare la visualizzazione impiegati in myportal.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.OAGIS_VIEW">
|
||||
<value xml:lang="en">View operations in the Oagis application.</value>
|
||||
<value xml:lang="it">Operazioni di visualizzazione nell'applicazione Oagis.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.OFBTOOLS_VIEW">
|
||||
<value xml:lang="en">Permission to access the Stock OFBiz Manager Applications.</value>
|
||||
<value xml:lang="es">Permisos para acceder el menú de Herramientas Web.</value>
|
||||
@@ -804,6 +1016,10 @@
|
||||
<value xml:lang="ru">Права на изменение цены в сбытовых заказах.</value>
|
||||
<value xml:lang="th">การอนุญาตการเปลี่ยนแปลงราคาสำหรับรายการขาย</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ORDERMGR_SALES_UPDATE">
|
||||
<value xml:lang="en">Update sales orders for all stores in the Order Manager.</value>
|
||||
<value xml:lang="it">Permesso di aggiornamento ordini di vendita per tutti i negozi della gestione ordini.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.ORDERMGR_SEND_CONFIRMATION">
|
||||
<value xml:lang="en">Send order confirmation notification.</value>
|
||||
<value xml:lang="es">Enviar notificación de confirmación de órden.</value>
|
||||
@@ -836,6 +1052,22 @@
|
||||
<value xml:lang="ru">Все операции в приложении Управление участниками</value>
|
||||
<value xml:lang="th">การทำงานทั้งหมดในการจัดการกลุ่มผู้ใช้</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.PARTYMGR_CME-EMAIL_CREATE">
|
||||
<value xml:lang="en">Can create Email communication events for logged-in user.</value>
|
||||
<value xml:lang="it">Può creare eventi comunicazione email per l'utente autenticato.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.PARTYMGR_CME-EMAIL_DELETE">
|
||||
<value xml:lang="en">Can delete Email communication events for logged-in user.</value>
|
||||
<value xml:lang="it">Può cancellare eventi comunicazione email per l'utente autenticato.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.PARTYMGR_CME-EMAIL_UPDATE">
|
||||
<value xml:lang="en">Can update Email communication events for logged-in user.</value>
|
||||
<value xml:lang="it">Può aggiornare eventi comunicazione email per l'utente autenticato.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.PARTYMGR_CME-NOTE_CREATE">
|
||||
<value xml:lang="en">Can create Internal note communication event for logged-in user.</value>
|
||||
<value xml:lang="it">Può creare note interne eventi comunicazione per l'utente autenticato.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.PARTYMGR_CME_CREATE">
|
||||
<value xml:lang="en">Create communication event.</value>
|
||||
<value xml:lang="es">Crear eventos de comunicación.</value>
|
||||
@@ -1092,6 +1324,46 @@
|
||||
<value xml:lang="ru">Использование страниц Обслуживание периода.</value>
|
||||
<value xml:lang="th">ใช้หน้าการรักษาช่วงเวลา</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.PROJECTMGR_ADMIN">
|
||||
<value xml:lang="en">ALL operations in the Project Manager.</value>
|
||||
<value xml:lang="it">Tutte le operazioni nella gestione progetti.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.PROJECTMGR_ROLE_ADMIN">
|
||||
<value xml:lang="en">All admin operations in the Project Manager for a project/phase/task the user is member of.</value>
|
||||
<value xml:lang="it">Tutte le operazioni di amministrazione nella gestione progetti per un progetto/fase/compito di cui l'utente è membro.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.PROJECTMGR_ROLE_TASK_CREATE">
|
||||
<value xml:lang="en">Be able to create a task (should be member of project)</value>
|
||||
<value xml:lang="it">Essere autorizzato a creare un compito (dovrebbe essere membro del progetto)</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.PROJECTMGR_ROLE_TIMESHEET_CREATE">
|
||||
<value xml:lang="en">Be able to create a weekly timesheet for the loginid.</value>
|
||||
<value xml:lang="it">Essere autorizzato a creare una timbratura settimanale per l'utente autenticato.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.PROJECTMGR_ROLE_TIMESHEET_UPDATE">
|
||||
<value xml:lang="en">Be able to update(report) on an existing own timesheet</value>
|
||||
<value xml:lang="it">Essere autorizzato ad aggiornare una timbratura esistente</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.PROJECTMGR_ROLE_UPDATE">
|
||||
<value xml:lang="en">Update operations in the Project Manager for a project/phase/task the user is member of.</value>
|
||||
<value xml:lang="it">Operazioni di aggiornamento nella gestione progetti per un progetto/fase/compito ci cui l'utente è membro.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.PROJECTMGR_ROLE_VIEW">
|
||||
<value xml:lang="en">All view operations in the Project Manager for a project/phase/task the user is member of..</value>
|
||||
<value xml:lang="it">Tutte le perazioni di visualizzazione nella gestione progetti per un progetto/fase/compito ci cui l'utente è membro.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.PROJECTMGR_TIMESHEET_CREATE">
|
||||
<value xml:lang="en">Be able to create any weekly timesheet.</value>
|
||||
<value xml:lang="it">Essere autorizzato a creare qualiasi timbratura settimanale.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.PROJECTMGR_TIMESHEET_UPDATE">
|
||||
<value xml:lang="en">Be able to update any weekly timesheet.</value>
|
||||
<value xml:lang="it">Essere autorizzato ad aggiornare qualiasi timbratura settimanale.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.PROJECTMGR_VIEW">
|
||||
<value xml:lang="en">ALL View operations in the Project Manager(but can be limited by ROLE_VIEW)</value>
|
||||
<value xml:lang="it">Tutte le operazioni di visualizzazione nella gestione progetti (ma può essere limitato a ROLE_VIEW)</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.SECURITY_ADMIN">
|
||||
<value xml:lang="en">ALL operations in the Security Management Screens.</value>
|
||||
<value xml:lang="es">TODAS las operaciones en las pantallas de Administración de Seguridad.</value>
|
||||
@@ -1228,6 +1500,14 @@
|
||||
<value xml:lang="ru">Операции просмотра в Редакторе налоговых ставок.</value>
|
||||
<value xml:lang="th">แสดงการทำงานในการแก้ไขอัตราภาษี</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.TEMPEXPR_ADMIN">
|
||||
<value xml:lang="en">Temporal expression admin</value>
|
||||
<value xml:lang="it">Amministrazione espressioni temporali</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.USERPREF_ADMIN">
|
||||
<value xml:lang="en">User preferences admin</value>
|
||||
<value xml:lang="it">Amministrazione preferenze utente</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.UTIL_CACHE_EDIT">
|
||||
<value xml:lang="en">Edit a UtilCache instance.</value>
|
||||
<value xml:lang="es">Editar una instancia de UtilCache.</value>
|
||||
@@ -1260,6 +1540,22 @@
|
||||
<value xml:lang="ru">Просмотр экземпляра UtilDebug.</value>
|
||||
<value xml:lang="th">View a UtilDebug instance.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.VISUALTHEME_ADMIN">
|
||||
<value xml:lang="en">ALL operations on Visual Themes and Visual Theme Resources.</value>
|
||||
<value xml:lang="it">Tutte le operazioni sui temi visuali e risorse dei temi visuali</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.VISUALTHEME_CREATE">
|
||||
<value xml:lang="en">Create Visual Themes and Visual Theme Resources.</value>
|
||||
<value xml:lang="it">Creare temi visuali e risorse dei temi visuali</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.VISUALTHEME_DELETE">
|
||||
<value xml:lang="en">Delete Visual Themes and Visual Theme Resources.</value>
|
||||
<value xml:lang="it">Cancella temi visuali e risorse dei temi visuali</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.VISUALTHEME_UPDATE">
|
||||
<value xml:lang="en">Update Visual Themes and Visual Theme Resources.</value>
|
||||
<value xml:lang="it">Aggiorna temi visuali e risorse dei temi visuali</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.WEBTOOLS_VIEW">
|
||||
<value xml:lang="en">Permission to access the WebTools Menu.</value>
|
||||
<value xml:lang="es">Permisos para acceder el menú de Herramientas Web.</value>
|
||||
@@ -1292,6 +1588,22 @@
|
||||
<value xml:lang="ru">Операции удаления в приложении Организатор.</value>
|
||||
<value xml:lang="th">ลบการทำงานในการจัดการความพยายามในการทำงาน</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.WORKEFFORTMGR_ROLE_CREATE">
|
||||
<value xml:lang="en">Limited Create operations in the Work Effort Manager.</value>
|
||||
<value xml:lang="it">Operazioni limitate in creazione nelle gestione impegni di lavoro.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.WORKEFFORTMGR_ROLE_DELETE">
|
||||
<value xml:lang="en">Limited Delete operations the Work Effort Manager.</value>
|
||||
<value xml:lang="it">Operazioni limitate in cancellazione nelle gestione impegni di lavoro.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.WORKEFFORTMGR_ROLE_UPDATE">
|
||||
<value xml:lang="en">Limited Update operations in the Work Effort Manager.</value>
|
||||
<value xml:lang="it">Operazioni limitate in aggiornamento nelle gestione impegni di lavoro.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.WORKEFFORTMGR_ROLE_VIEW">
|
||||
<value xml:lang="en">Limited View operations in the Work Effort Manager.</value>
|
||||
<value xml:lang="it">Operazioni limitate in visualizzazione nelle gestione impegni di lavoro.</value>
|
||||
</property>
|
||||
<property key="SecurityPermission.description.WORKEFFORTMGR_UPDATE">
|
||||
<value xml:lang="en">Update operations in the Work Effort Manager.</value>
|
||||
<value xml:lang="es">Operaciones de Actualización en el Administrador de Esfuerzos de Trabajo.</value>
|
||||
|
||||
@@ -194,6 +194,10 @@
|
||||
<value xml:lang="it">Importa i Dati da XML Readers</value>
|
||||
<value xml:lang="th">นำเข้าข้อมูลผู้ตรวจ</value>
|
||||
</property>
|
||||
<property key="PageTitleEntityEoModelBundle">
|
||||
<value xml:lang="en">Entity Eo Model Bundle</value>
|
||||
<value xml:lang="it">Entità Eo Model Bundle</value>
|
||||
</property>
|
||||
<property key="PageTitleEntitySQLProcessor">
|
||||
<value xml:lang="en">Entity SQL Processor</value>
|
||||
<value xml:lang="fr">Processeur d'entités SQL</value>
|
||||
@@ -1502,6 +1506,10 @@
|
||||
<value xml:lang="fr">La traduction ${key} existe déjà dans le fichier ${fileName}</value>
|
||||
<value xml:lang="it">La label ${key} esiste già nel file ${fileName}</value>
|
||||
</property>
|
||||
<property key="WebtoolsLabelManagerOnlyNotUsedLabels">
|
||||
<value xml:lang="en">Only Not Used Labels</value>
|
||||
<value xml:lang="it">Solo traduzioni non usate</value>
|
||||
</property>
|
||||
<property key="WebtoolsLabelManagerOnlyMissingTranslations">
|
||||
<value xml:lang="en">Only Missing Translations</value>
|
||||
<value xml:lang="it">Solo traduzioni mancanti</value>
|
||||
|
||||
@@ -141,4 +141,17 @@ under the License.
|
||||
<attribute name="localeValues" type="List" mode="IN" optional="true"/>
|
||||
<attribute name="localeComments" type="List" mode="IN" optional="true"/>
|
||||
</service>
|
||||
<service name="updateAndSaveLabelKey" engine="java" location="org.ofbiz.webtools.labelmanager.LabelManagerFactory"
|
||||
invoke="updateAndSaveLabelKey" auth="true" use-transaction="false">
|
||||
<description>Update Label Key</description>
|
||||
<attribute name="key" type="String" mode="IN" optional="true"/>
|
||||
<attribute name="keyComment" type="String" mode="IN" optional="true"/>
|
||||
<attribute name="update_label" type="String" mode="IN" optional="false"/>
|
||||
<attribute name="fileName" type="String" mode="IN" optional="false"/>
|
||||
<attribute name="confirm" type="String" mode="IN" optional="true"/>
|
||||
<attribute name="removeLabel" type="String" mode="IN" optional="true"/>
|
||||
<attribute name="localeNames" type="List" mode="IN" optional="true"/>
|
||||
<attribute name="localeValues" type="List" mode="IN" optional="true"/>
|
||||
<attribute name="localeComments" type="List" mode="IN" optional="true"/>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
@@ -38,8 +38,11 @@ import org.ofbiz.base.util.UtilProperties;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.base.util.cache.UtilCache;
|
||||
import org.ofbiz.entity.GenericDelegator;
|
||||
import org.ofbiz.entity.model.ModelReader;
|
||||
import org.ofbiz.service.DispatchContext;
|
||||
import org.ofbiz.service.GenericServiceException;
|
||||
import org.ofbiz.service.LocalDispatcher;
|
||||
import org.ofbiz.service.ServiceUtil;
|
||||
import org.w3c.dom.Comment;
|
||||
import org.w3c.dom.Document;
|
||||
@@ -63,7 +66,7 @@ public class LabelManagerFactory {
|
||||
protected static Map<String, Map<String, Integer>> references = null;
|
||||
protected static int duplicatedLocalesLabels = 0;
|
||||
|
||||
protected static String delegatorName;
|
||||
protected static GenericDelegator delegator;
|
||||
protected static ModelReader entityModelReader;
|
||||
protected static DispatchContext dispatchContext;
|
||||
|
||||
@@ -73,7 +76,7 @@ public class LabelManagerFactory {
|
||||
}
|
||||
|
||||
LabelManagerFactory lmf = labelManagerFactoryCache.get(delegatorName);
|
||||
|
||||
|
||||
if (lmf == null) {
|
||||
lmf = new LabelManagerFactory(delegatorName);
|
||||
labelManagerFactoryCache.put(delegatorName, lmf);
|
||||
@@ -82,10 +85,9 @@ public class LabelManagerFactory {
|
||||
}
|
||||
|
||||
protected LabelManagerFactory(String delegatorName) throws GeneralException {
|
||||
LabelManagerFactory.delegatorName = delegatorName;
|
||||
LabelManagerFactory.entityModelReader = ModelReader.getModelReader(delegatorName);
|
||||
LabelManagerFactory.dispatchContext = new DispatchContext("LabelManagerDispCtx", null, this.getClass().getClassLoader(), null);
|
||||
|
||||
delegator = GenericDelegator.getGenericDelegator(delegatorName);
|
||||
entityModelReader = ModelReader.getModelReader(delegatorName);
|
||||
dispatchContext = new DispatchContext("LabelManagerFactoryDispCtx", null, this.getClass().getClassLoader(), null);
|
||||
prepareAll();
|
||||
}
|
||||
|
||||
@@ -99,53 +101,63 @@ public class LabelManagerFactory {
|
||||
int duplicatedLocales = 0;
|
||||
|
||||
try {
|
||||
boolean sharkComponent = false;
|
||||
Collection<ComponentConfig> componentConfigs = ComponentConfig.getAllComponents();
|
||||
|
||||
for (ComponentConfig componentConfig: componentConfigs) {
|
||||
String componentName = componentConfig.getComponentName();
|
||||
List<File> resourceFiles = FileUtil.findXmlFiles(componentConfig.getRootLocation(), null, "resource", null);
|
||||
boolean cycle = true;
|
||||
while (cycle) {
|
||||
for (File resourceFile: resourceFiles) {
|
||||
String fileName = resourceFile.getName();
|
||||
Document resourceDocument = UtilXml.readXmlDocument(resourceFile.toURI().toURL());
|
||||
Element resourceElem = resourceDocument.getDocumentElement();
|
||||
String labelKeyComment = "";
|
||||
|
||||
for (File resourceFile: resourceFiles) {
|
||||
String fileName = resourceFile.getName();
|
||||
Document resourceDocument = UtilXml.readXmlDocument(resourceFile.toURI().toURL());
|
||||
Element resourceElem = resourceDocument.getDocumentElement();
|
||||
String labelKeyComment = "";
|
||||
for (Node propertyNode: UtilXml.childNodeList(resourceElem.getFirstChild())) {
|
||||
if (propertyNode instanceof Element) {
|
||||
Element propertyElem = (Element)propertyNode;
|
||||
String labelKey = StringUtil.htmlSpecialChars(propertyElem.getAttribute("key"), true, true, false);
|
||||
String labelComment = "";
|
||||
|
||||
for (Node propertyNode: UtilXml.childNodeList(resourceElem.getFirstChild())) {
|
||||
if (propertyNode instanceof Element) {
|
||||
Element propertyElem = (Element)propertyNode;
|
||||
String labelKey = StringUtil.htmlSpecialChars(propertyElem.getAttribute("key"), true, true, false);
|
||||
String labelComment = "";
|
||||
for (Node valueNode: UtilXml.childNodeList(propertyElem.getFirstChild())) {
|
||||
if (valueNode instanceof Element) {
|
||||
Element valueElem = (Element)valueNode;
|
||||
String localeName = valueElem.getAttribute("xml:lang");
|
||||
String labelValue = StringUtil.htmlSpecialChars(UtilXml.nodeValue(valueElem.getFirstChild()), true, true, false);
|
||||
LabelInfo label = (LabelInfo)labels.get(labelKey + keySeparator + fileName);
|
||||
|
||||
for (Node valueNode: UtilXml.childNodeList(propertyElem.getFirstChild())) {
|
||||
if (valueNode instanceof Element) {
|
||||
Element valueElem = (Element)valueNode;
|
||||
String localeName = valueElem.getAttribute("xml:lang");
|
||||
String labelValue = StringUtil.htmlSpecialChars(UtilXml.nodeValue(valueElem.getFirstChild()), true, true, false);
|
||||
LabelInfo label = (LabelInfo)labels.get(labelKey + keySeparator + fileName);
|
||||
|
||||
if (UtilValidate.isEmpty(label)) {
|
||||
label = new LabelInfo(labelKey, labelKeyComment, fileName, componentName, localeName, labelValue, labelComment);
|
||||
labels.put(labelKey + keySeparator + fileName, label);
|
||||
} else {
|
||||
if (label.setLabelValue(localeName, labelValue, labelComment, false)) {
|
||||
duplicatedLocales++;
|
||||
if (UtilValidate.isEmpty(label)) {
|
||||
label = new LabelInfo(labelKey, labelKeyComment, fileName, componentName, localeName, labelValue, labelComment);
|
||||
labels.put(labelKey + keySeparator + fileName, label);
|
||||
} else {
|
||||
if (label.setLabelValue(localeName, labelValue, labelComment, false)) {
|
||||
duplicatedLocales++;
|
||||
}
|
||||
}
|
||||
localesFound.add(localeName);
|
||||
componentNamesFound.add(componentName);
|
||||
fileNamesFound.put(fileName, resourceFile.toURI().toString());
|
||||
fileComponent.put(fileName, componentName);
|
||||
labelComment = "";
|
||||
} else if (valueNode instanceof Comment) {
|
||||
labelComment = labelComment + StringUtil.htmlSpecialChars(valueNode.getNodeValue(), true, true, false);
|
||||
}
|
||||
localesFound.add(localeName);
|
||||
componentNamesFound.add(componentName);
|
||||
fileNamesFound.put(fileName, resourceFile.toURI().toString());
|
||||
fileComponent.put(fileName, componentName);
|
||||
labelComment = "";
|
||||
} else if (valueNode instanceof Comment) {
|
||||
labelComment = labelComment + StringUtil.htmlSpecialChars(valueNode.getNodeValue(), true, true, false);
|
||||
}
|
||||
labelKeyComment = "";
|
||||
} else if (propertyNode instanceof Comment) {
|
||||
labelKeyComment = labelKeyComment + StringUtil.htmlSpecialChars(propertyNode.getNodeValue(), true, true, false);
|
||||
}
|
||||
labelKeyComment = "";
|
||||
} else if (propertyNode instanceof Comment) {
|
||||
labelKeyComment = labelKeyComment + StringUtil.htmlSpecialChars(propertyNode.getNodeValue(), true, true, false);
|
||||
}
|
||||
}
|
||||
if (!sharkComponent) {
|
||||
componentName = "shark";
|
||||
resourceFiles = FileUtil.findXmlFiles(System.getProperty("ofbiz.home") + "/specialpurpose/shark", null, "resource", null);
|
||||
sharkComponent = true;
|
||||
} else {
|
||||
cycle = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -159,6 +171,18 @@ public class LabelManagerFactory {
|
||||
duplicatedLocalesLabels = duplicatedLocales;
|
||||
}
|
||||
|
||||
public static GenericDelegator getDelegator() {
|
||||
return delegator;
|
||||
}
|
||||
|
||||
public static ModelReader getModelReader() {
|
||||
return entityModelReader;
|
||||
}
|
||||
|
||||
public static DispatchContext getDispatchContext() {
|
||||
return dispatchContext;
|
||||
}
|
||||
|
||||
public static Map<String, LabelInfo> getLabels() {
|
||||
return labels;
|
||||
}
|
||||
@@ -186,39 +210,43 @@ public class LabelManagerFactory {
|
||||
public static Map<String, Map<String, Integer>> getReferences() {
|
||||
return references;
|
||||
}
|
||||
|
||||
|
||||
public static Set<String> getLabelsList() {
|
||||
return labels.keySet();
|
||||
}
|
||||
|
||||
|
||||
public static Set<String> getReferencesList() {
|
||||
return references.keySet();
|
||||
}
|
||||
|
||||
|
||||
public static int getLabelReferenceFile(String key) {
|
||||
int refFile = 0;
|
||||
boolean keyFound = false;
|
||||
|
||||
|
||||
if (key == null) {
|
||||
key = "";
|
||||
}
|
||||
|
||||
for (Map.Entry<String, String> e: fileNamesFound.entrySet()) {
|
||||
String keyToSearch = key + keySeparator + e.getKey();
|
||||
|
||||
|
||||
if (labels.containsKey(keyToSearch)) {
|
||||
keyFound = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!keyFound) {
|
||||
Map<String, Integer> reference = references.get(key);
|
||||
|
||||
|
||||
if (UtilValidate.isNotEmpty(reference)) {
|
||||
refFile = reference.size();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return refFile;
|
||||
}
|
||||
|
||||
|
||||
public static int getDuplicatedLocalesLabels() {
|
||||
return duplicatedLocalesLabels;
|
||||
}
|
||||
@@ -266,6 +294,35 @@ public class LabelManagerFactory {
|
||||
return ServiceUtil.returnSuccess();
|
||||
}
|
||||
|
||||
public static Map<String, Object> updateAndSaveLabelKey(DispatchContext dctx, Map<String, ? extends Object> context) {
|
||||
String key = (String)context.get("key");
|
||||
String keyComment = (String)context.get("keyComment");
|
||||
String update_label = (String)context.get("update_label");
|
||||
String fileName = (String)context.get("fileName");
|
||||
String confirm = (String)context.get("confirm");
|
||||
String removeLabel = (String)context.get("removeLabel");
|
||||
List<String> localeNames = UtilGenerics.cast(context.get("localeNames"));
|
||||
List<String> localeValues = UtilGenerics.cast(context.get("localeValues"));
|
||||
List<String> localeComments = UtilGenerics.cast(context.get("localeComments"));
|
||||
Locale locale = (Locale) context.get("locale");
|
||||
LocalDispatcher dispatcher = dctx.getDispatcher();
|
||||
|
||||
Map<String, Object> contextInput = UtilMisc.toMap("key", key, "keyComment", keyComment, "update_label", update_label,
|
||||
"fileName", fileName, "confirm", confirm, "removeLabel", removeLabel,
|
||||
"localeNames", localeNames, "localeValues", localeValues, "localeComments", localeComments);
|
||||
try {
|
||||
Map<String, Object> updatedKey = dispatcher.runSync("updateLabelKey", contextInput);
|
||||
|
||||
if (ServiceUtil.isError(updatedKey)) {
|
||||
return updatedKey;
|
||||
} else {
|
||||
return dispatcher.runSync("saveLabelsToXmlFile", UtilMisc.toMap("fileName", fileName));
|
||||
}
|
||||
} catch (GenericServiceException e) {
|
||||
return ServiceUtil.returnError("error on saving label key :" + key);
|
||||
}
|
||||
}
|
||||
|
||||
private static int updateLabelValue(List<String> localeNames, List<String> localeValues, List<String> localeComments, LabelInfo label, String key, String keyComment, String fileName) {
|
||||
int notEmptyLabels = 0;
|
||||
int i = 0;
|
||||
@@ -295,3 +352,4 @@ public class LabelManagerFactory {
|
||||
return notEmptyLabels;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
@@ -23,7 +23,12 @@ import java.io.IOException;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.TreeMap;
|
||||
import java.util.TreeSet;
|
||||
|
||||
import javolution.util.FastList;
|
||||
import javolution.util.FastMap;
|
||||
|
||||
import org.ofbiz.base.util.Debug;
|
||||
import org.ofbiz.base.util.FileUtil;
|
||||
@@ -31,7 +36,14 @@ import org.ofbiz.base.util.GeneralException;
|
||||
import org.ofbiz.base.util.UtilFormatOut;
|
||||
import org.ofbiz.base.util.UtilValidate;
|
||||
import org.ofbiz.base.util.UtilXml;
|
||||
import org.ofbiz.entity.GenericDelegator;
|
||||
import org.ofbiz.entity.GenericEntityException;
|
||||
import org.ofbiz.entity.GenericValue;
|
||||
import org.ofbiz.entity.condition.EntityComparisonOperator;
|
||||
import org.ofbiz.entity.condition.EntityCondition;
|
||||
import org.ofbiz.entity.condition.EntityConditionList;
|
||||
import org.ofbiz.entity.condition.EntityExpr;
|
||||
import org.ofbiz.entity.condition.EntityOperator;
|
||||
import org.ofbiz.entity.model.ModelEntity;
|
||||
import org.ofbiz.entity.model.ModelField;
|
||||
import org.ofbiz.service.ModelParam;
|
||||
@@ -46,46 +58,55 @@ public class LabelReferences {
|
||||
private static final String uiLabelMapInLayoutSettings = "uiLabelMap.";
|
||||
private static final String formFieldTitle = "FormFieldTitle_";
|
||||
private static final String getMessage = "UtilProperties.getMessage";
|
||||
private static final String getEntityLabel = ".get(\"";
|
||||
private static final String startExpression = "${";
|
||||
private static final String endExpression = "}";
|
||||
private static Map<String, Map<String, Integer>> references = null;
|
||||
|
||||
|
||||
public static Map<String, Map<String, Integer>> getLabelReferences() throws GeneralException {
|
||||
references = new TreeMap<String, Map<String, Integer>>();
|
||||
|
||||
|
||||
// get labels from FTL files
|
||||
getLabelsFromFtlFiles();
|
||||
|
||||
|
||||
// get labels from java files
|
||||
getLabelsFromJavaFiles();
|
||||
|
||||
|
||||
// get labels from simple method files
|
||||
getLabelsFromSimpleMethodFiles();
|
||||
|
||||
|
||||
// get labels from form widgets files
|
||||
getLabelsFromFormWidgets();
|
||||
|
||||
|
||||
// get labels from screen widgets files
|
||||
getLabelsFromScreenWidgets();
|
||||
|
||||
|
||||
// get labels from menu widgets files
|
||||
getLabelsFromMenuWidgets();
|
||||
|
||||
|
||||
// get labels from tree widgets files
|
||||
getLabelsFromTreeWidgets();
|
||||
|
||||
// get labels from Ofbiz components files
|
||||
getLabelsFromOfbizComponents();
|
||||
|
||||
return references;
|
||||
}
|
||||
|
||||
|
||||
private static void getLabelsFromFtlFiles() throws GeneralException {
|
||||
try {
|
||||
List<File> ftlFiles = FileUtil.findFiles("ftl", null, null, uiLabelMap);
|
||||
|
||||
|
||||
for (File ftlFile: ftlFiles) {
|
||||
String fileNameURI = ftlFile.toURI().toString();
|
||||
String inFile = FileUtil.readString("UTF-8", ftlFile);
|
||||
int pos = 0;
|
||||
while (pos >= 0){
|
||||
pos = inFile.indexOf(uiLabelMap, pos);
|
||||
|
||||
|
||||
if (pos >= 0) {
|
||||
int endLabel = inFile.indexOf("}", pos);
|
||||
|
||||
|
||||
if (endLabel >= 0) {
|
||||
String labelKey = inFile.substring(pos + uiLabelMap.length(), endLabel);
|
||||
setLabelReference(labelKey, fileNameURI);
|
||||
@@ -96,15 +117,22 @@ public class LabelReferences {
|
||||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
ftlFiles = FileUtil.findFiles("ftl", null, null, getEntityLabel);
|
||||
|
||||
for (File ftlFile: ftlFiles) {
|
||||
getFtlEntityLabels(ftlFile, getEntityLabel);
|
||||
}
|
||||
*/
|
||||
} catch(IOException ioe) {
|
||||
throw new GeneralException(ioe.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void getLabelsFromJavaFiles() throws GeneralException {
|
||||
try {
|
||||
List<File> javaFiles = FileUtil.findFiles("java", null, null, getMessage);
|
||||
|
||||
|
||||
for (File javaFile: javaFiles) {
|
||||
getJavaLabels(javaFile, getMessage);
|
||||
}
|
||||
@@ -112,7 +140,7 @@ public class LabelReferences {
|
||||
throw new GeneralException(ioe.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void getJavaLabels(File javaFile, String message) throws GeneralException {
|
||||
try {
|
||||
String fileNameURI = javaFile.toURI().toString();
|
||||
@@ -120,32 +148,32 @@ public class LabelReferences {
|
||||
int pos = 0;
|
||||
while (pos >= 0){
|
||||
pos = inFile.indexOf(message, pos);
|
||||
|
||||
|
||||
if (pos >= 0) {
|
||||
int offSet = (pos + 200 > inFile.length()) ? inFile.length() : pos + 200;
|
||||
String searchComma = inFile.substring(pos, offSet);
|
||||
int firstComma = searchComma.indexOf(",\"", 0);
|
||||
|
||||
|
||||
if (firstComma < 0) {
|
||||
firstComma = searchComma.indexOf(", \"", 0);
|
||||
pos = pos + firstComma + 3;
|
||||
} else {
|
||||
pos = pos + firstComma + 2;
|
||||
}
|
||||
|
||||
|
||||
if (firstComma >= 0) {
|
||||
offSet = (pos + 100 > inFile.length()) ? inFile.length() : pos + 100;
|
||||
searchComma = inFile.substring(pos, offSet);
|
||||
int secondComma = searchComma.indexOf("\",", 0);
|
||||
int endString = pos;
|
||||
|
||||
|
||||
if (secondComma < 0) {
|
||||
secondComma = searchComma.indexOf("\" ,", 0);
|
||||
endString = endString + secondComma + 1;
|
||||
} else {
|
||||
endString = endString + secondComma;
|
||||
}
|
||||
|
||||
|
||||
if (secondComma >= 0) {
|
||||
setLabelReference(inFile.substring(pos, endString), fileNameURI);
|
||||
pos = endString;
|
||||
@@ -158,16 +186,50 @@ public class LabelReferences {
|
||||
throw new GeneralException(ioe.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void getFtlEntityLabels(File javaFile, String message) throws GeneralException {
|
||||
try {
|
||||
String fileNameURI = javaFile.toURI().toString();
|
||||
String inFile = FileUtil.readString("UTF-8", javaFile);
|
||||
int pos = 0;
|
||||
while (pos >= 0){
|
||||
pos = inFile.indexOf(message, pos);
|
||||
|
||||
if (pos >= 0) {
|
||||
int offSet = (pos + 200 > inFile.length()) ? inFile.length() : pos + 200;
|
||||
String searchDoubleQuote = inFile.substring(pos + 6, offSet);
|
||||
int firstComma = searchDoubleQuote.indexOf("\"", 0);
|
||||
|
||||
if (firstComma >= 0) {
|
||||
offSet = (firstComma + 100 > inFile.length()) ? inFile.length() : firstComma + 100;
|
||||
String searchLocale = searchDoubleQuote.substring(firstComma, offSet);
|
||||
int endMethodName = searchLocale.indexOf(", locale)", 0);
|
||||
|
||||
if (endMethodName < 0) {
|
||||
endMethodName = searchLocale.indexOf(",locale)", 0);
|
||||
}
|
||||
if (endMethodName >= 0) {
|
||||
setLabelReference(inFile.substring(pos + 6, pos + 6 + firstComma), fileNameURI);
|
||||
pos = pos + 6;
|
||||
}
|
||||
}
|
||||
pos += 1;
|
||||
}
|
||||
}
|
||||
} catch(IOException ioe) {
|
||||
throw new GeneralException(ioe.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
private static void getLabelsFromSimpleMethodFiles() throws GeneralException {
|
||||
try {
|
||||
List<File> simpleMethodsFiles = FileUtil.findXmlFiles(null, null, "simple-methods", "http://ofbiz.apache.org/dtds/simple-methods.xsd");
|
||||
|
||||
|
||||
for (File simpleMethodFile: simpleMethodsFiles) {
|
||||
String fileNameURI = simpleMethodFile.toURI().toString();
|
||||
Document simpleMethodDocument = UtilXml.readXmlDocument(simpleMethodFile.toURI().toURL());
|
||||
Element rootElem = simpleMethodDocument.getDocumentElement();
|
||||
|
||||
|
||||
for (Element elem1: UtilXml.childElementList(rootElem)) {
|
||||
checkSimpleMethodTag(elem1, fileNameURI);
|
||||
for (Element elem2: UtilXml.childElementList(elem1)) {
|
||||
@@ -193,41 +255,54 @@ public class LabelReferences {
|
||||
throw new GeneralException(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void checkSimpleMethodTag(Element elem, String fileNameURI) throws GeneralException {
|
||||
// fail-property labels
|
||||
if ("fail-property".equals(elem.getTagName())) {
|
||||
getFailPropertyTag(elem, fileNameURI);
|
||||
// property-to-field labels
|
||||
} else if ("property-to-field".equals(elem.getTagName())) {
|
||||
getPropertyToFieldTag(elem, fileNameURI);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void getLabelsFromFormWidgets() throws GeneralException {
|
||||
try {
|
||||
List<File> formsFiles = FileUtil.findXmlFiles(null, null, "forms", "http://ofbiz.apache.org/dtds/widget-form.xsd");
|
||||
|
||||
|
||||
for (File formsFile: formsFiles) {
|
||||
Map<String, String> autoFieldsEntity = FastMap.newInstance();
|
||||
Map<String, String> autoFieldsService = FastMap.newInstance();
|
||||
String fileNameURI = formsFile.toURI().toString();
|
||||
Document formDocument = UtilXml.readXmlDocument(formsFile.toURI().toURL());
|
||||
Element rootElem = formDocument.getDocumentElement();
|
||||
|
||||
|
||||
for (Element elem1: UtilXml.childElementList(rootElem)) {
|
||||
checkFormsTag(elem1, fileNameURI);
|
||||
checkFormsTag(elem1, fileNameURI, autoFieldsEntity, autoFieldsService);
|
||||
for (Element elem2: UtilXml.childElementList(elem1)) {
|
||||
checkFormsTag(elem2, fileNameURI);
|
||||
checkFormsTag(elem2, fileNameURI, autoFieldsEntity, autoFieldsService);
|
||||
for (Element elem3: UtilXml.childElementList(elem2)) {
|
||||
checkFormsTag(elem3, fileNameURI);
|
||||
checkFormsTag(elem3, fileNameURI, autoFieldsEntity, autoFieldsService);
|
||||
for (Element elem4: UtilXml.childElementList(elem3)) {
|
||||
checkFormsTag(elem4, fileNameURI);
|
||||
checkFormsTag(elem4, fileNameURI, autoFieldsEntity, autoFieldsService);
|
||||
for (Element elem5: UtilXml.childElementList(elem4)) {
|
||||
checkFormsTag(elem5, fileNameURI);
|
||||
checkFormsTag(elem5, fileNameURI, autoFieldsEntity, autoFieldsService);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (Map.Entry<String, String> entry: autoFieldsEntity.entrySet()) {
|
||||
if ("N".equals(entry.getValue())) {
|
||||
String labelKey = formFieldTitle + entry.getKey();
|
||||
setLabelReference(labelKey, fileNameURI);
|
||||
}
|
||||
}
|
||||
|
||||
for (Map.Entry<String, String> entry: autoFieldsService.entrySet()) {
|
||||
if ("N".equals(entry.getValue())) {
|
||||
String labelKey = formFieldTitle + entry.getKey();
|
||||
setLabelReference(labelKey, fileNameURI);
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch(IOException ioe) {
|
||||
throw new GeneralException(ioe.getMessage());
|
||||
@@ -235,17 +310,17 @@ public class LabelReferences {
|
||||
throw new GeneralException(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
private static void checkFormsTag(Element elem, String fileNameURI) throws GeneralException {
|
||||
|
||||
private static void checkFormsTag(Element elem, String fileNameURI, Map<String, String> autoFieldsEntity, Map<String, String> autoFieldsService) throws GeneralException {
|
||||
// auto fields entity labels
|
||||
if ("auto-fields-entity".equals(elem.getTagName())) {
|
||||
getAutoFieldsEntityTag(elem, fileNameURI);
|
||||
getAutoFieldsEntityTag(elem, fileNameURI, autoFieldsEntity);
|
||||
// auto fields service labels
|
||||
} else if ("auto-fields-service".equals(elem.getTagName())) {
|
||||
getAutoFieldsServiceTag(elem, fileNameURI);
|
||||
getAutoFieldsServiceTag(elem, fileNameURI, autoFieldsService);
|
||||
// field labels
|
||||
} else if ("field".equals(elem.getTagName())) {
|
||||
getFieldTag(elem, fileNameURI);
|
||||
getFieldTag(elem, fileNameURI, autoFieldsEntity, autoFieldsService);
|
||||
// option description labels
|
||||
} else if ("option".equals(elem.getTagName())) {
|
||||
getOptionTag(elem, fileNameURI);
|
||||
@@ -253,18 +328,24 @@ public class LabelReferences {
|
||||
} else if ("hyperlink".equals(elem.getTagName()) ||
|
||||
"sub-hyperlink".equals(elem.getTagName())) {
|
||||
getHyperlinkTag(elem, fileNameURI);
|
||||
// entity-options labels
|
||||
} else if ("entity-options".equals(elem.getTagName())) {
|
||||
getEntityOptionsTag(elem, fileNameURI);
|
||||
// display-entity labels
|
||||
} else if ("display-entity".equals(elem.getTagName())) {
|
||||
getDisplayEntityTag(elem, fileNameURI);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void getLabelsFromScreenWidgets() throws GeneralException {
|
||||
try {
|
||||
List<File> screensFiles = FileUtil.findXmlFiles(null, null, "screens", "http://ofbiz.apache.org/dtds/widget-screen.xsd");
|
||||
|
||||
|
||||
for (File screensFile: screensFiles) {
|
||||
String fileNameURI = screensFile.toURI().toString();
|
||||
Document screenDocument = UtilXml.readXmlDocument(screensFile.toURI().toURL());
|
||||
Element rootElem = screenDocument.getDocumentElement();
|
||||
|
||||
|
||||
for (Element elem1: UtilXml.childElementList(rootElem)) {
|
||||
checkScreensTag(elem1, fileNameURI);
|
||||
for (Element elem2: UtilXml.childElementList(elem1)) {
|
||||
@@ -314,7 +395,7 @@ public class LabelReferences {
|
||||
throw new GeneralException(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void checkScreensTag(Element elem, String fileNameURI) {
|
||||
// set labels
|
||||
if ("set".equals(elem.getTagName())) {
|
||||
@@ -330,16 +411,16 @@ public class LabelReferences {
|
||||
getLinkTag(elem, fileNameURI);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void getLabelsFromMenuWidgets() throws GeneralException {
|
||||
try {
|
||||
List<File> menusFiles = FileUtil.findXmlFiles(null, null, "menus", "http://ofbiz.apache.org/dtds/widget-menu.xsd");
|
||||
|
||||
|
||||
for (File menuFiles: menusFiles) {
|
||||
String fileNameURI = menuFiles.toURI().toString();
|
||||
Document menuDocument = UtilXml.readXmlDocument(menuFiles.toURI().toURL());
|
||||
Element rootElem = menuDocument.getDocumentElement();
|
||||
|
||||
|
||||
for (Element elem1: UtilXml.childElementList(rootElem)) {
|
||||
checkMenuTag(elem1, fileNameURI);
|
||||
for (Element elem2: UtilXml.childElementList(elem1)) {
|
||||
@@ -362,23 +443,92 @@ public class LabelReferences {
|
||||
throw new GeneralException(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void checkMenuTag(Element elem, String fileNameURI) {
|
||||
// menu-item labels
|
||||
if ("menu-item".equals(elem.getTagName())) {
|
||||
getMenuItemTag(elem, fileNameURI);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void getLabelsFromTreeWidgets() throws GeneralException {
|
||||
try {
|
||||
List<File> treeFiles = FileUtil.findXmlFiles(null, null, "menus", "http://ofbiz.apache.org/dtds/widget-tree.xsd");
|
||||
|
||||
for (File treeFile: treeFiles) {
|
||||
String fileNameURI = treeFile.toURI().toString();
|
||||
Document menuDocument = UtilXml.readXmlDocument(treeFile.toURI().toURL());
|
||||
Element rootElem = menuDocument.getDocumentElement();
|
||||
|
||||
for (Element elem1: UtilXml.childElementList(rootElem)) {
|
||||
checkTreeTag(elem1, fileNameURI);
|
||||
for (Element elem2: UtilXml.childElementList(elem1)) {
|
||||
checkTreeTag(elem2, fileNameURI);
|
||||
for (Element elem3: UtilXml.childElementList(elem2)) {
|
||||
checkTreeTag(elem3, fileNameURI);
|
||||
for (Element elem4: UtilXml.childElementList(elem3)) {
|
||||
checkTreeTag(elem4, fileNameURI);
|
||||
for (Element elem5: UtilXml.childElementList(elem4)) {
|
||||
checkTreeTag(elem5, fileNameURI);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch(IOException ioe) {
|
||||
throw new GeneralException(ioe.getMessage());
|
||||
} catch(Exception e) {
|
||||
throw new GeneralException(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
private static void checkTreeTag(Element elem, String fileNameURI) {
|
||||
// link labels
|
||||
if ("link".equals(elem.getTagName())) {
|
||||
getLinkTag(elem, fileNameURI);
|
||||
}
|
||||
}
|
||||
|
||||
private static void getLabelsFromOfbizComponents() throws GeneralException {
|
||||
try {
|
||||
List<File> componentsFiles = FileUtil.findXmlFiles(null, null, "ofbiz-component", "http://ofbiz.apache.org/dtds/ofbiz-component.xsd");
|
||||
|
||||
for (File componentFile: componentsFiles) {
|
||||
String fileNameURI = componentFile.toURI().toString();
|
||||
Document menuDocument = UtilXml.readXmlDocument(componentFile.toURI().toURL());
|
||||
Element rootElem = menuDocument.getDocumentElement();
|
||||
|
||||
for (Element elem1: UtilXml.childElementList(rootElem)) {
|
||||
checkOfbizComponentTag(elem1, fileNameURI);
|
||||
for (Element elem2: UtilXml.childElementList(elem1)) {
|
||||
checkOfbizComponentTag(elem2, fileNameURI);
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch(IOException ioe) {
|
||||
throw new GeneralException(ioe.getMessage());
|
||||
} catch(Exception e) {
|
||||
throw new GeneralException(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
private static void checkOfbizComponentTag(Element elem, String fileNameURI) {
|
||||
// webapp labels
|
||||
if ("webapp".equals(elem.getTagName())) {
|
||||
getWebappTag(elem, fileNameURI);
|
||||
}
|
||||
}
|
||||
|
||||
private static void setLabelReference(String labelKey, String fileNameURI) {
|
||||
Map<String, Integer> reference = references.get(labelKey);
|
||||
if (UtilValidate.isEmpty(reference)) {
|
||||
reference = new TreeMap<String, Integer>();
|
||||
reference.put(fileNameURI, new Integer(1));
|
||||
references.put(labelKey, reference);
|
||||
references.put(labelKey, reference);
|
||||
} else {
|
||||
Integer labelsInFile = reference.get(fileNameURI);
|
||||
|
||||
|
||||
if (UtilValidate.isEmpty(labelsInFile)) {
|
||||
labelsInFile = new Integer(1);
|
||||
}
|
||||
@@ -388,19 +538,19 @@ public class LabelReferences {
|
||||
reference.put(fileNameURI, labelsInFile);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static boolean getLabelFromTag(Element element, String fileNameURI, String attributeValue, String stringToSearch) {
|
||||
boolean stringFound = false;
|
||||
|
||||
|
||||
if (UtilValidate.isNotEmpty(attributeValue)) {
|
||||
int pos = 0;
|
||||
|
||||
|
||||
while (pos >= 0){
|
||||
pos = attributeValue.indexOf(stringToSearch, pos);
|
||||
|
||||
|
||||
if (pos >= 0) {
|
||||
int graph = attributeValue.indexOf("}", pos);
|
||||
|
||||
|
||||
if (graph >= 0) {
|
||||
String labelKey = attributeValue.substring(pos + stringToSearch.length(), graph);
|
||||
setLabelReference(labelKey, fileNameURI);
|
||||
@@ -413,12 +563,12 @@ public class LabelReferences {
|
||||
}
|
||||
return stringFound;
|
||||
}
|
||||
|
||||
|
||||
private static void getSetTag(Element element, String fileNameURI) {
|
||||
String setField = UtilFormatOut.checkNull(element.getAttribute("field"));
|
||||
String setValue = UtilFormatOut.checkNull(element.getAttribute("value"));
|
||||
String fromField = UtilFormatOut.checkNull(element.getAttribute("from-field"));
|
||||
|
||||
|
||||
if (UtilValidate.isNotEmpty(setField)) {
|
||||
if (UtilValidate.isNotEmpty(setValue) &&
|
||||
("applicationTitle".equals(setField) ||
|
||||
@@ -426,7 +576,7 @@ public class LabelReferences {
|
||||
"title".equals(setField))) {
|
||||
// set field with hardcoded labels
|
||||
if (!getLabelFromTag(element, fileNameURI, setValue, uiLabelMap)) {
|
||||
setLabelReference(setValue, fileNameURI);;
|
||||
setLabelReference(setValue, fileNameURI);
|
||||
}
|
||||
} else if (UtilValidate.isNotEmpty(fromField) &&
|
||||
("layoutSettings.companyName".equals(setField) ||
|
||||
@@ -441,71 +591,71 @@ public class LabelReferences {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void getScreenletTag(Element element, String fileNameURI) {
|
||||
String screenTitle = UtilFormatOut.checkNull(element.getAttribute("title"));
|
||||
|
||||
|
||||
if (UtilValidate.isNotEmpty(screenTitle)) {
|
||||
// screenlet title with hardcoded labels
|
||||
if (!getLabelFromTag(element, fileNameURI, screenTitle, uiLabelMap)) {
|
||||
setLabelReference(screenTitle, fileNameURI);;
|
||||
setLabelReference(screenTitle, fileNameURI);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static void getAutoFieldsEntityTag(Element element, String fileNameURI) throws GeneralException {
|
||||
|
||||
private static void getAutoFieldsEntityTag(Element element, String fileNameURI, Map<String, String> autoFieldsEntity) throws GeneralException {
|
||||
try {
|
||||
String entityName = UtilFormatOut.checkNull(element.getAttribute("entity-name"));
|
||||
String defaultFieldType = UtilFormatOut.checkNull(element.getAttribute("default-field-type"));
|
||||
|
||||
|
||||
if (UtilValidate.isNotEmpty(entityName) && UtilValidate.isNotEmpty(defaultFieldType) && (!("hidden".equals(defaultFieldType)))) {
|
||||
ModelEntity entity = LabelManagerFactory.entityModelReader.getModelEntity(entityName);
|
||||
|
||||
ModelEntity entity = LabelManagerFactory.getModelReader().getModelEntity(entityName);
|
||||
|
||||
for (Iterator<ModelField> f = entity.getFieldsIterator(); f.hasNext();) {
|
||||
ModelField field = f.next();
|
||||
setLabelReference(formFieldTitle + field.getName(), fileNameURI);
|
||||
autoFieldsEntity.put(field.getName(), "N");
|
||||
}
|
||||
}
|
||||
} catch(Exception e) {
|
||||
throw new GeneralException(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
private static void getAutoFieldsServiceTag(Element element, String fileNameURI) throws GeneralException {
|
||||
|
||||
private static void getAutoFieldsServiceTag(Element element, String fileNameURI, Map<String, String> autoFieldsService) throws GeneralException {
|
||||
try {
|
||||
String serviceName = UtilFormatOut.checkNull(element.getAttribute("service-name"));
|
||||
String defaultFieldType = UtilFormatOut.checkNull(element.getAttribute("default-field-type"));
|
||||
|
||||
|
||||
if (UtilValidate.isNotEmpty(serviceName) && (!("hidden".equals(defaultFieldType)))) {
|
||||
ModelService modelService = LabelManagerFactory.dispatchContext.getModelService(serviceName);
|
||||
ModelService modelService = LabelManagerFactory.getDispatchContext().getModelService(serviceName);
|
||||
List<ModelParam> modelParams = modelService.getInModelParamList();
|
||||
Iterator<ModelParam> modelParamIter = modelParams.iterator();
|
||||
|
||||
|
||||
while (modelParamIter.hasNext()) {
|
||||
ModelParam modelParam = (ModelParam) modelParamIter.next();
|
||||
// skip auto params that the service engine populates...
|
||||
if ("userLogin".equals(modelParam.name) || "locale".equals(modelParam.name) || "timeZone".equals(modelParam.name)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if (modelParam.formDisplay) {
|
||||
if (UtilValidate.isNotEmpty(modelParam.entityName) && UtilValidate.isNotEmpty(modelParam.fieldName)) {
|
||||
ModelEntity modelEntity;
|
||||
try {
|
||||
modelEntity = LabelManagerFactory.entityModelReader.getModelEntity(modelParam.entityName);
|
||||
|
||||
modelEntity = LabelManagerFactory.getModelReader().getModelEntity(modelParam.entityName);
|
||||
|
||||
if (modelEntity != null) {
|
||||
ModelField modelField = modelEntity.getField(modelParam.fieldName);
|
||||
|
||||
|
||||
if (modelField != null) {
|
||||
setLabelReference(formFieldTitle + modelField.getName(), fileNameURI);
|
||||
autoFieldsService.put(modelField.getName(), "N");
|
||||
}
|
||||
}
|
||||
} catch (GenericEntityException e) {
|
||||
Debug.logError(e, module);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
setLabelReference(formFieldTitle + modelParam.name, fileNameURI);
|
||||
}
|
||||
}
|
||||
@@ -514,25 +664,34 @@ public class LabelReferences {
|
||||
throw new GeneralException(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void getHyperlinkTag(Element element, String fileNameURI) {
|
||||
String hyperlinkDescription = UtilFormatOut.checkNull(element.getAttribute("description"));
|
||||
|
||||
|
||||
if (UtilValidate.isNotEmpty(hyperlinkDescription)) {
|
||||
// hyperlink description with hardcoded labels
|
||||
if (!getLabelFromTag(element, fileNameURI, hyperlinkDescription, uiLabelMap)) {
|
||||
setLabelReference(hyperlinkDescription, fileNameURI);;
|
||||
setLabelReference(hyperlinkDescription, fileNameURI);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static void getFieldTag(Element element, String fileNameURI) {
|
||||
String labelKey = UtilFormatOut.checkNull(element.getAttribute("name"));
|
||||
labelKey = formFieldTitle + labelKey;
|
||||
String fieldTitle = UtilFormatOut.checkNull(element.getAttribute("title"));
|
||||
String tooltip = UtilFormatOut.checkNull(element.getAttribute("tooltip"));
|
||||
boolean escludeField= false;
|
||||
|
||||
|
||||
private static void getFieldTag(Element element, String fileNameURI, Map<String, String> autoFieldsEntity, Map<String, String> autoFieldsService) {
|
||||
String fieldName = UtilFormatOut.checkNull(element.getAttribute("name"));
|
||||
String labelKey = formFieldTitle + fieldName;
|
||||
String fieldTitle = UtilFormatOut.checkNull(element.getAttribute("title"));
|
||||
String tooltip = UtilFormatOut.checkNull(element.getAttribute("tooltip"));
|
||||
|
||||
if (UtilValidate.isNotEmpty(autoFieldsEntity) && UtilValidate.isNotEmpty(autoFieldsEntity.get(fieldName))) {
|
||||
autoFieldsEntity.put(fieldName, "Y");
|
||||
}
|
||||
|
||||
if (UtilValidate.isNotEmpty(autoFieldsService) && UtilValidate.isNotEmpty(autoFieldsService.get(fieldName))) {
|
||||
autoFieldsService.put(fieldName, "Y");
|
||||
}
|
||||
|
||||
boolean escludeField = false;
|
||||
|
||||
for (Element fieldTypeElem: UtilXml.childElementList(element)) {
|
||||
if ("hidden".equals(fieldTypeElem.getTagName())) {
|
||||
escludeField = true;
|
||||
@@ -540,7 +699,7 @@ public class LabelReferences {
|
||||
escludeField = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!escludeField) {
|
||||
// field name labels
|
||||
if (UtilValidate.isEmpty(fieldTitle)) {
|
||||
@@ -548,88 +707,278 @@ public class LabelReferences {
|
||||
} else {
|
||||
// field title with hardcoded labels
|
||||
if (!getLabelFromTag(element, fileNameURI, fieldTitle, uiLabelMap)) {
|
||||
setLabelReference(fieldTitle, fileNameURI);;
|
||||
setLabelReference(fieldTitle, fileNameURI);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (UtilValidate.isNotEmpty(tooltip)) {
|
||||
// tooltip with hardcoded labels
|
||||
if (!getLabelFromTag(element, fileNameURI, tooltip, uiLabelMap)) {
|
||||
setLabelReference(tooltip, fileNameURI);;
|
||||
setLabelReference(tooltip, fileNameURI);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void getLabelTag(Element element, String fileNameURI) {
|
||||
String labelText = UtilFormatOut.checkNull(element.getAttribute("text"));
|
||||
String labelValue = UtilFormatOut.checkNull(UtilXml.elementValue(element));
|
||||
|
||||
|
||||
// label text labels
|
||||
if (UtilValidate.isNotEmpty(labelText)) {
|
||||
// label text with hardcoded labels
|
||||
if (!getLabelFromTag(element, fileNameURI, labelText, uiLabelMap)) {
|
||||
setLabelReference(labelText, fileNameURI);;
|
||||
setLabelReference(labelText, fileNameURI);
|
||||
}
|
||||
// label value labels
|
||||
} else if (UtilValidate.isNotEmpty(labelValue)) {
|
||||
// label value with hardcoded labels
|
||||
if (!getLabelFromTag(element, fileNameURI, labelValue, uiLabelMap)) {
|
||||
setLabelReference(labelValue, fileNameURI);;
|
||||
setLabelReference(labelValue, fileNameURI);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void getMenuItemTag(Element element, String fileNameURI) {
|
||||
String menuItemTitle = UtilFormatOut.checkNull(element.getAttribute("title"));
|
||||
|
||||
|
||||
if (UtilValidate.isNotEmpty(menuItemTitle)) {
|
||||
// menu item title with hardcoded labels
|
||||
if (!getLabelFromTag(element, fileNameURI, menuItemTitle, uiLabelMap)) {
|
||||
setLabelReference(menuItemTitle, fileNameURI);;
|
||||
setLabelReference(menuItemTitle, fileNameURI);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void getFailPropertyTag(Element element, String fileNameURI) {
|
||||
String propertyValue = UtilFormatOut.checkNull(element.getAttribute("property"));
|
||||
|
||||
|
||||
if (UtilValidate.isNotEmpty(propertyValue)) {
|
||||
// fail-property labels
|
||||
setLabelReference(propertyValue, fileNameURI);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void getOptionTag(Element element, String fileNameURI) {
|
||||
String description = UtilFormatOut.checkNull(element.getAttribute("description"));
|
||||
|
||||
|
||||
if (UtilValidate.isNotEmpty(description)) {
|
||||
// option description with hardcoded labels
|
||||
if (!getLabelFromTag(element, fileNameURI, description, uiLabelMap)) {
|
||||
setLabelReference(description, fileNameURI);;
|
||||
setLabelReference(description, fileNameURI);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void getLinkTag(Element element, String fileNameURI) {
|
||||
String linkText = UtilFormatOut.checkNull(element.getAttribute("text"));
|
||||
|
||||
|
||||
if (UtilValidate.isNotEmpty(linkText)) {
|
||||
// link text with hardcoded labels
|
||||
if (!getLabelFromTag(element, fileNameURI, linkText, uiLabelMap)) {
|
||||
setLabelReference(linkText, fileNameURI);;
|
||||
setLabelReference(linkText, fileNameURI);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static void getPropertyToFieldTag(Element element, String fileNameURI) {
|
||||
String property = UtilFormatOut.checkNull(element.getAttribute("property"));
|
||||
|
||||
private static void getWebappTag(Element element, String fileNameURI) {
|
||||
String title = UtilFormatOut.checkNull(element.getAttribute("title"));
|
||||
String appBarDisplay = UtilFormatOut.checkNull(element.getAttribute("app-bar-display"));
|
||||
|
||||
// property-to-field labels
|
||||
if (UtilValidate.isNotEmpty(property)) {
|
||||
setLabelReference(property, fileNameURI);
|
||||
// title labels
|
||||
if (UtilValidate.isNotEmpty(title) && UtilValidate.isNotEmpty(appBarDisplay) && "true".equalsIgnoreCase(appBarDisplay)) {
|
||||
setLabelReference(title, fileNameURI);
|
||||
}
|
||||
}
|
||||
|
||||
private static void getEntityOptionsTag(Element element, String fileNameURI) {
|
||||
String entityName = UtilFormatOut.checkNull(element.getAttribute("entity-name"));
|
||||
String description = UtilFormatOut.checkNull(element.getAttribute("description"));
|
||||
Set<String> fields = new TreeSet<String>();
|
||||
Set<String> pkFields = new TreeSet<String>();
|
||||
|
||||
try {
|
||||
|
||||
if (UtilValidate.isNotEmpty(entityName)) {
|
||||
GenericDelegator delegator = LabelManagerFactory.getDelegator();
|
||||
ModelEntity entity = delegator.getModelEntity(entityName);
|
||||
|
||||
if (UtilValidate.isNotEmpty(entity) && UtilValidate.isNotEmpty(entity.getDefaultResourceName())) {
|
||||
int pos = 0;
|
||||
while (pos >= 0){
|
||||
pos = description.indexOf(startExpression, pos);
|
||||
|
||||
if (pos >= 0) {
|
||||
int endLabel = description.indexOf(endExpression, pos);
|
||||
|
||||
if (endLabel >= 0) {
|
||||
String fieldName = description.substring(pos + startExpression.length(), endLabel);
|
||||
if (!fieldName.startsWith(uiLabelMapInLayoutSettings)) {
|
||||
for (Map.Entry<String, LabelInfo> e: LabelManagerFactory.getLabels().entrySet()) {
|
||||
String keyToSearch = entityName + "." + fieldName;
|
||||
if (e.getKey().startsWith(keyToSearch)) {
|
||||
fields.add(fieldName);
|
||||
}
|
||||
}
|
||||
}
|
||||
pos = endLabel;
|
||||
} else {
|
||||
pos = pos + startExpression.length();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Search primary keys of entity
|
||||
Iterator<ModelField> iter = entity.getPksIterator();
|
||||
while (iter != null && iter.hasNext()) {
|
||||
ModelField curField = iter.next();
|
||||
pkFields.add(curField.getName());
|
||||
}
|
||||
Iterator<String> fieldsIt = fields.iterator();
|
||||
while (fieldsIt != null && fieldsIt.hasNext()) {
|
||||
String fieldName = fieldsIt.next();
|
||||
List<EntityExpr> exprs = FastList.newInstance();
|
||||
for (Element entityConstraintElem: UtilXml.childElementList(element)) {
|
||||
if ("entity-constraint".equals(entityConstraintElem.getTagName())) {
|
||||
String constraintName = UtilFormatOut.checkNull(entityConstraintElem.getAttribute("name"));
|
||||
String constraintOperator = UtilFormatOut.checkNull(entityConstraintElem.getAttribute("operator"));
|
||||
String constraintValue = UtilFormatOut.checkNull(entityConstraintElem.getAttribute("value"));
|
||||
|
||||
EntityComparisonOperator operator = new EntityComparisonOperator(EntityOperator.ID_EQUALS, "=");
|
||||
if ("between".equals(constraintValue)) {
|
||||
operator = new EntityComparisonOperator(EntityOperator.ID_BETWEEN, "BETWEEN");
|
||||
} else if ("greater-equals".equals(constraintValue)) {
|
||||
operator = new EntityComparisonOperator(EntityOperator.ID_GREATER_THAN_EQUAL_TO, ">=");
|
||||
} else if ("greater".equals(constraintValue)) {
|
||||
operator = new EntityComparisonOperator(EntityOperator.ID_GREATER_THAN, ">");
|
||||
} else if ("in".equals(constraintValue)) {
|
||||
operator = new EntityComparisonOperator(EntityOperator.ID_IN, "IN");
|
||||
} else if ("less-equals".equals(constraintValue)) {
|
||||
operator = new EntityComparisonOperator(EntityOperator.ID_LESS_THAN_EQUAL_TO, "<=");
|
||||
} else if ("less".equals(constraintValue)) {
|
||||
operator = new EntityComparisonOperator(EntityOperator.ID_LESS_THAN, "<");
|
||||
} else if ("like".equals(constraintValue)) {
|
||||
operator = new EntityComparisonOperator(EntityOperator.ID_LIKE, "LIKE");
|
||||
} else if ("not-equals".equals(constraintValue)) {
|
||||
operator = new EntityComparisonOperator(EntityOperator.ID_NOT_EQUAL, "<>");
|
||||
}
|
||||
|
||||
exprs.add(EntityCondition.makeCondition(constraintName, operator, constraintValue));
|
||||
}
|
||||
}
|
||||
|
||||
EntityConditionList<EntityExpr> ecl = null;
|
||||
if (exprs.size() > 0) {
|
||||
ecl = EntityCondition.makeCondition(exprs, EntityOperator.AND);
|
||||
}
|
||||
|
||||
StringBuilder keyBuffer = new StringBuilder();
|
||||
keyBuffer.append(entityName);
|
||||
keyBuffer.append('.');
|
||||
keyBuffer.append(fieldName);
|
||||
List<GenericValue> entityRecords = delegator.findList(entityName, ecl, pkFields, null, null, false);
|
||||
|
||||
for (GenericValue entityRecord: entityRecords) {
|
||||
boolean pkFound = false;
|
||||
StringBuilder pkBuffer = new StringBuilder(keyBuffer.toString());
|
||||
Iterator <String> itPkFields = pkFields.iterator();
|
||||
while (itPkFields != null && itPkFields.hasNext()) {
|
||||
String pkField = itPkFields.next();
|
||||
Object pkFieldValue = entityRecord.get(pkField);
|
||||
|
||||
if (UtilValidate.isNotEmpty(pkFieldValue)) {
|
||||
pkBuffer.append('.');
|
||||
pkBuffer.append(pkFieldValue);
|
||||
pkFound = true;
|
||||
}
|
||||
}
|
||||
if (pkFound) {
|
||||
setLabelReference(pkBuffer.toString(), fileNameURI);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (GenericEntityException e) {
|
||||
Debug.logError(e, "Problem getting records from " + entityName, module);
|
||||
}
|
||||
}
|
||||
|
||||
private static void getDisplayEntityTag(Element element, String fileNameURI) {
|
||||
String entityName = UtilFormatOut.checkNull(element.getAttribute("entity-name"));
|
||||
String description = UtilFormatOut.checkNull(element.getAttribute("description"));
|
||||
Set<String> fields = new TreeSet<String>();
|
||||
Set<String> pkFields = new TreeSet<String>();
|
||||
|
||||
try {
|
||||
|
||||
if (UtilValidate.isNotEmpty(entityName)) {
|
||||
GenericDelegator delegator = LabelManagerFactory.getDelegator();
|
||||
ModelEntity entity = delegator.getModelEntity(entityName);
|
||||
|
||||
if (UtilValidate.isNotEmpty(entity) && UtilValidate.isNotEmpty(entity.getDefaultResourceName())) {
|
||||
int pos = 0;
|
||||
while (pos >= 0){
|
||||
pos = description.indexOf(startExpression, pos);
|
||||
|
||||
if (pos >= 0) {
|
||||
int endLabel = description.indexOf(endExpression, pos);
|
||||
|
||||
if (endLabel >= 0) {
|
||||
String fieldName = description.substring(pos + startExpression.length(), endLabel);
|
||||
if (!fieldName.startsWith(uiLabelMapInLayoutSettings)) {
|
||||
for (Map.Entry<String, LabelInfo> e: LabelManagerFactory.getLabels().entrySet()) {
|
||||
String keyToSearch = entityName + "." + fieldName;
|
||||
if (e.getKey().startsWith(keyToSearch)) {
|
||||
fields.add(fieldName);
|
||||
}
|
||||
}
|
||||
}
|
||||
pos = endLabel;
|
||||
} else {
|
||||
pos = pos + startExpression.length();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Search primary keys of entity
|
||||
Iterator<ModelField> iter = entity.getPksIterator();
|
||||
while (iter != null && iter.hasNext()) {
|
||||
ModelField curField = iter.next();
|
||||
pkFields.add(curField.getName());
|
||||
}
|
||||
Iterator<String> fieldsIt = fields.iterator();
|
||||
while (fieldsIt != null && fieldsIt.hasNext()) {
|
||||
String fieldName = fieldsIt.next();
|
||||
StringBuilder keyBuffer = new StringBuilder();
|
||||
keyBuffer.append(entityName);
|
||||
keyBuffer.append('.');
|
||||
keyBuffer.append(fieldName);
|
||||
List<GenericValue> entityRecords = delegator.findList(entityName, null, pkFields, null, null, false);
|
||||
|
||||
for (GenericValue entityRecord: entityRecords) {
|
||||
boolean pkFound = false;
|
||||
StringBuilder pkBuffer = new StringBuilder(keyBuffer.toString());
|
||||
Iterator <String> itPkFields = pkFields.iterator();
|
||||
while (itPkFields != null && itPkFields.hasNext()) {
|
||||
String pkField = itPkFields.next();
|
||||
Object pkFieldValue = entityRecord.get(pkField);
|
||||
|
||||
if (UtilValidate.isNotEmpty(pkFieldValue)) {
|
||||
pkBuffer.append('.');
|
||||
pkBuffer.append(pkFieldValue);
|
||||
pkFound = true;
|
||||
}
|
||||
}
|
||||
if (pkFound) {
|
||||
setLabelReference(pkBuffer.toString(), fileNameURI);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (GenericEntityException e) {
|
||||
Debug.logError(e, "Problem getting records from " + entityName, module);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -490,6 +490,13 @@ under the License.
|
||||
<response name="error" type="view" value="UpdateLabel"/>
|
||||
</request-map>
|
||||
|
||||
<request-map uri="UpdateAndSaveLabelKey">
|
||||
<security https="true" auth="true"/>
|
||||
<event type="service" invoke="UpdateAndSaveLabelKey"/>
|
||||
<response name="success" type="view" value="SearchLabels"/>
|
||||
<response name="error" type="view" value="UpdateLabel"/>
|
||||
</request-map>
|
||||
|
||||
<request-map uri="ViewReferences">
|
||||
<security https="true" auth="true"/>
|
||||
<response name="success" type="view" value="ViewReferences"/>
|
||||
|
||||
@@ -70,7 +70,12 @@ under the License.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
<td align="right" class="label">
|
||||
${uiLabelMap.WebtoolsLabelManagerOnlyNotUsedLabels}
|
||||
</td>
|
||||
<td align="left">
|
||||
<input type="checkbox" name="onlyNotUsedLabels" value="Y" <#if parameters.onlyNotUsedLabels?exists && parameters.onlyNotUsedLabels == "Y">checked</#if>>
|
||||
</td>
|
||||
<td align="right" class="label">
|
||||
${uiLabelMap.WebtoolsLabelManagerOnlyMissingTranslations}
|
||||
</td>
|
||||
|
||||
@@ -30,7 +30,7 @@ under the License.
|
||||
<input type="hidden" name="key" value="${parameters.sourceKey}">
|
||||
<input type="hidden" name="update_label" value="Y">
|
||||
<#else>
|
||||
<input type="text" name="key" size="70" value="${parameters.key?if_exists}">
|
||||
<input type="text" name="key" size="70">
|
||||
<input type="hidden" name="update_label" value="N">
|
||||
</#if>
|
||||
</td>
|
||||
|
||||
@@ -18,6 +18,9 @@ under the License.
|
||||
-->
|
||||
<div class="screenlet-body">
|
||||
<table class="basic-table" cellspacing="3">
|
||||
<tr>
|
||||
<td colspan="2"><b>${uiLabelMap.WebtoolsLabelManagerKey}</b> ${parameters.sourceKey?if_exists}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><b>${uiLabelMap.WebtoolsLabelManagerFileName}</b> ${parameters.fileName?if_exists}</td>
|
||||
</tr>
|
||||
|
||||
@@ -17,10 +17,8 @@ specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<div class="screenlet-body">
|
||||
<#if parameters.searchLabels?exists>
|
||||
<a href="<@ofbizUrl>UpdateLabel</@ofbizUrl>" class="buttontext">${uiLabelMap.WebtoolsLabelManagerAddNew}</a>
|
||||
<a href="<@ofbizUrl>SaveLabelsToXmlFile?labelFileName=${parameters.labelFileName?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.WebtoolsLabelManagerUpdateFile}</a>
|
||||
</#if>
|
||||
<a href="<@ofbizUrl>UpdateLabel?fileName=${parameters.labelFileName?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.WebtoolsLabelManagerAddNew}</a>
|
||||
<a href="<@ofbizUrl>SaveLabelsToXmlFile?labelFileName=${parameters.labelFileName?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.WebtoolsLabelManagerUpdateFile}</a>
|
||||
<table class="basic-table hover-bar" cellspacing="3">
|
||||
<tr class="header-row">
|
||||
<td>${uiLabelMap.WebtoolsLabelManagerRow}</td>
|
||||
@@ -55,6 +53,12 @@ under the License.
|
||||
<#assign previousKey = "">
|
||||
<#list labelsList as labelList>
|
||||
<#assign label = labels.get(labelList)>
|
||||
<#assign labelKey = label.labelKey>
|
||||
<#assign referenceNum = 0>
|
||||
<#assign reference = references.get(labelKey)?if_exists>
|
||||
<#if reference?exists && reference?has_content>
|
||||
<#assign referenceNum = reference.size()>
|
||||
</#if>
|
||||
<#assign showLabel = true>
|
||||
<#if parameters.onlyMissingTranslations?exists && parameters.onlyMissingTranslations == "Y" &&
|
||||
parameters.labelLocaleName?exists && parameters.labelLocaleName != "">
|
||||
@@ -66,6 +70,9 @@ under the License.
|
||||
</#if>
|
||||
</#if>
|
||||
</#if>
|
||||
<#if showLabel && parameters.onlyNotUsedLabels?exists && parameters.onlyNotUsedLabels == "Y" && (referenceNum > 0)>
|
||||
<#assign showLabel = false>
|
||||
</#if>
|
||||
<#if showLabel && parameters.labelKey?exists && parameters.labelKey != "" && parameters.labelKey != label.labelKey>
|
||||
<#assign showLabel = false>
|
||||
</#if>
|
||||
@@ -76,16 +83,10 @@ under the License.
|
||||
<#assign showLabel = false>
|
||||
</#if>
|
||||
<#if showLabel == true>
|
||||
<#assign labelKey = label.labelKey>
|
||||
<tr <#if rowNum == "1">class="alternate-row"</#if>>
|
||||
<td>${rowNumber}</td>
|
||||
<td><a href="<@ofbizUrl>UpdateLabel?sourceKey=${labelKey}&sourceFileName=${label.fileName}&sourceKeyComment=${label.labelKeyComment?if_exists}</@ofbizUrl>" <#if previousKey == labelKey>class="submenutext"</#if>>${label.labelKey}</a></td>
|
||||
<td>${label.fileName}</td>
|
||||
<#assign referenceNum = 0>
|
||||
<#assign reference = references.get(labelKey)?if_exists>
|
||||
<#if reference?exists && reference?has_content>
|
||||
<#assign referenceNum = reference.size()>
|
||||
</#if>
|
||||
<td align="center"><#if (referenceNum > 0)><a href="<@ofbizUrl>ViewReferences?sourceKey=${labelKey}</@ofbizUrl>">${referenceNum}</a><#else>${referenceNum}</#if></td>
|
||||
<#list localesFound as localeFound>
|
||||
<#assign labelVal = label.getLabelValue(localeFound)?if_exists>
|
||||
|
||||
@@ -30,15 +30,16 @@ under the License.
|
||||
<td>${uiLabelMap.WebtoolsLabelManagerFileName}</td>
|
||||
<td>${uiLabelMap.WebtoolsLabelManagerReferences}</td>
|
||||
</tr>
|
||||
<#if parameters.sourceKey?exists>
|
||||
<#if parameters.sourceKey?exists && parameters.sourceKey?has_content>
|
||||
<#assign rowNum = "2">
|
||||
<#assign rowNumber = 1>
|
||||
<#assign reference = references.get(parameters.sourceKey)>
|
||||
<#assign entries = reference.entrySet()>
|
||||
<#list entries as entry>
|
||||
<#assign reference = references.get(parameters.sourceKey)?if_exists>
|
||||
<#if reference?exists && reference?has_content>
|
||||
<#assign entries = reference.entrySet()>
|
||||
<#list entries as entry>
|
||||
<tr>
|
||||
<td>${rowNumber}</td>
|
||||
<td><a href="<@ofbizUrl>ViewFile?fileName=${entry.getKey()}</@ofbizUrl>">${entry.getKey()}</a></td>
|
||||
<td><a href="<@ofbizUrl>ViewFile?fileName=${entry.getKey()}&sourceKey=${parameters.sourceKey?if_exists}</@ofbizUrl>">${entry.getKey()}</a></td>
|
||||
<td>${entry.getValue()}</td>
|
||||
</tr>
|
||||
<#if rowNum == "2">
|
||||
@@ -47,7 +48,8 @@ under the License.
|
||||
<#assign rowNum = "2">
|
||||
</#if>
|
||||
<#assign rowNumber = rowNumber + 1>
|
||||
</#list>
|
||||
</#list>
|
||||
</#if>
|
||||
</#if>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
@@ -373,7 +373,7 @@ under the License.
|
||||
<actions>
|
||||
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
|
||||
<property-map resource="WebtoolsUiLabels" map-name="uiLabelMap" global="true"/>
|
||||
<set field="titleProperty" value="PageTitleEntitySQLProcessor___"/>
|
||||
<set field="titleProperty" value="PageTitleEntityEoModelBundle"/>
|
||||
<set field="tabButtonItem" value="entityEoModelBundle"/>
|
||||
</actions>
|
||||
<widgets>
|
||||
|
||||
Reference in New Issue
Block a user