diff --git a/medicines-frontend/src/app/components/medicines/medicines-table/medicines-table.component.html b/medicines-frontend/src/app/components/medicines/medicines-table/medicines-table.component.html
index f888bf6..385fb0e 100644
--- a/medicines-frontend/src/app/components/medicines/medicines-table/medicines-table.component.html
+++ b/medicines-frontend/src/app/components/medicines/medicines-table/medicines-table.component.html
@@ -45,7 +45,7 @@
-
+
|
diff --git a/medicines-frontend/src/app/components/medicines/medicines-table/medicines-table.component.ts b/medicines-frontend/src/app/components/medicines/medicines-table/medicines-table.component.ts
index c9e0cd1..6b5d262 100644
--- a/medicines-frontend/src/app/components/medicines/medicines-table/medicines-table.component.ts
+++ b/medicines-frontend/src/app/components/medicines/medicines-table/medicines-table.component.ts
@@ -99,4 +99,8 @@ export class MedicinesTableComponent implements OnInit{
)
}
}
+
+ translateGenericValue(generic: string){
+ return this.translateService.instant("medicine."+generic);
+ }
}
diff --git a/medicines-frontend/src/assets/i18n/en.json b/medicines-frontend/src/assets/i18n/en.json
index f13f129..6afbafe 100644
--- a/medicines-frontend/src/assets/i18n/en.json
+++ b/medicines-frontend/src/assets/i18n/en.json
@@ -20,7 +20,9 @@
"notification": {
"title": "Medicine",
"medicine-not-found": "Medicine Not Found"
- }
+ },
+ "false": "No",
+ "true": "Yes"
},
"medication": {
"add-modal": {
diff --git a/medicines-frontend/src/assets/i18n/pt.json b/medicines-frontend/src/assets/i18n/pt.json
index 35711a5..aaf1241 100644
--- a/medicines-frontend/src/assets/i18n/pt.json
+++ b/medicines-frontend/src/assets/i18n/pt.json
@@ -20,7 +20,9 @@
"notification": {
"title": "Medicamentos",
"medicine-not-found": "Medicamento não encontrado"
- }
+ },
+ "false": "Não",
+ "true": "Sim"
},
"medication": {
"add-modal": {
|