Skip to content

Commit 859e335

Browse files
committed
feat(localization): add Arabic translations for save ad dialog
- Add Arabic translations for saveAdTitle and saveAdMessage in app_ar.arb - Add English translations for saveAdTitle and saveAdMessage in app_en.arb
1 parent d550bef commit 859e335

File tree

5 files changed

+41
-0
lines changed

5 files changed

+41
-0
lines changed

lib/l10n/app_localizations.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2815,6 +2815,18 @@ abstract class AppLocalizations {
28152815
/// In en, this message translates to:
28162816
/// **'Copy Ad ID'**
28172817
String get copyIdTooltip;
2818+
2819+
/// Title for the dialog asking to save an ad
2820+
///
2821+
/// In en, this message translates to:
2822+
/// **'Save Ad'**
2823+
String get saveAdTitle;
2824+
2825+
/// Message for the dialog asking to save an ad
2826+
///
2827+
/// In en, this message translates to:
2828+
/// **'Do you want to publish this ad or save it as a draft?'**
2829+
String get saveAdMessage;
28182830
}
28192831

28202832
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,4 +1499,10 @@ class AppLocalizationsAr extends AppLocalizations {
14991499

15001500
@override
15011501
String get copyIdTooltip => 'نسخ معرف الإعلان';
1502+
1503+
@override
1504+
String get saveAdTitle => 'حفظ الإعلان';
1505+
1506+
@override
1507+
String get saveAdMessage => 'هل تريد نشر هذا الإعلان أم حفظه كمسودة؟';
15021508
}

lib/l10n/app_localizations_en.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1504,4 +1504,11 @@ class AppLocalizationsEn extends AppLocalizations {
15041504

15051505
@override
15061506
String get copyIdTooltip => 'Copy Ad ID';
1507+
1508+
@override
1509+
String get saveAdTitle => 'Save Ad';
1510+
1511+
@override
1512+
String get saveAdMessage =>
1513+
'Do you want to publish this ad or save it as a draft?';
15071514
}

lib/l10n/arb/app_ar.arb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,5 +1903,13 @@
19031903
"copyIdTooltip": "نسخ معرف الإعلان",
19041904
"@copyIdTooltip": {
19051905
"description": "Tooltip for the copy ID action button."
1906+
},
1907+
"saveAdTitle": "حفظ الإعلان",
1908+
"@saveAdTitle": {
1909+
"description": "عنوان مربع الحوار الذي يطلب حفظ إعلان"
1910+
},
1911+
"saveAdMessage": "هل تريد نشر هذا الإعلان أم حفظه كمسودة؟",
1912+
"@saveAdMessage": {
1913+
"description": "رسالة مربع الحوار الذي يطلب حفظ إعلان"
19061914
}
19071915
}

lib/l10n/arb/app_en.arb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1899,5 +1899,13 @@
18991899
"copyIdTooltip": "Copy Ad ID",
19001900
"@copyIdTooltip": {
19011901
"description": "Tooltip for the copy ID action button."
1902+
},
1903+
"saveAdTitle": "Save Ad",
1904+
"@saveAdTitle": {
1905+
"description": "Title for the dialog asking to save an ad"
1906+
},
1907+
"saveAdMessage": "Do you want to publish this ad or save it as a draft?",
1908+
"@saveAdMessage": {
1909+
"description": "Message for the dialog asking to save an ad"
19021910
}
19031911
}

0 commit comments

Comments
 (0)