From 45180e829a98b87a394c85ea941acac7c0133283 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Wed, 20 Aug 2025 02:39:17 +0800 Subject: [PATCH] i18n: add missing translations --- .../admin/Settings/Documents.svelte | 2 +- .../admin/Settings/Pipelines.svelte | 6 ++-- src/lib/components/admin/Users/Groups.svelte | 4 +-- .../components/admin/Users/UserList.svelte | 4 +-- src/lib/components/channel/Messages.svelte | 4 +-- .../Messages/Message/ProfilePreview.svelte | 7 +++-- .../Messages/Message/ReactionPicker.svelte | 2 +- src/lib/components/channel/Thread.svelte | 6 ++-- src/lib/components/chat/MessageInput.svelte | 2 +- .../chat/MessageInput/InputMenu.svelte | 2 +- src/lib/components/chat/Messages.svelte | 2 +- .../components/chat/Messages/CodeBlock.svelte | 8 ++--- .../Settings/Advanced/AdvancedParams.svelte | 4 +-- src/lib/components/chat/Settings/Audio.svelte | 2 +- .../ManageFloatingActionButtonsModal.svelte | 2 +- src/lib/components/common/CodeEditor.svelte | 2 +- src/lib/components/common/Dropdown.svelte | 10 +++--- src/lib/components/common/Selector.svelte | 2 +- src/lib/components/common/Valves.svelte | 4 +-- src/lib/components/layout/ChatsModal.svelte | 2 +- src/lib/components/layout/SearchModal.svelte | 2 +- src/lib/components/layout/Sidebar.svelte | 4 +-- .../notes/NoteEditor/Controls.svelte | 4 +-- .../workspace/Models/ModelEditor.svelte | 6 ++-- src/lib/i18n/locales/ar-BH/translation.json | 31 ++++++++++++++++--- src/lib/i18n/locales/ar/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/bg-BG/translation.json | 25 ++++++++++++++- src/lib/i18n/locales/bn-BD/translation.json | 31 ++++++++++++++++--- src/lib/i18n/locales/bo-TB/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/ca-ES/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/ceb-PH/translation.json | 31 ++++++++++++++++--- src/lib/i18n/locales/cs-CZ/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/da-DK/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/de-DE/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/dg-DG/translation.json | 31 ++++++++++++++++--- src/lib/i18n/locales/el-GR/translation.json | 25 ++++++++++++++- src/lib/i18n/locales/en-GB/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/en-US/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/es-ES/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/et-EE/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/eu-ES/translation.json | 25 ++++++++++++++- src/lib/i18n/locales/fa-IR/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/fi-FI/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/fr-CA/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/fr-FR/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/gl-ES/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/he-IL/translation.json | 31 ++++++++++++++++--- src/lib/i18n/locales/hi-IN/translation.json | 31 ++++++++++++++++--- src/lib/i18n/locales/hr-HR/translation.json | 31 ++++++++++++++++--- src/lib/i18n/locales/hu-HU/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/id-ID/translation.json | 31 ++++++++++++++++--- src/lib/i18n/locales/ie-GA/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/it-IT/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/ja-JP/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/ka-GE/translation.json | 25 ++++++++++++++- src/lib/i18n/locales/kab-DZ/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/ko-KR/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/lt-LT/translation.json | 25 ++++++++++++++- src/lib/i18n/locales/ms-MY/translation.json | 25 ++++++++++++++- src/lib/i18n/locales/nb-NO/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/nl-NL/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/pa-IN/translation.json | 31 ++++++++++++++++--- src/lib/i18n/locales/pl-PL/translation.json | 25 ++++++++++++++- src/lib/i18n/locales/pt-BR/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/pt-PT/translation.json | 31 ++++++++++++++++--- src/lib/i18n/locales/ro-RO/translation.json | 25 ++++++++++++++- src/lib/i18n/locales/ru-RU/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/sk-SK/translation.json | 25 ++++++++++++++- src/lib/i18n/locales/sr-RS/translation.json | 25 ++++++++++++++- src/lib/i18n/locales/sv-SE/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/th-TH/translation.json | 25 ++++++++++++++- src/lib/i18n/locales/tk-TM/translation.json | 27 ++++++++++++++-- src/lib/i18n/locales/tr-TR/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/ug-CN/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/uk-UA/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/ur-PK/translation.json | 25 ++++++++++++++- .../i18n/locales/uz-Cyrl-UZ/translation.json | 23 ++++++++++++++ .../i18n/locales/uz-Latn-Uz/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/vi-VN/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/zh-CN/translation.json | 23 ++++++++++++++ src/lib/i18n/locales/zh-TW/translation.json | 23 ++++++++++++++ src/routes/(app)/+layout.svelte | 4 +-- 82 files changed, 1417 insertions(+), 99 deletions(-) diff --git a/src/lib/components/admin/Settings/Documents.svelte b/src/lib/components/admin/Settings/Documents.svelte index a819a4d0d8..f6e0fa9659 100644 --- a/src/lib/components/admin/Settings/Documents.svelte +++ b/src/lib/components/admin/Settings/Documents.svelte @@ -762,7 +762,7 @@ - + diff --git a/src/lib/components/admin/Settings/Pipelines.svelte b/src/lib/components/admin/Settings/Pipelines.svelte index 47294f1fa8..674d05188d 100644 --- a/src/lib/components/admin/Settings/Pipelines.svelte +++ b/src/lib/components/admin/Settings/Pipelines.svelte @@ -410,10 +410,10 @@
- Warning: Pipelines are a plugin - system with arbitrary code execution — + {$i18n.t('Warning:')} + {$i18n.t('Pipelines are a plugin system with arbitrary code execution —')} don't fetch random pipelines from sources you don't trust.{$i18n.t("don't fetch random pipelines from sources you don't trust.")}
diff --git a/src/lib/components/admin/Users/Groups.svelte b/src/lib/components/admin/Users/Groups.svelte index 8b405c0b7a..19f7c52d75 100644 --- a/src/lib/components/admin/Users/Groups.svelte +++ b/src/lib/components/admin/Users/Groups.svelte @@ -213,9 +213,9 @@ {:else}
-
Group
+
{$i18n.t('Group')}
-
Users
+
{$i18n.t('Users')}

diff --git a/src/lib/components/admin/Users/UserList.svelte b/src/lib/components/admin/Users/UserList.svelte index 4b273b0de3..13a7232d6c 100644 --- a/src/lib/components/admin/Users/UserList.svelte +++ b/src/lib/components/admin/Users/UserList.svelte @@ -166,12 +166,12 @@ {#if total > $config?.license_metadata?.seats} {total} of {$config?.license_metadata?.seats} - available users{$i18n.t('available users')} {:else} {total} of {$config?.license_metadata?.seats} - available users{$i18n.t('available users')} {/if} {:else} diff --git a/src/lib/components/channel/Messages.svelte b/src/lib/components/channel/Messages.svelte index 9a2bf4cb2e..e95a6e100d 100644 --- a/src/lib/components/channel/Messages.svelte +++ b/src/lib/components/channel/Messages.svelte @@ -59,7 +59,7 @@ >
-
Loading...
+
{$i18n.t('Loading...')}
{:else if !thread} @@ -84,7 +84,7 @@
{:else}
-
Start of the channel
+
{$i18n.t('Start of the channel')}
{/if} diff --git a/src/lib/components/channel/Messages/Message/ProfilePreview.svelte b/src/lib/components/channel/Messages/Message/ProfilePreview.svelte index a0f3e1c322..c4286db9a4 100644 --- a/src/lib/components/channel/Messages/Message/ProfilePreview.svelte +++ b/src/lib/components/channel/Messages/Message/ProfilePreview.svelte @@ -1,5 +1,8 @@