aboutsummaryrefslogtreecommitdiff
path: root/client-web/source/locale
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-04-02 13:26:32 +0200
committermetamuffin <metamuffin@disroot.org>2024-04-02 13:26:32 +0200
commitab78d9c2c32f6ee59d94fd4367ce0b5998596cc1 (patch)
tree2bc0c80cfc9394076f37b33a3c867ab6ee599402 /client-web/source/locale
parentbf022dbae8583482d86deec63f0f413e01f8d593 (diff)
downloadkeks-meet-ab78d9c2c32f6ee59d94fd4367ce0b5998596cc1.tar
keks-meet-ab78d9c2c32f6ee59d94fd4367ce0b5998596cc1.tar.bz2
keks-meet-ab78d9c2c32f6ee59d94fd4367ce0b5998596cc1.tar.zst
small language improvement
Diffstat (limited to 'client-web/source/locale')
-rw-r--r--client-web/source/locale/de.ts4
-rw-r--r--client-web/source/locale/en.ts2
-rw-r--r--client-web/source/locale/mod.ts3
3 files changed, 5 insertions, 4 deletions
diff --git a/client-web/source/locale/de.ts b/client-web/source/locale/de.ts
index 174d821..70f1b01 100644
--- a/client-web/source/locale/de.ts
+++ b/client-web/source/locale/de.ts
@@ -9,7 +9,7 @@ export const PO_DE_DE: LanguageStrings = {
microphone: "Mikrofon",
chatbox_placeholder: "Schreibe eine nachricht",
chatbox_label: "Sende nachricht",
- join_message: author => [author, " kommt."],
+ join_message: author => [author, " ist beigetreten."],
leave_message: author => [author, " geht."],
summary_empty_message: "(leere nachricht)",
summery_image: "(bild)",
@@ -60,7 +60,7 @@ export const PO_DE_DE: LanguageStrings = {
video_stream: "Videoübertragung",
audio_stream: "Audioübertragung",
disable: "Deaktivieren",
- enable: "Aktivieren",
+ enable: thing => `${thing} aktivieren`,
status_await_stream: "Übertragung startet…",
notification_perm_explain: "Um Benarchichtigungen zu erhalten, musst du die keks-meet die Berechtigung dafür geben. ",
grant: "Berechtigen",
diff --git a/client-web/source/locale/en.ts b/client-web/source/locale/en.ts
index 418b15c..4f57fc1 100644
--- a/client-web/source/locale/en.ts
+++ b/client-web/source/locale/en.ts
@@ -60,7 +60,7 @@ export const PO_EN_US: LanguageStrings = {
audio_stream: "audio stream",
local: "Local",
disable: "Disable",
- enable: "Enable",
+ enable: thing => `Enable ${thing}`,
status_await_stream: "Awaiting stream…",
notification_perm_explain: "For keks-meet to send notifications, it needs you to grant permission: ",
grant: "Grant",
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,