Skip to content

Fix translations #6130

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 2 commits into from
Feb 1, 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
1 change: 1 addition & 0 deletions resources/js/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ window.ProcessMaker = {

window.ProcessMaker.i18nPromise = i18next.use(Backend).init({
lng: document.documentElement.lang,
fallbackLng: false,
nsSeparator: false,
keySeparator: false,
parseMissingKeyHandler(value) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
{
name: "__slot:name",
sortField: "name",
label: "NAME",
label: this.$t('Name'),
field: "name",
width: 200,
sortable: true,
Expand All @@ -144,7 +144,7 @@
{
name: "status",
sortField: "status",
label: "STATUS",
label: this.$t('Status'),
field: "status",
width: 160,
sortable: true,
Expand All @@ -163,7 +163,7 @@
{
name: "updated_at",
sortField: "updated_at",
label: "MODIFIED",
label: this.$t('Modified'),
field: "updated_at",
width: 160,
sortable: true,
Expand All @@ -174,7 +174,7 @@
{
name: "created_at",
sortField: "created_at",
label: "CREATED",
label: this.$t('Created'),
field: "created_at",
width: 160,
sortable: true,
Expand Down
10 changes: 5 additions & 5 deletions resources/js/processes/components/ArchivedProcessList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,32 +173,32 @@ export default {

fields: [
{
label: "NAME",
label: this.$t("Name"),
field: "name",
width: 200,
sortable: true,
},
{
label: "CATEGORY",
label: this.$t("Category"),
field: "category_list",
width: 160,
sortable: true,
},
{
label: "OWNER",
label: this.$t("Owner"),
field: "owner",
width: 160,
sortable: true,
},
{
label: "MODIFIED",
label: this.$t("Modified"),
field: "updated_at",
format: "datetime",
width: 160,
sortable: true,
},
{
label: "CREATED",
label: this.$t("Created"),
field: "created_at",
format: "datetime",
width: 160,
Expand Down
10 changes: 5 additions & 5 deletions resources/js/processes/components/ProcessesListing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -207,39 +207,39 @@ export default {

fields: [
{
label: "NAME",
label: this.$t("Name"),
field: "name",
width: 200,
sortable: true,
truncate: true,
direction: "none",
},
{
label: "CATEGORY",
label: this.$t("Category"),
field: "category_list",
width: 160,
sortable: true,
direction: "none",
sortField: "category.name",
},
{
label: "OWNER",
label: this.$t("Owner"),
field: "owner",
width: 160,
sortable: true,
direction: "none",
sortField: "user.username",
},
{
label: "MODIFIED",
label: this.$t("Modified"),
field: "updated_at",
format: "datetime",
width: 160,
sortable: true,
direction: "none",
},
{
label: "CREATED",
label: this.$t("Created"),
field: "created_at",
format: "datetime",
width: 160,
Expand Down
13 changes: 9 additions & 4 deletions resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2019,11 +2019,16 @@
"Zoom Out": "Zoom Out",
"Pan Tool": "Pan Tool",
"Type value": "Type value",
"No new notifications at the moment.": "No new notifications at the moment.",
"All Clear": "All Clear",
"Notifications, No New Messages": "Notifications, No New Messages",
"Case #": "Case #",
"Case title": "Case title",
"Task name": "Task name",
"Due date": "Due date"
"Due date": "Due date",
"AI Generated": "AI Generated",
"Photo/Video": "Photo/Video",
"Bootstrap Component": "Bootstrap Component",
"Bootstrap Wrapper": "Bootstrap Wrapper",
"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"
}