diff --git a/README.md b/README.md index b88cd1c1..e14ecfba 100644 --- a/README.md +++ b/README.md @@ -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! diff --git a/lib/src/translations/toolbar.i18n.dart b/lib/src/translations/toolbar.i18n.dart index 41d86c03..5ec4faf5 100644 --- a/lib/src/translations/toolbar.i18n.dart +++ b/lib/src/translations/toolbar.i18n.dart @@ -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);