Skip to content

Commit 893fe7f

Browse files
authored
Merge pull request #68 from flutter-news-app-full-source-code/AA
l10n update
2 parents 8f43db8 + 18392b6 commit 893fe7f

File tree

6 files changed

+21
-1
lines changed

6 files changed

+21
-1
lines changed

lib/app/view/app_shell.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class AppShell extends StatelessWidget {
2727
final l10n = AppLocalizationsX(context).l10n;
2828
return Scaffold(
2929
appBar: AppBar(
30-
title: Text(l10n.overview),
30+
title: Text(l10n.dashboardTitle),
3131
actions: [
3232
PopupMenuButton<String>(
3333
onSelected: (value) {

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)