From 6da1288dac8f4883dd5e096934e057e66865dd07 Mon Sep 17 00:00:00 2001 From: Paul Frank Date: Sat, 23 Mar 2024 13:42:02 +0000 Subject: [PATCH] Update localization --- .devcontainer/devcontainer.json | 1 - src/components/ConsumptionCard.vue | 2 +- src/translations/de.json | 2 +- src/translations/en.json | 2 +- src/translations/nl.json | 2 +- src/views/Statistics.vue | 8 ++++---- 6 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7a40b78..8b0085a 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -23,7 +23,6 @@ "vscode": { "extensions": [ "vue.volar", - "Vue.vscode-typescript-vue-plugin", "Lokalise.i18n-ally", "heybourn.headwind" ] diff --git a/src/components/ConsumptionCard.vue b/src/components/ConsumptionCard.vue index b3d19a2..c330c3d 100644 --- a/src/components/ConsumptionCard.vue +++ b/src/components/ConsumptionCard.vue @@ -33,7 +33,7 @@ > -
Today:
+
{{$t('period.today')}}:
{{ $t('self_sufficiency') }} diff --git a/src/translations/de.json b/src/translations/de.json index 28edad1..d9cc44f 100644 --- a/src/translations/de.json +++ b/src/translations/de.json @@ -65,7 +65,7 @@ "show_menu": "Menü anzeigen/verbergen" }, "unavailable": "Nicht verfügbar", - "statistics": { + "period": { "today": "Heute", "week": "Woche", "month": "Monat", diff --git a/src/translations/en.json b/src/translations/en.json index 42d2749..d2fac6a 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -66,7 +66,7 @@ "show_menu": "Show/hide menu" }, "unavailable": "unavailable", - "statistics": { + "period": { "today": "Today", "week": "Week", "month": "Month", diff --git a/src/translations/nl.json b/src/translations/nl.json index 18483cb..da1e0ae 100644 --- a/src/translations/nl.json +++ b/src/translations/nl.json @@ -58,7 +58,7 @@ "show_menu": "Toon/verberg menu" }, "unavailable": "Niet beschikbaar", - "statistics": { + "period": { "today": "Vandaag", "week": "Week", "month": "Maand", diff --git a/src/views/Statistics.vue b/src/views/Statistics.vue index 9dce45c..2839bed 100644 --- a/src/views/Statistics.vue +++ b/src/views/Statistics.vue @@ -7,16 +7,16 @@