Update locale_extensions.dart

This commit is contained in:
ibrahem Qasim
2024-05-22 06:26:40 +03:00
committed by GitHub
parent 81cb818297
commit 4398b5cce8

View File

@@ -6,6 +6,7 @@ extension AppLocaleX on AppLocale {
this == AppLocale.fa ? FontFamily.shabnam : FontFamily.emoji; this == AppLocale.fa ? FontFamily.shabnam : FontFamily.emoji;
String get localeName => switch (flutterLocale.toString()) { String get localeName => switch (flutterLocale.toString()) {
"ar" => "العربية",
"en" => "English", "en" => "English",
"fa" => "فارسی", "fa" => "فارسی",
"ru" => "Русский", "ru" => "Русский",