Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

feat(theme): let you trust sites for images in custom CSS (#3765)

Hampusd65e9147fe3f
diff --git a/fluxer_app/src/app/App.tsx b/fluxer_app/src/app/App.tsx
index ed4465562..e31ff804f 100644
--- a/fluxer_app/src/app/App.tsx
+++ b/fluxer_app/src/app/App.tsx
@@ -50,6 +50,7 @@ import WindowsFont from '@app/features/theme/state/WindowsFont';
import * as ThemeSettingsCommands from '@app/features/theme_settings/commands/ThemeSettingsCommands';
import {QuickCssEditorHost} from '@app/features/theme_settings/components/QuickCssEditorHost';
import ThemeSettingsState from '@app/features/theme_settings/state/ThemeSettingsState';
+import {canTrustSites} from '@app/features/theme_settings/state/TrustedSites';
import {SVGMasks} from '@app/features/ui/components/SVGMasks';
import FocusRingScope from '@app/features/ui/focus_ring/FocusRingScope';
import {useTextInputContextMenu} from '@app/features/ui/hooks/useTextInputContextMenu';
@@ -81,6 +82,7 @@ import {reaction} from 'mobx';
import {observer} from 'mobx-react-lite';
import React, {type ReactNode, useEffect, useMemo, useRef, useState} from 'react';
+const NO_TRUSTED_SITES: ReadonlyArray<string> = [];
const SKIP_TO_CONTENT_DESCRIPTOR = msg({
message: 'Skip to content',
comment: 'Accessible skip-link label for keyboard users.',
@@ -236,6 +238,7 @@ export const AppWrapper = observer(({children}: AppWrapperProps) => {
themeLibraryLocalFiles: ThemeLibrary.localFiles,
themeLibraryRevision: ThemeLibrary.revision,
mediaEndpoint: RuntimeConfig.getSnapshotOrNull()?.mediaEndpoint ?? '',
+ trustedSites: canTrustSites() ? ThemeSettingsState.trustedSites : NO_TRUSTED_SITES,
onMissingReferences: ThemeSettingsState.setMissingReferences,
onBlockedUrl: ThemeSettingsState.recordBlockedUrl,
onCssRejected: ThemeSettingsState.setCssRejected,
diff --git a/fluxer_app/src/features/i18n/locales/ar/messages.po b/fluxer_app/src/features/i18n/locales/ar/messages.po
index 689bfa8ea..2f2536e2d 100644
--- a/fluxer_app/src/features/i18n/locales/ar/messages.po
+++ b/fluxer_app/src/features/i18n/locales/ar/messages.po
@@ -15348,6 +15348,11 @@ msgstr "أدخل سبب الحظر"
msgid "Enter a secure password"
msgstr "أدخل كلمة مرور آمنة"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "أدخل عنوان موقع مثل https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "فلوريدا"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "يضيف Fluxer رقمًا عشوائيًا إلى كل اسم مستخدم، مثل alex#4821، ليتمكن كثيرون من استخدام الاسم نفسه."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer منع تحميل {url}. قم برفعه كأصل."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "حظر Fluxer تحميل {url}. ارفع الملف كأصل، أو استخدم رابط مرفق للصور."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "حظر Fluxer تحميل {url}. ارفع الملف كأصل، أو ثق بالموقع الموجود عليه."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "غيرت رأيي"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "أؤكد بحسن نية أن المعلومات والادعاءات الواردة في هذا الإشعار دقيقة وكاملة."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "أثق بـ {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "يمكن فقط للأعضاء والأدوار الذين تختاره
msgid "Only the selected ones"
msgstr "المحددة فقط"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "لا تثق إلا بالمواقع التي تعرفها. يمكن للموقع الذي تثق به أن يرى عنوان IP الخاص بك، ومتى يكون Fluxer مفتوحًا، وبعض ما يظهر على شاشتك."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "تسجيل الدخول الموحد"
msgid "Single user (all statuses)"
msgstr "مستخدم واحد (جميع الحالات)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "عنوان الموقع"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "إيقاف النطق"
msgid "Stop streaming"
msgstr "إيقاف البث"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "إلغاء الثقة بـ {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "هذه السمة أكبر من أن تتم مشاركتها"
msgid "This theme link is missing data."
msgstr "بيانات رابط السمة هذا ناقصة."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "تحمّل هذه السمة صورًا من مواقع لم تثق بها. حدّد المواقع التي تثق بها لتحميل صورها."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "ربما تمت إزالة هذه السمة أو أن الرابط غير صالح."
@@ -38573,6 +38608,16 @@ msgstr "استكشاف الأخطاء وإصلاحها"
msgid "True or false"
msgstr "صواب أو خطأ"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "ثقة"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "الثقة بـ {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "النطاقات الموثوقة"
msgid "Trusted domains cleared."
msgstr "تم مسح النطاقات الموثوقة."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "المواقع الموثوقة"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "لا يزال بإمكانك إنشاء حساب أو تسجيل الد
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "يمكنك التبديل بين مجتمع واحد ومجتمعات متعددة لاحقًا في لوحة التحكم."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "يمكنك الوثوق بما يصل إلى {count} موقعًا."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "أبلغ مزوّد تسجيل الدخول عن خطأ."
msgid "Your purchased gifts"
msgstr "هداياك التي اشتريتها"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "يمكن لـ CSS السريع والسمات تحميل الصور من هذه المواقع."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/bg/messages.po b/fluxer_app/src/features/i18n/locales/bg/messages.po
index 83013afcb..8f3009276 100644
--- a/fluxer_app/src/features/i18n/locales/bg/messages.po
+++ b/fluxer_app/src/features/i18n/locales/bg/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Въведи причина за забраната"
msgid "Enter a secure password"
msgstr "Въведи сигурна парола"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Въведете адрес на сайт, например https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Флорида"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer добавя случаен номер към всяко потребителско име, например alex#4821, за да могат много хора да ползват едно и също име."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer блокира зареждането на {url}. Качете го като ресурс."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer блокира зареждането на {url}. Качете файла като ресурс или използвайте връзка към прикачен файл за изображение."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer блокира зареждането на {url}. Качете файла като ресурс или се доверете на сайта, на който е."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Размислих"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Потвърждавам добросъвестно, че информацията и твърденията в това уведомление са точни и пълни."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Имам доверие на {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Само избраните от вас членове и роли, пл
msgid "Only the selected ones"
msgstr "Само избраните"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Доверявайте се само на сайтове, които познавате. Сайт, на който имате доверие, може да вижда IP адреса ви, кога Fluxer е отворен и част от това, което е на екрана ви."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Единен вход"
msgid "Single user (all statuses)"
msgstr "Един потребител (всички статуси)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Адрес на сайта"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Спиране на прочитането"
msgid "Stop streaming"
msgstr "Спиране на стрийминга"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Спиране на доверието към {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Тази тема е твърде голяма за споделяне"
msgid "This theme link is missing data."
msgstr "Линкът към темата е с липсващи данни."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Тази тема зарежда изображения от сайтове, на които не сте се доверили. Отметнете сайтовете, на които имате доверие, за да се заредят изображенията им."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Тази тема може да е премахната или линкът е невалиден."
@@ -38573,6 +38608,16 @@ msgstr "Отстраняване на неизправности"
msgid "True or false"
msgstr "Вярно или невярно"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Доверие"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Доверие към {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Доверени домейни"
msgid "Trusted domains cleared."
msgstr "Доверените домейни са изчистени."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Доверени сайтове"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Все още можеш да създадеш акаунт или да
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Можете да превключвате между една общност и много общности по-късно в административния панел."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Можете да се доверите на най-много {count} сайта."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Доставчикът ти съобщи за грешка."
msgid "Your purchased gifts"
msgstr "Твоите закупени подаръци"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Бързият CSS и темите ви могат да зареждат изображения от тези сайтове."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/cs/messages.po b/fluxer_app/src/features/i18n/locales/cs/messages.po
index 2286fea96..df625523b 100644
--- a/fluxer_app/src/features/i18n/locales/cs/messages.po
+++ b/fluxer_app/src/features/i18n/locales/cs/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Zadejte důvod banu"
msgid "Enter a secure password"
msgstr "Zadejte bezpečné heslo"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Zadejte adresu webu, například https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer ke každému uživatelskému jménu přidá náhodné číslo, například alex#4821, aby mohlo stejné jméno používat více lidí."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer zablokoval načtení {url}. Nahrajte ho jako prostředek."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer zablokoval načtení {url}. Nahrajte soubor jako prostředek, nebo pro obrázek použijte odkaz na přílohu."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer zablokoval načtení {url}. Nahrajte soubor jako prostředek, nebo důvěřujte webu, na kterém je."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Rozmyslel(a) jsem si to"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Potvrzuji v dobré víře, že informace a tvrzení uvedená v tomto nahlášení jsou přesná a úplná."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Důvěřuji webu {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Tento kanál uvidí pouze vybraní členové a role, plus administráto
msgid "Only the selected ones"
msgstr "Pouze vybrané"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Důvěřujte jen webům, které znáte. Web, kterému důvěřujete, uvidí vaši IP adresu, kdy máte Fluxer otevřený, a část toho, co máte na obrazovce."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Jednotné přihlášení"
msgid "Single user (all statuses)"
msgstr "Jeden uživatel (všechny stavy)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Adresa webu"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Zastavit předčítání"
msgid "Stop streaming"
msgstr "Zastavit streamování"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Přestat důvěřovat webu {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Tento motiv je příliš velký na sdílení"
msgid "This theme link is missing data."
msgstr "Odkazu motivu chybí data."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Tento motiv načítá obrázky z webů, kterým nedůvěřujete. Zaškrtněte weby, kterým důvěřujete, aby se jejich obrázky načetly."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Tento motiv mohl být odstraněn nebo je odkaz neplatný."
@@ -38573,6 +38608,16 @@ msgstr "Odstraňování problémů"
msgid "True or false"
msgstr "Pravda nebo nepravda"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Důvěřovat"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Důvěřovat webu {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Důvěryhodné domény"
msgid "Trusted domains cleared."
msgstr "Důvěryhodné domény vymazány."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Důvěryhodné weby"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Účet si stále můžete vytvořit nebo se přihlásit. Pokud budou poz
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Mezi jednou komunitou a více komunitami můžete později přepínat v panelu pro správu."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Můžete důvěřovat nejvýše {count} webům."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Tvůj poskytovatel nahlásil chybu."
msgid "Your purchased gifts"
msgstr "Vaše zakoupené dárky"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Vaše rychlé CSS a motivy mohou načítat obrázky z těchto webů."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/da/messages.po b/fluxer_app/src/features/i18n/locales/da/messages.po
index dd518f1df..97d36e8d9 100644
--- a/fluxer_app/src/features/i18n/locales/da/messages.po
+++ b/fluxer_app/src/features/i18n/locales/da/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Angiv en grund til udelukkelsen"
msgid "Enter a secure password"
msgstr "Indtast en sikker adgangskode"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Indtast en webstedsadresse som https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer tilføjer et tilfældigt nummer til hvert brugernavn, som alex#4821, så mange kan bruge det samme navn."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer blokerede indlæsning af {url}. Upload den som en ressource."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer blokerede indlæsning af {url}. Upload filen som en ressource, eller brug et link til en vedhæftet fil til et billede."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer blokerede indlæsning af {url}. Upload filen som en ressource, eller stol på det websted, den ligger på."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Jeg har ombestemt mig"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Jeg bekræfter i god tro, at oplysningerne og påstandene i denne anmeldelse er nøjagtige og fuldstændige."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Jeg stoler på {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Kun de medlemmer og roller, du vælger, plus administratorer, kan se den
msgid "Only the selected ones"
msgstr "Kun de valgte"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Stol kun på websteder, du kender. Et websted, du stoler på, kan se din IP-adresse, hvornår du har Fluxer åbent, og noget af det, der er på din skærm."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Enkelt log på"
msgid "Single user (all statuses)"
msgstr "Enkeltbruger (alle statusser)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Webstedsadresse"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Stop oplæsning"
msgid "Stop streaming"
msgstr "Stop streaming"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Stop med at stole på {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Dette tema er for stort til at dele"
msgid "This theme link is missing data."
msgstr "Der mangler data i dette temalink."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Dette tema indlæser billeder fra websteder, du ikke stoler på. Markér de websteder, du stoler på, for at indlæse deres billeder."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Dette tema er muligvis blevet fjernet, eller også er linket ugyldigt."
@@ -38573,6 +38608,16 @@ msgstr "Fejlfinding"
msgid "True or false"
msgstr "Sand eller falsk"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Stol på"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Stol på {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Betroede domæner"
msgid "Trusted domains cleared."
msgstr "Betroede domæner er ryddet."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Websteder, du stoler på"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Du kan stadig oprette en konto eller logge ind. Hvis invitationer genakt
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Du kan skifte mellem ét fællesskab og mange fællesskaber senere i adminpanelet."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Du kan stole på op til {count} websteder."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Din udbyder rapporterede en fejl."
msgid "Your purchased gifts"
msgstr "Dine købte gaver"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Din hurtige CSS og dine temaer kan indlæse billeder fra disse websteder."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/de/messages.po b/fluxer_app/src/features/i18n/locales/de/messages.po
index 2a5c1831a..ac1edaa6f 100644
--- a/fluxer_app/src/features/i18n/locales/de/messages.po
+++ b/fluxer_app/src/features/i18n/locales/de/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Grund für den Ban eingeben"
msgid "Enter a secure password"
msgstr "Sicheres Passwort eingeben"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Gib eine Website-Adresse wie https://example.com ein."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer hängt an jeden Benutzernamen eine zufällige Nummer an, etwa alex#4821, damit viele Leute denselben Namen nutzen können."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer hat das Laden von {url} blockiert. Lade es als Inhalt hoch."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer hat das Laden von {url} blockiert. Lade die Datei als Inhalt hoch oder verwende für ein Bild einen Anhang-Link."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer hat das Laden von {url} blockiert. Lade die Datei als Inhalt hoch oder vertraue der Website, auf der sie liegt."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Ich habe es mir anders überlegt"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Ich bestätige in gutem Glauben, dass die Angaben und Behauptungen in dieser Meldung richtig und vollständig sind."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Ich vertraue {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Nur die Mitglieder und Rollen, die du auswählst, sowie Admins können d
msgid "Only the selected ones"
msgstr "Nur die ausgewählten"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Vertraue nur Websites, die du kennst. Eine Website, der du vertraust, kann deine IP-Adresse sehen, wann du Fluxer geöffnet hast und einiges von dem, was auf deinem Bildschirm ist."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Single Sign-On"
msgid "Single user (all statuses)"
msgstr "Einzelner Nutzer (alle Statusmeldungen)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Website-Adresse"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Vorlesen beenden"
msgid "Stop streaming"
msgstr "Streaming beenden"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "{site} nicht mehr vertrauen"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Dieses Design ist zu groß zum Teilen"
msgid "This theme link is missing data."
msgstr "Diesem Design-Link fehlen Daten."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Dieses Design lädt Bilder von Websites, denen du nicht vertraust. Wähle die Websites aus, denen du vertraust, damit ihre Bilder geladen werden."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Dieses Design wurde möglicherweise entfernt oder der Link ist ungültig."
@@ -38573,6 +38608,16 @@ msgstr "Fehlerbehebung"
msgid "True or false"
msgstr "Wahr oder falsch"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Vertrauen"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "{site} vertrauen"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Vertrauenswürdige Domains"
msgid "Trusted domains cleared."
msgstr "Vertrauenswürdige Domains gelöscht."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Vertrauenswürdige Websites"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Du kannst weiterhin einen Account erstellen oder dich anmelden. Wenn Ein
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Du kannst später im Admin-Panel zwischen einer und vielen Communities wechseln."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Du kannst bis zu {count} Websites vertrauen."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Dein Anbieter hat einen Fehler gemeldet."
msgid "Your purchased gifts"
msgstr "Deine gekauften Geschenke"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Dein Schnell-CSS und deine Designs können Bilder von diesen Websites laden."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/el/messages.po b/fluxer_app/src/features/i18n/locales/el/messages.po
index 161e8f44b..a9c5fe9e6 100644
--- a/fluxer_app/src/features/i18n/locales/el/messages.po
+++ b/fluxer_app/src/features/i18n/locales/el/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Πληκτρολογήστε έναν λόγο για τον αποκλ
msgid "Enter a secure password"
msgstr "Εισαγάγετε έναν ασφαλή κωδικό πρόσβασης"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Γράψε μια διεύθυνση ιστότοπου όπως https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Φλόριντα"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Το Fluxer προσθέτει έναν τυχαίο αριθμό σε κάθε όνομα χρήστη, όπως alex#4821, ώστε πολλοί να μπορούν να χρησιμοποιούν το ίδιο όνομα."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Το Fluxer μπλόκαρε τη φόρτωση του {url}. Ανέβασέ το ως στοιχείο."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Το Fluxer μπλόκαρε τη φόρτωση του {url}. Ανέβασε το αρχείο ως στοιχείο ή χρησιμοποίησε σύνδεσμο συνημμένου για μια εικόνα."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Το Fluxer μπλόκαρε τη φόρτωση του {url}. Ανέβασε το αρχείο ως στοιχείο ή εμπιστέψου τον ιστότοπο όπου βρίσκεται."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Άλλαξα γνώμη"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Επιβεβαιώνω καλή τη πίστει ότι οι πληροφορίες και οι ισχυρισμοί σε αυτήν την αναφορά είναι ακριβείς και πλήρεις."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Εμπιστεύομαι τον ιστότοπο {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Μόνο τα μέλη και οι ρόλοι που θα επιλέξε
msgid "Only the selected ones"
msgstr "Μόνο οι επιλεγμένες"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Εμπιστεύσου μόνο ιστότοπους που γνωρίζεις. Ένας ιστότοπος που εμπιστεύεσαι μπορεί να δει τη διεύθυνση IP σου, πότε έχεις ανοιχτό το Fluxer και μέρος από όσα υπάρχουν στην οθόνη σου."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Ενιαία σύνδεση"
msgid "Single user (all statuses)"
msgstr "Ένας χρήστης (όλες οι καταστάσεις)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Διεύθυνση ιστότοπου"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Διακοπή ομιλίας"
msgid "Stop streaming"
msgstr "Διακοπή ροής"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Διακοπή εμπιστοσύνης στον ιστότοπο {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Αυτό το θέμα είναι πολύ μεγάλο για κοιν
msgid "This theme link is missing data."
msgstr "Αυτός ο σύνδεσμος θέματος δεν έχει δεδομένα."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Αυτό το θέμα φορτώνει εικόνες από ιστότοπους που δεν έχεις εμπιστευτεί. Επίλεξε τους ιστότοπους που εμπιστεύεσαι για να φορτωθούν οι εικόνες τους."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Αυτό το θέμα μπορεί να έχει καταργηθεί ή ο σύνδεσμος δεν είναι έγκυρος."
@@ -38573,6 +38608,16 @@ msgstr "Αντιμετώπιση προβλημάτων"
msgid "True or false"
msgstr "Αληθές ή ψευδές"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Εμπιστοσύνη"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Εμπιστοσύνη στον ιστότοπο {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Αξιόπιστοι τομείς"
msgid "Trusted domains cleared."
msgstr "Οι αξιόπιστοι τομείς διαγράφηκαν."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Αξιόπιστοι ιστότοποι"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Μπορείτε ωστόσο να δημιουργήσετε λογαρ
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Μπορείς να αλλάξεις αργότερα από μία κοινότητα σε πολλές κοινότητες στον πίνακα διαχείρισης."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Μπορείς να εμπιστευτείς έως {count} ιστότοπους."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Ο πάροχός σου ανέφερε σφάλμα."
msgid "Your purchased gifts"
msgstr "Τα δώρα που αγοράσατε"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Το γρήγορο CSS και τα θέματά σου μπορούν να φορτώνουν εικόνες από αυτούς τους ιστότοπους."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/en-GB/messages.po b/fluxer_app/src/features/i18n/locales/en-GB/messages.po
index 0cc459fdf..7a2f0f11d 100644
--- a/fluxer_app/src/features/i18n/locales/en-GB/messages.po
+++ b/fluxer_app/src/features/i18n/locales/en-GB/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Enter a reason for the ban"
msgid "Enter a secure password"
msgstr "Enter a secure password"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Enter a site address like https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer blocked loading {url}. Upload it as an asset."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "I changed my mind"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "I confirm in good faith that the information and allegations in this notice are accurate and complete."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "I trust {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Only the members and roles you pick, plus admins, can view this channel.
msgid "Only the selected ones"
msgstr "Only the selected ones"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Single sign-on"
msgid "Single user (all statuses)"
msgstr "Single user (all statuses)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Site address"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Stop speaking"
msgid "Stop streaming"
msgstr "Stop streaming"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Stop trusting {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "This theme is too large to share"
msgid "This theme link is missing data."
msgstr "This theme link is missing data."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "This theme may have been removed or the link is invalid."
@@ -38573,6 +38608,16 @@ msgstr "Troubleshooting"
msgid "True or false"
msgstr "True or false"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Trust"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Trust {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Trusted domains"
msgid "Trusted domains cleared."
msgstr "Trusted domains cleared."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Trusted sites"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "You can still create an account or sign in. If invites are re-enabled la
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "You can switch between one community and many communities later in the admin panel."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "You can trust up to {count} sites."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Your provider reported an error."
msgid "Your purchased gifts"
msgstr "Your purchased gifts"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Your quick CSS and themes can load images from these sites."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/en-US/messages.po b/fluxer_app/src/features/i18n/locales/en-US/messages.po
index 81510f613..40f38f722 100644
--- a/fluxer_app/src/features/i18n/locales/en-US/messages.po
+++ b/fluxer_app/src/features/i18n/locales/en-US/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Enter a reason for the ban"
msgid "Enter a secure password"
msgstr "Enter a secure password"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Enter a site address like https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer blocked loading {url}. Upload it as an asset."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "I changed my mind"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "I confirm in good faith that the information and allegations in this notice are accurate and complete."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "I trust {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Only the members and roles you pick, plus admins, can view this channel.
msgid "Only the selected ones"
msgstr "Only the selected ones"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Single sign-on"
msgid "Single user (all statuses)"
msgstr "Single user (all statuses)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Site address"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Stop speaking"
msgid "Stop streaming"
msgstr "Stop streaming"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Stop trusting {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "This theme is too large to share"
msgid "This theme link is missing data."
msgstr "This theme link is missing data."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "This theme may have been removed or the link is invalid."
@@ -38573,6 +38608,16 @@ msgstr "Troubleshooting"
msgid "True or false"
msgstr "True or false"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Trust"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Trust {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Trusted domains"
msgid "Trusted domains cleared."
msgstr "Trusted domains cleared."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Trusted sites"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "You can still create an account or sign in. If invites are re-enabled la
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "You can switch between one community and many communities later in the admin panel."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "You can trust up to {count} sites."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Your provider reported an error."
msgid "Your purchased gifts"
msgstr "Your purchased gifts"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Your quick CSS and themes can load images from these sites."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/es-419/messages.po b/fluxer_app/src/features/i18n/locales/es-419/messages.po
index 26b48a0b7..57c430c37 100644
--- a/fluxer_app/src/features/i18n/locales/es-419/messages.po
+++ b/fluxer_app/src/features/i18n/locales/es-419/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Ingresa un motivo para el baneo"
msgid "Enter a secure password"
msgstr "Ingresa una contraseña segura"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Escribe la dirección de un sitio, como https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer agrega un número aleatorio a cada nombre de usuario, como alex#4821, para que muchas personas puedan usar el mismo nombre."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer bloqueó la carga de {url}. Súbelo como recurso."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer bloqueó la carga de {url}. Sube el archivo como recurso o usa un enlace de archivo adjunto para una imagen."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer bloqueó la carga de {url}. Sube el archivo como recurso o confía en el sitio donde está."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Cambié de opinión"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Confirmo de buena fe que la información y las alegaciones de este aviso son precisas y completas."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Confío en {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Solo los miembros y roles que elijas, además de los administradores, po
msgid "Only the selected ones"
msgstr "Solo los seleccionados"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Confía solo en sitios que conozcas. Un sitio en el que confías puede ver tu dirección IP, cuándo tienes Fluxer abierto y parte de lo que hay en tu pantalla."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Inicio de sesión único"
msgid "Single user (all statuses)"
msgstr "Un solo usuario (todos los estados)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Dirección del sitio"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Detener la lectura en voz alta"
msgid "Stop streaming"
msgstr "Dejar de transmitir"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Dejar de confiar en {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Este tema es demasiado grande para compartir"
msgid "This theme link is missing data."
msgstr "A este enlace de tema le faltan datos."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Este tema carga imágenes de sitios en los que no confías. Marca los sitios en los que confías para cargar sus imágenes."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Es posible que se haya eliminado este tema o que el enlace no sea válido."
@@ -38573,6 +38608,16 @@ msgstr "Solución de problemas"
msgid "True or false"
msgstr "Verdadero o falso"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Confiar"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Confiar en {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Dominios de confianza"
msgid "Trusted domains cleared."
msgstr "Dominios de confianza borrados."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Sitios de confianza"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Aún puedes crear una cuenta o iniciar sesión. Si las invitaciones se v
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Puedes cambiar entre una comunidad y varias comunidades más tarde en el panel de administración."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Puedes confiar en hasta {count} sitios."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Tu proveedor informó un error."
msgid "Your purchased gifts"
msgstr "Tus regalos comprados"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Tu CSS rápido y tus temas pueden cargar imágenes de estos sitios."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/es-ES/messages.po b/fluxer_app/src/features/i18n/locales/es-ES/messages.po
index 8cb101bdb..9738a771a 100644
--- a/fluxer_app/src/features/i18n/locales/es-ES/messages.po
+++ b/fluxer_app/src/features/i18n/locales/es-ES/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Introduce un motivo para el baneo"
msgid "Enter a secure password"
msgstr "Introduce una contraseña segura"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Escribe la dirección de un sitio, como https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer añade un número aleatorio a cada nombre de usuario, como alex#4821, para que muchas personas puedan usar el mismo nombre."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer bloqueó la carga de {url}. Súbelo como recurso."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer bloqueó la carga de {url}. Sube el archivo como recurso o usa un enlace de archivo adjunto para una imagen."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer bloqueó la carga de {url}. Sube el archivo como recurso o confía en el sitio donde está."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "He cambiado de opinión"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Confirmo de buena fe que la información y las alegaciones de esta denuncia son exactas y completas."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Confío en {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Solo los miembros y roles que elijas, además de los administradores, po
msgid "Only the selected ones"
msgstr "Solo los seleccionados"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Confía solo en sitios que conozcas. Un sitio en el que confías puede ver tu dirección IP, cuándo tienes Fluxer abierto y parte de lo que hay en tu pantalla."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Inicio de sesión único"
msgid "Single user (all statuses)"
msgstr "Usuario único (todos los estados)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Dirección del sitio"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Detener la lectura en voz alta"
msgid "Stop streaming"
msgstr "Dejar de compartir"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Dejar de confiar en {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Este tema es demasiado grande para compartir"
msgid "This theme link is missing data."
msgstr "A este enlace de tema le faltan datos."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Este tema carga imágenes de sitios en los que no confías. Marca los sitios en los que confías para cargar sus imágenes."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Puede que este tema se haya eliminado o que el enlace no sea válido."
@@ -38573,6 +38608,16 @@ msgstr "Solución de problemas"
msgid "True or false"
msgstr "Verdadero o falso"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Confiar"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Confiar en {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Dominios de confianza"
msgid "Trusted domains cleared."
msgstr "Dominios de confianza borrados."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Sitios de confianza"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Puedes crear una cuenta o iniciar sesión. Si las invitaciones se vuelve
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Puedes cambiar entre una comunidad y varias comunidades más tarde en el panel de administración."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Puedes confiar en hasta {count} sitios."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Tu proveedor ha informado de un error."
msgid "Your purchased gifts"
msgstr "Tus regalos comprados"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Tu CSS rápido y tus temas pueden cargar imágenes de estos sitios."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/fi/messages.po b/fluxer_app/src/features/i18n/locales/fi/messages.po
index e8adb62fc..1f6d04b37 100644
--- a/fluxer_app/src/features/i18n/locales/fi/messages.po
+++ b/fluxer_app/src/features/i18n/locales/fi/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Anna syy porttikiellolle"
msgid "Enter a secure password"
msgstr "Anna turvallinen salasana"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Kirjoita sivuston osoite, esimerkiksi https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer lisää jokaiseen käyttäjänimeen satunnaisen numeron, kuten alex#4821, jotta moni voi käyttää samaa nimeä."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer esti lataamasta {url}. Lataa se resurssiksi."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer esti lataamasta {url}. Lataa tiedosto resurssiksi tai käytä kuvalle liitelinkkiä."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer esti lataamasta {url}. Lataa tiedosto resurssiksi tai luota sivustoon, jolla se on."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Muutin mieleni"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Vahvistan vilpittömässä mielessä, että tämän ilmoituksen tiedot ja väitteet ovat paikkansapitäviä ja täydellisiä."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Luotan sivustoon {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Vain valitsemasi jäsenet ja roolit sekä ylläpitäjät voivat nähdä
msgid "Only the selected ones"
msgstr "Vain valitut"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Luota vain sivustoihin, jotka tunnet. Sivusto, johon luotat, näkee IP-osoitteesi, milloin Fluxer on auki ja osan siitä, mitä näytölläsi on."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Yhden kirjautumisen tunnistautuminen"
msgid "Single user (all statuses)"
msgstr "Yksi käyttäjä (kaikki tilat)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Sivuston osoite"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Lopeta kuuntelu"
msgid "Stop streaming"
msgstr "Lopeta striimaus"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Lopeta luottamus sivustoon {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Teema on liian suuri jaettavaksi"
msgid "This theme link is missing data."
msgstr "Teemalinkistä puuttuu tietoja."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Tämä teema lataa kuvia sivustoilta, joihin et luota. Valitse sivustot, joihin luotat, niin niiden kuvat ladataan."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Tämä teema on ehkä poistettu tai linkki on virheellinen."
@@ -38573,6 +38608,16 @@ msgstr "Vianmääritys"
msgid "True or false"
msgstr "Tosi tai epätosi"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Luota"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Luota sivustoon {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Luotetut verkkotunnukset"
msgid "Trusted domains cleared."
msgstr "Luotetut verkkotunnukset tyhjennetty."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Luotetut sivustot"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Voit silti luoda tilin tai kirjautua sisään. Jos kutsut otetaan myöhe
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Voit vaihtaa yhden yhteisön ja useiden yhteisöjen välillä myöhemmin ylläpitopaneelissa."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Voit luottaa enintään {count} sivustoon."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Palveluntarjoajasi ilmoitti virheestä."
msgid "Your purchased gifts"
msgstr "Ostamasi lahjat"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Pika-CSS ja teemasi voivat ladata kuvia näiltä sivustoilta."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/fr/messages.po b/fluxer_app/src/features/i18n/locales/fr/messages.po
index 7ba3185b1..a1548892f 100644
--- a/fluxer_app/src/features/i18n/locales/fr/messages.po
+++ b/fluxer_app/src/features/i18n/locales/fr/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Saisir un motif de bannissement"
msgid "Enter a secure password"
msgstr "Saisissez un mot de passe sécurisé"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Saisissez l'adresse d'un site, par exemple https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Floride"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer ajoute un numéro aléatoire à chaque nom d'utilisateur, comme alex#4821, pour que plusieurs personnes puissent utiliser le même nom."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer a bloqué le chargement de {url}. Importez-le comme ressource."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer a bloqué le chargement de {url}. Importez le fichier comme ressource ou utilisez un lien de pièce jointe pour une image."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer a bloqué le chargement de {url}. Importez le fichier comme ressource ou faites confiance au site où il se trouve."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "J'ai changé d'avis"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Je confirme de bonne foi que les informations et allégations contenues dans cet avis sont exactes et complètes."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Je fais confiance à {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Seuls les membres et les rôles que vous choisissez, ainsi que les admin
msgid "Only the selected ones"
msgstr "Seulement ceux sélectionnés"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Ne faites confiance qu'aux sites que vous connaissez. Un site auquel vous faites confiance peut voir votre adresse IP, quand Fluxer est ouvert et une partie de ce qui est à l'écran."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Connexion unique"
msgid "Single user (all statuses)"
msgstr "Utilisateur unique (tous les statuts)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Adresse du site"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Arrêter la lecture vocale"
msgid "Stop streaming"
msgstr "Arrêter le partage"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Ne plus faire confiance à {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Ce thème est trop volumineux pour être partagé"
msgid "This theme link is missing data."
msgstr "Il manque des données à ce lien de thème."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Ce thème charge des images depuis des sites auxquels vous ne faites pas confiance. Cochez les sites auxquels vous faites confiance pour charger leurs images."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Ce thème a peut-être été supprimé ou le lien est invalide."
@@ -38573,6 +38608,16 @@ msgstr "Dépannage"
msgid "True or false"
msgstr "Vrai ou faux"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Faire confiance"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Faire confiance à {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Domaines de confiance"
msgid "Trusted domains cleared."
msgstr "Domaines de confiance effacés."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Sites de confiance"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Vous pouvez toujours créer un compte ou vous connecter. Si les invitati
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Vous pourrez passer de « une communauté » à « plusieurs communautés » plus tard dans le panneau d'administration."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Vous pouvez faire confiance à {count} sites au maximum."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Ton fournisseur a signalé une erreur."
msgid "Your purchased gifts"
msgstr "Vos cadeaux achetés"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Votre CSS rapide et vos thèmes peuvent charger des images depuis ces sites."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/he/messages.po b/fluxer_app/src/features/i18n/locales/he/messages.po
index d6eb89756..4de0d5682 100644
--- a/fluxer_app/src/features/i18n/locales/he/messages.po
+++ b/fluxer_app/src/features/i18n/locales/he/messages.po
@@ -15348,6 +15348,11 @@ msgstr "הזן סיבה לחסימה"
msgid "Enter a secure password"
msgstr "הזן סיסמה מאובטחת"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "הזן כתובת אתר, למשל https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "פלורידה"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer מוסיף מספר אקראי לכל שם משתמש, כמו alex#4821, כדי שאנשים רבים יוכלו להשתמש באותו שם."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer חסם טעינת {url}. העלה אותו כקובץ נכס."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer חסם טעינת {url}. העלה את הקובץ כקובץ נכס, או השתמש בקישור לקובץ מצורף עבור תמונה."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer חסם טעינת {url}. העלה את הקובץ כקובץ נכס, או סמוך על האתר שבו הוא נמצא."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "שיניתי את דעתי"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "אני מצהיר בתום לב כי המידע והטענות בדיווח זה מדויקים ושלמים."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "אני סומך על {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "רק החברים והתפקידים שתבחרו, בתוספת מנהל
msgid "Only the selected ones"
msgstr "רק הנבחרות"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "סמוך רק על אתרים שאתה מכיר. אתר שאתה סומך עליו יכול לראות את כתובת ה-IP שלך, מתי Fluxer פתוח וחלק ממה שמופיע במסך שלך."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "כניסה יחידה"
msgid "Single user (all statuses)"
msgstr "משתמש יחיד (כל הסטטוסים)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "כתובת האתר"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "הפסקת ההשמעה"
msgid "Stop streaming"
msgstr "הפסק שידור"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "הפסק לסמוך על {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "העיצוב גדול מדי לשיתוף"
msgid "This theme link is missing data."
msgstr "קישור העיצוב הזה חסר נתונים."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "ערכת הנושא הזו טוענת תמונות מאתרים שלא סמכת עליהם. סמן את האתרים שאתה סומך עליהם כדי לטעון את התמונות שלהם."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "ייתכן שהעיצוב הוסר או שהקישור אינו תקף."
@@ -38573,6 +38608,16 @@ msgstr "פתרון בעיות"
msgid "True or false"
msgstr "אמת או שקר"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "סמוך"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "סמוך על {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "דומיינים מהימנים"
msgid "Trusted domains cleared."
msgstr "הדומיינים המהימנים נוקו."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "אתרים מהימנים"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "עדיין אפשר ליצור חשבון או להיכנס. אם ההז
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "אפשר להחליף בין קהילה אחת למספר קהילות מאוחר יותר בפאנל הניהול."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "אפשר לסמוך על עד {count} אתרים."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "הספק שלך דיווח על שגיאה."
msgid "Your purchased gifts"
msgstr "המתנות שרכשת"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "ה-CSS המהיר וערכות הנושא שלך יכולים לטעון תמונות מהאתרים האלה."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/hi/messages.po b/fluxer_app/src/features/i18n/locales/hi/messages.po
index afca3bc9a..712f0a4cf 100644
--- a/fluxer_app/src/features/i18n/locales/hi/messages.po
+++ b/fluxer_app/src/features/i18n/locales/hi/messages.po
@@ -15348,6 +15348,11 @@ msgstr "बैन करने की वजह डालें"
msgid "Enter a secure password"
msgstr "एक सुरक्षित पासवर्ड डालें"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "किसी साइट का पता डालें, जैसे https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "फ़्लोरिडा"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer हर यूज़रनेम में एक रैंडम नंबर जोड़ता है, जैसे alex#4821, ताकि कई लोग एक ही नाम इस्तेमाल कर सकें।"
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "फ्लक्सर ने {url} लोड होने से रोका। इसे एसेट के रूप में अपलोड करें।"
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "फ्लक्सर ने {url} लोड होने से रोका। फ़ाइल को एसेट के रूप में अपलोड करें, या इमेज के लिए अटैचमेंट लिंक का उपयोग करें।"
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "फ्लक्सर ने {url} लोड होने से रोका। फ़ाइल को एसेट के रूप में अपलोड करें, या जिस साइट पर वह है उस पर भरोसा करें।"
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "मैंने अपना मन बदल लिया"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "सद्भावना से मेरी यह पुष्टि है कि इस सूचना में दी गई जानकारी और आरोप सटीक और पूर्ण हैं।"
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "मुझे {site} पर भरोसा है"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "केवल आपके द्वारा चुने गए सद
msgid "Only the selected ones"
msgstr "सिर्फ़ चुने हुए"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "सिर्फ़ उन साइटों पर भरोसा करें जिन्हें आप जानते हैं। जिस साइट पर आप भरोसा करते हैं, वह आपका IP पता, फ्लक्सर कब खुला है और आपकी स्क्रीन पर दिखने वाली कुछ चीज़ें देख सकती है।"
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "सिंगल साइन-ऑन"
msgid "Single user (all statuses)"
msgstr "एक यूज़र (सभी स्टेटस)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "साइट का पता"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "बोलना बंद करें"
msgid "Stop streaming"
msgstr "स्ट्रीमिंग बंद करें"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "{site} पर भरोसा करना बंद करें"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "यह थीम शेयर करने के लिए बहुत
msgid "This theme link is missing data."
msgstr "इस थीम लिंक में डेटा मौजूद नहीं है।"
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "यह थीम उन साइटों से इमेज लोड करती है जिन पर आपने भरोसा नहीं किया है। जिन साइटों पर आपको भरोसा है उन्हें चुनें, ताकि उनकी इमेज लोड हों।"
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "यह थीम हटा दी गई होगी या लिंक अमान्य है।"
@@ -38573,6 +38608,16 @@ msgstr "समस्या निवारण"
msgid "True or false"
msgstr "सही या ग़लत"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "भरोसा करें"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "{site} पर भरोसा करें"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "भरोसेमंद डोमेन"
msgid "Trusted domains cleared."
msgstr "भरोसेमंद डोमेन हटा दिए गए हैं।"
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "भरोसेमंद साइटें"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "आप अभी भी अकाउंट बना सकते है
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "आप बाद में एडमिन पैनल में एक समुदाय और कई समुदायों के बीच स्विच कर सकते हैं।"
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "आप ज़्यादा से ज़्यादा {count} साइटों पर भरोसा कर सकते हैं।"
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "आपके प्रदाता ने एक त्रुटि ब
msgid "Your purchased gifts"
msgstr "आपके खरीदे गए उपहार"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "आपका क्विक CSS और थीम इन साइटों से इमेज लोड कर सकते हैं।"
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/hr/messages.po b/fluxer_app/src/features/i18n/locales/hr/messages.po
index 04ecda555..b0318bfca 100644
--- a/fluxer_app/src/features/i18n/locales/hr/messages.po
+++ b/fluxer_app/src/features/i18n/locales/hr/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Unesite razlog zabrane"
msgid "Enter a secure password"
msgstr "Unesite sigurnu lozinku"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Upiši adresu web-mjesta, na primjer https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer svakom korisničkom imenu dodaje nasumični broj, npr. alex#4821, kako bi više ljudi moglo koristiti isto ime."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer je blokirao učitavanje {url}. Učitaj ga kao resurs."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer je blokirao učitavanje {url}. Učitaj datoteku kao resurs ili za sliku upotrijebi poveznicu na privitak."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer je blokirao učitavanje {url}. Učitaj datoteku kao resurs ili vjeruj web-mjestu na kojem se nalazi."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Predomislio/la sam se"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Potvrđujem u dobroj vjeri da su podaci i navodi u ovoj prijavi točni i potpuni."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Vjerujem web-mjestu {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Samo članovi i uloge koje odaberete, plus administratori, mogu vidjeti
msgid "Only the selected ones"
msgstr "Samo odabrane"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Vjeruj samo web-mjestima koja poznaješ. Web-mjesto kojem vjeruješ može vidjeti tvoju IP adresu, kada je Fluxer otvoren i dio onoga što je na tvom zaslonu."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Jedinstvena prijava"
msgid "Single user (all statuses)"
msgstr "Jedan korisnik (svi statusi)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Adresa web-mjesta"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Zaustavi čitanje"
msgid "Stop streaming"
msgstr "Zaustavi dijeljenje"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Prestani vjerovati web-mjestu {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Ova je tema prevelika za dijeljenje"
msgid "This theme link is missing data."
msgstr "Ovoj poveznici teme nedostaju podaci."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Ova tema učitava slike s web-mjesta kojima ne vjeruješ. Označi web-mjesta kojima vjeruješ da bi se njihove slike učitale."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Ova tema je možda uklonjena ili je poveznica nevažeća."
@@ -38573,6 +38608,16 @@ msgstr "Rješavanje problema"
msgid "True or false"
msgstr "Točno ili netočno"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Vjeruj"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Vjeruj web-mjestu {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Pouzdane domene"
msgid "Trusted domains cleared."
msgstr "Pouzdane domene izbrisane."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Pouzdana web-mjesta"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "I dalje možete izraditi račun ili se prijaviti. Ako se pozivnice ponov
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Kasnije u administratorskoj ploči možete se prebacivati između jedne i više zajednica."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Možeš vjerovati najviše {count} web-mjesta."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Tvoj pružatelj prijavio je pogrešku."
msgid "Your purchased gifts"
msgstr "Vaši kupljeni pokloni"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Tvoj brzi CSS i teme mogu učitavati slike s ovih web-mjesta."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/hu/messages.po b/fluxer_app/src/features/i18n/locales/hu/messages.po
index db1fcb7aa..54f841ad2 100644
--- a/fluxer_app/src/features/i18n/locales/hu/messages.po
+++ b/fluxer_app/src/features/i18n/locales/hu/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Add meg a kitiltás okát"
msgid "Enter a secure password"
msgstr "Adj meg egy biztonságos jelszót"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Adj meg egy webhelycímet, például https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "A Fluxer minden felhasználónévhez véletlen számot fűz, például alex#4821, így többen is használhatják ugyanazt a nevet."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "A Fluxer blokkolta a(z) {url} betöltését. Töltsd fel erőforrásként."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "A Fluxer blokkolta a(z) {url} betöltését. Töltsd fel a fájlt erőforrásként, vagy képhez használj mellékletlinket."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "A Fluxer blokkolta a(z) {url} betöltését. Töltsd fel a fájlt erőforrásként, vagy bízz meg a webhelyben, ahol található."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Meggondoltam magam"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Jóhiszeműen kijelentem, hogy az ebben a bejelentésben szereplő információk és állítások pontosak és teljesek."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Megbízom ebben: {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Csak a kiválasztott tagok és szerepkörök, valamint az adminok látha
msgid "Only the selected ones"
msgstr "Csak a kiválasztottak"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Csak olyan webhelyekben bízz meg, amelyeket ismersz. Egy webhely, amelyben megbízol, láthatja az IP-címedet, azt, hogy mikor van megnyitva a Fluxer, és a képernyőd tartalmának egy részét."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Egyszeri bejelentkezés"
msgid "Single user (all statuses)"
msgstr "Egy felhasználó (összes állapot)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Webhely címe"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Felolvasás leállítása"
msgid "Stop streaming"
msgstr "Streamelés leállítása"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Bizalom visszavonása: {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Ez a téma túl nagy a megosztáshoz"
msgid "This theme link is missing data."
msgstr "Hiányoznak az adatok ebből a témalinkből."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Ez a téma olyan webhelyekről tölt be képeket, amelyekben nem bízol meg. Jelöld be azokat a webhelyeket, amelyekben megbízol, hogy betöltődjenek a képeik."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Lehet, hogy ezt a témát eltávolították, vagy a link érvénytelen."
@@ -38573,6 +38608,16 @@ msgstr "Hibaelhárítás"
msgid "True or false"
msgstr "Igaz vagy hamis"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Megbízom"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Bizalom: {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Megbízható domainek"
msgid "Trusted domains cleared."
msgstr "Megbízható domainek törölve."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Megbízható webhelyek"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Továbbra is létrehozhatsz fiókot vagy bejelentkezhetsz. Ha később
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Később az admin panelben válthatsz egy vagy több közösség között."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Legfeljebb {count} webhelyben bízhatsz meg."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "A szolgáltatód hibát jelzett."
msgid "Your purchased gifts"
msgstr "Megvásárolt ajándékaid"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "A gyors CSS és a témáid képeket tölthetnek be ezekről a webhelyekről."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/id/messages.po b/fluxer_app/src/features/i18n/locales/id/messages.po
index b3da19b45..909941949 100644
--- a/fluxer_app/src/features/i18n/locales/id/messages.po
+++ b/fluxer_app/src/features/i18n/locales/id/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Masukkan alasan pemblokiran"
msgid "Enter a secure password"
msgstr "Masukkan kata sandi yang aman"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Masukkan alamat situs, misalnya https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer menambahkan nomor acak ke setiap nama pengguna, seperti alex#4821, sehingga banyak orang bisa memakai nama yang sama."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer memblokir pemuatan {url}. Unggah sebagai aset."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer memblokir pemuatan {url}. Unggah file sebagai aset, atau gunakan tautan lampiran untuk gambar."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer memblokir pemuatan {url}. Unggah file sebagai aset, atau percayai situs tempat file itu berada."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Saya berubah pikiran"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Saya mengonfirmasi dengan itikad baik bahwa informasi dan tuduhan dalam pemberitahuan ini akurat dan lengkap."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Saya percaya {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Hanya anggota dan peran yang Anda pilih, ditambah admin, yang dapat meli
msgid "Only the selected ones"
msgstr "Hanya yang dipilih"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Hanya percayai situs yang kamu kenal. Situs yang kamu percayai bisa melihat alamat IP-mu, kapan Fluxer terbuka, dan sebagian isi layarmu."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Login tunggal"
msgid "Single user (all statuses)"
msgstr "Satu pengguna (semua status)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Alamat situs"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Hentikan pembacaan"
msgid "Stop streaming"
msgstr "Hentikan streaming"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Berhenti memercayai {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Tema ini terlalu besar untuk dibagikan"
msgid "This theme link is missing data."
msgstr "Tautan tema ini tidak memiliki data."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Tema ini memuat gambar dari situs yang belum kamu percayai. Centang situs yang kamu percayai untuk memuat gambarnya."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Tema ini mungkin sudah dihapus atau tautannya tidak valid."
@@ -38573,6 +38608,16 @@ msgstr "Pemecahan masalah"
msgid "True or false"
msgstr "Benar atau salah"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Percayai"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Percayai {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Domain tepercaya"
msgid "Trusted domains cleared."
msgstr "Domain tepercaya sudah dihapus."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Situs tepercaya"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Kamu masih bisa membuat akun atau masuk. Jika undangan diaktifkan kembal
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Anda dapat beralih antara satu komunitas dan banyak komunitas nanti di panel admin."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Kamu bisa memercayai hingga {count} situs."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Penyediamu melaporkan kesalahan."
msgid "Your purchased gifts"
msgstr "Hadiah yang kamu beli"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "CSS cepat dan temamu bisa memuat gambar dari situs-situs ini."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/it/messages.po b/fluxer_app/src/features/i18n/locales/it/messages.po
index f37dff7c8..1da3617e9 100644
--- a/fluxer_app/src/features/i18n/locales/it/messages.po
+++ b/fluxer_app/src/features/i18n/locales/it/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Inserisci un motivo per il ban"
msgid "Enter a secure password"
msgstr "Inserisci una password sicura"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Inserisci l'indirizzo di un sito, ad esempio https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer aggiunge un numero casuale a ogni nome utente, come alex#4821, così più persone possono usare lo stesso nome."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer ha bloccato il caricamento di {url}. Caricalo come risorsa."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer ha bloccato il caricamento di {url}. Carica il file come risorsa o usa un link a un allegato per un'immagine."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer ha bloccato il caricamento di {url}. Carica il file come risorsa o considera attendibile il sito su cui si trova."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Ho cambiato idea"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Confermo in buona fede che le informazioni e le affermazioni contenute in questa segnalazione sono accurate e complete."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Considero attendibile {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Solo i membri e i ruoli scelti, più gli amministratori, potranno visual
msgid "Only the selected ones"
msgstr "Solo quelli selezionati"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Considera attendibili solo i siti che conosci. Un sito attendibile può vedere il tuo indirizzo IP, quando hai Fluxer aperto e parte di ciò che è sul tuo schermo."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Accesso singolo"
msgid "Single user (all statuses)"
msgstr "Utente singolo (tutti gli stati)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Indirizzo del sito"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Interrompi la riproduzione"
msgid "Stop streaming"
msgstr "Smetti di trasmettere"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Non considerare più attendibile {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Questo tema è troppo grande per essere condiviso"
msgid "This theme link is missing data."
msgstr "Il link del tema non contiene dati."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Questo tema carica immagini da siti che non hai considerato attendibili. Seleziona i siti attendibili per caricarne le immagini."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Questo tema potrebbe essere stato rimosso o il link non è valido."
@@ -38573,6 +38608,16 @@ msgstr "Risoluzione problemi"
msgid "True or false"
msgstr "Vero o falso"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Considera attendibile"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Considera attendibile {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Domini attendibili"
msgid "Trusted domains cleared."
msgstr "Domini attendibili cancellati."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Siti attendibili"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Puoi comunque creare un account o accedere. Se gli inviti verranno riabi
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Puoi passare da una community a molte community in seguito nel pannello di amministrazione."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Puoi considerare attendibili fino a {count} siti."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Il tuo provider ha segnalato un errore."
msgid "Your purchased gifts"
msgstr "I tuoi regali acquistati"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Il tuo CSS rapido e i tuoi temi possono caricare immagini da questi siti."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/ja/messages.po b/fluxer_app/src/features/i18n/locales/ja/messages.po
index cc3b86a9f..cfb98406b 100644
--- a/fluxer_app/src/features/i18n/locales/ja/messages.po
+++ b/fluxer_app/src/features/i18n/locales/ja/messages.po
@@ -15348,6 +15348,11 @@ msgstr "BANの理由を入力"
msgid "Enter a secure password"
msgstr "安全なパスワードを入力"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "https://example.com のようなサイトのアドレスを入力してください。"
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "フロリダ州"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxerは各ユーザー名にalex#4821のようなランダムな番号を付けるので、多くの人が同じ名前を使えます。"
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxerは{url}の読み込みをブロックしました。アセットとしてアップロードしてください。"
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxerは{url}の読み込みをブロックしました。ファイルをアセットとしてアップロードするか、画像の場合は添付ファイルのリンクを使ってください。"
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxerは{url}の読み込みをブロックしました。ファイルをアセットとしてアップロードするか、ファイルがあるサイトを信頼してください。"
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "やっぱりやめます"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "私は、本通知に記載された情報および申し立てが正確かつ完全であることを、誠意をもって確認します。"
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "{site}を信頼する"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "選択したメンバーとロール、および管理者のみがこの
msgid "Only the selected ones"
msgstr "選択した項目のみ"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "知っているサイトだけを信頼してください。信頼したサイトには、あなたのIPアドレス、Fluxerを開いている時間、画面に表示されている内容の一部が伝わる可能性があります。"
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "シングルサインオン"
msgid "Single user (all statuses)"
msgstr "個別ユーザー(すべてのステータス)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "サイトのアドレス"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "読み上げを停止"
msgid "Stop streaming"
msgstr "ストリーミングを停止"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "{site}の信頼をやめる"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "このテーマはサイズが大きすぎるため共有できません
msgid "This theme link is missing data."
msgstr "このテーマのリンクはデータが不足しています。"
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "このテーマは、信頼していないサイトから画像を読み込みます。画像を読み込むには、信頼するサイトにチェックを入れてください。"
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "このテーマは削除されたか、リンクが無効です。"
@@ -38573,6 +38608,16 @@ msgstr "トラブルシューティング"
msgid "True or false"
msgstr "真偽値"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "信頼する"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "{site}を信頼"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "信頼済みドメイン"
msgid "Trusted domains cleared."
msgstr "信頼済みドメインをクリアしました。"
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "信頼したサイト"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "アカウントを作成したり、サインインしたりすること
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "後で管理パネルから、コミュニティを1つにしたり、複数にしたりすることができます。"
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "信頼できるサイトは最大{count}件です。"
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "プロバイダーがエラーを報告しました。"
msgid "Your purchased gifts"
msgstr "購入したギフト"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "クイックCSSとテーマは、これらのサイトから画像を読み込めます。"
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/ko/messages.po b/fluxer_app/src/features/i18n/locales/ko/messages.po
index 480b47ab9..e46eb5a32 100644
--- a/fluxer_app/src/features/i18n/locales/ko/messages.po
+++ b/fluxer_app/src/features/i18n/locales/ko/messages.po
@@ -15348,6 +15348,11 @@ msgstr "차단 사유를 입력하세요"
msgid "Enter a secure password"
msgstr "안전한 비밀번호를 입력하세요"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "https://example.com 같은 사이트 주소를 입력하세요."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "플로리다"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer가 alex#4821처럼 사용자 이름마다 임의의 번호를 붙이므로 여러 사람이 같은 이름을 사용할 수 있습니다."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer가 {url} 불러오기를 차단했어요. 에셋으로 업로드하세요."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer가 {url} 불러오기를 차단했어요. 파일을 에셋으로 업로드하거나 이미지라면 첨부 파일 링크를 사용하세요."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer가 {url} 불러오기를 차단했어요. 파일을 에셋으로 업로드하거나 파일이 있는 사이트를 신뢰하세요."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "마음이 바뀌었어요"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "본 신고에 담긴 정보와 주장이 정확하고 완전함을 선의로 확인합니다."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "{site}을(를) 신뢰합니다"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "선택한 멤버와 역할, 그리고 관리자만 이 채널을 볼 수
msgid "Only the selected ones"
msgstr "선택한 항목만"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "아는 사이트만 신뢰하세요. 신뢰한 사이트는 내 IP 주소, Fluxer를 열어 둔 시간, 화면에 보이는 내용 일부를 알 수 있어요."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "SSO 로그인"
msgid "Single user (all statuses)"
msgstr "단일 사용자 (모든 상태)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "사이트 주소"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "말하기 중지"
msgid "Stop streaming"
msgstr "스트리밍 중지"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "{site} 신뢰 해제"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "이 테마는 너무 커서 공유할 수 없습니다"
msgid "This theme link is missing data."
msgstr "테마 링크에 데이터가 없습니다."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "이 테마는 신뢰하지 않은 사이트에서 이미지를 불러와요. 이미지를 불러오려면 신뢰하는 사이트를 선택하세요."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "테마가 삭제되었거나 링크가 유효하지 않습니다."
@@ -38573,6 +38608,16 @@ msgstr "문제 해결"
msgid "True or false"
msgstr "참 또는 거짓"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "신뢰"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "{site} 신뢰"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "신뢰하는 도메인"
msgid "Trusted domains cleared."
msgstr "신뢰하는 도메인이 삭제되었습니다."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "신뢰한 사이트"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "계정을 만들거나 로그인할 수 있습니다. 나중에 초대
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "나중에 관리자 패널에서 커뮤니티 하나와 여러 커뮤니티 간에 전환할 수 있습니다."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "최대 {count}개 사이트를 신뢰할 수 있어요."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "제공자가 오류를 보고했습니다."
msgid "Your purchased gifts"
msgstr "구매한 선물"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "빠른 CSS와 테마에서 이 사이트들의 이미지를 불러올 수 있어요."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/lt/messages.po b/fluxer_app/src/features/i18n/locales/lt/messages.po
index 5efb6de61..5d11906c7 100644
--- a/fluxer_app/src/features/i18n/locales/lt/messages.po
+++ b/fluxer_app/src/features/i18n/locales/lt/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Įveskite užblokavimo priežastį"
msgid "Enter a secure password"
msgstr "Įveskite saugų slaptažodį"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Įvesk svetainės adresą, pavyzdžiui, https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer prie kiekvieno naudotojo vardo prideda atsitiktinį numerį, pvz., alex#4821, kad tą patį vardą galėtų naudoti daug žmonių."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer užblokavo {url} įkėlimą. Įkelk kaip išteklį."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer užblokavo {url} įkėlimą. Įkelk failą kaip išteklį arba paveikslėliui naudok priedo nuorodą."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer užblokavo {url} įkėlimą. Įkelk failą kaip išteklį arba pasitikėk svetaine, kurioje jis yra."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19034,6 +19044,11 @@ msgstr "Persigalvojau"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Sąžiningai patvirtinu, kad šiame pranešime pateikta informacija ir teiginiai yra tikslūs ir išsamūs."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Pasitikiu {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25628,6 +25643,11 @@ msgstr "Šį kanalą galės matyti tik jūsų pasirinkti nariai ir vaidmenys bei
msgid "Only the selected ones"
msgstr "Tik pasirinkti"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Pasitikėk tik svetainėmis, kurias žinai. Svetainė, kuria pasitiki, gali matyti tavo IP adresą, kada Fluxer atidarytas, ir dalį to, kas rodoma tavo ekrane."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33842,6 +33862,11 @@ msgstr "Vienkartinis prisijungimas"
msgid "Single user (all statuses)"
msgstr "Vienas naudotojas (visos būsenos)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Svetainės adresas"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35134,6 +35159,11 @@ msgstr "Nustoti skaityti"
msgid "Stop streaming"
msgstr "Sustabdyti srautą"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Nebepasitikėti {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37876,6 +37906,11 @@ msgstr "Ši tema per didelė, kad ją būtų galima bendrinti"
msgid "This theme link is missing data."
msgstr "Šioje temos nuorodoje trūksta duomenų."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Ši tema įkelia paveikslėlius iš svetainių, kuriomis nepasitiki. Pažymėk svetaines, kuriomis pasitiki, kad jų paveikslėliai būtų įkelti."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Ši tema galėjo būti pašalinta arba nuoroda yra neteisinga."
@@ -38574,6 +38609,16 @@ msgstr "Trikčių šalinimas"
msgid "True or false"
msgstr "Tiesa arba netiesa"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Pasitikėti"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Pasitikėti {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38609,6 +38654,11 @@ msgstr "Patikimi domenai"
msgid "Trusted domains cleared."
msgstr "Patikimi domenai išvalyti."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Patikimos svetainės"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42914,6 +42964,11 @@ msgstr "Vis tiek galite susikurti paskyrą arba prisijungti. Jei vėliau kvietim
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Vėliau administratoriaus skydelyje galėsite perjungti tarp vienos ir daugelio bendruomenių."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Gali pasitikėti daugiausia {count} svetainėmis."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44172,6 +44227,11 @@ msgstr "Tavo teikėjas pranešė apie klaidą."
msgid "Your purchased gifts"
msgstr "Jūsų įsigytos dovanos"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Tavo greitasis CSS ir temos gali įkelti paveikslėlius iš šių svetainių."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/nl/messages.po b/fluxer_app/src/features/i18n/locales/nl/messages.po
index 9d209752a..0122663ff 100644
--- a/fluxer_app/src/features/i18n/locales/nl/messages.po
+++ b/fluxer_app/src/features/i18n/locales/nl/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Geef een reden op voor de verbanning"
msgid "Enter a secure password"
msgstr "Voer een veilig wachtwoord in"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Voer een siteadres in, zoals https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer zet een willekeurig nummer achter elke gebruikersnaam, zoals alex#4821, zodat veel mensen dezelfde naam kunnen gebruiken."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer blokkeerde het laden van {url}. Upload het als bestand."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer blokkeerde het laden van {url}. Upload het als bestand of gebruik voor een afbeelding een bijlagelink."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer blokkeerde het laden van {url}. Upload het als bestand of vertrouw de site waar het op staat."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Ik heb me bedacht"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Ik verklaar te goeder trouw dat de informatie en de beweringen in deze melding juist en volledig zijn."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Ik vertrouw {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Alleen de leden en rollen die je kiest, plus beheerders, kunnen dit kana
msgid "Only the selected ones"
msgstr "Alleen de geselecteerde"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Vertrouw alleen sites die je kent. Een site die je vertrouwt, kan je IP-adres zien, wanneer je Fluxer open hebt en een deel van wat er op je scherm staat."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Single sign-on"
msgid "Single user (all statuses)"
msgstr "Eén gebruiker (alle statussen)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Siteadres"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Voorlezen stoppen"
msgid "Stop streaming"
msgstr "Stoppen met streamen"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "{site} niet meer vertrouwen"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Dit thema is te groot om te delen"
msgid "This theme link is missing data."
msgstr "Deze themalink mist gegevens."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Dit thema laadt afbeeldingen van sites die je niet vertrouwt. Vink de sites aan die je vertrouwt om hun afbeeldingen te laden."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Dit thema is mogelijk verwijderd of de link is ongeldig."
@@ -38573,6 +38608,16 @@ msgstr "Problemen oplossen"
msgid "True or false"
msgstr "Waar of onwaar"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Vertrouwen"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "{site} vertrouwen"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Vertrouwde domeinen"
msgid "Trusted domains cleared."
msgstr "Vertrouwde domeinen gewist."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Vertrouwde sites"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Je kunt nog steeds een account aanmaken of inloggen. Als uitnodigingen l
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Je kunt later in het configuratiescherm schakelen tussen één community en meerdere communities."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Je kunt maximaal {count} sites vertrouwen."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Je provider heeft een fout gemeld."
msgid "Your purchased gifts"
msgstr "Je gekochte cadeaus"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Je snelle CSS en thema's kunnen afbeeldingen van deze sites laden."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/no/messages.po b/fluxer_app/src/features/i18n/locales/no/messages.po
index 0d07433f6..967bea895 100644
--- a/fluxer_app/src/features/i18n/locales/no/messages.po
+++ b/fluxer_app/src/features/i18n/locales/no/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Skriv inn en grunn for utestengelsen"
msgid "Enter a secure password"
msgstr "Skriv inn et sikkert passord"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Skriv inn en nettstedadresse som https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer legger til et tilfeldig nummer på hvert brukernavn, som alex#4821, slik at mange kan bruke samme navn."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer blokkerte lasting av {url}. Last den opp som en ressurs."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer blokkerte lasting av {url}. Last opp filen som en ressurs, eller bruk en vedleggslenke for et bilde."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer blokkerte lasting av {url}. Last opp filen som en ressurs, eller stol på nettstedet den ligger på."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Jeg ombestemte meg"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Jeg bekrefter i god tro at opplysningene og påstandene i denne rapporten er nøyaktige og fullstendige."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Jeg stoler på {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Kun medlemmene og rollene du velger, pluss administratorer, kan se denne
msgid "Only the selected ones"
msgstr "Kun de valgte"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Stol bare på nettsteder du kjenner. Et nettsted du stoler på, kan se IP-adressen din, når du har Fluxer åpent og noe av det som er på skjermen din."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Enhetsinnlogging"
msgid "Single user (all statuses)"
msgstr "Enkeltbruker (alle statuser)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Nettstedadresse"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Stopp opplesningen"
msgid "Stop streaming"
msgstr "Stopp strømming"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Slutt å stole på {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Dette temaet er for stort til å deles"
msgid "This theme link is missing data."
msgstr "Denne temalenken mangler data."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Dette temaet laster inn bilder fra nettsteder du ikke stoler på. Merk av nettstedene du stoler på for å laste inn bildene deres."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Dette temaet kan ha blitt fjernet, eller lenken er ugyldig."
@@ -38573,6 +38608,16 @@ msgstr "Feilsøking"
msgid "True or false"
msgstr "Sann eller usann"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Stol på"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Stol på {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Klarerte domener"
msgid "Trusted domains cleared."
msgstr "Listen over klarerte domener er tømt."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Nettsteder du stoler på"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Du kan fortsatt opprette en konto eller logge på. Hvis invitasjoner akt
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Du kan bytte mellom ett fellesskap og mange fellesskap senere i administrasjonspanelet."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Du kan stole på opptil {count} nettsteder."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Leverandøren din rapporterte en feil."
msgid "Your purchased gifts"
msgstr "Dine kjøpte gaver"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Hurtig-CSS-en og temaene dine kan laste inn bilder fra disse nettstedene."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/pl/messages.po b/fluxer_app/src/features/i18n/locales/pl/messages.po
index 2aaba792b..ff91f04af 100644
--- a/fluxer_app/src/features/i18n/locales/pl/messages.po
+++ b/fluxer_app/src/features/i18n/locales/pl/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Wpisz powód zbanowania"
msgid "Enter a secure password"
msgstr "Wprowadź bezpieczne hasło"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Wpisz adres witryny, na przykład https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Floryda"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer dodaje losowy numer do każdej nazwy użytkownika, np. alex#4821, aby wiele osób mogło używać tej samej nazwy."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer zablokował ładowanie {url}. Prześlij to jako zasób."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer zablokował ładowanie {url}. Prześlij plik jako zasób lub użyj linku do załącznika w przypadku obrazu."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer zablokował ładowanie {url}. Prześlij plik jako zasób lub zaufaj witrynie, na której się znajduje."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Jednak rezygnuję"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Potwierdzam w dobrej wierze, że informacje i zarzuty zawarte w tym zgłoszeniu są dokładne i kompletne."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Ufam witrynie {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Tylko wybrane przez Ciebie osoby i role, a także administratorzy, będ
msgid "Only the selected ones"
msgstr "Tylko wybrane"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Ufaj tylko witrynom, które znasz. Zaufana witryna może zobaczyć Twój adres IP, kiedy masz otwarty Fluxer, i część tego, co jest na Twoim ekranie."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Logowanie jednokrotne"
msgid "Single user (all statuses)"
msgstr "Jeden użytkownik (wszystkie statusy)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Adres witryny"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Zatrzymaj odczytywanie"
msgid "Stop streaming"
msgstr "Zakończ transmisję"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Przestań ufać witrynie {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Ten motyw jest za duży, by go udostępnić"
msgid "This theme link is missing data."
msgstr "W tym linku do motywu brakuje danych."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Ten motyw ładuje obrazy z witryn, którym nie ufasz. Zaznacz witryny, którym ufasz, aby załadować ich obrazy."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Ten motyw mógł zostać usunięty lub link jest nieprawidłowy."
@@ -38573,6 +38608,16 @@ msgstr "Rozwiązywanie problemów"
msgid "True or false"
msgstr "Prawda lub fałsz"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Zaufaj"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Zaufaj witrynie {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Zaufane domeny"
msgid "Trusted domains cleared."
msgstr "Wyczyszczono zaufane domeny."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Zaufane witryny"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Nadal możesz utworzyć konto lub się zalogować. Jeśli zaproszenia zo
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Możesz później przełączyć się między jedną a wieloma społecznościami w panelu administratora."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Możesz zaufać maksymalnie {count} witrynom."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Twój dostawca zgłosił błąd."
msgid "Your purchased gifts"
msgstr "Twoje kupione prezenty"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Twój szybki CSS i motywy mogą ładować obrazy z tych witryn."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/pt-BR/messages.po b/fluxer_app/src/features/i18n/locales/pt-BR/messages.po
index fbb87453c..4b04f77c2 100644
--- a/fluxer_app/src/features/i18n/locales/pt-BR/messages.po
+++ b/fluxer_app/src/features/i18n/locales/pt-BR/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Insira um motivo para o banimento"
msgid "Enter a secure password"
msgstr "Digite uma senha segura"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Digite o endereço de um site, como https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Flórida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "O Fluxer adiciona um número aleatório a cada nome de usuário, como alex#4821, para que muitas pessoas possam usar o mesmo nome."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "O Fluxer bloqueou o carregamento de {url}. Envie como um recurso."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "O Fluxer bloqueou o carregamento de {url}. Envie o arquivo como um recurso ou use um link de anexo para uma imagem."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "O Fluxer bloqueou o carregamento de {url}. Envie o arquivo como um recurso ou confie no site em que ele está."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Mudei de ideia"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Confirmo de boa-fé que as informações e alegações neste aviso são precisas e completas."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Confio em {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Somente os membros e cargos que você escolher, além dos administradore
msgid "Only the selected ones"
msgstr "Apenas os selecionados"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Confie só em sites que você conhece. Um site em que você confia pode ver seu endereço IP, quando o Fluxer está aberto e parte do que aparece na sua tela."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Login único"
msgid "Single user (all statuses)"
msgstr "Usuário único (todos os status)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Endereço do site"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Parar leitura em voz alta"
msgid "Stop streaming"
msgstr "Parar transmissão"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Deixar de confiar em {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Este tema é muito grande para compartilhar"
msgid "This theme link is missing data."
msgstr "Este link de tema está sem dados."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Este tema carrega imagens de sites em que você não confiou. Marque os sites em que você confia para carregar as imagens deles."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Este tema pode ter sido removido ou o link é inválido."
@@ -38573,6 +38608,16 @@ msgstr "Solução de problemas"
msgid "True or false"
msgstr "Verdadeiro ou falso"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Confiar"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Confiar em {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Domínios confiáveis"
msgid "Trusted domains cleared."
msgstr "Domínios confiáveis apagados."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Sites confiáveis"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Você ainda pode criar uma conta ou entrar. Se os convites forem reativa
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Você pode alternar entre uma comunidade e várias comunidades mais tarde no painel de administração."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Você pode confiar em até {count} sites."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Seu provedor informou um erro."
msgid "Your purchased gifts"
msgstr "Seus presentes comprados"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Seu CSS rápido e seus temas podem carregar imagens desses sites."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/ro/messages.po b/fluxer_app/src/features/i18n/locales/ro/messages.po
index 9526cc661..97d3d0f6a 100644
--- a/fluxer_app/src/features/i18n/locales/ro/messages.po
+++ b/fluxer_app/src/features/i18n/locales/ro/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Introdu un motiv pentru interdicție"
msgid "Enter a secure password"
msgstr "Introdu o parolă sigură"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Introdu adresa unui site, de exemplu https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer adaugă un număr aleatoriu la fiecare nume de utilizator, de exemplu alex#4821, ca mai mulți oameni să poată folosi același nume."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer a blocat încărcarea {url}. Încarcă-l ca resursă."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer a blocat încărcarea {url}. Încarcă fișierul ca resursă sau folosește un link de atașament pentru o imagine."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer a blocat încărcarea {url}. Încarcă fișierul ca resursă sau ai încredere în site-ul pe care se află."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "M-am răzgândit"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Confirm cu bună-credință că informațiile și afirmațiile din acest raport sunt exacte și complete."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Am încredere în {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Doar membrii și rolurile pe care le alegi, plus administratorii, pot ve
msgid "Only the selected ones"
msgstr "Doar cele selectate"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Ai încredere doar în site-urile pe care le cunoști. Un site în care ai încredere poate vedea adresa ta IP, când ai Fluxer deschis și o parte din ce apare pe ecranul tău."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Autentificare unică"
msgid "Single user (all statuses)"
msgstr "Utilizator unic (toate statusurile)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Adresa site-ului"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Oprește citirea"
msgid "Stop streaming"
msgstr "Oprește streamingul"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Nu mai am încredere în {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Această temă este prea mare pentru a fi partajată"
msgid "This theme link is missing data."
msgstr "Acest link de temă nu are date."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Această temă încarcă imagini de pe site-uri în care nu ai încredere. Bifează site-urile în care ai încredere ca să li se încarce imaginile."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Această temă este posibil să fi fost eliminată sau linkul este invalid."
@@ -38573,6 +38608,16 @@ msgstr "Depanare"
msgid "True or false"
msgstr "Adevărat sau fals"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Am încredere"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Am încredere în {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Domenii de încredere"
msgid "Trusted domains cleared."
msgstr "Domeniile de încredere au fost șterse."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Site-uri de încredere"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Poți crea în continuare un cont sau te poți autentifica. Dacă invita
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Poți comuta între o comunitate și mai multe comunități mai târziu în panoul de administrare."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Poți avea încredere în cel mult {count} site-uri."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Furnizorul tău a raportat o eroare."
msgid "Your purchased gifts"
msgstr "Cadourile tale cumpărate"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "CSS-ul rapid și temele tale pot încărca imagini de pe aceste site-uri."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/ru/messages.po b/fluxer_app/src/features/i18n/locales/ru/messages.po
index 2d2be380d..1af011644 100644
--- a/fluxer_app/src/features/i18n/locales/ru/messages.po
+++ b/fluxer_app/src/features/i18n/locales/ru/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Укажите причину бана"
msgid "Enter a secure password"
msgstr "Введите надёжный пароль"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Введите адрес сайта, например https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Флорида"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer добавляет к каждому имени пользователя случайный номер, например alex#4821, чтобы одно имя могли использовать многие."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer заблокировал загрузку {url}. Загрузите это как ресурс."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer заблокировал загрузку {url}. Загрузите файл как ресурс или используйте ссылку на вложение для изображения."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer заблокировал загрузку {url}. Загрузите файл как ресурс или доверьтесь сайту, на котором он находится."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Я передумал(а)"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Настоящим добросовестно подтверждаю, что сведения и утверждения в этом уведомлении точны и полны."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Я доверяю {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Этот канал смогут просматривать только
msgid "Only the selected ones"
msgstr "Только выбранные"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Доверяйте только сайтам, которые знаете. Сайт, которому вы доверяете, может видеть ваш IP-адрес, когда у вас открыт Fluxer, и часть того, что есть на экране."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Единый вход"
msgid "Single user (all statuses)"
msgstr "Один пользователь (все статусы)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Адрес сайта"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Остановить озвучивание"
msgid "Stop streaming"
msgstr "Прекратить трансляцию"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Перестать доверять {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Эта тема слишком большая, чтобы ею поде
msgid "This theme link is missing data."
msgstr "В ссылке на тему отсутствуют данные."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Эта тема загружает изображения с сайтов, которым вы не доверяете. Отметьте сайты, которым доверяете, чтобы загрузить их изображения."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Возможно, эта тема была удалена или ссылка недействительна."
@@ -38573,6 +38608,16 @@ msgstr "Устранение неполадок"
msgid "True or false"
msgstr "Да или нет"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Доверять"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Доверять {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Доверенные домены"
msgid "Trusted domains cleared."
msgstr "Доверенные домены очищены."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Доверенные сайты"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Вы всё ещё можете создать аккаунт или в
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Вы сможете переключиться между одним сообществом и несколькими сообществами позже в панели администратора."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Можно доверять не более чем {count} сайтам."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Твой провайдер сообщил об ошибке."
msgid "Your purchased gifts"
msgstr "Ваши купленные подарки"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Ваш быстрый CSS и темы могут загружать изображения с этих сайтов."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/sv-SE/messages.po b/fluxer_app/src/features/i18n/locales/sv-SE/messages.po
index 913314efb..2adc2072f 100644
--- a/fluxer_app/src/features/i18n/locales/sv-SE/messages.po
+++ b/fluxer_app/src/features/i18n/locales/sv-SE/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Ange en anledning till bannlysningen"
msgid "Enter a secure password"
msgstr "Ange ett säkert lösenord"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Ange en webbplatsadress som https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer lägger till ett slumpat nummer på varje användarnamn, som alex#4821, så att många kan använda samma namn."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer blockerade laddning av {url}. Ladda upp den som en resurs."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer blockerade laddning av {url}. Ladda upp filen som en resurs eller använd en bilagelänk för en bild."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer blockerade laddning av {url}. Ladda upp filen som en resurs eller lita på webbplatsen den ligger på."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Jag ångrade mig"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Jag försäkrar i god tro att uppgifterna och påståendena i denna anmälan är korrekta och fullständiga."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Jag litar på {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Endast medlemmarna och rollerna du väljer, plus administratörer, kan s
msgid "Only the selected ones"
msgstr "Endast de valda"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Lita bara på webbplatser du känner till. En webbplats du litar på kan se din IP-adress, när du har Fluxer öppet och en del av det som syns på skärmen."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Enkel inloggning"
msgid "Single user (all statuses)"
msgstr "En användare (alla statusar)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Webbplatsadress"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Stoppa uppläsning"
msgid "Stop streaming"
msgstr "Sluta sända"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Sluta lita på {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Temat är för stort för att dela"
msgid "This theme link is missing data."
msgstr "Temalänken saknar data."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Det här temat laddar bilder från webbplatser du inte litar på. Markera de webbplatser du litar på för att ladda deras bilder."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Det här temat kan ha tagits bort eller så är länken ogiltig."
@@ -38573,6 +38608,16 @@ msgstr "Felsökning"
msgid "True or false"
msgstr "Sant eller falskt"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Lita på"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Lita på {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Betrodda domäner"
msgid "Trusted domains cleared."
msgstr "Betrodda domäner rensade."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Webbplatser du litar på"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Du kan fortfarande skapa ett konto eller logga in. Om inbjudningar aktiv
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Du kan byta mellan en community och flera communities senare i adminpanelen."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Du kan lita på upp till {count} webbplatser."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Din leverantör rapporterade ett fel."
msgid "Your purchased gifts"
msgstr "Dina köpta presenter"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Din snabb-CSS och dina teman kan ladda bilder från de här webbplatserna."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/th/messages.po b/fluxer_app/src/features/i18n/locales/th/messages.po
index c46557b02..c925afcf6 100644
--- a/fluxer_app/src/features/i18n/locales/th/messages.po
+++ b/fluxer_app/src/features/i18n/locales/th/messages.po
@@ -15348,6 +15348,11 @@ msgstr "ระบุเหตุผลในการแบน"
msgid "Enter a secure password"
msgstr "ป้อนรหัสผ่านที่ปลอดภัย"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "ใส่ที่อยู่เว็บไซต์ เช่น https://example.com"
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "ฟลอริดา"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer จะเพิ่มตัวเลขสุ่มต่อท้ายชื่อผู้ใช้แต่ละชื่อ เช่น alex#4821 เพื่อให้หลายคนใช้ชื่อเดียวกันได้"
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer บล็อกการโหลด {url} ให้อัปโหลดเป็นไฟล์ประกอบ"
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer บล็อกการโหลด {url} ให้อัปโหลดไฟล์เป็นไฟล์ประกอบ หรือใช้ลิงก์ไฟล์แนบสำหรับรูปภาพ"
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer บล็อกการโหลด {url} ให้อัปโหลดไฟล์เป็นไฟล์ประกอบ หรือเชื่อถือเว็บไซต์ที่มีไฟล์นั้น"
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "เปลี่ยนใจแล้ว"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "ข้าพเจ้ายืนยันโดยสุจริตว่าข้อมูลและข้อกล่าวหาในรายงานนี้ถูกต้องและครบถ้วน"
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "ฉันเชื่อถือ {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "เฉพาะสมาชิกและบทบาทที่คุ
msgid "Only the selected ones"
msgstr "เฉพาะที่เลือกไว้"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "เชื่อถือเฉพาะเว็บไซต์ที่คุณรู้จัก เว็บไซต์ที่คุณเชื่อถือจะเห็นที่อยู่ IP ของคุณ เวลาที่คุณเปิด Fluxer และบางส่วนของสิ่งที่อยู่บนหน้าจอ"
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "การลงชื่อเข้าใช้แบบครั้ง
msgid "Single user (all statuses)"
msgstr "ผู้ใช้คนเดียว (ทุกสถานะ)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "ที่อยู่เว็บไซต์"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "หยุดพูด"
msgid "Stop streaming"
msgstr "หยุดสตรีม"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "เลิกเชื่อถือ {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "ธีมนี้มีขนาดใหญ่เกินกว่า
msgid "This theme link is missing data."
msgstr "ลิงก์ธีมนี้ไม่มีข้อมูล"
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "ธีมนี้โหลดรูปภาพจากเว็บไซต์ที่คุณยังไม่ได้เชื่อถือ เลือกเว็บไซต์ที่คุณเชื่อถือเพื่อโหลดรูปภาพจากเว็บไซต์นั้น"
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "ธีมนี้อาจถูกลบไปแล้วหรือลิงก์ไม่ถูกต้อง"
@@ -38573,6 +38608,16 @@ msgstr "การแก้ไขปัญหา"
msgid "True or false"
msgstr "จริงหรือเท็จ"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "เชื่อถือ"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "เชื่อถือ {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "โดเมนที่เชื่อถือได้"
msgid "Trusted domains cleared."
msgstr "ล้างโดเมนที่เชื่อถือได้แล้ว"
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "เว็บไซต์ที่เชื่อถือ"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "คุณยังสามารถสร้างบัญชีหร
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "คุณสามารถสลับระหว่างชุมชนเดียวและหลายชุมชนได้ในภายหลังในแผงผู้ดูแลระบบ"
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "คุณเชื่อถือเว็บไซต์ได้สูงสุด {count} แห่ง"
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "ผู้ให้บริการของคุณรายงาน
msgid "Your purchased gifts"
msgstr "ของขวัญที่คุณซื้อ"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "CSS ด่วนและธีมของคุณโหลดรูปภาพจากเว็บไซต์เหล่านี้ได้"
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/tr/messages.po b/fluxer_app/src/features/i18n/locales/tr/messages.po
index 6b2b54f51..1aec8675b 100644
--- a/fluxer_app/src/features/i18n/locales/tr/messages.po
+++ b/fluxer_app/src/features/i18n/locales/tr/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Yasaklama nedenini girin"
msgid "Enter a secure password"
msgstr "Güvenli bir parola girin"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "https://example.com gibi bir site adresi gir."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer her kullanıcı adına alex#4821 gibi rastgele bir numara ekler, böylece birçok kişi aynı adı kullanabilir."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer {url} yüklenmesini engelledi. Onu bir öğe olarak yükle."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer {url} yüklenmesini engelledi. Dosyayı bir öğe olarak yükle veya bir görsel için ek bağlantısı kullan."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer {url} yüklenmesini engelledi. Dosyayı bir öğe olarak yükle veya bulunduğu siteye güven."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Fikrimi değiştirdim"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Bu raporda yer alan bilgilerin ve iddiaların doğru ve eksiksiz olduğunu iyi niyetle onaylıyorum."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "{site} sitesine güveniyorum"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Yalnızca seçtiğin üyeler ve roller ile yöneticiler bu kanalı göre
msgid "Only the selected ones"
msgstr "Yalnızca seçilenler"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Yalnızca tanıdığın sitelere güven. Güvendiğin bir site IP adresini, Fluxer'ı ne zaman açık tuttuğunu ve ekranındakilerin bir kısmını görebilir."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Tekli oturum açma"
msgid "Single user (all statuses)"
msgstr "Tek kullanıcı (tüm durumlar)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Site adresi"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Konuşmayı durdur"
msgid "Stop streaming"
msgstr "Yayını durdur"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "{site} sitesine güvenmeyi bırak"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Bu tema paylaşılamayacak kadar büyük"
msgid "This theme link is missing data."
msgstr "Bu tema bağlantısında veri eksik."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Bu tema, güvenmediğin sitelerden görsel yüklüyor. Görsellerinin yüklenmesi için güvendiğin siteleri işaretle."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Bu tema kaldırılmış veya bağlantı geçersiz olabilir."
@@ -38573,6 +38608,16 @@ msgstr "Sorun giderme"
msgid "True or false"
msgstr "Doğru veya yanlış"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Güven"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "{site} sitesine güven"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Güvenilen alan adları"
msgid "Trusted domains cleared."
msgstr "Güvenilen alan adları temizlendi."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Güvenilen siteler"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Yine de bir hesap oluşturabilir veya oturum açabilirsiniz. Davetler da
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Daha sonra yönetici panelinden bir topluluk ile birden fazla topluluk arasında geçiş yapabilirsiniz."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "En fazla {count} siteye güvenebilirsin."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Sağlayıcın bir hata bildirdi."
msgid "Your purchased gifts"
msgstr "Satın aldığınız hediyeler"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Hızlı CSS'in ve temaların bu sitelerden görsel yükleyebilir."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/uk/messages.po b/fluxer_app/src/features/i18n/locales/uk/messages.po
index e7fad3440..c6906ae8d 100644
--- a/fluxer_app/src/features/i18n/locales/uk/messages.po
+++ b/fluxer_app/src/features/i18n/locales/uk/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Введіть причину блокування"
msgid "Enter a secure password"
msgstr "Введіть надійний пароль"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Введіть адресу сайту, наприклад https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Флорида"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer додає до кожного імені користувача випадковий номер, наприклад alex#4821, щоб одне ім'я могли використовувати багато людей."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer заблокував завантаження {url}. Завантажте це як ресурс."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer заблокував завантаження {url}. Завантажте файл як ресурс або скористайтеся посиланням на вкладення для зображення."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer заблокував завантаження {url}. Завантажте файл як ресурс або довіртеся сайту, на якому він розміщений."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Я передумав(-ла)"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Я добросовісно підтверджую, що відомості та твердження, наведені в цій скарзі, є точними та повними."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Я довіряю {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Лише вибрані вами учасники та ролі, а та
msgid "Only the selected ones"
msgstr "Лише вибрані"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Довіряйте лише сайтам, які знаєте. Сайт, якому ви довіряєте, може бачити вашу IP-адресу, коли у вас відкритий Fluxer, і частину того, що є на екрані."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Єдиний вхід"
msgid "Single user (all statuses)"
msgstr "Один користувач (усі статуси)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Адреса сайту"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Зупинити озвучення"
msgid "Stop streaming"
msgstr "Припинити трансляцію"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Перестати довіряти {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Ця тема занадто велика, щоб нею ділитис
msgid "This theme link is missing data."
msgstr "У цьому посиланні на тему відсутні дані."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Ця тема завантажує зображення із сайтів, яким ви не довіряєте. Позначте сайти, яким довіряєте, щоб завантажити їхні зображення."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Цю тему, можливо, було видалено або посилання недійсне."
@@ -38573,6 +38608,16 @@ msgstr "Вирішення проблем"
msgid "True or false"
msgstr "Так або ні"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Довіряти"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Довіряти {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Довірені домени"
msgid "Trusted domains cleared."
msgstr "Довірені домени очищено."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Довірені сайти"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Ви все одно можете створити обліковий з
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Ви можете пізніше переключитися між однією спільнотою та багатьма спільнотами в панелі адміністратора."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Можна довіряти не більше ніж {count} сайтам."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Твій провайдер повідомив про помилку."
msgid "Your purchased gifts"
msgstr "Ваші придбані подарунки"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "Ваш швидкий CSS і теми можуть завантажувати зображення із цих сайтів."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/vi/messages.po b/fluxer_app/src/features/i18n/locales/vi/messages.po
index 8809ef145..79cf8d7df 100644
--- a/fluxer_app/src/features/i18n/locales/vi/messages.po
+++ b/fluxer_app/src/features/i18n/locales/vi/messages.po
@@ -15348,6 +15348,11 @@ msgstr "Nhập lý do cấm"
msgid "Enter a secure password"
msgstr "Nhập mật khẩu an toàn"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "Nhập địa chỉ trang web, ví dụ https://example.com."
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "Florida"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer thêm một số ngẫu nhiên vào mỗi tên người dùng, như alex#4821, để nhiều người có thể dùng cùng một tên."
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer đã chặn tải {url}. Hãy tải lên như một tài nguyên."
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer đã chặn tải {url}. Hãy tải tệp lên như một tài nguyên hoặc dùng liên kết tệp đính kèm cho hình ảnh."
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer đã chặn tải {url}. Hãy tải tệp lên như một tài nguyên hoặc tin cậy trang web chứa tệp đó."
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "Tôi đã đổi ý"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "Tôi xác nhận với thiện chí rằng thông tin và các cáo buộc trong thông báo này là chính xác và đầy đủ."
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "Tôi tin cậy {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "Chỉ những thành viên và vai trò bạn chọn, cùng với quản
msgid "Only the selected ones"
msgstr "Chỉ những mục đã chọn"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "Chỉ tin cậy những trang web bạn biết. Trang web bạn tin cậy có thể thấy địa chỉ IP của bạn, lúc bạn mở Fluxer và một phần nội dung trên màn hình của bạn."
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "Đăng nhập một lần"
msgid "Single user (all statuses)"
msgstr "Một người dùng (tất cả trạng thái)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "Địa chỉ trang web"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "Dừng đọc"
msgid "Stop streaming"
msgstr "Dừng chia sẻ màn hình"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "Ngừng tin cậy {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "Chủ đề này quá lớn để chia sẻ"
msgid "This theme link is missing data."
msgstr "Liên kết chủ đề này bị thiếu dữ liệu."
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "Chủ đề này tải hình ảnh từ các trang web bạn chưa tin cậy. Đánh dấu các trang web bạn tin cậy để tải hình ảnh của chúng."
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "Chủ đề này có thể đã bị gỡ hoặc liên kết không hợp lệ."
@@ -38573,6 +38608,16 @@ msgstr "Khắc phục sự cố"
msgid "True or false"
msgstr "Đúng hoặc sai"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "Tin cậy"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "Tin cậy {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "Miền tin cậy"
msgid "Trusted domains cleared."
msgstr "Đã xóa các miền tin cậy."
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "Trang web tin cậy"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "Bạn vẫn có thể tạo tài khoản hoặc đăng nhập. Nếu l
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "Bạn có thể chuyển đổi giữa một cộng đồng và nhiều cộng đồng sau trong bảng quản trị."
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "Bạn có thể tin cậy tối đa {count} trang web."
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "Nhà cung cấp của bạn đã báo lỗi."
msgid "Your purchased gifts"
msgstr "Quà bạn đã mua"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "CSS nhanh và chủ đề của bạn có thể tải hình ảnh từ các trang web này."
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/zh-CN/messages.po b/fluxer_app/src/features/i18n/locales/zh-CN/messages.po
index 38a72537c..8b150f795 100644
--- a/fluxer_app/src/features/i18n/locales/zh-CN/messages.po
+++ b/fluxer_app/src/features/i18n/locales/zh-CN/messages.po
@@ -15348,6 +15348,11 @@ msgstr "填写封禁理由"
msgid "Enter a secure password"
msgstr "输入安全密码"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "请输入网站地址,例如 https://example.com。"
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "佛罗里达州"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer 会在每个用户名后加上一个随机编号,例如 alex#4821,这样很多人可以使用同一个名字。"
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer 阻止加载 {url}。请作为素材上传。"
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer 阻止加载 {url}。请将文件作为素材上传,图片也可以使用附件链接。"
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer 阻止加载 {url}。请将文件作为素材上传,或信任文件所在的网站。"
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "我改变主意了"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "我谨本着善意确认,本通知中的信息和指控均准确、完整。"
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "我信任 {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "只有你选择的成员和角色,以及管理员,才能查看此频
msgid "Only the selected ones"
msgstr "仅包含所选"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "只信任你了解的网站。你信任的网站可以看到你的 IP 地址、你何时打开 Fluxer,以及你屏幕上的部分内容。"
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "单点登录"
msgid "Single user (all statuses)"
msgstr "单个用户(所有状态)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "网站地址"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "停止朗读"
msgid "Stop streaming"
msgstr "停止直播"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "不再信任 {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "此主题过大,无法分享"
msgid "This theme link is missing data."
msgstr "此主题链接缺少数据。"
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "此主题会从你尚未信任的网站加载图片。勾选你信任的网站,以加载它们的图片。"
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "此主题可能已被移除或链接无效。"
@@ -38573,6 +38608,16 @@ msgstr "故障排除"
msgid "True or false"
msgstr "真或假"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "信任"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "信任 {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "信任的域名"
msgid "Trusted domains cleared."
msgstr "已清除受信任域名。"
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "受信任的网站"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "你仍然可以创建账号或登录。如果稍后重新启用邀请,
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "之后你可以在管理面板中切换社区数量。"
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "你最多可以信任 {count} 个网站。"
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "你的提供方报告了一个错误。"
msgid "Your purchased gifts"
msgstr "你已购买的礼物"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "你的快速 CSS 和主题可以从这些网站加载图片。"
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/i18n/locales/zh-TW/messages.po b/fluxer_app/src/features/i18n/locales/zh-TW/messages.po
index 9e8fa5e58..95f374352 100644
--- a/fluxer_app/src/features/i18n/locales/zh-TW/messages.po
+++ b/fluxer_app/src/features/i18n/locales/zh-TW/messages.po
@@ -15348,6 +15348,11 @@ msgstr "輸入停權原因"
msgid "Enter a secure password"
msgstr "請輸入安全密碼"
+#. Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Enter a site address like https://example.com."
+msgstr "請輸入網站網址,例如 https://example.com。"
+
#. Validation error in the import-template form when the entered URL or code is malformed. {theOtherPlatform} is a third-party product name placeholder.
#: src/features/guild/components/modals/add_guild_modal/shared.ts
msgid "Enter a valid {theOtherPlatform} template URL or code."
@@ -16791,10 +16796,15 @@ msgstr "佛羅里達州"
msgid "Fluxer adds a random number to each username, like alex#4821, so many people can use the same name."
msgstr "Fluxer 會在每個使用者名稱後加上一組隨機編號,例如 alex#4821,讓許多人可以使用相同名稱。"
-#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".
+#. Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Fluxer blocked loading {url}. Upload it as an asset."
+msgstr "Fluxer 已封鎖載入 {url}。請將其上傳為素材。"
+
+#. Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.
#: src/features/theme_settings/editor/CssLint.ts
-msgid "Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image."
-msgstr "Fluxer 已封鎖載入 {url}。請將檔案上傳為素材,圖片也可以使用附件連結。"
+msgid "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on."
+msgstr "Fluxer 已封鎖載入 {url}。請將檔案上傳為素材,或信任檔案所在的網站。"
#. Problem shown in the quick CSS editor on a reference to an uploaded theme asset that does not exist.
#: src/features/theme_settings/editor/CssLint.ts
@@ -19033,6 +19043,11 @@ msgstr "我改變心意了"
msgid "I confirm in good faith that the information and allegations in this notice are accurate and complete."
msgstr "我本於善意確認,本通知中的資訊與指控均正確且完整。"
+#. Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "I trust {site}"
+msgstr "我信任 {site}"
+
#. Short label in the voice tab. Keep it concise.
#: src/features/channel/components/MatureContentChannelGate.tsx
#: src/features/user/components/modals/tabs/UserVoiceTab.tsx
@@ -25627,6 +25642,11 @@ msgstr "只有你選擇的成員和角色,以及管理員,才能檢視此頻
msgid "Only the selected ones"
msgstr "僅限選取的社群"
+#. Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.
+#: src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+msgid "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen."
+msgstr "只信任你了解的網站。你信任的網站可以看到你的 IP 位址、你何時開啟 Fluxer,以及你螢幕上的部分內容。"
+
#. Body of the error modal shown when a non-Visionary user tries to rejoin a gated Plutonium community.
#: src/features/app/components/dialogs/components/plutonium/hooks/useCommunityActions.tsx
msgid "Only Visionary members can join this community. Your access may have changed since this screen was opened."
@@ -33841,6 +33861,11 @@ msgstr "單一登入"
msgid "Single user (all statuses)"
msgstr "單一使用者(所有狀態)"
+#. Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Site address"
+msgstr "網站網址"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts
msgid "Size"
@@ -35133,6 +35158,11 @@ msgstr "停止朗讀"
msgid "Stop streaming"
msgstr "停止直播"
+#. Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Stop trusting {site}"
+msgstr "不再信任 {site}"
+
#. Confirmation prompt in the links tab.
#: src/features/user/components/modals/tabs/chat_settings_tab/ChatSettingsTabLinksTab.tsx
msgid "Stop trusting all links?"
@@ -37875,6 +37905,11 @@ msgstr "此佈景主題過大,無法分享"
msgid "This theme link is missing data."
msgstr "這個主題連結缺少資料。"
+#. Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.
+#: src/features/theme/components/modals/ThemeAcceptModal.tsx
+msgid "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images."
+msgstr "這個主題會從你尚未信任的網站載入圖片。勾選你信任的網站,以載入它們的圖片。"
+
#: src/features/theme/components/pages/ThemeAuthPageConfig.tsx
msgid "This theme may have been removed or the link is invalid."
msgstr "此主題可能已被移除或連結無效。"
@@ -38573,6 +38608,16 @@ msgstr "疑難排解"
msgid "True or false"
msgstr "真或假"
+#. Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trust"
+msgstr "信任"
+
+#. Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.
+#: src/features/theme_settings/editor/CssLint.ts
+msgid "Trust {site}"
+msgstr "信任 {site}"
+
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
#: src/features/user/utils/UserMessageDescriptors.ts
msgid "Trust all"
@@ -38608,6 +38653,11 @@ msgstr "信任的網域"
msgid "Trusted domains cleared."
msgstr "已清除信任的網域。"
+#. Heading in the "Quick CSS" section of Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Trusted sites"
+msgstr "受信任的網站"
+
#. Hint under the empty search state in the thread browser.
#: src/features/threads/utils/ThreadMessageDescriptors.ts
msgid "Try a different name or check the other tab."
@@ -42913,6 +42963,11 @@ msgstr "您仍然可以建立帳號或登入。如果稍後重新啟用邀請,
msgid "You can switch between one community and many communities later in the admin panel."
msgstr "之後你隨時可以在管理面板中切換社群數量。"
+#. Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "You can trust up to {count} sites."
+msgstr "你最多可以信任 {count} 個網站。"
+
#. Warning shown when direct messages are turned off in the setup wizard.
#: src/features/app/components/setup/SetupPolicySteps.tsx
msgid "You can turn direct messages and friend requests back on later in the admin panel."
@@ -44171,6 +44226,11 @@ msgstr "你的提供者回報了一個錯誤。"
msgid "Your purchased gifts"
msgstr "您已購買的禮物"
+#. Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.
+#: src/features/theme_settings/components/TrustedSitesSettings.tsx
+msgid "Your quick CSS and themes can load images from these sites."
+msgstr "你的快速 CSS 和主題可以從這些網站載入圖片。"
+
#. Title of the modal that shows a newly created account recovery kit.
#: src/features/auth/components/modals/RecoveryKitModal.tsx
msgid "Your recovery kit"
diff --git a/fluxer_app/src/features/theme/components/modals/ThemeAcceptModal.module.css b/fluxer_app/src/features/theme/components/modals/ThemeAcceptModal.module.css
index eba84e894..cb9fc682c 100644
--- a/fluxer_app/src/features/theme/components/modals/ThemeAcceptModal.module.css
+++ b/fluxer_app/src/features/theme/components/modals/ThemeAcceptModal.module.css
@@ -112,3 +112,9 @@
justify-content: flex-end;
gap: 0.75rem;
}
+
+.trustSites {
+ display: flex;
+ flex-direction: column;
+ gap: var(--spacing-2);
+}
diff --git a/fluxer_app/src/features/theme/components/modals/ThemeAcceptModal.tsx b/fluxer_app/src/features/theme/components/modals/ThemeAcceptModal.tsx
index b5093e0a0..fdbf3fe17 100644
--- a/fluxer_app/src/features/theme/components/modals/ThemeAcceptModal.tsx
+++ b/fluxer_app/src/features/theme/components/modals/ThemeAcceptModal.tsx
@@ -13,7 +13,11 @@ import {gateThemeCss} from '@app/features/theme/utils/ThemeCssUrlGate';
import {buildThemeCssFetchUrl} from '@app/features/theme/utils/ThemeUtils';
import * as ThemeSettingsCommands from '@app/features/theme_settings/commands/ThemeSettingsCommands';
import {useCurrentAccountLabels} from '@app/features/theme_settings/hooks/useCurrentAccountLabels';
+import ThemeSettingsState from '@app/features/theme_settings/state/ThemeSettingsState';
+import {canTrustSites} from '@app/features/theme_settings/state/TrustedSites';
+import {TRUSTED_SITE_WARNING_DESCRIPTOR} from '@app/features/theme_settings/utils/ThemeSettingsMessageDescriptors';
import {Button} from '@app/features/ui/button/Button';
+import {Checkbox} from '@app/features/ui/checkbox/Checkbox';
import * as ModalCommands from '@app/features/ui/commands/ModalCommands';
import * as ToastCommands from '@app/features/ui/commands/ToastCommands';
import {CopyButton} from '@app/features/ui/components/CopyButton';
@@ -55,8 +59,19 @@ const BLOCKED_FILES_DESCRIPTOR = msg({
message: "Fluxer won't load {count, plural, one {# file} other {# files}} that this theme links to on other sites.",
comment: 'Shown in the modal that applies a shared theme when the theme points at files the app will not load.',
});
+const UNTRUSTED_SITES_DESCRIPTOR = msg({
+ message: "This theme loads images from sites you haven't trusted. Check the sites you trust to load their images.",
+ comment:
+ 'Shown in the modal that applies a shared theme in the desktop app, above a list of web addresses with a checkbox each.',
+});
+const I_TRUST_SITE_DESCRIPTOR = msg({
+ message: 'I trust {site}',
+ comment:
+ 'Checkbox label in the modal that applies a shared theme. {site} is a web address like https://example.com. When checked, the site is trusted when the theme is applied.',
+});
const logger = new Logger('ThemeAcceptModal');
const NO_OBJECT_URLS: ReadonlySet<string> = new Set();
+const NO_SITES: ReadonlyArray<string> = [];
interface ThemeAcceptModalProps {
themeId: string;
@@ -74,10 +89,26 @@ export const ThemeAcceptModal = observer(function ThemeAcceptModal({themeId, run
const [fetchStatus, setFetchStatus] = useState<'idle' | 'loading' | 'error' | 'ready'>('idle');
const [fetchError, setFetchError] = useState<string | null>(null);
const highlightedCss = useArboriumHighlightedHtml('css', css);
- const blockedCount = useMemo(() => {
- if (!css) return 0;
- return gateThemeCss(css, {mediaEndpoint: runtimeSnapshot.mediaEndpoint, objectUrls: NO_OBJECT_URLS}).blocked.length;
- }, [css, runtimeSnapshot]);
+ const trustedSites = canTrustSites() ? ThemeSettingsState.trustedSites : NO_SITES;
+ const [sitesToTrust, setSitesToTrust] = useState<ReadonlySet<string>>(new Set());
+ const gated = useMemo(() => {
+ if (!css) return null;
+ return gateThemeCss(css, {
+ mediaEndpoint: runtimeSnapshot.mediaEndpoint,
+ objectUrls: NO_OBJECT_URLS,
+ trustedSites: new Set(trustedSites),
+ });
+ }, [css, runtimeSnapshot, trustedSites]);
+ const blockedCount = gated?.blocked.length ?? 0;
+ const untrustedSites = canTrustSites() ? (gated?.blockedSites ?? NO_SITES) : NO_SITES;
+ const setSiteTrusted = (site: string, trusted: boolean) => {
+ setSitesToTrust((current) => {
+ const next = new Set(current);
+ if (trusted) next.add(site);
+ else next.delete(site);
+ return next;
+ });
+ };
useEffect(() => {
let cancelled = false;
const fetchTheme = async () => {
@@ -123,6 +154,9 @@ export const ThemeAcceptModal = observer(function ThemeAcceptModal({themeId, run
}
setIsApplying(true);
try {
+ for (const site of untrustedSites) {
+ if (sitesToTrust.has(site)) ThemeSettingsState.trustSite(site);
+ }
ThemeSettingsCommands.setEditedCustomThemeCss(css);
ToastCommands.success(i18n._(THEME_APPLIED_SUCCESSFULLY_DESCRIPTOR));
setIsApplied(true);
@@ -177,6 +211,27 @@ export const ThemeAcceptModal = observer(function ThemeAcceptModal({themeId, run
{i18n._(BLOCKED_FILES_DESCRIPTOR, {count: blockedCount})}
</p>
)}
+ {untrustedSites.length > 0 && !isApplied && (
+ <div className={styles.trustSites} data-flx="theme.theme-accept-modal.trust-sites">
+ <p className={styles.description} data-flx="theme.theme-accept-modal.untrusted-sites">
+ {i18n._(UNTRUSTED_SITES_DESCRIPTOR)}
+ </p>
+ <p className={styles.description} data-flx="theme.theme-accept-modal.trusted-site-warning">
+ {i18n._(TRUSTED_SITE_WARNING_DESCRIPTOR)}
+ </p>
+ {untrustedSites.map((site) => (
+ <Checkbox
+ key={site}
+ checked={sitesToTrust.has(site)}
+ size="small"
+ onChange={(checked) => setSiteTrusted(site, checked)}
+ data-flx="theme.theme-accept-modal.checkbox.trust-site"
+ >
+ {i18n._(I_TRUST_SITE_DESCRIPTOR, {site})}
+ </Checkbox>
+ ))}
+ </div>
+ )}
<div className={styles.codeContainer} data-flx="theme.theme-accept-modal.code-container">
<CopyButton
value={css ?? ''}
diff --git a/fluxer_app/src/features/theme/hooks/useCustomThemeStyle.ts b/fluxer_app/src/features/theme/hooks/useCustomThemeStyle.ts
index 57087ca66..346ccfa8e 100644
--- a/fluxer_app/src/features/theme/hooks/useCustomThemeStyle.ts
+++ b/fluxer_app/src/features/theme/hooks/useCustomThemeStyle.ts
@@ -40,6 +40,7 @@ interface CustomThemeStyleOptions {
themeLibraryLocalFiles: ReadonlyArray<ThemeLibraryLocalFileReference>;
themeLibraryRevision: number;
mediaEndpoint: string;
+ trustedSites: ReadonlyArray<string>;
onMissingReferences: (references: ReadonlyArray<string>) => void;
onBlockedUrl: (url: string) => void;
onCssRejected: (rejected: boolean) => void;
@@ -87,6 +88,7 @@ interface ThemeCssRequest {
assets: ReadonlyArray<ThemeLibraryAsset>;
localFiles: ReadonlyArray<ThemeLibraryLocalFileReference>;
mediaEndpoint: string;
+ trustedSites: ReadonlyArray<string>;
onMissingReferences: (references: ReadonlyArray<string>) => void;
onBlockedUrl: (url: string) => void;
onCssRejected: (rejected: boolean) => void;
@@ -240,7 +242,11 @@ async function applyThemeCssRequest(applier: ThemeCssApplier, request: ThemeCssR
revokeObjectUrls(objectUrls);
return;
}
- const policy = {mediaEndpoint: request.mediaEndpoint, objectUrls: new Set(objectUrls)};
+ const policy = {
+ mediaEndpoint: request.mediaEndpoint,
+ objectUrls: new Set(objectUrls),
+ trustedSites: new Set(request.trustedSites),
+ };
const gated = gateThemeCss(resolved.css, policy);
for (const url of gated.blocked) request.onBlockedUrl(url);
const final = gated.rejected
@@ -317,6 +323,7 @@ export function useCustomThemeStyle({
themeLibraryLocalFiles,
themeLibraryRevision,
mediaEndpoint,
+ trustedSites,
onMissingReferences,
onBlockedUrl,
onCssRejected,
@@ -369,6 +376,7 @@ export function useCustomThemeStyle({
assets: themeLibraryAssets,
localFiles: themeLibraryLocalFiles,
mediaEndpoint,
+ trustedSites,
onMissingReferences,
onBlockedUrl,
onCssRejected,
@@ -382,6 +390,7 @@ export function useCustomThemeStyle({
themeLibraryLocalFiles,
themeLibraryRevision,
mediaEndpoint,
+ trustedSites,
onMissingReferences,
onBlockedUrl,
onCssRejected,
diff --git a/fluxer_app/src/features/theme/utils/ThemeCssUrlGate.ts b/fluxer_app/src/features/theme/utils/ThemeCssUrlGate.ts
index 26d4f529e..639181ed7 100644
--- a/fluxer_app/src/features/theme/utils/ThemeCssUrlGate.ts
+++ b/fluxer_app/src/features/theme/utils/ThemeCssUrlGate.ts
@@ -13,6 +13,7 @@ const ENCODED_SEPARATOR_PATTERN = /%2f|%5c|\\/i;
const FRAGMENT_REFERENCE_PATTERN = /^#[^/\\:]*$/;
const DATA_URL_PATTERN =
/^data:(image\/(png|jpeg|gif|webp|avif|svg\+xml)|font\/[a-z0-9.+-]+|application\/(font-woff2?|x-font-[a-z0-9]+|vnd\.ms-fontobject))[;,]/i;
+const TRUSTABLE_HOST_PATTERN = /^[a-z0-9-]+(\.[a-z0-9-]+)+$/i;
const SNOWFLAKE_PATTERN = /^[1-9][0-9]*$/;
const ASSET_FILENAME_PATTERN = /^[a-z0-9_]+\.[a-z0-9]+$/i;
const SNOWFLAKE_FILENAME_PATTERN = /^[1-9][0-9]*\.[a-z0-9]+$/i;
@@ -67,12 +68,14 @@ export interface ThemeCssGatePolicy {
readonly mediaEndpoint: string;
readonly objectUrls: ReadonlySet<string>;
readonly instanceOrigins?: ReadonlySet<string>;
+ readonly trustedSites?: ReadonlySet<string>;
}
export interface ThemeCssGateResult {
readonly css: string;
readonly rejected: boolean;
readonly blocked: ReadonlyArray<string>;
+ readonly blockedSites: ReadonlyArray<string>;
readonly keptMediaUrls: ReadonlyArray<string>;
}
@@ -86,6 +89,7 @@ interface GatePass {
readonly css: string;
readonly changed: boolean;
readonly blocked: Array<string>;
+ readonly blockedSites: Array<string>;
readonly keptMediaUrls: Array<string>;
}
@@ -146,6 +150,12 @@ function canonicalMediaAssetUrl(value: string, mediaEndpoint: string): string |
return `${url.origin}${url.pathname}${queryText ? `?${queryText}` : ''}`;
}
+export function trustableSiteOf(value: string): string | null {
+ const url = parseUrl(value.trim());
+ if (url === null || url.protocol !== 'https:' || url.username !== '' || url.password !== '') return null;
+ return TRUSTABLE_HOST_PATTERN.test(url.hostname) ? url.origin : null;
+}
+
function isInstanceUrl(value: string, instanceOrigins: ReadonlySet<string> | undefined): boolean {
if (!instanceOrigins) return false;
const url = parseUrl(value);
@@ -184,6 +194,8 @@ function allowedValue(rawValue: string, inFontFace: boolean, policy: ThemeCssGat
if (/^blob:/i.test(value)) return policy.objectUrls.has(value) ? value : null;
if (isInstanceUrl(value, policy.instanceOrigins)) return value;
if (inFontFace) return isFontFile(value) ? value : null;
+ const site = trustableSiteOf(value);
+ if (site !== null && policy.trustedSites?.has(site)) return value;
return canonicalAttachmentUrl(value, policy.mediaEndpoint) ?? canonicalMediaAssetUrl(value, policy.mediaEndpoint);
}
@@ -249,6 +261,7 @@ function runGatePass(css: string, policy: ThemeCssGatePolicy, signedUrls: Readon
const tokens = tokenize({css});
const replacements: Array<Replacement> = [];
const blocked: Array<string> = [];
+ const blockedSites = new Set<string>();
const keptMediaUrls = new Set<string>();
let fontFaceEndIndex = -1;
@@ -257,7 +270,11 @@ function runGatePass(css: string, policy: ThemeCssGatePolicy, signedUrls: Readon
const keepValue = (token: CSSToken, inFontFace: boolean): Replacement | null | undefined => {
const original = tokenValue(token);
const allowed = allowedValue(original, inFontFace, policy);
- if (allowed === null) return null;
+ if (allowed === null) {
+ const site = inFontFace ? null : trustableSiteOf(original);
+ if (site !== null) blockedSites.add(site);
+ return null;
+ }
let next = allowed;
if (!inFontFace && canonicalAttachmentUrl(allowed, policy.mediaEndpoint) === allowed) {
if (!keptMediaUrls.has(allowed) && keptMediaUrls.size >= MAX_KEPT_MEDIA_URLS) return null;
@@ -377,7 +394,13 @@ function runGatePass(css: string, policy: ThemeCssGatePolicy, signedUrls: Readon
position = to;
}
output += css.slice(position);
- return {css: output, changed: replacements.length > 0, blocked, keptMediaUrls: [...keptMediaUrls]};
+ return {
+ css: output,
+ changed: replacements.length > 0,
+ blocked,
+ blockedSites: [...blockedSites],
+ keptMediaUrls: [...keptMediaUrls],
+ };
}
function runGate(css: string, policy: ThemeCssGatePolicy, signedUrls: ReadonlyMap<string, string>): ThemeCssGateResult {
@@ -388,6 +411,7 @@ function runGate(css: string, policy: ThemeCssGatePolicy, signedUrls: ReadonlyMa
css: rejected ? '' : pass.css,
rejected,
blocked: [...new Set(pass.blocked)].filter((value) => value.trim() !== ''),
+ blockedSites: pass.blockedSites,
keptMediaUrls: rejected ? [] : check.keptMediaUrls,
};
}
@@ -395,7 +419,12 @@ function runGate(css: string, policy: ThemeCssGatePolicy, signedUrls: ReadonlyMa
let lastGate: {css: string; policyKey: string; result: ThemeCssGateResult} | null = null;
export function gateThemeCss(css: string, policy: ThemeCssGatePolicy): ThemeCssGateResult {
- const policyKey = JSON.stringify([policy.mediaEndpoint, [...policy.objectUrls], [...(policy.instanceOrigins ?? [])]]);
+ const policyKey = JSON.stringify([
+ policy.mediaEndpoint,
+ [...policy.objectUrls],
+ [...(policy.instanceOrigins ?? [])],
+ [...(policy.trustedSites ?? [])],
+ ]);
if (lastGate?.css === css && lastGate.policyKey === policyKey) return lastGate.result;
const result = runGate(css, policy, new Map());
lastGate = {css, policyKey, result};
diff --git a/fluxer_app/src/features/theme_settings/ThemesTab.module.css b/fluxer_app/src/features/theme_settings/ThemesTab.module.css
index 29d1d872e..955d9bd0c 100644
--- a/fluxer_app/src/features/theme_settings/ThemesTab.module.css
+++ b/fluxer_app/src/features/theme_settings/ThemesTab.module.css
@@ -210,3 +210,14 @@
flex-wrap: wrap;
}
}
+
+.trustedSiteForm {
+ display: flex;
+ align-items: flex-end;
+ gap: var(--spacing-3);
+}
+
+.trustedSiteForm > :first-child {
+ flex: 1 1 auto;
+ min-width: 0;
+}
diff --git a/fluxer_app/src/features/theme_settings/components/QuickCssSection.tsx b/fluxer_app/src/features/theme_settings/components/QuickCssSection.tsx
index bcdbddc69..3a8ff880c 100644
--- a/fluxer_app/src/features/theme_settings/components/QuickCssSection.tsx
+++ b/fluxer_app/src/features/theme_settings/components/QuickCssSection.tsx
@@ -10,6 +10,8 @@ import {remFromPx} from '@app/features/theme/layout/RemFromPx';
import ThemeEditTarget from '@app/features/theme/state/ThemeEditTarget';
import ThemeProfile from '@app/features/theme/state/ThemeProfile';
import * as ThemeSettingsCommands from '@app/features/theme_settings/commands/ThemeSettingsCommands';
+import {TrustedSitesSettings} from '@app/features/theme_settings/components/TrustedSitesSettings';
+import {canTrustSites} from '@app/features/theme_settings/state/TrustedSites';
import styles from '@app/features/theme_settings/ThemesTab.module.css';
import {
OPEN_QUICK_CSS_EDITOR_DESCRIPTOR,
@@ -148,6 +150,7 @@ export const QuickCssSection: React.FC = observer(() => {
data-flx="theme-settings.quick-css-section.switch.sync-change"
/>
) : null}
+ {canTrustSites() ? <TrustedSitesSettings /> : null}
</SettingsSection>
);
});
diff --git a/fluxer_app/src/features/theme_settings/components/TrustedSitesSettings.tsx b/fluxer_app/src/features/theme_settings/components/TrustedSitesSettings.tsx
new file mode 100644
index 000000000..b1c0c2aa4
--- /dev/null
+++ b/fluxer_app/src/features/theme_settings/components/TrustedSitesSettings.tsx
@@ -0,0 +1,141 @@
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
+import {remFromPx} from '@app/features/theme/layout/RemFromPx';
+import ThemeSettingsState from '@app/features/theme_settings/state/ThemeSettingsState';
+import {MAX_TRUSTED_SITES, parseTrustedSite} from '@app/features/theme_settings/state/TrustedSites';
+import styles from '@app/features/theme_settings/ThemesTab.module.css';
+import {TRUSTED_SITE_WARNING_DESCRIPTOR} from '@app/features/theme_settings/utils/ThemeSettingsMessageDescriptors';
+import {Button} from '@app/features/ui/button/Button';
+import {Input} from '@app/features/ui/components/form/FormInput';
+import FocusRing from '@app/features/ui/focus_ring/FocusRing';
+import {msg} from '@lingui/core/macro';
+import {useLingui} from '@lingui/react/macro';
+import {TrashIcon} from '@phosphor-icons/react';
+import {clsx} from 'clsx';
+import {observer} from 'mobx-react-lite';
+import type React from 'react';
+import {useState} from 'react';
+
+const TRUSTED_SITES_DESCRIPTOR = msg({
+ message: 'Trusted sites',
+ comment: 'Heading in the "Quick CSS" section of Settings > Themes in the desktop app.',
+});
+const TRUSTED_SITES_DESCRIPTION_DESCRIPTOR = msg({
+ message: 'Your quick CSS and themes can load images from these sites.',
+ comment: 'Shown under the "Trusted sites" heading in Settings > Themes in the desktop app.',
+});
+const SITE_ADDRESS_DESCRIPTOR = msg({
+ message: 'Site address',
+ comment:
+ 'Label of the field where you type a web address like https://example.com under "Trusted sites" in Settings > Themes.',
+});
+const TRUST_DESCRIPTOR = msg({
+ message: 'Trust',
+ comment:
+ 'Button next to the "Site address" field under "Trusted sites" in Settings > Themes. Adds the site to the list.',
+});
+const INVALID_SITE_DESCRIPTOR = msg({
+ message: 'Enter a site address like https://example.com.',
+ comment: 'Error under the "Site address" field in Settings > Themes when the text is not a valid https web address.',
+});
+const TOO_MANY_SITES_DESCRIPTOR = msg({
+ message: 'You can trust up to {count} sites.',
+ comment: 'Error under the "Site address" field in Settings > Themes when the list of trusted sites is full.',
+});
+const STOP_TRUSTING_DESCRIPTOR = msg({
+ message: 'Stop trusting {site}',
+ comment:
+ 'Accessible label of the delete button on a row under "Trusted sites" in Settings > Themes. {site} is a web address.',
+});
+
+export const TrustedSitesSettings: React.FC = observer(() => {
+ const {i18n} = useLingui();
+ const [value, setValue] = useState('');
+ const [error, setError] = useState<string | null>(null);
+ const sites = ThemeSettingsState.trustedSites;
+ const handleTrust = () => {
+ const site = parseTrustedSite(value);
+ if (site === null) {
+ setError(i18n._(INVALID_SITE_DESCRIPTOR));
+ return;
+ }
+ if (!sites.includes(site) && sites.length >= MAX_TRUSTED_SITES) {
+ setError(i18n._(TOO_MANY_SITES_DESCRIPTOR, {count: MAX_TRUSTED_SITES}));
+ return;
+ }
+ ThemeSettingsState.trustSite(site);
+ setValue('');
+ setError(null);
+ };
+ return (
+ <div className={styles.stack} data-flx="theme-settings.trusted-sites-settings.stack">
+ <h4 className={styles.subsectionTitle} data-flx="theme-settings.trusted-sites-settings.subsection-title">
+ {i18n._(TRUSTED_SITES_DESCRIPTOR)}
+ </h4>
+ <p className={styles.note} data-flx="theme-settings.trusted-sites-settings.note">
+ {i18n._(TRUSTED_SITES_DESCRIPTION_DESCRIPTOR)}
+ </p>
+ <p className={styles.note} data-flx="theme-settings.trusted-sites-settings.warning">
+ {i18n._(TRUSTED_SITE_WARNING_DESCRIPTOR)}
+ </p>
+ <form
+ className={styles.trustedSiteForm}
+ onSubmit={(event) => {
+ event.preventDefault();
+ handleTrust();
+ }}
+ data-flx="theme-settings.trusted-sites-settings.form"
+ >
+ <Input
+ label={i18n._(SITE_ADDRESS_DESCRIPTOR)}
+ value={value}
+ placeholder="https://example.com"
+ inputMode="url"
+ autoComplete="off"
+ spellCheck={false}
+ error={error ?? undefined}
+ onChange={(event) => {
+ setValue(event.target.value);
+ setError(null);
+ }}
+ data-flx="theme-settings.trusted-sites-settings.input.site-address"
+ />
+ <Button
+ type="submit"
+ variant="secondary"
+ fitContent
+ disabled={value.trim() === ''}
+ data-flx="theme-settings.trusted-sites-settings.button.trust"
+ >
+ {i18n._(TRUST_DESCRIPTOR)}
+ </Button>
+ </form>
+ {sites.length > 0 ? (
+ <div className={styles.list} data-flx="theme-settings.trusted-sites-settings.list">
+ {sites.map((site) => (
+ <div key={site} className={styles.row} data-flx="theme-settings.trusted-sites-settings.row">
+ <div className={styles.rowText} data-flx="theme-settings.trusted-sites-settings.row-text">
+ <span className={styles.rowLabel} data-flx="theme-settings.trusted-sites-settings.row-label">
+ {site}
+ </span>
+ </div>
+ <div className={styles.rowControls} data-flx="theme-settings.trusted-sites-settings.row-controls">
+ <FocusRing offset={-2} data-flx="theme-settings.trusted-sites-settings.focus-ring">
+ <button
+ type="button"
+ className={clsx(styles.iconButton, styles.iconButtonDanger)}
+ aria-label={i18n._(STOP_TRUSTING_DESCRIPTOR, {site})}
+ onClick={() => ThemeSettingsState.untrustSite(site)}
+ data-flx="theme-settings.trusted-sites-settings.icon-button.stop-trusting"
+ >
+ <TrashIcon size={remFromPx(18)} data-flx="theme-settings.trusted-sites-settings.trash-icon" />
+ </button>
+ </FocusRing>
+ </div>
+ </div>
+ ))}
+ </div>
+ ) : null}
+ </div>
+ );
+});
diff --git a/fluxer_app/src/features/theme_settings/editor/CssLint.ts b/fluxer_app/src/features/theme_settings/editor/CssLint.ts
index 1b52c90bd..71b10cd8a 100644
--- a/fluxer_app/src/features/theme_settings/editor/CssLint.ts
+++ b/fluxer_app/src/features/theme_settings/editor/CssLint.ts
@@ -1,10 +1,12 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
import ThemeLibrary from '@app/features/theme/state/ThemeLibrary';
+import {trustableSiteOf} from '@app/features/theme/utils/ThemeCssUrlGate';
import {findMissingThemeCssReferences} from '@app/features/theme/utils/ThemeCssUtils';
import {THEME_VARIABLE_NAMES} from '@app/features/theme/variables/ThemeVariableManifest';
import {getEnabledThemeVariables, getFileVariables} from '@app/features/theme_settings/editor/ThemeVariableInfo';
import ThemeSettingsState from '@app/features/theme_settings/state/ThemeSettingsState';
+import {canTrustSites} from '@app/features/theme_settings/state/TrustedSites';
import {ensureSyntaxTree, syntaxTree} from '@codemirror/language';
import {type Diagnostic, linter} from '@codemirror/lint';
import {type EditorState, type Extension, StateEffect} from '@codemirror/state';
@@ -35,10 +37,21 @@ const MISSING_FILE_DESCRIPTOR = msg({
comment: 'Problem shown in the quick CSS editor on a reference to a file on the computer that Fluxer cannot read.',
});
const BLOCKED_URL_DESCRIPTOR = msg({
- message: 'Fluxer blocked loading {url}. Upload the file as an asset, or use an attachment link for an image.',
+ message: 'Fluxer blocked loading {url}. Upload it as an asset.',
comment:
- 'Problem shown in the quick CSS editor on a web address that the app is not allowed to load. An attachment link is a link to a file uploaded in a message, and it only works for images. Assets are files uploaded under "Assets".',
+ 'Problem shown in the quick CSS editor on a web address that the app is not allowed to load. Assets are files uploaded under "Assets".',
});
+const BLOCKED_TRUSTABLE_URL_DESCRIPTOR = msg({
+ message: "Fluxer blocked loading {url}. Upload the file as an asset, or trust the site it's on.",
+ comment:
+ 'Problem shown in the quick CSS editor on an image address on a site the person has not trusted. Assets are files uploaded under "Assets". Trusting a site lets quick CSS and themes load images from it.',
+});
+const TRUST_SITE_DESCRIPTOR = msg({
+ message: 'Trust {site}',
+ comment:
+ 'Button on a blocked image address in the quick CSS editor. {site} is a web address like https://example.com. Lets quick CSS and themes load images from that site.',
+});
+const IMPORT_RULE_PATTERN = /@import\b[^;{}]*$/i;
const CSS_REJECTED_DESCRIPTOR = msg({
message: "Fluxer couldn't apply this CSS. Check it for a broken comment, string or bracket.",
comment: 'Problem shown at the top of the quick CSS editor when the whole sheet was left out.',
@@ -286,14 +299,30 @@ export function lintCss(state: EditorState): Array<Diagnostic> {
: i18n._(MISSING_FILE_DESCRIPTOR, {path: problem.reference}),
});
}
+ const trustAllowed = canTrustSites();
for (const url of ThemeSettingsState.blockedUrls) {
+ const site = trustAllowed ? trustableSiteOf(url) : null;
let index = doc.indexOf(url);
while (index !== -1) {
+ const inImport = IMPORT_RULE_PATTERN.test(doc.slice(doc.lastIndexOf('\n', index) + 1, index));
+ const trustableSite = inImport ? null : site;
diagnostics.push({
from: index,
to: index + url.length,
severity: 'error',
- message: i18n._(BLOCKED_URL_DESCRIPTOR, {url}),
+ message:
+ trustableSite === null
+ ? i18n._(BLOCKED_URL_DESCRIPTOR, {url})
+ : i18n._(BLOCKED_TRUSTABLE_URL_DESCRIPTOR, {url}),
+ actions:
+ trustableSite === null
+ ? undefined
+ : [
+ {
+ name: i18n._(TRUST_SITE_DESCRIPTOR, {site: trustableSite}),
+ apply: () => ThemeSettingsState.trustSite(trustableSite),
+ },
+ ],
});
index = doc.indexOf(url, index + url.length);
}
diff --git a/fluxer_app/src/features/theme_settings/state/ThemeSettingsState.ts b/fluxer_app/src/features/theme_settings/state/ThemeSettingsState.ts
index 5f7bf7be7..83927603b 100644
--- a/fluxer_app/src/features/theme_settings/state/ThemeSettingsState.ts
+++ b/fluxer_app/src/features/theme_settings/state/ThemeSettingsState.ts
@@ -2,7 +2,14 @@
import {AppStorageKey} from '@app/features/platform/state/AppStorageKeys';
import AppStorage from '@app/features/platform/state/PersistentStorage';
+import {trustableSiteOf} from '@app/features/theme/utils/ThemeCssUrlGate';
import {readCustomCssOff, writeCustomCssOff} from '@app/features/theme_settings/state/CustomCssOff';
+import {
+ MAX_TRUSTED_SITES,
+ parseTrustedSite,
+ readTrustedSites,
+ writeTrustedSites,
+} from '@app/features/theme_settings/state/TrustedSites';
import {makeAutoObservable} from 'mobx';
const EXPANDED_GROUPS_STORAGE_KEY = 'ThemeStudio:expandedGroups';
@@ -56,6 +63,7 @@ class ThemeSettingsState {
cssRejected = false;
themePreview: ThemePreview | null = null;
customCssOff = readCustomCssOff();
+ trustedSites: ReadonlyArray<string> = readTrustedSites();
editorWindow: Window | null = null;
editorFileRequestHandler: ((file: string) => void) | null = null;
quickCssWriteFlusher: (() => void) | null = null;
@@ -189,6 +197,23 @@ class ThemeSettingsState {
writeCustomCssOff(off);
}
+ trustSite(site: string): boolean {
+ const origin = parseTrustedSite(site);
+ if (origin === null) return false;
+ if (!this.trustedSites.includes(origin)) {
+ if (this.trustedSites.length >= MAX_TRUSTED_SITES) return false;
+ this.trustedSites = [...this.trustedSites, origin];
+ writeTrustedSites(this.trustedSites);
+ }
+ this.blockedUrls = this.blockedUrls.filter((url) => trustableSiteOf(url) !== origin);
+ return true;
+ }
+
+ untrustSite(origin: string): void {
+ this.trustedSites = this.trustedSites.filter((site) => site !== origin);
+ writeTrustedSites(this.trustedSites);
+ }
+
setThemePreview(preview: ThemePreview | null): void {
if (preview === null && this.themePreview === null) return;
this.themePreview = preview;
diff --git a/fluxer_app/src/features/theme_settings/state/TrustedSites.ts b/fluxer_app/src/features/theme_settings/state/TrustedSites.ts
new file mode 100644
index 000000000..1622300e1
--- /dev/null
+++ b/fluxer_app/src/features/theme_settings/state/TrustedSites.ts
@@ -0,0 +1,43 @@
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
+import AppStorage from '@app/features/platform/state/PersistentStorage';
+import {trustableSiteOf} from '@app/features/theme/utils/ThemeCssUrlGate';
+import {isDesktop} from '@app/features/ui/utils/NativeUtils';
+
+const TRUSTED_SITES_STORAGE_KEY = 'QuickCss:trustedSites';
+const SCHEME_PATTERN = /^[a-z][a-z0-9+.-]*:/i;
+export const MAX_TRUSTED_SITES = 50;
+
+export function parseTrustedSite(input: string): string | null {
+ const value = input.trim();
+ if (value === '') return null;
+ const address = SCHEME_PATTERN.test(value) ? value : `https://${value}`;
+ const site = trustableSiteOf(address);
+ if (site === null) return null;
+ const url = new URL(address);
+ return url.pathname === '/' && url.search === '' && url.hash === '' ? site : null;
+}
+
+export function readTrustedSites(): Array<string> {
+ try {
+ const raw = AppStorage.getItem(TRUSTED_SITES_STORAGE_KEY);
+ if (raw === null) return [];
+ const parsed: unknown = JSON.parse(raw);
+ if (!Array.isArray(parsed)) return [];
+ const sites = parsed.map((value) => (typeof value === 'string' ? parseTrustedSite(value) : null));
+ return [...new Set(sites.filter((site) => site !== null))].slice(0, MAX_TRUSTED_SITES);
+ } catch {
+ return [];
+ }
+}
+
+export function writeTrustedSites(sites: ReadonlyArray<string>): void {
+ try {
+ if (sites.length === 0) AppStorage.removeItem(TRUSTED_SITES_STORAGE_KEY);
+ else AppStorage.setItem(TRUSTED_SITES_STORAGE_KEY, JSON.stringify(sites));
+ } catch {}
+}
+
+export function canTrustSites(): boolean {
+ return isDesktop();
+}
diff --git a/fluxer_app/src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts b/fluxer_app/src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
index ddc0a0539..059739d3c 100644
--- a/fluxer_app/src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
+++ b/fluxer_app/src/features/theme_settings/utils/ThemeSettingsMessageDescriptors.ts
@@ -44,3 +44,9 @@ export const TRY_A_DIFFERENT_NAME_OR_CLEAR_THE_SEARCH_DESCRIPTOR = msg({
message: 'Try a different name or clear the search.',
comment: 'Empty search result description in Settings > Themes.',
});
+export const TRUSTED_SITE_WARNING_DESCRIPTOR = msg({
+ message:
+ "Only trust sites you know. A site you trust can see your IP address, when you have Fluxer open and some of what's on your screen.",
+ comment:
+ 'Warning in Settings > Themes and in the modal that applies a shared theme. Trusting a site lets quick CSS and themes load images from it, and CSS can make the browser load different images depending on what the app shows.',
+});