diff --git a/packages/i18n/locales/echis/app/en.json b/packages/i18n/locales/echis/app/en.json new file mode 100644 index 000000000..64aa8ab4e --- /dev/null +++ b/packages/i18n/locales/echis/app/en.json @@ -0,0 +1,45 @@ +{ + "404!": "404!", + "Active": "Active", + "Add inventory via CSV": "Add inventory via CSV", + "Administration": "Administration", + "Card Support": "Card Support", + "Care Teams Management": "Care Teams Management", + "Commodity Management": "Commodity Management", + "Complete": "Complete", + "District report": "District report", + "Download Client Data": "Download Client Data", + "Draft": "Draft", + "Draft Files": "Draft Files", + "Form Configuration": "Form Configuration", + "Group Management": "Group Management", + "Healthcare Services": "Healthcare Services", + "Inventory": "Inventory", + "JSON Validators": "JSON Validators", + "Location Management": "Location Management", + "Location Unit Group": "Location Unit Group", + "Location Units": "Location Units", + "Login": "Login", + "Logout": "Logout", + "Manage account": "Manage account", + "Manifest Releases": "Manifest Releases", + "Missing the required permissions to view data on this page": "Missing the required permissions to view data on this page", + "OpenSRP Web": "OpenSRP Web", + "Patients": "Patients", + "Plans": "Plans", + "Product Catalogue": "Product Catalogue", + "Questionnaire Management": "Questionnaire Management", + "Reports": "Reports", + "Retired": "Retired", + "Server Settings": "Server Settings", + "Service point inventory": "Service point inventory", + "Team Assignment": "Team Assignment", + "Team Management": "Team Management", + "Teams": "Teams", + "There was a problem logging out. Please try again.": "There was a problem logging out. Please try again.", + "User Groups": "User Groups", + "User Management": "User Management", + "User Roles": "User Roles", + "Users": "Users", + "Welcome to OpenSRP": "Welcome to eCHIS" +} diff --git a/packages/pkg-config/src/configStore/index.ts b/packages/pkg-config/src/configStore/index.ts index c6743198c..3ef75a8a7 100644 --- a/packages/pkg-config/src/configStore/index.ts +++ b/packages/pkg-config/src/configStore/index.ts @@ -4,7 +4,7 @@ import { USER_PREFERENCE_KEY } from '../constants'; import { PaginationProps } from 'antd/lib/pagination/Pagination'; export const supportedLanguageCodes = ['en', 'sw', 'fr', 'ar', 'th', 'vi'] as const; -export const supportedProjectCode = ['eusm', 'core'] as const; +export const supportedProjectCode = ['eusm', 'core', 'echis'] as const; export type LanguageCode = typeof supportedLanguageCodes[number]; export type ProjectCode = typeof supportedProjectCode[number]; diff --git a/scripts/i18nExtraction.js b/scripts/i18nExtraction.js index be1c08e09..c520f0144 100755 --- a/scripts/i18nExtraction.js +++ b/scripts/i18nExtraction.js @@ -89,7 +89,7 @@ const filterValidPackageFolders = (packageFolders, allValidPackages) => { return validPaths; }; -const supportedProjectCodes = ['eusm', 'core']; +const supportedProjectCodes = ['eusm', 'core', 'echis']; const extractionRunner = (argvConfigs, packageSemiPaths) => { const { locales, projectCode, verbose, useKeysAsDefaultValue, createOldCatalogs } = argvConfigs;