Merge branch 'singerdmx:master' into master

pull/877/head
Lucas Henrique Polazzo 3 years ago committed by GitHub
commit 9073618e9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      README.md
  2. 21
      lib/src/translations/toolbar.i18n.dart

@ -170,7 +170,7 @@ The package offers translations for the quill toolbar and editor, it will follow
QuillToolbar(locale: Locale('fr'), ...)
QuillEditor(locale: Locale('fr'), ...)
```
Currently, translations are available for these 21 locales:
Currently, translations are available for these 22 locales:
* `Locale('en')`
* `Locale('ar')`
* `Locale('de')`
@ -192,6 +192,7 @@ Currently, translations are available for these 21 locales:
* `Locale('no')`
* `Locale('fa')`
* `Locale('hi')`
* `Locale('sr')`
### Contributing to translations
The translation file is located at [lib/src/translations/toolbar.i18n.dart](lib/src/translations/toolbar.i18n.dart). Feel free to contribute your own translations, just copy the English translations map and replace the values with your translations. Then open a pull request so everyone can benefit from your translations!

@ -469,6 +469,27 @@ extension Localization on String {
'Height': '',
'Size': '大小',
},
'sr': {
'Paste a link': 'Nalepi vezu',
'Ok': 'OK',
'Select Color': 'Odaberi boju',
'Gallery': 'Galerija',
'Link': 'Veza',
'Please first select some text to transform into a link.':
'Označite tekst kako bi ga pretvorili u vezu.',
'Open': 'Otvori',
'Copy': 'Kopiraj',
'Remove': 'Ukloni',
'Save': 'Sačuvaj',
'Zoom': 'Uvećaj',
'Saved': 'Sačuvano',
'Text': 'Tekst',
'What is entered is not a link': 'Neispravna veza',
'Resize': 'Promeni veličinu',
'Width': 'Širina',
'Height': 'Visina',
'Size': 'Veličina',
},
};
String get i18n => localize(this, _t);

Loading…
Cancel
Save