From 2d2572995cc0cd4f4b2be3c15a5bbdbc007f4135 Mon Sep 17 00:00:00 2001 From: Gavin Cornwell Date: Wed, 15 Jun 2011 13:08:41 +0000 Subject: [PATCH] Final pieces of SVC 01: I18N List of values constraint following feedback from first sprint demo (ALF-8183) All visible LIST constraints now have English labels, used existing translations for one constraint and updated JSF property sheet component to lookup display label. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28405 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- config/alfresco/messages/bpm-messages.properties | 6 ++++-- config/alfresco/messages/data-list-model.properties | 12 +++++++++++- config/alfresco/model/bpmModel.xml | 2 -- .../workflow/wcm-workflow-messages.properties | 4 ++++ config/alfresco/workflow/wcmWorkflowModel.xml | 1 - .../alfresco/workflow/workflow-messages.properties | 5 +++++ .../workflow/workflow-messages_de.properties | 4 ++++ .../workflow/workflow-messages_es.properties | 4 ++++ .../workflow/workflow-messages_fr.properties | 4 ++++ .../workflow/workflow-messages_it.properties | 4 ++++ .../workflow/workflow-messages_ja.properties | 4 ++++ config/alfresco/workflow/workflowModel.xml | 4 +--- 12 files changed, 45 insertions(+), 9 deletions(-) diff --git a/config/alfresco/messages/bpm-messages.properties b/config/alfresco/messages/bpm-messages.properties index d695b62dab..41d8d18d1d 100644 --- a/config/alfresco/messages/bpm-messages.properties +++ b/config/alfresco/messages/bpm-messages.properties @@ -75,10 +75,12 @@ bpm_businessprocessmodel.association.bpm_groupAssignees.description=Workflow Gro workflow.get.task.definition.metadata.error=Failed to find task type definition {0}. workflow.package.already.associated.error=This node is already being used as a workflow package! NodeRef: {0} -# List constraint values +# List constraint display labels +listconstraint.bpm_allowedPriority.1=High +listconstraint.bpm_allowedPriority.2=Medium +listconstraint.bpm_allowedPriority.3=Low listconstraint.bpm_allowedStatus.Not\ Yet\ Started=Not Yet Started listconstraint.bpm_allowedStatus.In\ Progress=In Progress listconstraint.bpm_allowedStatus.On\ Hold= On Hold listconstraint.bpm_allowedStatus.Cancelled=Cancelled listconstraint.bpm_allowedStatus.Completed=Completed - diff --git a/config/alfresco/messages/data-list-model.properties b/config/alfresco/messages/data-list-model.properties index cf57d92b41..2d34421b42 100755 --- a/config/alfresco/messages/data-list-model.properties +++ b/config/alfresco/messages/data-list-model.properties @@ -101,4 +101,14 @@ dl_datalistmodel.property.dl_eventAgendaEndTime.title=End Time dl_datalistmodel.property.dl_eventAgendaSessionName.title=Session Name dl_datalistmodel.property.dl_eventAgendaPresenter.title=Presenter dl_datalistmodel.property.dl_eventAgendaAudience.title=Audience -dl_datalistmodel.property.dl_eventAgendaNotes.title=Notes \ No newline at end of file +dl_datalistmodel.property.dl_eventAgendaNotes.title=Notes + +# List constraint display labels +listconstraint.dl_task_status.Not\ Started=Not Started +listconstraint.dl_task_status.In\ Progress=In Progress +listconstraint.dl_task_status.On\ Hold= On Hold +listconstraint.dl_task_status.Complete=Complete +listconstraint.dl_priority_value.High=High +listconstraint.dl_priority_value.Normal=Normal +listconstraint.dl_priority_value.Low=Low + diff --git a/config/alfresco/model/bpmModel.xml b/config/alfresco/model/bpmModel.xml index 7cfc32c9a7..0c8b149447 100644 --- a/config/alfresco/model/bpmModel.xml +++ b/config/alfresco/model/bpmModel.xml @@ -26,7 +26,6 @@ - 1 2 @@ -37,7 +36,6 @@ - Not Yet Started In Progress diff --git a/config/alfresco/workflow/wcm-workflow-messages.properties b/config/alfresco/workflow/wcm-workflow-messages.properties index f2f6097ef1..d6b81dbed6 100644 --- a/config/alfresco/workflow/wcm-workflow-messages.properties +++ b/config/alfresco/workflow/wcm-workflow-messages.properties @@ -88,3 +88,7 @@ wcmwf_workflowmodel.type.wcmwf_submitChangeRequestTask.title=Submit Change Reque wcmwf_workflowmodel.type.wcmwf_submitChangeRequestTask.description=Submits a change request for one or more items wcmwf_workflowmodel.type.wcmwf_changeRequestTask.title=Change Request wcmwf_workflowmodel.type.wcmwf_changeRequestTask.description=Change Request + +# List constraint display labels +listconstraint.wcmwf_reviewType.Serial=Serial +listconstraint.wcmwf_reviewType.Parallel=Parallel diff --git a/config/alfresco/workflow/wcmWorkflowModel.xml b/config/alfresco/workflow/wcmWorkflowModel.xml index 3c773e12fd..c79e1fb428 100644 --- a/config/alfresco/workflow/wcmWorkflowModel.xml +++ b/config/alfresco/workflow/wcmWorkflowModel.xml @@ -16,7 +16,6 @@ - Serial Parallel diff --git a/config/alfresco/workflow/workflow-messages.properties b/config/alfresco/workflow/workflow-messages.properties index b5a59afd9e..e93482e06c 100644 --- a/config/alfresco/workflow/workflow-messages.properties +++ b/config/alfresco/workflow/workflow-messages.properties @@ -178,3 +178,8 @@ wf_workflowmodel.property.wf_reviewOutcome.description=Review Outcome wf_workflowmodel.type.wf_submitGroupReviewTask.title=Start Group Review wf_workflowmodel.type.wf_submitGroupReviewTask.description=Submit documents for review and approval to a group of people + +# List constraint display labels +listconstraint.wf_reviewOutcomeOptions.Approve=Approve +listconstraint.wf_reviewOutcomeOptions.Reject=Reject + diff --git a/config/alfresco/workflow/workflow-messages_de.properties b/config/alfresco/workflow/workflow-messages_de.properties index 6c98687eee..2e9a2aa40f 100755 --- a/config/alfresco/workflow/workflow-messages_de.properties +++ b/config/alfresco/workflow/workflow-messages_de.properties @@ -120,3 +120,7 @@ wf_workflowmodel.type.wf_adhocTask.title=Adhoc Aufgabe wf_workflowmodel.type.wf_adhocTask.description=Von Kollege zugewiesene adhoc Aufgabe wf_workflowmodel.type.wf_completedAdhocTask.title=Adhoc Aufgabe abgeschlossen wf_workflowmodel.type.wf_completedAdhocTask.description=Adhoc Aufgabe abgeschlossen + +# List constraint display labels +listconstraint.wf_reviewOutcomeOptions.Approve=Zustimmen +listconstraint.wf_reviewOutcomeOptions.Reject=Ablehnen diff --git a/config/alfresco/workflow/workflow-messages_es.properties b/config/alfresco/workflow/workflow-messages_es.properties index 2d7a2dafee..74fc345420 100755 --- a/config/alfresco/workflow/workflow-messages_es.properties +++ b/config/alfresco/workflow/workflow-messages_es.properties @@ -120,3 +120,7 @@ wf_workflowmodel.type.wf_adhocTask.title=Tarea ad hoc wf_workflowmodel.type.wf_adhocTask.description=Tarea ad hoc asignada por un colega wf_workflowmodel.type.wf_completedAdhocTask.title=Tarea ad hoc completada wf_workflowmodel.type.wf_completedAdhocTask.description=Tarea ad hoc completada + +# List constraint display labels +listconstraint.wf_reviewOutcomeOptions.Approve=Aprobar +listconstraint.wf_reviewOutcomeOptions.Reject=Rechazar diff --git a/config/alfresco/workflow/workflow-messages_fr.properties b/config/alfresco/workflow/workflow-messages_fr.properties index 2b35208cb3..db101fdb95 100755 --- a/config/alfresco/workflow/workflow-messages_fr.properties +++ b/config/alfresco/workflow/workflow-messages_fr.properties @@ -120,3 +120,7 @@ wf_workflowmodel.type.wf_adhocTask.title=T\u00e2che Adhoc wf_workflowmodel.type.wf_adhocTask.description=T\u00e2che adhoc allou\u00e9e par un coll\u00e8gue wf_workflowmodel.type.wf_completedAdhocTask.title=T\u00e2che adhoc termin\u00e9e wf_workflowmodel.type.wf_completedAdhocTask.description=T\u00e2che adhoc termin\u00e9e + +# List constraint display labels +listconstraint.wf_reviewOutcomeOptions.Approve=Approuver +listconstraint.wf_reviewOutcomeOptions.Reject=Rejeter diff --git a/config/alfresco/workflow/workflow-messages_it.properties b/config/alfresco/workflow/workflow-messages_it.properties index 8bffe33db6..ef92b187ef 100755 --- a/config/alfresco/workflow/workflow-messages_it.properties +++ b/config/alfresco/workflow/workflow-messages_it.properties @@ -120,3 +120,7 @@ wf_workflowmodel.type.wf_adhocTask.title=Compito ad-hoc wf_workflowmodel.type.wf_adhocTask.description=Compito ad-hoc assegnato dal collega wf_workflowmodel.type.wf_completedAdhocTask.title=Compito ad-hoc completato wf_workflowmodel.type.wf_completedAdhocTask.description=Compito ad-hoc completato + +# List constraint display labels +listconstraint.wf_reviewOutcomeOptions.Approve=Approva +listconstraint.wf_reviewOutcomeOptions.Reject=Respingi diff --git a/config/alfresco/workflow/workflow-messages_ja.properties b/config/alfresco/workflow/workflow-messages_ja.properties index 66b77d8d18..29a67ae5f5 100755 --- a/config/alfresco/workflow/workflow-messages_ja.properties +++ b/config/alfresco/workflow/workflow-messages_ja.properties @@ -120,3 +120,7 @@ wf_workflowmodel.type.wf_adhocTask.title=\u30a2\u30c9\u30db\u30c3\u30af\u30fb\u3 wf_workflowmodel.type.wf_adhocTask.description=\u540c\u50da\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u305f\u30a2\u30c9\u30db\u30c3\u30af\u30fb\u30bf\u30b9\u30af wf_workflowmodel.type.wf_completedAdhocTask.title=\u5b8c\u4e86\u6e08\u30a2\u30c9\u30db\u30c3\u30af\u30fb\u30bf\u30b9\u30af wf_workflowmodel.type.wf_completedAdhocTask.description=\u5b8c\u4e86\u6e08\u30a2\u30c9\u30db\u30c3\u30af\u30fb\u30bf\u30b9\u30af + +# List constraint display labels +listconstraint.wf_reviewOutcomeOptions.Approve=\u627f\u8a8d +listconstraint.wf_reviewOutcomeOptions.Reject=\u5374\u4e0b diff --git a/config/alfresco/workflow/workflowModel.xml b/config/alfresco/workflow/workflowModel.xml index 371444be5f..df56572a48 100644 --- a/config/alfresco/workflow/workflowModel.xml +++ b/config/alfresco/workflow/workflowModel.xml @@ -73,10 +73,8 @@ d:text Reject - + - Approve Reject