From 0f0ebe5565c284268d4dc2ff49d0f95fc62995e5 Mon Sep 17 00:00:00 2001 From: zarzet Date: Mon, 13 Jul 2026 08:39:06 +0700 Subject: [PATCH] chore: bump version to 4.8.0-beta.1; fix ICU plural syntax in ar/fr --- lib/constants/app_info.dart | 4 ++-- lib/l10n/app_localizations_ar.dart | 11 ----------- lib/l10n/arb/app_ar.arb | 6 +++--- lib/l10n/arb/app_fr.arb | 18 +++++++++--------- 4 files changed, 14 insertions(+), 25 deletions(-) diff --git a/lib/constants/app_info.dart b/lib/constants/app_info.dart index f740193d..10df7ce7 100644 --- a/lib/constants/app_info.dart +++ b/lib/constants/app_info.dart @@ -1,8 +1,8 @@ import 'package:flutter/foundation.dart'; class AppInfo { - static const String version = '4.7.1'; - static const String buildNumber = '137'; + static const String version = '4.8.0-beta.1'; + static const String buildNumber = '138'; static const String fullVersion = '$version+$buildNumber'; static String get displayVersion => kDebugMode ? 'Internal' : version; diff --git a/lib/l10n/app_localizations_ar.dart b/lib/l10n/app_localizations_ar.dart index f196ad28..0603d394 100644 --- a/lib/l10n/app_localizations_ar.dart +++ b/lib/l10n/app_localizations_ar.dart @@ -610,10 +610,6 @@ class AppLocalizationsAr extends AppLocalizations { locale: localeName, other: 'الأغاني', one: 'أغنية', - many: 'أغنية', - few: 'أغانٍ', - two: 'أغنيتين', - zero: '', ); return 'حذف $count $_temp0 من التاريخ؟\n\nسيؤدي هذا أيضا إلى حذف الملفات من وحدة التخزين.'; } @@ -661,10 +657,6 @@ class AppLocalizationsAr extends AppLocalizations { locale: localeName, other: 'أغانٍ', one: 'أغنية', - many: 'أغنية', - few: 'أغانٍ', - two: 'أغنيتين', - zero: '', ); return 'تم حذف $count $_temp0'; } @@ -1090,9 +1082,6 @@ class AppLocalizationsAr extends AppLocalizations { locale: localeName, other: '$count أغانٍ', one: 'أغنية واحدة', - many: '$count أغانٍ', - few: '$count أغانٍ', - two: 'أغنيتين', zero: 'لا توجد أغاني محددة', ); return '$_temp0'; diff --git a/lib/l10n/arb/app_ar.arb b/lib/l10n/arb/app_ar.arb index 83b8dbd0..bd40fedb 100644 --- a/lib/l10n/arb/app_ar.arb +++ b/lib/l10n/arb/app_ar.arb @@ -708,7 +708,7 @@ "@trackAlbum": { "description": "Metadata label - album name" }, - "dialogDeleteSelectedMessage": "حذف {count} {count, plural, zero {} one {المسارات} two {أغنيتين} few {أغانٍ} many {أغنية}=1{أغنية} other{الأغاني}} من التاريخ؟\n\nسيؤدي هذا أيضا إلى حذف الملفات من وحدة التخزين.", + "dialogDeleteSelectedMessage": "حذف {count} {count, plural, =1{أغنية} other{الأغاني}} من التاريخ؟\n\nسيؤدي هذا أيضا إلى حذف الملفات من وحدة التخزين.", "@dialogDeleteSelectedMessage": { "description": "Dialog message - delete selected tracks", "placeholders": { @@ -1184,7 +1184,7 @@ "@editMetadataAutoFill": { "description": "Section title for selective online metadata auto-fill in the edit metadata sheet" }, - "snackbarDeletedTracks": "تم حذف {count} {count, plural, zero {} one {أغنيتين} two {أغنيتين} few {أغانٍ} many {أغنية}=1{أغنية} other{أغانٍ}}", + "snackbarDeletedTracks": "تم حذف {count} {count, plural, =1{أغنية} other{أغانٍ}}", "@snackbarDeletedTracks": { "description": "Snackbar - tracks deleted", "placeholders": { @@ -4606,7 +4606,7 @@ "@libraryScanCancelled": { "description": "Library scan status when a scan was cancelled" }, - "tracksCount": "{count, plural, zero {لا توجد أغاني محددة} one {{count} مسارات} two {أغنيتين} few {{count} أغانٍ} many {{count} أغانٍ}=1{أغنية واحدة} other{{count} أغانٍ}}", + "tracksCount": "{count, plural, zero {لا توجد أغاني محددة} =1{أغنية واحدة} other{{count} أغانٍ}}", "@snackbarFailedToUpdateNamed": { "description": "Snackbar when extension update fails in the repo tab", "placeholders": { diff --git a/lib/l10n/arb/app_fr.arb b/lib/l10n/arb/app_fr.arb index 41f95e53..95355325 100644 --- a/lib/l10n/arb/app_fr.arb +++ b/lib/l10n/arb/app_fr.arb @@ -821,7 +821,7 @@ "@extensionMinAppVersion": { "description": "Extension detail - minimum app version" }, - "backupContentsLiked": "{count} favoris {count, plural, one {}=1{titre} other{titres}}", + "backupContentsLiked": "{count} favoris {count, plural, =1{titre} other{titres}}", "@backupContentsLiked": { "description": "Backup contents row for liked tracks count", "placeholders": { @@ -2295,7 +2295,7 @@ "@trackReEnrichSuccess": { "description": "Snackbar after successful re-enrichment" }, - "backupContentsHistory": "{count} historique {count, plural, one {}=1{élément} other{éléments}}", + "backupContentsHistory": "{count} historique {count, plural, =1{élément} other{éléments}}", "@backupContentsHistory": { "description": "Backup contents row for history count", "placeholders": { @@ -2791,7 +2791,7 @@ } } }, - "backupContentsArtists": "{count, plural, one {}=1{1 artiste préféré} other{{count} artistes préférés}}", + "backupContentsArtists": "{count, plural, =1{1 artiste préféré} other{{count} artistes préférés}}", "@backupContentsArtists": { "description": "Backup contents row for favorite artists count", "placeholders": { @@ -3552,7 +3552,7 @@ "@libraryTitle": { "description": "Library settings page title" }, - "queueAlbumCount": "{count, plural, one {}=1{1 album} other{{count} albums}}", + "queueAlbumCount": "{count, plural, =1{1 album} other{{count} albums}}", "@queueAlbumCount": { "description": "Album count label with plural support", "placeholders": { @@ -4764,7 +4764,7 @@ } } }, - "backupExtensionsRestoreFailed": "{count} {count, plural, one {}=1{extension} other{extensions}} n'ont pas pu être réinstallées. Installez-les manuellement depuis la boutique.", + "backupExtensionsRestoreFailed": "{count} {count, plural, =1{extension} other{extensions}} n'ont pas pu être réinstallées. Installez-les manuellement depuis la boutique.", "@backupExtensionsRestoreFailed": { "description": "Snackbar/hint when some extensions failed to reinstall during restore", "placeholders": { @@ -4921,7 +4921,7 @@ "setupStorageDescription": "SpotiFLAC a besoin d'une autorisation d'accès au stockage pour enregistrer vos fichiers musicaux téléchargés.", "tutorialReadyMessage": "C'est parti ! Commencez dès maintenant à télécharger votre musique préférée.", "tutorialLibraryTip3": "Passez de l'affichage sous forme de liste à celui sous forme de grille pour faciliter la navigation", - "selectionDeletePlaylistsCount": "Supprimer {count} {count, plural, one {}=1{playlist} other{playlists}}", + "selectionDeletePlaylistsCount": "Supprimer {count} {count, plural, =1{playlist} other{playlists}}", "appearanceThemeLight": "Clair", "queueEmptyHistorySubtitle": "Les morceaux téléchargés apparaîtront ici", "@queueEmptyHistorySubtitle": { @@ -5531,7 +5531,7 @@ }, "editMetadataFieldDiscTotal": "Total des disques", "tutorialLibraryTip1": "Afficher la progression du téléchargement et la file d'attente dans l'onglet « Bibliothèque »", - "playlistsCount": "{count, plural, one {}=1{1 playlist} other{{count} playlists}}", + "playlistsCount": "{count, plural, =1{1 playlist} other{{count} playlists}}", "downloadCreatePlaylistSourceFolderDisabled": "Tous les morceaux sont enregistrés directement dans le dossier de téléchargement", "@downloadFallbackExtensionsSubtitle": { "description": "Subtitle for fallback extensions item" @@ -5566,7 +5566,7 @@ }, "downloadAppleQqMultiPerson": "Apple / QQ : Paroles pour plusieurs personnes", "downloadFallbackExtensionsSubtitle": "Choisissez les extensions pouvant servir de solution de secours", - "storeExtensionsCount": "{count} {count, plural, one {}=1{extension} other{extensions}}", + "storeExtensionsCount": "{count} {count, plural, =1{extension} other{extensions}}", "trackCoverNoEmbeddedArt": "Aucune pochette d'album n'a été trouvée", "@trackCoverNoEmbeddedArt": { "description": "Message shown when a track file has no embedded cover art" @@ -5587,7 +5587,7 @@ "extensionVerificationBrowserExternal": "Externe", "regionCountryIN": "Inde", "extensionHealthUnknown": "Inconnu", - "backupContentsWishlist": "{count} liste de souhaits {count, plural, one {}=1{titre} other{titres}}", + "backupContentsWishlist": "{count} liste de souhaits {count, plural, =1{titre} other{titres}}", "settingsAutoExportFailed": "Échec de l'exportation automatique des téléchargements", "logFilterSection": "Filtre", "dialogDiscardChanges": "Ignorer les modifications ?",