Skip to content
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

[MPDX-8322] Update translations #1132

Merged
merged 3 commits into from
Oct 14, 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
9 changes: 7 additions & 2 deletions onesky/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,17 @@ onesky
if (!fs.existsSync('public/locales/' + lang.code)) {
fs.promises.mkdir('public/locales/' + lang.code);
}
const sortedContent = Object.fromEntries(
Object.entries(JSON.parse(langContent)).sort(([key1], [key2]) =>
key1.localeCompare(key2),
),
);
fs.promises.writeFile(
'public/locales/' + lang.code + '/translation.json',
langContent,
JSON.stringify(sortedContent, null, 2),
);
// For printing results in CLI log
console.log(langContent);
console.log(sortedContent);
})
.catch(function (langError) {
console.log(langError); // log error results
Expand Down
3,850 changes: 1,795 additions & 2,055 deletions public/locales/ar/translation.json

Large diffs are not rendered by default.

3,850 changes: 1,795 additions & 2,055 deletions public/locales/de-CH/translation.json

Large diffs are not rendered by default.

3,850 changes: 1,795 additions & 2,055 deletions public/locales/de/translation.json

Large diffs are not rendered by default.

1,797 changes: 1,797 additions & 0 deletions public/locales/en-US/translation.json

Large diffs are not rendered by default.

54 changes: 39 additions & 15 deletions public/locales/en/translation.json

Large diffs are not rendered by default.

18 changes: 16 additions & 2 deletions public/locales/en/translation_old.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"--All Hidden --": "--All Hidden --",
"{{appName}}": "{{appName}}",
"{{status}}": "{{status}}",
"{{tooldesc}}": "{{tooldesc}}",
"{{toolname}}": "{{toolname}}",
"© {{ year }}, Cru. All Rights Reserved.": "© {{ year }}, Cru. All Rights Reserved.",
Expand All @@ -21,8 +23,11 @@
"Are you sure you wish to delete the selected task?": "Are you sure you wish to delete the selected task?",
"Are you sure you wish to delete this donation?": "Are you sure you wish to delete this donation?",
"Are you sure you wish to delete this phone number:": "Are you sure you wish to delete this phone number:",
"Are you sure you wish to hide {{source}}? Hiding a contact in MPDX actually sets the contact status to \"Never Ask\".": "Are you sure you wish to hide {{source}}? Hiding a contact in MPDX actually sets the contact status to \"Never Ask\".",
"Are you sure you wish to leave {{source}}'s commitment information unchanged?": "Are you sure you wish to leave {{source}}'s commitment information unchanged?",
"Are you sure you wish to remove this commitment?": "Are you sure you wish to remove this commitment?",
"Are you sure you wish to remove this contact from the appeal?": "Are you sure you wish to remove this contact from the appeal?",
"Are you sure you wish to update {{source}} commitment info?": "Are you sure you wish to update {{source}} commitment info?",
"Ask In Future": "Ask In Future",
"ASK_IN_FUTURE": "Ask In Future",
"ATTEMPTED": "Attempted",
Expand All @@ -40,6 +45,7 @@
"Commited": "Commited",
"Complete {{activityType}}": "Complete {{activityType}}",
"COMPLETED": "Completed",
"Congratulations!<1></1>You&apos;re all set!": "Congratulations!<1></1>You&apos;re all set!",
"Contact commitment info updated!": "Contact commitment info updated!",
"Contact for Appointment": "Contact for Appointment",
"Contact For Appointment": "Contact For Appointment",
Expand All @@ -48,6 +54,7 @@
"Contact(s) completed successfully": "Contact(s) completed successfully",
"Contact(s) deleted successfully": "Contact(s) deleted successfully",
"Contacts ({{ contactCount }})": "Contacts ({{ contactCount }})",
"Contacts that appear here have an empty Newsletter Status and Partner Status set to Financial, Special, or Pray. Choose a newsletter status for contacts below.": "Contacts that appear here have an empty Newsletter Status and Partner Status set to Financial, Special, or Pray. Choose a newsletter status for contacts below.",
"Converted Amount": "Converted Amount",
"Correspondence": "Correspondence",
"Create Referral Dialog": "Create Referral Dialog",
Expand Down Expand Up @@ -84,6 +91,9 @@
"From: {{where}}": "From: {{where}}",
"Gifts": "Gifts",
"Go to help": "Go to help",
"Good Afternoon, {{ firstName }}.": "Good Afternoon, {{ firstName }}.",
"Good Evening, {{ firstName }}.": "Good Evening, {{ firstName }}.",
"Good Morning, {{ firstName }}.": "Good Morning, {{ firstName }}.",
"Greeting (used in export)": "Greeting (used in export)",
"Historic": "Historic",
"HOURS": "Hours",
Expand All @@ -108,6 +118,7 @@
"Monthly Activity": "Monthly Activity",
"Monthly Commitment Average": "Monthly Commitment Average",
"Monthly Commitment Goal": "Monthly Commitment Goal",
"MPDX": "MPDX",
"Must use a positive number for Admin Cost": "Must use a positive number for Admin Cost",
"Must use a positive number for Initial Goal": "Must use a positive number for Initial Goal",
"Must use a positive number for Letter Cost": "Must use a positive number for Letter Cost",
Expand Down Expand Up @@ -154,6 +165,7 @@
"QUARTERLY": "Quarterly",
"Received\u200c\u2060": "Received\u200c\u2060",
"RECEIVED": "Received",
"Redirecting you back to the old MPDx application.": "Redirecting you back to the old MPDx application.",
"Referral Date": "Referral Date",
"Referrals": "Referrals",
"Referrals Gained": "Referrals Gained",
Expand Down Expand Up @@ -200,11 +212,13 @@
"UNRESPONSIVE": "Unresponsive",
"Week on MPD:": "Week on MPD:",
"WEEKLY": "Weekly",
"What's New": "What's New",
"Yearly": "Yearly",
"You can setup an organization account to import your financial accounts.": "You can setup an organization account to import your financial accounts.",
"You have {{amount}} possible duplicate contacts. This is sometimes caused when you imported data into {{appName}}. We recommend reconciling these as soon as possible. Please select the duplicate that should win the merge. No data will be lost.": "You have {{amount}} possible duplicate contacts. This is sometimes caused when you imported data into {{appName}}. We recommend reconciling these as soon as possible. Please select the duplicate that should win the merge. No data will be lost.",
"You have {{amount}} possible duplicate contacts. This is sometimes caused when you imported data into {{appName}}. We recommend reconciling these as soon as possible. Please select the duplicate that should win the merge. No data will be lost. ": "You have {{amount}} possible duplicate contacts. This is sometimes caused when you imported data into {{appName}}. We recommend reconciling these as soon as possible. Please select the duplicate that should win the merge. No data will be lost. ",
"You have {{amount}} possible duplicate people. This is sometimes caused when you imported data into {{appName}}. We recommend reconciling these as soon as possible. Please select the duplicate that should win the merge. No data will be lost.": "You have {{amount}} possible duplicate people. This is sometimes caused when you imported data into {{appName}}. We recommend reconciling these as soon as possible. Please select the duplicate that should win the merge. No data will be lost.",
"You have {{count}} total {{page}}s": "You have {{count}} total {{page}}s",
"You have 42 total contacts": "You have 42 total contacts"
"You have 42 total contacts": "You have 42 total contacts",
"You have no financial accounts": "You have no financial accounts",
"You have received no donations in the last thirteen months": "You have received no donations in the last thirteen months"
}
Loading
Loading