Skip to content

Commit fc520d8

Browse files
authored
Merge pull request #6154 from ProcessMaker/bugfix/FOUR-13206
FOUR-13206 New Table and filters are not translated
2 parents 2542915 + 8fa2a76 commit fc520d8

7 files changed

Lines changed: 21 additions & 8 deletions

File tree

resources/js/components/PMColumnFilterPopover/PMColumnFilterOpBetween.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div>
3-
<b-form-input v-model="value1" placeholder="input 1" size="sm" class="pm-column-filter-op-between-input"></b-form-input>
4-
<b-form-input v-model="value2" placeholder="input 2" size="sm" class="pm-column-filter-op-between-input"></b-form-input>
3+
<b-form-input v-model="value1" :placeholder="$t('input') + ' ' + 1" size="sm" class="pm-column-filter-op-between-input"></b-form-input>
4+
<b-form-input v-model="value2" :placeholder="$t('input') + ' ' + 2" size="sm" class="pm-column-filter-op-between-input"></b-form-input>
55
</div>
66
</template>
77

resources/js/requests/components/RequestsListing.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,12 @@ export default {
469469
* @returns {Array}
470470
*/
471471
getStatus() {
472-
return ["In Progress", "Completed", "Error", "Canceled"];
472+
return [
473+
{value: "In Progress", text: this.$t("In Progress")},
474+
{value: "Completed", text: this.$t("Completed")},
475+
{value: "Error", text: this.$t("Error")},
476+
{value: "Canceled", text: this.$t("Canceled")}
477+
];
473478
},
474479
/**
475480
* This method is used in PMColumnFilterPopoverCommonMixin.js

resources/js/tasks/components/TasksList.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,11 @@ export default {
494494
return cleanHtml;
495495
},
496496
getStatus() {
497-
return ["Self Service", "In Progress", "Completed"];
497+
return [
498+
{value: "Self Service", text: this.$t("Self Service")},
499+
{value: "In Progress", text: this.$t("In Progress")},
500+
{value: "Completed", text: this.$t("Completed")}
501+
];
498502
},
499503
/**
500504
* This method is used in PMColumnFilterPopoverCommonMixin.js

resources/lang/de.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2033,5 +2033,6 @@
20332033
"Captcha": "Captcha",
20342034
"Google Places": "Google Places",
20352035
"Add an action to submit your form or update a field": "Fügen Sie eine Aktion hinzu, um Ihr Formular abzusenden oder ein Feld zu aktualisieren",
2036-
"Add special buttons that link between subpages within this Form": "Fügen Sie spezielle Schaltflächen hinzu, die zwischen Unterseiten innerhalb dieses Formulars verlinken"
2036+
"Add special buttons that link between subpages within this Form": "Fügen Sie spezielle Schaltflächen hinzu, die zwischen Unterseiten innerhalb dieses Formulars verlinken",
2037+
"input": "eingabe"
20372038
}

resources/lang/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2035,5 +2035,6 @@
20352035
"Captcha": "Captcha",
20362036
"Google Places": "Google Places",
20372037
"Add an action to submit your form or update a field": "Add an action to submit your form or update a field",
2038-
"Add special buttons that link between subpages within this Form": "Add special buttons that link between subpages within this Form"
2038+
"Add special buttons that link between subpages within this Form": "Add special buttons that link between subpages within this Form",
2039+
"input": "input"
20392040
}

resources/lang/es.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2033,5 +2033,6 @@
20332033
"Captcha": "Captcha",
20342034
"Google Places": "Google Places",
20352035
"Add an action to submit your form or update a field": "Agregue una acción para enviar su formulario o actualizar un campo",
2036-
"Add special buttons that link between subpages within this Form": "Agregue botones especiales que enlacen entre subpáginas dentro de este Formulario"
2036+
"Add special buttons that link between subpages within this Form": "Agregue botones especiales que enlacen entre subpáginas dentro de este Formulario",
2037+
"input": "entrada"
20372038
}

resources/lang/fr.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2033,5 +2033,6 @@
20332033
"Captcha": "Captcha",
20342034
"Google Places": "Google Places",
20352035
"Add an action to submit your form or update a field": "Ajoutez une action pour soumettre votre formulaire ou mettre à jour un champ",
2036-
"Add special buttons that link between subpages within this Form": "Ajouter des boutons spéciaux qui lient entre les sous-pages au sein de ce Formulaire"
2036+
"Add special buttons that link between subpages within this Form": "Ajouter des boutons spéciaux qui lient entre les sous-pages au sein de ce Formulaire",
2037+
"input": "entrée"
20372038
}

0 commit comments

Comments
 (0)