Skip to content

Commit bd4efcb

Browse files
committed
feat(l10n): add demo ad placeholder texts for Arabic and English
- Add Arabic translations for new demo ad placeholder texts - Introduce English texts for native, banner, and interstitial ad placeholders - Include descriptions for full-screen ad placeholder and its text
1 parent efbce2a commit bd4efcb

File tree

5 files changed

+83
-1
lines changed

5 files changed

+83
-1
lines changed

lib/l10n/app_localizations.dart

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1651,6 +1651,30 @@ abstract class AppLocalizations {
16511651
/// In en, this message translates to:
16521652
/// **'Unfollow'**
16531653
String get unfollowButtonText;
1654+
1655+
/// Text displayed in the native ad placeholder in demo mode.
1656+
///
1657+
/// In en, this message translates to:
1658+
/// **'NATIVE AD (DEMO)'**
1659+
String get demoNativeAdText;
1660+
1661+
/// Text displayed in the banner ad placeholder in demo mode.
1662+
///
1663+
/// In en, this message translates to:
1664+
/// **'BANNER AD (DEMO)'**
1665+
String get demoBannerAdText;
1666+
1667+
/// Text displayed in the interstitial ad placeholder in demo mode.
1668+
///
1669+
/// In en, this message translates to:
1670+
/// **'INTERSTITIAL AD (DEMO)'**
1671+
String get demoInterstitialAdText;
1672+
1673+
/// Description text for the interstitial ad placeholder in demo mode.
1674+
///
1675+
/// In en, this message translates to:
1676+
/// **'This is a full-screen advertisement placeholder.'**
1677+
String get demoInterstitialAdDescription;
16541678
}
16551679

16561680
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,4 +860,17 @@ class AppLocalizationsAr extends AppLocalizations {
860860

861861
@override
862862
String get unfollowButtonText => 'إلغاء المتابعة';
863+
864+
@override
865+
String get demoNativeAdText => 'إعلان أصلي (الوضع التجريبي)';
866+
867+
@override
868+
String get demoBannerAdText => 'إعلان بانر (الوضع التجريبي)';
869+
870+
@override
871+
String get demoInterstitialAdText => 'إعلان بيني (الوضع التجريبي)';
872+
873+
@override
874+
String get demoInterstitialAdDescription =>
875+
'هذا عنصر نائب لإعلان بملء الشاشة.';
863876
}

lib/l10n/app_localizations_en.dart

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,4 +863,17 @@ class AppLocalizationsEn extends AppLocalizations {
863863

864864
@override
865865
String get unfollowButtonText => 'Unfollow';
866+
867+
@override
868+
String get demoNativeAdText => 'NATIVE AD (DEMO)';
869+
870+
@override
871+
String get demoBannerAdText => 'BANNER AD (DEMO)';
872+
873+
@override
874+
String get demoInterstitialAdText => 'INTERSTITIAL AD (DEMO)';
875+
876+
@override
877+
String get demoInterstitialAdDescription =>
878+
'This is a full-screen advertisement placeholder.';
866879
}

lib/l10n/arb/app_ar.arb

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,5 +1124,21 @@
11241124
"unfollowButtonText": "إلغاء المتابعة",
11251125
"@unfollowButtonText": {
11261126
"description": "Text for the unfollow button on suggestion items"
1127+
},
1128+
"demoNativeAdText": "إعلان أصلي (الوضع التجريبي)",
1129+
"@demoNativeAdText": {
1130+
"description": "النص المعروض في العنصر النائب للإعلان الأصلي في الوضع التجريبي."
1131+
},
1132+
"demoBannerAdText": "إعلان بانر (الوضع التجريبي)",
1133+
"@demoBannerAdText": {
1134+
"description": "النص المعروض في العنصر النائب لإعلان البانر في الوضع التجريبي."
1135+
},
1136+
"demoInterstitialAdText": "إعلان بيني (الوضع التجريبي)",
1137+
"@demoInterstitialAdText": {
1138+
"description": "النص المعروض في العنصر النائب للإعلان البيني في الوضع التجريبي."
1139+
},
1140+
"demoInterstitialAdDescription": "هذا عنصر نائب لإعلان بملء الشاشة.",
1141+
"@demoInterstitialAdDescription": {
1142+
"description": "نص الوصف للعنصر النائب للإعلان البيني في الوضع التجريبي."
11271143
}
1128-
}
1144+
}

lib/l10n/arb/app_en.arb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,5 +1124,21 @@
11241124
"unfollowButtonText": "Unfollow",
11251125
"@unfollowButtonText": {
11261126
"description": "Text for the unfollow button on suggestion items"
1127+
},
1128+
"demoNativeAdText": "NATIVE AD (DEMO)",
1129+
"@demoNativeAdText": {
1130+
"description": "Text displayed in the native ad placeholder in demo mode."
1131+
},
1132+
"demoBannerAdText": "BANNER AD (DEMO)",
1133+
"@demoBannerAdText": {
1134+
"description": "Text displayed in the banner ad placeholder in demo mode."
1135+
},
1136+
"demoInterstitialAdText": "INTERSTITIAL AD (DEMO)",
1137+
"@demoInterstitialAdText": {
1138+
"description": "Text displayed in the interstitial ad placeholder in demo mode."
1139+
},
1140+
"demoInterstitialAdDescription": "This is a full-screen advertisement placeholder.",
1141+
"@demoInterstitialAdDescription": {
1142+
"description": "Description text for the interstitial ad placeholder in demo mode."
11271143
}
11281144
}

0 commit comments

Comments
 (0)