@openmrs/esm-translations
Version:
O3 Framework module for translation support
80 lines (76 loc) • 2.8 kB
text/typescript
/** Please keep these alphabetized */
const addressFields = {
address1: 'Address line 1',
address2: 'Address line 2',
address3: 'Address line 3',
address4: 'Address line 4',
address5: 'Address line 5',
address6: 'Address line 6',
city: 'City',
cityVillage: 'City',
country: 'Country',
countyDistrict: 'District',
district: 'District',
postalCode: 'Postal code',
state: 'State',
stateProvince: 'State',
};
const workspaceTranslations = {
closeAllOpenedWorkspaces: 'Discard changes in {{count}} workspaces',
closingAllWorkspacesPromptBody:
'There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}',
closingAllWorkspacesPromptTitle: 'You have unsaved changes',
discard: 'Discard',
hide: 'Hide',
maximize: 'Maximize',
minimize: 'Minimize',
openAnyway: 'Open anyway',
unsavedChangesInOpenedWorkspace: `You may have unsaved changes in the opened workspace. Do you want to discard these changes?`,
unsavedChangesInWorkspace:
'There may be unsaved changes in "{{workspaceName}}". Please save them before opening another workspace.',
unsavedChangesTitleText: 'Unsaved changes',
workspaceHeader: 'Workspace header',
};
export const coreTranslations = {
...addressFields,
...workspaceTranslations,
actions: 'Actions',
address: 'Address',
age: 'Age',
cancel: 'Cancel',
change: 'Change',
// Default value for the implementationName config property
Clinic: 'Clinic',
close: 'Close',
confirm: 'Confirm',
contactAdministratorIfIssuePersists: 'Contact your system administrator if the problem persists.',
contactDetails: 'Contact details',
delete: 'Delete',
edit: 'Edit',
error: 'Error',
errorCopy:
'Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.',
female: 'Female',
loading: 'Loading',
male: 'Male',
other: 'Other',
patientIdentifierSticker: 'Patient identifier sticker',
patientLists: 'Patient lists',
print: 'Print',
printError: 'Print error',
printErrorExplainer: 'An error occurred in {{errorLocation}}',
printIdentifierSticker: 'Print identifier sticker',
printing: 'Printing',
relationships: 'Relationships',
resetOverrides: 'Reset overrides',
save: 'Save',
scriptLoadingFailed: 'Error: Script failed to load',
scriptLoadingError:
'Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.',
seeMoreLists: 'See {{count}} more lists',
sex: 'Sex',
showLess: 'Show less',
showMore: 'Show more',
toggleDevTools: 'Toggle dev tools',
unknown: 'Unknown',
};