parent
0d88c0201a
commit
4afcbc4236
51 changed files with 1067 additions and 121 deletions
File diff suppressed because one or more lines are too long
@ -1,30 +1,32 @@ |
|||||||
import 'package:flutter_quill/flutter_quill.dart' |
import 'package:flutter_quill/flutter_quill.dart' |
||||||
show Attribute, AttributeScope; |
show Attribute, AttributeScope; |
||||||
|
|
||||||
class MobileWidthAttribute extends Attribute<String?> { |
// class FlutterWidthAttribute extends Attribute<String?> { |
||||||
const MobileWidthAttribute(String? val) |
// const FlutterWidthAttribute(String? val) |
||||||
: super('mobileWidth', AttributeScope.ignore, val); |
// : super('flutterWidth', AttributeScope.ignore, val); |
||||||
} |
// } |
||||||
|
|
||||||
class MobileHeightAttribute extends Attribute<String?> { |
// class FlutterHeightAttribute extends Attribute<String?> { |
||||||
const MobileHeightAttribute(String? val) |
// const FlutterHeightAttribute(String? val) |
||||||
: super('mobileHeight', AttributeScope.ignore, val); |
// : super('flutterHeight', AttributeScope.ignore, val); |
||||||
} |
// } |
||||||
|
|
||||||
class MobileMarginAttribute extends Attribute<String?> { |
// class FlutterMarginAttribute extends Attribute<String?> { |
||||||
const MobileMarginAttribute(String? val) |
// const FlutterMarginAttribute(String? val) |
||||||
: super('mobileMargin', AttributeScope.ignore, val); |
// : super('flutterMargin', AttributeScope.ignore, val); |
||||||
} |
// } |
||||||
|
|
||||||
class MobileAlignmentAttribute extends Attribute<String?> { |
class FlutterAlignmentAttribute extends Attribute<String?> { |
||||||
const MobileAlignmentAttribute(String? val) |
const FlutterAlignmentAttribute(String? val) |
||||||
: super('mobileAlignment', AttributeScope.ignore, val); |
: super('flutterAlignment', AttributeScope.ignore, val); |
||||||
} |
} |
||||||
|
|
||||||
extension AttributeExt on Attribute { |
extension AttributeExt on Attribute { |
||||||
static const MobileWidthAttribute mobileWidth = MobileWidthAttribute(null); |
// static const FlutterWidthAttribute flutterWidth = FlutterWidthAttribute(null); |
||||||
static const MobileHeightAttribute mobileHeight = MobileHeightAttribute(null); |
// static const FlutterHeightAttribute flutterHeight = |
||||||
static const MobileMarginAttribute mobileMargin = MobileMarginAttribute(null); |
// FlutterHeightAttribute(null); |
||||||
static const MobileAlignmentAttribute mobileAlignment = |
// static const FlutterMarginAttribute flutterMargin = |
||||||
MobileAlignmentAttribute(null); |
// FlutterMarginAttribute(null); |
||||||
|
static const FlutterAlignmentAttribute flutterAlignment = |
||||||
|
FlutterAlignmentAttribute(null); |
||||||
} |
} |
||||||
|
@ -1 +1,298 @@ |
|||||||
{} |
{ |
||||||
|
"ar": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"bg": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"bn": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"cs": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"da": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"de": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"en_US": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"es": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"fa": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"fr": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"he": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"hi": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"id": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"it": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"ja": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"ko": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"ms": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"nl": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"no": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"pl": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"pt": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"pt_BR": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"ru": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"sr": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"sw": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"tk": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"tr": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"uk": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"ur": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"vi": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"zh": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"zh_CN": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
], |
||||||
|
|
||||||
|
"zh_HK": [ |
||||||
|
"pickAPhotoFromYourGallery", |
||||||
|
"takeAPhotoUsingYourCamera", |
||||||
|
"pasteAPhotoUsingALink", |
||||||
|
"pickAVideoFromYourGallery", |
||||||
|
"recordAVideoUsingYourCamera", |
||||||
|
"pasteAVideoUsingALink" |
||||||
|
] |
||||||
|
} |
||||||
|
@ -1,3 +1,4 @@ |
|||||||
library flutter_quill.translations; |
library flutter_quill.translations; |
||||||
|
|
||||||
export 'src/l10n/extensions/localizations.dart'; |
export 'src/l10n/extensions/localizations.dart'; |
||||||
|
export 'src/l10n/widgets/localizations.dart'; |
||||||
|
Loading…
Reference in new issue