Skip to content

Commit

Permalink
(fix) Fix the module name and add missing translations for medical su…
Browse files Browse the repository at this point in the history
…pply workspace (#5)

* Add missing translations for medical supply workspace

* Fix the module name

* Update translations/fr.json

Co-authored-by: Romain Buisson <rbuisson@users.noreply.github.com>

* Update translations/fr.json

Co-authored-by: Romain Buisson <rbuisson@users.noreply.github.com>

* Update french translations

---------

Co-authored-by: Romain Buisson <rbuisson@users.noreply.github.com>
  • Loading branch information
vasharma05 and rbuisson authored Jan 31, 2025
1 parent fb638d6 commit f54e7a4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"coverage": "yarn test --coverage",
"prepare": "husky install",
"postinstall": "husky install",
"extract-translations": "i18next 'src/**/*.component.tsx' 'src/index.ts' --config ./i18next-parser.config.js",
"extract-translations": "i18next 'src/**/*.component.tsx' 'src/**/*.workspace.tsx' 'src/index.ts' --config ./i18next-parser.config.js",
"test-e2e": "playwright test"
},
"browserslist": [
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const moduleName = '@openmrs/esm-patient-medical-supply-orders-app';
export const moduleName = '@mekomsolutions/esm-patient-medical-supply-orders-app';
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
ArrowLeftIcon,
getDefaultsFromConfigSchema,
ResponsiveWrapper,
useConfig,
useDebounce,
Expand Down
3 changes: 3 additions & 0 deletions translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"additionalInstructions": "Additional instructions",
"addLabOrderPriorityRequired": "Priority is required",
"addOrderableConceptRequired": "Orderable concept is required",
"addOrderForOrderType": "Add {{orderTypeDisplay}}",
"backToOrderBasket": "Back to order basket",
"clearSearchResults": "Clear results",
"directlyAddToBasket": "Add to basket",
"discard": "Discard",
Expand Down Expand Up @@ -32,6 +34,7 @@
"scheduledDate": "Scheduled date",
"scheduledDateRequired": "Scheduled date is required",
"searchAgain": "search again",
"searchFieldOrder": "Search for {{orderType}} order",
"searchMedicalSupplyOrderables": "Search medical supply orderables",
"searchResultsMatchesForTerm_one": "{{count}} results for \"{{searchTerm}}\"",
"searchResultsMatchesForTerm_other": "{{count}} results for \"{{searchTerm}}\"",
Expand Down
6 changes: 5 additions & 1 deletion translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"additionalInstructions": "Instructions supplémentaires",
"addLabOrderPriorityRequired": "La priorité est requise",
"addOrderableConceptRequired": "Le concept est requis",
"addOrderForOrderType": "{{orderTypeDisplay}}",
"backToOrderBasket": "Retour à l'ordonnance",
"clearSearchResults": "Effacer les résultats",
"directlyAddToBasket": "Ajouter à l'ordonnance",
"discard": "Annuler",
Expand Down Expand Up @@ -32,8 +34,10 @@
"scheduledDate": "Date programmée",
"scheduledDateRequired": "La date programmée est requise",
"searchAgain": "Chercher à nouveau",
"searchFieldOrder": "Rechercher",
"searchMedicalSupplyOrderables": "Chercher le matériel ou fourntitures medicales",
"searchResultsMatchesForTerm_one": "{{count}} résultats pour \"{{searchTerm}}\"",
"searchResultsMatchesForTerm_one": "{{count}} résultat pour \"{{searchTerm}}\"",
"searchResultsMatchesForTerm_many": "{{count}} résultats pour \"{{searchTerm}}\"",
"searchResultsMatchesForTerm_other": "{{count}} résultats pour \"{{searchTerm}}\"",
"testType": "Type de materiel medical",
"trySearchingAgain": "Veuillez essayer de chercher à nouveau",
Expand Down

0 comments on commit f54e7a4

Please sign in to comment.