Skip to content

Commit 5a01dfa

Browse files
committed
feat(l10n): add Arabic and English translations for dashboard title
- Add Arabic translation for "Dashboard" as "لوحة القيادة" - Include descriptions for both translations to ensure proper context - Maintain consistency in translation file formatting
1 parent 8f43db8 commit 5a01dfa

File tree

5 files changed

+20
-0
lines changed

5 files changed

+20
-0
lines changed

lib/l10n/app_localizations.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1867,6 +1867,12 @@ abstract class AppLocalizations {
18671867
/// In en, this message translates to:
18681868
/// **'Premium User'**
18691869
String get premiumUserRole;
1870+
1871+
/// Title for the main dashboard app bar
1872+
///
1873+
/// In en, this message translates to:
1874+
/// **'Dashboard'**
1875+
String get dashboardTitle;
18701876
}
18711877

18721878
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,4 +985,7 @@ class AppLocalizationsAr extends AppLocalizations {
985985

986986
@override
987987
String get premiumUserRole => 'مستخدم مميز';
988+
989+
@override
990+
String get dashboardTitle => 'لوحة القيادة';
988991
}

lib/l10n/app_localizations_en.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,4 +983,7 @@ class AppLocalizationsEn extends AppLocalizations {
983983

984984
@override
985985
String get premiumUserRole => 'Premium User';
986+
987+
@override
988+
String get dashboardTitle => 'Dashboard';
986989
}

lib/l10n/arb/app_ar.arb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,5 +1227,9 @@
12271227
"premiumUserRole": "مستخدم مميز",
12281228
"@premiumUserRole": {
12291229
"description": "الاسم المترجم لـ AppUserRole.premiumUser"
1230+
},
1231+
"dashboardTitle": "لوحة القيادة",
1232+
"@dashboardTitle": {
1233+
"description": "عنوان شريط التطبيق الرئيسي للوحة القيادة"
12301234
}
12311235
}

lib/l10n/arb/app_en.arb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,5 +1222,9 @@
12221222
"premiumUserRole": "Premium User",
12231223
"@premiumUserRole": {
12241224
"description": "Localized name for AppUserRole.premiumUser"
1225+
},
1226+
"dashboardTitle": "Dashboard",
1227+
"@dashboardTitle": {
1228+
"description": "Title for the main dashboard app bar"
12251229
}
12261230
}

0 commit comments

Comments
 (0)