From 32208664384b9939eb50b9480fb0b5dbcb17fd48 Mon Sep 17 00:00:00 2001 From: Simon Pham Date: Fri, 21 Jan 2022 00:05:08 +0700 Subject: [PATCH] Add Vietnamese translation (#596) --- README.md | 1 + lib/src/translations/toolbar.i18n.dart | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 0c6d6761..a8aa53ec 100644 --- a/README.md +++ b/README.md @@ -129,6 +129,7 @@ Currently, translations are available for these locales: * `Locale('uk')` * `Locale('pt')` * `Locale('pl')` +* `Locale('vi')` ### 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 3e4cba5a..b5e6726d 100644 --- a/lib/src/translations/toolbar.i18n.dart +++ b/lib/src/translations/toolbar.i18n.dart @@ -123,6 +123,15 @@ extension Localization on String { 'Please first select some text to transform into a link.': 'Na początku zaznacz tekst aby zamienić go w link.', }, + 'vi': { + 'Paste a link': 'Chèn liên kết', + 'Ok': 'OK', + 'Select Color': 'Chọn Màu', + 'Gallery': 'Thư viện', + 'Link': 'Liên kết', + 'Please first select some text to transform into a link.': + 'Vui lòng chọn trước phần chữ cần đổi thành liên kết', + }, }; String get i18n => localize(this, _t);