From 8f73a070bb4612abaad4a65500b32686c1a45005 Mon Sep 17 00:00:00 2001 From: Konstantinos Kamaropoulos Date: Tue, 3 Mar 2020 03:22:50 +0200 Subject: [PATCH] feat: Added i18n for ommited logs message --- src/app/map/map.component.html | 3 ++- src/translations/el-GR.json | 6 +++++- src/translations/en-US.json | 6 +++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/app/map/map.component.html b/src/app/map/map.component.html index ec96ca0..4934b3a 100644 --- a/src/app/map/map.component.html +++ b/src/app/map/map.component.html @@ -3,6 +3,7 @@
- Displaying last {{ displayedPoints }} records (ommited {{ ommitedPoints }} data points) + {{ 'DisplayingLast' | translate }} {{ displayedPoints }} {{ 'records' | translate }} ({{ 'ommited' | translate }} + {{ ommitedPoints }} {{ 'dataPoints' | translate }})
diff --git a/src/translations/el-GR.json b/src/translations/el-GR.json index b6ce945..f52e0c3 100644 --- a/src/translations/el-GR.json +++ b/src/translations/el-GR.json @@ -7,5 +7,9 @@ "Map | Aiolos": "Χάρτης | Αίολος", "Chart | Aiolos": "Γράφημα | Αίολος", "ChartTitle": "Μετρήσεις Αισθητήρων", - "Live Update": "Ζωντανή Ενημέρωση" + "Live Update": "Ζωντανή Ενημέρωση", + "DisplayingLast": "Γίνεται προβολή των τελευταίων", + "records": "εγγραφών", + "ommited": "έχουν αποκρυφθεί", + "dataPoints": "στοιχεία" } diff --git a/src/translations/en-US.json b/src/translations/en-US.json index 38d62e8..e11922c 100644 --- a/src/translations/en-US.json +++ b/src/translations/en-US.json @@ -7,5 +7,9 @@ "Map | Aiolos": "Map | Aiolos", "Chart | Aiolos": "Chart | Aiolos", "ChartTitle": "Sensor Readings", - "Live Update": "Live Update" + "Live Update": "Live Update", + "DisplayingLast": "Displaying last", + "records": "records", + "ommited": "ommited", + "dataPoints": "data points" }