Skip to content

FOUR-13206 New Table and filters are not translated #6154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<b-form-input v-model="value1" placeholder="input 1" size="sm" class="pm-column-filter-op-between-input"></b-form-input>
<b-form-input v-model="value2" placeholder="input 2" size="sm" class="pm-column-filter-op-between-input"></b-form-input>
<b-form-input v-model="value1" :placeholder="$t('input') + ' ' + 1" size="sm" class="pm-column-filter-op-between-input"></b-form-input>
<b-form-input v-model="value2" :placeholder="$t('input') + ' ' + 2" size="sm" class="pm-column-filter-op-between-input"></b-form-input>
</div>
</template>

Expand Down
7 changes: 6 additions & 1 deletion resources/js/requests/components/RequestsListing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,12 @@ export default {
* @returns {Array}
*/
getStatus() {
return ["In Progress", "Completed", "Error", "Canceled"];
return [
{value: "In Progress", text: this.$t("In Progress")},
{value: "Completed", text: this.$t("Completed")},
{value: "Error", text: this.$t("Error")},
{value: "Canceled", text: this.$t("Canceled")}
];
},
/**
* This method is used in PMColumnFilterPopoverCommonMixin.js
Expand Down
6 changes: 5 additions & 1 deletion resources/js/tasks/components/TasksList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,11 @@ export default {
return cleanHtml;
},
getStatus() {
return ["Self Service", "In Progress", "Completed"];
return [
{value: "Self Service", text: this.$t("Self Service")},
{value: "In Progress", text: this.$t("In Progress")},
{value: "Completed", text: this.$t("Completed")}
];
},
/**
* This method is used in PMColumnFilterPopoverCommonMixin.js
Expand Down
3 changes: 2 additions & 1 deletion resources/lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -2033,5 +2033,6 @@
"Captcha": "Captcha",
"Google Places": "Google Places",
"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",
"Add special buttons that link between subpages within this Form": "Fügen Sie spezielle Schaltflächen hinzu, die zwischen Unterseiten innerhalb dieses Formulars verlinken"
"Add special buttons that link between subpages within this Form": "Fügen Sie spezielle Schaltflächen hinzu, die zwischen Unterseiten innerhalb dieses Formulars verlinken",
"input": "eingabe"
}
3 changes: 2 additions & 1 deletion resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2035,5 +2035,6 @@
"Captcha": "Captcha",
"Google Places": "Google Places",
"Add an action to submit your form or update a field": "Add an action to submit your form or update a field",
"Add special buttons that link between subpages within this Form": "Add special buttons that link between subpages within this Form"
"Add special buttons that link between subpages within this Form": "Add special buttons that link between subpages within this Form",
"input": "input"
}
3 changes: 2 additions & 1 deletion resources/lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -2033,5 +2033,6 @@
"Captcha": "Captcha",
"Google Places": "Google Places",
"Add an action to submit your form or update a field": "Agregue una acción para enviar su formulario o actualizar un campo",
"Add special buttons that link between subpages within this Form": "Agregue botones especiales que enlacen entre subpáginas dentro de este Formulario"
"Add special buttons that link between subpages within this Form": "Agregue botones especiales que enlacen entre subpáginas dentro de este Formulario",
"input": "entrada"
}
3 changes: 2 additions & 1 deletion resources/lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2033,5 +2033,6 @@
"Captcha": "Captcha",
"Google Places": "Google Places",
"Add an action to submit your form or update a field": "Ajoutez une action pour soumettre votre formulaire ou mettre à jour un champ",
"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"
"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",
"input": "entrée"
}