From d729461b9024c3b17330815400b1606b7e495988 Mon Sep 17 00:00:00 2001 From: Bernd Storath <999999bst@gmail.com> Date: Mon, 10 Feb 2025 14:25:32 +0100 Subject: [PATCH] add i18n keys --- src/app/pages/admin/index.vue | 22 +++++++++++++--------- src/i18n/locales/en.json | 15 +++++++++++++-- 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/src/app/pages/admin/index.vue b/src/app/pages/admin/index.vue index fb711551..aa7f18e9 100644 --- a/src/app/pages/admin/index.vue +++ b/src/app/pages/admin/index.vue @@ -5,27 +5,31 @@ - Metrics + {{ $t('general.metrics') }} + - - Actions - - + {{ $t('form.actions') }} + + diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 3d40afe5..29cfc7fa 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -107,7 +107,6 @@ }, "name": "Name", "username": "Username", - "password": "Password", "signIn": "Sign In", "logout": "Logout", "updateAvailable": "There is an update available!", @@ -151,5 +150,17 @@ "error": { "clear": "Clear", "login": "Log in error" - } + }, + "general": { + "sessionTimeout": "Session Timeout", + "metrics": "Metrics", + "prometheus": "Prometheus", + "json": "JSON" + }, + "form": { + "actions": "Actions", + "save": "Save", + "revert": "Revert" + }, + "password": "Password" }