From 1948e78351eaa9f77be789af7484a1dae206a7de Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 4 Jun 2024 11:48:46 -0700 Subject: [PATCH] refac: rename fullscreen -> widescreen --- src/lib/components/chat/Messages.svelte | 2 +- .../components/chat/Settings/Interface.svelte | 16 ++++++++-------- src/lib/i18n/locales/ar-BH/translation.json | 2 +- src/lib/i18n/locales/bg-BG/translation.json | 2 +- src/lib/i18n/locales/bn-BD/translation.json | 2 +- src/lib/i18n/locales/ca-ES/translation.json | 2 +- src/lib/i18n/locales/ceb-PH/translation.json | 2 +- src/lib/i18n/locales/de-DE/translation.json | 2 +- src/lib/i18n/locales/dg-DG/translation.json | 2 +- src/lib/i18n/locales/en-GB/translation.json | 2 +- src/lib/i18n/locales/en-US/translation.json | 2 +- src/lib/i18n/locales/es-ES/translation.json | 2 +- src/lib/i18n/locales/fa-IR/translation.json | 2 +- src/lib/i18n/locales/fi-FI/translation.json | 2 +- src/lib/i18n/locales/fr-CA/translation.json | 2 +- src/lib/i18n/locales/fr-FR/translation.json | 2 +- src/lib/i18n/locales/he-IL/translation.json | 2 +- src/lib/i18n/locales/hi-IN/translation.json | 2 +- src/lib/i18n/locales/hr-HR/translation.json | 2 +- src/lib/i18n/locales/it-IT/translation.json | 2 +- src/lib/i18n/locales/ja-JP/translation.json | 2 +- src/lib/i18n/locales/ka-GE/translation.json | 2 +- src/lib/i18n/locales/ko-KR/translation.json | 2 +- src/lib/i18n/locales/lt-LT/translation.json | 2 +- src/lib/i18n/locales/nl-NL/translation.json | 2 +- src/lib/i18n/locales/pa-IN/translation.json | 2 +- src/lib/i18n/locales/pl-PL/translation.json | 2 +- src/lib/i18n/locales/pt-BR/translation.json | 2 +- src/lib/i18n/locales/pt-PT/translation.json | 2 +- src/lib/i18n/locales/ru-RU/translation.json | 2 +- src/lib/i18n/locales/sr-RS/translation.json | 2 +- src/lib/i18n/locales/sv-SE/translation.json | 2 +- src/lib/i18n/locales/tr-TR/translation.json | 2 +- src/lib/i18n/locales/uk-UA/translation.json | 2 +- src/lib/i18n/locales/vi-VN/translation.json | 2 +- src/lib/i18n/locales/zh-CN/translation.json | 2 +- src/lib/i18n/locales/zh-TW/translation.json | 2 +- 37 files changed, 44 insertions(+), 44 deletions(-) diff --git a/src/lib/components/chat/Messages.svelte b/src/lib/components/chat/Messages.svelte index eb61f79e6..f633b5774 100644 --- a/src/lib/components/chat/Messages.svelte +++ b/src/lib/components/chat/Messages.svelte @@ -286,7 +286,7 @@ {#each messages as message, messageIdx}
diff --git a/src/lib/components/chat/Settings/Interface.svelte b/src/lib/components/chat/Settings/Interface.svelte index 4d46146b2..e231981e8 100644 --- a/src/lib/components/chat/Settings/Interface.svelte +++ b/src/lib/components/chat/Settings/Interface.svelte @@ -16,7 +16,7 @@ let responseAutoCopy = false; let titleAutoGenerateModel = ''; let titleAutoGenerateModelExternal = ''; - let fullScreenMode = false; + let widescreenMode = false; let titleGenerationPrompt = ''; let splitLargeChunks = false; @@ -31,9 +31,9 @@ saveSettings({ splitLargeChunks: splitLargeChunks }); }; - const toggleFullScreenMode = async () => { - fullScreenMode = !fullScreenMode; - saveSettings({ fullScreenMode: fullScreenMode }); + const togglewidescreenMode = async () => { + widescreenMode = !widescreenMode; + saveSettings({ widescreenMode: widescreenMode }); }; const toggleChatBubble = async () => { @@ -114,7 +114,7 @@ responseAutoCopy = $settings.responseAutoCopy ?? false; showUsername = $settings.showUsername ?? false; chatBubble = $settings.chatBubble ?? true; - fullScreenMode = $settings.fullScreenMode ?? false; + widescreenMode = $settings.widescreenMode ?? false; splitLargeChunks = $settings.splitLargeChunks ?? false; chatDirection = $settings.chatDirection ?? 'LTR'; }); @@ -195,16 +195,16 @@
-
{$i18n.t('Full Screen Mode')}
+
{$i18n.t('Widescreen Mode')}