Allow automatic instance redirect to be turned off

Instead the "switch invidious instance" link would bring users to
redirect.invidious.io
pull/1940/head
syeopite 3 years ago
parent cf72b34866
commit b63bebb519
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82

@ -86,6 +86,8 @@
"dark": "غامق (اسود)", "dark": "غامق (اسود)",
"light": "فاتح (ابيض)", "light": "فاتح (ابيض)",
"Thin mode: ": "الوضع الخفيف: ", "Thin mode: ": "الوضع الخفيف: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "تفضيلات الإشتراك", "Subscription preferences": "تفضيلات الإشتراك",
"Show annotations by default for subscribed channels: ": "عرض الملاحظات في الفيديوهات تلقائيا في القنوات المشترك بها فقط: ", "Show annotations by default for subscribed channels: ": "عرض الملاحظات في الفيديوهات تلقائيا في القنوات المشترك بها فقط: ",
"Redirect homepage to feed: ": "إعادة التوجية من الصفحة الرئيسية لصفحة المشتركين (لرؤية اخر فيديوهات المشتركين): ", "Redirect homepage to feed: ": "إعادة التوجية من الصفحة الرئيسية لصفحة المشتركين (لرؤية اخر فيديوهات المشتركين): ",
@ -418,4 +420,4 @@
"hdr": "وضع التباين العالي", "hdr": "وضع التباين العالي",
"filter": "معامل الفرز", "filter": "معامل الفرز",
"Current version: ": "الإصدار الحالي: " "Current version: ": "الإصدار الحالي: "
} }

@ -80,6 +80,8 @@
"dark": "", "dark": "",
"light": "", "light": "",
"Thin mode: ": "", "Thin mode: ": "",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "", "Subscription preferences": "",
"Show annotations by default for subscribed channels: ": "", "Show annotations by default for subscribed channels: ": "",
"Redirect homepage to feed: ": "", "Redirect homepage to feed: ": "",

@ -86,6 +86,8 @@
"dark": "tmavý", "dark": "tmavý",
"light": "světlý", "light": "světlý",
"Thin mode: ": "Kompaktní režim: ", "Thin mode: ": "Kompaktní režim: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Nastavení předplatných", "Subscription preferences": "Nastavení předplatných",
"Show annotations by default for subscribed channels: ": "Ve výchozím nastavení zobrazovat poznámky u odebíraných kanálů: ", "Show annotations by default for subscribed channels: ": "Ve výchozím nastavení zobrazovat poznámky u odebíraných kanálů: ",
"Redirect homepage to feed: ": "Přesměrovávat domovskou stránku na informační kanál: ", "Redirect homepage to feed: ": "Přesměrovávat domovskou stránku na informační kanál: ",

@ -86,6 +86,8 @@
"dark": "mørk", "dark": "mørk",
"light": "lys", "light": "lys",
"Thin mode: ": "Tynd tilstand: ", "Thin mode: ": "Tynd tilstand: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Abonnements præferencer", "Subscription preferences": "Abonnements præferencer",
"Show annotations by default for subscribed channels: ": "Vis annotationer som standard for abonnerede kanaler: ", "Show annotations by default for subscribed channels: ": "Vis annotationer som standard for abonnerede kanaler: ",
"Redirect homepage to feed: ": "Omdiriger startside til feed: ", "Redirect homepage to feed: ": "Omdiriger startside til feed: ",

@ -86,6 +86,8 @@
"dark": "Nachtmodus", "dark": "Nachtmodus",
"light": "heller Modus", "light": "heller Modus",
"Thin mode: ": "Schlanker Modus: ", "Thin mode: ": "Schlanker Modus: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Abonnementeinstellungen", "Subscription preferences": "Abonnementeinstellungen",
"Show annotations by default for subscribed channels: ": "Anmerkungen für abonnierte Kanäle standardmäßig anzeigen? ", "Show annotations by default for subscribed channels: ": "Anmerkungen für abonnierte Kanäle standardmäßig anzeigen? ",
"Redirect homepage to feed: ": "Startseite zu Feed umleiten: ", "Redirect homepage to feed: ": "Startseite zu Feed umleiten: ",

@ -86,6 +86,8 @@
"dark": "σκοτεινό", "dark": "σκοτεινό",
"light": "φωτεινό", "light": "φωτεινό",
"Thin mode: ": "Ελαφριά λειτουργία: ", "Thin mode: ": "Ελαφριά λειτουργία: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Προτιμήσεις συνδρομών", "Subscription preferences": "Προτιμήσεις συνδρομών",
"Show annotations by default for subscribed channels: ": "Προβολή σημειώσεων μόνο για κανάλια στα οποία είστε συνδρομητής; ", "Show annotations by default for subscribed channels: ": "Προβολή σημειώσεων μόνο για κανάλια στα οποία είστε συνδρομητής; ",
"Redirect homepage to feed: ": "Ανακατεύθυνση αρχικής στη ροή συνδρομών: ", "Redirect homepage to feed: ": "Ανακατεύθυνση αρχικής στη ροή συνδρομών: ",

@ -86,6 +86,8 @@
"dark": "dark", "dark": "dark",
"light": "light", "light": "light",
"Thin mode: ": "Thin mode: ", "Thin mode: ": "Thin mode: ",
"Miscellaneous preferences": "Miscellaneous preferences",
"Automatically redirect to another Instance: ": "Automatically redirect to another Instance: ",
"Subscription preferences": "Subscription preferences", "Subscription preferences": "Subscription preferences",
"Show annotations by default for subscribed channels: ": "Show annotations by default for subscribed channels? ", "Show annotations by default for subscribed channels: ": "Show annotations by default for subscribed channels? ",
"Redirect homepage to feed: ": "Redirect homepage to feed: ", "Redirect homepage to feed: ": "Redirect homepage to feed: ",

@ -86,6 +86,8 @@
"dark": "malhela", "dark": "malhela",
"light": "hela", "light": "hela",
"Thin mode: ": "Maldika reĝimo: ", "Thin mode: ": "Maldika reĝimo: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Abonaj agordoj", "Subscription preferences": "Abonaj agordoj",
"Show annotations by default for subscribed channels: ": "Ĉu montri prinotojn defaŭlte por abonitaj kanaloj? ", "Show annotations by default for subscribed channels: ": "Ĉu montri prinotojn defaŭlte por abonitaj kanaloj? ",
"Redirect homepage to feed: ": "Alidirekti hejmpâgon al fluo: ", "Redirect homepage to feed: ": "Alidirekti hejmpâgon al fluo: ",

@ -86,6 +86,8 @@
"dark": "oscuro", "dark": "oscuro",
"light": "claro", "light": "claro",
"Thin mode: ": "Modo compacto: ", "Thin mode: ": "Modo compacto: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Preferencias de la suscripción", "Subscription preferences": "Preferencias de la suscripción",
"Show annotations by default for subscribed channels: ": "¿Mostrar anotaciones por defecto para los canales suscritos? ", "Show annotations by default for subscribed channels: ": "¿Mostrar anotaciones por defecto para los canales suscritos? ",
"Redirect homepage to feed: ": "Redirigir la página de inicio a la fuente: ", "Redirect homepage to feed: ": "Redirigir la página de inicio a la fuente: ",

@ -77,6 +77,8 @@
"dark": "iluna", "dark": "iluna",
"light": "argia", "light": "argia",
"Thin mode: ": "", "Thin mode: ": "",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Harpidetzen hobespenak", "Subscription preferences": "Harpidetzen hobespenak",
"Show annotations by default for subscribed channels: ": "", "Show annotations by default for subscribed channels: ": "",
"Redirect homepage to feed: ": "", "Redirect homepage to feed: ": "",

@ -86,6 +86,8 @@
"dark": "تاریک", "dark": "تاریک",
"light": "روشن", "light": "روشن",
"Thin mode: ": "حالت نازک: ", "Thin mode: ": "حالت نازک: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "ترجیحات اشتراک", "Subscription preferences": "ترجیحات اشتراک",
"Show annotations by default for subscribed channels: ": "نمایش حاشیه نویسی ها به طور پیشفرض برای کانال های مشترک شده: ", "Show annotations by default for subscribed channels: ": "نمایش حاشیه نویسی ها به طور پیشفرض برای کانال های مشترک شده: ",
"Redirect homepage to feed: ": "تغییر مسیر صفحه خانه به خوراک: ", "Redirect homepage to feed: ": "تغییر مسیر صفحه خانه به خوراک: ",

@ -86,6 +86,8 @@
"dark": "tumma", "dark": "tumma",
"light": "vaalea", "light": "vaalea",
"Thin mode: ": "Kapea tila ", "Thin mode: ": "Kapea tila ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Tilausten asetukset", "Subscription preferences": "Tilausten asetukset",
"Show annotations by default for subscribed channels: ": "Näytä oletuksena tilattujen kanavien huomautukset: ", "Show annotations by default for subscribed channels: ": "Näytä oletuksena tilattujen kanavien huomautukset: ",
"Redirect homepage to feed: ": "Uudelleenohjaa kotisivu syötteeseen: ", "Redirect homepage to feed: ": "Uudelleenohjaa kotisivu syötteeseen: ",

@ -87,6 +87,8 @@
"light": "clair", "light": "clair",
"Thin mode: ": "Mode léger : ", "Thin mode: ": "Mode léger : ",
"Subscription preferences": "Préférences des abonnements", "Subscription preferences": "Préférences des abonnements",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Show annotations by default for subscribed channels: ": "Afficher les annotations par défaut sur les chaînes auxquelles vous êtes abonnés : ", "Show annotations by default for subscribed channels: ": "Afficher les annotations par défaut sur les chaînes auxquelles vous êtes abonnés : ",
"Redirect homepage to feed: ": "Rediriger la page d'accueil vers la page d'abonnements : ", "Redirect homepage to feed: ": "Rediriger la page d'accueil vers la page d'abonnements : ",
"Number of videos shown in feed: ": "Nombre de vidéos affichées dans la page d'abonnements : ", "Number of videos shown in feed: ": "Nombre de vidéos affichées dans la page d'abonnements : ",

@ -86,6 +86,8 @@
"dark": "כהה", "dark": "כהה",
"light": "בהיר", "light": "בהיר",
"Thin mode: ": "", "Thin mode: ": "",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "העדפות מינויים", "Subscription preferences": "העדפות מינויים",
"Show annotations by default for subscribed channels: ": "Show annotations by default for subscribed channels? ", "Show annotations by default for subscribed channels: ": "Show annotations by default for subscribed channels? ",
"Redirect homepage to feed: ": "", "Redirect homepage to feed: ": "",

@ -86,6 +86,8 @@
"dark": "tamno", "dark": "tamno",
"light": "svijetlo", "light": "svijetlo",
"Thin mode: ": "Pojednostavljen prikaz: ", "Thin mode: ": "Pojednostavljen prikaz: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Postavke pretplata", "Subscription preferences": "Postavke pretplata",
"Show annotations by default for subscribed channels: ": "Standardno prikaži napomene za pretplaćene kanale: ", "Show annotations by default for subscribed channels: ": "Standardno prikaži napomene za pretplaćene kanale: ",
"Redirect homepage to feed: ": "Preusmjeri početnu stranicu na feed: ", "Redirect homepage to feed: ": "Preusmjeri početnu stranicu na feed: ",

@ -77,6 +77,8 @@
"dark": "sötét", "dark": "sötét",
"light": "világos", "light": "világos",
"Thin mode: ": "Vékony mód: ", "Thin mode: ": "Vékony mód: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Feliratkozási beállítások", "Subscription preferences": "Feliratkozási beállítások",
"Show annotations by default for subscribed channels: ": "Szövegmagyarázatok mutatása alapértelmezésben feliratkozott csatornák esetében: ", "Show annotations by default for subscribed channels: ": "Szövegmagyarázatok mutatása alapértelmezésben feliratkozott csatornák esetében: ",
"Redirect homepage to feed: ": "Kezdő oldal átirányitása a feed-re: ", "Redirect homepage to feed: ": "Kezdő oldal átirányitása a feed-re: ",

@ -86,6 +86,8 @@
"dark": "gelap", "dark": "gelap",
"light": "terang", "light": "terang",
"Thin mode: ": "Mode tipis: ", "Thin mode: ": "Mode tipis: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Preferensi langganan", "Subscription preferences": "Preferensi langganan",
"Show annotations by default for subscribed channels: ": "Tampilkan anotasi secara default untuk kanal langganan: ", "Show annotations by default for subscribed channels: ": "Tampilkan anotasi secara default untuk kanal langganan: ",
"Redirect homepage to feed: ": "Arahkan kembali laman beranda ke umpan: ", "Redirect homepage to feed: ": "Arahkan kembali laman beranda ke umpan: ",

@ -86,6 +86,8 @@
"dark": "dimmt", "dark": "dimmt",
"light": "ljóst", "light": "ljóst",
"Thin mode: ": "Þunnt ham: ", "Thin mode: ": "Þunnt ham: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Áskriftarstillingar", "Subscription preferences": "Áskriftarstillingar",
"Show annotations by default for subscribed channels: ": "Á að sýna glósur sjálfgefið fyrir áskriftarrásir? ", "Show annotations by default for subscribed channels: ": "Á að sýna glósur sjálfgefið fyrir áskriftarrásir? ",
"Redirect homepage to feed: ": "Endurbeina heimasíðu að straumi: ", "Redirect homepage to feed: ": "Endurbeina heimasíðu að straumi: ",

@ -86,6 +86,8 @@
"dark": "scuro", "dark": "scuro",
"light": "chiaro", "light": "chiaro",
"Thin mode: ": "Modalità per connessioni lente: ", "Thin mode: ": "Modalità per connessioni lente: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Preferenze iscrizioni", "Subscription preferences": "Preferenze iscrizioni",
"Show annotations by default for subscribed channels: ": "Mostrare annotazioni in modo predefinito per i canali sottoscritti: ", "Show annotations by default for subscribed channels: ": "Mostrare annotazioni in modo predefinito per i canali sottoscritti: ",
"Redirect homepage to feed: ": "Reindirizza la pagina principale a quella delle iscrizioni: ", "Redirect homepage to feed: ": "Reindirizza la pagina principale a quella delle iscrizioni: ",

@ -86,6 +86,8 @@
"dark": "ダーク", "dark": "ダーク",
"light": "ライト", "light": "ライト",
"Thin mode: ": "最小モード: ", "Thin mode: ": "最小モード: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "登録チャンネル設定", "Subscription preferences": "登録チャンネル設定",
"Show annotations by default for subscribed channels: ": "デフォルトで登録チャンネルのアノテーションを表示しますか? ", "Show annotations by default for subscribed channels: ": "デフォルトで登録チャンネルのアノテーションを表示しますか? ",
"Redirect homepage to feed: ": "ホームからフィードにリダイレクト: ", "Redirect homepage to feed: ": "ホームからフィードにリダイレクト: ",

@ -86,6 +86,8 @@
"dark": "Mørk", "dark": "Mørk",
"light": "Lys", "light": "Lys",
"Thin mode: ": "Tynt modus: ", "Thin mode: ": "Tynt modus: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Abonnementsinnstillinger", "Subscription preferences": "Abonnementsinnstillinger",
"Show annotations by default for subscribed channels: ": "Vis merknader som forvalg for kanaler det abonneres på? ", "Show annotations by default for subscribed channels: ": "Vis merknader som forvalg for kanaler det abonneres på? ",
"Redirect homepage to feed: ": "Videresend hjemmeside til kilde: ", "Redirect homepage to feed: ": "Videresend hjemmeside til kilde: ",

@ -86,6 +86,8 @@
"dark": "donker", "dark": "donker",
"light": "licht", "light": "licht",
"Thin mode: ": "Smalle modus: ", "Thin mode: ": "Smalle modus: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Abonnementsinstellingen", "Subscription preferences": "Abonnementsinstellingen",
"Show annotations by default for subscribed channels: ": "Standaard annotaties tonen voor geabonneerde kanalen? ", "Show annotations by default for subscribed channels: ": "Standaard annotaties tonen voor geabonneerde kanalen? ",
"Redirect homepage to feed: ": "Startpagina omleiden naar feed: ", "Redirect homepage to feed: ": "Startpagina omleiden naar feed: ",
@ -418,4 +420,4 @@
"hdr": "HDR", "hdr": "HDR",
"filter": "verfijnen", "filter": "verfijnen",
"Current version: ": "Huidige versie: " "Current version: ": "Huidige versie: "
} }

@ -86,6 +86,8 @@
"dark": "ciemny", "dark": "ciemny",
"light": "jasny", "light": "jasny",
"Thin mode: ": "Tryb minimalny: ", "Thin mode: ": "Tryb minimalny: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Preferencje subskrybcji", "Subscription preferences": "Preferencje subskrybcji",
"Show annotations by default for subscribed channels: ": "Domyślnie wyświetlaj adnotacje dla subskrybowanych kanałów: ", "Show annotations by default for subscribed channels: ": "Domyślnie wyświetlaj adnotacje dla subskrybowanych kanałów: ",
"Redirect homepage to feed: ": "Przekieruj stronę główną do subskrybcji: ", "Redirect homepage to feed: ": "Przekieruj stronę główną do subskrybcji: ",

@ -86,6 +86,8 @@
"dark": "escuro", "dark": "escuro",
"light": "claro", "light": "claro",
"Thin mode: ": "Modo compacto: ", "Thin mode: ": "Modo compacto: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Preferências de inscrições", "Subscription preferences": "Preferências de inscrições",
"Show annotations by default for subscribed channels: ": "Sempre mostrar anotações dos vídeos de canais inscritos: ", "Show annotations by default for subscribed channels: ": "Sempre mostrar anotações dos vídeos de canais inscritos: ",
"Redirect homepage to feed: ": "Redirecionar página inicial para o feed: ", "Redirect homepage to feed: ": "Redirecionar página inicial para o feed: ",

@ -86,6 +86,8 @@
"dark": "escuro", "dark": "escuro",
"light": "claro", "light": "claro",
"Thin mode: ": "Modo compacto: ", "Thin mode: ": "Modo compacto: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Preferências de subscrições", "Subscription preferences": "Preferências de subscrições",
"Show annotations by default for subscribed channels: ": "Mostrar sempre anotações aos canais subscritos: ", "Show annotations by default for subscribed channels: ": "Mostrar sempre anotações aos canais subscritos: ",
"Redirect homepage to feed: ": "Redirecionar página inicial para subscrições: ", "Redirect homepage to feed: ": "Redirecionar página inicial para subscrições: ",

@ -86,6 +86,8 @@
"dark": "întunecat", "dark": "întunecat",
"light": "luminos", "light": "luminos",
"Thin mode: ": "Mod lejer: ", "Thin mode: ": "Mod lejer: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Preferințele paginii de abonamente", "Subscription preferences": "Preferințele paginii de abonamente",
"Show annotations by default for subscribed channels: ": "Afișați adnotările în mod implicit pentru canalele la care v-ați abonat: ", "Show annotations by default for subscribed channels: ": "Afișați adnotările în mod implicit pentru canalele la care v-ați abonat: ",
"Redirect homepage to feed: ": "Redirecționați pagina principală la pagina de abonamente: ", "Redirect homepage to feed: ": "Redirecționați pagina principală la pagina de abonamente: ",
@ -418,4 +420,4 @@
"hdr": "", "hdr": "",
"filter": "", "filter": "",
"Current version: ": "Versiunea actuală: " "Current version: ": "Versiunea actuală: "
} }

@ -86,6 +86,8 @@
"dark": "темная", "dark": "темная",
"light": "светлая", "light": "светлая",
"Thin mode: ": "Облегчённое оформление: ", "Thin mode: ": "Облегчённое оформление: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Настройки подписок", "Subscription preferences": "Настройки подписок",
"Show annotations by default for subscribed channels: ": "Всегда показывать аннотации в видео каналов, на которые вы подписаны? ", "Show annotations by default for subscribed channels: ": "Всегда показывать аннотации в видео каналов, на которые вы подписаны? ",
"Redirect homepage to feed: ": "Отображать видео с каналов, на которые вы подписаны, как главную страницу: ", "Redirect homepage to feed: ": "Отображать видео с каналов, на которые вы подписаны, как главную страницу: ",
@ -418,4 +420,4 @@
"hdr": "", "hdr": "",
"filter": "", "filter": "",
"Current version: ": "Текущая версия: " "Current version: ": "Текущая версия: "
} }

@ -86,6 +86,8 @@
"dark": "", "dark": "",
"light": "", "light": "",
"Thin mode: ": "", "Thin mode: ": "",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "", "Subscription preferences": "",
"Show annotations by default for subscribed channels: ": "", "Show annotations by default for subscribed channels: ": "",
"Redirect homepage to feed: ": "", "Redirect homepage to feed: ": "",

@ -80,6 +80,8 @@
"dark": "tmavá", "dark": "tmavá",
"light": "svetlá", "light": "svetlá",
"Thin mode: ": "Tenký režim: ", "Thin mode: ": "Tenký režim: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Nastavenia predplatného", "Subscription preferences": "Nastavenia predplatného",
"Show annotations by default for subscribed channels: ": "Predvolene zobraziť anotácie odoberaných kanálov: ", "Show annotations by default for subscribed channels: ": "Predvolene zobraziť anotácie odoberaných kanálov: ",
"Redirect homepage to feed: ": "Presmerovanie domovskej stránky na informačný kanál: ", "Redirect homepage to feed: ": "Presmerovanie domovskej stránky na informačný kanál: ",

@ -86,6 +86,8 @@
"dark": "", "dark": "",
"light": "", "light": "",
"Thin mode: ": "", "Thin mode: ": "",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "", "Subscription preferences": "",
"Show annotations by default for subscribed channels: ": "", "Show annotations by default for subscribed channels: ": "",
"Redirect homepage to feed: ": "", "Redirect homepage to feed: ": "",

@ -77,6 +77,8 @@
"dark": "тамна", "dark": "тамна",
"light": "светла", "light": "светла",
"Thin mode: ": "Узани режим: ", "Thin mode: ": "Узани режим: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Подешавања о праћењима", "Subscription preferences": "Подешавања о праћењима",
"Show annotations by default for subscribed channels: ": "Увек приказуј анотације за канале које пратим: ", "Show annotations by default for subscribed channels: ": "Увек приказуј анотације за канале које пратим: ",
"Redirect homepage to feed: ": "Прикажи праћења као почетну страницу: ", "Redirect homepage to feed: ": "Прикажи праћења као почетну страницу: ",

@ -86,6 +86,8 @@
"dark": "Mörkt", "dark": "Mörkt",
"light": "Ljust", "light": "Ljust",
"Thin mode: ": "Lättviktigt läge: ", "Thin mode: ": "Lättviktigt läge: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Prenumerationsinställningar", "Subscription preferences": "Prenumerationsinställningar",
"Show annotations by default for subscribed channels: ": "Visa länkar-i-videor som förval för kanaler som prenumereras på? ", "Show annotations by default for subscribed channels: ": "Visa länkar-i-videor som förval för kanaler som prenumereras på? ",
"Redirect homepage to feed: ": "Omdirigera hemsida till flöde: ", "Redirect homepage to feed: ": "Omdirigera hemsida till flöde: ",

@ -86,6 +86,8 @@
"dark": "karanlık", "dark": "karanlık",
"light": "aydınlık", "light": "aydınlık",
"Thin mode: ": "İnce mod: ", "Thin mode: ": "İnce mod: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Abonelik tercihleri", "Subscription preferences": "Abonelik tercihleri",
"Show annotations by default for subscribed channels: ": "Abone olunan kanallar için ek açıklamaları öntanımlı olarak göster: ", "Show annotations by default for subscribed channels: ": "Abone olunan kanallar için ek açıklamaları öntanımlı olarak göster: ",
"Redirect homepage to feed: ": "Ana sayfayı akışa yönlendir: ", "Redirect homepage to feed: ": "Ana sayfayı akışa yönlendir: ",

@ -86,6 +86,8 @@
"dark": "темна", "dark": "темна",
"light": "Світла", "light": "Світла",
"Thin mode: ": "Полегшене оформлення: ", "Thin mode: ": "Полегшене оформлення: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "Налаштування підписок", "Subscription preferences": "Налаштування підписок",
"Show annotations by default for subscribed channels: ": "Завжди показувати анотації у відео каналів, на які ви підписані? ", "Show annotations by default for subscribed channels: ": "Завжди показувати анотації у відео каналів, на які ви підписані? ",
"Redirect homepage to feed: ": "Показувати відео з каналів, на які підписані, як головну сторінку: ", "Redirect homepage to feed: ": "Показувати відео з каналів, на які підписані, як головну сторінку: ",
@ -418,4 +420,4 @@
"hdr": "", "hdr": "",
"filter": "", "filter": "",
"Current version: ": "Поточна версія: " "Current version: ": "Поточна версія: "
} }

@ -86,6 +86,8 @@
"dark": "暗色", "dark": "暗色",
"light": "亮色", "light": "亮色",
"Thin mode: ": "窄页模式: ", "Thin mode: ": "窄页模式: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "订阅设置", "Subscription preferences": "订阅设置",
"Show annotations by default for subscribed channels: ": "默认情况下显示已订阅频道的注释: ", "Show annotations by default for subscribed channels: ": "默认情况下显示已订阅频道的注释: ",
"Redirect homepage to feed: ": "跳转主页到 feed: ", "Redirect homepage to feed: ": "跳转主页到 feed: ",

@ -86,6 +86,8 @@
"dark": "深色", "dark": "深色",
"light": "淺色", "light": "淺色",
"Thin mode: ": "精簡模式: ", "Thin mode: ": "精簡模式: ",
"Miscellaneous preferences": "",
"Automatically redirect to another Instance: ": "",
"Subscription preferences": "訂閱偏好設定", "Subscription preferences": "訂閱偏好設定",
"Show annotations by default for subscribed channels: ": "預設為已訂閱的頻道顯示註釋: ", "Show annotations by default for subscribed channels: ": "預設為已訂閱的頻道顯示註釋: ",
"Redirect homepage to feed: ": "重新導向首頁至 feed ", "Redirect homepage to feed: ": "重新導向首頁至 feed ",

@ -44,6 +44,7 @@ struct ConfigPreferences
property quality_dash : String = "auto" property quality_dash : String = "auto"
property default_home : String? = "Popular" property default_home : String? = "Popular"
property feed_menu : Array(String) = ["Popular", "Trending", "Subscriptions", "Playlists"] property feed_menu : Array(String) = ["Popular", "Trending", "Subscriptions", "Playlists"]
property automatic_instance_redirect : Bool = true
property related_videos : Bool = true property related_videos : Bool = true
property sort : String = "published" property sort : String = "published"
property speed : Float32 = 1.0_f32 property speed : Float32 = 1.0_f32

@ -37,8 +37,13 @@ class Invidious::Routes::Misc < Invidious::Routes::BaseRoute
end end
def cross_instance_redirect(env) def cross_instance_redirect(env)
instance_url = fetch_random_instance
referer = get_referer(env) referer = get_referer(env)
if !env.get("preferences").as(Preferences).automatic_instance_redirect
return env.redirect("https://redirect.invidious.io#{referer}")
end
instance_url = fetch_random_instance
env.redirect "https://#{instance_url}#{referer}" env.redirect "https://#{instance_url}#{referer}"
end end
end end

@ -92,6 +92,10 @@ class Invidious::Routes::PreferencesRoute < Invidious::Routes::BaseRoute
end end
end end
automatic_instance_redirect = env.params.body["automatic_instance_redirect"]?.try &.as(String)
automatic_instance_redirect ||= "off"
automatic_instance_redirect = automatic_instance_redirect == "on"
locale = env.params.body["locale"]?.try &.as(String) locale = env.params.body["locale"]?.try &.as(String)
locale ||= CONFIG.default_user_preferences.locale locale ||= CONFIG.default_user_preferences.locale
@ -141,6 +145,7 @@ class Invidious::Routes::PreferencesRoute < Invidious::Routes::BaseRoute
quality_dash: quality_dash, quality_dash: quality_dash,
default_home: default_home, default_home: default_home,
feed_menu: feed_menu, feed_menu: feed_menu,
automatic_instance_redirect: automatic_instance_redirect,
related_videos: related_videos, related_videos: related_videos,
sort: sort, sort: sort,
speed: speed, speed: speed,

@ -36,6 +36,7 @@ struct Preferences
property annotations : Bool = CONFIG.default_user_preferences.annotations property annotations : Bool = CONFIG.default_user_preferences.annotations
property annotations_subscribed : Bool = CONFIG.default_user_preferences.annotations_subscribed property annotations_subscribed : Bool = CONFIG.default_user_preferences.annotations_subscribed
property autoplay : Bool = CONFIG.default_user_preferences.autoplay property autoplay : Bool = CONFIG.default_user_preferences.autoplay
property automatic_instance_redirect : Bool = CONFIG.default_user_preferences.automatic_instance_redirect
@[JSON::Field(converter: Preferences::StringToArray)] @[JSON::Field(converter: Preferences::StringToArray)]
@[YAML::Field(converter: Preferences::StringToArray)] @[YAML::Field(converter: Preferences::StringToArray)]

@ -176,6 +176,13 @@
<% end %> <% end %>
</div> </div>
<legend><%= translate(locale, "Miscellaneous preferences") %></legend>
<div class="pure-control-group">
<label for="automatic_instance_redirect"><%= translate(locale, "Automatically redirect to another Instance: ") %></label>
<input name="automatic_instance_redirect" id="automatic_instance_redirect" type="checkbox" <% if preferences.automatic_instance_redirect %>checked<% end %>>
</div>
<% if env.get? "user" %> <% if env.get? "user" %>
<legend><%= translate(locale, "Subscription preferences") %></legend> <legend><%= translate(locale, "Subscription preferences") %></legend>

Loading…
Cancel
Save