Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add translations #76

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
Loading