fix(library): restore live folder scan progress

This commit is contained in:
zarzet
2026-08-22 13:43:06 +07:00
parent b780aae38f
commit b1180a70a7
15 changed files with 174 additions and 23 deletions
+6
View File
@@ -3430,6 +3430,12 @@ abstract class AppLocalizations {
/// **'Disabled'**
String get librarySourceDisabled;
/// Live progress for one library folder scan
///
/// In en, this message translates to:
/// **'{scanned} of {total} files scanned ({progress}%)'**
String librarySourceScanCount(int scanned, int total, String progress);
/// Label for a removable or external library source
///
/// In en, this message translates to:
+5
View File
@@ -1918,6 +1918,11 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get librarySourceDisabled => 'Disabled';
@override
String librarySourceScanCount(int scanned, int total, String progress) {
return '$scanned of $total files scanned ($progress%)';
}
@override
String get libraryExternalStorage => 'External storage';
+5
View File
@@ -1893,6 +1893,11 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get librarySourceDisabled => 'Disabled';
@override
String librarySourceScanCount(int scanned, int total, String progress) {
return '$scanned of $total files scanned ($progress%)';
}
@override
String get libraryExternalStorage => 'External storage';
+5
View File
@@ -1893,6 +1893,11 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get librarySourceDisabled => 'Disabled';
@override
String librarySourceScanCount(int scanned, int total, String progress) {
return '$scanned of $total files scanned ($progress%)';
}
@override
String get libraryExternalStorage => 'External storage';
+5
View File
@@ -1944,6 +1944,11 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get librarySourceDisabled => 'Disabled';
@override
String librarySourceScanCount(int scanned, int total, String progress) {
return '$scanned of $total files scanned ($progress%)';
}
@override
String get libraryExternalStorage => 'External storage';
+5
View File
@@ -1902,6 +1902,11 @@ class AppLocalizationsId extends AppLocalizations {
@override
String get librarySourceDisabled => 'Dinonaktifkan';
@override
String librarySourceScanCount(int scanned, int total, String progress) {
return '$scanned dari $total file dipindai ($progress%)';
}
@override
String get libraryExternalStorage => 'Storage eksternal';
+5
View File
@@ -1882,6 +1882,11 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get librarySourceDisabled => 'Disabled';
@override
String librarySourceScanCount(int scanned, int total, String progress) {
return '$scanned of $total files scanned ($progress%)';
}
@override
String get libraryExternalStorage => 'External storage';
+5
View File
@@ -1853,6 +1853,11 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get librarySourceDisabled => 'Disabled';
@override
String librarySourceScanCount(int scanned, int total, String progress) {
return '$scanned of $total files scanned ($progress%)';
}
@override
String get libraryExternalStorage => 'External storage';
+5
View File
@@ -1893,6 +1893,11 @@ class AppLocalizationsPt extends AppLocalizations {
@override
String get librarySourceDisabled => 'Disabled';
@override
String librarySourceScanCount(int scanned, int total, String progress) {
return '$scanned of $total files scanned ($progress%)';
}
@override
String get libraryExternalStorage => 'External storage';
+5
View File
@@ -1913,6 +1913,11 @@ class AppLocalizationsRu extends AppLocalizations {
@override
String get librarySourceDisabled => 'Disabled';
@override
String librarySourceScanCount(int scanned, int total, String progress) {
return '$scanned of $total files scanned ($progress%)';
}
@override
String get libraryExternalStorage => 'External storage';
+5
View File
@@ -1916,6 +1916,11 @@ class AppLocalizationsTr extends AppLocalizations {
@override
String get librarySourceDisabled => 'Disabled';
@override
String librarySourceScanCount(int scanned, int total, String progress) {
return '$scanned of $total files scanned ($progress%)';
}
@override
String get libraryExternalStorage => 'External storage';
+5
View File
@@ -1922,6 +1922,11 @@ class AppLocalizationsUk extends AppLocalizations {
@override
String get librarySourceDisabled => 'Disabled';
@override
String librarySourceScanCount(int scanned, int total, String progress) {
return '$scanned of $total files scanned ($progress%)';
}
@override
String get libraryExternalStorage => 'External storage';
+9
View File
@@ -2517,6 +2517,15 @@
"@librarySourceDisabled": {
"description": "Library source has been disabled by the user"
},
"librarySourceScanCount": "{scanned} of {total} files scanned ({progress}%)",
"@librarySourceScanCount": {
"description": "Live progress for one library folder scan",
"placeholders": {
"scanned": {"type": "int"},
"total": {"type": "int"},
"progress": {"type": "String"}
}
},
"libraryExternalStorage": "External storage",
"@libraryExternalStorage": {
"description": "Label for a removable or external library source"
+1
View File
@@ -3314,6 +3314,7 @@
"librarySourceOnline": "Online",
"librarySourceOffline": "Offline. Sambungkan kembali storage untuk memulihkan lagu",
"librarySourceDisabled": "Dinonaktifkan",
"librarySourceScanCount": "{scanned} dari {total} file dipindai ({progress}%)",
"libraryExternalStorage": "Storage eksternal",
"libraryRemoveFolder": "Hapus folder library",
"libraryRemoveFolderMessage": "Hapus folder ini dan indeks lagunya dari SpotiFLAC Mobile? File audio di storage tidak akan dihapus.",