Skip to content

Commit

Permalink
Added English - Jamaica & English - South Africa locales (#7090)
Browse files Browse the repository at this point in the history
# Description & Issue number it closes 
<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. -->
- Added English - English - South Africa locale
- Added English - South Africa locale


## Screenshots (if appropriate)
<!-- Before and after --> 

![image](https://github.com/user-attachments/assets/f341ae8a-6fbc-48ec-98fa-8f27aafd8d4a)

![image](https://github.com/user-attachments/assets/37248ac1-3bfe-4a2a-ac3a-a03a75f87ec0)

![image](https://github.com/user-attachments/assets/3cd34fb3-d995-4848-9b74-1440a3dd8c22)

## How to test the changes?
- update user locale in settings 

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

# How Has This Been Tested?

<!-- Please describe the tests that you ran to verify your changes.
Provide instructions so we can reproduce. Please also list any relevant
details for your test configuration -->

run `npm run locale-download` and `npm run deploy` to download locale
and rebuild UI

# Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
  • Loading branch information
DawoudIO authored Jul 16, 2024
2 parents 3699af6 + 7c9b6af commit 5902648
Show file tree
Hide file tree
Showing 8 changed files with 554 additions and 12 deletions.
8 changes: 8 additions & 0 deletions locale/JSONKeys/en_JM.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"State": "Parish",
"City, State, Zip": "City, Parish, Zip",
"Default State - Must be 2-letter abbreviation!": "Default Parish - Must be 2-letter abbreviation!",
"Church State": "Church Parish",
"Enter any part of the following: Name, City, State, Zip, Home Phone, Email, or Work Email.": "Enter any part of the following: Name, City, Parish, Zip, Home Phone, Email, or Work Email.",
"Search by any part of Name, City, State, Zip, Home Phone, Email, or Work Email.": "Search by any part of Name, City, Parish, Zip, Home Phone, Email, or Work Email."
}
95 changes: 95 additions & 0 deletions locale/JSONKeys/en_ZA.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"State": "Province",
"Zip": "Postcode",
"Work/Other Email": "Work / Other Email",
"Based on filters below..": "Based on filters below ...",
"Mobile Phone": "Cellphone",
"Select the event to which you would like to add your cart": "Select the event which you would like to add to your cart",
"(Use the textbox for countries other than US and Canada)": "(Use the textbox for countries other than South Africa)",
"Select the group to which you would like to add your cart": "Select the group which you would like to add to your cart",
"Load Authorized Transactions": "Load Authorised Transactions",
"Family Cell Phone": "Family Cellphone",
"Personal Cell Phone": "Personal Cellphone",
"Personal Work/Other Email": "Personal Work / Other Email",
"Event Nonattendees": "Event Non-attendees",
"Warning: By deleting this field, you will irrevokably lose all family data assigned for this field!": "Warning: By deleting this field, you will irrevocably lose all family data assigned for this field!",
"No custom Family fields have been added yet": "No custom family fields have been added yet",
"Help on types..": "Help on types...",
"Unk": "-",
"NonDeductible": "Non-deductible",
"You are about to email copy of the family information to the following emails": "You are about to email a copy of the family information to the following emails",
"Check": "Cheque",
"Generate Catalog": "Generate Catalogue",
"Maximum number of neighbors:": "Maximum number of neighbours:",
"Neighbor Families": "Neighbour Families",
"Show Neighbors": "Show Neighbours",
"GroupRole": "Group Role",
"Warning: By deleting this field, you will irrevokably lose all person data assigned for this field!": "Warning: By deleting this field, you will irrevocably lose all person data assigned for this field!",
"NonDeductible amount can't be greater than total amount.": "Non-deductible amount can't be greater than total amount.",
"Check number not valid for 'CASH' payment": "Cheque number not valid for 'CASH' payment",
"Scan check": "Scan cheque",
"find family from check account #": "find family from cheque account #",
"Set default check account number for family": "Set default cheque account number for family",
"Fall": "Autumn",
"Money amount too large. Maximum is $999999999.99": "Money amount too large. Maximum is R 999999999.99",
"City, State, Zip": "City, Province, Postcode",
"Cell Phone": "Cellphone",
"This option requires at least version 3.22 of MySQL! Hit browser back button to return to ChurchCRM.": "This option requires at least MySQL version 3.22! Hit browser back button to return to ChurchCRM.",
"Total of all purchases: $": "Total of all purchases: R",
"Total purchases: $": "Total purchases: R",
"Paid by ( ) Cash ( ) Check ( ) Credit card __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ Exp __ / __": "Paid by ( ) Cash ( ) Cheque ( ) Credit card __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ Exp __ / __",
"Mobile": "Cell",
"Dad Mobile": "Dad Cell",
"Mom Mobile": "Mom Cell",
"To select multiple hold CTL": "To select multiple press Ctrl key",
"Cell phone": "Cellphone",
"Total $": "Total R",
"with this property..": "with this property...",
"These are the family role numbers designated as head of house": "These are the family role numbers designated as head of household",
"Default State - Must be 2-letter abbreviation!": "Default Province - Must be 2-letter abbreviation!",
"Number of checks for Deposit Slip Report": "Number of cheques for Deposit Slip Report",
"Set true to enable use of scanned checks": "Set true to enable use of scanned cheques",
"Church State": "Church Province",
"Church Zip": "Church Postcode",
"Zip Code": "Postcode",
"WorkEmail": "Work Email",
"Enter any part of the following: Name, City, State, Zip, Home Phone, Email, or Work Email.": "Enter any part of the following: Name, City, Province, Postcode, Home Phone, Email, or Work Email.",
"CustomSearch": "Custom Search",
"Search by any part of Name, City, State, Zip, Home Phone, Email, or Work Email.": "Search by any part of Name, City, Province, Postcode, Home Phone, Email, or Work Email.",
"People in families that are ok to canvass.": "People in families that are okay to canvass.",
"SMTP Server info are blank": "SMTP Server info is blank",
"Your system could be more secure by installing an TLS/SSL Cert.": "Your system could be more secure by installing a TLS/SSL certificate.",
"Page not fond": "Page not found",
"Make user-entered zip/postcodes UPPERCASE when saving to the database.": "Make user-entered zip/postcodes in UPPER-CASE when saving to the database.",
"Church Checking Account Number": "Church Chequeing Account Number",
"Increase the php upload limits to allow for mobile photo upload, and backup restore.": "Increase the PHP upload limits to allow for mobile photo upload, and backup restore.",
"Show neighbors with these classifications:": "Show neighbours with these classifications:",
"KioskVisibilityTimestamp": "Kiosk Visibility Timestamp",
"Check Number": "Cheque Number",
"Show Family Head of House Names": "Show Family Head of Household Names",
"PersonID for Cart must be numeric": "Person ID for Cart must be numeric",
"Set the encryption system to use - ssl (deprecated) or tls": "Set the encryption system to use - SSL (deprecated) or TLS",
"User must have MenuOptions permission": "User must have Menu Options permission",
"Invalid request: Missing calendar id": "Invalid request: Missing calendar ID",
"Not Found: Unknown calendar id": "Not Found: Unknown calendar ID",
"no found or user without an email": "not found or user without an email",
"Foreground Color": "Foreground Colour",
"Background Color": "Background Colour",
"invalid event type id": "invalid event type ID",
"invalid group id": "invalid group ID",
"Remote Backup Endpoint. If WebDAV, this must be url encoded. ": "Remote Backup Endpoint. If WebDAV, this must be URL encoded. ",
"Missing event id": "Missing event ID",
"Unexpected Person Id": "Unexpected Person ID",
"2 Factor Authentication enrollment": "2 Factor Authentication enrolment",
"Unable To Begin Two Factor Authentication Enrollment": "Unable To Begin Two Factor Authentication Enrolment",
"List not inList": "List not in List",
"Invalid List id": "Invalid List ID",
"Beginning enrollment will invalidate any previously enrolled 2 factor devices and recovery codes.": "Beginning enrolment will invalidate any previously enrolled 2 factor devices and recovery codes.",
"When you click next, you'll be prompted to scan a QR code to enroll your authenticator app.": "When you click next, you'll be prompted to scan a QR code to enrol your authenticator app.",
"To confirm enrollment, you'll need to enter the code generated by your authenticator app": "To confirm enrolment, you'll need to enter the code generated by your authenticator app",
"After confirming app enrollment, single-use recovery codes will be generated and displayed.": "After confirming app enrolment, single-use recovery codes will be generated and displayed.",
"Begin Two Factor Authentication Enrollment": "Begin Two Factor Authentication Enrolment",
"Enter TOTP code to confirm enrollment": "Enter TOTP code to confirm enrolment",
"2 Factor Authentication Enrollment Success": "2 Factor Authentication Enrolment Success",
"Default Zip": "Default Postcode"
}
24 changes: 12 additions & 12 deletions locale/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgstr ""
"#-#-#-#-# messages.po (PACKAGE VERSION) #-#-#-#-#\n"
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-15 15:27-0700\n"
"POT-Creation-Date: 2024-07-13 15:17-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -25,8 +25,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2024-06-15T22:28:01.246Z\n"
"PO-Revision-Date: 2024-06-15T22:28:01.248Z\n"
"POT-Creation-Date: 2024-07-13T22:17:25.465Z\n"
"PO-Revision-Date: 2024-07-13T22:17:25.466Z\n"
"Language: en\n"

msgid "Backup Database"
Expand Down Expand Up @@ -624,9 +624,6 @@ msgstr ""
msgid "Data/Reports"
msgstr ""

msgid "Canvass Automation"
msgstr ""

msgid "Query Menu"
msgstr ""

Expand Down Expand Up @@ -5560,9 +5557,6 @@ msgstr ""
msgid "Recent friends"
msgstr ""

msgid "Families to Canvass"
msgstr ""

msgid "Pledge comparison"
msgstr ""

Expand Down Expand Up @@ -5619,9 +5613,6 @@ msgstr ""
msgid "Friends who signed up in previous months"
msgstr ""

msgid "People in families that are ok to canvass."
msgstr ""

msgid "Compare pledges between two fiscal years"
msgstr ""

Expand Down Expand Up @@ -6618,6 +6609,12 @@ msgstr ""
msgid "English - Great Britain"
msgstr ""

msgid "English - South Africa"
msgstr ""

msgid "English - Jamaica"
msgstr ""

msgid "English - United States"
msgstr ""

Expand Down Expand Up @@ -6675,6 +6672,9 @@ msgstr ""
msgid "Spanish - Spain"
msgstr ""

msgid "Swahili"
msgstr ""

msgid "Sami (Northern) (Sweden)"
msgstr ""

Expand Down
20 changes: 20 additions & 0 deletions src/locale/locales.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,26 @@
"datePicker": false,
"select2": false
},
"English - South Africa": {
"poEditor": "en-za",
"locale": "en_ZA",
"languageCode": "en",
"countryCode": "ZA",
"dataTables": "English",
"fullCalendar": false,
"datePicker": false,
"select2": false
},
"English - Jamaica": {
"poEditor": "en-jm",
"locale": "en_JM",
"languageCode": "en",
"countryCode": "JM",
"dataTables": "English",
"fullCalendar": false,
"datePicker": false,
"select2": false
},
"English - United States": {
"poEditor": "en-US",
"locale": "en_US",
Expand Down
Binary file added src/locale/textdomain/en_JM/LC_MESSAGES/messages.mo
Binary file not shown.
34 changes: 34 additions & 0 deletions src/locale/textdomain/en_JM/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: POEditor.com\n"
"Project-Id-Version: ChurchCRM\n"
"Language: en-jm\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#:
msgid "State"
msgstr "Parish"

#:
msgid "City, State, Zip"
msgstr "City, Parish, Zip"

#:
msgid "Default State - Must be 2-letter abbreviation!"
msgstr "Default Parish - Must be 2-letter abbreviation!"

#:
msgid "Church State"
msgstr "Church Parish"

#:
msgid "Enter any part of the following: Name, City, State, Zip, Home Phone, Email, or Work Email."
msgstr "Enter any part of the following: Name, City, Parish, Zip, Home Phone, Email, or Work Email."

#:
msgid "Search by any part of Name, City, State, Zip, Home Phone, Email, or Work Email."
msgstr "Search by any part of Name, City, Parish, Zip, Home Phone, Email, or Work Email."

Binary file not shown.
Loading

0 comments on commit 5902648

Please sign in to comment.