feat: Migrated strings, and translations to native flutter l10n plugin

This commit is contained in:
Anton Stubenbord
2023-02-17 00:00:13 +01:00
parent 7b55a96164
commit 14ab604118
90 changed files with 1661 additions and 683 deletions

View File

@@ -4,7 +4,7 @@ import 'package:flutter/material.dart';
import 'package:paperless_api/paperless_api.dart';
import 'package:paperless_mobile/core/service/github_issue_service.dart';
import 'package:paperless_mobile/core/translation/error_code_localization_mapper.dart';
import 'package:paperless_mobile/generated/l10n.dart';
import 'package:paperless_mobile/generated/l10n/app_localizations.dart';
class SnackBarActionConfig {
final String label;
@@ -68,7 +68,7 @@ void showGenericError(
context,
error.toString(),
action: SnackBarActionConfig(
label: S.of(context).report,
label: S.of(context)!.report,
onPressed: () => GithubIssueService.createIssueFromError(
context,
stackTrace: stackTrace,