From 6ef2a26e94497d4f506aad5662a1fa825b0bd5ae Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sat, 27 Jan 2024 21:26:32 -0500 Subject: [PATCH] Add a note on self-hosted instances of sources (#1342) --- assets/translations/bs.json | 2 ++ assets/translations/cs.json | 2 ++ assets/translations/de.json | 2 ++ assets/translations/en.json | 2 ++ assets/translations/es.json | 2 ++ assets/translations/fa.json | 2 ++ assets/translations/fr.json | 2 ++ assets/translations/hu.json | 2 ++ assets/translations/it.json | 2 ++ assets/translations/ja.json | 2 ++ assets/translations/nl.json | 2 ++ assets/translations/pl.json | 2 ++ assets/translations/pt.json | 2 ++ assets/translations/ru.json | 2 ++ assets/translations/sv.json | 2 ++ assets/translations/tr.json | 2 ++ assets/translations/vi.json | 2 ++ assets/translations/zh.json | 2 ++ lib/pages/add_app.dart | 15 ++++++++++++++- 19 files changed, 50 insertions(+), 1 deletion(-) diff --git a/assets/translations/bs.json b/assets/translations/bs.json index fdd514e..3c86b69 100644 --- a/assets/translations/bs.json +++ b/assets/translations/bs.json @@ -298,6 +298,8 @@ "installed": "Instalirano", "latest": "Najnoviji", "invertRegEx": "Obrni regularni izraz", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "Želite li ukloniti aplikaciju?", "other": "Želite li ukloniti aplikacije?" diff --git a/assets/translations/cs.json b/assets/translations/cs.json index e5776ee..5c65281 100644 --- a/assets/translations/cs.json +++ b/assets/translations/cs.json @@ -298,6 +298,8 @@ "installed": "Instalováno", "latest": "Nejnovější", "invertRegEx": "Invertovat regulární výraz", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "Odstranit Apku?", "other": "Odstranit Apky?" diff --git a/assets/translations/de.json b/assets/translations/de.json index 164ce73..7345710 100644 --- a/assets/translations/de.json +++ b/assets/translations/de.json @@ -298,6 +298,8 @@ "installed": "Installiert", "latest": "Neueste(r)", "invertRegEx": "Regulären Ausdruck invertieren", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "App entfernen?", "other": "Apps entfernen?" diff --git a/assets/translations/en.json b/assets/translations/en.json index 6238bb0..d37888f 100644 --- a/assets/translations/en.json +++ b/assets/translations/en.json @@ -298,6 +298,8 @@ "installed": "Installed", "latest": "Latest", "invertRegEx": "Invert regular expression", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "Remove App?", "other": "Remove Apps?" diff --git a/assets/translations/es.json b/assets/translations/es.json index b14d00a..c9da393 100644 --- a/assets/translations/es.json +++ b/assets/translations/es.json @@ -298,6 +298,8 @@ "installed": "Instalado", "latest": "Versión más reciente", "invertRegEx": "Invertir expresión regular", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "¿Eliminar Aplicación?", "other": "¿Eliminar Aplicaciones?" diff --git a/assets/translations/fa.json b/assets/translations/fa.json index 7162ec0..756e320 100644 --- a/assets/translations/fa.json +++ b/assets/translations/fa.json @@ -298,6 +298,8 @@ "installed": "نصب شده است", "latest": "آخرین", "invertRegEx": "معکوس کردن عبارت منظم", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "برنامه حذف شود؟", "other": "برنامه ها حذف شوند؟" diff --git a/assets/translations/fr.json b/assets/translations/fr.json index 791b637..41649ea 100644 --- a/assets/translations/fr.json +++ b/assets/translations/fr.json @@ -298,6 +298,8 @@ "installed": "Installée", "latest": "Dernier", "invertRegEx": "Inverser l'expression régulière", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "Supprimer l'application ?", "other": "Supprimer les applications ?" diff --git a/assets/translations/hu.json b/assets/translations/hu.json index fc3b271..173dab8 100644 --- a/assets/translations/hu.json +++ b/assets/translations/hu.json @@ -298,6 +298,8 @@ "installed": "Telepített", "latest": "Legújabb", "invertRegEx": "Invertált reguláris kifejezés", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "Eltávolítja az alkalmazást?", "other": "Eltávolítja az alkalmazást?" diff --git a/assets/translations/it.json b/assets/translations/it.json index 3c148e5..ddbe043 100644 --- a/assets/translations/it.json +++ b/assets/translations/it.json @@ -298,6 +298,8 @@ "installed": "Installato", "latest": "Ultimo", "invertRegEx": "Inverti espressione regolare", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "Rimuovere l'app?", "other": "Rimuovere le app?" diff --git a/assets/translations/ja.json b/assets/translations/ja.json index 580a7c8..ae470568 100644 --- a/assets/translations/ja.json +++ b/assets/translations/ja.json @@ -298,6 +298,8 @@ "installed": "インストール済み", "latest": "最新", "invertRegEx": "正規表現を反転", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "アプリを削除しますか?", "other": "アプリを削除しますか?" diff --git a/assets/translations/nl.json b/assets/translations/nl.json index 6891395..372760e 100644 --- a/assets/translations/nl.json +++ b/assets/translations/nl.json @@ -298,6 +298,8 @@ "installed": "Geïnstalleerd", "latest": "Laatste", "invertRegEx": "Reguliere expressie omkeren", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "App verwijderen?", "other": "Apps verwijderen?" diff --git a/assets/translations/pl.json b/assets/translations/pl.json index 5b26986..f92a37b 100644 --- a/assets/translations/pl.json +++ b/assets/translations/pl.json @@ -298,6 +298,8 @@ "installed": "Zainstalowano", "latest": "Najnowszy", "invertRegEx": "Odwróć wyrażenie regularne", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "Usunąć aplikację?", "few": "Usunąć aplikacje?", diff --git a/assets/translations/pt.json b/assets/translations/pt.json index 3693608..04c5616 100644 --- a/assets/translations/pt.json +++ b/assets/translations/pt.json @@ -298,6 +298,8 @@ "installed": "Instalado", "latest": "Mais recente", "invertRegEx": "Inverter expressão regular", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "Remover aplicativo?", "other": "Remover aplicativos?" diff --git a/assets/translations/ru.json b/assets/translations/ru.json index 12d90e1..062e5b4 100644 --- a/assets/translations/ru.json +++ b/assets/translations/ru.json @@ -298,6 +298,8 @@ "installed": "Установлен", "latest": "Последний", "invertRegEx": "Инвертировать регулярное выражение", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "Удалить приложение?", "other": "Удалить приложения?" diff --git a/assets/translations/sv.json b/assets/translations/sv.json index 5ef1919..b61e3b2 100644 --- a/assets/translations/sv.json +++ b/assets/translations/sv.json @@ -298,6 +298,8 @@ "installed": "Installerad", "latest": "Senast", "invertRegEx": "Invertera reguljärt uttryck", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "Ta Bort App?", "other": "Ta Bort Appar?" diff --git a/assets/translations/tr.json b/assets/translations/tr.json index e5efc93..e3bc3a3 100644 --- a/assets/translations/tr.json +++ b/assets/translations/tr.json @@ -298,6 +298,8 @@ "installed": "Kurulmuş", "latest": "En sonuncu", "invertRegEx": "Normal ifadeyi ters çevir", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "Uygulamayı Kaldır?", "other": "Uygulamaları Kaldır?" diff --git a/assets/translations/vi.json b/assets/translations/vi.json index 54c4655..9c89797 100644 --- a/assets/translations/vi.json +++ b/assets/translations/vi.json @@ -298,6 +298,8 @@ "installed": "Cài đặt", "latest": "Mới nhất", "invertRegEx": "Đảo ngược biểu thức chính quy", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "Gỡ ứng dụng?", "other": "Gỡ ứng dụng?" diff --git a/assets/translations/zh.json b/assets/translations/zh.json index 72e134a..d5be7db 100644 --- a/assets/translations/zh.json +++ b/assets/translations/zh.json @@ -298,6 +298,8 @@ "installed": "已安装", "latest": "最新的", "invertRegEx": "反转正则表达式", + "note": "Note", + "selfHostedNote": "The \"{}\" dropdown can be used to reach self-hosted/custom instances of any source.", "removeAppQuestion": { "one": "是否删除应用?", "other": "是否删除应用?" diff --git a/lib/pages/add_app.dart b/lib/pages/add_app.dart index 820e08d..e73829e 100644 --- a/lib/pages/add_app.dart +++ b/lib/pages/add_app.dart @@ -530,7 +530,20 @@ class AddAppPageState extends State { ? TextDecoration.underline : TextDecoration.none), ))), - ) + ), + const SizedBox( + height: 16, + ), + Text( + '${tr('note')}:', + style: + const TextStyle(fontWeight: FontWeight.bold), + ), + const SizedBox( + height: 4, + ), + Text(tr('selfHostedNote', + args: [tr('overrideSource')])), ], ); },