summaryrefslogtreecommitdiff
path: root/client-web/source/locale
diff options
context:
space:
mode:
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,