From 5221d8dfc9a774bf3c04d7e203fb812e243d2269 Mon Sep 17 00:00:00 2001 From: Ellet Date: Mon, 2 Dec 2024 16:22:03 +0300 Subject: [PATCH] chore(localizations): improve success and error messages --- .../lib/src/editor/image/image_menu.dart | 14 +- .../editor/image/widgets/image_menu_test.dart | 39 +- .../l10n/generated/quill_localizations.dart | 36 ++ .../generated/quill_localizations_ar.dart | 21 + .../generated/quill_localizations_bg.dart | 21 + .../generated/quill_localizations_bn.dart | 21 + .../generated/quill_localizations_ca.dart | 21 + .../generated/quill_localizations_cs.dart | 21 + .../generated/quill_localizations_da.dart | 21 + .../generated/quill_localizations_de.dart | 21 + .../generated/quill_localizations_el.dart | 21 + .../generated/quill_localizations_en.dart | 21 + .../generated/quill_localizations_es.dart | 21 + .../generated/quill_localizations_fa.dart | 21 + .../generated/quill_localizations_fr.dart | 21 + .../generated/quill_localizations_he.dart | 21 + .../generated/quill_localizations_hi.dart | 21 + .../generated/quill_localizations_hu.dart | 21 + .../generated/quill_localizations_id.dart | 21 + .../generated/quill_localizations_it.dart | 21 + .../generated/quill_localizations_ja.dart | 21 + .../generated/quill_localizations_km.dart | 21 + .../generated/quill_localizations_ko.dart | 21 + .../generated/quill_localizations_ku.dart | 21 + .../generated/quill_localizations_ms.dart | 21 + .../generated/quill_localizations_ne.dart | 21 + .../generated/quill_localizations_nl.dart | 21 + .../generated/quill_localizations_no.dart | 21 + .../generated/quill_localizations_pl.dart | 21 + .../generated/quill_localizations_pt.dart | 21 + .../generated/quill_localizations_ro.dart | 21 + .../generated/quill_localizations_ru.dart | 21 + .../generated/quill_localizations_sk.dart | 21 + .../generated/quill_localizations_sr.dart | 21 + .../generated/quill_localizations_sv.dart | 21 + .../generated/quill_localizations_sw.dart | 21 + .../generated/quill_localizations_th.dart | 21 + .../generated/quill_localizations_tk.dart | 21 + .../generated/quill_localizations_tr.dart | 21 + .../generated/quill_localizations_uk.dart | 21 + .../generated/quill_localizations_ur.dart | 21 + .../generated/quill_localizations_vi.dart | 21 + .../generated/quill_localizations_zh.dart | 21 + lib/src/l10n/quill_en.arb | 26 +- lib/src/l10n/untranslated.json | 361 +++++++++++++++--- 45 files changed, 1252 insertions(+), 64 deletions(-) diff --git a/flutter_quill_extensions/lib/src/editor/image/image_menu.dart b/flutter_quill_extensions/lib/src/editor/image/image_menu.dart index 0108794e9..3d922d606 100644 --- a/flutter_quill_extensions/lib/src/editor/image/image_menu.dart +++ b/flutter_quill_extensions/lib/src/editor/image/image_menu.dart @@ -157,23 +157,22 @@ class ImageOptionsMenu extends StatelessWidget { if (result == null) { messenger.showSnackBar(SnackBar( content: Text( - localizations.errorWhileSavingImage, + localizations.errorUnexpectedSavingImage, ))); return; } if (kIsWeb) { messenger.showSnackBar(SnackBar( - content: Text(localizations.savedUsingTheNetwork))); + content: Text(localizations.successImageDownloaded))); return; } if (result.isGallerySave) { - // TODO(save-image): Improve all messages in here messenger.showSnackBar(SnackBar( - content: Text(localizations.saved), + content: Text(localizations.successImageSavedGallery), action: SnackBarAction( - label: localizations.open, + label: localizations.openGallery, onPressed: () => QuillNativeProvider.instance.openGalleryApp(), ), @@ -190,10 +189,9 @@ class ImageOptionsMenu extends StatelessWidget { messenger.showSnackBar( SnackBar( - content: Text( - localizations.theImageHasBeenSavedAt(imageFilePath)), + content: Text(localizations.successImageSaved), action: SnackBarAction( - label: localizations.open, + label: localizations.openFileLocation, onPressed: () => launchUrl(Uri.file(imageFilePath)), ), ), diff --git a/flutter_quill_extensions/test/editor/image/widgets/image_menu_test.dart b/flutter_quill_extensions/test/editor/image/widgets/image_menu_test.dart index ffcbe9c39..50645c8c8 100644 --- a/flutter_quill_extensions/test/editor/image/widgets/image_menu_test.dart +++ b/flutter_quill_extensions/test/editor/image/widgets/image_menu_test.dart @@ -79,20 +79,37 @@ void main() { ); }); + if (kIsWeb) { + testWidgets( + 'shows a success message when the image downloaded on the web', + (tester) async { + mockSaveImageResult(const SaveImageResult( + imageFilePath: null, isGallerySave: false)); + + await pumpTargetWidget(tester); + await tapTargetWidget(tester); + + final localizations = + tester.localizationsFromElement(ImageOptionsMenu); + + expect( + find.text(localizations.successImageDownloaded), + findsOneWidget, + ); + }, + ); + } + testWidgets('shows error message when saving fails', (tester) async { mockSaveImageResult(null); await pumpTargetWidget(tester); - - final saveButtonFinder = findTargetWidget(); - - await tester.tap(saveButtonFinder); - await tester.pump(); + await tapTargetWidget(tester); final localizations = tester.localizationsFromElement(ImageOptionsMenu); expect( - find.text(localizations.errorWhileSavingImage), + find.text(localizations.errorUnexpectedSavingImage), findsOneWidget, ); @@ -117,19 +134,19 @@ void main() { final localizations = tester.localizationsFromElement(ImageOptionsMenu); expect( - find.text(localizations.saved), + find.text(localizations.successImageSavedGallery), findsOneWidget, ); expect( - find.text(localizations.open), + find.text(localizations.openGallery), findsOneWidget, ); }); for (final desktopPlatform in TargetPlatformVariant.desktop().values) { testWidgets( - 'shows saved file path and open desktop path on ${desktopPlatform.name}', + 'shows saved success image and open file path action on ${desktopPlatform.name}', (tester) async { debugDefaultTargetPlatformOverride = desktopPlatform; @@ -144,12 +161,12 @@ void main() { tester.localizationsFromElement(ImageOptionsMenu); expect( - find.text(localizations.theImageHasBeenSavedAt(savedImagePath)), + find.text(localizations.successImageSaved), findsOneWidget, ); expect( - find.text(localizations.open), + find.text(localizations.openFileLocation), findsOneWidget, ); diff --git a/lib/src/l10n/generated/quill_localizations.dart b/lib/src/l10n/generated/quill_localizations.dart index 6588ca608..ab56bbb87 100644 --- a/lib/src/l10n/generated/quill_localizations.dart +++ b/lib/src/l10n/generated/quill_localizations.dart @@ -768,6 +768,42 @@ abstract class FlutterQuillLocalizations { /// In en, this message translates to: /// **'Insert video'** String get insertVideo; + + /// A generic error message shown when an image cannot be saved due to an unknown issue. + /// + /// In en, this message translates to: + /// **'An unexpected error occurred while saving the image. Please try again.'** + String get errorUnexpectedSavingImage; + + /// Message shown on mobile when an image is successfully saved to the gallery. + /// + /// In en, this message translates to: + /// **'Image saved to your gallery.'** + String get successImageSavedGallery; + + /// Message shown on desktop when an image is successfully saved. The user is prompted to open the file location. + /// + /// In en, this message translates to: + /// **'Image saved successfully.'** + String get successImageSaved; + + /// Message shown on web when an image is successfully downloaded. + /// + /// In en, this message translates to: + /// **'Image downloaded successfully.'** + String get successImageDownloaded; + + /// Label for the button that opens the system gallery app. + /// + /// In en, this message translates to: + /// **'Open Gallery'** + String get openGallery; + + /// Label for the button that opens the file explorer to the file's location. + /// + /// In en, this message translates to: + /// **'Open File Location'** + String get openFileLocation; } class _FlutterQuillLocalizationsDelegate diff --git a/lib/src/l10n/generated/quill_localizations_ar.dart b/lib/src/l10n/generated/quill_localizations_ar.dart index c44d75bed..d7fd41bc5 100644 --- a/lib/src/l10n/generated/quill_localizations_ar.dart +++ b/lib/src/l10n/generated/quill_localizations_ar.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -302,4 +304,23 @@ class FlutterQuillLocalizationsAr extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_bg.dart b/lib/src/l10n/generated/quill_localizations_bg.dart index c98c1d651..48a36655c 100644 --- a/lib/src/l10n/generated/quill_localizations_bg.dart +++ b/lib/src/l10n/generated/quill_localizations_bg.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -304,4 +306,23 @@ class FlutterQuillLocalizationsBg extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_bn.dart b/lib/src/l10n/generated/quill_localizations_bn.dart index a1e64090b..fb20e16ea 100644 --- a/lib/src/l10n/generated/quill_localizations_bn.dart +++ b/lib/src/l10n/generated/quill_localizations_bn.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -310,4 +312,23 @@ class FlutterQuillLocalizationsBn extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_ca.dart b/lib/src/l10n/generated/quill_localizations_ca.dart index 8ff5dcd14..e75569ce7 100644 --- a/lib/src/l10n/generated/quill_localizations_ca.dart +++ b/lib/src/l10n/generated/quill_localizations_ca.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -306,4 +308,23 @@ class FlutterQuillLocalizationsCa extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_cs.dart b/lib/src/l10n/generated/quill_localizations_cs.dart index 3dd277033..ceb9d42b0 100644 --- a/lib/src/l10n/generated/quill_localizations_cs.dart +++ b/lib/src/l10n/generated/quill_localizations_cs.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -304,4 +306,23 @@ class FlutterQuillLocalizationsCs extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_da.dart b/lib/src/l10n/generated/quill_localizations_da.dart index 9634f9127..37908de75 100644 --- a/lib/src/l10n/generated/quill_localizations_da.dart +++ b/lib/src/l10n/generated/quill_localizations_da.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -302,4 +304,23 @@ class FlutterQuillLocalizationsDa extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_de.dart b/lib/src/l10n/generated/quill_localizations_de.dart index a831037e0..bed99e3b3 100644 --- a/lib/src/l10n/generated/quill_localizations_de.dart +++ b/lib/src/l10n/generated/quill_localizations_de.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -308,4 +310,23 @@ class FlutterQuillLocalizationsDe extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_el.dart b/lib/src/l10n/generated/quill_localizations_el.dart index 6139774b4..e7560e3d4 100644 --- a/lib/src/l10n/generated/quill_localizations_el.dart +++ b/lib/src/l10n/generated/quill_localizations_el.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -309,4 +311,23 @@ class FlutterQuillLocalizationsEl extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_en.dart b/lib/src/l10n/generated/quill_localizations_en.dart index d05b756a4..2c215f49f 100644 --- a/lib/src/l10n/generated/quill_localizations_en.dart +++ b/lib/src/l10n/generated/quill_localizations_en.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -304,6 +306,25 @@ class FlutterQuillLocalizationsEn extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } /// The translations for English, as used in the United States (`en_US`). diff --git a/lib/src/l10n/generated/quill_localizations_es.dart b/lib/src/l10n/generated/quill_localizations_es.dart index bba3e0065..4cf59d7ee 100644 --- a/lib/src/l10n/generated/quill_localizations_es.dart +++ b/lib/src/l10n/generated/quill_localizations_es.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -304,4 +306,23 @@ class FlutterQuillLocalizationsEs extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_fa.dart b/lib/src/l10n/generated/quill_localizations_fa.dart index 00b29a112..59d088826 100644 --- a/lib/src/l10n/generated/quill_localizations_fa.dart +++ b/lib/src/l10n/generated/quill_localizations_fa.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -305,4 +307,23 @@ class FlutterQuillLocalizationsFa extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_fr.dart b/lib/src/l10n/generated/quill_localizations_fr.dart index a7a120311..258d43107 100644 --- a/lib/src/l10n/generated/quill_localizations_fr.dart +++ b/lib/src/l10n/generated/quill_localizations_fr.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -310,4 +312,23 @@ class FlutterQuillLocalizationsFr extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_he.dart b/lib/src/l10n/generated/quill_localizations_he.dart index 9019c3bce..9b6b65411 100644 --- a/lib/src/l10n/generated/quill_localizations_he.dart +++ b/lib/src/l10n/generated/quill_localizations_he.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -304,4 +306,23 @@ class FlutterQuillLocalizationsHe extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_hi.dart b/lib/src/l10n/generated/quill_localizations_hi.dart index a0ba7d071..6709f71c7 100644 --- a/lib/src/l10n/generated/quill_localizations_hi.dart +++ b/lib/src/l10n/generated/quill_localizations_hi.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -307,4 +309,23 @@ class FlutterQuillLocalizationsHi extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_hu.dart b/lib/src/l10n/generated/quill_localizations_hu.dart index 98a04b0df..551481100 100644 --- a/lib/src/l10n/generated/quill_localizations_hu.dart +++ b/lib/src/l10n/generated/quill_localizations_hu.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -309,4 +311,23 @@ class FlutterQuillLocalizationsHu extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_id.dart b/lib/src/l10n/generated/quill_localizations_id.dart index 661d8da4b..0b6f24dcc 100644 --- a/lib/src/l10n/generated/quill_localizations_id.dart +++ b/lib/src/l10n/generated/quill_localizations_id.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -307,4 +309,23 @@ class FlutterQuillLocalizationsId extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_it.dart b/lib/src/l10n/generated/quill_localizations_it.dart index 4a2600f63..91e065d47 100644 --- a/lib/src/l10n/generated/quill_localizations_it.dart +++ b/lib/src/l10n/generated/quill_localizations_it.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -308,4 +310,23 @@ class FlutterQuillLocalizationsIt extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_ja.dart b/lib/src/l10n/generated/quill_localizations_ja.dart index 0601cc719..0c232e276 100644 --- a/lib/src/l10n/generated/quill_localizations_ja.dart +++ b/lib/src/l10n/generated/quill_localizations_ja.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -301,4 +303,23 @@ class FlutterQuillLocalizationsJa extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_km.dart b/lib/src/l10n/generated/quill_localizations_km.dart index 67e534e83..d5eeaabce 100644 --- a/lib/src/l10n/generated/quill_localizations_km.dart +++ b/lib/src/l10n/generated/quill_localizations_km.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -305,4 +307,23 @@ class FlutterQuillLocalizationsKm extends FlutterQuillLocalizations { @override String get insertVideo => 'បញ្ចូលវីដេអូ'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_ko.dart b/lib/src/l10n/generated/quill_localizations_ko.dart index 93823e6dc..da4681ad4 100644 --- a/lib/src/l10n/generated/quill_localizations_ko.dart +++ b/lib/src/l10n/generated/quill_localizations_ko.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -301,4 +303,23 @@ class FlutterQuillLocalizationsKo extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_ku.dart b/lib/src/l10n/generated/quill_localizations_ku.dart index 97c6a14c3..1462df560 100644 --- a/lib/src/l10n/generated/quill_localizations_ku.dart +++ b/lib/src/l10n/generated/quill_localizations_ku.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -305,6 +307,25 @@ class FlutterQuillLocalizationsKu extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } /// The translations for Kurdish (`ku_CKB`). diff --git a/lib/src/l10n/generated/quill_localizations_ms.dart b/lib/src/l10n/generated/quill_localizations_ms.dart index 100384b72..449e74959 100644 --- a/lib/src/l10n/generated/quill_localizations_ms.dart +++ b/lib/src/l10n/generated/quill_localizations_ms.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -305,4 +307,23 @@ class FlutterQuillLocalizationsMs extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_ne.dart b/lib/src/l10n/generated/quill_localizations_ne.dart index 01c5cc9d5..e98f64379 100644 --- a/lib/src/l10n/generated/quill_localizations_ne.dart +++ b/lib/src/l10n/generated/quill_localizations_ne.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -308,4 +310,23 @@ class FlutterQuillLocalizationsNe extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_nl.dart b/lib/src/l10n/generated/quill_localizations_nl.dart index 6024f7a9b..67113a605 100644 --- a/lib/src/l10n/generated/quill_localizations_nl.dart +++ b/lib/src/l10n/generated/quill_localizations_nl.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -306,4 +308,23 @@ class FlutterQuillLocalizationsNl extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_no.dart b/lib/src/l10n/generated/quill_localizations_no.dart index 14a74b535..36fa2a6ef 100644 --- a/lib/src/l10n/generated/quill_localizations_no.dart +++ b/lib/src/l10n/generated/quill_localizations_no.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -306,4 +308,23 @@ class FlutterQuillLocalizationsNo extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_pl.dart b/lib/src/l10n/generated/quill_localizations_pl.dart index 2e6ddbc0f..991b31a7a 100644 --- a/lib/src/l10n/generated/quill_localizations_pl.dart +++ b/lib/src/l10n/generated/quill_localizations_pl.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -303,4 +305,23 @@ class FlutterQuillLocalizationsPl extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_pt.dart b/lib/src/l10n/generated/quill_localizations_pt.dart index 5ed690019..0224d4a60 100644 --- a/lib/src/l10n/generated/quill_localizations_pt.dart +++ b/lib/src/l10n/generated/quill_localizations_pt.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -304,6 +306,25 @@ class FlutterQuillLocalizationsPt extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } /// The translations for Portuguese, as used in Brazil (`pt_BR`). diff --git a/lib/src/l10n/generated/quill_localizations_ro.dart b/lib/src/l10n/generated/quill_localizations_ro.dart index 7e444c68b..ec788888a 100644 --- a/lib/src/l10n/generated/quill_localizations_ro.dart +++ b/lib/src/l10n/generated/quill_localizations_ro.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -307,6 +309,25 @@ class FlutterQuillLocalizationsRo extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } /// The translations for Romanian Moldavian Moldovan, as used in Romania (`ro_RO`). diff --git a/lib/src/l10n/generated/quill_localizations_ru.dart b/lib/src/l10n/generated/quill_localizations_ru.dart index fbc5cdea3..cb4f37c85 100644 --- a/lib/src/l10n/generated/quill_localizations_ru.dart +++ b/lib/src/l10n/generated/quill_localizations_ru.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -307,4 +309,23 @@ class FlutterQuillLocalizationsRu extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_sk.dart b/lib/src/l10n/generated/quill_localizations_sk.dart index 1a735bb4b..e375234af 100644 --- a/lib/src/l10n/generated/quill_localizations_sk.dart +++ b/lib/src/l10n/generated/quill_localizations_sk.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -308,4 +310,23 @@ class FlutterQuillLocalizationsSk extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_sr.dart b/lib/src/l10n/generated/quill_localizations_sr.dart index 57fb9a368..072ce0422 100644 --- a/lib/src/l10n/generated/quill_localizations_sr.dart +++ b/lib/src/l10n/generated/quill_localizations_sr.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -306,4 +308,23 @@ class FlutterQuillLocalizationsSr extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_sv.dart b/lib/src/l10n/generated/quill_localizations_sv.dart index bc689f920..307dd4047 100644 --- a/lib/src/l10n/generated/quill_localizations_sv.dart +++ b/lib/src/l10n/generated/quill_localizations_sv.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -304,4 +306,23 @@ class FlutterQuillLocalizationsSv extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_sw.dart b/lib/src/l10n/generated/quill_localizations_sw.dart index b073303d1..562093f0e 100644 --- a/lib/src/l10n/generated/quill_localizations_sw.dart +++ b/lib/src/l10n/generated/quill_localizations_sw.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -306,4 +308,23 @@ class FlutterQuillLocalizationsSw extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_th.dart b/lib/src/l10n/generated/quill_localizations_th.dart index a0604a307..beb6b0cd0 100644 --- a/lib/src/l10n/generated/quill_localizations_th.dart +++ b/lib/src/l10n/generated/quill_localizations_th.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -304,4 +306,23 @@ class FlutterQuillLocalizationsTh extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_tk.dart b/lib/src/l10n/generated/quill_localizations_tk.dart index 21d0aec94..b5665713f 100644 --- a/lib/src/l10n/generated/quill_localizations_tk.dart +++ b/lib/src/l10n/generated/quill_localizations_tk.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -302,4 +304,23 @@ class FlutterQuillLocalizationsTk extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_tr.dart b/lib/src/l10n/generated/quill_localizations_tr.dart index 2523b6647..84ef2632c 100644 --- a/lib/src/l10n/generated/quill_localizations_tr.dart +++ b/lib/src/l10n/generated/quill_localizations_tr.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -305,4 +307,23 @@ class FlutterQuillLocalizationsTr extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_uk.dart b/lib/src/l10n/generated/quill_localizations_uk.dart index 97565005f..7c923a7b2 100644 --- a/lib/src/l10n/generated/quill_localizations_uk.dart +++ b/lib/src/l10n/generated/quill_localizations_uk.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -308,4 +310,23 @@ class FlutterQuillLocalizationsUk extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_ur.dart b/lib/src/l10n/generated/quill_localizations_ur.dart index 1e32f7a20..267e9b542 100644 --- a/lib/src/l10n/generated/quill_localizations_ur.dart +++ b/lib/src/l10n/generated/quill_localizations_ur.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -308,4 +310,23 @@ class FlutterQuillLocalizationsUr extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_vi.dart b/lib/src/l10n/generated/quill_localizations_vi.dart index 49addf610..fd05fe02e 100644 --- a/lib/src/l10n/generated/quill_localizations_vi.dart +++ b/lib/src/l10n/generated/quill_localizations_vi.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -304,4 +306,23 @@ class FlutterQuillLocalizationsVi extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } diff --git a/lib/src/l10n/generated/quill_localizations_zh.dart b/lib/src/l10n/generated/quill_localizations_zh.dart index 185c8cce3..9453473f8 100644 --- a/lib/src/l10n/generated/quill_localizations_zh.dart +++ b/lib/src/l10n/generated/quill_localizations_zh.dart @@ -1,3 +1,5 @@ +// ignore: unused_import +import 'package:intl/intl.dart' as intl; import 'quill_localizations.dart'; // ignore_for_file: type=lint @@ -301,6 +303,25 @@ class FlutterQuillLocalizationsZh extends FlutterQuillLocalizations { @override String get insertVideo => 'Insert video'; + + @override + String get errorUnexpectedSavingImage => + 'An unexpected error occurred while saving the image. Please try again.'; + + @override + String get successImageSavedGallery => 'Image saved to your gallery.'; + + @override + String get successImageSaved => 'Image saved successfully.'; + + @override + String get successImageDownloaded => 'Image downloaded successfully.'; + + @override + String get openGallery => 'Open Gallery'; + + @override + String get openFileLocation => 'Open File Location'; } /// The translations for Chinese, as used in China (`zh_CN`). diff --git a/lib/src/l10n/quill_en.arb b/lib/src/l10n/quill_en.arb index 9a0ffbcd1..bc8d8439c 100644 --- a/lib/src/l10n/quill_en.arb +++ b/lib/src/l10n/quill_en.arb @@ -109,5 +109,29 @@ "cut": "Cut", "paste": "Paste", "insertTable": "Insert table", - "insertVideo": "Insert video" + "insertVideo": "Insert video", + "errorUnexpectedSavingImage": "An unexpected error occurred while saving the image. Please try again.", + "@errorUnexpectedSavingImage": { + "description": "A generic error message shown when an image cannot be saved due to an unknown issue." + }, + "successImageSavedGallery": "Image saved to your gallery.", + "@successImageSavedGallery": { + "description": "Message shown on mobile when an image is successfully saved to the gallery." + }, + "successImageSaved": "Image saved successfully.", + "@successImageSaved": { + "description": "Message shown on desktop when an image is successfully saved. The user is prompted to open the file location." + }, + "successImageDownloaded": "Image downloaded successfully.", + "@successImageDownloaded": { + "description": "Message shown on web when an image is successfully downloaded." + }, + "openGallery": "Open Gallery", + "@openGallery": { + "description": "Label for the button that opens the system gallery app." + }, + "openFileLocation": "Open File Location", + "@openFileLocation": { + "description": "Label for the button that opens the file explorer to the file's location." + } } diff --git a/lib/src/l10n/untranslated.json b/lib/src/l10n/untranslated.json index dcee357f7..24ad7bbc2 100644 --- a/lib/src/l10n/untranslated.json +++ b/lib/src/l10n/untranslated.json @@ -1,177 +1,450 @@ { "ar": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "bg": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "bn": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "ca": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "cs": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "da": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "de": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "el": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "en_US": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "es": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "fa": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "fr": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "he": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "hi": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "hu": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "id": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "it": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "ja": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" + ], + + "km": [ + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "ko": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "ku": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "ku_CKB": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "ms": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "ne": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "nl": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "no": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "pl": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "pt": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "pt_BR": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "ro": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "ro_RO": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "ru": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "sk": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "sr": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "sv": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "sw": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "th": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "tk": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "tr": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "uk": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "ur": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "vi": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "zh": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "zh_CN": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ], "zh_HK": [ - "insertVideo" + "insertVideo", + "errorUnexpectedSavingImage", + "successImageSavedGallery", + "successImageSaved", + "successImageDownloaded", + "openGallery", + "openFileLocation" ] }