Skip to content

Commit 338e3cb

Browse files
committed
feat(l10n): add feed decorators translations and update app status
- Add translations for new "Feed Decorators" section - Remove unnecessary descriptions for force update and Android update URL - Update translation for "appStatusOperational" to "يعاري" - Add new translations for undo functionality and related settings
1 parent e2d48b7 commit 338e3cb

File tree

5 files changed

+160
-22
lines changed

5 files changed

+160
-22
lines changed

lib/l10n/app_localizations.dart

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,18 @@ abstract class AppLocalizations {
314314
/// **'Configure how often to inject action widgets (e.g., \'Rate App\') into the feed.'**
315315
String get feedActionsDescription;
316316

317+
/// Title for the Feed Decorators section
318+
///
319+
/// In en, this message translates to:
320+
/// **'Feed Decorators'**
321+
String get feedDecoratorsTitle;
322+
323+
/// Description for the Feed Decorators section
324+
///
325+
/// In en, this message translates to:
326+
/// **'Configure how content is decorated and presented in the feed for different user roles.'**
327+
String get feedDecoratorsDescription;
328+
317329
/// Title for the Advertisement Settings section
318330
///
319331
/// In en, this message translates to:
@@ -344,10 +356,10 @@ abstract class AppLocalizations {
344356
/// **'Force App Update'**
345357
String get forceUpdateTitle;
346358

347-
/// Description for Force Update Configuration section
359+
/// Description for the Force App Update section
348360
///
349361
/// In en, this message translates to:
350-
/// **'These settings control app version enforcement. Users on versions below the minimum allowed will be forced to update.'**
362+
/// **'Configure mandatory app updates for users.'**
351363
String get forceUpdateDescription;
352364

353365
/// Tab title for Force Update
@@ -1760,11 +1772,41 @@ abstract class AppLocalizations {
17601772
/// **'Deleted \'\'{title}\'\'.'**
17611773
String headlineDeleted(String title);
17621774

1763-
/// No description provided for @undo.
1775+
/// Label for undo button
17641776
///
17651777
/// In en, this message translates to:
17661778
/// **'Undo'**
17671779
String get undo;
1780+
1781+
/// Label for enabled switch
1782+
///
1783+
/// In en, this message translates to:
1784+
/// **'Enabled'**
1785+
String get enabledLabel;
1786+
1787+
/// Label for items to display input
1788+
///
1789+
/// In en, this message translates to:
1790+
/// **'Items to Display'**
1791+
String get itemsToDisplayLabel;
1792+
1793+
/// Description for items to display input
1794+
///
1795+
/// In en, this message translates to:
1796+
/// **'Number of items to display in this decorator.'**
1797+
String get itemsToDisplayDescription;
1798+
1799+
/// Title for role specific settings section
1800+
///
1801+
/// In en, this message translates to:
1802+
/// **'Role Specific Settings'**
1803+
String get roleSpecificSettingsTitle;
1804+
1805+
/// Label for days between views input
1806+
///
1807+
/// In en, this message translates to:
1808+
/// **'Days Between Views'**
1809+
String get daysBetweenViewsLabel;
17681810
}
17691811

17701812
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,13 @@ class AppLocalizationsAr extends AppLocalizations {
131131
String get feedActionsDescription =>
132132
'تكوين عدد مرات إدراج ودجات الإجراءات (مثل \'تقييم التطبيق\') في الموجز.';
133133

134+
@override
135+
String get feedDecoratorsTitle => 'زينة الموجز';
136+
137+
@override
138+
String get feedDecoratorsDescription =>
139+
'تكوين كيفية تزيين وعرض المحتوى في الموجز لأدوار المستخدمين المختلفة.';
140+
134141
@override
135142
String get adSettingsTitle => 'إعدادات الإعلانات';
136143

@@ -150,7 +157,7 @@ class AppLocalizationsAr extends AppLocalizations {
150157

151158
@override
152159
String get forceUpdateDescription =>
153-
'تتحكم هذه الإعدادات في فرض إصدار التطبيق. سيتم إجبار المستخدمين الذين يستخدمون إصدارات أقل من الحد الأدنى المسموح به على التحديث.';
160+
'تكوين تحديثات التطبيق الإلزامية للمستخدمين.';
154161

155162
@override
156163
String get forceUpdateTab => 'تحديث إجباري';
@@ -782,7 +789,7 @@ class AppLocalizationsAr extends AppLocalizations {
782789
String get appStatusMaintenance => 'صيانة';
783790

784791
@override
785-
String get appStatusOperational => 'تشغيلي';
792+
String get appStatusOperational => 'يعاري';
786793

787794
@override
788795
String get isUnderMaintenanceLabel => 'تحت الصيانة';
@@ -930,4 +937,20 @@ class AppLocalizationsAr extends AppLocalizations {
930937

931938
@override
932939
String get undo => 'تراجع';
940+
941+
@override
942+
String get enabledLabel => 'مفعل';
943+
944+
@override
945+
String get itemsToDisplayLabel => 'العناصر المعروضة';
946+
947+
@override
948+
String get itemsToDisplayDescription =>
949+
'عدد العناصر التي تظهر في هذه الزينة.';
950+
951+
@override
952+
String get roleSpecificSettingsTitle => 'إعدادات مخصصة للدور';
953+
954+
@override
955+
String get daysBetweenViewsLabel => 'الأيام بين المشاهدات';
933956
}

lib/l10n/app_localizations_en.dart

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,13 @@ class AppLocalizationsEn extends AppLocalizations {
130130
String get feedActionsDescription =>
131131
'Configure how often to inject action widgets (e.g., \'Rate App\') into the feed.';
132132

133+
@override
134+
String get feedDecoratorsTitle => 'Feed Decorators';
135+
136+
@override
137+
String get feedDecoratorsDescription =>
138+
'Configure how content is decorated and presented in the feed for different user roles.';
139+
133140
@override
134141
String get adSettingsTitle => 'Advertisement Settings';
135142

@@ -149,7 +156,7 @@ class AppLocalizationsEn extends AppLocalizations {
149156

150157
@override
151158
String get forceUpdateDescription =>
152-
'These settings control app version enforcement. Users on versions below the minimum allowed will be forced to update.';
159+
'Configure mandatory app updates for users.';
153160

154161
@override
155162
String get forceUpdateTab => 'Force Update';
@@ -929,4 +936,20 @@ class AppLocalizationsEn extends AppLocalizations {
929936

930937
@override
931938
String get undo => 'Undo';
939+
940+
@override
941+
String get enabledLabel => 'Enabled';
942+
943+
@override
944+
String get itemsToDisplayLabel => 'Items to Display';
945+
946+
@override
947+
String get itemsToDisplayDescription =>
948+
'Number of items to display in this decorator.';
949+
950+
@override
951+
String get roleSpecificSettingsTitle => 'Role Specific Settings';
952+
953+
@override
954+
String get daysBetweenViewsLabel => 'Days Between Views';
932955
}

lib/l10n/arb/app_ar.arb

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,14 @@
159159
"@feedActionsDescription": {
160160
"description": "وصف قسم إجراءات الموجز"
161161
},
162+
"feedDecoratorsTitle": "زينة الموجز",
163+
"@feedDecoratorsTitle": {
164+
"description": "عنوان قسم زينة الموجز"
165+
},
166+
"feedDecoratorsDescription": "تكوين كيفية تزيين وعرض المحتوى في الموجز لأدوار المستخدمين المختلفة.",
167+
"@feedDecoratorsDescription": {
168+
"description": "وصف قسم زينة الموجز"
169+
},
162170
"adSettingsTitle": "إعدادات الإعلانات",
163171
"@adSettingsTitle": {
164172
"description": "عنوان قسم إعدادات الإعلانات"
@@ -412,10 +420,6 @@
412420
"@forceUpdateConfigurationTitle": {
413421
"description": "عنوان قسم إعدادات التحديث الإجباري"
414422
},
415-
"forceUpdateDescription": "تتحكم هذه الإعدادات في فرض إصدار التطبيق. سيتم إجبار المستخدمين الذين يستخدمون إصدارات أقل من الحد الأدنى المسموح به على التحديث.",
416-
"@forceUpdateDescription": {
417-
"description": "وصف قسم إعدادات التحديث الإجباري"
418-
},
419423
"minAllowedAppVersionLabel": "الحد الأدنى المسموح به لإصدار التطبيق",
420424
"@minAllowedAppVersionLabel": {
421425
"description": "تسمية الحد الأدنى المسموح به لإصدار التطبيق"
@@ -964,9 +968,9 @@
964968
"@appStatusMaintenance": {
965969
"description": "نص حالة التطبيق 'صيانة'"
966970
},
967-
"appStatusOperational": "تشغيلي",
971+
"appStatusOperational": "يعاري",
968972
"@appStatusOperational": {
969-
"description": "نص حالة التطبيق 'تشغيلي'"
973+
"description": "نص حالة التطبيق 'يعاري'"
970974
},
971975
"isUnderMaintenanceLabel": "تحت الصيانة",
972976
"@isUnderMaintenanceLabel": {
@@ -1160,5 +1164,28 @@
11601164
}
11611165
}
11621166
},
1163-
"undo": "تراجع"
1167+
"undo": "تراجع",
1168+
"@undo": {
1169+
"description": "تلميح لزر التراجع"
1170+
},
1171+
"enabledLabel": "مفعل",
1172+
"@enabledLabel": {
1173+
"description": "تسمية مفتاح التفعيل"
1174+
},
1175+
"itemsToDisplayLabel": "العناصر المعروضة",
1176+
"@itemsToDisplayLabel": {
1177+
"description": "تسمية حقل العناصر المعروضة"
1178+
},
1179+
"itemsToDisplayDescription": "عدد العناصر التي تظهر في هذه الزينة.",
1180+
"@itemsToDisplayDescription": {
1181+
"description": "وصف حقل العناصر المعروضة"
1182+
},
1183+
"roleSpecificSettingsTitle": "إعدادات مخصصة للدور",
1184+
"@roleSpecificSettingsTitle": {
1185+
"description": "عنوان قسم الإعدادات المخصصة للدور"
1186+
},
1187+
"daysBetweenViewsLabel": "الأيام بين المشاهدات",
1188+
"@daysBetweenViewsLabel": {
1189+
"description": "تسمية حقل الأيام بين المشاهدات"
1190+
}
11641191
}

lib/l10n/arb/app_en.arb

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,14 @@
159159
"@feedActionsDescription": {
160160
"description": "Description for the Feed Actions section"
161161
},
162+
"feedDecoratorsTitle": "Feed Decorators",
163+
"@feedDecoratorsTitle": {
164+
"description": "Title for the Feed Decorators section"
165+
},
166+
"feedDecoratorsDescription": "Configure how content is decorated and presented in the feed for different user roles.",
167+
"@feedDecoratorsDescription": {
168+
"description": "Description for the Feed Decorators section"
169+
},
162170
"adSettingsTitle": "Advertisement Settings",
163171
"@adSettingsTitle": {
164172
"description": "Title for the Advertisement Settings section"
@@ -412,10 +420,6 @@
412420
"@forceUpdateConfigurationTitle": {
413421
"description": "Title for Force Update Configuration section"
414422
},
415-
"forceUpdateDescription": "These settings control app version enforcement. Users on versions below the minimum allowed will be forced to update.",
416-
"@forceUpdateDescription": {
417-
"description": "Description for Force Update Configuration section"
418-
},
419423
"minAllowedAppVersionLabel": "Minimum Allowed App Version",
420424
"@minAllowedAppVersionLabel": {
421425
"description": "Label for Minimum Allowed App Version"
@@ -996,10 +1000,6 @@
9961000
"@androidUpdateUrlLabel": {
9971001
"description": "Label for Android Update URL"
9981002
},
999-
"androidUpdateUrlDescription": "URL to the app on the Google Play Store.",
1000-
"@androidUpdateUrlDescription": {
1001-
"description": "Description for Android Update URL"
1002-
},
10031003
"followedItemsLimitLabel": "Followed Items Limit",
10041004
"@followedItemsLimitLabel": {
10051005
"description": "Label for Followed Items Limit"
@@ -1159,5 +1159,28 @@
11591159
}
11601160
}
11611161
},
1162-
"undo": "Undo"
1162+
"undo": "Undo",
1163+
"@undo": {
1164+
"description": "Label for undo button"
1165+
},
1166+
"enabledLabel": "Enabled",
1167+
"@enabledLabel": {
1168+
"description": "Label for enabled switch"
1169+
},
1170+
"itemsToDisplayLabel": "Items to Display",
1171+
"@itemsToDisplayLabel": {
1172+
"description": "Label for items to display input"
1173+
},
1174+
"itemsToDisplayDescription": "Number of items to display in this decorator.",
1175+
"@itemsToDisplayDescription": {
1176+
"description": "Description for items to display input"
1177+
},
1178+
"roleSpecificSettingsTitle": "Role Specific Settings",
1179+
"@roleSpecificSettingsTitle": {
1180+
"description": "Title for role specific settings section"
1181+
},
1182+
"daysBetweenViewsLabel": "Days Between Views",
1183+
"@daysBetweenViewsLabel": {
1184+
"description": "Label for days between views input"
1185+
}
11631186
}

0 commit comments

Comments
 (0)