Skip to content

Commit fb63cd3

Browse files
committed
feat(l10n): add new translations for app_ar.arb and app_en.arb
- Add descriptions for "days between views" input - Translate FeedDecoratorType options for both Arabic and English - Include localized names for AppUserRole in both languages
1 parent 87824bc commit fb63cd3

File tree

5 files changed

+202
-0
lines changed

5 files changed

+202
-0
lines changed

lib/l10n/app_localizations.dart

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1807,6 +1807,66 @@ abstract class AppLocalizations {
18071807
/// In en, this message translates to:
18081808
/// **'Days Between Views'**
18091809
String get daysBetweenViewsLabel;
1810+
1811+
/// Description for days between views input for feed decorators
1812+
///
1813+
/// In en, this message translates to:
1814+
/// **'Minimum number of days that must pass before this decorator can be shown again to a user with this specific role.'**
1815+
String get daysBetweenViewsDescription;
1816+
1817+
/// Localized name for FeedDecoratorType.linkAccount
1818+
///
1819+
/// In en, this message translates to:
1820+
/// **'Link Account'**
1821+
String get feedDecoratorTypeLinkAccount;
1822+
1823+
/// Localized name for FeedDecoratorType.upgrade
1824+
///
1825+
/// In en, this message translates to:
1826+
/// **'Upgrade to Premium'**
1827+
String get feedDecoratorTypeUpgrade;
1828+
1829+
/// Localized name for FeedDecoratorType.rateApp
1830+
///
1831+
/// In en, this message translates to:
1832+
/// **'Rate App'**
1833+
String get feedDecoratorTypeRateApp;
1834+
1835+
/// Localized name for FeedDecoratorType.enableNotifications
1836+
///
1837+
/// In en, this message translates to:
1838+
/// **'Enable Notifications'**
1839+
String get feedDecoratorTypeEnableNotifications;
1840+
1841+
/// Localized name for FeedDecoratorType.suggestedTopics
1842+
///
1843+
/// In en, this message translates to:
1844+
/// **'Suggested Topics'**
1845+
String get feedDecoratorTypeSuggestedTopics;
1846+
1847+
/// Localized name for FeedDecoratorType.suggestedSources
1848+
///
1849+
/// In en, this message translates to:
1850+
/// **'Suggested Sources'**
1851+
String get feedDecoratorTypeSuggestedSources;
1852+
1853+
/// Localized name for AppUserRole.guestUser
1854+
///
1855+
/// In en, this message translates to:
1856+
/// **'Guest User'**
1857+
String get guestUserRole;
1858+
1859+
/// Localized name for AppUserRole.standardUser
1860+
///
1861+
/// In en, this message translates to:
1862+
/// **'Standard User'**
1863+
String get standardUserRole;
1864+
1865+
/// Localized name for AppUserRole.premiumUser
1866+
///
1867+
/// In en, this message translates to:
1868+
/// **'Premium User'**
1869+
String get premiumUserRole;
18101870
}
18111871

18121872
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,4 +953,35 @@ class AppLocalizationsAr extends AppLocalizations {
953953

954954
@override
955955
String get daysBetweenViewsLabel => 'الأيام بين المشاهدات';
956+
957+
@override
958+
String get daysBetweenViewsDescription =>
959+
'الحد الأدنى لعدد الأيام التي يجب أن تمر قبل أن يمكن عرض هذه الزينة مرة أخرى لمستخدم بهذا الدور المحدد.';
960+
961+
@override
962+
String get feedDecoratorTypeLinkAccount => 'ربط الحساب';
963+
964+
@override
965+
String get feedDecoratorTypeUpgrade => 'الترقية إلى مميز';
966+
967+
@override
968+
String get feedDecoratorTypeRateApp => 'تقييم التطبيق';
969+
970+
@override
971+
String get feedDecoratorTypeEnableNotifications => 'تفعيل الإشعارات';
972+
973+
@override
974+
String get feedDecoratorTypeSuggestedTopics => 'مواضيع مقترحة';
975+
976+
@override
977+
String get feedDecoratorTypeSuggestedSources => 'مصادر مقترحة';
978+
979+
@override
980+
String get guestUserRole => 'مستخدم ضيف';
981+
982+
@override
983+
String get standardUserRole => 'مستخدم عادي';
984+
985+
@override
986+
String get premiumUserRole => 'مستخدم مميز';
956987
}

lib/l10n/app_localizations_en.dart

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,4 +952,35 @@ class AppLocalizationsEn extends AppLocalizations {
952952

953953
@override
954954
String get daysBetweenViewsLabel => 'Days Between Views';
955+
956+
@override
957+
String get daysBetweenViewsDescription =>
958+
'Minimum number of days that must pass before this decorator can be shown again to a user with this specific role.';
959+
960+
@override
961+
String get feedDecoratorTypeLinkAccount => 'Link Account';
962+
963+
@override
964+
String get feedDecoratorTypeUpgrade => 'Upgrade to Premium';
965+
966+
@override
967+
String get feedDecoratorTypeRateApp => 'Rate App';
968+
969+
@override
970+
String get feedDecoratorTypeEnableNotifications => 'Enable Notifications';
971+
972+
@override
973+
String get feedDecoratorTypeSuggestedTopics => 'Suggested Topics';
974+
975+
@override
976+
String get feedDecoratorTypeSuggestedSources => 'Suggested Sources';
977+
978+
@override
979+
String get guestUserRole => 'Guest User';
980+
981+
@override
982+
String get standardUserRole => 'Standard User';
983+
984+
@override
985+
String get premiumUserRole => 'Premium User';
955986
}

lib/l10n/arb/app_ar.arb

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,5 +1187,45 @@
11871187
"daysBetweenViewsLabel": "الأيام بين المشاهدات",
11881188
"@daysBetweenViewsLabel": {
11891189
"description": "تسمية حقل الأيام بين المشاهدات"
1190+
},
1191+
"daysBetweenViewsDescription": "الحد الأدنى لعدد الأيام التي يجب أن تمر قبل أن يمكن عرض هذه الزينة مرة أخرى لمستخدم بهذا الدور المحدد.",
1192+
"@daysBetweenViewsDescription": {
1193+
"description": "وصف حقل الأيام بين المشاهدات لزينة الموجز"
1194+
},
1195+
"feedDecoratorTypeLinkAccount": "ربط الحساب",
1196+
"@feedDecoratorTypeLinkAccount": {
1197+
"description": "الاسم المترجم لـ FeedDecoratorType.linkAccount"
1198+
},
1199+
"feedDecoratorTypeUpgrade": "الترقية إلى مميز",
1200+
"@feedDecoratorTypeUpgrade": {
1201+
"description": "الاسم المترجم لـ FeedDecoratorType.upgrade"
1202+
},
1203+
"feedDecoratorTypeRateApp": "تقييم التطبيق",
1204+
"@feedDecoratorTypeRateApp": {
1205+
"description": "الاسم المترجم لـ FeedDecoratorType.rateApp"
1206+
},
1207+
"feedDecoratorTypeEnableNotifications": "تفعيل الإشعارات",
1208+
"@feedDecoratorTypeEnableNotifications": {
1209+
"description": "الاسم المترجم لـ FeedDecoratorType.enableNotifications"
1210+
},
1211+
"feedDecoratorTypeSuggestedTopics": "مواضيع مقترحة",
1212+
"@feedDecoratorTypeSuggestedTopics": {
1213+
"description": "الاسم المترجم لـ FeedDecoratorType.suggestedTopics"
1214+
},
1215+
"feedDecoratorTypeSuggestedSources": "مصادر مقترحة",
1216+
"@feedDecoratorTypeSuggestedSources": {
1217+
"description": "الاسم المترجم لـ FeedDecoratorType.suggestedSources"
1218+
},
1219+
"guestUserRole": "مستخدم ضيف",
1220+
"@guestUserRole": {
1221+
"description": "الاسم المترجم لـ AppUserRole.guestUser"
1222+
},
1223+
"standardUserRole": "مستخدم عادي",
1224+
"@standardUserRole": {
1225+
"description": "الاسم المترجم لـ AppUserRole.standardUser"
1226+
},
1227+
"premiumUserRole": "مستخدم مميز",
1228+
"@premiumUserRole": {
1229+
"description": "الاسم المترجم لـ AppUserRole.premiumUser"
11901230
}
11911231
}

lib/l10n/arb/app_en.arb

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,5 +1182,45 @@
11821182
"daysBetweenViewsLabel": "Days Between Views",
11831183
"@daysBetweenViewsLabel": {
11841184
"description": "Label for days between views input"
1185+
},
1186+
"daysBetweenViewsDescription": "Minimum number of days that must pass before this decorator can be shown again to a user with this specific role.",
1187+
"@daysBetweenViewsDescription": {
1188+
"description": "Description for days between views input for feed decorators"
1189+
},
1190+
"feedDecoratorTypeLinkAccount": "Link Account",
1191+
"@feedDecoratorTypeLinkAccount": {
1192+
"description": "Localized name for FeedDecoratorType.linkAccount"
1193+
},
1194+
"feedDecoratorTypeUpgrade": "Upgrade to Premium",
1195+
"@feedDecoratorTypeUpgrade": {
1196+
"description": "Localized name for FeedDecoratorType.upgrade"
1197+
},
1198+
"feedDecoratorTypeRateApp": "Rate App",
1199+
"@feedDecoratorTypeRateApp": {
1200+
"description": "Localized name for FeedDecoratorType.rateApp"
1201+
},
1202+
"feedDecoratorTypeEnableNotifications": "Enable Notifications",
1203+
"@feedDecoratorTypeEnableNotifications": {
1204+
"description": "Localized name for FeedDecoratorType.enableNotifications"
1205+
},
1206+
"feedDecoratorTypeSuggestedTopics": "Suggested Topics",
1207+
"@feedDecoratorTypeSuggestedTopics": {
1208+
"description": "Localized name for FeedDecoratorType.suggestedTopics"
1209+
},
1210+
"feedDecoratorTypeSuggestedSources": "Suggested Sources",
1211+
"@feedDecoratorTypeSuggestedSources": {
1212+
"description": "Localized name for FeedDecoratorType.suggestedSources"
1213+
},
1214+
"guestUserRole": "Guest User",
1215+
"@guestUserRole": {
1216+
"description": "Localized name for AppUserRole.guestUser"
1217+
},
1218+
"standardUserRole": "Standard User",
1219+
"@standardUserRole": {
1220+
"description": "Localized name for AppUserRole.standardUser"
1221+
},
1222+
"premiumUserRole": "Premium User",
1223+
"@premiumUserRole": {
1224+
"description": "Localized name for AppUserRole.premiumUser"
11851225
}
11861226
}

0 commit comments

Comments
 (0)