From ba159e1a3eb61315c3e29d25936bea756f3fd73e Mon Sep 17 00:00:00 2001
From: Mysterious_Dev <40738104+Mysterious-Dev@users.noreply.github.com>
Date: Mon, 13 Nov 2023 21:04:35 +0100
Subject: [PATCH] Add translation keys for Environment Indicator component
(#136)
* Begin Work
* Finish work
---
lib/components/base/EnvironmentIndicator.vue | 42 ++++++++++++++++----
locales/en-US/index.json | 18 +++++++++
2 files changed, 53 insertions(+), 7 deletions(-)
diff --git a/lib/components/base/EnvironmentIndicator.vue b/lib/components/base/EnvironmentIndicator.vue
index 2a8521c6..5ec43772 100644
--- a/lib/components/base/EnvironmentIndicator.vue
+++ b/lib/components/base/EnvironmentIndicator.vue
@@ -1,7 +1,7 @@
- A {{ type }}
+ {{ formatMessage(messages.typeLabel, { type: type }) }}
- Client or server
+ {{ formatMessage(messages.clientOrServerLabel) }}
- Client and server
+ {{ formatMessage(messages.clientAndServerLabel) }}
- Client
+ {{ formatMessage(messages.clientLabel) }}
- Server
+ {{ formatMessage(messages.serverLabel) }}
- Unsupported
+ {{ formatMessage(messages.unsupportedLabel) }}
- A {{ type }}
+ {{ formatMessage(messages.typeLabel, { type: type }) }}