2022-09-15 21:27:49 +08:00
// GENERATED CODE - DO NOT MODIFY BY HAND
import ' package:flutter/material.dart ' ;
import ' package:intl/intl.dart ' ;
import ' intl/messages_all.dart ' ;
// **************************************************************************
// Generator: Flutter Intl IDE plugin
// Made by Localizely
// **************************************************************************
// ignore_for_file: non_constant_identifier_names, lines_longer_than_80_chars
// ignore_for_file: join_return_with_assignment, prefer_final_in_for_each
// ignore_for_file: avoid_redundant_argument_values, avoid_escaping_inner_quotes
class AppFlowyEditorLocalizations {
AppFlowyEditorLocalizations ( ) ;
static AppFlowyEditorLocalizations ? _current ;
static AppFlowyEditorLocalizations get current {
assert ( _current ! = null ,
' No instance of AppFlowyEditorLocalizations was loaded. Try to initialize the AppFlowyEditorLocalizations delegate before accessing AppFlowyEditorLocalizations.current. ' ) ;
return _current ! ;
}
static const AppLocalizationDelegate delegate = AppLocalizationDelegate ( ) ;
static Future < AppFlowyEditorLocalizations > load ( Locale locale ) {
final name = ( locale . countryCode ? . isEmpty ? ? false )
? locale . languageCode
: locale . toString ( ) ;
final localeName = Intl . canonicalizedLocale ( name ) ;
return initializeMessages ( localeName ) . then ( ( _ ) {
Intl . defaultLocale = localeName ;
final instance = AppFlowyEditorLocalizations ( ) ;
AppFlowyEditorLocalizations . _current = instance ;
return instance ;
} ) ;
}
static AppFlowyEditorLocalizations of ( BuildContext context ) {
final instance = AppFlowyEditorLocalizations . maybeOf ( context ) ;
assert ( instance ! = null ,
' No instance of AppFlowyEditorLocalizations present in the widget tree. Did you add AppFlowyEditorLocalizations.delegate in localizationsDelegates? ' ) ;
return instance ! ;
}
static AppFlowyEditorLocalizations ? maybeOf ( BuildContext context ) {
return Localizations . of < AppFlowyEditorLocalizations > (
context , AppFlowyEditorLocalizations ) ;
}
/// `Bold`
String get bold {
return Intl . message (
' Bold ' ,
name: ' bold ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-06-25 02:06:52 -05:00
/// `Bulleted List`
2022-09-15 21:27:49 +08:00
String get bulletedList {
return Intl . message (
2023-06-25 02:06:52 -05:00
' Bulleted List ' ,
2022-09-15 21:27:49 +08:00
name: ' bulletedList ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Checkbox`
String get checkbox {
return Intl . message (
' Checkbox ' ,
name: ' checkbox ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Embed Code`
String get embedCode {
return Intl . message (
' Embed Code ' ,
name: ' embedCode ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `H1`
String get heading1 {
return Intl . message (
' H1 ' ,
name: ' heading1 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `H2`
String get heading2 {
return Intl . message (
' H2 ' ,
name: ' heading2 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `H3`
String get heading3 {
return Intl . message (
' H3 ' ,
name: ' heading3 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-05-11 22:45:01 +08:00
/// `Highlight`
String get highlight {
2022-09-15 21:27:49 +08:00
return Intl . message (
2023-05-11 22:45:01 +08:00
' Highlight ' ,
name: ' highlight ' ,
2022-09-15 21:27:49 +08:00
desc: ' ' ,
args: [ ] ,
) ;
}
2023-05-11 22:45:01 +08:00
/// `Color`
String get color {
2022-12-23 16:57:17 +05:00
return Intl . message (
2023-05-11 22:45:01 +08:00
' Color ' ,
name: ' color ' ,
2022-12-23 16:57:17 +05:00
desc: ' ' ,
args: [ ] ,
) ;
}
2022-09-15 21:27:49 +08:00
/// `Image`
String get image {
return Intl . message (
' Image ' ,
name: ' image ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Italic`
String get italic {
return Intl . message (
' Italic ' ,
name: ' italic ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Link`
String get link {
return Intl . message (
' Link ' ,
name: ' link ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-06-25 02:06:52 -05:00
/// `Numbered List`
2022-09-15 21:27:49 +08:00
String get numberedList {
return Intl . message (
2023-06-25 02:06:52 -05:00
' Numbered List ' ,
2022-09-15 21:27:49 +08:00
name: ' numberedList ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Quote`
String get quote {
return Intl . message (
' Quote ' ,
name: ' quote ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Strikethrough`
String get strikethrough {
return Intl . message (
' Strikethrough ' ,
name: ' strikethrough ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Text`
String get text {
return Intl . message (
' Text ' ,
name: ' text ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Underline`
String get underline {
return Intl . message (
' Underline ' ,
name: ' underline ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2022-12-23 16:57:17 +05:00
/// `Default`
String get fontColorDefault {
return Intl . message (
' Default ' ,
name: ' fontColorDefault ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Gray`
String get fontColorGray {
return Intl . message (
' Gray ' ,
name: ' fontColorGray ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Brown`
String get fontColorBrown {
return Intl . message (
' Brown ' ,
name: ' fontColorBrown ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Orange`
String get fontColorOrange {
return Intl . message (
' Orange ' ,
name: ' fontColorOrange ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Yellow`
String get fontColorYellow {
return Intl . message (
' Yellow ' ,
name: ' fontColorYellow ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Green`
String get fontColorGreen {
return Intl . message (
' Green ' ,
name: ' fontColorGreen ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Blue`
String get fontColorBlue {
return Intl . message (
' Blue ' ,
name: ' fontColorBlue ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Purple`
String get fontColorPurple {
return Intl . message (
' Purple ' ,
name: ' fontColorPurple ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Pink`
String get fontColorPink {
return Intl . message (
' Pink ' ,
name: ' fontColorPink ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Red`
String get fontColorRed {
return Intl . message (
' Red ' ,
name: ' fontColorRed ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Default background`
String get backgroundColorDefault {
return Intl . message (
' Default background ' ,
name: ' backgroundColorDefault ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Gray background`
String get backgroundColorGray {
return Intl . message (
' Gray background ' ,
name: ' backgroundColorGray ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Brown background`
String get backgroundColorBrown {
return Intl . message (
' Brown background ' ,
name: ' backgroundColorBrown ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Orange background`
String get backgroundColorOrange {
return Intl . message (
' Orange background ' ,
name: ' backgroundColorOrange ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Yellow background`
String get backgroundColorYellow {
return Intl . message (
' Yellow background ' ,
name: ' backgroundColorYellow ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Green background`
String get backgroundColorGreen {
return Intl . message (
' Green background ' ,
name: ' backgroundColorGreen ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Blue background`
String get backgroundColorBlue {
return Intl . message (
' Blue background ' ,
name: ' backgroundColorBlue ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Purple background`
String get backgroundColorPurple {
return Intl . message (
' Purple background ' ,
name: ' backgroundColorPurple ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Pink background`
String get backgroundColorPink {
return Intl . message (
' Pink background ' ,
name: ' backgroundColorPink ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Red background`
String get backgroundColorRed {
return Intl . message (
' Red background ' ,
name: ' backgroundColorRed ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-01-30 03:56:19 +01:00
2023-06-25 02:06:52 -05:00
/// `Done`
String get done {
return Intl . message (
' Done ' ,
name: ' done ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-07-19 02:58:17 -05:00
/// `Cancel`
String get cancel {
return Intl . message (
' Cancel ' ,
name: ' cancel ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-01-30 03:56:19 +01:00
/// `Tint 1`
String get tint1 {
return Intl . message (
' Tint 1 ' ,
name: ' tint1 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Tint 2`
String get tint2 {
return Intl . message (
' Tint 2 ' ,
name: ' tint2 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Tint 3`
String get tint3 {
return Intl . message (
' Tint 3 ' ,
name: ' tint3 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Tint 4`
String get tint4 {
return Intl . message (
' Tint 4 ' ,
name: ' tint4 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Tint 5`
String get tint5 {
return Intl . message (
' Tint 5 ' ,
name: ' tint5 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Tint 6`
String get tint6 {
return Intl . message (
' Tint 6 ' ,
name: ' tint6 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Tint 7`
String get tint7 {
return Intl . message (
' Tint 7 ' ,
name: ' tint7 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Tint 8`
String get tint8 {
return Intl . message (
' Tint 8 ' ,
name: ' tint8 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Tint 9`
String get tint9 {
return Intl . message (
' Tint 9 ' ,
name: ' tint9 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Purple`
String get lightLightTint1 {
return Intl . message (
' Purple ' ,
name: ' lightLightTint1 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Pink`
String get lightLightTint2 {
return Intl . message (
' Pink ' ,
name: ' lightLightTint2 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Light Pink`
String get lightLightTint3 {
return Intl . message (
' Light Pink ' ,
name: ' lightLightTint3 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Orange`
String get lightLightTint4 {
return Intl . message (
' Orange ' ,
name: ' lightLightTint4 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Yellow`
String get lightLightTint5 {
return Intl . message (
' Yellow ' ,
name: ' lightLightTint5 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Lime`
String get lightLightTint6 {
return Intl . message (
' Lime ' ,
name: ' lightLightTint6 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Green`
String get lightLightTint7 {
return Intl . message (
' Green ' ,
name: ' lightLightTint7 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Aqua`
String get lightLightTint8 {
return Intl . message (
' Aqua ' ,
name: ' lightLightTint8 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Blue`
String get lightLightTint9 {
return Intl . message (
' Blue ' ,
name: ' lightLightTint9 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-05-11 22:58:02 +08:00
2024-01-25 12:43:02 -03:00
/// `List item`
String get listItemPlaceholder {
return Intl . message (
' List item ' ,
name: ' listItemPlaceholder ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `To-do`
String get toDoPlaceholder {
return Intl . message (
' To-do ' ,
name: ' toDoPlaceholder ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-07-03 11:05:42 +02:00
/// `URL`
String get urlHint {
return Intl . message (
' URL ' ,
name: ' urlHint ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-06-25 02:06:52 -05:00
/// `Heading 1`
String get mobileHeading1 {
return Intl . message (
' Heading 1 ' ,
name: ' mobileHeading1 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Heading 2`
String get mobileHeading2 {
return Intl . message (
' Heading 2 ' ,
name: ' mobileHeading2 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Heading 3`
String get mobileHeading3 {
return Intl . message (
' Heading 3 ' ,
name: ' mobileHeading3 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Text Color`
2023-05-11 22:58:02 +08:00
String get textColor {
return Intl . message (
2023-06-25 02:06:52 -05:00
' Text Color ' ,
2023-05-11 22:58:02 +08:00
name: ' textColor ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-06-25 02:06:52 -05:00
/// `Background Color`
String get backgroundColor {
return Intl . message (
' Background Color ' ,
name: ' backgroundColor ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-05-29 23:46:06 +08:00
/// `Add your link`
2023-05-11 22:58:02 +08:00
String get addYourLink {
return Intl . message (
2023-05-29 15:59:42 +08:00
' Add your link ' ,
2023-05-11 22:58:02 +08:00
name: ' addYourLink ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-05-29 23:46:06 +08:00
/// `Open link`
2023-05-11 22:58:02 +08:00
String get openLink {
return Intl . message (
2023-05-29 15:59:42 +08:00
' Open link ' ,
2023-05-11 22:58:02 +08:00
name: ' openLink ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-05-29 23:46:06 +08:00
/// `Copy link`
2023-05-11 22:58:02 +08:00
String get copyLink {
return Intl . message (
2023-05-29 15:59:42 +08:00
' Copy link ' ,
2023-05-11 22:58:02 +08:00
name: ' copyLink ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-05-29 23:46:06 +08:00
/// `Remove link`
2023-05-11 22:58:02 +08:00
String get removeLink {
return Intl . message (
2023-05-29 15:59:42 +08:00
' Remove link ' ,
2023-05-11 22:58:02 +08:00
name: ' removeLink ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-07-19 02:58:17 -05:00
/// `Edit link`
String get editLink {
return Intl . message (
' Edit link ' ,
name: ' editLink ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Text`
String get linkText {
return Intl . message (
' Text ' ,
name: ' linkText ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Please enter text`
String get linkTextHint {
return Intl . message (
' Please enter text ' ,
name: ' linkTextHint ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Please enter URL`
String get linkAddressHint {
return Intl . message (
' Please enter URL ' ,
name: ' linkAddressHint ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2024-01-25 12:43:02 -03:00
/// `Highlight Color`
2023-05-11 22:58:02 +08:00
String get highlightColor {
return Intl . message (
2024-01-25 12:43:02 -03:00
' Highlight Color ' ,
2023-05-11 22:58:02 +08:00
name: ' highlightColor ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-05-30 18:22:54 +08:00
/// `Clear highlight color`
2023-05-11 22:58:02 +08:00
String get clearHighlightColor {
return Intl . message (
2023-05-30 18:22:54 +08:00
' Clear highlight color ' ,
2023-05-11 22:58:02 +08:00
name: ' clearHighlightColor ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-05-30 18:22:54 +08:00
/// `Custom color`
2023-05-11 22:58:02 +08:00
String get customColor {
return Intl . message (
2023-05-30 18:22:54 +08:00
' Custom color ' ,
2023-05-11 22:58:02 +08:00
name: ' customColor ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-05-30 18:22:54 +08:00
/// `Hex value`
2023-05-11 22:58:02 +08:00
String get hexValue {
return Intl . message (
2023-05-30 18:22:54 +08:00
' Hex value ' ,
2023-05-11 22:58:02 +08:00
name: ' hexValue ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-05-30 18:22:54 +08:00
/// `Opacity`
2023-05-11 22:58:02 +08:00
String get opacity {
return Intl . message (
2023-05-30 18:22:54 +08:00
' Opacity ' ,
2023-05-15 20:28:36 +08:00
name: ' opacity ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-05-30 18:22:54 +08:00
/// `Reset to default color`
2023-05-15 20:28:36 +08:00
String get resetToDefaultColor {
return Intl . message (
2023-05-30 18:22:54 +08:00
' Reset to default color ' ,
2023-05-15 20:28:36 +08:00
name: ' resetToDefaultColor ' ,
2023-05-11 22:58:02 +08:00
desc: ' ' ,
args: [ ] ,
) ;
}
2023-07-12 06:21:38 +03:30
2023-07-12 13:02:26 +07:00
/// `LTR`
String get ltr {
2023-07-12 06:21:38 +03:30
return Intl . message (
2023-07-12 13:02:26 +07:00
' LTR ' ,
name: ' ltr ' ,
2023-07-12 06:21:38 +03:30
desc: ' ' ,
args: [ ] ,
) ;
}
2023-07-12 13:02:26 +07:00
/// `RTL`
String get rtl {
2023-07-12 06:21:38 +03:30
return Intl . message (
2023-07-12 13:02:26 +07:00
' RTL ' ,
name: ' rtl ' ,
2023-07-12 06:21:38 +03:30
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Auto`
String get auto {
return Intl . message (
' Auto ' ,
name: ' auto ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-09-15 16:13:49 +08:00
/// `Cut`
String get cut {
return Intl . message (
' Cut ' ,
name: ' cut ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Copy`
String get copy {
return Intl . message (
' Copy ' ,
name: ' copy ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Paste`
String get paste {
return Intl . message (
' Paste ' ,
name: ' paste ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Find`
String get find {
return Intl . message (
' Find ' ,
name: ' find ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Previous match`
String get previousMatch {
return Intl . message (
' Previous match ' ,
name: ' previousMatch ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Next match`
String get nextMatch {
return Intl . message (
' Next match ' ,
name: ' nextMatch ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Close`
String get closeFind {
return Intl . message (
' Close ' ,
name: ' closeFind ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Replace`
String get replace {
return Intl . message (
' Replace ' ,
name: ' replace ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Replace all`
String get replaceAll {
return Intl . message (
' Replace all ' ,
name: ' replaceAll ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-10-10 15:53:38 +08:00
/// `Regex`
String get regex {
return Intl . message (
' Regex ' ,
name: ' regex ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Case sensitive`
String get caseSensitive {
return Intl . message (
' Case sensitive ' ,
name: ' caseSensitive ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2023-11-06 15:19:23 +08:00
/// `Regex Error`
String get regexError {
return Intl . message (
' Regex Error ' ,
name: ' regexError ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `No result`
String get noFindResult {
return Intl . message (
' No result ' ,
name: ' noFindResult ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Enter a pattern`
String get emptySearchBoxHint {
return Intl . message (
' Enter a pattern ' ,
name: ' emptySearchBoxHint ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2024-01-25 12:43:02 -03:00
/// `Upload`
2023-09-15 16:13:49 +08:00
String get uploadImage {
return Intl . message (
2024-01-25 12:43:02 -03:00
' Upload ' ,
2023-09-15 16:13:49 +08:00
name: ' uploadImage ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2024-01-25 12:43:02 -03:00
/// `URL`
2023-09-15 16:13:49 +08:00
String get urlImage {
return Intl . message (
2024-01-25 12:43:02 -03:00
' URL ' ,
2023-09-15 16:13:49 +08:00
name: ' urlImage ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Incorrect Link`
String get incorrectLink {
return Intl . message (
' Incorrect Link ' ,
name: ' incorrectLink ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Upload`
String get upload {
return Intl . message (
' Upload ' ,
name: ' upload ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Choose an image`
String get chooseImage {
return Intl . message (
' Choose an image ' ,
name: ' chooseImage ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Loading`
String get loading {
return Intl . message (
' Loading ' ,
name: ' loading ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Could not load the image`
String get imageLoadFailed {
return Intl . message (
' Could not load the image ' ,
name: ' imageLoadFailed ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Divider`
String get divider {
return Intl . message (
' Divider ' ,
name: ' divider ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Table`
String get table {
return Intl . message (
' Table ' ,
name: ' table ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Add before`
String get colAddBefore {
return Intl . message (
' Add before ' ,
name: ' colAddBefore ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Add before`
String get rowAddBefore {
return Intl . message (
' Add before ' ,
name: ' rowAddBefore ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Add after`
String get colAddAfter {
return Intl . message (
' Add after ' ,
name: ' colAddAfter ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Add after`
String get rowAddAfter {
return Intl . message (
' Add after ' ,
name: ' rowAddAfter ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Remove`
String get colRemove {
return Intl . message (
' Remove ' ,
name: ' colRemove ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Remove`
String get rowRemove {
return Intl . message (
' Remove ' ,
name: ' rowRemove ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Duplicate`
String get colDuplicate {
return Intl . message (
' Duplicate ' ,
name: ' colDuplicate ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Duplicate`
String get rowDuplicate {
return Intl . message (
' Duplicate ' ,
name: ' rowDuplicate ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Clear Content`
String get colClear {
return Intl . message (
' Clear Content ' ,
name: ' colClear ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Clear Content`
String get rowClear {
return Intl . message (
' Clear Content ' ,
name: ' rowClear ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Enter a / to insert a block, or start typing`
String get slashPlaceHolder {
return Intl . message (
' Enter a / to insert a block, or start typing ' ,
name: ' slashPlaceHolder ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2024-01-25 12:43:02 -03:00
/// `Align Left`
String get textAlignLeft {
return Intl . message (
' Align Left ' ,
name: ' textAlignLeft ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Align Center`
String get textAlignCenter {
return Intl . message (
' Align Center ' ,
name: ' textAlignCenter ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Align Right`
String get textAlignRight {
return Intl . message (
' Align Right ' ,
name: ' textAlignRight ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2024-01-29 22:35:36 -03:00
/// `Convert to link`
String get cmdConvertToLink {
2024-01-25 12:43:02 -03:00
return Intl . message (
2024-01-29 22:35:36 -03:00
' Convert to link ' ,
name: ' cmdConvertToLink ' ,
2024-01-25 12:43:02 -03:00
desc: ' ' ,
args: [ ] ,
) ;
}
2024-01-29 22:35:36 -03:00
/// `convert to paragraph`
String get cmdConvertToParagraph {
2024-01-25 12:43:02 -03:00
return Intl . message (
2024-01-29 22:35:36 -03:00
' convert to paragraph ' ,
name: ' cmdConvertToParagraph ' ,
2024-01-25 12:43:02 -03:00
desc: ' ' ,
args: [ ] ,
) ;
}
2024-01-29 22:35:36 -03:00
/// `Copy selection`
String get cmdCopySelection {
2024-01-25 12:43:02 -03:00
return Intl . message (
2024-01-29 22:35:36 -03:00
' Copy selection ' ,
name: ' cmdCopySelection ' ,
2024-01-25 12:43:02 -03:00
desc: ' ' ,
args: [ ] ,
) ;
}
2024-01-29 22:35:36 -03:00
/// `Cut selection`
String get cmdCutSelection {
2024-01-25 12:43:02 -03:00
return Intl . message (
2024-01-29 22:35:36 -03:00
' Cut selection ' ,
name: ' cmdCutSelection ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Delete character to the left`
String get cmdDeleteLeft {
return Intl . message (
' Delete character to the left ' ,
name: ' cmdDeleteLeft ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Delete to beginning of line`
String get cmdDeleteLineLeft {
return Intl . message (
' Delete to beginning of line ' ,
name: ' cmdDeleteLineLeft ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Delete character to the right`
String get cmdDeleteRight {
return Intl . message (
' Delete character to the right ' ,
name: ' cmdDeleteRight ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `delete word at left`
String get cmdDeleteWordLeft {
return Intl . message (
' delete word at left ' ,
name: ' cmdDeleteWordLeft ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `delete word at right`
String get cmdDeleteWordRight {
return Intl . message (
' delete word at right ' ,
name: ' cmdDeleteWordRight ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `exit editing mode`
String get cmdExitEditing {
return Intl . message (
' exit editing mode ' ,
name: ' cmdExitEditing ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `indent`
String get cmdIndent {
return Intl . message (
' indent ' ,
name: ' cmdIndent ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `move cursor to the bottom`
String get cmdMoveCursorBottom {
return Intl . message (
' move cursor to the bottom ' ,
name: ' cmdMoveCursorBottom ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Select all until end of file`
String get cmdMoveCursorBottomSelect {
return Intl . message (
' Select all until end of file ' ,
name: ' cmdMoveCursorBottomSelect ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `move cursor down`
String get cmdMoveCursorDown {
return Intl . message (
' move cursor down ' ,
name: ' cmdMoveCursorDown ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Select downward`
String get cmdMoveCursorDownSelect {
return Intl . message (
' Select downward ' ,
name: ' cmdMoveCursorDownSelect ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `move cursor left`
String get cmdMoveCursorLeft {
return Intl . message (
' move cursor left ' ,
name: ' cmdMoveCursorLeft ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Select left`
String get cmdMoveCursorLeftSelect {
return Intl . message (
' Select left ' ,
name: ' cmdMoveCursorLeftSelect ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `move cursor to the end of line`
String get cmdMoveCursorLineEnd {
return Intl . message (
' move cursor to the end of line ' ,
name: ' cmdMoveCursorLineEnd ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Select to end of line`
String get cmdMoveCursorLineEndSelect {
return Intl . message (
' Select to end of line ' ,
name: ' cmdMoveCursorLineEndSelect ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `move cursor to start of line`
String get cmdMoveCursorLineStart {
return Intl . message (
' move cursor to start of line ' ,
name: ' cmdMoveCursorLineStart ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Select to start of line`
String get cmdMoveCursorLineStartSelect {
return Intl . message (
' Select to start of line ' ,
name: ' cmdMoveCursorLineStartSelect ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `move cursor right`
String get cmdMoveCursorRight {
return Intl . message (
' move cursor right ' ,
name: ' cmdMoveCursorRight ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Select right`
String get cmdMoveCursorRightSelect {
return Intl . message (
' Select right ' ,
name: ' cmdMoveCursorRightSelect ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `move cursor to the top`
String get cmdMoveCursorTop {
return Intl . message (
' move cursor to the top ' ,
name: ' cmdMoveCursorTop ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Select all until start of file`
String get cmdMoveCursorTopSelect {
return Intl . message (
' Select all until start of file ' ,
name: ' cmdMoveCursorTopSelect ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `move cursor up`
String get cmdMoveCursorUp {
return Intl . message (
' move cursor up ' ,
name: ' cmdMoveCursorUp ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Select upward`
String get cmdMoveCursorUpSelect {
return Intl . message (
' Select upward ' ,
name: ' cmdMoveCursorUpSelect ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `move cursor to word on the left`
String get cmdMoveCursorWordLeft {
return Intl . message (
' move cursor to word on the left ' ,
name: ' cmdMoveCursorWordLeft ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Select word to the left`
String get cmdMoveCursorWordLeftSelect {
return Intl . message (
' Select word to the left ' ,
name: ' cmdMoveCursorWordLeftSelect ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `move cursor to word on the right`
String get cmdMoveCursorWordRight {
return Intl . message (
' move cursor to word on the right ' ,
name: ' cmdMoveCursorWordRight ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Select word to the right`
String get cmdMoveCursorWordRightSelect {
return Intl . message (
' Select word to the right ' ,
name: ' cmdMoveCursorWordRightSelect ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Open Find`
String get cmdOpenFind {
return Intl . message (
' Open Find ' ,
name: ' cmdOpenFind ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Open Find and Replace`
String get cmdOpenFindAndReplace {
return Intl . message (
' Open Find and Replace ' ,
name: ' cmdOpenFindAndReplace ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `open link`
String get cmdOpenLink {
return Intl . message (
' open link ' ,
name: ' cmdOpenLink ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `open links`
String get cmdOpenLinks {
return Intl . message (
' open links ' ,
name: ' cmdOpenLinks ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `outdent`
String get cmdOutdent {
return Intl . message (
' outdent ' ,
name: ' cmdOutdent ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `paste content`
String get cmdPasteContent {
return Intl . message (
' paste content ' ,
name: ' cmdPasteContent ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `paste content as plain text`
String get cmdPasteContentAsPlainText {
return Intl . message (
' paste content as plain text ' ,
name: ' cmdPasteContentAsPlainText ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `redo`
String get cmdRedo {
return Intl . message (
' redo ' ,
name: ' cmdRedo ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `scroll page down`
String get cmdScrollPageDown {
return Intl . message (
' scroll page down ' ,
name: ' cmdScrollPageDown ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `scroll page up`
String get cmdScrollPageUp {
return Intl . message (
' scroll page up ' ,
name: ' cmdScrollPageUp ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `scroll to bottom`
String get cmdScrollToBottom {
return Intl . message (
' scroll to bottom ' ,
name: ' cmdScrollToBottom ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `scroll to top`
String get cmdScrollToTop {
return Intl . message (
' scroll to top ' ,
name: ' cmdScrollToTop ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `select all`
String get cmdSelectAll {
return Intl . message (
' select all ' ,
name: ' cmdSelectAll ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Table: add line break`
String get cmdTableLineBreak {
return Intl . message (
' Table: add line break ' ,
name: ' cmdTableLineBreak ' ,
2024-01-25 12:43:02 -03:00
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Move to down cell at same offset`
2024-01-29 22:35:36 -03:00
String get cmdTableMoveToDownCellAtSameOffset {
2024-01-25 12:43:02 -03:00
return Intl . message (
' Move to down cell at same offset ' ,
2024-01-29 22:35:36 -03:00
name: ' cmdTableMoveToDownCellAtSameOffset ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Move to left cell if its at start of current cell`
String get cmdTableMoveToLeftCellIfItsAtStartOfCurrentCell {
return Intl . message (
' Move to left cell if its at start of current cell ' ,
name: ' cmdTableMoveToLeftCellIfItsAtStartOfCurrentCell ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Move to right cell if its at the end of current cell`
String get cmdTableMoveToRightCellIfItsAtTheEndOfCurrentCell {
return Intl . message (
' Move to right cell if its at the end of current cell ' ,
name: ' cmdTableMoveToRightCellIfItsAtTheEndOfCurrentCell ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Move to up cell at same offset`
String get cmdTableMoveToUpCellAtSameOffset {
return Intl . message (
' Move to up cell at same offset ' ,
name: ' cmdTableMoveToUpCellAtSameOffset ' ,
2024-01-25 12:43:02 -03:00
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Navigate around the cells at same offset`
2024-01-29 22:35:36 -03:00
String get cmdTableNavigateCells {
2024-01-25 12:43:02 -03:00
return Intl . message (
' Navigate around the cells at same offset ' ,
2024-01-29 22:35:36 -03:00
name: ' cmdTableNavigateCells ' ,
2024-01-25 12:43:02 -03:00
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Navigate around the cells at same offset in reverse`
2024-01-29 22:35:36 -03:00
String get cmdTableNavigateCellsReverse {
2024-01-25 12:43:02 -03:00
return Intl . message (
' Navigate around the cells at same offset in reverse ' ,
2024-01-29 22:35:36 -03:00
name: ' cmdTableNavigateCellsReverse ' ,
2024-01-25 12:43:02 -03:00
desc: ' ' ,
args: [ ] ,
) ;
}
/// `Stop at the beginning of the cell`
2024-01-29 22:35:36 -03:00
String get cmdTableStopAtTheBeginningOfTheCell {
2024-01-25 12:43:02 -03:00
return Intl . message (
' Stop at the beginning of the cell ' ,
2024-01-29 22:35:36 -03:00
name: ' cmdTableStopAtTheBeginningOfTheCell ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `toggle bold`
String get cmdToggleBold {
return Intl . message (
' toggle bold ' ,
name: ' cmdToggleBold ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `toggle code`
String get cmdToggleCode {
return Intl . message (
' toggle code ' ,
name: ' cmdToggleCode ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `toggle highlight`
String get cmdToggleHighlight {
return Intl . message (
' toggle highlight ' ,
name: ' cmdToggleHighlight ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `toggle italic`
String get cmdToggleItalic {
return Intl . message (
' toggle italic ' ,
name: ' cmdToggleItalic ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `toggle strikethrough`
String get cmdToggleStrikethrough {
return Intl . message (
' toggle strikethrough ' ,
name: ' cmdToggleStrikethrough ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `toggle the todo list`
String get cmdToggleTodoList {
return Intl . message (
' toggle the todo list ' ,
name: ' cmdToggleTodoList ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `toggle underline`
String get cmdToggleUnderline {
return Intl . message (
' toggle underline ' ,
name: ' cmdToggleUnderline ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `undo`
String get cmdUndo {
return Intl . message (
' undo ' ,
name: ' cmdUndo ' ,
2024-01-25 12:43:02 -03:00
desc: ' ' ,
args: [ ] ,
) ;
}
2024-12-11 14:37:18 +05:30
/// `toggle H1`
String get cmdToggleH1 {
return Intl . message (
' toggle H1 ' ,
name: ' cmdToggleH1 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `toggle H2`
String get cmdToggleH2 {
return Intl . message (
' toggle H2 ' ,
name: ' cmdToggleH2 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `toggle H3`
String get cmdToggleH3 {
return Intl . message (
' toggle H3 ' ,
name: ' cmdToggleH3 ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
/// `toggle body`
String get cmdToggleBody {
return Intl . message (
' toggle body ' ,
name: ' cmdToggleBody ' ,
desc: ' ' ,
args: [ ] ,
) ;
}
2022-09-15 21:27:49 +08:00
}
class AppLocalizationDelegate
extends LocalizationsDelegate < AppFlowyEditorLocalizations > {
const AppLocalizationDelegate ( ) ;
List < Locale > get supportedLocales {
return const < Locale > [
Locale . fromSubtags ( languageCode: ' en ' ) ,
2022-10-27 14:00:24 +08:00
Locale . fromSubtags ( languageCode: ' bn ' , countryCode: ' BN ' ) ,
2022-09-15 21:27:49 +08:00
Locale . fromSubtags ( languageCode: ' ca ' ) ,
2022-10-05 21:07:45 +08:00
Locale . fromSubtags ( languageCode: ' cs ' , countryCode: ' CZ ' ) ,
2023-04-06 09:57:53 +02:00
Locale . fromSubtags ( languageCode: ' da ' ) ,
2022-09-15 21:27:49 +08:00
Locale . fromSubtags ( languageCode: ' de ' , countryCode: ' DE ' ) ,
Locale . fromSubtags ( languageCode: ' es ' , countryCode: ' VE ' ) ,
Locale . fromSubtags ( languageCode: ' fr ' , countryCode: ' CA ' ) ,
Locale . fromSubtags ( languageCode: ' fr ' , countryCode: ' FR ' ) ,
2022-10-13 11:30:02 +08:00
Locale . fromSubtags ( languageCode: ' hi ' , countryCode: ' IN ' ) ,
2022-09-15 21:27:49 +08:00
Locale . fromSubtags ( languageCode: ' hu ' , countryCode: ' HU ' ) ,
Locale . fromSubtags ( languageCode: ' id ' , countryCode: ' ID ' ) ,
Locale . fromSubtags ( languageCode: ' it ' , countryCode: ' IT ' ) ,
Locale . fromSubtags ( languageCode: ' ja ' , countryCode: ' JP ' ) ,
2022-10-08 10:15:30 +08:00
Locale . fromSubtags ( languageCode: ' ml ' , countryCode: ' IN ' ) ,
2022-10-05 21:07:45 +08:00
Locale . fromSubtags ( languageCode: ' nl ' , countryCode: ' NL ' ) ,
2022-09-15 21:27:49 +08:00
Locale . fromSubtags ( languageCode: ' pl ' , countryCode: ' PL ' ) ,
Locale . fromSubtags ( languageCode: ' pt ' , countryCode: ' BR ' ) ,
Locale . fromSubtags ( languageCode: ' pt ' , countryCode: ' PT ' ) ,
Locale . fromSubtags ( languageCode: ' ru ' , countryCode: ' RU ' ) ,
Locale . fromSubtags ( languageCode: ' tr ' , countryCode: ' TR ' ) ,
Locale . fromSubtags ( languageCode: ' zh ' , countryCode: ' CN ' ) ,
Locale . fromSubtags ( languageCode: ' zh ' , countryCode: ' TW ' ) ,
] ;
}
@ override
bool isSupported ( Locale locale ) = > _isSupported ( locale ) ;
@ override
Future < AppFlowyEditorLocalizations > load ( Locale locale ) = >
AppFlowyEditorLocalizations . load ( locale ) ;
@ override
bool shouldReload ( AppLocalizationDelegate old ) = > false ;
bool _isSupported ( Locale locale ) {
for ( var supportedLocale in supportedLocales ) {
if ( supportedLocale . languageCode = = locale . languageCode ) {
return true ;
}
}
return false ;
}
}