From ab78d9c2c32f6ee59d94fd4367ce0b5998596cc1 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 2 Apr 2024 13:26:32 +0200 Subject: small language improvement --- client-web/source/locale/mod.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client-web/source/locale/mod.ts') diff --git a/client-web/source/locale/mod.ts b/client-web/source/locale/mod.ts index 4a570ce..55aa79d 100644 --- a/client-web/source/locale/mod.ts +++ b/client-web/source/locale/mod.ts @@ -13,6 +13,7 @@ export function init_locale(lang: string) { export const LOCALES: { [key: string]: LanguageStrings } = { "en": PO_EN_US, "en-US": PO_EN_US, + "en-GB": PO_EN_US, // close enough "de": PO_DE_DE, "de-DE": PO_DE_DE, } @@ -71,7 +72,7 @@ export interface LanguageStrings { mute: string, video_stream: string, audio_stream: string, - enable: string, + enable: (thing: string) => string, disable: string, notification_perm_explain: string, grant: string, -- cgit v1.2.3-70-g09d2