Skip to content

Commit 50ac9b5

Browse files
committed
build(l10n): sync
1 parent a3fd5d3 commit 50ac9b5

File tree

3 files changed

+64
-38
lines changed

3 files changed

+64
-38
lines changed

lib/l10n/app_localizations.dart

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4073,50 +4073,50 @@ abstract class AppLocalizations {
40734073
/// Confirmation dialog title for publishing an item.
40744074
///
40754075
/// In en, this message translates to:
4076-
/// **'Republish Item?'**
4077-
String get publishItemTitle;
4076+
/// **'Publish {itemType}?'**
4077+
String publishItemTitle(String itemType);
40784078

40794079
/// Confirmation dialog content for publishing an item.
40804080
///
40814081
/// In en, this message translates to:
4082-
/// **'Are you sure you want to republish this item? It will become publicly visible.'**
4083-
String get publishItemContent;
4082+
/// **'Are you sure you want to publish this {itemType}? It will become publicly visible.'**
4083+
String publishItemContent(String itemType);
40844084

40854085
/// Confirmation dialog title for archiving an item.
40864086
///
40874087
/// In en, this message translates to:
4088-
/// **'Archive Item?'**
4089-
String get archiveItemTitle;
4088+
/// **'Archive {itemType}?'**
4089+
String archiveItemTitle(String itemType);
40904090

40914091
/// Confirmation dialog content for archiving an item.
40924092
///
40934093
/// In en, this message translates to:
4094-
/// **'Are you sure you want to archive this item? It will be hidden from public view.'**
4095-
String get archiveItemContent;
4094+
/// **'Are you sure you want to archive this {itemType}? It will be hidden from public view.'**
4095+
String archiveItemContent(String itemType);
40964096

40974097
/// Confirmation dialog title for restoring an item.
40984098
///
40994099
/// In en, this message translates to:
4100-
/// **'Restore Item?'**
4101-
String get restoreItemTitle;
4100+
/// **'Restore {itemType}?'**
4101+
String restoreItemTitle(String itemType);
41024102

41034103
/// Confirmation dialog content for restoring an item.
41044104
///
41054105
/// In en, this message translates to:
4106-
/// **'Are you sure you want to restore this item? It will become active and publicly visible again.'**
4107-
String get restoreItemContent;
4106+
/// **'Are you sure you want to restore this {itemType}? It will become active and publicly visible again.'**
4107+
String restoreItemContent(String itemType);
41084108

41094109
/// Confirmation dialog title for deleting an item.
41104110
///
41114111
/// In en, this message translates to:
4112-
/// **'Delete Item?'**
4113-
String get deleteItemTitle;
4112+
/// **'Delete {itemType}?'**
4113+
String deleteItemTitle(String itemType);
41144114

41154115
/// Confirmation dialog content for deleting an item.
41164116
///
41174117
/// In en, this message translates to:
4118-
/// **'Are you sure you want to delete this item?.'**
4119-
String get deleteItemContent;
4118+
/// **'Are you sure you want to delete this {itemType}? '**
4119+
String deleteItemContent(String itemType);
41204120

41214121
/// Snackbar message shown after an item is deleted, with an undo option.
41224122
///

lib/l10n/app_localizations_ar.dart

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,31 +2185,44 @@ class AppLocalizationsAr extends AppLocalizations {
21852185
'إظهار عناوين الأخبار العاجلة فقط';
21862186

21872187
@override
2188-
String get publishItemTitle => 'نشر العنصر؟';
2188+
String publishItemTitle(String itemType) {
2189+
return 'نشر $itemType؟';
2190+
}
21892191

21902192
@override
2191-
String get publishItemContent =>
2192-
'هل أنت متأكد أنك تريد نشر هذا العنصر؟ سيصبح مرئيًا للعامة.';
2193+
String publishItemContent(String itemType) {
2194+
return 'هل أنت متأكد أنك تريد نشر هذا الـ $itemType؟ سيصبح مرئيًا للعامة.';
2195+
}
21932196

21942197
@override
2195-
String get archiveItemTitle => 'أرشفة العنصر؟';
2198+
String archiveItemTitle(String itemType) {
2199+
return 'أرشفة $itemType؟';
2200+
}
21962201

21972202
@override
2198-
String get archiveItemContent =>
2199-
'هل أنت متأكد أنك تريد أرشفة هذا العنصر؟ سيتم إخفاؤه عن العرض العام.';
2203+
String archiveItemContent(String itemType) {
2204+
return 'هل أنت متأكد أنك تريد أرشفة هذا الـ $itemType؟ سيتم إخفاؤه عن العرض العام.';
2205+
}
22002206

22012207
@override
2202-
String get restoreItemTitle => 'استعادة العنصر؟';
2208+
String restoreItemTitle(String itemType) {
2209+
return 'استعادة $itemType؟';
2210+
}
22032211

22042212
@override
2205-
String get restoreItemContent =>
2206-
'هل أنت متأكد أنك تريد استعادة هذا العنصر؟ سيصبح نشطًا ومرئيًا للعامة مرة أخرى.';
2213+
String restoreItemContent(String itemType) {
2214+
return 'هل أنت متأكد أنك تريد استعادة هذا الـ $itemType؟ سيصبح نشطًا ومرئيًا للعامة مرة أخرى.';
2215+
}
22072216

22082217
@override
2209-
String get deleteItemTitle => 'حذف العنصر؟';
2218+
String deleteItemTitle(String itemType) {
2219+
return 'حذف $itemType؟';
2220+
}
22102221

22112222
@override
2212-
String get deleteItemContent => 'هل أنت متأكد أنك تريد حذف هذا العنصر؟.';
2223+
String deleteItemContent(String itemType) {
2224+
return 'هل أنت متأكد أنك تريد حذف هذا الـ $itemType؟ يمكن التراجع عن هذا الإجراء لفترة قصيرة.';
2225+
}
22132226

22142227
@override
22152228
String itemDeletedSnackbar(String itemType, String itemName) {

lib/l10n/app_localizations_en.dart

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2191,31 +2191,44 @@ class AppLocalizationsEn extends AppLocalizations {
21912191
'Show only breaking news headlines';
21922192

21932193
@override
2194-
String get publishItemTitle => 'Republish Item?';
2194+
String publishItemTitle(String itemType) {
2195+
return 'Publish $itemType?';
2196+
}
21952197

21962198
@override
2197-
String get publishItemContent =>
2198-
'Are you sure you want to republish this item? It will become publicly visible.';
2199+
String publishItemContent(String itemType) {
2200+
return 'Are you sure you want to publish this $itemType? It will become publicly visible.';
2201+
}
21992202

22002203
@override
2201-
String get archiveItemTitle => 'Archive Item?';
2204+
String archiveItemTitle(String itemType) {
2205+
return 'Archive $itemType?';
2206+
}
22022207

22032208
@override
2204-
String get archiveItemContent =>
2205-
'Are you sure you want to archive this item? It will be hidden from public view.';
2209+
String archiveItemContent(String itemType) {
2210+
return 'Are you sure you want to archive this $itemType? It will be hidden from public view.';
2211+
}
22062212

22072213
@override
2208-
String get restoreItemTitle => 'Restore Item?';
2214+
String restoreItemTitle(String itemType) {
2215+
return 'Restore $itemType?';
2216+
}
22092217

22102218
@override
2211-
String get restoreItemContent =>
2212-
'Are you sure you want to restore this item? It will become active and publicly visible again.';
2219+
String restoreItemContent(String itemType) {
2220+
return 'Are you sure you want to restore this $itemType? It will become active and publicly visible again.';
2221+
}
22132222

22142223
@override
2215-
String get deleteItemTitle => 'Delete Item?';
2224+
String deleteItemTitle(String itemType) {
2225+
return 'Delete $itemType?';
2226+
}
22162227

22172228
@override
2218-
String get deleteItemContent => 'Are you sure you want to delete this item?.';
2229+
String deleteItemContent(String itemType) {
2230+
return 'Are you sure you want to delete this $itemType? ';
2231+
}
22192232

22202233
@override
22212234
String itemDeletedSnackbar(String itemType, String itemName) {

0 commit comments

Comments
 (0)