Skip to content

Commit 2c84b51

Browse files
committed
feat(localization): add translations for banner ad shape selection
- Added new translations for banner ad shape selection in app_ar.arb and app_en.arb - Removed unused translations for inArticleAdSlotTypeBelowMainArticleImage - Updated translations for inArticleAdSlotTypeAboveArticleContinueReadingButton
1 parent 14dfe23 commit 2c84b51

File tree

5 files changed

+82
-22
lines changed

5 files changed

+82
-22
lines changed

lib/l10n/app_localizations.dart

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,12 +2084,6 @@ abstract class AppLocalizations {
20842084
/// **'The unit ID for banner ads within articles.'**
20852085
String get inArticleBannerAdIdDescription;
20862086

2087-
/// Localized name for InArticleAdSlotType.belowMainArticleImage
2088-
///
2089-
/// In en, this message translates to:
2090-
/// **'Below the main image of the article'**
2091-
String get inArticleAdSlotTypeBelowMainArticleImage;
2092-
20932087
/// Localized name for InArticleAdSlotType.aboveArticleContinueReadingButton
20942088
///
20952089
/// In en, this message translates to:
@@ -2407,6 +2401,30 @@ abstract class AppLocalizations {
24072401
/// In en, this message translates to:
24082402
/// **'Video'**
24092403
String get videoAdType;
2404+
2405+
/// Title for the Banner Ad Shape Selection section
2406+
///
2407+
/// In en, this message translates to:
2408+
/// **'Banner Ad Shape'**
2409+
String get bannerAdShapeSelectionTitle;
2410+
2411+
/// Description for the Banner Ad Shape Selection section
2412+
///
2413+
/// In en, this message translates to:
2414+
/// **'Select the preferred visual shape for banner ads displayed in articles.'**
2415+
String get bannerAdShapeSelectionDescription;
2416+
2417+
/// Label for the Square banner ad shape option
2418+
///
2419+
/// In en, this message translates to:
2420+
/// **'Square'**
2421+
String get bannerAdShapeSquare;
2422+
2423+
/// Label for the Rectangle banner ad shape option
2424+
///
2425+
/// In en, this message translates to:
2426+
/// **'Rectangle'**
2427+
String get bannerAdShapeRectangle;
24102428
}
24112429

24122430
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,10 +1108,6 @@ class AppLocalizationsAr extends AppLocalizations {
11081108
String get inArticleBannerAdIdDescription =>
11091109
'معرف وحدة إعلانات البانر داخل المقالات.';
11101110

1111-
@override
1112-
String get inArticleAdSlotTypeBelowMainArticleImage =>
1113-
'أسفل الصورة الرئيسية للمقال';
1114-
11151111
@override
11161112
String get inArticleAdSlotTypeAboveArticleContinueReadingButton =>
11171113
'فوق زر \'متابعة القراءة\'';
@@ -1287,4 +1283,17 @@ class AppLocalizationsAr extends AppLocalizations {
12871283

12881284
@override
12891285
String get videoAdType => 'فيديو';
1286+
1287+
@override
1288+
String get bannerAdShapeSelectionTitle => 'شكل إعلان البانر';
1289+
1290+
@override
1291+
String get bannerAdShapeSelectionDescription =>
1292+
'اختر الشكل المرئي المفضل لإعلانات البانر المعروضة في المقالات.';
1293+
1294+
@override
1295+
String get bannerAdShapeSquare => 'مربع';
1296+
1297+
@override
1298+
String get bannerAdShapeRectangle => 'مستطيل';
12901299
}

lib/l10n/app_localizations_en.dart

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,10 +1107,6 @@ class AppLocalizationsEn extends AppLocalizations {
11071107
String get inArticleBannerAdIdDescription =>
11081108
'The unit ID for banner ads within articles.';
11091109

1110-
@override
1111-
String get inArticleAdSlotTypeBelowMainArticleImage =>
1112-
'Below the main image of the article';
1113-
11141110
@override
11151111
String get inArticleAdSlotTypeAboveArticleContinueReadingButton =>
11161112
'Above the \'Continue Reading\' button';
@@ -1289,4 +1285,17 @@ class AppLocalizationsEn extends AppLocalizations {
12891285

12901286
@override
12911287
String get videoAdType => 'Video';
1288+
1289+
@override
1290+
String get bannerAdShapeSelectionTitle => 'Banner Ad Shape';
1291+
1292+
@override
1293+
String get bannerAdShapeSelectionDescription =>
1294+
'Select the preferred visual shape for banner ads displayed in articles.';
1295+
1296+
@override
1297+
String get bannerAdShapeSquare => 'Square';
1298+
1299+
@override
1300+
String get bannerAdShapeRectangle => 'Rectangle';
12921301
}

lib/l10n/arb/app_ar.arb

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,10 +1386,6 @@
13861386
"@inArticleBannerAdIdDescription": {
13871387
"description": "وصف حقل إدخال معرف إعلان البانر داخل المقال"
13881388
},
1389-
"inArticleAdSlotTypeBelowMainArticleImage": "أسفل الصورة الرئيسية للمقال",
1390-
"@inArticleAdSlotTypeBelowMainArticleImage": {
1391-
"description": "الاسم المترجم لـ InArticleAdSlotType.belowMainArticleImage"
1392-
},
13931389
"inArticleAdSlotTypeAboveArticleContinueReadingButton": "فوق زر 'متابعة القراءة'",
13941390
"@inArticleAdSlotTypeAboveArticleContinueReadingButton": {
13951391
"description": "الاسم المترجم لـ InArticleAdSlotType.aboveArticleContinueReadingButton"
@@ -1613,5 +1609,21 @@
16131609
"videoAdType": "فيديو",
16141610
"@videoAdType": {
16151611
"description": "تسمية نوع إعلان الفيديو."
1612+
},
1613+
"bannerAdShapeSelectionTitle": "شكل إعلان البانر",
1614+
"@bannerAdShapeSelectionTitle": {
1615+
"description": "Title for the Banner Ad Shape Selection section"
1616+
},
1617+
"bannerAdShapeSelectionDescription": "اختر الشكل المرئي المفضل لإعلانات البانر المعروضة في المقالات.",
1618+
"@bannerAdShapeSelectionDescription": {
1619+
"description": "Description for the Banner Ad Shape Selection section"
1620+
},
1621+
"bannerAdShapeSquare": "مربع",
1622+
"@bannerAdShapeSquare": {
1623+
"description": "Label for the Square banner ad shape option"
1624+
},
1625+
"bannerAdShapeRectangle": "مستطيل",
1626+
"@bannerAdShapeRectangle": {
1627+
"description": "Label for the Rectangle banner ad shape option"
16161628
}
16171629
}

lib/l10n/arb/app_en.arb

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,10 +1382,6 @@
13821382
"@inArticleBannerAdIdDescription": {
13831383
"description": "Description for the In-Article Banner Ad ID input field"
13841384
},
1385-
"inArticleAdSlotTypeBelowMainArticleImage": "Below the main image of the article",
1386-
"@inArticleAdSlotTypeBelowMainArticleImage": {
1387-
"description": "Localized name for InArticleAdSlotType.belowMainArticleImage"
1388-
},
13891385
"inArticleAdSlotTypeAboveArticleContinueReadingButton": "Above the 'Continue Reading' button",
13901386
"@inArticleAdSlotTypeAboveArticleContinueReadingButton": {
13911387
"description": "Localized name for InArticleAdSlotType.aboveArticleContinueReadingButton"
@@ -1609,5 +1605,21 @@
16091605
"videoAdType": "Video",
16101606
"@videoAdType": {
16111607
"description": "Label for Video Ad Type."
1608+
},
1609+
"bannerAdShapeSelectionTitle": "Banner Ad Shape",
1610+
"@bannerAdShapeSelectionTitle": {
1611+
"description": "Title for the Banner Ad Shape Selection section"
1612+
},
1613+
"bannerAdShapeSelectionDescription": "Select the preferred visual shape for banner ads displayed in articles.",
1614+
"@bannerAdShapeSelectionDescription": {
1615+
"description": "Description for the Banner Ad Shape Selection section"
1616+
},
1617+
"bannerAdShapeSquare": "Square",
1618+
"@bannerAdShapeSquare": {
1619+
"description": "Label for the Square banner ad shape option"
1620+
},
1621+
"bannerAdShapeRectangle": "Rectangle",
1622+
"@bannerAdShapeRectangle": {
1623+
"description": "Label for the Rectangle banner ad shape option"
16121624
}
16131625
}

0 commit comments

Comments
 (0)