From 135193813c7c37bd8b1e6b1ca5972b0c9d84a410 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Tue, 24 Sep 2024 19:34:20 +0700 Subject: [PATCH] Shorten language names --- src/utils/settings-storages/global-settings-storage.ts | 4 ++-- src/utils/translation.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/settings-storages/global-settings-storage.ts b/src/utils/settings-storages/global-settings-storage.ts index 4ea79a7..95425ad 100644 --- a/src/utils/settings-storages/global-settings-storage.ts +++ b/src/utils/settings-storages/global-settings-storage.ts @@ -135,8 +135,8 @@ export class GlobalSettingsStorage extends BaseSettingsStorage { 'da-DK': 'dansk', 'de-DE': 'Deutsch', 'el-GR': 'Ελληνικά', - 'en-GB': 'English (United Kingdom)', - 'en-US': 'English (United States)', + 'en-GB': 'English (UK)', + 'en-US': 'English (US)', 'es-ES': 'español (España)', 'es-MX': 'español (Latinoamérica)', 'fi-FI': 'suomi', diff --git a/src/utils/translation.ts b/src/utils/translation.ts index d2c67f6..4f721c7 100644 --- a/src/utils/translation.ts +++ b/src/utils/translation.ts @@ -2,7 +2,7 @@ import { NATIVE_FETCH } from "./bx-flags"; import { BxLogger } from "./bx-logger"; export const SUPPORTED_LANGUAGES = { - 'en-US': 'English (United States)', + 'en-US': 'English (US)', 'ca-CA': 'Català', 'da-DK': 'dansk',