Skip to content

Commit 45fbf12

Browse files
committed
feat(l10n): add translations for local ads management
- Add Arabic and English translations for new local ads management features - Include translations for ad title, management page title, edit local ads tooltip, and copy ID tooltip - Remove trailing whitespace in app_ar.arb file
1 parent 01b01f4 commit 45fbf12

File tree

5 files changed

+81
-2
lines changed

5 files changed

+81
-2
lines changed

lib/l10n/app_localizations.dart

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2293,6 +2293,30 @@ abstract class AppLocalizations {
22932293
/// In en, this message translates to:
22942294
/// **'ID \'{id}\' copied to clipboard.'**
22952295
String idCopiedToClipboard(String id);
2296+
2297+
/// Label for the ad title input field.
2298+
///
2299+
/// In en, this message translates to:
2300+
/// **'Ad Title'**
2301+
String get adTitle;
2302+
2303+
/// Title for the local ads management page.
2304+
///
2305+
/// In en, this message translates to:
2306+
/// **'Local Ads Management'**
2307+
String get localAdsManagementTitle;
2308+
2309+
/// Tooltip for the edit local ads button.
2310+
///
2311+
/// In en, this message translates to:
2312+
/// **'Edit Local Ads'**
2313+
String get editLocalAds;
2314+
2315+
/// Tooltip for the copy ID button.
2316+
///
2317+
/// In en, this message translates to:
2318+
/// **'Copy ID'**
2319+
String get copyId;
22962320
}
22972321

22982322
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,4 +1227,16 @@ class AppLocalizationsAr extends AppLocalizations {
12271227
String idCopiedToClipboard(String id) {
12281228
return 'تم نسخ المعرف \'$id\' إلى الحافظة.';
12291229
}
1230+
1231+
@override
1232+
String get adTitle => 'عنوان الإعلان';
1233+
1234+
@override
1235+
String get localAdsManagementTitle => 'إدارة الإعلانات المحلية';
1236+
1237+
@override
1238+
String get editLocalAds => 'تعديل الإعلانات المحلية';
1239+
1240+
@override
1241+
String get copyId => 'نسخ المعرف';
12301242
}

lib/l10n/app_localizations_en.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,4 +1228,16 @@ class AppLocalizationsEn extends AppLocalizations {
12281228
String idCopiedToClipboard(String id) {
12291229
return 'ID \'$id\' copied to clipboard.';
12301230
}
1231+
1232+
@override
1233+
String get adTitle => 'Ad Title';
1234+
1235+
@override
1236+
String get localAdsManagementTitle => 'Local Ads Management';
1237+
1238+
@override
1239+
String get editLocalAds => 'Edit Local Ads';
1240+
1241+
@override
1242+
String get copyId => 'Copy ID';
12311243
}

lib/l10n/arb/app_ar.arb

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,6 @@
881881
"contentStatusActive": "نشط",
882882
"@contentStatusActive": {
883883
"description": "حالة المحتوى: نشط"
884-
885884
},
886885
"contentStatusArchived": "مؤرشف",
887886
"@contentStatusArchived": {
@@ -1538,5 +1537,21 @@
15381537
"example": "UUID"
15391538
}
15401539
}
1540+
},
1541+
"adTitle": "عنوان الإعلان",
1542+
"@adTitle": {
1543+
"description": "Label for the ad title input field."
1544+
},
1545+
"localAdsManagementTitle": "إدارة الإعلانات المحلية",
1546+
"@localAdsManagementTitle": {
1547+
"description": "Title for the local ads management page."
1548+
},
1549+
"editLocalAds": "تعديل الإعلانات المحلية",
1550+
"@editLocalAds": {
1551+
"description": "Tooltip for the edit local ads button."
1552+
},
1553+
"copyId": "نسخ المعرف",
1554+
"@copyId": {
1555+
"description": "Tooltip for the copy ID button."
15411556
}
15421557
}

lib/l10n/arb/app_en.arb

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,5 +1533,21 @@
15331533
"example": "UUID"
15341534
}
15351535
}
1536+
},
1537+
"adTitle": "Ad Title",
1538+
"@adTitle": {
1539+
"description": "Label for the ad title input field."
1540+
},
1541+
"localAdsManagementTitle": "Local Ads Management",
1542+
"@localAdsManagementTitle": {
1543+
"description": "Title for the local ads management page."
1544+
},
1545+
"editLocalAds": "Edit Local Ads",
1546+
"@editLocalAds": {
1547+
"description": "Tooltip for the edit local ads button."
1548+
},
1549+
"copyId": "Copy ID",
1550+
"@copyId": {
1551+
"description": "Tooltip for the copy ID button."
15361552
}
1537-
}
1553+
}

0 commit comments

Comments
 (0)