aboutsummaryrefslogtreecommitdiff
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.ts101
-rw-r--r--client-web/source/locale/en.ts101
-rw-r--r--client-web/source/locale/es.ts102
-rw-r--r--client-web/source/locale/ja.ts102
-rw-r--r--client-web/source/locale/mod.ts89
5 files changed, 0 insertions, 495 deletions
diff --git a/client-web/source/locale/de.ts b/client-web/source/locale/de.ts
deleted file mode 100644
index 663aac4..0000000
--- a/client-web/source/locale/de.ts
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- This file is part of keks-meet (https://codeberg.org/metamuffin/keks-meet)
- which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
- Copyright (C) 2024 metamuffin <metamuffin.org>
-*/
-import { LanguageStrings } from "./mod.ts";
-
-export const PO_DE: LanguageStrings = {
- microphone: "Mikrofon",
- chatbox_placeholder: "Schreibe eine nachricht",
- chatbox_label: "Sende nachricht",
- join_message: author => [author, " ist beigetreten."],
- leave_message: author => [author, " geht."],
- summary_empty_message: "(leere nachricht)",
- summery_image: "(bild)",
- camera: "Kamera",
- file: "Datei",
- fullscreen: "Vollbild",
- leave: "Verlassen",
- screen: "Bildschirm",
- image_alt: "Bild (Klicken zum Öffnen)",
- warn_mem_download: "Download zu Arbeitsspeicher, weil Serviceworker nicht verfügbar sind.",
- confirm_update: "Really update?",
- warn_short_secret: "Raumgeheimniss sehr kurz; Verschlüsslung ist nicht sicher.",
- warn_secure_context: "Die Seite ist kein 'Secure Context'",
- warn_no_webrtc: "WebRTC wird nicht unterstützt.",
- warn_no_crypto: "SubtleCrypto ist nicht verfügbar",
- warn_no_sw: "Dein Browser unterstützt die Service Worker API nicht; Erzwungene Updates sind nicht vermeidbar.",
- warn_old_url: "Du wurdest vom alten URL-Format weitergeleitet. Der Server kennt jetzt das Raumgeheimniss; Verschlüsslung ist nicht sicher.",
- confirm_quit: "Du teilst Dinge. Wirklich verlassen?",
- controls: "Steuerung",
- license: "Lizenz",
- source_code: "Quellcode",
- stop_sharing: "Teilen beenden",
- documentation: "Dokumentation",
- known_rooms: "Bekannte Räume",
- chat: "Chat",
- settings: "Einstellungen",
- edit: "Bearbeiten",
- finish_edit: "Fertig",
- local: "Lokal",
- add_current_room: "Aktuellen Raum hinzufügen",
- add: "Hinzufügen",
- move_down: "Runter",
- move_up: "Hoch",
- unknown_user: "Unbekannter Benutzer",
- status_checking: "Prüfen...",
- status_connected: "Verbunden",
- status_failed: "Verbindung fehlgeschlagen",
- status_disconnected: "Verbindung getrennt",
- status_no_conn: "Nicht verbunden",
- status_await_channel_open: "Warten auf Übertragungskanal…",
- status_await_channel_close: "Warten auf das Schließen des Übertragungskanals…",
- downloading: "Lädt herunten…",
- download_again: "Nochmal Heruntenladen",
- download: "Herunterladen",
- status_drain_buffer: amount => `Puffer leeren… (buffer: ${amount})`,
- status_buffering: "Puffert…",
- status_closing: "Kanal schließt…",
- mute: "Stumm",
- video_stream: "Videoübertragung",
- audio_stream: "Audioübertragung",
- disable: "Deaktivieren",
- enable: thing => `${thing} aktivieren`,
- status_await_stream: "Übertragung startet…",
- notification_perm_explain: "Um Benarchichtigungen zu erhalten, musst du keks-meet die Berechtigung dafür geben. ",
- grant: "Berechtigen",
- clear_prefs: "Du willst alle Einstellungen löschen? Benutz den hier: ",
- setting_descs: {
- language: "Sprache",
- warn_redirect: "Interne Option, die der Server bei einer Weiterleitung setzt",
- image_view_popup: "Öffne Bilder in einem neuen Tab",
- webrtc_debug: "Zeige erweiterte Informationen zu WebRTC zeugs",
- screencast_audio: "Anwendungsaudio bei Bildschirmübertragung aufzeichnen",
- microphone_enabled: "Füge eine Mikrofonspur beim Start hinzu",
- screencast_enabled: "Füge eine Bildschirmspur beim Start hinzu",
- camera_enabled: "Füge eine Kameraspur beim Start hinzu",
- rnnoise: "Benutze RNNoise für Rauschunterdrückung",
- native_noise_suppression: "Schlage dem Browser vor, selbst Rauschen zu unterdrücken",
- microphone_gain: "Mikrofonlautstärke",
- video_fps: "Bevorzugte Bildrate (in Hz) für Bildschirm und Kamera",
- video_resolution: "Bevorzugte horizontale Auflösung für Bildschirm und Kamera",
- camera_facing_mode: "Bevorzugte Kameraausrichtung",
- auto_gain_control: "Automatische Mikrofonlautstärkeanpassung",
- echo_cancellation: "Echounterdrückung",
- audio_activity_threshold: "Audioaktivitätsschwellwert",
- optional_audio_default_enable: "Audiospuren automatisch aktivieren",
- optional_video_default_enable: "Videospuren automatisch aktivieren",
- notify_chat: "Sende Benachrichtigungen für eingehende Chatnachrichten",
- notify_join: "Sende Benachrichtigungen, wenn Benutzer beitreten",
- notify_leave: "Sende Benachrichtigungen, wenn Benutzer gehen",
- enable_onbeforeunload: "Frage nach Bestätigung beim Verlassen der Seite, wenn Spuren geteilt sind",
- room_watches: "Bekannte Räume (Als semikolongetrennte Liste von name=geheimnis Paaren)",
- username: "Benutzername",
- show_log: "Zeige ausführlichen log",
- preview_rate: "Preview rate",
- send_previews: "Send video previews",
- preview_resolution: "Preview resolution",
- preview_encoding_quality: "Preview encoding quality (0 - 100)",
- }
-}
diff --git a/client-web/source/locale/en.ts b/client-web/source/locale/en.ts
deleted file mode 100644
index 4498412..0000000
--- a/client-web/source/locale/en.ts
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- This file is part of keks-meet (https://codeberg.org/metamuffin/keks-meet)
- which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
- Copyright (C) 2024 metamuffin <metamuffin.org>
-*/
-import { LanguageStrings } from "./mod.ts";
-
-export const PO_EN: LanguageStrings = {
- microphone: "Microphone",
- chatbox_placeholder: "Type a message",
- chatbox_label: "send message",
- join_message: author => [author, " joined."],
- leave_message: author => [author, " left."],
- summary_empty_message: "(empty message)",
- summery_image: "(image)",
- camera: "Camera",
- file: "File",
- fullscreen: "Fullscreen",
- leave: "Leave",
- screen: "Screen",
- image_alt: "Image (click to open)",
- warn_mem_download: "Downloading to memory because serviceworker is not available.",
- confirm_update: "Really update?",
- warn_short_secret: "Room name is very short. E2EE is insecure!",
- warn_secure_context: "This page is not a 'Secure Context'",
- warn_no_webrtc: "WebRTC not supported.",
- warn_no_crypto: "SubtleCrypto not availible",
- warn_no_sw: "Your browser does not support the Service Worker API, forced automatic updates are unavoidable.",
- warn_old_url: "You were redirected from the old URL format. The server knows the room secret now - E2EE is insecure!",
- confirm_quit: "You have local resources shared. Really quit?",
- controls: "Controls",
- license: "License",
- source_code: "Source code",
- stop_sharing: "Stop sharing",
- documentation: "Documentation",
- known_rooms: "Known Rooms",
- chat: "Chat",
- settings: "Settings",
- edit: "Edit",
- finish_edit: "Finish edit",
- add_current_room: "Add current room",
- add: "Add",
- move_down: "Move down",
- move_up: "Move up",
- unknown_user: "Unknown user",
- status_checking: "Checking...",
- status_connected: "Connected",
- status_failed: "Connection failed",
- status_disconnected: "Disconnected",
- status_no_conn: "Not connected",
- status_await_channel_open: "Waiting for data channel to open…",
- status_await_channel_close: "Waiting for data channel to close…",
- downloading: "Downloading…",
- download_again: "Download again",
- download: "Download",
- status_drain_buffer: amount => `Draining buffers… (buffer: ${amount})`,
- status_buffering: "Buffering…",
- status_closing: "Channel closing…",
- mute: "Mute",
- video_stream: "video stream",
- audio_stream: "audio stream",
- local: "Local",
- disable: "Disable",
- 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",
- clear_prefs: "Want to clear all settings? Use this:",
- setting_descs: {
- language: "Interface Language",
- warn_redirect: "Internal option that is set by a server redirect.",
- image_view_popup: "Open image in popup instead of new tab",
- webrtc_debug: "Show additional information for WebRTC related stuff",
- screencast_audio: "Include audio when sharing your screen.",
- microphone_enabled: "Add one microphone track on startup",
- screencast_enabled: "Add one screencast track on startup",
- camera_enabled: "Add one camera track on startup",
- rnnoise: "Use RNNoise for noise suppression",
- native_noise_suppression: "Suggest the browser to do noise suppression",
- microphone_gain: "Amplify microphone volume",
- video_fps: "Preferred framerate (in 1/s) for screencast and camera",
- video_resolution: "Preferred horizontal resolution for screencast and camera",
- camera_facing_mode: "Prefer user-facing or env-facing camera",
- auto_gain_control: "Automatically adjust mic gain",
- echo_cancellation: "Cancel echo",
- audio_activity_threshold: "Audio activity threshold",
- optional_audio_default_enable: "Enable audio tracks by default",
- optional_video_default_enable: "Enable video tracks by default",
- notify_chat: "Send notifications for incoming chat messages",
- notify_join: "Send notifications when users join",
- notify_leave: "Send notifications when users leave",
- enable_onbeforeunload: "Prompt for confirmation when leaving the site while local resources are shared",
- room_watches: "Known rooms (as semicolon seperated list of name=secret pairs)",
- username: "Username",
- show_log: "Show extended log",
- preview_rate: "Preview rate",
- send_previews: "Send video previews",
- preview_resolution: "Preview resolution",
- preview_encoding_quality: "Preview encoding quality (0 - 100)",
- }
-}
diff --git a/client-web/source/locale/es.ts b/client-web/source/locale/es.ts
deleted file mode 100644
index 1ee6e4e..0000000
--- a/client-web/source/locale/es.ts
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- This file is part of keks-meet (https://codeberg.org/metamuffin/keks-meet)
- which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
- Copyright (C) 2024 metamuffin <metamuffin.org>
-*/
-import { LanguageStrings } from "./mod.ts";
-
-// TODO this is mostly autogenerated. please fix it.
-export const PO_ES: LanguageStrings = {
- join_message: author => [author, " unir."],
- status_drain_buffer: amount => `Draining buffers... (buffer: ${amount})`,
- enable: thing => `Activar ${thing}`,
- leave_message: author => [author, " salir."],
- microphone: "Microfono",
- chatbox_placeholder: "Escriba un mensaje",
- chatbox_label: "Enviar mensaje",
- summary_empty_message: "(mensaje vacío)",
- summery_image: "(imagen)",
- camera: "Cámara",
- file: "Archivo",
- fullscreen: "Pantalla completa",
- leave: "Salir",
- screen: "Pantalla",
- image_alt: "Imagen (haga clic para abrir)",
- warn_mem_download: "Descarga a la memoria porque el servicio de trabajo no está disponible.",
- confirm_update: "¿En serio?",
- warn_short_secret: "El nombre de la habitación es muy corto. ¡E2EE es inseguro!",
- warn_secure_context: "Esta página no es un 'Contexto Seguro' '",
- warn_no_webrtc: "WebRTC no es compatible.",
- warn_no_crypto: "SubtleCrypto no disponible",
- warn_no_sw: "Su navegador no admite el Service Worker API, las actualizaciones automáticas forzadas son inevitables.",
- warn_old_url: "Usted fue redireccionado desde el antiguo formato URL. El servidor conoce el secreto de la habitación ahora - E2EE es inseguro!",
- confirm_quit: "Tienes recursos locales compartidos. ¿De verdad renunciaste?",
- controls: "Controles",
- license: "Licencia",
- source_code: "Código fuente",
- stop_sharing: "Deja de compartir",
- documentation: "Documentación",
- known_rooms: "Habitaciones conocidas",
- chat: "Chat",
- settings: "Ajustes",
- edit: "Editar",
- finish_edit: "Edición final",
- add_current_room: "Agregar habitación actual",
- add: "Añadir",
- move_down: "Muévete.",
- move_up: "Muévanse.",
- unknown_user: "Usuario desconocido",
- status_checking: "Comprobando...",
- status_connected: "Conectado",
- status_failed: "La conexión falló",
- status_disconnected: "Desconectado",
- status_no_conn: "No conectado",
- status_await_channel_open: "Esperando que el canal de datos se abra...",
- status_await_channel_close: "Esperando que el canal de datos cierre...",
- downloading: "Descargando...",
- download_again: "Descargar de nuevo",
- download: "Descargar",
- status_buffering: "Buffering...",
- status_closing: "Cierre de canales...",
- mute: "Mute",
- video_stream: "secuencia de vídeo",
- audio_stream: "flujo de audio",
- local: "Local",
- disable: "Desactivar",
- status_await_stream: "A la espera de la corriente...",
- notification_perm_explain: "Para que keks-meet envíe notificaciones, necesita que usted conceda permiso:",
- grant: "Grant",
- clear_prefs: "¿Quieres limpiar todos los ajustes? Usa esto:",
- setting_descs: {
- language: "Lengua de interfacio",
- warn_redirect: "Opción interna que se establece por un servidor redireccionar.",
- image_view_popup: "Imagen abierta en popup en lugar de nueva pestaña",
- webrtc_debug: "Mostrar información adicional para cosas relacionadas con WebRTC",
- screencast_audio: "Incluya el audio al compartir su pantalla.",
- microphone_enabled: "Añadir una pista de micrófono en el arranque",
- screencast_enabled: "Añadir una pista de pantalla en el inicio",
- camera_enabled: "Añadir una pista de cámara en el inicio",
- rnnoise: "Use RNNoise para la supresión del ruido",
- native_noise_suppression: "Sugerir el navegador para hacer la supresión del ruido",
- microphone_gain: "Amplificar el volumen del micrófono",
- video_fps: "Marco preferido (en 1/s) para pantalla y cámara",
- video_resolution: "Resolución horizontal preferida para pantalla y cámara",
- camera_facing_mode: "Preferir cámara de cara al usuario o env-facing",
- auto_gain_control: "Ajuste automático de ganancia de micrófono",
- echo_cancellation: "Cancelar eco",
- audio_activity_threshold: "Nivel de actividad de audio",
- optional_audio_default_enable: "Permitir pistas de audio por defecto",
- optional_video_default_enable: "Permitir pistas de vídeo por defecto",
- notify_chat: "Enviar notificaciones para mensajes de chat entrantes",
- notify_join: "Enviar notificaciones cuando los usuarios se unan",
- notify_leave: "Enviar notificaciones cuando los usuarios dejan",
- enable_onbeforeunload: "Prompt for confirmation when leaving the site while local resources are shared",
- room_watches: "Habitaciones conocidas (como semicolon seperated list of name=secret pairs)",
- username: "Nombre de usuario",
- show_log: "Mostrar registro extendido.",
- preview_rate: "Preview rate",
- send_previews: "Send video previews",
- preview_resolution: "Preview resolution",
- preview_encoding_quality: "Preview encoding quality (0 - 100)",
- }
-}
diff --git a/client-web/source/locale/ja.ts b/client-web/source/locale/ja.ts
deleted file mode 100644
index c20b926..0000000
--- a/client-web/source/locale/ja.ts
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- This file is part of keks-meet (https://codeberg.org/metamuffin/keks-meet)
- which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
- Copyright (C) 2024 metamuffin <metamuffin.org>
-*/
-import { LanguageStrings } from "./mod.ts";
-
-// TODO this is mostly autogenerated. please fix it.
-export const PO_JA: LanguageStrings = {
- join_message: author => [author, " は会議に参加しました。"],
- status_drain_buffer: amount => `バッファの削除... (バッファ: ${amount})`,
- enable: thing => `${thing} アクセス。`,
- leave_message: author => [author, " は会議を左に。"],
- microphone: "マイクロホン",
- chatbox_placeholder: "メッセージの種類",
- chatbox_label: "送信メッセージ",
- summary_empty_message: "(空のメッセージ)",
- summery_image: "(写真)",
- camera: "カメラ",
- file: "ファイル",
- fullscreen: "フルスクリーン",
- leave: "おすすめ",
- screen: "スクリーン",
- image_alt: "画像(クリックして開きます)",
- warn_mem_download: "サービスワーカーが利用できないので、メモリにダウンロードしてください。",
- confirm_update: "本当に更新?",
- warn_short_secret: "部屋名がとても短いです。 E2EEは安全です!",
- warn_secure_context: "このページは「セキュアコンテキスト」ではありません お問い合わせ",
- warn_no_webrtc: "WebRTC はサポートしていません。",
- warn_no_crypto: "SubtleCrypto 利用不可",
- warn_no_sw: "ブラウザはサービスワーカーAPIをサポートしていません。強制自動更新は無効です。",
- warn_old_url: "古いURL形式からリダイレクトされました。 サーバは部屋の秘密を今知っている - E2EE は安全です!",
- confirm_quit: "現地のリソース共有があります。 本当に終了?",
- controls: "コントロール",
- license: "ライセンス",
- source_code: "ソースコード",
- stop_sharing: "共有の停止",
- documentation: "ドキュメント",
- known_rooms: "既知の客室",
- chat: "チャット",
- settings: "コンテンツ",
- edit: "編集",
- finish_edit: "終わりの編集",
- add_current_room: "現在の部屋を追加",
- add: "追加する",
- move_down: "移動する",
- move_up: "移動する",
- unknown_user: "不明なユーザー",
- status_checking: "チェックイン",
- status_connected: "コネクテッド",
- status_failed: "接続失敗",
- status_disconnected: "接続解除",
- status_no_conn: "接続しない",
- status_await_channel_open: "データチャネルが開くのを待って...",
- status_await_channel_close: "データチャネルを閉じるのを待って...",
- downloading: "ダウンロード...",
- download_again: "ダウンロード",
- download: "ダウンロード",
- status_buffering: "バッファリング...",
- status_closing: "チャンネル閉鎖...",
- mute: "ミュート",
- video_stream: "ビデオストリーム",
- audio_stream: "オーディオストリーム",
- local: "ローカル",
- disable: "免責事項",
- status_await_stream: "待ち時間の流れ",
- notification_perm_explain: "通知を送信するkeks-meetの場合、許可を付与する必要があります。",
- grant: "助成金",
- clear_prefs: "すべての設定をクリアしたいですか? これを使う:",
- setting_descs: {
- language: "インターフェイス言語",
- warn_redirect: "サーバリダイレクトで設定する内部オプション。",
- image_view_popup: "新しいタブではなくポップアップでイメージを開く",
- webrtc_debug: "WebRTC関連コンテンツの追加情報を表示",
- screencast_audio: "画面を共有するときにオーディオを含める。",
- microphone_enabled: "起動時に1台のマイクトラックを追加",
- screencast_enabled: "スタートアップで1つのスクリーンキャストトラックを追加",
- camera_enabled: "起動時に1つのカメラトラックを追加",
- rnnoise: "騒音抑制にRNNoiseを使用",
- native_noise_suppression: "ノイズ抑制を行うブラウザを提案する",
- microphone_gain: "マイクの音量を増幅",
- video_fps: "スクリーンキャストとカメラの推奨フレームレート(1 /秒)",
- video_resolution: "スクリーンキャストおよびカメラのための好まれる横の決断",
- camera_facing_mode: "優先ユーザーフェーシングまたはエンブフェーシングカメラ",
- auto_gain_control: "自動的にmic利益を調節して下さい",
- echo_cancellation: "キャンセルエコー",
- audio_activity_threshold: "オーディオ活動のしきい値",
- optional_audio_default_enable: "デフォルトでオーディオトラックを有効にする",
- optional_video_default_enable: "デフォルトでビデオトラックを有効にする",
- notify_chat: "チャットメッセージを受信するための通知を送信する",
- notify_join: "ユーザーが参加したときに通知を送信する",
- notify_leave: "ユーザーが退去したときに通知を送信",
- enable_onbeforeunload: "ローカルリソースが共有されている間、サイトを離れるときに確認のためのプロンプト",
- room_watches: "既知の客室(セミコロンは、name=secretペアの区切りリストとして)",
- username: "ユーザ名",
- show_log: "拡張ログを表示します。",
- preview_rate: "Preview rate",
- send_previews: "Send video previews",
- preview_resolution: "Preview resolution",
- preview_encoding_quality: "Preview encoding quality (0 - 100)",
- },
-}
diff --git a/client-web/source/locale/mod.ts b/client-web/source/locale/mod.ts
deleted file mode 100644
index 1082330..0000000
--- a/client-web/source/locale/mod.ts
+++ /dev/null
@@ -1,89 +0,0 @@
-import { PO_DE } from "./de.ts";
-import { PO_EN } from "./en.ts";
-import { PREF_DECLS } from "../preferences/decl.ts";
-import { PO_JA } from "./ja.ts";
-import { PO_ES } from "./es.ts";
-
-export let PO: LanguageStrings;
-
-export function init_locale(lang: string) {
- if (lang == "system") lang = navigator.language
- if (!LOCALES[lang]) lang = "en-US"
- PO = LOCALES[lang]
-}
-
-export const LOCALES: { [key: string]: LanguageStrings } = {
- "en": PO_EN,
- "en-US": PO_EN,
- "en-GB": PO_EN, // close enough
- "de": PO_DE,
- "de-DE": PO_DE,
- "ja": PO_JA,
- "ja-JP": PO_JA,
- "es": PO_ES,
- "es-ES": PO_ES,
-}
-
-export interface LanguageStrings {
- microphone: string,
- camera: string,
- screen: string,
- file: string,
- fullscreen: string,
- local: string,
- warn_short_secret: string,
- warn_no_webrtc: string,
- warn_secure_context: string,
- warn_no_crypto: string,
- warn_no_sw: string,
- warn_old_url: string,
- warn_mem_download: string,
- chatbox_placeholder: string,
- chatbox_label: string,
- confirm_quit: string,
- controls: string,
- license: string,
- source_code: string,
- documentation: string,
- chat: string,
- settings: string,
- known_rooms: string,
- leave: string,
- confirm_update: string,
- image_alt: string,
- join_message(author: HTMLElement | string): (HTMLElement | string)[],
- leave_message(author: HTMLElement | string): (HTMLElement | string)[],
- summary_empty_message: string,
- summery_image: string,
- edit: string,
- finish_edit: string,
- add_current_room: string,
- add: string,
- move_up: string,
- move_down: string,
- unknown_user: string,
- status_connected: string,
- status_no_conn: string,
- status_checking: string,
- status_disconnected: string,
- status_failed: string,
- downloading: string,
- download: string,
- download_again: string,
- stop_sharing: string,
- status_await_channel_open: string,
- status_await_channel_close: string,
- status_drain_buffer(amount: number): string,
- status_buffering: string,
- status_closing: string,
- mute: string,
- video_stream: string,
- audio_stream: string,
- enable: (thing: string) => string,
- disable: string,
- notification_perm_explain: string,
- grant: string,
- status_await_stream: string,
- clear_prefs: string,
- setting_descs: { [key in keyof typeof PREF_DECLS]: string },
-}