Skip to content

Commit

Permalink
Add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
makombe committed Jun 6, 2024
1 parent 657748b commit e5a2e02
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"analyze": "webpack --mode=production --env analyze=true",
"build": "webpack --mode production",
"coverage": "yarn test --coverage",
"extract-translations": "i18next 'src/**/*.component.tsx' --config ./i18next-parser.config.js",
"extract-translations": "i18next 'src/**/*.component.tsx' 'src/**/*.extension.tsx' 'src/**/*.workspace.tsx' 'src/index.ts' --config ./i18next-parser.config.js",
"lint": "TIMING=1 eslint src --ext js,jsx,ts,tsx",
"prepare": "husky install",
"prettier": "prettier --write \"src/**/*.{ts,tsx}\" --list-different",
Expand Down
6 changes: 4 additions & 2 deletions src/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,11 @@
"workspaces": [
{
"name": "add-radiology-order",
"title": "addRadiologyOrderWorkspaceTitle",
"type": "order",
"component": "addRadiologyOrderWorkspace",
"type": "order"
"title": "addRadiologyOrderWorkspaceTitle"


}
],
"pages": [
Expand Down
81 changes: 81 additions & 0 deletions translations/en.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,83 @@
{
"actions": "Actions",
"activeOrders": "Active Orders",
"add": "Add",
"additionalInstructions": "Additional instructions",
"addRadiologyOrderWorkspaceTitle": "Add Radiology order",
"approve": "Approve",
"approved": "Approved",
"backToOrderBasket": "Back to order basket",
"bodySite": "Body Site",
"cancel": "Cancel",
"commentsToFulfiller": "Comments To Fulfiller",
"createResponse": "Create Review",
"date": "Date",
"discard": "Discard",
"error": "Error",
"errorLoadingTestTypes": "Error occured when loading test types",
"errorPicking an order', 'Error Picking an Order": "",
"errorPicking', 'Error Creating Review": "",
"errorRejecting order', 'Error Rejecting a order": "",
"errorSavingReport', 'Error occurred while saving the report": "",
"errorUpdatingStatus": "Error updating status",
"fulfillerComment": "Reason Not Done",
"generateSuccessfully": "You have successfully save the report",
"inProgress": "In progress",
"laterality": "Laterality",
"loading": "Loading",
"nextNotes": "Reviewer's notes ",
"noRadiologiesToDisplay": "No Radiologies to display",
"notDone": "Not Done",
"notes": "Enter Comments ",
"noWorklistsToDisplay": "No worklists orders to display",
"orderActionDiscontinue": "Discontinue",
"orderActionIncomplete": "Incomplete",
"orderActionNew": "New",
"orderActionRenew": "Renew",
"orderActionRevise": "Modify",
"orderer": "Orderer",
"orderNumber": "Order Number",
"orderType": "Order type",
"patient": "Patient",
"pending": "Pending",
"pendingOrders": "Active Orders",
"pendingReview": "Pending Review",
"pickedAnOrder": "Picked an order",
"pickRequest": "Pick Request",
"pickSuccessfully": "You have successfully picked an Order",
"pleaseRequiredFields": "Please fill all required fields",
"priority": "Priority",
"procedure": "Procedure",
"procedureInstructions": "Procedure Instructions",
"procedureReport": "Procedure Report",
"procedureReportForm": "Procedure report form",
"radiology": "Radiology",
"radiologyInstructions": "Procedure Order Instructions",
"radiologyInstructionsModal": "Radiology Instructions",
"radiologyOrders": "Radiology orders",
"reasonNotDone": "Reason Not Done",
"referredProcedures": "Referred Out",
"referredTests": "Referred tests",
"rejectOrder": "Reject Order",
"removeFromBasket": "Remove from basket",
"review": "Pending Review",
"reviewReport": "Review Radiology Report",
"saveOrder": "Save order",
"saveReport": "Report updated sucessful",
"scheduleDate": "Scheduled date",
"searchThisList": "Search this list",
"start": "Start",
"status": "Status",
"statusUpdatedSuccessfully": "Status updated successfully",
"successfullyrejected": "",
"tabletOverlay": "Tablet overlay",
"testType": "Test type",
"testTypePlaceholder": "Select one",
"transferred": "Transferred",
"tryReopeningTheForm": "Please try launching the form again",
"underReview": "Under Review",
"urgency": "Urgency",
"view": "View ",
"workList": "WorkList",
"worklistTileLabel": "Worklist"
}

0 comments on commit e5a2e02

Please sign in to comment.