Skip to content

Commit 5bcf208

Browse files
committed
refactor(l10n): improve community management localization
- Update translations for community management-related strings - Remove redundant entries for community management label - Add new localized strings for navigation items in content, user, and community management
1 parent b7660d9 commit 5bcf208

File tree

5 files changed

+80
-20
lines changed

5 files changed

+80
-20
lines changed

lib/l10n/app_localizations.dart

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3344,12 +3344,6 @@ abstract class AppLocalizations {
33443344
/// **'Globally activates or deactivates all community-related functionality, including engagement and reporting.'**
33453345
String get enableCommunityFeaturesDescription;
33463346

3347-
/// Label for the community management navigation item
3348-
///
3349-
/// In en, this message translates to:
3350-
/// **'Community'**
3351-
String get communityManagement;
3352-
33533347
/// Description for the Community Management page
33543348
///
33553349
/// In en, this message translates to:
@@ -3949,6 +3943,30 @@ abstract class AppLocalizations {
39493943
/// In en, this message translates to:
39503944
/// **'Comment Details'**
39513945
String get commentDetails;
3946+
3947+
/// Label for the Community Management page title and navigation.
3948+
///
3949+
/// In en, this message translates to:
3950+
/// **'Community Management'**
3951+
String get communityManagement;
3952+
3953+
/// Short navigation label for Content Management.
3954+
///
3955+
/// In en, this message translates to:
3956+
/// **'Content'**
3957+
String get navContent;
3958+
3959+
/// Short navigation label for User Management.
3960+
///
3961+
/// In en, this message translates to:
3962+
/// **'Users'**
3963+
String get navUsers;
3964+
3965+
/// Short navigation label for Community Management.
3966+
///
3967+
/// In en, this message translates to:
3968+
/// **'Community'**
3969+
String get navCommunity;
39523970
}
39533971

39543972
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1803,9 +1803,6 @@ class AppLocalizationsAr extends AppLocalizations {
18031803
String get enableCommunityFeaturesDescription =>
18041804
'ينشط أو يعطل عالميًا جميع الوظائف المتعلقة بالمجتمع، بما في ذلك المشاركة والإبلاغ.';
18051805

1806-
@override
1807-
String get communityManagement => 'المجتمع';
1808-
18091806
@override
18101807
String get communityManagementPageDescription =>
18111808
'إدارة المحتوى الذي ينشئه المستخدمون بما في ذلك التفاعلات (ردود الفعل والتعليقات) وتبليغات المحتوى ومراجعات التطبيق.';
@@ -2115,4 +2112,16 @@ class AppLocalizationsAr extends AppLocalizations {
21152112

21162113
@override
21172114
String get commentDetails => 'تفاصيل التعليق';
2115+
2116+
@override
2117+
String get communityManagement => 'إدارة المجتمع';
2118+
2119+
@override
2120+
String get navContent => 'المحتوى';
2121+
2122+
@override
2123+
String get navUsers => 'المستخدمون';
2124+
2125+
@override
2126+
String get navCommunity => 'المجتمع';
21182127
}

lib/l10n/app_localizations_en.dart

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,9 +1808,6 @@ class AppLocalizationsEn extends AppLocalizations {
18081808
String get enableCommunityFeaturesDescription =>
18091809
'Globally activates or deactivates all community-related functionality, including engagement and reporting.';
18101810

1811-
@override
1812-
String get communityManagement => 'Community';
1813-
18141811
@override
18151812
String get communityManagementPageDescription =>
18161813
'Manage user-generated content including engagements (reactions and comments), content reports, and app reviews.';
@@ -2121,4 +2118,16 @@ class AppLocalizationsEn extends AppLocalizations {
21212118

21222119
@override
21232120
String get commentDetails => 'Comment Details';
2121+
2122+
@override
2123+
String get communityManagement => 'Community Management';
2124+
2125+
@override
2126+
String get navContent => 'Content';
2127+
2128+
@override
2129+
String get navUsers => 'Users';
2130+
2131+
@override
2132+
String get navCommunity => 'Community';
21242133
}

lib/l10n/arb/app_ar.arb

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2250,10 +2250,6 @@
22502250
"@enableCommunityFeaturesDescription": {
22512251
"description": "وصف المفتاح الرئيسي لتفعيل جميع ميزات المجتمع."
22522252
},
2253-
"communityManagement": "المجتمع",
2254-
"@communityManagement": {
2255-
"description": "تسمية عنصر التنقل لإدارة المجتمع"
2256-
},
22572253
"communityManagementPageDescription": "إدارة المحتوى الذي ينشئه المستخدمون بما في ذلك التفاعلات (ردود الفعل والتعليقات) وتبليغات المحتوى ومراجعات التطبيق.",
22582254
"@communityManagementPageDescription": {
22592255
"description": "وصف صفحة إدارة المجتمع"
@@ -2666,5 +2662,21 @@
26662662
"commentDetails": "تفاصيل التعليق",
26672663
"@commentDetails": {
26682664
"description": "عنوان مربع الحوار الذي يعرض تفاصيل تعليق مقدم من المستخدم."
2665+
},
2666+
"communityManagement": "إدارة المجتمع",
2667+
"@communityManagement": {
2668+
"description": "تسمية لعنوان صفحة إدارة المجتمع والتنقل."
2669+
},
2670+
"navContent": "المحتوى",
2671+
"@navContent": {
2672+
"description": "تسمية تنقل قصيرة لإدارة المحتوى."
2673+
},
2674+
"navUsers": "المستخدمون",
2675+
"@navUsers": {
2676+
"description": "تسمية تنقل قصيرة لإدارة المستخدمين."
2677+
},
2678+
"navCommunity": "المجتمع",
2679+
"@navCommunity": {
2680+
"description": "تسمية تنقل قصيرة لإدارة المجتمع."
26692681
}
26702682
}

lib/l10n/arb/app_en.arb

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2246,10 +2246,6 @@
22462246
"@enableCommunityFeaturesDescription": {
22472247
"description": "Description for the master switch to enable all community features."
22482248
},
2249-
"communityManagement": "Community",
2250-
"@communityManagement": {
2251-
"description": "Label for the community management navigation item"
2252-
},
22532249
"communityManagementPageDescription": "Manage user-generated content including engagements (reactions and comments), content reports, and app reviews.",
22542250
"@communityManagementPageDescription": {
22552251
"description": "Description for the Community Management page"
@@ -2662,5 +2658,21 @@
26622658
"commentDetails": "Comment Details",
26632659
"@commentDetails": {
26642660
"description": "Title for the dialog showing the details of a user-submitted comment."
2661+
},
2662+
"communityManagement": "Community Management",
2663+
"@communityManagement": {
2664+
"description": "Label for the Community Management page title and navigation."
2665+
},
2666+
"navContent": "Content",
2667+
"@navContent": {
2668+
"description": "Short navigation label for Content Management."
2669+
},
2670+
"navUsers": "Users",
2671+
"@navUsers": {
2672+
"description": "Short navigation label for User Management."
2673+
},
2674+
"navCommunity": "Community",
2675+
"@navCommunity": {
2676+
"description": "Short navigation label for Community Management."
26652677
}
26662678
}

0 commit comments

Comments
 (0)