diff --git a/assets/translations/bs.json b/assets/translations/bs.json index efa340f..5be35bf 100644 --- a/assets/translations/bs.json +++ b/assets/translations/bs.json @@ -111,8 +111,6 @@ "dark": "Tamna", "light": "Svijetla", "followSystem": "Pratite sistem", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "Koristite čisto crnu tamnu temu", "appSortBy": "Aplikacije sortirane po", "authorName": "Autor/Ime", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "Nije pronađena aplikacija s tim ID-om ili imenom", "reposHaveMultipleApps": "Repo-i mogu sadržavati više aplikacija", "fdroidThirdPartyRepo": "F-Droid Repo treće strane", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Razgovor na Steamu (chat)", "install": "Instaliraj", @@ -286,7 +283,6 @@ "parallelDownloads": "Allow parallel downloads", "installMethod": "Installation method", "normal": "Normal", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "Shizuku is not running", "useSystemFont": "Use the system font", diff --git a/assets/translations/cs.json b/assets/translations/cs.json index 65d2413..248d8e2 100644 --- a/assets/translations/cs.json +++ b/assets/translations/cs.json @@ -111,8 +111,6 @@ "dark": "Tmavé", "light": "Světlé", "followSystem": "Jako systém", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "Použít čistě černé tmavé téma", "appSortBy": "Seřadit podle", "authorName": "Autor/Jméno", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "Žádná aplikace s tímto ID nebo názvem nebyla nalezena", "reposHaveMultipleApps": "Repozitáře mohou obsahovat více aplikací", "fdroidThirdPartyRepo": "F-Droid repozitář třetí strany", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Chat", "install": "Install", @@ -286,7 +283,6 @@ "parallelDownloads": "Povolit souběžné stahování", "installMethod": "Metoda instalace", "normal": "Normální", - "shizuku": "Shizuku", "root": "Správce", "shizukuBinderNotFound": "Shizuku neběží", "useSystemFont": "Use the system font", diff --git a/assets/translations/de.json b/assets/translations/de.json index fe843d4..970cdd3 100644 --- a/assets/translations/de.json +++ b/assets/translations/de.json @@ -111,8 +111,6 @@ "dark": "Dunkel", "light": "Hell", "followSystem": "System folgen", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "Verwende Pure Black Dark Theme", "appSortBy": "App sortieren nach", "authorName": "Autor/Name", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "Es wurde keine App mit dieser ID oder diesem Namen gefunden", "reposHaveMultipleApps": "Repos können mehrere Apps enthalten", "fdroidThirdPartyRepo": "F-Droid Drittparteienrepo", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Chat", "install": "Installieren", @@ -286,7 +283,6 @@ "parallelDownloads": "Erlaube parallele Downloads", "installMethod": "Installationsmethode", "normal": "Normal", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "Kompatibler Shizukudienst wurde nicht gefunden", "useSystemFont": "Verwende die Systemschriftart", diff --git a/assets/translations/en.json b/assets/translations/en.json index e17fd51..6238bb0 100644 --- a/assets/translations/en.json +++ b/assets/translations/en.json @@ -111,8 +111,6 @@ "dark": "Dark", "light": "Light", "followSystem": "Follow System", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "Use pure black dark theme", "appSortBy": "App Sort By", "authorName": "Author/Name", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "No App was found with that ID or Name", "reposHaveMultipleApps": "Repos may contain multiple Apps", "fdroidThirdPartyRepo": "F-Droid Third-Party Repo", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Chat", "install": "Install", @@ -286,7 +283,6 @@ "parallelDownloads": "Allow parallel downloads", "installMethod": "Installation method", "normal": "Normal", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "Сompatible Shizuku service wasn't found", "useSystemFont": "Use the system font", diff --git a/assets/translations/es.json b/assets/translations/es.json index 22962d3..feda226 100644 --- a/assets/translations/es.json +++ b/assets/translations/es.json @@ -111,8 +111,6 @@ "dark": "Oscuro", "light": "Claro", "followSystem": "Seguir al sistema", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "Negro puro en tema Oscuro", "appSortBy": "Ordenar Apps Por", "authorName": "Autor/Nombre", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "No se han encontrado aplicaciones con esa ID o nombre", "reposHaveMultipleApps": "Los repositorios pueden contener varias aplicaciones", "fdroidThirdPartyRepo": "Rpositorios de terceros F-Droid", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Chat", "install": "Instalar", @@ -286,7 +283,6 @@ "parallelDownloads": "Permitir descargas paralelas", "installMethod": "Método de instalación", "normal": "Normal", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "Shizuku no está operativo", "useSystemFont": "Use the system font", diff --git a/assets/translations/fa.json b/assets/translations/fa.json index ba11e37..2f6d6fb 100644 --- a/assets/translations/fa.json +++ b/assets/translations/fa.json @@ -111,8 +111,6 @@ "dark": "تاریک", "light": "روشن", "followSystem": "هماهنگ با سیستم", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "استفاده از تم تیره سیاه خالص", "appSortBy": "مرتب سازی برنامه بر اساس", "authorName": "سازنده/اسم", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "هیچ برنامه ای با آن شناسه یا نام یافت نشد", "reposHaveMultipleApps": "مخازن ممکن است شامل چندین برنامه باشد", "fdroidThirdPartyRepo": "مخازن شخص ثالث F-Droid", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Chat", "install": "نصب", @@ -286,7 +283,6 @@ "parallelDownloads": "اجازه دانلود موازی", "installMethod": "روش نصب", "normal": "Normal", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "Shizuku در حال اجرا نیست", "useSystemFont": "Use the system font", diff --git a/assets/translations/fr.json b/assets/translations/fr.json index eabaccd..287d20b 100644 --- a/assets/translations/fr.json +++ b/assets/translations/fr.json @@ -111,8 +111,6 @@ "dark": "Sombre", "light": "Clair", "followSystem": "Suivre le système", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "Use pure black dark theme", "appSortBy": "Applications triées par", "authorName": "Auteur/Nom", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "Aucune application n'a été trouvée avec cet identifiant ou ce nom", "reposHaveMultipleApps": "Les dépôts peuvent contenir plusieurs applications", "fdroidThirdPartyRepo": "Dépôt tiers F-Droid", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Chat", "install": "Installer", @@ -286,7 +283,6 @@ "parallelDownloads": "Allow parallel downloads", "installMethod": "Installation method", "normal": "Normal", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "Shizuku is not running", "useSystemFont": "Use the system font", diff --git a/assets/translations/hu.json b/assets/translations/hu.json index 2674f4c..fb552d0 100644 --- a/assets/translations/hu.json +++ b/assets/translations/hu.json @@ -111,8 +111,6 @@ "dark": "Sötét", "light": "Világos", "followSystem": "Rendszer szerint", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "Használjon teljesen fekete sötét témát", "appSortBy": "App rendezés...", "authorName": "Szerző/Név", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "Nem található app ezzel az azonosítóval vagy névvel", "reposHaveMultipleApps": "A repók több alkalmazást is tartalmazhatnak", "fdroidThirdPartyRepo": "F-Droid Harmadik-fél Repo", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Chat", "install": "Telepít", @@ -286,7 +283,6 @@ "parallelDownloads": "Párhuzamos letöltéseket enged", "installMethod": "Telepítési mód", "normal": "Normál", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "A Shizuku nem fut", "useSystemFont": "Use the system font", diff --git a/assets/translations/it.json b/assets/translations/it.json index f052376..810fe40 100644 --- a/assets/translations/it.json +++ b/assets/translations/it.json @@ -111,8 +111,6 @@ "dark": "Scuro", "light": "Chiaro", "followSystem": "Segui il sistema", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "Usa il tema Nero puro", "appSortBy": "App ordinate per", "authorName": "Autore/Nome", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "Non è stata trovata alcuna app con quell'ID o nome", "reposHaveMultipleApps": "I repository possono contenere più app", "fdroidThirdPartyRepo": "Repository F-Droid di terze parti", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Chat", "install": "Installa", @@ -286,7 +283,6 @@ "parallelDownloads": "Permetti download paralleli", "installMethod": "Metodo d'installazione", "normal": "Normale", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "Shizuku non è in esecuzione", "useSystemFont": "Use the system font", diff --git a/assets/translations/ja.json b/assets/translations/ja.json index 375a286..624e839 100644 --- a/assets/translations/ja.json +++ b/assets/translations/ja.json @@ -111,8 +111,6 @@ "dark": "ダーク", "light": "ライト", "followSystem": "システムに従う", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "ピュアブラックダークテーマを使用する", "appSortBy": "アプリの並び方", "authorName": "作者名/アプリ名", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "そのIDや名前を持つアプリは見つかりませんでした", "reposHaveMultipleApps": "リポジトリには複数のアプリが含まれることがあります", "fdroidThirdPartyRepo": "F-Droid サードパーティリポジトリ", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Chat", "install": "インストール", @@ -286,7 +283,6 @@ "parallelDownloads": "並行ダウンロードを許可する", "installMethod": "インストール方法", "normal": "通常", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "Shizukuが起動していません", "useSystemFont": "システムフォントを使用する", diff --git a/assets/translations/nl.json b/assets/translations/nl.json index 2fb4ded..1305213 100644 --- a/assets/translations/nl.json +++ b/assets/translations/nl.json @@ -111,8 +111,6 @@ "dark": "Donker", "light": "Licht", "followSystem": "Volg systeem", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "Gebruik zwart thema", "appSortBy": "App sorteren op", "authorName": "Auteur/Naam", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "Er werd geen app gevonden met dat ID of die naam", "reposHaveMultipleApps": "Repositories kunnen meerdere apps bevatten", "fdroidThirdPartyRepo": "F-Droid Third-Party Repo", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Chat", "install": "Installeren", @@ -286,7 +283,6 @@ "parallelDownloads": "Parallelle downloads toestaan", "installMethod": "Installatiemethode", "normal": "Normaal", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "Shizuku draait niet", "useSystemFont": "Use the system font", diff --git a/assets/translations/pl.json b/assets/translations/pl.json index 12e8115..df3e16f 100644 --- a/assets/translations/pl.json +++ b/assets/translations/pl.json @@ -111,8 +111,6 @@ "dark": "Ciemny", "light": "Jasny", "followSystem": "Zgodny z systemem", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "Użyj czarnego motywu", "appSortBy": "Sortuj aplikacje według", "authorName": "Autor/Nazwa", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "Nie znaleziono aplikacji o tym identyfikatorze lub nazwie", "reposHaveMultipleApps": "Repozytoria mogą zawierać wiele aplikacji", "fdroidThirdPartyRepo": "Zewnętrzne repo F-Droid", - "steam": "Steam", "steamMobile": "Mobilny Steam", "steamChat": "Steam Chat", "install": "Instaluj", @@ -286,7 +283,6 @@ "parallelDownloads": "Allow parallel downloads", "installMethod": "Installation method", "normal": "Normal", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "Shizuku is not running", "useSystemFont": "Use the system font", diff --git a/assets/translations/pt.json b/assets/translations/pt.json index 74d1120..21a1090 100644 --- a/assets/translations/pt.json +++ b/assets/translations/pt.json @@ -111,8 +111,6 @@ "dark": "Escuro", "light": "Claro", "followSystem": "Seguir o sistema", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "Usar tema preto completamente escuro", "appSortBy": "Classificar aplicativo por", "authorName": "Autor/Nome", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "Nenhum aplicativo foi encontrado com esse ID ou nome", "reposHaveMultipleApps": "Repositórios podem conter multiplos aplicativos", "fdroidThirdPartyRepo": "Repositórios de terceiros F-Droid", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Chat", "install": "Instalar", @@ -286,7 +283,6 @@ "parallelDownloads": "Permitir downloads paralelos", "installMethod": "Método de instalação", "normal": "Normal", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "O Shizuku não está rodando", "useSystemFont": "Usar fonte padrão do sistema", diff --git a/assets/translations/ru.json b/assets/translations/ru.json index 3f12321..8b2c671 100644 --- a/assets/translations/ru.json +++ b/assets/translations/ru.json @@ -111,8 +111,6 @@ "dark": "Тёмная", "light": "Светлая", "followSystem": "Системная", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "Использовать чёрную тему", "appSortBy": "Сортировка приложений", "authorName": "Автор/Название", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "Приложение с таким ID или названием не было найдено", "reposHaveMultipleApps": "В хранилище несколько приложений", "fdroidThirdPartyRepo": "Сторонние репозитории F-Droid", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Chat", "install": "Установить", @@ -286,7 +283,6 @@ "parallelDownloads": "Разрешить параллельные загрузки", "installMethod": "Метод установки", "normal": "Нормальный", - "shizuku": "Shizuku", "root": "Суперпользователь", "shizukuBinderNotFound": "Совместимый сервис Shizuku не найден", "useSystemFont": "Использовать системный шрифт", diff --git a/assets/translations/standardize.js b/assets/translations/standardize.js index 77a8505..3fd64ed 100644 --- a/assets/translations/standardize.js +++ b/assets/translations/standardize.js @@ -1,20 +1,30 @@ // Take one (hardcoded) translation file and ensure that all other translation files have the same keys in the same order +// Then report which other translation files have identical items const fs = require('fs') const translationsDir = __dirname const templateFile = `${translationsDir}/en.json` const otherFiles = fs.readdirSync(translationsDir).map(f => { - return `${translationsDir}/${f}`}).filter(f => f.endsWith('.json') && f != templateFile) + return `${translationsDir}/${f}` +}).filter(f => f.endsWith('.json') && f != templateFile) const templateTranslation = require(templateFile) otherFiles.forEach(file => { - console.log(file) const thisTranslationOriginal = require(file) const thisTranslationNew = {} Object.keys(templateTranslation).forEach(k => { thisTranslationNew[k] = thisTranslationOriginal[k] || templateTranslation[k] }) fs.writeFileSync(file, `${JSON.stringify(thisTranslationNew, null, ' ')}\n`) +}); + +otherFiles.forEach(file => { + const thisTranslation = require(file) + Object.keys(templateTranslation).forEach(k => { + if (JSON.stringify(thisTranslation[k]) == JSON.stringify(templateTranslation[k])) { + console.log(`${file} :::: ${k} :::: ${JSON.stringify(thisTranslation[k])}`) + } + }) }); \ No newline at end of file diff --git a/assets/translations/sv.json b/assets/translations/sv.json index 333d4ed..a362734 100644 --- a/assets/translations/sv.json +++ b/assets/translations/sv.json @@ -111,8 +111,6 @@ "dark": "Mörkt", "light": "Ljust", "followSystem": "Följ System", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "Använd svart tema", "appSortBy": "Sortera Appar via", "authorName": "Utvecklare/Namn", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "Ingen App funnen med det namnet eller ID", "reposHaveMultipleApps": "Förråd kan innehålla flera ApparR", "fdroidThirdPartyRepo": "F-Droid Tredjeparts Förråd", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Chat", "install": "Installera", @@ -286,7 +283,6 @@ "parallelDownloads": "Allow parallel downloads", "installMethod": "Installation method", "normal": "Normal", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "Shizuku is not running", "useSystemFont": "Use the system font", diff --git a/assets/translations/tr.json b/assets/translations/tr.json index 82315bf..a966ef4 100644 --- a/assets/translations/tr.json +++ b/assets/translations/tr.json @@ -111,8 +111,6 @@ "dark": "Koyu", "light": "Aydınlık", "followSystem": "Sistemi Takip Et", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "Saf siyah koyu temasını kullan", "appSortBy": "Uygulama Sıralama Ölçütü", "authorName": "Yazar/Ad", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "Bu kimlik veya ada sahip bir uygulama bulunamadı", "reposHaveMultipleApps": "Depolar birden fazla uygulama içerebilir", "fdroidThirdPartyRepo": "F-Droid Üçüncü Taraf Depo", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Sohbet", "install": "Yükle", @@ -286,7 +283,6 @@ "parallelDownloads": "Allow parallel downloads", "installMethod": "Installation method", "normal": "Normal", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "Shizuku is not running", "useSystemFont": "Use the system font", diff --git a/assets/translations/vi.json b/assets/translations/vi.json index c358940..cd2493f 100644 --- a/assets/translations/vi.json +++ b/assets/translations/vi.json @@ -111,8 +111,6 @@ "dark": "Tối", "light": "Sáng", "followSystem": "Theo hệ thống", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "Nền đen", "appSortBy": "Sắp xếp ứng dụng", "authorName": "Tác giả", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "Không tìm thấy ứng dụng nào có ID hoặc tên đó", "reposHaveMultipleApps": "Kho có thể chứa nhiều Ứng dụng", "fdroidThirdPartyRepo": "Kho lưu trữ bên thứ ba F-Droid", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Chat", "install": "Cài đặt", @@ -286,7 +283,6 @@ "parallelDownloads": "Cho phép tải đa luồng", "installMethod": "Phương thức cài đặt", "normal": "Mặc định", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "Shizuku chưa khởi động", "useSystemFont": "Use the system font", diff --git a/assets/translations/zh.json b/assets/translations/zh.json index 256d3ff..98a5f4b 100644 --- a/assets/translations/zh.json +++ b/assets/translations/zh.json @@ -111,8 +111,6 @@ "dark": "深色", "light": "浅色", "followSystem": "跟随系统", - "obtainium": "Obtainium", - "materialYou": "Material You", "useBlackTheme": "使用纯黑深色主题", "appSortBy": "排序依据", "authorName": "作者 / 应用名称", @@ -176,7 +174,6 @@ "appWithIdOrNameNotFound": "未找到符合此 ID 或名称的应用", "reposHaveMultipleApps": "存储库中可能包含多个应用", "fdroidThirdPartyRepo": "F-Droid 第三方存储库", - "steam": "Steam", "steamMobile": "Steam Mobile", "steamChat": "Steam Chat", "install": "安装", @@ -286,7 +283,6 @@ "parallelDownloads": "启用并行下载", "installMethod": "安装方式", "normal": "常规", - "shizuku": "Shizuku", "root": "Root", "shizukuBinderNotFound": "未发现兼容的 Shizuku 服务", "useSystemFont": "使用系统字体", diff --git a/lib/app_sources/steammobile.dart b/lib/app_sources/steammobile.dart index c70a6f7..cbb28ef 100644 --- a/lib/app_sources/steammobile.dart +++ b/lib/app_sources/steammobile.dart @@ -8,7 +8,7 @@ import 'package:obtainium/providers/source_provider.dart'; class SteamMobile extends AppSource { SteamMobile() { hosts = ['store.steampowered.com']; - name = tr('steam'); + name = 'Steam'; additionalSourceAppSpecificSettingFormItems = [ [ GeneratedFormDropdown('app', apks.entries.toList(), diff --git a/lib/pages/apps.dart b/lib/pages/apps.dart index 31adef5..894dc8c 100644 --- a/lib/pages/apps.dart +++ b/lib/pages/apps.dart @@ -877,8 +877,7 @@ class AppsPageState extends State { } urls = urls.substring(0, urls.length - 1); Share.share(urls, - subject: - '${tr('obtainium')} - ${tr('appsString')}'); + subject: 'Obtainium - ${tr('appsString')}'); Navigator.of(context).pop(); }, tooltip: tr('shareSelectedAppURLs'), @@ -906,8 +905,7 @@ class AppsPageState extends State { urls += '\n\n

${tr('about')}

'; Share.share(urls, - subject: - '${tr('obtainium')} - ${tr('appsString')}'); + subject: 'Obtainium - ${tr('appsString')}'); }, tooltip: tr('shareAppConfigLinks'), icon: const Icon(Icons.ios_share), diff --git a/lib/pages/settings.dart b/lib/pages/settings.dart index 61fd7d6..5cc56a2 100644 --- a/lib/pages/settings.dart +++ b/lib/pages/settings.dart @@ -38,9 +38,9 @@ class _SettingsPageState extends State { value: InstallMethodSettings.normal, child: Text(tr('normal')), ), - DropdownMenuItem( + const DropdownMenuItem( value: InstallMethodSettings.shizuku, - child: Text(tr('shizuku')), + child: Text('Shizuku'), ), DropdownMenuItem( value: InstallMethodSettings.root, @@ -79,14 +79,14 @@ class _SettingsPageState extends State { var colourDropdown = DropdownButtonFormField( decoration: InputDecoration(labelText: tr('colour')), value: settingsProvider.colour, - items: [ + items: const [ DropdownMenuItem( value: ColourSettings.basic, - child: Text(tr('obtainium')), + child: Text('Obtainium'), ), DropdownMenuItem( value: ColourSettings.materialYou, - child: Text(tr('materialYou')), + child: Text('Material You'), ) ], onChanged: (value) {