refactor: use i18n in every data component

This commit is contained in:
Rainer Killinger
2021-03-22 13:40:49 +01:00
parent 1a8660590f
commit 55be9d4d4e
40 changed files with 156 additions and 337 deletions

View File

@@ -5,7 +5,19 @@
"detail": {
"TITLE": "Detailansicht",
"NOT_FOUND": "Nicht gefunden",
"COULD_NOT_CONNECT": "Verbindung fehlgeschlagen"
"COULD_NOT_CONNECT": "Verbindung fehlgeschlagen",
"address": {
"TITLE": "Adresse",
"STREET": "Straße",
"POSTCODE": "Postleitzahl",
"CITY": "Stadt",
"REGION": "Region",
"Country": "Land",
"POST_OFFICE_BOX": "Postfach"
},
"offers": {
"TITLE": "Angebote"
}
},
"types": {
"dish": {
@@ -13,12 +25,25 @@
"AVG_NUTRITION_INFO": "Durchschnittliche Nährwertangaben",
"CALORIES": "Brennwert",
"FAT_TOTAL": "Fett",
"FAT_SATURATED": "davon gesättinge Fettsäuren",
"FAT_SATURATED": "davon gesättigte Fettsäuren",
"CARBOHYDRATE" : "Kohlenhydrate",
"SALT": "Salz",
"SUGAR": "davon Zucker",
"PROTEIN": "Protein"
}
},
"origin": {
"TITLE": "Ursprung",
"USER": "Nutzer",
"REMOTE": "Datenquelle",
"detail": {
"CREATED": "Erstellt am",
"UPDATED": "Aktualisiert am",
"MODIFIED": "Geändert am",
"INDEXED": "Indexiert am",
"MAINTAINER": "zur Verfügung gestellt von",
"RESPONSIBLE": "Verantwortlich"
}
}
}
},

View File

@@ -5,7 +5,19 @@
"detail": {
"TITLE": "Details",
"NOT_FOUND": "Not found",
"COULD_NOT_CONNECT": "Couldn't connect"
"COULD_NOT_CONNECT": "Couldn't connect",
"address": {
"TITLE": "address",
"STREET": "street",
"POSTCODE": "postcode",
"CITY": "city",
"REGION": "region",
"Country": "country",
"POST_OFFICE_BOX": "post office box"
},
"offers": {
"TITLE": "offers"
}
},
"types": {
"dish": {
@@ -19,6 +31,19 @@
"SUGAR": "Sugars",
"PROTEIN": "Protein"
}
},
"origin": {
"TITLE": "origin",
"USER": "user",
"REMOTE": "remote",
"detail": {
"CREATED": "created at",
"UPDATED": "updated at",
"MODIFIED": "modified at",
"INDEXED": "indexed",
"MAINTAINER": "maintainer",
"RESPONSIBLE": "responsible entity"
}
}
}
},
@@ -45,7 +70,7 @@
},
"settings": {
"resetAlert.title": "Reset all settings?",
"resetAlert.message": "Are you shure to reset all settings to defaults values?",
"resetAlert.message": "Are you sure to reset all settings to their default values?",
"resetAlert.buttonYes": "yes",
"resetAlert.buttonCancel": "cancel",
"resetToast.message": "Settings reset",