From f5b732b41a370099b8dd68bcb2c1495513915815 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelca Date: Wed, 2 Jun 2021 14:47:56 +0000 Subject: [PATCH] PMCORE-3041: List of different PO labels from Version PMCORE_3.6.3 against version PMCORE_3.3.0 --- resources/assets/js/home/AdvancedSearch.vue | 11 ++++++++++- resources/assets/js/home/CaseDetail.vue | 9 +++++++++ resources/assets/js/home/Draft.vue | 14 ++++++++++++-- resources/assets/js/home/MyCases.vue | 11 ++++++++++- resources/assets/js/home/Paused.vue | 11 ++++++++++- resources/assets/js/home/Todo.vue | 12 +++++++++++- resources/assets/js/home/Unassigned.vue | 11 ++++++++++- .../translations/english/processmaker.en.po | 6 ++++++ workflow/engine/data/mysql/insert.sql | 1 + 9 files changed, 79 insertions(+), 7 deletions(-) diff --git a/resources/assets/js/home/AdvancedSearch.vue b/resources/assets/js/home/AdvancedSearch.vue index 246079255..28e19c015 100644 --- a/resources/assets/js/home/AdvancedSearch.vue +++ b/resources/assets/js/home/AdvancedSearch.vue @@ -115,7 +115,7 @@ export default { filterHeader: "STARTED_BY_ME", headers: [], newCase: { - title: "New Case", + title: this.$i18n.t("ID_NEW_CASE"), class: "btn-success", onClick: () => { this.$refs["newRequest"].show(); @@ -149,6 +149,15 @@ export default { duration: this.$i18n.t("ID_DURATION"), actions: "", }, + texts: { + count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), + first: this.$i18n.t("ID_FIRST"), + last: this.$i18n.t("ID_LAST"), + filter: this.$i18n.t("ID_FILTER") + ":", + limit: this.$i18n.t("ID_RECORDS") + ":", + page: this.$i18n.t("ID_PAGE") + ":", + noResults: this.$i18n.t("ID_NO_MATCHING_RECORDS") + }, selectable: { mode: "single", only: function(row) { diff --git a/resources/assets/js/home/CaseDetail.vue b/resources/assets/js/home/CaseDetail.vue index 9d3fda6d1..072910169 100644 --- a/resources/assets/js/home/CaseDetail.vue +++ b/resources/assets/js/home/CaseDetail.vue @@ -169,6 +169,15 @@ export default { due_date: this.$i18n.t("ID_DUE_DATE"), actions: this.$i18n.t("ID_ACTIONS") }, + texts: { + count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), + first: this.$i18n.t("ID_FIRST"), + last: this.$i18n.t("ID_LAST"), + filter: this.$i18n.t("ID_FILTER") + ":", + limit: this.$i18n.t("ID_RECORDS") + ":", + page: this.$i18n.t("ID_PAGE") + ":", + noResults: this.$i18n.t("ID_NO_MATCHING_RECORDS") + }, selectable: { mode: "single", // or 'multiple' only: function (row) { diff --git a/resources/assets/js/home/Draft.vue b/resources/assets/js/home/Draft.vue index 586e0239b..f5cea80cd 100644 --- a/resources/assets/js/home/Draft.vue +++ b/resources/assets/js/home/Draft.vue @@ -64,7 +64,7 @@ export default { data() { return { newCase: { - title: "New Case", + title: this.$i18n.t("ID_NEW_CASE"), class: "btn-success", onClick: () => { this.$refs["newRequest"].show(); @@ -83,6 +83,7 @@ export default { options: { filterable: false, headings: { + detail: "", case_number: this.$i18n.t("ID_MYCASE_NUMBER"), case_title: this.$i18n.t("ID_CASE_TITLE"), process_name: this.$i18n.t("ID_PROCESS_NAME"), @@ -100,9 +101,18 @@ export default { requestFunction(data) { return this.$parent.$parent.getCasesForVueTable(data); }, + texts: { + count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), + first: this.$i18n.t("ID_FIRST"), + last: this.$i18n.t("ID_LAST"), + filter: this.$i18n.t("ID_FILTER") + ":", + limit: this.$i18n.t("ID_RECORDS") + ":", + page: this.$i18n.t("ID_PAGE") + ":", + noResults: this.$i18n.t("ID_NO_MATCHING_RECORDS") + } }, pmDateFormat: "Y-m-d H:i:s", - clickCount: 0, + clickCount: 0, singleClickTimer: null, statusTitle: { "ON_TIME": this.$i18n.t("ID_IN_PROGRESS"), diff --git a/resources/assets/js/home/MyCases.vue b/resources/assets/js/home/MyCases.vue index baf3fdea3..0d4dea897 100644 --- a/resources/assets/js/home/MyCases.vue +++ b/resources/assets/js/home/MyCases.vue @@ -99,7 +99,7 @@ export default { filterHeader: "STARTED", headers: [], newCase: { - title: "New Case", + title: this.$i18n.t("ID_NEW_CASE"), class: "btn-success", onClick: () => { this.$refs["newRequest"].show(); @@ -130,6 +130,15 @@ export default { duration: this.$i18n.t("ID_DURATION"), actions: "", }, + texts: { + count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), + first: this.$i18n.t("ID_FIRST"), + last: this.$i18n.t("ID_LAST"), + filter: this.$i18n.t("ID_FILTER") + ":", + limit: this.$i18n.t("ID_RECORDS") + ":", + page: this.$i18n.t("ID_PAGE") + ":", + noResults: this.$i18n.t("ID_NO_MATCHING_RECORDS") + }, selectable: { mode: "single", only: function(row) { diff --git a/resources/assets/js/home/Paused.vue b/resources/assets/js/home/Paused.vue index 598f226f3..ce883aa90 100644 --- a/resources/assets/js/home/Paused.vue +++ b/resources/assets/js/home/Paused.vue @@ -80,7 +80,7 @@ export default { data() { return { newCase: { - title: "New Case", + title: this.$i18n.t("ID_NEW_CASE"), class: "btn-success", onClick: () => { this.$refs["newRequest"].show(); @@ -112,6 +112,15 @@ export default { actions: "", detail: "", }, + texts: { + count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), + first: this.$i18n.t("ID_FIRST"), + last: this.$i18n.t("ID_LAST"), + filter: this.$i18n.t("ID_FILTER") + ":", + limit: this.$i18n.t("ID_RECORDS") + ":", + page: this.$i18n.t("ID_PAGE") + ":", + noResults: this.$i18n.t("ID_NO_MATCHING_RECORDS") + }, selectable: { mode: "single", only: function (row) { diff --git a/resources/assets/js/home/Todo.vue b/resources/assets/js/home/Todo.vue index 0fc783b37..4b0ae54b8 100644 --- a/resources/assets/js/home/Todo.vue +++ b/resources/assets/js/home/Todo.vue @@ -74,7 +74,7 @@ export default { data() { return { newCase: { - title: "New Case", + title: this.$i18n.t("ID_NEW_CASE"), class: "btn-success", onClick: () => { this.$refs["newRequest"].show(); @@ -95,6 +95,7 @@ export default { options: { filterable: false, headings: { + detail: "", case_number: this.$i18n.t("ID_MYCASE_NUMBER"), case_title: this.$i18n.t("ID_CASE_TITLE"), process_name: this.$i18n.t("ID_PROCESS_NAME"), @@ -105,6 +106,15 @@ export default { priority: this.$i18n.t("ID_PRIORITY"), actions: "", }, + texts: { + count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), + first: this.$i18n.t("ID_FIRST"), + last: this.$i18n.t("ID_LAST"), + filter: this.$i18n.t("ID_FILTER") + ":", + limit: this.$i18n.t("ID_RECORDS") + ":", + page: this.$i18n.t("ID_PAGE") + ":", + noResults: this.$i18n.t("ID_NO_MATCHING_RECORDS") + }, selectable: { mode: "single", only: function (row) { diff --git a/resources/assets/js/home/Unassigned.vue b/resources/assets/js/home/Unassigned.vue index cd443b580..bff7c677e 100644 --- a/resources/assets/js/home/Unassigned.vue +++ b/resources/assets/js/home/Unassigned.vue @@ -74,7 +74,7 @@ export default { data() { return { newCase: { - title: "New Case", + title: this.$i18n.t("ID_NEW_CASE"), class: "btn-success", onClick: () => { this.$refs["newRequest"].show(); @@ -107,6 +107,15 @@ export default { actions: "", detail: "", }, + texts: { + count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), + first: this.$i18n.t("ID_FIRST"), + last: this.$i18n.t("ID_LAST"), + filter: this.$i18n.t("ID_FILTER") + ":", + limit: this.$i18n.t("ID_RECORDS") + ":", + page: this.$i18n.t("ID_PAGE") + ":", + noResults: this.$i18n.t("ID_NO_MATCHING_RECORDS") + }, selectable: { mode: "single", only: function (row) { diff --git a/workflow/engine/content/translations/english/processmaker.en.po b/workflow/engine/content/translations/english/processmaker.en.po index ac2844a8e..c08afdda3 100755 --- a/workflow/engine/content/translations/english/processmaker.en.po +++ b/workflow/engine/content/translations/english/processmaker.en.po @@ -24071,6 +24071,12 @@ msgstr "Saving" msgid "Saving process" msgstr "Saving process" +# TRANSLATION +# LABEL/ID_SCHEDULE_TIME +#: LABEL/ID_SCHEDULE_TIME +msgid "New cases scheduler" +msgstr "New cases scheduler" + # TRANSLATION # LABEL/ID_SCHEDULER_LIST #: LABEL/ID_SCHEDULER_LIST diff --git a/workflow/engine/data/mysql/insert.sql b/workflow/engine/data/mysql/insert.sql index c9280f5f5..db8f2cca4 100755 --- a/workflow/engine/data/mysql/insert.sql +++ b/workflow/engine/data/mysql/insert.sql @@ -60924,6 +60924,7 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE ( 'LABEL','ID_SAVING_ENVIRONMENT_SETTINGS','en','Saving Environment Settings','2014-01-15') , ( 'LABEL','ID_SAVING_LABEL','en','Saving','2014-01-15') , ( 'LABEL','ID_SAVING_PROCESS','en','Saving process','2014-01-15') , +( 'LABEL','ID_SCHEDULE_TIME','en','Schedule time','2021-05-02') , ( 'LABEL','ID_SCHEDULER_LIST','en','New cases scheduler','2014-01-15') , ( 'LABEL','ID_SCHEDULER_LOG','en','Cases Scheduler Logs','2014-01-15') , ( 'LABEL','ID_SCHEDULER_SUCCESS_CHANGE_STATUS','en','Case Scheduler status has been changed correctly.','2014-01-15') ,