From 40d7bdde2aab2618334bc1d9650b614b22dbdad7 Mon Sep 17 00:00:00 2001 From: Ellet Date: Sun, 12 Nov 2023 06:16:00 +0300 Subject: [PATCH] Update the script to format the files --- .../gen_l10n/flutter_quill_localizations.dart | 190 ++++++++++++------ .../flutter_quill_localizations_ar.dart | 3 +- .../flutter_quill_localizations_bg.dart | 6 +- .../flutter_quill_localizations_bn.dart | 9 +- .../flutter_quill_localizations_cs.dart | 9 +- .../flutter_quill_localizations_da.dart | 3 +- .../flutter_quill_localizations_de.dart | 3 +- .../flutter_quill_localizations_en.dart | 17 +- .../flutter_quill_localizations_es.dart | 3 +- .../flutter_quill_localizations_fa.dart | 12 +- .../flutter_quill_localizations_fr.dart | 12 +- .../flutter_quill_localizations_he.dart | 9 +- .../flutter_quill_localizations_hi.dart | 12 +- .../flutter_quill_localizations_id.dart | 12 +- .../flutter_quill_localizations_it.dart | 15 +- .../flutter_quill_localizations_ja.dart | 3 +- .../flutter_quill_localizations_ko.dart | 3 +- .../flutter_quill_localizations_ms.dart | 9 +- .../flutter_quill_localizations_nl.dart | 9 +- .../flutter_quill_localizations_no.dart | 9 +- .../flutter_quill_localizations_pl.dart | 3 +- .../flutter_quill_localizations_pt.dart | 8 +- .../flutter_quill_localizations_ru.dart | 3 +- .../flutter_quill_localizations_sr.dart | 12 +- .../flutter_quill_localizations_sw.dart | 6 +- .../flutter_quill_localizations_tk.dart | 3 +- .../flutter_quill_localizations_tr.dart | 3 +- .../flutter_quill_localizations_uk.dart | 3 +- .../flutter_quill_localizations_ur.dart | 12 +- .../flutter_quill_localizations_vi.dart | 9 +- .../flutter_quill_localizations_zh.dart | 7 +- scripts/renegerate-translations.sh | 6 +- 32 files changed, 285 insertions(+), 138 deletions(-) diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations.dart index 83c97d69..c12f9377 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations.dart @@ -88,7 +88,8 @@ import 'flutter_quill_localizations_zh.dart'; /// be consistent with the languages listed in the AppLocalizations.supportedLocales /// property. abstract class AppLocalizations { - AppLocalizations(String locale) : localeName = intl.Intl.canonicalizedLocale(locale.toString()); + AppLocalizations(String locale) + : localeName = intl.Intl.canonicalizedLocale(locale.toString()); final String localeName; @@ -96,7 +97,8 @@ abstract class AppLocalizations { return Localizations.of(context, AppLocalizations); } - static const LocalizationsDelegate delegate = _AppLocalizationsDelegate(); + static const LocalizationsDelegate delegate = + _AppLocalizationsDelegate(); /// A list of this localizations delegate along with the default localizations /// delegates. @@ -108,7 +110,8 @@ abstract class AppLocalizations { /// Additional delegates can be added by appending to this list in /// MaterialApp. This list does not have to be used at all if a custom list /// of delegates is preferred or required. - static const List> localizationsDelegates = >[ + static const List> localizationsDelegates = + >[ delegate, GlobalMaterialLocalizations.delegate, GlobalCupertinoLocalizations.delegate, @@ -592,7 +595,8 @@ abstract class AppLocalizations { String get caseSensitivityAndWholeWordSearch; } -class _AppLocalizationsDelegate extends LocalizationsDelegate { +class _AppLocalizationsDelegate + extends LocalizationsDelegate { const _AppLocalizationsDelegate(); @override @@ -601,75 +605,141 @@ class _AppLocalizationsDelegate extends LocalizationsDelegate } @override - bool isSupported(Locale locale) => ['ar', 'bg', 'bn', 'cs', 'da', 'de', 'en', 'es', 'fa', 'fr', 'he', 'hi', 'id', 'it', 'ja', 'ko', 'ms', 'nl', 'no', 'pl', 'pt', 'ru', 'sr', 'sw', 'tk', 'tr', 'uk', 'ur', 'vi', 'zh'].contains(locale.languageCode); + bool isSupported(Locale locale) => [ + 'ar', + 'bg', + 'bn', + 'cs', + 'da', + 'de', + 'en', + 'es', + 'fa', + 'fr', + 'he', + 'hi', + 'id', + 'it', + 'ja', + 'ko', + 'ms', + 'nl', + 'no', + 'pl', + 'pt', + 'ru', + 'sr', + 'sw', + 'tk', + 'tr', + 'uk', + 'ur', + 'vi', + 'zh' + ].contains(locale.languageCode); @override bool shouldReload(_AppLocalizationsDelegate old) => false; } AppLocalizations lookupAppLocalizations(Locale locale) { - // Lookup logic when language+country codes are specified. switch (locale.languageCode) { - case 'en': { - switch (locale.countryCode) { - case 'US': return AppLocalizationsEnUs(); - } - break; - } - case 'pt': { - switch (locale.countryCode) { - case 'BR': return AppLocalizationsPtBr(); - } - break; - } - case 'zh': { - switch (locale.countryCode) { - case 'CN': return AppLocalizationsZhCn(); -case 'HK': return AppLocalizationsZhHk(); - } - break; - } + case 'en': + { + switch (locale.countryCode) { + case 'US': + return AppLocalizationsEnUs(); + } + break; + } + case 'pt': + { + switch (locale.countryCode) { + case 'BR': + return AppLocalizationsPtBr(); + } + break; + } + case 'zh': + { + switch (locale.countryCode) { + case 'CN': + return AppLocalizationsZhCn(); + case 'HK': + return AppLocalizationsZhHk(); + } + break; + } } // Lookup logic when only language code is specified. switch (locale.languageCode) { - case 'ar': return AppLocalizationsAr(); - case 'bg': return AppLocalizationsBg(); - case 'bn': return AppLocalizationsBn(); - case 'cs': return AppLocalizationsCs(); - case 'da': return AppLocalizationsDa(); - case 'de': return AppLocalizationsDe(); - case 'en': return AppLocalizationsEn(); - case 'es': return AppLocalizationsEs(); - case 'fa': return AppLocalizationsFa(); - case 'fr': return AppLocalizationsFr(); - case 'he': return AppLocalizationsHe(); - case 'hi': return AppLocalizationsHi(); - case 'id': return AppLocalizationsId(); - case 'it': return AppLocalizationsIt(); - case 'ja': return AppLocalizationsJa(); - case 'ko': return AppLocalizationsKo(); - case 'ms': return AppLocalizationsMs(); - case 'nl': return AppLocalizationsNl(); - case 'no': return AppLocalizationsNo(); - case 'pl': return AppLocalizationsPl(); - case 'pt': return AppLocalizationsPt(); - case 'ru': return AppLocalizationsRu(); - case 'sr': return AppLocalizationsSr(); - case 'sw': return AppLocalizationsSw(); - case 'tk': return AppLocalizationsTk(); - case 'tr': return AppLocalizationsTr(); - case 'uk': return AppLocalizationsUk(); - case 'ur': return AppLocalizationsUr(); - case 'vi': return AppLocalizationsVi(); - case 'zh': return AppLocalizationsZh(); + case 'ar': + return AppLocalizationsAr(); + case 'bg': + return AppLocalizationsBg(); + case 'bn': + return AppLocalizationsBn(); + case 'cs': + return AppLocalizationsCs(); + case 'da': + return AppLocalizationsDa(); + case 'de': + return AppLocalizationsDe(); + case 'en': + return AppLocalizationsEn(); + case 'es': + return AppLocalizationsEs(); + case 'fa': + return AppLocalizationsFa(); + case 'fr': + return AppLocalizationsFr(); + case 'he': + return AppLocalizationsHe(); + case 'hi': + return AppLocalizationsHi(); + case 'id': + return AppLocalizationsId(); + case 'it': + return AppLocalizationsIt(); + case 'ja': + return AppLocalizationsJa(); + case 'ko': + return AppLocalizationsKo(); + case 'ms': + return AppLocalizationsMs(); + case 'nl': + return AppLocalizationsNl(); + case 'no': + return AppLocalizationsNo(); + case 'pl': + return AppLocalizationsPl(); + case 'pt': + return AppLocalizationsPt(); + case 'ru': + return AppLocalizationsRu(); + case 'sr': + return AppLocalizationsSr(); + case 'sw': + return AppLocalizationsSw(); + case 'tk': + return AppLocalizationsTk(); + case 'tr': + return AppLocalizationsTr(); + case 'uk': + return AppLocalizationsUk(); + case 'ur': + return AppLocalizationsUr(); + case 'vi': + return AppLocalizationsVi(); + case 'zh': + return AppLocalizationsZh(); } throw FlutterError( - 'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely ' - 'an issue with the localizations generation tool. Please file an issue ' - 'on GitHub with a reproducible sample app and the gen-l10n configuration ' - 'that was used.' - ); + 'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely ' + 'an issue with the localizations generation tool. Please file an issue ' + 'on GitHub with a reproducible sample app and the gen-l10n configuration ' + 'that was used.'); } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ar.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ar.dart index d0ba5a0f..b9bf0bd7 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ar.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ar.dart @@ -221,5 +221,6 @@ class AppLocalizationsAr extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_bg.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_bg.dart index 3c989466..b6ad830e 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_bg.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_bg.dart @@ -209,7 +209,8 @@ class AppLocalizationsBg extends AppLocalizations { String get pleaseEnterTheLinkURL => "Например, 'https://example.com'"; @override - String get pleaseEnterAValidImageURL => 'Моля, въведете валиден URL на изображението'; + String get pleaseEnterAValidImageURL => + 'Моля, въведете валиден URL на изображението'; @override String get pleaseEnterAValidVideoURL => 'Please enter a valid video url'; @@ -221,5 +222,6 @@ class AppLocalizationsBg extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_bn.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_bn.dart index fe917657..c38b08aa 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_bn.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_bn.dart @@ -203,10 +203,12 @@ class AppLocalizationsBn extends AppLocalizations { String get errorWhileSavingImage => 'চিত্র সংরক্ষণে সময়ে ত্রুটি'; @override - String get pleaseEnterTextForYourLink => "Please enter a text for your link (e.g., 'Learn more')"; + String get pleaseEnterTextForYourLink => + "Please enter a text for your link (e.g., 'Learn more')"; @override - String get pleaseEnterTheLinkURL => "Please enter the link URL (e.g., 'https://example.com')"; + String get pleaseEnterTheLinkURL => + "Please enter the link URL (e.g., 'https://example.com')"; @override String get pleaseEnterAValidImageURL => 'Please enter a valid image URL'; @@ -221,5 +223,6 @@ class AppLocalizationsBn extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_cs.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_cs.dart index c7052059..0056880a 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_cs.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_cs.dart @@ -203,10 +203,12 @@ class AppLocalizationsCs extends AppLocalizations { String get errorWhileSavingImage => 'Chyba při ukládání obrázku'; @override - String get pleaseEnterTextForYourLink => "Please enter a text for your link (e.g., 'Learn more')"; + String get pleaseEnterTextForYourLink => + "Please enter a text for your link (e.g., 'Learn more')"; @override - String get pleaseEnterTheLinkURL => "Please enter the link URL (e.g., 'https://example.com')"; + String get pleaseEnterTheLinkURL => + "Please enter the link URL (e.g., 'https://example.com')"; @override String get pleaseEnterAValidImageURL => 'Please enter a valid image URL'; @@ -221,5 +223,6 @@ class AppLocalizationsCs extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_da.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_da.dart index b87612cd..dabab941 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_da.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_da.dart @@ -221,5 +221,6 @@ class AppLocalizationsDa extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_de.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_de.dart index 3a30a3d6..97ca6dfd 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_de.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_de.dart @@ -221,5 +221,6 @@ class AppLocalizationsDe extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_en.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_en.dart index 204a916b..5e4d49c8 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_en.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_en.dart @@ -203,10 +203,12 @@ class AppLocalizationsEn extends AppLocalizations { String get errorWhileSavingImage => 'Error while saving image'; @override - String get pleaseEnterTextForYourLink => "Please enter a text for your link (e.g., 'Learn more')"; + String get pleaseEnterTextForYourLink => + "Please enter a text for your link (e.g., 'Learn more')"; @override - String get pleaseEnterTheLinkURL => "Please enter the link URL (e.g., 'https://example.com')"; + String get pleaseEnterTheLinkURL => + "Please enter the link URL (e.g., 'https://example.com')"; @override String get pleaseEnterAValidImageURL => 'Please enter a valid image URL'; @@ -221,12 +223,13 @@ class AppLocalizationsEn extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } /// The translations for English, as used in the United States (`en_US`). class AppLocalizationsEnUs extends AppLocalizationsEn { - AppLocalizationsEnUs(): super('en_US'); + AppLocalizationsEnUs() : super('en_US'); @override String get pasteLink => 'Paste a link'; @@ -427,10 +430,12 @@ class AppLocalizationsEnUs extends AppLocalizationsEn { String get errorWhileSavingImage => 'Error while saving image'; @override - String get pleaseEnterTextForYourLink => "Please enter a text for your link (e.g., 'Learn more')"; + String get pleaseEnterTextForYourLink => + "Please enter a text for your link (e.g., 'Learn more')"; @override - String get pleaseEnterTheLinkURL => "Please enter the link URL (e.g., 'https://example.com')"; + String get pleaseEnterTheLinkURL => + "Please enter the link URL (e.g., 'https://example.com')"; @override String get pleaseEnterAValidImageURL => 'Please enter a valid image URL'; diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_es.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_es.dart index 846ad12c..d9d10e1b 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_es.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_es.dart @@ -221,5 +221,6 @@ class AppLocalizationsEs extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_fa.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_fa.dart index 2cf77d33..7dd1534a 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_fa.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_fa.dart @@ -197,16 +197,19 @@ class AppLocalizationsFa extends AppLocalizations { String get savedUsingTheNetwork => 'Saved using the network'; @override - String get savedUsingLocalStorage => 'ذخیره شده با استفاده از فضای ذخیره محلی'; + String get savedUsingLocalStorage => + 'ذخیره شده با استفاده از فضای ذخیره محلی'; @override String get errorWhileSavingImage => 'خطا در هنگام ذخیره تصویر'; @override - String get pleaseEnterTextForYourLink => "Please enter a text for your link (e.g., 'Learn more')"; + String get pleaseEnterTextForYourLink => + "Please enter a text for your link (e.g., 'Learn more')"; @override - String get pleaseEnterTheLinkURL => "Please enter the link URL (e.g., 'https://example.com')"; + String get pleaseEnterTheLinkURL => + "Please enter the link URL (e.g., 'https://example.com')"; @override String get pleaseEnterAValidImageURL => 'Please enter a valid image URL'; @@ -221,5 +224,6 @@ class AppLocalizationsFa extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_fr.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_fr.dart index 7eb3c989..60ed4e74 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_fr.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_fr.dart @@ -197,10 +197,12 @@ class AppLocalizationsFr extends AppLocalizations { String get savedUsingTheNetwork => 'Enregistré via le réseau'; @override - String get savedUsingLocalStorage => 'Enregistré en utilisant le stockage local'; + String get savedUsingLocalStorage => + 'Enregistré en utilisant le stockage local'; @override - String get errorWhileSavingImage => "Erreur lors de l'enregistrement de l'image"; + String get errorWhileSavingImage => + "Erreur lors de l'enregistrement de l'image"; @override String get pleaseEnterTextForYourLink => "par exemple, 'En savoir plus'"; @@ -209,7 +211,8 @@ class AppLocalizationsFr extends AppLocalizations { String get pleaseEnterTheLinkURL => "par exemple, 'https://example.com'"; @override - String get pleaseEnterAValidImageURL => "Veuillez saisir une URL d'image valide"; + String get pleaseEnterAValidImageURL => + "Veuillez saisir une URL d'image valide"; @override String get pleaseEnterAValidVideoURL => 'Please enter a valid video url'; @@ -221,5 +224,6 @@ class AppLocalizationsFr extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_he.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_he.dart index 61924a40..0a944fe5 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_he.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_he.dart @@ -203,10 +203,12 @@ class AppLocalizationsHe extends AppLocalizations { String get errorWhileSavingImage => 'שגיאה בעת שמירת התמונה'; @override - String get pleaseEnterTextForYourLink => "Please enter a text for your link (e.g., 'Learn more')"; + String get pleaseEnterTextForYourLink => + "Please enter a text for your link (e.g., 'Learn more')"; @override - String get pleaseEnterTheLinkURL => "Please enter the link URL (e.g., 'https://example.com')"; + String get pleaseEnterTheLinkURL => + "Please enter the link URL (e.g., 'https://example.com')"; @override String get pleaseEnterAValidImageURL => 'Please enter a valid image URL'; @@ -221,5 +223,6 @@ class AppLocalizationsHe extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_hi.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_hi.dart index 8a3ba9be..c6858c2f 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_hi.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_hi.dart @@ -197,16 +197,19 @@ class AppLocalizationsHi extends AppLocalizations { String get savedUsingTheNetwork => 'Saved using the network'; @override - String get savedUsingLocalStorage => 'स्थानीय संग्रहण का उपयोग करके सहेजा गया'; + String get savedUsingLocalStorage => + 'स्थानीय संग्रहण का उपयोग करके सहेजा गया'; @override String get errorWhileSavingImage => 'तस्वीर सहेजते समय त्रुटि'; @override - String get pleaseEnterTextForYourLink => "Please enter a text for your link (e.g., 'Learn more')"; + String get pleaseEnterTextForYourLink => + "Please enter a text for your link (e.g., 'Learn more')"; @override - String get pleaseEnterTheLinkURL => "Please enter the link URL (e.g., 'https://example.com')"; + String get pleaseEnterTheLinkURL => + "Please enter the link URL (e.g., 'https://example.com')"; @override String get pleaseEnterAValidImageURL => 'Please enter a valid image URL'; @@ -221,5 +224,6 @@ class AppLocalizationsHi extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_id.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_id.dart index d9e5541e..55c2c366 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_id.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_id.dart @@ -197,16 +197,19 @@ class AppLocalizationsId extends AppLocalizations { String get savedUsingTheNetwork => 'Saved using the network'; @override - String get savedUsingLocalStorage => 'Tersimpan menggunakan penyimpanan lokal'; + String get savedUsingLocalStorage => + 'Tersimpan menggunakan penyimpanan lokal'; @override String get errorWhileSavingImage => 'Error saat menyimpan gambar'; @override - String get pleaseEnterTextForYourLink => "Please enter a text for your link (e.g., 'Learn more')"; + String get pleaseEnterTextForYourLink => + "Please enter a text for your link (e.g., 'Learn more')"; @override - String get pleaseEnterTheLinkURL => "Please enter the link URL (e.g., 'https://example.com')"; + String get pleaseEnterTheLinkURL => + "Please enter the link URL (e.g., 'https://example.com')"; @override String get pleaseEnterAValidImageURL => 'Please enter a valid image URL'; @@ -221,5 +224,6 @@ class AppLocalizationsId extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_it.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_it.dart index 4b138c8b..45a52340 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_it.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_it.dart @@ -197,16 +197,20 @@ class AppLocalizationsIt extends AppLocalizations { String get savedUsingTheNetwork => 'Saved using the network'; @override - String get savedUsingLocalStorage => 'Salvato utilizzando la memorizzazione locale'; + String get savedUsingLocalStorage => + 'Salvato utilizzando la memorizzazione locale'; @override - String get errorWhileSavingImage => "Errore durante il salvataggio dell'immagine"; + String get errorWhileSavingImage => + "Errore durante il salvataggio dell'immagine"; @override - String get pleaseEnterTextForYourLink => "Please enter a text for your link (e.g., 'Learn more')"; + String get pleaseEnterTextForYourLink => + "Please enter a text for your link (e.g., 'Learn more')"; @override - String get pleaseEnterTheLinkURL => "Please enter the link URL (e.g., 'https://example.com')"; + String get pleaseEnterTheLinkURL => + "Please enter the link URL (e.g., 'https://example.com')"; @override String get pleaseEnterAValidImageURL => 'Please enter a valid image URL'; @@ -221,5 +225,6 @@ class AppLocalizationsIt extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ja.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ja.dart index 067db5f3..69956870 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ja.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ja.dart @@ -221,5 +221,6 @@ class AppLocalizationsJa extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ko.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ko.dart index 64f147ac..70d60d38 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ko.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ko.dart @@ -221,5 +221,6 @@ class AppLocalizationsKo extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ms.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ms.dart index 9a776c92..bce3ed2f 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ms.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ms.dart @@ -203,10 +203,12 @@ class AppLocalizationsMs extends AppLocalizations { String get errorWhileSavingImage => 'Error while saving image'; @override - String get pleaseEnterTextForYourLink => "Please enter a text for your link (e.g., 'Learn more')"; + String get pleaseEnterTextForYourLink => + "Please enter a text for your link (e.g., 'Learn more')"; @override - String get pleaseEnterTheLinkURL => "Please enter the link URL (e.g., 'https://example.com')"; + String get pleaseEnterTheLinkURL => + "Please enter the link URL (e.g., 'https://example.com')"; @override String get pleaseEnterAValidImageURL => 'Please enter a valid image URL'; @@ -221,5 +223,6 @@ class AppLocalizationsMs extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_nl.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_nl.dart index 4d0723b0..777966da 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_nl.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_nl.dart @@ -203,10 +203,12 @@ class AppLocalizationsNl extends AppLocalizations { String get errorWhileSavingImage => 'Error while saving image'; @override - String get pleaseEnterTextForYourLink => "Please enter a text for your link (e.g., 'Learn more')"; + String get pleaseEnterTextForYourLink => + "Please enter a text for your link (e.g., 'Learn more')"; @override - String get pleaseEnterTheLinkURL => "Please enter the link URL (e.g., 'https://example.com')"; + String get pleaseEnterTheLinkURL => + "Please enter the link URL (e.g., 'https://example.com')"; @override String get pleaseEnterAValidImageURL => 'Please enter a valid image URL'; @@ -221,5 +223,6 @@ class AppLocalizationsNl extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_no.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_no.dart index 99c63edd..1b2fdff6 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_no.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_no.dart @@ -203,10 +203,12 @@ class AppLocalizationsNo extends AppLocalizations { String get errorWhileSavingImage => 'Feil ved lagring av bilde'; @override - String get pleaseEnterTextForYourLink => "Please enter a text for your link (e.g., 'Learn more')"; + String get pleaseEnterTextForYourLink => + "Please enter a text for your link (e.g., 'Learn more')"; @override - String get pleaseEnterTheLinkURL => "Please enter the link URL (e.g., 'https://example.com')"; + String get pleaseEnterTheLinkURL => + "Please enter the link URL (e.g., 'https://example.com')"; @override String get pleaseEnterAValidImageURL => 'Please enter a valid image URL'; @@ -221,5 +223,6 @@ class AppLocalizationsNo extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_pl.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_pl.dart index 2151f93e..9e8989a0 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_pl.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_pl.dart @@ -221,5 +221,6 @@ class AppLocalizationsPl extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_pt.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_pt.dart index 8e095f1d..d2c6c025 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_pt.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_pt.dart @@ -197,7 +197,8 @@ class AppLocalizationsPt extends AppLocalizations { String get savedUsingTheNetwork => 'Guardado através da network'; @override - String get savedUsingLocalStorage => 'Guardado através do armazenamento local'; + String get savedUsingLocalStorage => + 'Guardado através do armazenamento local'; @override String get errorWhileSavingImage => 'Erro a gravar imagem'; @@ -221,12 +222,13 @@ class AppLocalizationsPt extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } /// The translations for Portuguese, as used in Brazil (`pt_BR`). class AppLocalizationsPtBr extends AppLocalizationsPt { - AppLocalizationsPtBr(): super('pt_BR'); + AppLocalizationsPtBr() : super('pt_BR'); @override String get pasteLink => 'Colar um link'; diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ru.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ru.dart index 9aea7a83..67a13c12 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ru.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ru.dart @@ -221,5 +221,6 @@ class AppLocalizationsRu extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_sr.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_sr.dart index e421fa79..8547cd1e 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_sr.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_sr.dart @@ -197,16 +197,19 @@ class AppLocalizationsSr extends AppLocalizations { String get savedUsingTheNetwork => 'Saved using the network'; @override - String get savedUsingLocalStorage => 'Sačuvano korišćenjem lokalnog skladišta'; + String get savedUsingLocalStorage => + 'Sačuvano korišćenjem lokalnog skladišta'; @override String get errorWhileSavingImage => 'Greška pri čuvanju slike'; @override - String get pleaseEnterTextForYourLink => "Please enter a text for your link (e.g., 'Learn more')"; + String get pleaseEnterTextForYourLink => + "Please enter a text for your link (e.g., 'Learn more')"; @override - String get pleaseEnterTheLinkURL => "Please enter the link URL (e.g., 'https://example.com')"; + String get pleaseEnterTheLinkURL => + "Please enter the link URL (e.g., 'https://example.com')"; @override String get pleaseEnterAValidImageURL => 'Please enter a valid image URL'; @@ -221,5 +224,6 @@ class AppLocalizationsSr extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_sw.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_sw.dart index 00ba9018..1bebd226 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_sw.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_sw.dart @@ -209,7 +209,8 @@ class AppLocalizationsSw extends AppLocalizations { String get pleaseEnterTheLinkURL => "Kwa mfano, 'https://example.com'"; @override - String get pleaseEnterAValidImageURL => 'Tafadhali ingiza URL halali ya picha'; + String get pleaseEnterAValidImageURL => + 'Tafadhali ingiza URL halali ya picha'; @override String get pleaseEnterAValidVideoURL => 'Please enter a valid video url'; @@ -221,5 +222,6 @@ class AppLocalizationsSw extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_tk.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_tk.dart index 22f2b613..9cd1e164 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_tk.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_tk.dart @@ -221,5 +221,6 @@ class AppLocalizationsTk extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_tr.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_tr.dart index 927bf1e1..1e30d506 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_tr.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_tr.dart @@ -221,5 +221,6 @@ class AppLocalizationsTr extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_uk.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_uk.dart index d8a32bf6..fdf68674 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_uk.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_uk.dart @@ -221,5 +221,6 @@ class AppLocalizationsUk extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ur.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ur.dart index 81160f07..dfc365c5 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ur.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_ur.dart @@ -197,16 +197,19 @@ class AppLocalizationsUr extends AppLocalizations { String get savedUsingTheNetwork => 'Saved using the network'; @override - String get savedUsingLocalStorage => 'مقامی ذخیرہ کار استعمال کر کے محفوظ ہوا'; + String get savedUsingLocalStorage => + 'مقامی ذخیرہ کار استعمال کر کے محفوظ ہوا'; @override String get errorWhileSavingImage => 'تصویر کو محفوظ کرتے وقت خطا'; @override - String get pleaseEnterTextForYourLink => "Please enter a text for your link (e.g., 'Learn more')"; + String get pleaseEnterTextForYourLink => + "Please enter a text for your link (e.g., 'Learn more')"; @override - String get pleaseEnterTheLinkURL => "Please enter the link URL (e.g., 'https://example.com')"; + String get pleaseEnterTheLinkURL => + "Please enter the link URL (e.g., 'https://example.com')"; @override String get pleaseEnterAValidImageURL => 'Please enter a valid image URL'; @@ -221,5 +224,6 @@ class AppLocalizationsUr extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_vi.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_vi.dart index df45350b..8ff210e3 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_vi.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_vi.dart @@ -203,10 +203,12 @@ class AppLocalizationsVi extends AppLocalizations { String get errorWhileSavingImage => 'Lỗi khi lưu hình ảnh'; @override - String get pleaseEnterTextForYourLink => "Please enter a text for your link (e.g., 'Learn more')"; + String get pleaseEnterTextForYourLink => + "Please enter a text for your link (e.g., 'Learn more')"; @override - String get pleaseEnterTheLinkURL => "Please enter the link URL (e.g., 'https://example.com')"; + String get pleaseEnterTheLinkURL => + "Please enter the link URL (e.g., 'https://example.com')"; @override String get pleaseEnterAValidImageURL => 'Please enter a valid image URL'; @@ -221,5 +223,6 @@ class AppLocalizationsVi extends AppLocalizations { String get image => 'Image'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } diff --git a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_zh.dart b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_zh.dart index 7161fd4f..1147f6e3 100644 --- a/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_zh.dart +++ b/lib/src/gen/flutter_gen/gen_l10n/flutter_quill_localizations_zh.dart @@ -221,12 +221,13 @@ class AppLocalizationsZh extends AppLocalizations { String get image => '图像'; @override - String get caseSensitivityAndWholeWordSearch => 'Case sensitivity and whole word search'; + String get caseSensitivityAndWholeWordSearch => + 'Case sensitivity and whole word search'; } /// The translations for Chinese, as used in China (`zh_CN`). class AppLocalizationsZhCn extends AppLocalizationsZh { - AppLocalizationsZhCn(): super('zh_CN'); + AppLocalizationsZhCn() : super('zh_CN'); @override String get pasteLink => '粘贴链接'; @@ -429,7 +430,7 @@ class AppLocalizationsZhCn extends AppLocalizationsZh { /// The translations for Chinese, as used in Hong Kong (`zh_HK`). class AppLocalizationsZhHk extends AppLocalizationsZh { - AppLocalizationsZhHk(): super('zh_HK'); + AppLocalizationsZhHk() : super('zh_HK'); @override String get pasteLink => '貼上連結'; diff --git a/scripts/renegerate-translations.sh b/scripts/renegerate-translations.sh index a69bd8cd..5a1332b1 100755 --- a/scripts/renegerate-translations.sh +++ b/scripts/renegerate-translations.sh @@ -23,4 +23,8 @@ rm lib/src/gen/flutter_gen/pubspec.yaml echo "" echo "Apply dart fixes to the newly generated files" -dart fix --apply \ No newline at end of file +dart fix --apply + +echo "" +echo "Formate the newly generated dart files" +dart format . \ No newline at end of file