fix(app-selector): remove direct use of strings (#944)

This commit is contained in:
Aabed Khan 2023-06-23 19:24:12 +05:45 committed by GitHub
parent 716a30bf7b
commit 941f618153
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
39 changed files with 62 additions and 85 deletions

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "لم يتم اختيار أي تطبيق", "widgetSubtitle": "لم يتم اختيار أي تطبيق",
"noAppsLabel": "لم يتم العثور على تطبيقات", "noAppsLabel": "لم يتم العثور على تطبيقات",
"currentVersion": "الحالي", "currentVersion": "الحالي",
"recommendedVersion": "موصى به", "recommendedVersion": "موصى به"
"anyVersion": "أي"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "اختر التعديلات", "widgetTitle": "اختر التعديلات",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "Heç bir tətbiq seçilməyib", "widgetSubtitle": "Heç bir tətbiq seçilməyib",
"noAppsLabel": "Heç bir tətbiq tapılmadı", "noAppsLabel": "Heç bir tətbiq tapılmadı",
"currentVersion": "Hazırkı", "currentVersion": "Hazırkı",
"recommendedVersion": "Tövsiyyə edilən", "recommendedVersion": "Tövsiyyə edilən"
"anyVersion": "istənilən"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Yamaqları seçin", "widgetTitle": "Yamaqları seçin",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Няма избрано приложение", "widgetSubtitle": "Няма избрано приложение",
"noAppsLabel": "Няма намерени приложения", "noAppsLabel": "Няма намерени приложения",
"currentVersion": "Текуща", "currentVersion": "Текуща",
"recommendedVersion": "Препоръчана", "recommendedVersion": "Препоръчана"
"anyVersion": "всяка"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Изберете модификации", "widgetTitle": "Изберете модификации",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "কোনো অ্যাপ্লিকেশন নির্বাচন করা হয়নি", "widgetSubtitle": "কোনো অ্যাপ্লিকেশন নির্বাচন করা হয়নি",
"noAppsLabel": "কোন অ্যাপ্লিকেশন পাওয়া যায়নি", "noAppsLabel": "কোন অ্যাপ্লিকেশন পাওয়া যায়নি",
"currentVersion": "বর্তমান", "currentVersion": "বর্তমান",
"recommendedVersion": "প্রস্তাবিত", "recommendedVersion": "প্রস্তাবিত"
"anyVersion": "যেকোনো সংস্করণ"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "প্যাচ নির্বাচন করুন", "widgetTitle": "প্যাচ নির্বাচন করুন",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "Nebyla vybrána žádná aplikace", "widgetSubtitle": "Nebyla vybrána žádná aplikace",
"noAppsLabel": "Nebyly nalezeny žádné aplikace", "noAppsLabel": "Nebyly nalezeny žádné aplikace",
"currentVersion": "Aktuální", "currentVersion": "Aktuální",
"recommendedVersion": "Doporučeno", "recommendedVersion": "Doporučeno"
"anyVersion": "jakákoliv"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Vybrat záplaty", "widgetTitle": "Vybrat záplaty",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Ingen applikation valgt", "widgetSubtitle": "Ingen applikation valgt",
"noAppsLabel": "Ingen applikationer fundet", "noAppsLabel": "Ingen applikationer fundet",
"currentVersion": "Nuværende", "currentVersion": "Nuværende",
"recommendedVersion": "Anbefalet", "recommendedVersion": "Anbefalet"
"anyVersion": "enhver"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Vælg patches", "widgetTitle": "Vælg patches",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Keine App ausgewählt", "widgetSubtitle": "Keine App ausgewählt",
"noAppsLabel": "Keine Apps gefunden", "noAppsLabel": "Keine Apps gefunden",
"currentVersion": "Aktuell", "currentVersion": "Aktuell",
"recommendedVersion": "Empfohlen", "recommendedVersion": "Empfohlen"
"anyVersion": "beliebig"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Patches auswählen", "widgetTitle": "Patches auswählen",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Δεν έχει επιλεχθεί εφαρμογή", "widgetSubtitle": "Δεν έχει επιλεχθεί εφαρμογή",
"noAppsLabel": "Δεν βρέθηκαν εφαρμογές", "noAppsLabel": "Δεν βρέθηκαν εφαρμογές",
"currentVersion": "Τρέχουσα", "currentVersion": "Τρέχουσα",
"recommendedVersion": "Προτεινόμενη", "recommendedVersion": "Προτεινόμενη"
"anyVersion": "οποιαδήποτε"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Επιλέξτε τροποποιήσεις", "widgetTitle": "Επιλέξτε τροποποιήσεις",

View File

@ -60,9 +60,10 @@
"widgetTitleSelected": "Selected application", "widgetTitleSelected": "Selected application",
"widgetSubtitle": "No application selected", "widgetSubtitle": "No application selected",
"noAppsLabel": "No applications found", "noAppsLabel": "No applications found",
"notInstalled":"App not installed",
"currentVersion": "Current", "currentVersion": "Current",
"suggestedVersion": "Suggested", "suggestedVersion": "Suggested",
"anyVersion": "any" "allVersions": "All versions"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Select patches", "widgetTitle": "Select patches",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Ninguna aplicación seleccionada", "widgetSubtitle": "Ninguna aplicación seleccionada",
"noAppsLabel": "No se encontraron aplicaciones", "noAppsLabel": "No se encontraron aplicaciones",
"currentVersion": "Versión actual", "currentVersion": "Versión actual",
"recommendedVersion": "Versión recomendada", "recommendedVersion": "Versión recomendada"
"anyVersion": "cualquiera"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Seleccionar parches", "widgetTitle": "Seleccionar parches",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "Ninguna aplicación seleccionada", "widgetSubtitle": "Ninguna aplicación seleccionada",
"noAppsLabel": "No se encontraron aplicaciones", "noAppsLabel": "No se encontraron aplicaciones",
"currentVersion": "Versión actual", "currentVersion": "Versión actual",
"recommendedVersion": "Versión recomendada", "recommendedVersion": "Versión recomendada"
"anyVersion": "Cualquier versión"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Seleccionar parches", "widgetTitle": "Seleccionar parches",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "Sovellusta ei ole valittu", "widgetSubtitle": "Sovellusta ei ole valittu",
"noAppsLabel": "Sovelluksia ei löytynyt", "noAppsLabel": "Sovelluksia ei löytynyt",
"currentVersion": "Nykyinen", "currentVersion": "Nykyinen",
"recommendedVersion": "Suositeltu", "recommendedVersion": "Suositeltu"
"anyVersion": "mikä tahansa"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Valitse paikkaukset", "widgetTitle": "Valitse paikkaukset",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Aucune application sélectionnée", "widgetSubtitle": "Aucune application sélectionnée",
"noAppsLabel": "Aucune application trouvée", "noAppsLabel": "Aucune application trouvée",
"currentVersion": "Version actuelle", "currentVersion": "Version actuelle",
"recommendedVersion": "Version recommandée", "recommendedVersion": "Version recommandée"
"anyVersion": "n'importe laquelle"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Sélectionner les patchs", "widgetTitle": "Sélectionner les patchs",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "कोई ऐप्लकैशन चुना हुआ नहीं", "widgetSubtitle": "कोई ऐप्लकैशन चुना हुआ नहीं",
"noAppsLabel": "कोई एप्लिकेशन नहीं मिला।", "noAppsLabel": "कोई एप्लिकेशन नहीं मिला।",
"currentVersion": "वर्तमान", "currentVersion": "वर्तमान",
"recommendedVersion": "अनुशंसित", "recommendedVersion": "अनुशंसित"
"anyVersion": "कोई"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "पैच चुने", "widgetTitle": "पैच चुने",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "Nincs kiválasztott alkalmazás", "widgetSubtitle": "Nincs kiválasztott alkalmazás",
"noAppsLabel": "Nem találhatóak alkalmazások", "noAppsLabel": "Nem találhatóak alkalmazások",
"currentVersion": "Jelenlegi", "currentVersion": "Jelenlegi",
"recommendedVersion": "Ajánlott", "recommendedVersion": "Ajánlott"
"anyVersion": "bármely"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Patchek kiválasztása", "widgetTitle": "Patchek kiválasztása",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Tidak ada aplikasi yang dipilih", "widgetSubtitle": "Tidak ada aplikasi yang dipilih",
"noAppsLabel": "Aplikasi tidak ditemukan", "noAppsLabel": "Aplikasi tidak ditemukan",
"currentVersion": "Saat ini", "currentVersion": "Saat ini",
"recommendedVersion": "Rekomendasi", "recommendedVersion": "Rekomendasi"
"anyVersion": "semua"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Pilih Modifikasi", "widgetTitle": "Pilih Modifikasi",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Nessuna applicazione selezionata", "widgetSubtitle": "Nessuna applicazione selezionata",
"noAppsLabel": "Nessuna applicazione trovata", "noAppsLabel": "Nessuna applicazione trovata",
"currentVersion": "Attuale", "currentVersion": "Attuale",
"recommendedVersion": "Consigliata", "recommendedVersion": "Consigliata"
"anyVersion": "qualsiasi"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Seleziona patch", "widgetTitle": "Seleziona patch",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "선택된 앱 없음", "widgetSubtitle": "선택된 앱 없음",
"noAppsLabel": "앱이 발견되지 않음", "noAppsLabel": "앱이 발견되지 않음",
"currentVersion": "현재 버전", "currentVersion": "현재 버전",
"recommendedVersion": "권장 버전", "recommendedVersion": "권장 버전"
"anyVersion": "모든 버전"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "패치를 선택하세요", "widgetTitle": "패치를 선택하세요",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Nepasirinkta programa", "widgetSubtitle": "Nepasirinkta programa",
"noAppsLabel": "Nerastos jokios programos", "noAppsLabel": "Nerastos jokios programos",
"currentVersion": "Dabartinė", "currentVersion": "Dabartinė",
"recommendedVersion": "Rekomenduojama", "recommendedVersion": "Rekomenduojama"
"anyVersion": "bet kokia"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Pasirinkite modifikacijas", "widgetTitle": "Pasirinkite modifikacijas",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "Tiada aplikasi dipilih", "widgetSubtitle": "Tiada aplikasi dipilih",
"noAppsLabel": "Tiada aplikasi ditemui", "noAppsLabel": "Tiada aplikasi ditemui",
"currentVersion": "Semasa", "currentVersion": "Semasa",
"recommendedVersion": "Disyorkan", "recommendedVersion": "Disyorkan"
"anyVersion": "mana-mana"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Pilih modifikasi", "widgetTitle": "Pilih modifikasi",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Nie wybrano aplikacji", "widgetSubtitle": "Nie wybrano aplikacji",
"noAppsLabel": "Nie znaleziono aplikacji", "noAppsLabel": "Nie znaleziono aplikacji",
"currentVersion": "Aktualna", "currentVersion": "Aktualna",
"recommendedVersion": "Zalecana", "recommendedVersion": "Zalecana"
"anyVersion": "dowolna"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Wybierz łatki", "widgetTitle": "Wybierz łatki",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "Nenhum aplicativo selecionado", "widgetSubtitle": "Nenhum aplicativo selecionado",
"noAppsLabel": "Nenhum app foi encontrado", "noAppsLabel": "Nenhum app foi encontrado",
"currentVersion": "Atual", "currentVersion": "Atual",
"recommendedVersion": "Recomendado", "recommendedVersion": "Recomendado"
"anyVersion": "todos"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Selecionar patches", "widgetTitle": "Selecionar patches",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Nenhuma aplicação selecionada", "widgetSubtitle": "Nenhuma aplicação selecionada",
"noAppsLabel": "Não foram encontradas aplicações", "noAppsLabel": "Não foram encontradas aplicações",
"currentVersion": "Atual", "currentVersion": "Atual",
"recommendedVersion": "Recomendada", "recommendedVersion": "Recomendada"
"anyVersion": "qualquer"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Selecionar modificações", "widgetTitle": "Selecionar modificações",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Nicio aplicație selectată", "widgetSubtitle": "Nicio aplicație selectată",
"noAppsLabel": "Nu s-au găsit aplicații", "noAppsLabel": "Nu s-au găsit aplicații",
"currentVersion": "Actual", "currentVersion": "Actual",
"recommendedVersion": "Recomandat", "recommendedVersion": "Recomandat"
"anyVersion": "oricare"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Selectați patch-urile", "widgetTitle": "Selectați patch-urile",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Не выбрано приложение", "widgetSubtitle": "Не выбрано приложение",
"noAppsLabel": "Приложения не найдены", "noAppsLabel": "Приложения не найдены",
"currentVersion": "Текущая", "currentVersion": "Текущая",
"recommendedVersion": "Рекомендуемая", "recommendedVersion": "Рекомендуемая"
"anyVersion": "любая"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Выберите патчи", "widgetTitle": "Выберите патчи",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Nie je vybraná žiadna aplikácia", "widgetSubtitle": "Nie je vybraná žiadna aplikácia",
"noAppsLabel": "Nebola nájdená žiadna aplikácia", "noAppsLabel": "Nebola nájdená žiadna aplikácia",
"currentVersion": "Aktuálne", "currentVersion": "Aktuálne",
"recommendedVersion": "Odporúčané", "recommendedVersion": "Odporúčané"
"anyVersion": "akákoľvek"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Vyberte záplaty", "widgetTitle": "Vyberte záplaty",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "Nijedna aplikacija nije izabrana", "widgetSubtitle": "Nijedna aplikacija nije izabrana",
"noAppsLabel": "Nijedna aplikacija nije pronađena", "noAppsLabel": "Nijedna aplikacija nije pronađena",
"currentVersion": "Trenutna", "currentVersion": "Trenutna",
"recommendedVersion": "Preporučena", "recommendedVersion": "Preporučena"
"anyVersion": "bilo koja"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Izaberite pečeve", "widgetTitle": "Izaberite pečeve",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "Ниједна апликација није изабрана", "widgetSubtitle": "Ниједна апликација није изабрана",
"noAppsLabel": "Ниједна апликација није пронађена", "noAppsLabel": "Ниједна апликација није пронађена",
"currentVersion": "Тренутна", "currentVersion": "Тренутна",
"recommendedVersion": "Препоручена", "recommendedVersion": "Препоручена"
"anyVersion": "било која"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Изаберите печеве", "widgetTitle": "Изаберите печеве",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "Ingen app vald", "widgetSubtitle": "Ingen app vald",
"noAppsLabel": "Inga applikationer hittades", "noAppsLabel": "Inga applikationer hittades",
"currentVersion": "Nuvarande", "currentVersion": "Nuvarande",
"recommendedVersion": "Rekommenderad", "recommendedVersion": "Rekommenderad"
"anyVersion": "alla"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Välj patchar", "widgetTitle": "Välj patchar",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Hakuna programu iliyochaguliwa", "widgetSubtitle": "Hakuna programu iliyochaguliwa",
"noAppsLabel": "Hakuna programu zilizopatikana", "noAppsLabel": "Hakuna programu zilizopatikana",
"currentVersion": "Sasa", "currentVersion": "Sasa",
"recommendedVersion": "Imependekezwa", "recommendedVersion": "Imependekezwa"
"anyVersion": "yoyote"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Chagua viraka", "widgetTitle": "Chagua viraka",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Hiçbir uygulama seçilmedi", "widgetSubtitle": "Hiçbir uygulama seçilmedi",
"noAppsLabel": "Hiçbir uygulama bulunamadı", "noAppsLabel": "Hiçbir uygulama bulunamadı",
"currentVersion": "Şu anki", "currentVersion": "Şu anki",
"recommendedVersion": "Önerilen", "recommendedVersion": "Önerilen"
"anyVersion": "herhangi"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Yamaları Seçin", "widgetTitle": "Yamaları Seçin",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "کوئی ایپلیکیشن منتخب نہیں", "widgetSubtitle": "کوئی ایپلیکیشن منتخب نہیں",
"noAppsLabel": "کوئی ایپلیکیشن نہیں ملی", "noAppsLabel": "کوئی ایپلیکیشن نہیں ملی",
"currentVersion": "موجودہ", "currentVersion": "موجودہ",
"recommendedVersion": "تجویز کردہ", "recommendedVersion": "تجویز کردہ"
"anyVersion": "کوئی بھی"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "پیچز منتخب کریں", "widgetTitle": "پیچز منتخب کریں",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "Chưa chọn ứng dụng nào", "widgetSubtitle": "Chưa chọn ứng dụng nào",
"noAppsLabel": "Không tìm thấy ứng dụng nào", "noAppsLabel": "Không tìm thấy ứng dụng nào",
"currentVersion": "Hiện tại", "currentVersion": "Hiện tại",
"recommendedVersion": "Đề xuất", "recommendedVersion": "Đề xuất"
"anyVersion": "bất kỳ"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "Chọn bản vá", "widgetTitle": "Chọn bản vá",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "未选择应用程序", "widgetSubtitle": "未选择应用程序",
"noAppsLabel": "未发现应用程序。", "noAppsLabel": "未发现应用程序。",
"currentVersion": "当前", "currentVersion": "当前",
"recommendedVersion": "推荐", "recommendedVersion": "推荐"
"anyVersion": "任意"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "选择补丁", "widgetTitle": "选择补丁",

View File

@ -54,8 +54,7 @@
"widgetSubtitle": "沒有選擇應用程式", "widgetSubtitle": "沒有選擇應用程式",
"noAppsLabel": "找不到應用程式", "noAppsLabel": "找不到應用程式",
"currentVersion": "目前版本", "currentVersion": "目前版本",
"recommendedVersion": "推薦版本", "recommendedVersion": "推薦版本"
"anyVersion": "任何版本"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "選擇補丁", "widgetTitle": "選擇補丁",

View File

@ -55,8 +55,7 @@
"widgetSubtitle": "未選取應用程式", "widgetSubtitle": "未選取應用程式",
"noAppsLabel": "找不到應用程式", "noAppsLabel": "找不到應用程式",
"currentVersion": "目前", "currentVersion": "目前",
"recommendedVersion": "建議", "recommendedVersion": "建議"
"anyVersion": "任何"
}, },
"patchSelectorCard": { "patchSelectorCard": {
"widgetTitle": "選取修補檔", "widgetTitle": "選取修補檔",

View File

@ -133,7 +133,7 @@ class PatcherViewModel extends BaseViewModel {
if (suggestedVersion.isEmpty) { if (suggestedVersion.isEmpty) {
suggestedVersion = FlutterI18n.translate( suggestedVersion = FlutterI18n.translate(
context, context,
'appSelectorCard.anyVersion', 'appSelectorCard.allVersions',
); );
} else { } else {
suggestedVersion = 'v$suggestedVersion'; suggestedVersion = 'v$suggestedVersion';

View File

@ -73,16 +73,13 @@ class _InstalledAppItemState extends State<InstalledAppItem> {
Row( Row(
children: [ children: [
I18nText( I18nText(
FlutterI18n.translate(
context,
'suggested', 'suggested',
translationParams: { translationParams: {
'version' : widget.suggestedVersion.isEmpty 'version' : widget.suggestedVersion.isEmpty
? 'All versions' ? FlutterI18n.translate(context, 'appSelectorCard.allVersions')
: 'v${widget.suggestedVersion}' : 'v${widget.suggestedVersion}',
}, },
), ),
),
const SizedBox(width: 4), const SizedBox(width: 4),
Text( Text(
widget.patchesCount == 1 widget.patchesCount == 1

View File

@ -1,4 +1,5 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_i18n/flutter_i18n.dart';
import 'package:revanced_manager/ui/widgets/shared/custom_card.dart'; import 'package:revanced_manager/ui/widgets/shared/custom_card.dart';
class NotInstalledAppItem extends StatefulWidget { class NotInstalledAppItem extends StatefulWidget {
@ -54,12 +55,25 @@ class _NotInstalledAppItem extends State<NotInstalledAppItem> {
), ),
), ),
const SizedBox(height: 4), const SizedBox(height: 4),
const Text('App not installed.'), I18nText(
const SizedBox(height: 4), 'appSelectorCard.notInstalled',
child: Text(
'',
style: TextStyle(
color:
Theme.of(context).textTheme.titleLarge!.color,
),
),
),
Row( Row(
children: [ children: [
Text( I18nText(
'Suggested: ${widget.suggestedVersion.isEmpty ? 'All versions' : 'v${widget.suggestedVersion}'}', 'suggested',
translationParams: {
'version' : widget.suggestedVersion.isEmpty
? FlutterI18n.translate(context, 'appSelectorCard.allVersions')
: 'v${widget.suggestedVersion}',
},
), ),
const SizedBox(width: 4), const SizedBox(width: 4),
Text( Text(