Corrected function duplication
This commit is contained in:
@@ -93,7 +93,7 @@
|
|||||||
"import_validation_error_message": "Es wurden keine Cabo-Counter Spieldaten gefunden. Bitte stellen Sie sicher, dass es sich um eine gültige Cabo-Counter Exportdatei handelt.",
|
"import_validation_error_message": "Es wurden keine Cabo-Counter Spieldaten gefunden. Bitte stellen Sie sicher, dass es sich um eine gültige Cabo-Counter Exportdatei handelt.",
|
||||||
"import_format_error_title": "Falsches Format",
|
"import_format_error_title": "Falsches Format",
|
||||||
"import_format_error_message": "Die Datei ist kein gültiges JSON-Format oder enthält ungültige Daten.",
|
"import_format_error_message": "Die Datei ist kein gültiges JSON-Format oder enthält ungültige Daten.",
|
||||||
"import_generic_error_title": "Import fehlgeschlagen",
|
"import_generic_error_title": "Import fehlgeschlagen",
|
||||||
"import_generic_error_message": "Der Import ist fehlgeschlagen.",
|
"import_generic_error_message": "Der Import ist fehlgeschlagen.",
|
||||||
|
|
||||||
"export_error_title": "Fehler",
|
"export_error_title": "Fehler",
|
||||||
|
|||||||
@@ -98,6 +98,7 @@
|
|||||||
|
|
||||||
"export_error_title": "Export failed",
|
"export_error_title": "Export failed",
|
||||||
"export_error_message": "Could not export file",
|
"export_error_message": "Could not export file",
|
||||||
|
|
||||||
"error_found": "Found a bug?",
|
"error_found": "Found a bug?",
|
||||||
"create_issue": "Create Issue",
|
"create_issue": "Create Issue",
|
||||||
"wiki": "Wiki",
|
"wiki": "Wiki",
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ class _SettingsViewState extends State<SettingsView> {
|
|||||||
CustomFormRow(
|
CustomFormRow(
|
||||||
prefixText: AppLocalizations.of(context).export_data,
|
prefixText: AppLocalizations.of(context).export_data,
|
||||||
prefixIcon: CupertinoIcons.square_arrow_up,
|
prefixIcon: CupertinoIcons.square_arrow_up,
|
||||||
onPressed: () => LocalStorageService.importJsonFile(),
|
onPressed: () => LocalStorageService.exportGameData(),
|
||||||
suffixWidget: const CupertinoListTileChevron(),
|
suffixWidget: const CupertinoListTileChevron(),
|
||||||
),
|
),
|
||||||
])),
|
])),
|
||||||
|
|||||||
Reference in New Issue
Block a user