Skip to content

Commit 2c84455

Browse files
committed
feat(l10n): add translations for new in-article ad slot types
- Added Arabic and English translations for in-article ad slot types - New slot types include: - Below the main image of the article - Above the 'Continue Reading' button - Below the 'Continue Reading' button - Updated arb files with new translations
1 parent ccf5ea1 commit 2c84455

File tree

5 files changed

+67
-1
lines changed

5 files changed

+67
-1
lines changed

lib/l10n/app_localizations.dart

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2107,6 +2107,24 @@ abstract class AppLocalizations {
21072107
/// In en, this message translates to:
21082108
/// **'The AdMob unit ID for banner ads within articles.'**
21092109
String get inArticleBannerAdIdDescription;
2110+
2111+
/// الاسم المترجم لـ InArticleAdSlotType.belowMainArticleImage
2112+
///
2113+
/// In en, this message translates to:
2114+
/// **'Below the main image of the article'**
2115+
String get inArticleAdSlotTypeBelowMainArticleImage;
2116+
2117+
/// الاسم المترجم لـ InArticleAdSlotType.aboveArticleContinueReadingButton
2118+
///
2119+
/// In en, this message translates to:
2120+
/// **'Above the \'Continue Reading\' button'**
2121+
String get inArticleAdSlotTypeAboveArticleContinueReadingButton;
2122+
2123+
/// الاسم المترجم لـ InArticleAdSlotType.belowArticleContinueReadingButton
2124+
///
2125+
/// In en, this message translates to:
2126+
/// **'Below the \'Continue Reading\' button'**
2127+
String get inArticleAdSlotTypeBelowArticleContinueReadingButton;
21102128
}
21112129

21122130
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,4 +1122,16 @@ class AppLocalizationsAr extends AppLocalizations {
11221122
@override
11231123
String get inArticleBannerAdIdDescription =>
11241124
'معرف وحدة AdMob لإعلانات البانر داخل المقالات.';
1125+
1126+
@override
1127+
String get inArticleAdSlotTypeBelowMainArticleImage =>
1128+
'أسفل الصورة الرئيسية للمقال';
1129+
1130+
@override
1131+
String get inArticleAdSlotTypeAboveArticleContinueReadingButton =>
1132+
'فوق زر \'متابعة القراءة\'';
1133+
1134+
@override
1135+
String get inArticleAdSlotTypeBelowArticleContinueReadingButton =>
1136+
'أسفل زر \'متابعة القراءة\'';
11251137
}

lib/l10n/app_localizations_en.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,4 +1120,16 @@ class AppLocalizationsEn extends AppLocalizations {
11201120
@override
11211121
String get inArticleBannerAdIdDescription =>
11221122
'The AdMob unit ID for banner ads within articles.';
1123+
1124+
@override
1125+
String get inArticleAdSlotTypeBelowMainArticleImage =>
1126+
'Below the main image of the article';
1127+
1128+
@override
1129+
String get inArticleAdSlotTypeAboveArticleContinueReadingButton =>
1130+
'Above the \'Continue Reading\' button';
1131+
1132+
@override
1133+
String get inArticleAdSlotTypeBelowArticleContinueReadingButton =>
1134+
'Below the \'Continue Reading\' button';
11231135
}

lib/l10n/arb/app_ar.arb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,5 +1391,17 @@
13911391
"inArticleBannerAdIdDescription": "معرف وحدة AdMob لإعلانات البانر داخل المقالات.",
13921392
"@inArticleBannerAdIdDescription": {
13931393
"description": "وصف حقل إدخال معرف إعلان البانر داخل المقال"
1394+
},
1395+
"inArticleAdSlotTypeBelowMainArticleImage": "أسفل الصورة الرئيسية للمقال",
1396+
"@inArticleAdSlotTypeBelowMainArticleImage": {
1397+
"description": "الاسم المترجم لـ InArticleAdSlotType.belowMainArticleImage"
1398+
},
1399+
"inArticleAdSlotTypeAboveArticleContinueReadingButton": "فوق زر 'متابعة القراءة'",
1400+
"@inArticleAdSlotTypeAboveArticleContinueReadingButton": {
1401+
"description": "الاسم المترجم لـ InArticleAdSlotType.aboveArticleContinueReadingButton"
1402+
},
1403+
"inArticleAdSlotTypeBelowArticleContinueReadingButton": "أسفل زر 'متابعة القراءة'",
1404+
"@inArticleAdSlotTypeBelowArticleContinueReadingButton": {
1405+
"description": "الاسم المترجم لـ InArticleAdSlotType.belowArticleContinueReadingButton"
13941406
}
13951407
}

lib/l10n/arb/app_en.arb

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1387,5 +1387,17 @@
13871387
"inArticleBannerAdIdDescription": "The AdMob unit ID for banner ads within articles.",
13881388
"@inArticleBannerAdIdDescription": {
13891389
"description": "Description for the In-Article Banner Ad ID input field"
1390+
},
1391+
"inArticleAdSlotTypeBelowMainArticleImage": "Below the main image of the article",
1392+
"@inArticleAdSlotTypeBelowMainArticleImage": {
1393+
"description": "الاسم المترجم لـ InArticleAdSlotType.belowMainArticleImage"
1394+
},
1395+
"inArticleAdSlotTypeAboveArticleContinueReadingButton": "Above the 'Continue Reading' button",
1396+
"@inArticleAdSlotTypeAboveArticleContinueReadingButton": {
1397+
"description": "الاسم المترجم لـ InArticleAdSlotType.aboveArticleContinueReadingButton"
1398+
},
1399+
"inArticleAdSlotTypeBelowArticleContinueReadingButton": "Below the 'Continue Reading' button",
1400+
"@inArticleAdSlotTypeBelowArticleContinueReadingButton": {
1401+
"description": "الاسم المترجم لـ InArticleAdSlotType.belowArticleContinueReadingButton"
13901402
}
1391-
}
1403+
}

0 commit comments

Comments
 (0)