feat: Deleting games associated with matches deletes them
This commit is contained in:
@@ -34,6 +34,14 @@
|
||||
"delete": "Löschen",
|
||||
"delete_all_data": "Alle Daten löschen",
|
||||
"delete_game": "Spielvorlage löschen",
|
||||
"delete_game_with_matches_warning": "Wenn du diese Spielvorlage löschst, werden {count, plural, =1{1 Spiel} other{{count} Spiele}} mit dieser Spielvorlage ebenfalls gelöscht.",
|
||||
"@delete_game_with_matches_warning": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"delete_group": "Gruppe löschen",
|
||||
"delete_match": "Spiel löschen",
|
||||
"description": "Beschreibung",
|
||||
|
||||
@@ -389,6 +389,14 @@
|
||||
"delete": "Delete",
|
||||
"delete_all_data": "Delete all data",
|
||||
"delete_game": "Delete Game",
|
||||
"delete_game_with_matches_warning": "If you delete this game template, {count, plural, =1{1 match} other{{count} matches}} using this game template will also be deleted.",
|
||||
"@delete_game_with_matches_warning": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"delete_group": "Delete Group",
|
||||
"delete_match": "Delete Match",
|
||||
"description": "Description",
|
||||
|
||||
@@ -302,6 +302,12 @@ abstract class AppLocalizations {
|
||||
/// **'Delete Game'**
|
||||
String get delete_game;
|
||||
|
||||
/// No description provided for @delete_game_with_matches_warning.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'If you delete this game template, {count, plural, =1{1 match} other{{count} matches}} using this game template will also be deleted.'**
|
||||
String delete_game_with_matches_warning(int count);
|
||||
|
||||
/// Confirmation dialog for deleting a group
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
||||
@@ -114,6 +114,17 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
@override
|
||||
String get delete_game => 'Spielvorlage löschen';
|
||||
|
||||
@override
|
||||
String delete_game_with_matches_warning(int count) {
|
||||
String _temp0 = intl.Intl.pluralLogic(
|
||||
count,
|
||||
locale: localeName,
|
||||
other: '$count Spiele',
|
||||
one: '1 Spiel',
|
||||
);
|
||||
return 'Wenn du diese Spielvorlage löschst, werden $_temp0 mit dieser Spielvorlage ebenfalls gelöscht.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get delete_group => 'Gruppe löschen';
|
||||
|
||||
|
||||
@@ -114,6 +114,17 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
@override
|
||||
String get delete_game => 'Delete Game';
|
||||
|
||||
@override
|
||||
String delete_game_with_matches_warning(int count) {
|
||||
String _temp0 = intl.Intl.pluralLogic(
|
||||
count,
|
||||
locale: localeName,
|
||||
other: '$count matches',
|
||||
one: '1 match',
|
||||
);
|
||||
return 'If you delete this game template, $_temp0 using this game template will also be deleted.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get delete_group => 'Delete Group';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user