Skip to content

Commit 3513863

Browse files
committed
feat(l10n): add confirmation message for dismissed cards
- Add new localization entries for both Arabic and English - Introduce "decoratorDismissedConfirmation" message - Provide description for translators to ensure correct context
1 parent f9061d8 commit 3513863

File tree

5 files changed

+20
-0
lines changed

5 files changed

+20
-0
lines changed

lib/l10n/app_localizations.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2191,6 +2191,12 @@ abstract class AppLocalizations {
21912191
/// In en, this message translates to:
21922192
/// **'Others'**
21932193
String get sourceTypeOthers;
2194+
2195+
/// Confirmation message shown in place of a feed decorator after it has been dismissed by the user.
2196+
///
2197+
/// In en, this message translates to:
2198+
/// **'This card has been dismissed.'**
2199+
String get decoratorDismissedConfirmation;
21942200
}
21952201

21962202
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,4 +1148,7 @@ class AppLocalizationsAr extends AppLocalizations {
11481148

11491149
@override
11501150
String get sourceTypeOthers => 'أخرى';
1151+
1152+
@override
1153+
String get decoratorDismissedConfirmation => 'تم تجاهل هذه البطاقة.';
11511154
}

lib/l10n/app_localizations_en.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,4 +1150,7 @@ class AppLocalizationsEn extends AppLocalizations {
11501150

11511151
@override
11521152
String get sourceTypeOthers => 'Others';
1153+
1154+
@override
1155+
String get decoratorDismissedConfirmation => 'This card has been dismissed.';
11531156
}

lib/l10n/arb/app_ar.arb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,5 +1501,9 @@
15011501
"sourceTypeOthers": "أخرى",
15021502
"@sourceTypeOthers": {
15031503
"description": "نوع المصدر بصيغة الجمع لأخرى"
1504+
},
1505+
"decoratorDismissedConfirmation": "تم تجاهل هذه البطاقة.",
1506+
"@decoratorDismissedConfirmation": {
1507+
"description": "رسالة تأكيد تظهر بدلاً من مزين الخلاصة بعد أن يتجاهله المستخدم."
15041508
}
15051509
}

lib/l10n/arb/app_en.arb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,5 +1501,9 @@
15011501
"sourceTypeOthers": "Others",
15021502
"@sourceTypeOthers": {
15031503
"description": "Plural source type for Other"
1504+
},
1505+
"decoratorDismissedConfirmation": "This card has been dismissed.",
1506+
"@decoratorDismissedConfirmation": {
1507+
"description": "Confirmation message shown in place of a feed decorator after it has been dismissed by the user."
15041508
}
15051509
}

0 commit comments

Comments
 (0)