parent
eb86031364
commit
7c0ea59da4
101 changed files with 900 additions and 3184 deletions
@ -1,3 +1,3 @@ |
||||
# Development notes |
||||
|
||||
- When update the translations or localizations in the app, please take a look at the [translation](./translation.md) page as it have important notes in order to work |
||||
- When update the translations or localizations in the app, please take a look at the [Translation](./translation.md) page as it have important notes in order to work, if you also adding a feature that add new localizations then you need to the instructions of it in order for the translations to take affect |
@ -1,16 +0,0 @@ |
||||
import 'package:flutter/widgets.dart' show BuildContext; |
||||
|
||||
import '../l10n/generated/quill_localizations.dart' as generated; |
||||
|
||||
// import '../gen/flutter_gen/gen_l10n/quill_localizations.dart' as generated; |
||||
|
||||
typedef FlutterQuillLocalizations = generated.FlutterQuillLocalizations; |
||||
|
||||
extension LocalizationsExt on BuildContext { |
||||
generated.FlutterQuillLocalizations get localizations { |
||||
return generated.FlutterQuillLocalizations.of(this) ?? |
||||
(throw UnsupportedError( |
||||
"The instance of FlutterQuillLocalizations.of(context) is null and it's required", |
||||
)); |
||||
} |
||||
} |
@ -0,0 +1,21 @@ |
||||
import 'package:flutter/widgets.dart' show BuildContext; |
||||
|
||||
import '../generated/quill_localizations.dart' as generated; |
||||
|
||||
typedef FlutterQuillLocalizations = generated.FlutterQuillLocalizations; |
||||
|
||||
extension LocalizationsExt on BuildContext { |
||||
/// Require the [FlutterQuillLocalizations] instance |
||||
/// |
||||
/// `loc` is short for localizations |
||||
FlutterQuillLocalizations get loc { |
||||
return FlutterQuillLocalizations.of(this) ?? |
||||
(throw UnimplementedError( |
||||
"The instance of FlutterQuillLocalizations.of(context) is null and it's" |
||||
' required, please make sure you wrapping the current widget with ' |
||||
'FlutterQuillLocalizationsWidget or add ' |
||||
'FlutterQuillLocalizations.delegate to the localizationsDelegates ' |
||||
'in your App widget, please consider report this in GitHub as a bug', |
||||
)); |
||||
} |
||||
} |
@ -1,388 +1 @@ |
||||
{ |
||||
"ar": [ |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"bg": [ |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"bn": [ |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterTextForYourLink", |
||||
"pleaseEnterTheLinkURL", |
||||
"pleaseEnterAValidImageURL", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"cs": [ |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterTextForYourLink", |
||||
"pleaseEnterTheLinkURL", |
||||
"pleaseEnterAValidImageURL", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"da": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"de": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"en_US": [ |
||||
"pleaseEnterAValidVideoURL", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"es": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"fa": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterTextForYourLink", |
||||
"pleaseEnterTheLinkURL", |
||||
"pleaseEnterAValidImageURL", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"fr": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"he": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterTextForYourLink", |
||||
"pleaseEnterTheLinkURL", |
||||
"pleaseEnterAValidImageURL", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"hi": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterTextForYourLink", |
||||
"pleaseEnterTheLinkURL", |
||||
"pleaseEnterAValidImageURL", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"id": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterTextForYourLink", |
||||
"pleaseEnterTheLinkURL", |
||||
"pleaseEnterAValidImageURL", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"it": [ |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterTextForYourLink", |
||||
"pleaseEnterTheLinkURL", |
||||
"pleaseEnterAValidImageURL", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"ja": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"ko": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"ms": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterTextForYourLink", |
||||
"pleaseEnterTheLinkURL", |
||||
"pleaseEnterAValidImageURL", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"nl": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterTextForYourLink", |
||||
"pleaseEnterTheLinkURL", |
||||
"pleaseEnterAValidImageURL", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"no": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterTextForYourLink", |
||||
"pleaseEnterTheLinkURL", |
||||
"pleaseEnterAValidImageURL", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"pl": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"pt": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"pt_BR": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"ru": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"sr": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterTextForYourLink", |
||||
"pleaseEnterTheLinkURL", |
||||
"pleaseEnterAValidImageURL", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"sw": [ |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"tk": [ |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"tr": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"uk": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"ur": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterTextForYourLink", |
||||
"pleaseEnterTheLinkURL", |
||||
"pleaseEnterAValidImageURL", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"vi": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"savedUsingTheNetwork", |
||||
"pleaseEnterTextForYourLink", |
||||
"pleaseEnterTheLinkURL", |
||||
"pleaseEnterAValidImageURL", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"zh": [ |
||||
"pleaseEnterAValidVideoURL", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"zh_CN": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
], |
||||
|
||||
"zh_HK": [ |
||||
"hex", |
||||
"material", |
||||
"color", |
||||
"pleaseEnterAValidVideoURL", |
||||
"photo", |
||||
"image", |
||||
"caseSensitivityAndWholeWordSearch", |
||||
"insertImage" |
||||
] |
||||
} |
||||
{} |
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue