Skip to content

Commit

Permalink
Merge pull request #1238 from opensrp/1220-add-echis-uganda-translati…
Browse files Browse the repository at this point in the history
…on-files

Add echis translation files
  • Loading branch information
mutuajames authored Jul 27, 2023
2 parents f8e0567 + 839050a commit 7409a92
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 2 deletions.
45 changes: 45 additions & 0 deletions packages/i18n/locales/echis/app/en.json
Original file line number Diff line number Diff line change
@@ -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"
}
2 changes: 1 addition & 1 deletion packages/pkg-config/src/configStore/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion scripts/i18nExtraction.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7409a92

Please sign in to comment.