From 4f52778b238f92c29ae8fb58de53ed5393ac24ea Mon Sep 17 00:00:00 2001 From: "konrad.lys@eu.equinix.com" Date: Mon, 29 May 2023 17:30:28 +0200 Subject: [PATCH 01/12] BUGFIX add MATCH_NONE to tag matching options --- .../matching_algorithm_localization_mapper.dart | 4 ++++ lib/features/edit_label/view/label_form.dart | 7 +++++-- lib/l10n/intl_en.arb | 4 ++++ packages/mock_server/pubspec.yaml | 2 +- .../lib/src/models/labels/matching_algorithm.dart | 1 + 5 files changed, 15 insertions(+), 3 deletions(-) diff --git a/lib/core/translation/matching_algorithm_localization_mapper.dart b/lib/core/translation/matching_algorithm_localization_mapper.dart index ae27c60..77c5292 100644 --- a/lib/core/translation/matching_algorithm_localization_mapper.dart +++ b/lib/core/translation/matching_algorithm_localization_mapper.dart @@ -19,6 +19,8 @@ String translateMatchingAlgorithmDescription( return S.of(context)!.documentContainsAWordSimilarToThisWord; case MatchingAlgorithm.auto: return S.of(context)!.learnMatchingAutomatically; + case MatchingAlgorithm.none: + return S.of(context)!.disableMatching; } } @@ -39,5 +41,7 @@ String translateMatchingAlgorithmName( return S.of(context)!.fuzzy; case MatchingAlgorithm.auto: return S.of(context)!.auto; + case MatchingAlgorithm.none: + return S.of(context)!.none; } } diff --git a/lib/features/edit_label/view/label_form.dart b/lib/features/edit_label/view/label_form.dart index 366a436..ed6074f 100644 --- a/lib/features/edit_label/view/label_form.dart +++ b/lib/features/edit_label/view/label_form.dart @@ -103,7 +103,8 @@ class _LabelFormState extends State> { onChanged: (val) { setState(() { _errors = {}; - _enableMatchFormField = val != MatchingAlgorithm.auto.value; + _enableMatchFormField = val != MatchingAlgorithm.auto.value && + val != MatchingAlgorithm.none.value; }); }, items: MatchingAlgorithm.values @@ -147,7 +148,9 @@ class _LabelFormState extends State> { ..._formKey.currentState!.value }; if (mergedJson[Label.matchingAlgorithmKey] == - MatchingAlgorithm.auto.value) { + MatchingAlgorithm.auto.value || + mergedJson[Label.matchingAlgorithmKey] == + MatchingAlgorithm.none.value) { // If auto is selected, the match will be removed. mergedJson[Label.matchKey] = ''; } diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 8984f3b..c775580 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -574,6 +574,10 @@ "@documentMatchesThisRegularExpression": {}, "regularExpression": "Regular Expression", "@regularExpression": {}, + "disableMatching": "Do not tag documents automatically", + "@disableMatching": {}, + "none": "None", + "@none": {}, "anInternetConnectionCouldNotBeEstablished": "An internet connection could not be established.", "@anInternetConnectionCouldNotBeEstablished": {}, "done": "Done", diff --git a/packages/mock_server/pubspec.yaml b/packages/mock_server/pubspec.yaml index 35f9ea4..4963a32 100644 --- a/packages/mock_server/pubspec.yaml +++ b/packages/mock_server/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: logging: ^1.1.1 flutter: sdk: flutter - http: ^1.0.0 + http: ^0.13.4 dev_dependencies: flutter_test: diff --git a/packages/paperless_api/lib/src/models/labels/matching_algorithm.dart b/packages/paperless_api/lib/src/models/labels/matching_algorithm.dart index b4229f9..23f900e 100644 --- a/packages/paperless_api/lib/src/models/labels/matching_algorithm.dart +++ b/packages/paperless_api/lib/src/models/labels/matching_algorithm.dart @@ -2,6 +2,7 @@ import 'package:json_annotation/json_annotation.dart'; @JsonEnum(valueField: 'value') enum MatchingAlgorithm { + none(0, "None: Disable matching"), anyWord(1, "Any: Match one of the following words"), allWords(2, "All: Match all of the following words"), exactMatch(3, "Exact: Match the following string"), From b522f1fef56103f7264877a7315ce2974bcf8fee Mon Sep 17 00:00:00 2001 From: "konrad.lys@eu.equinix.com" Date: Mon, 29 May 2023 17:38:27 +0200 Subject: [PATCH 02/12] BUGFIX make match field in label required --- .../paperless_api/lib/src/models/labels/label_model.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/paperless_api/lib/src/models/labels/label_model.dart b/packages/paperless_api/lib/src/models/labels/label_model.dart index 61d33eb..8ba06c4 100644 --- a/packages/paperless_api/lib/src/models/labels/label_model.dart +++ b/packages/paperless_api/lib/src/models/labels/label_model.dart @@ -15,7 +15,7 @@ abstract class Label extends Equatable implements Comparable { final int? id; final String name; final String? slug; - final String? match; + final String match; final MatchingAlgorithm matchingAlgorithm; final bool? isInsensitive; final int? documentCount; @@ -26,7 +26,7 @@ abstract class Label extends Equatable implements Comparable { this.id, required this.name, this.matchingAlgorithm = MatchingAlgorithm.defaultValue, - this.match, + this.match = "", this.isInsensitive = true, this.documentCount, this.slug, @@ -37,7 +37,7 @@ abstract class Label extends Equatable implements Comparable { Label copyWith({ int? id, String? name, - String? match, + String match, MatchingAlgorithm? matchingAlgorithm, bool? isInsensitive, int? documentCount, From e5878ed3cad52740e527dd53f30bdd222cfbdfcd Mon Sep 17 00:00:00 2001 From: "konrad.lys@eu.equinix.com" Date: Mon, 29 May 2023 17:46:30 +0200 Subject: [PATCH 03/12] BUGFIX make match field in label required --- lib/features/edit_label/view/label_form.dart | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/features/edit_label/view/label_form.dart b/lib/features/edit_label/view/label_form.dart index ed6074f..b77c532 100644 --- a/lib/features/edit_label/view/label_form.dart +++ b/lib/features/edit_label/view/label_form.dart @@ -147,13 +147,6 @@ class _LabelFormState extends State> { ...widget.initialValue?.toJson() ?? {}, ..._formKey.currentState!.value }; - if (mergedJson[Label.matchingAlgorithmKey] == - MatchingAlgorithm.auto.value || - mergedJson[Label.matchingAlgorithmKey] == - MatchingAlgorithm.none.value) { - // If auto is selected, the match will be removed. - mergedJson[Label.matchKey] = ''; - } final parsed = widget.fromJsonT(mergedJson); final createdLabel = await widget.submitButtonConfig.onSubmit(parsed); Navigator.pop(context, createdLabel); From 65eed952cf1e9d80a2fea4a3ee74b1b31a57dae3 Mon Sep 17 00:00:00 2001 From: "konrad.lys@eu.equinix.com" Date: Mon, 29 May 2023 18:36:56 +0200 Subject: [PATCH 04/12] BUGFIX pull crowdin sources --- crowdin.yml | 5 ++++- lib/l10n/intl_en.arb | 30 +++++++++++++++++------------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/crowdin.yml b/crowdin.yml index 648399a..c6c47fc 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -5,4 +5,7 @@ files: [ "type" : "arb", } ] -# Add your credentials here \ No newline at end of file +"project_id": "568557" +"api_token": "382c40ea7995b4778d45971a0d00ce6717e79f280f4d2afa4652a69eeea687035f5668ceb6e7c61c" + +"preserve_hierarchy": true \ No newline at end of file diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index c775580..544946c 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -348,49 +348,49 @@ "@after": {}, "before": "Before", "@before": {}, - "days": "{count, plural, one{day} other{days}}", + "days": "{count, plural, zero{days} one{day} other{days}}", "@days": { "placeholders": { "count": {} } }, - "lastNDays": "{count, plural, one{Yesterday} other{Last {count} days}}", + "lastNDays": "{count, plural, zero{} one{Yesterday} other{Last {count} days}}", "@lastNDays": { "placeholders": { "count": {} } }, - "lastNMonths": "{count, plural, one{Last month} other{Last {count} months}}", + "lastNMonths": "{count, plural, zero{} one{Last month} other{Last {count} months}}", "@lastNMonths": { "placeholders": { "count": {} } }, - "lastNWeeks": "{count, plural, one{Last week} other{Last {count} weeks}}", + "lastNWeeks": "{count, plural, zero{} one{Last week} other{Last {count} weeks}}", "@lastNWeeks": { "placeholders": { "count": {} } }, - "lastNYears": "{count, plural, one{Last year} other{Last {count} years}}", + "lastNYears": "{count, plural, zero{} one{Last year} other{Last {count} years}}", "@lastNYears": { "placeholders": { "count": {} } }, - "months": "{count, plural, one{month} other{months}}", + "months": "{count, plural, zero{} one{month} other{months}}", "@months": { "placeholders": { "count": {} } }, - "weeks": "{count, plural, one{week} other{weeks}}", + "weeks": "{count, plural, zero{} one{week} other{weeks}}", "@weeks": { "placeholders": { "count": {} } }, - "years": "{count, plural, one{year} other{years}}", + "years": "{count, plural, zero{} one{year} other{years}}", "@years": { "placeholders": { "count": {} @@ -574,10 +574,6 @@ "@documentMatchesThisRegularExpression": {}, "regularExpression": "Regular Expression", "@regularExpression": {}, - "disableMatching": "Do not tag documents automatically", - "@disableMatching": {}, - "none": "None", - "@none": {}, "anInternetConnectionCouldNotBeEstablished": "An internet connection could not be established.", "@anInternetConnectionCouldNotBeEstablished": {}, "done": "Done", @@ -592,7 +588,7 @@ "@createsASavedViewBasedOnTheCurrentFilterCriteria": {}, "createViewsToQuicklyFilterYourDocuments": "Create views to quickly filter your documents.", "@createViewsToQuicklyFilterYourDocuments": {}, - "nFiltersSet": "{count, plural, one{{count} filter set} other{{count} filters set}}", + "nFiltersSet": "{count, plural, zero{{count} filters set} one{{count} filter set} other{{count} filters set}}", "@nFiltersSet": { "placeholders": { "count": {} @@ -783,5 +779,13 @@ "alwaysAsk": "Always ask", "@alwaysAsk": { "description": "Option to choose when the app should always ask the user which filetype to use" + }, + "disableMatching": "Do not tag documents automatically", + "@disableMatching": { + "description": "One of the options for automatic tagging of documents" + }, + "none": "None", + "@none": { + "description": "One of available enum values of matching algorithm for tags" } } \ No newline at end of file From 1afc88e1257ef9a699643e1379fe67e04d60188c Mon Sep 17 00:00:00 2001 From: "konrad.lys@eu.equinix.com" Date: Mon, 29 May 2023 18:38:06 +0200 Subject: [PATCH 05/12] BUGFIX pull crowdin sources --- crowdin.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crowdin.yml b/crowdin.yml index c6c47fc..648399a 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -5,7 +5,4 @@ files: [ "type" : "arb", } ] -"project_id": "568557" -"api_token": "382c40ea7995b4778d45971a0d00ce6717e79f280f4d2afa4652a69eeea687035f5668ceb6e7c61c" - -"preserve_hierarchy": true \ No newline at end of file +# Add your credentials here \ No newline at end of file From 1b46990c4b6ece5b1f6fdb489fe7b74d852df81e Mon Sep 17 00:00:00 2001 From: "konrad.lys@eu.equinix.com" Date: Mon, 29 May 2023 19:26:36 +0200 Subject: [PATCH 06/12] BUGFIX add german translation --- lib/l10n/intl_de.arb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/l10n/intl_de.arb b/lib/l10n/intl_de.arb index 66cb563..c67c3a4 100644 --- a/lib/l10n/intl_de.arb +++ b/lib/l10n/intl_de.arb @@ -779,5 +779,13 @@ "alwaysAsk": "Immer fragen", "@alwaysAsk": { "description": "Option to choose when the app should always ask the user which filetype to use" + }, + "disableMatching": "Deaktiviere automatische Zuweisung", + "@disableMatching": { + "description": "One of the options for automatic tagging of documents" + }, + "none": "Keine", + "@none": { + "description": "One of available enum values of matching algorithm for tags" } } \ No newline at end of file From 003ed97ffd8eb1f6e5e9208131b2796534806dc4 Mon Sep 17 00:00:00 2001 From: "konrad.lys@eu.equinix.com" Date: Mon, 29 May 2023 19:27:45 +0200 Subject: [PATCH 07/12] BUGFIX remove unnecessary changes --- lib/l10n/intl_en.arb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 544946c..b63501e 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -348,49 +348,49 @@ "@after": {}, "before": "Before", "@before": {}, - "days": "{count, plural, zero{days} one{day} other{days}}", + "days": "{count, plural, one{day} other{days}}", "@days": { "placeholders": { "count": {} } }, - "lastNDays": "{count, plural, zero{} one{Yesterday} other{Last {count} days}}", + "lastNDays": "{count, plural, one{Yesterday} other{Last {count} days}}", "@lastNDays": { "placeholders": { "count": {} } }, - "lastNMonths": "{count, plural, zero{} one{Last month} other{Last {count} months}}", + "lastNMonths": "{count, plural, one{Last month} other{Last {count} months}}", "@lastNMonths": { "placeholders": { "count": {} } }, - "lastNWeeks": "{count, plural, zero{} one{Last week} other{Last {count} weeks}}", + "lastNWeeks": "{count, plural, one{Last week} other{Last {count} weeks}}", "@lastNWeeks": { "placeholders": { "count": {} } }, - "lastNYears": "{count, plural, zero{} one{Last year} other{Last {count} years}}", + "lastNYears": "{count, plural, one{Last year} other{Last {count} years}}", "@lastNYears": { "placeholders": { "count": {} } }, - "months": "{count, plural, zero{} one{month} other{months}}", + "months": "{count, plural, one{month} other{months}}", "@months": { "placeholders": { "count": {} } }, - "weeks": "{count, plural, zero{} one{week} other{weeks}}", + "weeks": "{count, plural, one{week} other{weeks}}", "@weeks": { "placeholders": { "count": {} } }, - "years": "{count, plural, zero{} one{year} other{years}}", + "years": "{count, plural, one{year} other{years}}", "@years": { "placeholders": { "count": {} From 46d0bc356baf21afa83bbf6b454684549b656713 Mon Sep 17 00:00:00 2001 From: "konrad.lys@eu.equinix.com" Date: Mon, 29 May 2023 19:28:12 +0200 Subject: [PATCH 08/12] BUGFIX remove unnecessary changes --- lib/l10n/intl_en.arb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index b63501e..03b5cfa 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -588,7 +588,7 @@ "@createsASavedViewBasedOnTheCurrentFilterCriteria": {}, "createViewsToQuicklyFilterYourDocuments": "Create views to quickly filter your documents.", "@createViewsToQuicklyFilterYourDocuments": {}, - "nFiltersSet": "{count, plural, zero{{count} filters set} one{{count} filter set} other{{count} filters set}}", + "nFiltersSet": "{count, plural, one{{count} filter set} other{{count} filters set}}", "@nFiltersSet": { "placeholders": { "count": {} From 1b2bf92cfd9e546c070598e87f49b53f3f19cdea Mon Sep 17 00:00:00 2001 From: "konrad.lys@eu.equinix.com" Date: Tue, 30 May 2023 08:04:27 +0200 Subject: [PATCH 09/12] BUGFIX conditional none matching algorithm based on API version --- lib/features/edit_label/view/label_form.dart | 26 ++++++- .../labels/view/pages/labels_page.dart | 74 ++++++------------- packages/mock_server/lib/mock_server.dart | 4 +- .../lib/src/models/labels/label_model.dart | 2 +- 4 files changed, 49 insertions(+), 57 deletions(-) diff --git a/lib/features/edit_label/view/label_form.dart b/lib/features/edit_label/view/label_form.dart index b77c532..00b33c3 100644 --- a/lib/features/edit_label/view/label_form.dart +++ b/lib/features/edit_label/view/label_form.dart @@ -1,10 +1,12 @@ import 'package:flutter/material.dart'; +import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_form_builder/flutter_form_builder.dart'; import 'package:paperless_api/paperless_api.dart'; import 'package:paperless_mobile/core/translation/matching_algorithm_localization_mapper.dart'; import 'package:paperless_mobile/core/type/types.dart'; import 'package:paperless_mobile/extensions/flutter_extensions.dart'; +import 'package:paperless_mobile/features/home/view/model/api_version.dart'; import 'package:paperless_mobile/generated/l10n/app_localizations.dart'; import 'package:paperless_mobile/helpers/message_helpers.dart'; @@ -57,13 +59,17 @@ class _LabelFormState extends State> { @override void initState() { super.initState(); - _enableMatchFormField = (widget.initialValue?.matchingAlgorithm ?? - MatchingAlgorithm.defaultValue) != - MatchingAlgorithm.auto; + var matchingAlgorithm = (widget.initialValue?.matchingAlgorithm ?? + MatchingAlgorithm.defaultValue); + _enableMatchFormField = matchingAlgorithm != MatchingAlgorithm.auto && + matchingAlgorithm != MatchingAlgorithm.none; } @override Widget build(BuildContext context) { + List selectableMatchingAlgorithmValues = + getSelectableMatchingAlgorithmValues( + context.watch().hasMultiUserSupport); return Scaffold( resizeToAvoidBottomInset: false, floatingActionButton: FloatingActionButton.extended( @@ -107,7 +113,7 @@ class _LabelFormState extends State> { val != MatchingAlgorithm.none.value; }); }, - items: MatchingAlgorithm.values + items: selectableMatchingAlgorithmValues .map( (algo) => DropdownMenuItem( child: Text( @@ -140,6 +146,18 @@ class _LabelFormState extends State> { ); } + List getSelectableMatchingAlgorithmValues( + bool hasMultiUserSupport) { + var selectableMatchingAlgorithmValues = MatchingAlgorithm.values; + if (!hasMultiUserSupport) { + selectableMatchingAlgorithmValues = selectableMatchingAlgorithmValues + .where((matchingAlgorithm) => + matchingAlgorithm != MatchingAlgorithm.none) + .toList(); + } + return selectableMatchingAlgorithmValues; + } + void _onSubmit() async { if (_formKey.currentState?.saveAndValidate() ?? false) { try { diff --git a/lib/features/labels/view/pages/labels_page.dart b/lib/features/labels/view/pages/labels_page.dart index 3d385cc..5951f92 100644 --- a/lib/features/labels/view/pages/labels_page.dart +++ b/lib/features/labels/view/pages/labels_page.dart @@ -16,9 +16,11 @@ import 'package:paperless_mobile/features/edit_label/view/impl/edit_corresponden import 'package:paperless_mobile/features/edit_label/view/impl/edit_document_type_page.dart'; import 'package:paperless_mobile/features/edit_label/view/impl/edit_storage_path_page.dart'; import 'package:paperless_mobile/features/edit_label/view/impl/edit_tag_page.dart'; +import 'package:paperless_mobile/features/home/view/model/api_version.dart'; import 'package:paperless_mobile/features/labels/cubit/label_cubit.dart'; import 'package:paperless_mobile/features/labels/view/widgets/label_tab_view.dart'; import 'package:paperless_mobile/generated/l10n/app_localizations.dart'; +import 'package:provider/provider.dart'; class LabelsPage extends StatefulWidget { const LabelsPage({Key? key}) : super(key: key); @@ -257,98 +259,70 @@ class _LabelsPageState extends State with SingleTickerProviderStateM void _openEditCorrespondentPage(Correspondent correspondent) { Navigator.push( context, - MaterialPageRoute( - builder: (_) => RepositoryProvider.value( - value: context.read(), - child: EditCorrespondentPage(correspondent: correspondent), - ), - ), + buildLabelPageRoute(EditCorrespondentPage(correspondent: correspondent)), ); } void _openEditDocumentTypePage(DocumentType docType) { Navigator.push( context, - MaterialPageRoute( - builder: (_) => RepositoryProvider.value( - value: context.read(), - child: EditDocumentTypePage(documentType: docType), - ), - ), + buildLabelPageRoute(EditDocumentTypePage(documentType: docType)), ); } void _openEditTagPage(Tag tag) { Navigator.push( context, - MaterialPageRoute( - builder: (_) => RepositoryProvider.value( - value: context.read(), - child: EditTagPage(tag: tag), - ), - ), + buildLabelPageRoute(EditTagPage(tag: tag)), ); } void _openEditStoragePathPage(StoragePath path) { Navigator.push( context, - MaterialPageRoute( - builder: (_) => RepositoryProvider.value( - value: context.read(), - child: EditStoragePathPage( - storagePath: path, - ), - ), - ), + buildLabelPageRoute(EditStoragePathPage( + storagePath: path, + )), ); } void _openAddCorrespondentPage() { Navigator.push( context, - MaterialPageRoute( - builder: (_) => RepositoryProvider.value( - value: context.read(), - child: const AddCorrespondentPage(), - ), - ), + buildLabelPageRoute(const AddCorrespondentPage()), ); } void _openAddDocumentTypePage() { Navigator.push( context, - MaterialPageRoute( - builder: (_) => RepositoryProvider.value( - value: context.read(), - child: const AddDocumentTypePage(), - ), - ), + buildLabelPageRoute(const AddDocumentTypePage()), ); } void _openAddTagPage() { Navigator.push( context, - MaterialPageRoute( - builder: (_) => RepositoryProvider.value( - value: context.read(), - child: const AddTagPage(), - ), - ), + buildLabelPageRoute(const AddTagPage()), ); } void _openAddStoragePathPage() { Navigator.push( context, - MaterialPageRoute( - builder: (_) => RepositoryProvider.value( - value: context.read(), - child: const AddStoragePathPage(), - ), - ), + buildLabelPageRoute(const AddStoragePathPage()), + ); + } + + MaterialPageRoute buildLabelPageRoute(Widget page) { + return MaterialPageRoute( + builder: (_) => MultiBlocProvider( + providers: [ + Provider.value(value: context.read()), + Provider.value(value: context.read()) + ], + child: page + ) ); } } diff --git a/packages/mock_server/lib/mock_server.dart b/packages/mock_server/lib/mock_server.dart index 8675b92..8805d8f 100644 --- a/packages/mock_server/lib/mock_server.dart +++ b/packages/mock_server/lib/mock_server.dart @@ -108,7 +108,7 @@ class LocalMockApiServer { "name": body?['name'], "color": body?['color'], "text_color": "#000000", - "match": "", + "match": body?['match'], "matching_algorithm": body?['matching_algorithm'], "is_insensitive": body?['is_insensitive'], "is_inbox_tag": false, @@ -133,7 +133,7 @@ class LocalMockApiServer { "name": body?['name'], "color": body?['color'], "text_color": "#000000", - "match": "", + "match": body?['match'], "matching_algorithm": body?['matching_algorithm'], "is_insensitive": body?['is_insensitive'], "is_inbox_tag": false, diff --git a/packages/paperless_api/lib/src/models/labels/label_model.dart b/packages/paperless_api/lib/src/models/labels/label_model.dart index 8ba06c4..ee9c2b8 100644 --- a/packages/paperless_api/lib/src/models/labels/label_model.dart +++ b/packages/paperless_api/lib/src/models/labels/label_model.dart @@ -37,7 +37,7 @@ abstract class Label extends Equatable implements Comparable { Label copyWith({ int? id, String? name, - String match, + String? match, MatchingAlgorithm? matchingAlgorithm, bool? isInsensitive, int? documentCount, From 13e0c4fd3be164cd8058bc3739989985a51cec05 Mon Sep 17 00:00:00 2001 From: "konrad.lys@eu.equinix.com" Date: Wed, 31 May 2023 09:41:15 +0200 Subject: [PATCH 10/12] BUGFIX add polish translations --- lib/l10n/intl_pl.arb | 470 +++++++++++++++++++++++-------------------- 1 file changed, 251 insertions(+), 219 deletions(-) diff --git a/lib/l10n/intl_pl.arb b/lib/l10n/intl_pl.arb index a51ceac..8d9911b 100644 --- a/lib/l10n/intl_pl.arb +++ b/lib/l10n/intl_pl.arb @@ -9,7 +9,7 @@ "@addAnotherAccount": {}, "account": "Konto", "@account": {}, - "addCorrespondent": "New Correspondent", + "addCorrespondent": "Dodaj korespondenta", "@addCorrespondent": { "description": "Title when adding a new correspondent" }, @@ -17,7 +17,7 @@ "@addDocumentType": { "description": "Title when adding a new document type" }, - "addStoragePath": "New Storage Path", + "addStoragePath": "Dodaj ścieżkę zapisu", "@addStoragePath": { "description": "Title when adding a new storage path" }, @@ -43,13 +43,13 @@ "@reportABug": {}, "settings": "Ustawienia", "@settings": {}, - "authenticateOnAppStart": "Authenticate on app start", + "authenticateOnAppStart": "Uwierzytelnij przy starcie aplikacji", "@authenticateOnAppStart": { "description": "Description of the biometric authentication settings tile" }, - "biometricAuthentication": "Biometric authentication", + "biometricAuthentication": "Uwierzytelnianie biometryczne", "@biometricAuthentication": {}, - "authenticateToToggleBiometricAuthentication": "{mode, select, enable{Authenticate to enable biometric authentication} disable{Authenticate to disable biometric authentication} other{}}", + "authenticateToToggleBiometricAuthentication": "{mode, select, enable{Uwierzytelnij, aby włączyć uwierzytelnianie biometryczne} disable{Uwierzytelnij, aby wyłączyć uwierzytelnianie biometryczne} other{}}", "@authenticateToToggleBiometricAuthentication": { "placeholders": { "mode": {} @@ -59,29 +59,29 @@ "@documents": {}, "inbox": "Skrzynka odbiorcza", "@inbox": {}, - "labels": "Labels", + "labels": "Etykiety", "@labels": {}, - "scanner": "Scanner", + "scanner": "Skaner", "@scanner": {}, "startTyping": "Zacznij pisać...", "@startTyping": {}, - "doYouReallyWantToDeleteThisView": "Do you really want to delete this view?", + "doYouReallyWantToDeleteThisView": "Czy na pewno chcesz usunąć ten widok?", "@doYouReallyWantToDeleteThisView": {}, "deleteView": "Usuń widok ", "@deleteView": {}, - "addedAt": "Added at", + "addedAt": "Dodano", "@addedAt": {}, "archiveSerialNumber": "Numer Seryjny Archiwum", "@archiveSerialNumber": {}, "asn": "ASN", "@asn": {}, - "correspondent": "Correspondent", + "correspondent": "Korespondent", "@correspondent": {}, - "createdAt": "Created at", + "createdAt": "Utworzono", "@createdAt": {}, "documentSuccessfullyDeleted": "Dokument pomyślnie usunięty.", "@documentSuccessfullyDeleted": {}, - "assignAsn": "Assign ASN", + "assignAsn": "Przypisz ASN", "@assignAsn": {}, "deleteDocumentTooltip": "Usuń", "@deleteDocumentTooltip": { @@ -95,7 +95,7 @@ "@editDocumentTooltip": { "description": "Tooltip shown for the edit button on details page" }, - "loadFullContent": "Load full content", + "loadFullContent": "Załaduj pełną treść", "@loadFullContent": {}, "noAppToDisplayPDFFilesFound": "Nie znaleziono aplikacji do wyświetlania plików PDF", "@noAppToDisplayPDFFilesFound": {}, @@ -129,17 +129,17 @@ }, "documentType": "Rodzaj dokumentu", "@documentType": {}, - "archivedPdf": "Archived (pdf)", + "archivedPdf": "Zarchiwizowany (pdf)", "@archivedPdf": { "description": "Option to chose when downloading a document" }, - "chooseFiletype": "Choose filetype", + "chooseFiletype": "Wybierz typ pliku", "@chooseFiletype": {}, - "original": "Original", + "original": "Oryginał", "@original": { "description": "Option to chose when downloading a document" }, - "documentSuccessfullyDownloaded": "Document successfully downloaded.", + "documentSuccessfullyDownloaded": "Pobieranie dokumentu udane.", "@documentSuccessfullyDownloaded": {}, "suggestions": "Sugestie: ", "@suggestions": {}, @@ -149,7 +149,7 @@ "@advanced": {}, "apply": "Zastosuj", "@apply": {}, - "extended": "Extended", + "extended": "Rozszerz", "@extended": {}, "titleAndContent": "Tytuł i treść", "@titleAndContent": {}, @@ -157,19 +157,19 @@ "@title": {}, "reset": "Zresetuj", "@reset": {}, - "filterDocuments": "Filter Documents", + "filterDocuments": "Filtrowanie dokumentów", "@filterDocuments": { "description": "Title of the document filter" }, - "originalMD5Checksum": "Original MD5-Checksum", + "originalMD5Checksum": "MD5-Checksum (suma kontrolna) oryginału", "@originalMD5Checksum": {}, "mediaFilename": "Nazwa pliku", "@mediaFilename": {}, - "originalFileSize": "Original File Size", + "originalFileSize": "Rozmiar oryginalnego pliku", "@originalFileSize": {}, - "originalMIMEType": "Original MIME-Type", + "originalMIMEType": "MIME-Type oryginału", "@originalMIMEType": {}, - "modifiedAt": "Modified at", + "modifiedAt": "Zmodyfikowano", "@modifiedAt": {}, "preview": "Podgląd", "@preview": { @@ -177,7 +177,7 @@ }, "scanADocument": "Zeskanuj dokument", "@scanADocument": {}, - "noDocumentsScannedYet": "No documents scanned yet.", + "noDocumentsScannedYet": "Brak zeskanowanych dokumentów.", "@noDocumentsScannedYet": {}, "or": "lub", "@or": { @@ -185,11 +185,11 @@ }, "deleteAllScans": "Usuń wszystkie skany", "@deleteAllScans": {}, - "uploadADocumentFromThisDevice": "Upload a document from this device", + "uploadADocumentFromThisDevice": "Prześlij dokument z tego urządzenia", "@uploadADocumentFromThisDevice": { "description": "Button label on scanner page" }, - "noMatchesFound": "No matches found.", + "noMatchesFound": "Nie znaleziono pasujących elementów.", "@noMatchesFound": { "description": "Displayed when no documents were found in the document search." }, @@ -199,50 +199,50 @@ "@results": { "description": "Label displayed above search results in document search." }, - "searchDocuments": "Search documents", + "searchDocuments": "Szukaj dokumentów", "@searchDocuments": {}, "resetFilter": "Zresetuj filtr", "@resetFilter": {}, - "lastMonth": "Last Month", + "lastMonth": "Ostatni Miesiąc", "@lastMonth": {}, - "last7Days": "Last 7 Days", + "last7Days": "Ostatnie 7 dni", "@last7Days": {}, - "last3Months": "Last 3 Months", + "last3Months": "Ostatnie 3 miesiące", "@last3Months": {}, - "lastYear": "Last Year", + "lastYear": "Ostatni rok", "@lastYear": {}, "search": "Szukaj", "@search": {}, "documentsSuccessfullyDeleted": "Dokument pomyślnie usunięty.", "@documentsSuccessfullyDeleted": {}, - "thereSeemsToBeNothingHere": "There seems to be nothing here...", + "thereSeemsToBeNothingHere": "Wygląda na to, że nic tu nie ma...", "@thereSeemsToBeNothingHere": {}, "oops": "Ups.", "@oops": {}, - "newDocumentAvailable": "New document available!", + "newDocumentAvailable": "Nowy dokument dostępny!", "@newDocumentAvailable": {}, "orderBy": "Sortuj według", "@orderBy": {}, - "thisActionIsIrreversibleDoYouWishToProceedAnyway": "This action is irreversible. Do you wish to proceed anyway?", + "thisActionIsIrreversibleDoYouWishToProceedAnyway": "Ta czynność jest nieodwracalna. Czy mimo to chcesz kontynuować?", "@thisActionIsIrreversibleDoYouWishToProceedAnyway": {}, "confirmDeletion": "Potwierdź usunięcie", "@confirmDeletion": {}, - "areYouSureYouWantToDeleteTheFollowingDocuments": "{count, plural, one{Are you sure you want to delete the following document?} other{Are you sure you want to delete the following documents?}}", + "areYouSureYouWantToDeleteTheFollowingDocuments": "{count,plural, one{Czy na pewno chcesz usunąć ten plik?} few {Czy na pewno chcesz usunąć {count} pliki?} other {Czy na pewno chcesz usunąć {count} plików?}}", "@areYouSureYouWantToDeleteTheFollowingDocuments": { "placeholders": { "count": {} } }, - "countSelected": "{count} selected", + "countSelected": "Wybrano {count}", "@countSelected": { "description": "Displayed in the appbar when at least one document is selected.", "placeholders": { "count": {} } }, - "storagePath": "Storage Path", + "storagePath": "Ścieżka zapisu", "@storagePath": {}, - "prepareDocument": "Prepare document", + "prepareDocument": "Przygotuj dokument", "@prepareDocument": {}, "tags": "Tagi", "@tags": {}, @@ -250,97 +250,97 @@ "@documentSuccessfullyUpdated": {}, "fileName": "Nazwa Pliku", "@fileName": {}, - "synchronizeTitleAndFilename": "Synchronize title and filename", + "synchronizeTitleAndFilename": "Synchronizuj tytuł i nazwę pliku", "@synchronizeTitleAndFilename": {}, "reload": "Odśwież", "@reload": {}, "documentSuccessfullyUploadedProcessing": "Dokument pomyślnie przesłany, przetwarzam...", "@documentSuccessfullyUploadedProcessing": {}, - "deleteLabelWarningText": "This label contains references to other documents. By deleting this label, all references will be removed. Continue?", + "deleteLabelWarningText": "Ta etykieta zawiera odniesienia do innych dokumentów. Usuwając tę etykietę, wszystkie odniesienia zostaną usunięte. Kontynuować?", "@deleteLabelWarningText": {}, - "couldNotAcknowledgeTasks": "Could not acknowledge tasks.", + "couldNotAcknowledgeTasks": "Nie udało się potwierdzić zadań.", "@couldNotAcknowledgeTasks": {}, - "authenticationFailedPleaseTryAgain": "Authentication failed, please try again.", + "authenticationFailedPleaseTryAgain": "Uwierzytelnienie nie powiodło się, spróbuj ponownie.", "@authenticationFailedPleaseTryAgain": {}, - "anErrorOccurredWhileTryingToAutocompleteYourQuery": "An error ocurred while trying to autocomplete your query.", + "anErrorOccurredWhileTryingToAutocompleteYourQuery": "Wystąpił błąd podczas próby automatycznego uzupełniania zapytania.", "@anErrorOccurredWhileTryingToAutocompleteYourQuery": {}, - "biometricAuthenticationFailed": "Biometric authentication failed.", + "biometricAuthenticationFailed": "Uwierzytelnianie biometryczne nie powiodło się.", "@biometricAuthenticationFailed": {}, - "biometricAuthenticationNotSupported": "Biometric authentication not supported on this device.", + "biometricAuthenticationNotSupported": "Uwierzytelnianie biometryczne nie jest obsługiwane na tym urządzeniu.", "@biometricAuthenticationNotSupported": {}, - "couldNotBulkEditDocuments": "Could not bulk edit documents.", + "couldNotBulkEditDocuments": "Nie udało się edytować wielu dokumentów.", "@couldNotBulkEditDocuments": {}, - "couldNotCreateCorrespondent": "Could not create correspondent, please try again.", + "couldNotCreateCorrespondent": "Nie udało się utworzyć korespondenta, spróbuj ponownie.", "@couldNotCreateCorrespondent": {}, - "couldNotLoadCorrespondents": "Could not load correspondents.", + "couldNotLoadCorrespondents": "Nie udało się załadować korespondentów.", "@couldNotLoadCorrespondents": {}, - "couldNotCreateSavedView": "Could not create saved view, please try again.", + "couldNotCreateSavedView": "Nie udało się utworzyć zapisanego widoku, spróbuj ponownie.", "@couldNotCreateSavedView": {}, - "couldNotDeleteSavedView": "Could not delete saved view, please try again", + "couldNotDeleteSavedView": "Nie udało się usunąć zapisanego widoku, spróbuj ponownie", "@couldNotDeleteSavedView": {}, - "youAreCurrentlyOffline": "You are currently offline. Please make sure you are connected to the internet.", + "youAreCurrentlyOffline": "Jesteś obecnie w trybie offline. Upewnij się, że jesteś połączony z Internetem.", "@youAreCurrentlyOffline": {}, - "couldNotAssignArchiveSerialNumber": "Could not assign archive serial number.", + "couldNotAssignArchiveSerialNumber": "Nie udało się przypisać numeru seryjnego archiwum (ASN).", "@couldNotAssignArchiveSerialNumber": {}, - "couldNotDeleteDocument": "Could not delete document, please try again.", + "couldNotDeleteDocument": "Nie udało się usunąć dokumentu, spróbuj ponownie.", "@couldNotDeleteDocument": {}, - "couldNotLoadDocuments": "Could not load documents, please try again.", + "couldNotLoadDocuments": "Nie udało się załadować dokumentów, spróbuj ponownie.", "@couldNotLoadDocuments": {}, - "couldNotLoadDocumentPreview": "Could not load document preview.", + "couldNotLoadDocumentPreview": "Nie udało się załadować podglądu dokumentu.", "@couldNotLoadDocumentPreview": {}, - "couldNotCreateDocument": "Could not create document, please try again.", + "couldNotCreateDocument": "Nie udało się utworzyć dokumentu, spróbuj ponownie.", "@couldNotCreateDocument": {}, - "couldNotLoadDocumentTypes": "Could not load document types, please try again.", + "couldNotLoadDocumentTypes": "Nie udało się załadować typów dokumentów, spróbuj ponownie.", "@couldNotLoadDocumentTypes": {}, - "couldNotUpdateDocument": "Could not update document, please try again.", + "couldNotUpdateDocument": "Nie udało się zmodyfikować dokumentu, spróbuj ponownie.", "@couldNotUpdateDocument": {}, - "couldNotUploadDocument": "Could not upload document, please try again.", + "couldNotUploadDocument": "Nie udało się przesłać dokumentu, spróbuj ponownie.", "@couldNotUploadDocument": {}, - "invalidCertificateOrMissingPassphrase": "Invalid certificate or missing passphrase, please try again", + "invalidCertificateOrMissingPassphrase": "Certyfikat jest nieprawidłowy lub brakuje hasła, spróbuj ponownie", "@invalidCertificateOrMissingPassphrase": {}, - "couldNotLoadSavedViews": "Could not load saved views.", + "couldNotLoadSavedViews": "Nie udało się załadować zapisanych widoków.", "@couldNotLoadSavedViews": {}, - "aClientCertificateWasExpectedButNotSent": "A client certificate was expected but not sent. Please provide a valid client certificate.", + "aClientCertificateWasExpectedButNotSent": "Nie otrzymano oczekiwanego certyfikatu klienta. Proszę podać prawidłowy certyfikat.", "@aClientCertificateWasExpectedButNotSent": {}, - "userIsNotAuthenticated": "User is not authenticated.", + "userIsNotAuthenticated": "Użytkownik nie jest uwierzytelniony.", "@userIsNotAuthenticated": {}, - "requestTimedOut": "The request to the server timed out.", + "requestTimedOut": "Przekroczono limit czasu żądania do serwera.", "@requestTimedOut": {}, - "anErrorOccurredRemovingTheScans": "An error occurred removing the scans.", + "anErrorOccurredRemovingTheScans": "Wystąpił błąd podczas usuwania skanów.", "@anErrorOccurredRemovingTheScans": {}, - "couldNotReachYourPaperlessServer": "Could not reach your Paperless server, is it up and running?", + "couldNotReachYourPaperlessServer": "Nie można połączyć się z Twoim serwerem Paperless, czy jest uruchomiony i dostępny?", "@couldNotReachYourPaperlessServer": {}, - "couldNotLoadSimilarDocuments": "Could not load similar documents.", + "couldNotLoadSimilarDocuments": "Nie udało się wczytać podobnych dokumentów.", "@couldNotLoadSimilarDocuments": {}, - "couldNotCreateStoragePath": "Could not create storage path, please try again.", + "couldNotCreateStoragePath": "Nie udało się utworzyć ścieżki zapisu, spróbuj ponownie.", "@couldNotCreateStoragePath": {}, - "couldNotLoadStoragePaths": "Could not load storage paths.", + "couldNotLoadStoragePaths": "Nie udało się załadować ścieżek zapisu.", "@couldNotLoadStoragePaths": {}, - "couldNotLoadSuggestions": "Could not load suggestions.", + "couldNotLoadSuggestions": "Nie udało się załadować sugestii.", "@couldNotLoadSuggestions": {}, - "couldNotCreateTag": "Could not create tag, please try again.", + "couldNotCreateTag": "Nie udało się utworzyć taga, spróbuj ponownie.", "@couldNotCreateTag": {}, - "couldNotLoadTags": "Could not load tags.", + "couldNotLoadTags": "Nie udało się załadować tagów.", "@couldNotLoadTags": {}, - "anUnknownErrorOccurred": "An unknown error occurred.", + "anUnknownErrorOccurred": "Wystąpił nieznany błąd.", "@anUnknownErrorOccurred": {}, - "fileFormatNotSupported": "This file format is not supported.", + "fileFormatNotSupported": "Ten format pliku nie jest obsługiwany.", "@fileFormatNotSupported": {}, - "report": "REPORT", + "report": "ZGŁOSZENIE", "@report": {}, - "absolute": "Absolute", + "absolute": "Bezwzględna", "@absolute": {}, - "hintYouCanAlsoSpecifyRelativeValues": "Hint: Apart from concrete dates, you can also specify a time range relative to the current date.", + "hintYouCanAlsoSpecifyRelativeValues": "Wskazówka: Poza konkretnymi datami, możesz również określić zakres czasowy w stosunku do bieżącej daty.", "@hintYouCanAlsoSpecifyRelativeValues": { "description": "Displayed in the extended date range picker" }, - "amount": "Amount", + "amount": "Ilość", "@amount": {}, - "relative": "Relative", + "relative": "Względna", "@relative": {}, - "last": "Last", + "last": "Ostatnie", "@last": {}, - "timeUnit": "Time unit", + "timeUnit": "Jednostka czasu", "@timeUnit": {}, "selectDateRange": "Wybierz zakres dat", "@selectDateRange": {}, @@ -348,167 +348,167 @@ "@after": {}, "before": "Przed", "@before": {}, - "days": "{count, plural, zero{days} one{day} other{days}}", + "days": "{count, plural, one{dzień} other{dni}}", "@days": { "placeholders": { "count": {} } }, - "lastNDays": "{count, plural, zero{} one{Yesterday} other{Last {count} days}}", + "lastNDays": "{count, plural, one{Wczoraj} other{Ostatnie {count} dni}}", "@lastNDays": { "placeholders": { "count": {} } }, - "lastNMonths": "{count, plural, zero{} one{Last month} other{Last {count} months}}", + "lastNMonths": "{count, plural, one{Ostatni miesiąc} other{Ostatnie {count} miesiące}}", "@lastNMonths": { "placeholders": { "count": {} } }, - "lastNWeeks": "{count, plural, zero{} one{Last week} other{Last {count} weeks}}", + "lastNWeeks": "{count, plural, one{Ostatni tydzień} other{Ostatnie {count} tygodnie}}", "@lastNWeeks": { "placeholders": { "count": {} } }, - "lastNYears": "{count, plural, zero{} one{Last year} other{Last {count} years}}", + "lastNYears": "{count, plural, one {Ostatni rok} few {Ostatnie {count} lata} many {Ostatnie {count} lat} other {Ostatnie {count} lat}}", "@lastNYears": { "placeholders": { "count": {} } }, - "months": "{count, plural, zero{} one{month} other{months}}", + "months": "{count, plural, one{miesiąc} other{miesiące}}", "@months": { "placeholders": { "count": {} } }, - "weeks": "{count, plural, zero{} one{week} other{weeks}}", + "weeks": "{count, plural, one{tydzień} few {tygodnie} many {tygodnie} other{tygodnie}}", "@weeks": { "placeholders": { "count": {} } }, - "years": "{count, plural, zero{} one{year} other{years}}", + "years": "{count, plural, one{rok} few {lat} many {lat} other{lat}}", "@years": { "placeholders": { "count": {} } }, - "gotIt": "Got it!", + "gotIt": "OK!", "@gotIt": {}, - "cancel": "Cancel", + "cancel": "Anuluj", "@cancel": {}, - "close": "Close", + "close": "Zamknij", "@close": {}, - "create": "Create", + "create": "Dodaj", "@create": {}, - "delete": "Delete", + "delete": "Usuń", "@delete": {}, - "edit": "Edit", + "edit": "Edytuj", "@edit": {}, "ok": "Ok", "@ok": {}, - "save": "Save", + "save": "Zapisz", "@save": {}, - "select": "Select", + "select": "Wybierz", "@select": {}, "saveChanges": "Zapisz zmiany", "@saveChanges": {}, - "upload": "Upload", + "upload": "Wyślij", "@upload": {}, "youreOffline": "Jesteście w trybie offline.", "@youreOffline": {}, - "deleteDocument": "Delete document", + "deleteDocument": "Usuń dokument", "@deleteDocument": { "description": "Used as an action label on each inbox item" }, "removeDocumentFromInbox": "Dokument usunięty ze skrzynki odbiorczej", "@removeDocumentFromInbox": {}, - "areYouSureYouWantToMarkAllDocumentsAsSeen": "Are you sure you want to mark all documents as seen? This will perform a bulk edit operation removing all inbox tags from the documents. This action is not reversible! Are you sure you want to continue?", + "areYouSureYouWantToMarkAllDocumentsAsSeen": "Czy na pewno chcesz oznaczyć wszystkie dokumenty jako przeczytane? Spowoduje to edycję wszystkich dokumentów, usuwając znaczniki skrzynki odbiorczej. Ta akcja nie jest odwracalna! Czy na pewno chcesz kontynuować?", "@areYouSureYouWantToMarkAllDocumentsAsSeen": {}, - "markAllAsSeen": "Mark all as seen?", + "markAllAsSeen": "Oznaczyć wszystkie jako przeczytane?", "@markAllAsSeen": {}, - "allSeen": "All seen", + "allSeen": "Wszystkie dokumenty zostały przeczytane", "@allSeen": {}, - "markAsSeen": "Mark as seen", + "markAsSeen": "Oznacz jako przeczytane", "@markAsSeen": {}, "refresh": "Odświerz", "@refresh": {}, - "youDoNotHaveUnseenDocuments": "You do not have unseen documents.", + "youDoNotHaveUnseenDocuments": "Nie masz nieprzeczytanych dokumentów.", "@youDoNotHaveUnseenDocuments": {}, - "quickAction": "Quick Action", + "quickAction": "Szybka akcja", "@quickAction": {}, - "suggestionSuccessfullyApplied": "Suggestion successfully applied.", + "suggestionSuccessfullyApplied": "Pomyślnie zastosowano sugestię.", "@suggestionSuccessfullyApplied": {}, "today": "Dzisiaj", "@today": {}, "undo": "Cofnij", "@undo": {}, - "nUnseen": "{count} unseen", + "nUnseen": "{count} nieprzeczytane", "@nUnseen": { "placeholders": { "count": {} } }, - "swipeLeftToMarkADocumentAsSeen": "Hint: Swipe left to mark a document as seen and remove all inbox tags from the document.", + "swipeLeftToMarkADocumentAsSeen": "Wskazówka: Przesuń palcem w lewo, aby oznaczyć dokument jako przeczytany i usunąć wszystkie znaczniki skrzynki odbiorczej z dokumentu.", "@swipeLeftToMarkADocumentAsSeen": {}, "yesterday": "Wczoraj", "@yesterday": {}, - "anyAssigned": "Any assigned", + "anyAssigned": "Przypisano etykietę", "@anyAssigned": {}, - "noItemsFound": "No items found!", + "noItemsFound": "Nie znaleziono żadnych rekordów!", "@noItemsFound": {}, - "caseIrrelevant": "Case Irrelevant", + "caseIrrelevant": "Nie rozróżniaj wielkich i małych liter", "@caseIrrelevant": {}, - "matchingAlgorithm": "Matching Algorithm", + "matchingAlgorithm": "Algorytm dopasowania", "@matchingAlgorithm": {}, - "match": "Match", + "match": "Dopasowanie", "@match": {}, "name": "Nazwa", "@name": {}, - "notAssigned": "Not assigned", + "notAssigned": "Nie przypisano", "@notAssigned": {}, - "addNewCorrespondent": "Add new correspondent", + "addNewCorrespondent": "Dodaj nowego korespondenta", "@addNewCorrespondent": {}, - "noCorrespondentsSetUp": "You don't seem to have any correspondents set up.", + "noCorrespondentsSetUp": "Nie masz żadnych ustawionych korespondentów.", "@noCorrespondentsSetUp": {}, - "correspondents": "Correspondents", + "correspondents": "Korespondenci", "@correspondents": {}, "addNewDocumentType": "Dodaj nowy rodzaj dokumentu", "@addNewDocumentType": {}, - "noDocumentTypesSetUp": "You don't seem to have any document types set up.", + "noDocumentTypesSetUp": "Nie masz skonfigurowanych typów dokumentów.", "@noDocumentTypesSetUp": {}, "documentTypes": "Rodzaje dokumentów", "@documentTypes": {}, - "addNewStoragePath": "Add new storage path", + "addNewStoragePath": "Dodaj nową ścieżkę zapisu", "@addNewStoragePath": {}, - "noStoragePathsSetUp": "You don't seem to have any storage paths set up.", + "noStoragePathsSetUp": "Wygląda na to, że nie masz ustawionych ścieżek zapisu.", "@noStoragePathsSetUp": {}, - "storagePaths": "Storage Paths", + "storagePaths": "Ścieżki zapisu", "@storagePaths": {}, - "addNewTag": "Add new tag", + "addNewTag": "Dodaj nowy tag", "@addNewTag": {}, - "noTagsSetUp": "You don't seem to have any tags set up.", + "noTagsSetUp": "Wygląda na to, że nie masz skonfigurowanych tagów.", "@noTagsSetUp": {}, - "linkedDocuments": "Linked Documents", + "linkedDocuments": "Powiązane dokumenty", "@linkedDocuments": {}, - "advancedSettings": "Advanced Settings", + "advancedSettings": "Ustawienia zaawansowane", "@advancedSettings": {}, - "passphrase": "Passphrase", + "passphrase": "Hasło", "@passphrase": {}, - "configureMutualTLSAuthentication": "Configure Mutual TLS Authentication", + "configureMutualTLSAuthentication": "Skonfiguruj wzajemne uwierzytelnianie TLS", "@configureMutualTLSAuthentication": {}, - "invalidCertificateFormat": "Invalid certificate format, only .pfx is allowed", + "invalidCertificateFormat": "Nieprawidłowy format certyfikatu, dozwolony jest tylko .pfx", "@invalidCertificateFormat": {}, - "clientcertificate": "Client Certificate", + "clientcertificate": "Certyfikat klienta", "@clientcertificate": {}, - "selectFile": "Select file...", + "selectFile": "Wybierz plik...", "@selectFile": {}, "continueLabel": "Kontynuuj", "@continueLabel": {}, - "incorrectOrMissingCertificatePassphrase": "Incorrect or missing certificate passphrase.", + "incorrectOrMissingCertificatePassphrase": "Błędne lub brakujące hasło certyfikatu.", "@incorrectOrMissingCertificatePassphrase": {}, "connect": "Polącz", "@connect": {}, @@ -516,97 +516,97 @@ "@password": {}, "passwordMustNotBeEmpty": "Hasło nie może być puste.", "@passwordMustNotBeEmpty": {}, - "connectionTimedOut": "Connection timed out.", + "connectionTimedOut": "Upłynął czas połączenia.", "@connectionTimedOut": {}, - "loginPageReachabilityMissingClientCertificateText": "A client certificate was expected but not sent. Please provide a certificate.", + "loginPageReachabilityMissingClientCertificateText": "Nie otrzymano oczekiwanego certyfikatu klienta. Proszę podać prawidłowy certyfikat.", "@loginPageReachabilityMissingClientCertificateText": {}, - "couldNotEstablishConnectionToTheServer": "Could not establish a connection to the server.", + "couldNotEstablishConnectionToTheServer": "Nie udało się nawiązać połączenia z serwerem.", "@couldNotEstablishConnectionToTheServer": {}, - "connectionSuccessfulylEstablished": "Connection successfully established.", + "connectionSuccessfulylEstablished": "Połączenie zostało ustanowione pomyślnie.", "@connectionSuccessfulylEstablished": {}, - "hostCouldNotBeResolved": "Host could not be resolved. Please check the server address and your internet connection. ", + "hostCouldNotBeResolved": "Nie udało się ustalić hosta. Sprawdź adres serwera i połączenie z Internetem. ", "@hostCouldNotBeResolved": {}, "serverAddress": "Adres serwera", "@serverAddress": {}, - "invalidAddress": "Invalid address.", + "invalidAddress": "Nieprawidłowy adres.", "@invalidAddress": {}, - "serverAddressMustIncludeAScheme": "Server address must include a scheme.", + "serverAddressMustIncludeAScheme": "Adres serwera musi zawierać schemat.", "@serverAddressMustIncludeAScheme": {}, - "serverAddressMustNotBeEmpty": "Server address must not be empty.", + "serverAddressMustNotBeEmpty": "Adres serwera nie może być pusty.", "@serverAddressMustNotBeEmpty": {}, - "signIn": "Sign In", + "signIn": "Zaloguj się", "@signIn": {}, - "loginPageSignInTitle": "Sign In", + "loginPageSignInTitle": "Zaloguj się", "@loginPageSignInTitle": {}, - "signInToServer": "Sign in to {serverAddress}", + "signInToServer": "Zaloguj się do {serverAddress}", "@signInToServer": { "placeholders": { "serverAddress": {} } }, - "connectToPaperless": "Connect to Paperless", + "connectToPaperless": "Połącz z Paperless", "@connectToPaperless": {}, - "username": "Username", + "username": "Nazwa użytkownika", "@username": {}, - "usernameMustNotBeEmpty": "Username must not be empty.", + "usernameMustNotBeEmpty": "Nazwa użytkownika nie może być pusta.", "@usernameMustNotBeEmpty": {}, - "documentContainsAllOfTheseWords": "Document contains all of these words", + "documentContainsAllOfTheseWords": "Dokument zawiera wszystkie poniższe słowa", "@documentContainsAllOfTheseWords": {}, - "all": "All", + "all": "Wszystkie", "@all": {}, - "documentContainsAnyOfTheseWords": "Document contains any of these words", + "documentContainsAnyOfTheseWords": "Dokument zawiera którekolwiek z poniższych słów", "@documentContainsAnyOfTheseWords": {}, - "any": "Any", + "any": "Dowolny", "@any": {}, - "learnMatchingAutomatically": "Learn matching automatically", + "learnMatchingAutomatically": "Ucz się automatycznie dopasowywania", "@learnMatchingAutomatically": {}, "auto": "Auto", "@auto": {}, - "documentContainsThisString": "Document contains this string", + "documentContainsThisString": "Dokładne: Dokument zawiera ten ciąg znaków", "@documentContainsThisString": {}, - "exact": "Exact", + "exact": "Dokładne", "@exact": {}, - "documentContainsAWordSimilarToThisWord": "Document contains a word similar to this word", + "documentContainsAWordSimilarToThisWord": "Dokument zawiera słowo podobne do tego słowa", "@documentContainsAWordSimilarToThisWord": {}, - "fuzzy": "Fuzzy", + "fuzzy": "Przybliżone (Fuzzy)", "@fuzzy": {}, - "documentMatchesThisRegularExpression": "Document matches this regular expression", + "documentMatchesThisRegularExpression": "Dokument pasuje do wyrażenia regularnego", "@documentMatchesThisRegularExpression": {}, - "regularExpression": "Regular Expression", + "regularExpression": "Wyrażenie regularne", "@regularExpression": {}, "anInternetConnectionCouldNotBeEstablished": "Nie można było nawiązać połączenia internetowego.", "@anInternetConnectionCouldNotBeEstablished": {}, - "done": "Done", + "done": "Wykonano", "@done": {}, "next": "Następne", "@next": {}, - "couldNotAccessReceivedFile": "Could not access the received file. Please try to open the app before sharing.", + "couldNotAccessReceivedFile": "Nie można uzyskać dostępu do otrzymanego pliku. Spróbuj otworzyć aplikację przed udostępnieniem.", "@couldNotAccessReceivedFile": {}, - "newView": "New View", + "newView": "Nowy widok", "@newView": {}, - "createsASavedViewBasedOnTheCurrentFilterCriteria": "Creates a new view based on the current filter criteria.", + "createsASavedViewBasedOnTheCurrentFilterCriteria": "Tworzy nowy widok oparty na aktualnych kryteriach filtrowania.", "@createsASavedViewBasedOnTheCurrentFilterCriteria": {}, - "createViewsToQuicklyFilterYourDocuments": "Create views to quickly filter your documents.", + "createViewsToQuicklyFilterYourDocuments": "Utwórz widoki by szybko filtrować dokumenty.", "@createViewsToQuicklyFilterYourDocuments": {}, - "nFiltersSet": "{count, plural, zero{{count} filters set} one{{count} filter set} other{{count} filters set}}", + "nFiltersSet": "{count, plural, one{{count} filtr ustawiony} few {{count} filtry ustawione} many {{count} filtry ustawione} other{{count} filtry ustawione}}", "@nFiltersSet": { "placeholders": { "count": {} } }, - "showInSidebar": "Show in sidebar", + "showInSidebar": "Pokaż w panelu bocznym", "@showInSidebar": {}, - "showOnDashboard": "Show on dashboard", + "showOnDashboard": "Pokaż na pulpicie", "@showOnDashboard": {}, - "views": "Views", + "views": "Widoki", "@views": {}, - "clearAll": "Clear all", + "clearAll": "Wyczyść wszystko", "@clearAll": {}, "scan": "Skanuj", "@scan": {}, - "previewScan": "Preview", + "previewScan": "Podgląd", "@previewScan": {}, - "scrollToTop": "Scroll to top", + "scrollToTop": "Przewiń do góry", "@scrollToTop": {}, "paperlessServerVersion": "Wersja serwera Paperless", "@paperlessServerVersion": {}, @@ -622,9 +622,9 @@ "@languageAndVisualAppearance": {}, "applicationSettings": "Aplikacja", "@applicationSettings": {}, - "colorSchemeHint": "Choose between a classic color scheme inspired by a traditional Paperless green or use the dynamic color scheme based on your system theme.", + "colorSchemeHint": "Wybierz między klasycznym schematem kolorów zainspirowanym tradycyjnym zielonym Paperless, lub użyj dynamicznego schematu kolorów na podstawie motywu systemu.", "@colorSchemeHint": {}, - "colorSchemeNotSupportedWarning": "Dynamic theming is only supported for devices running Android 12 and above. Selecting the 'Dynamic' option might not have any effect depending on your OS implementation.", + "colorSchemeNotSupportedWarning": "Dynamiczny motyw jest obsługiwany tylko dla urządzeń z systemem Android 12 i nowszym. Wybór opcji 'Dynamiczny' może nie mieć żadnego wpływu w zależności od implementacji systemu operacyjnego.", "@colorSchemeNotSupportedWarning": {}, "colors": "Kolory", "@colors": {}, @@ -632,9 +632,9 @@ "@language": {}, "security": "Zabezpieczenia", "@security": {}, - "mangeFilesAndStorageSpace": "Manage files and storage space", + "mangeFilesAndStorageSpace": "Zarządzaj plikami i przestrzenią dyskową", "@mangeFilesAndStorageSpace": {}, - "storage": "Storage", + "storage": "Pamięć", "@storage": {}, "dark": "Ciemny", "@dark": {}, @@ -642,9 +642,9 @@ "@light": {}, "system": "System", "@system": {}, - "ascending": "Ascending", + "ascending": "Rosnąco", "@ascending": {}, - "descending": "Descending", + "descending": "Malejąco", "@descending": {}, "storagePathDay": "dzień", "@storagePathDay": {}, @@ -654,130 +654,162 @@ "@storagePathYear": {}, "color": "Kolor", "@color": {}, - "filterTags": "Filter tags...", + "filterTags": "Filtruj tagi...", "@filterTags": {}, "inboxTag": "Tag skrzynki odbiorczej", "@inboxTag": {}, - "uploadInferValuesHint": "If you specify values for these fields, your paperless instance will not automatically derive a value. If you want these values to be automatically populated by your server, leave the fields blank.", + "uploadInferValuesHint": "Jeśli określisz wartości dla tych pól, Twoja instancja Paperless nie będzie automatycznie ustalać ich wartości. Jeśli chcesz, aby te wartości były automatycznie wypełniane przez serwer, pozostaw puste pola.", "@uploadInferValuesHint": {}, - "useTheConfiguredBiometricFactorToAuthenticate": "Use the configured biometric factor to authenticate and unlock your documents.", + "useTheConfiguredBiometricFactorToAuthenticate": "Użyj skonfigurowanego czynnika biometrycznego, aby uwierzytelnić i odblokować dokumenty.", "@useTheConfiguredBiometricFactorToAuthenticate": {}, - "verifyYourIdentity": "Verify your identity", + "verifyYourIdentity": "Zweryfikuj swoją tożsamość", "@verifyYourIdentity": {}, - "verifyIdentity": "Verify Identity", + "verifyIdentity": "Zweryfikuj tożsamość", "@verifyIdentity": {}, - "detailed": "Detailed", + "detailed": "Widok szczegółowy", "@detailed": {}, - "grid": "Grid", + "grid": "Siatka", "@grid": {}, - "list": "List", + "list": "Lista", "@list": {}, - "remove": "Remove", - "removeQueryFromSearchHistory": "Remove query from search history?", - "dynamicColorScheme": "Dynamic", + "remove": "Usuń", + "removeQueryFromSearchHistory": "Usunąć zapytanie z historii wyszukiwania?", + "dynamicColorScheme": "Dynamiczny", "@dynamicColorScheme": {}, - "classicColorScheme": "Classic", + "classicColorScheme": "Klasyczny", "@classicColorScheme": {}, - "notificationDownloadComplete": "Download complete", + "notificationDownloadComplete": "Pobieranie ukończone", "@notificationDownloadComplete": { "description": "Notification title when a download has been completed." }, - "notificationDownloadingDocument": "Downloading document", + "notificationDownloadingDocument": "Pobieranie dokumentu", "@notificationDownloadingDocument": { "description": "Notification title shown when a document download is pending" }, - "archiveSerialNumberUpdated": "Archive Serial Number updated.", + "archiveSerialNumberUpdated": "Numer ASN zmodyfikowany.", "@archiveSerialNumberUpdated": { "description": "Message shown when the ASN has been updated." }, - "donateCoffee": "Buy me a coffee", + "donateCoffee": "Kup mi kawę", "@donateCoffee": { "description": "Label displayed in the app drawer" }, - "thisFieldIsRequired": "This field is required!", + "thisFieldIsRequired": "To pole jest wymagane!", "@thisFieldIsRequired": { "description": "Message shown below the form field when a required field has not been filled out." }, - "confirm": "Confirm", - "confirmAction": "Confirm action", + "confirm": "Potwierdź", + "confirmAction": "Zatwierdź akcje", "@confirmAction": { "description": "Typically used as a title to confirm a previously selected action" }, - "areYouSureYouWantToContinue": "Are you sure you want to continue?", - "bulkEditTagsAddMessage": "{count, plural, one{This operation will add the tags {tags} to the selected document.} other{This operation will add the tags {tags} to {count} selected documents.}}", + "areYouSureYouWantToContinue": "Czy na pewno chcesz kontynuować?", + "bulkEditTagsAddMessage": "{count, plural, one{Ta operacja doda tagi {tags} do wybranego dokumentu.} few {Ta operacja doda tagi {tags} do {count} wybranych dokumentów.} many {Ta operacja doda tagi {tags} do {count} wybranych dokumentów.} other{Ta operacja doda tagi {tags} do {count} wybranych dokumentów.}}", "@bulkEditTagsAddMessage": { "description": "Message of the confirmation dialog when bulk adding tags." }, - "bulkEditTagsRemoveMessage": "{count, plural, one{This operation will remove the tags {tags} from the selected document.} other{This operation will remove the tags {tags} from {count} selected documents.}}", + "bulkEditTagsRemoveMessage": "{count, plural, one{Ta operacja usunie tagi {tags} z wybranego dokumentu.} other{Ta operacja usunie tagi {tags} z {count} wybranych dokumentów.}}", "@bulkEditTagsRemoveMessage": { "description": "Message of the confirmation dialog when bulk removing tags." }, - "bulkEditTagsModifyMessage": "{count, plural, one{This operation will add the tags {addTags} and remove the tags {removeTags} from the selected document.} other{This operation will add the tags {addTags} and remove the tags {removeTags} from {count} selected documents.}}", + "bulkEditTagsModifyMessage": "{count, plural, one{Ta operacja doda znaczniki {addTags} i usunie znaczniki {removeTags} z wybranego dokumentu.} other{Ta operacja doda tagi {addTags} i usunie tagi {removeTags} z {count} wybranych dokumentów.}}", "@bulkEditTagsModifyMessage": { "description": "Message of the confirmation dialog when both adding and removing tags." }, - "bulkEditCorrespondentAssignMessage": "{count, plural, one{This operation will assign the correspondent {correspondent} to the selected document.} other{This operation will assign the correspondent {correspondent} to {count} selected documents.}}", - "bulkEditDocumentTypeAssignMessage": "{count, plural, one{This operation will assign the document type {docType} to the selected document.} other{This operation will assign the documentType {docType} to {count} selected documents.}}", - "bulkEditStoragePathAssignMessage": "{count, plural, one{This operation will assign the storage path {path} to the selected document.} other{This operation will assign the storage path {path} to {count} selected documents.}}", - "bulkEditCorrespondentRemoveMessage": "{count, plural, one{This operation will remove the correspondent from the selected document.} other{This operation will remove the correspondent from {count} selected documents.}}", - "bulkEditDocumentTypeRemoveMessage": "{count, plural, one{This operation will remove the document type from the selected document.} other{This operation will remove the document type from {count} selected documents.}}", - "bulkEditStoragePathRemoveMessage": "{count, plural, one{This operation will remove the storage path from the selected document.} other{This operation will remove the storage path from {count} selected documents.}}", - "anyTag": "Any", + "bulkEditCorrespondentAssignMessage": "{count, plural, one{Ta operacja przypisze korespondenta {correspondent} do wybranego dokumentu.} other{Ta operacja przypisze korespondenta {correspondent} do {count} wybranych dokumentów.}}", + "bulkEditDocumentTypeAssignMessage": "{count, plural, one{Ta operacja przypisze typ dokumentu {docType} do wybranego dokumentu.} other{Ta operacja przypisze typ dokumentu {docType} do {count} wybranych dokumentów.}}", + "bulkEditStoragePathAssignMessage": "{count, plural, one{Ta operacja przypisze ścieżkę zapisu {path} do wybranego dokumentu.} other{Ta operacja przypisze ścieżkę zapisu {path} do {count} wybranych dokumentów.}}", + "bulkEditCorrespondentRemoveMessage": "{count, plural, one{Ta operacja usunie korespondenta z wybranego dokumentu.} other{Ta operacja usunie korespondenta z {count} wybranych dokumentów.}}", + "bulkEditDocumentTypeRemoveMessage": "{count, plural, one{Ta operacja usunie typ dokumentu z wybranego dokumentu.} other{Ta operacja usunie typ dokumentu z {count} wybranych dokumentów.}}", + "bulkEditStoragePathRemoveMessage": "{count, plural, one{Ta operacja usunie tagi z wybranego dokumentu.} other{Ta operacja usunie tagi z {count} wybranych dokumentów.}}", + "anyTag": "Dowolny", "@anyTag": { "description": "Label shown when any tag should be filtered" }, - "allTags": "All", + "allTags": "Wszystkie", "@allTags": { "description": "Label shown when a document has to be assigned to all selected tags" }, - "switchingAccountsPleaseWait": "Switching accounts. Please wait...", + "switchingAccountsPleaseWait": "Przełączanie kont. Proszę czekać...", "@switchingAccountsPleaseWait": { "description": "Message shown while switching accounts is in progress." }, - "testConnection": "Test connection", + "testConnection": "Test połączenia", "@testConnection": { "description": "Button label shown on login page. Allows user to test whether the server is reachable or not." }, - "accounts": "Accounts", + "accounts": "Konta", "@accounts": { "description": "Title of the account management dialog" }, - "addAccount": "Add account", + "addAccount": "Dodaj konto", "@addAccount": { "description": "Label of add account action" }, - "switchAccount": "Switch", + "switchAccount": "Przełącz", "@switchAccount": { "description": "Label for switch account action" }, - "logout": "Logout", + "logout": "Wyloguj się", "@logout": { "description": "Generic Logout label" }, - "switchAccountTitle": "Switch account", + "switchAccountTitle": "Zmień konto", "@switchAccountTitle": { "description": "Title of the dialog shown after adding an account, asking the user whether to switch to the newly added account or not." }, - "switchToNewAccount": "Do you want to switch to the new account? You can switch back at any time.", + "switchToNewAccount": "Czy chcesz przełączyć się na nowe konto? Możesz przełączyć się w dowolnym momencie.", "@switchToNewAccount": { "description": "Content of the dialog shown after adding an account, asking the user whether to switch to the newly added account or not." }, - "sourceCode": "Source Code", - "findTheSourceCodeOn": "Find the source code on", + "sourceCode": "Kod źródłowy", + "findTheSourceCodeOn": "Znajdź kod źródłowy na", "@findTheSourceCodeOn": { "description": "Text before link to Paperless Mobile GitHub" }, - "rememberDecision": "Remember my decision", - "defaultDownloadFileType": "Default Download File Type", + "rememberDecision": "Zapamiętaj mój wybór", + "defaultDownloadFileType": "Domyślny typ pliku do pobrania", "@defaultDownloadFileType": { "description": "Label indicating the default filetype to download (one of archived, original and always ask)" }, - "defaultShareFileType": "Default Share File Type", + "defaultShareFileType": "Domyślny typ udostępnianego pliku", "@defaultShareFileType": { "description": "Label indicating the default filetype to share (one of archived, original and always ask)" }, - "alwaysAsk": "Always ask", + "alwaysAsk": "Zawsze pytaj", "@alwaysAsk": { "description": "Option to choose when the app should always ask the user which filetype to use" + }, + "disableMatching": "Nie oznaczaj dokumentów automatycznie", + "@disableMatching": { + "description": "One of the options for automatic tagging of documents" + }, + "none": "Nie oznaczaj automatycznie", + "@none": { + "description": "One of available enum values of matching algorithm for tags" + }, + "logInToExistingAccount": "Zaloguj się do istniejącego konta", + "@logInToExistingAccount": { + "description": "Title shown on login page if at least one user is already known to the app." + }, + "print": "Wydrukuj", + "@print": { + "description": "Tooltip for print button" + }, + "managePermissions": "Zarządzaj uprawnieniami", + "@managePermissions": { + "description": "Button which leads user to manage permissions page" + }, + "errorRetrievingServerVersion": "Wystąpił błąd w trakcie sprawdzania wersji serwera.", + "@errorRetrievingServerVersion": { + "description": "Message shown at the bottom of the settings page when the remote server version could not be resolved." + }, + "resolvingServerVersion": "Sprawdzanie wersji serwera...", + "@resolvingServerVersion": { + "description": "Message shown while the app is loading the remote server version." + }, + "goToLogin": "Przejdź do logowania", + "@goToLogin": { + "description": "Label of the button shown on the login page to skip logging in to existing accounts and navigate user to login page" } } \ No newline at end of file From 910eefe9dfbfb2e75d3aab75180f0e0448740681 Mon Sep 17 00:00:00 2001 From: "konrad.lys@eu.equinix.com" Date: Thu, 1 Jun 2023 18:08:58 +0200 Subject: [PATCH 11/12] BUGIX styling changes --- .../labels/view/pages/labels_page.dart | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/features/labels/view/pages/labels_page.dart b/lib/features/labels/view/pages/labels_page.dart index 5951f92..9bdcc77 100644 --- a/lib/features/labels/view/pages/labels_page.dart +++ b/lib/features/labels/view/pages/labels_page.dart @@ -259,28 +259,28 @@ class _LabelsPageState extends State with SingleTickerProviderStateM void _openEditCorrespondentPage(Correspondent correspondent) { Navigator.push( context, - buildLabelPageRoute(EditCorrespondentPage(correspondent: correspondent)), + _buildLabelPageRoute(EditCorrespondentPage(correspondent: correspondent)), ); } void _openEditDocumentTypePage(DocumentType docType) { Navigator.push( context, - buildLabelPageRoute(EditDocumentTypePage(documentType: docType)), + _buildLabelPageRoute(EditDocumentTypePage(documentType: docType)), ); } void _openEditTagPage(Tag tag) { Navigator.push( context, - buildLabelPageRoute(EditTagPage(tag: tag)), + _buildLabelPageRoute(EditTagPage(tag: tag)), ); } void _openEditStoragePathPage(StoragePath path) { Navigator.push( context, - buildLabelPageRoute(EditStoragePathPage( + _buildLabelPageRoute(EditStoragePathPage( storagePath: path, )), ); @@ -289,34 +289,34 @@ class _LabelsPageState extends State with SingleTickerProviderStateM void _openAddCorrespondentPage() { Navigator.push( context, - buildLabelPageRoute(const AddCorrespondentPage()), + _buildLabelPageRoute(const AddCorrespondentPage()), ); } void _openAddDocumentTypePage() { Navigator.push( context, - buildLabelPageRoute(const AddDocumentTypePage()), + _buildLabelPageRoute(const AddDocumentTypePage()), ); } void _openAddTagPage() { Navigator.push( context, - buildLabelPageRoute(const AddTagPage()), + _buildLabelPageRoute(const AddTagPage()), ); } void _openAddStoragePathPage() { Navigator.push( context, - buildLabelPageRoute(const AddStoragePathPage()), + _buildLabelPageRoute(const AddStoragePathPage()), ); } - MaterialPageRoute buildLabelPageRoute(Widget page) { + MaterialPageRoute _buildLabelPageRoute(Widget page) { return MaterialPageRoute( - builder: (_) => MultiBlocProvider( + builder: (_) => MultiProvider( providers: [ Provider.value(value: context.read()), Provider.value(value: context.read()) From 72dfe1fc73c5a4fad7c2f5ca88d19206aeeba4b9 Mon Sep 17 00:00:00 2001 From: "konrad.lys@eu.equinix.com" Date: Fri, 2 Jun 2023 14:57:28 +0200 Subject: [PATCH 12/12] BUGFIX translations --- lib/l10n/intl_de.arb | 24 ++++++++++++++++++++++++ lib/l10n/intl_en.arb | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/lib/l10n/intl_de.arb b/lib/l10n/intl_de.arb index c67c3a4..7ff7eb1 100644 --- a/lib/l10n/intl_de.arb +++ b/lib/l10n/intl_de.arb @@ -787,5 +787,29 @@ "none": "Keine", "@none": { "description": "One of available enum values of matching algorithm for tags" + }, + "logInToExistingAccount": "Mit bestehendem Account anmelden", + "@logInToExistingAccount": { + "description": "Title shown on login page if at least one user is already known to the app." + }, + "print": "Drucken", + "@print": { + "description": "Tooltip for print button" + }, + "managePermissions": "Berechtigungen verwalten", + "@managePermissions": { + "description": "Button which leads user to manage permissions page" + }, + "errorRetrievingServerVersion": "Beim Laden der Server-Version ist ein Fehler aufgetreten.", + "@errorRetrievingServerVersion": { + "description": "Message shown at the bottom of the settings page when the remote server version could not be resolved." + }, + "resolvingServerVersion": "Lade Server-Version...", + "@resolvingServerVersion": { + "description": "Message shown while the app is loading the remote server version." + }, + "goToLogin": "Gehe zur Anmeldung", + "@goToLogin": { + "description": "Label of the button shown on the login page to skip logging in to existing accounts and navigate user to login page" } } \ No newline at end of file diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 03b5cfa..dbf767f 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -787,5 +787,29 @@ "none": "None", "@none": { "description": "One of available enum values of matching algorithm for tags" + }, + "logInToExistingAccount": "Log in to existing account", + "@logInToExistingAccount": { + "description": "Title shown on login page if at least one user is already known to the app." + }, + "print": "Print", + "@print": { + "description": "Tooltip for print button" + }, + "managePermissions": "Manage permissions", + "@managePermissions": { + "description": "Button which leads user to manage permissions page" + }, + "errorRetrievingServerVersion": "An error occurred trying to resolve the server version.", + "@errorRetrievingServerVersion": { + "description": "Message shown at the bottom of the settings page when the remote server version could not be resolved." + }, + "resolvingServerVersion": "Resolving server version...", + "@resolvingServerVersion": { + "description": "Message shown while the app is loading the remote server version." + }, + "goToLogin": "Go to login", + "@goToLogin": { + "description": "Label of the button shown on the login page to skip logging in to existing accounts and navigate user to login page" } } \ No newline at end of file