Skip to content

Commit

Permalink
chore: update translations for Thai language (#2175)
Browse files Browse the repository at this point in the history
  • Loading branch information
silkyland authored Sep 2, 2024
1 parent 1a8beda commit bb72d90
Show file tree
Hide file tree
Showing 40 changed files with 633 additions and 138 deletions.
2 changes: 1 addition & 1 deletion doc/translation.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Currently, translations are available for these 41 locales:
* `hi`, `id`, `it`, `ja`, `ko`, `ku`
* `ms`, `ne`, `nl`, `no`, `pl`, `pt`
* `pt_BR`, `ro`, `ro_RO`, `ru`, `sk`, `sr`
* `sv`, `sw`, `tk`, `tr`, `uk`, `ur`
* `sv`, `sw`, `th`, `tk`, `tr`, `uk`, `ur`
* `vi`, `zh`, `zh_CN`, `zh_HK`

## 📌 Contributing to translations
Expand Down
7 changes: 7 additions & 0 deletions lib/src/l10n/generated/quill_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,16 @@ import 'quill_localizations_sk.dart';
import 'quill_localizations_sr.dart';
import 'quill_localizations_sv.dart';
import 'quill_localizations_sw.dart';
import 'quill_localizations_th.dart';
import 'quill_localizations_tk.dart';
import 'quill_localizations_tr.dart';
import 'quill_localizations_uk.dart';
import 'quill_localizations_ur.dart';
import 'quill_localizations_vi.dart';
import 'quill_localizations_zh.dart';

// ignore_for_file: type=lint

/// Callers can lookup localized strings with an instance of FlutterQuillLocalizations
/// returned by `FlutterQuillLocalizations.of(context)`.
///
Expand Down Expand Up @@ -161,6 +164,7 @@ abstract class FlutterQuillLocalizations {
Locale('sr'),
Locale('sv'),
Locale('sw'),
Locale('th'),
Locale('tk'),
Locale('tr'),
Locale('uk'),
Expand Down Expand Up @@ -796,6 +800,7 @@ class _FlutterQuillLocalizationsDelegate
'sr',
'sv',
'sw',
'th',
'tk',
'tr',
'uk',
Expand Down Expand Up @@ -917,6 +922,8 @@ FlutterQuillLocalizations lookupFlutterQuillLocalizations(Locale locale) {
return FlutterQuillLocalizationsSv();
case 'sw':
return FlutterQuillLocalizationsSw();
case 'th':
return FlutterQuillLocalizationsTh();
case 'tk':
return FlutterQuillLocalizationsTk();
case 'tr':
Expand Down
8 changes: 5 additions & 3 deletions lib/src/l10n/generated/quill_localizations_ar.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import 'quill_localizations.dart';

// ignore_for_file: type=lint

/// The translations for Arabic (`ar`).
class FlutterQuillLocalizationsAr extends FlutterQuillLocalizations {
FlutterQuillLocalizationsAr([super.locale = 'ar']);
FlutterQuillLocalizationsAr([String locale = 'ar']) : super(locale);

@override
String get pasteLink => 'نسخ الرابط';
Expand Down Expand Up @@ -235,10 +237,10 @@ class FlutterQuillLocalizationsAr extends FlutterQuillLocalizations {
String get errorWhileSavingImage => 'حدث خطأ أثناء حفظ الصورة';

@override
String get pleaseEnterTextForYourLink => "مثال: 'تعلم المزيد'";
String get pleaseEnterTextForYourLink => 'مثال: \'تعلم المزيد\'';

@override
String get pleaseEnterTheLinkURL => "مثال: 'https://example.com'";
String get pleaseEnterTheLinkURL => 'مثال: \'https://example.com\'';

@override
String get pleaseEnterAValidImageURL => 'الرجاء إدخال عنوان URL صحيح للصورة';
Expand Down
8 changes: 5 additions & 3 deletions lib/src/l10n/generated/quill_localizations_bg.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import 'quill_localizations.dart';

// ignore_for_file: type=lint

/// The translations for Bulgarian (`bg`).
class FlutterQuillLocalizationsBg extends FlutterQuillLocalizations {
FlutterQuillLocalizationsBg([super.locale = 'bg']);
FlutterQuillLocalizationsBg([String locale = 'bg']) : super(locale);

@override
String get pasteLink => 'Поставете връзка';
Expand Down Expand Up @@ -235,10 +237,10 @@ class FlutterQuillLocalizationsBg extends FlutterQuillLocalizations {
String get errorWhileSavingImage => 'Error while saving image';

@override
String get pleaseEnterTextForYourLink => "Например, 'Научете повече'";
String get pleaseEnterTextForYourLink => 'Например, \'Научете повече\'';

@override
String get pleaseEnterTheLinkURL => "Например, 'https://example.com'";
String get pleaseEnterTheLinkURL => 'Например, \'https://example.com\'';

@override
String get pleaseEnterAValidImageURL =>
Expand Down
8 changes: 5 additions & 3 deletions lib/src/l10n/generated/quill_localizations_bn.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import 'quill_localizations.dart';

// ignore_for_file: type=lint

/// The translations for Bengali Bangla (`bn`).
class FlutterQuillLocalizationsBn extends FlutterQuillLocalizations {
FlutterQuillLocalizationsBn([super.locale = 'bn']);
FlutterQuillLocalizationsBn([String locale = 'bn']) : super(locale);

@override
String get pasteLink => 'লিঙ্ক পেস্ট করুন';
Expand Down Expand Up @@ -236,11 +238,11 @@ class FlutterQuillLocalizationsBn extends FlutterQuillLocalizations {

@override
String get pleaseEnterTextForYourLink =>
"আপনার লিঙ্কের জন্য একটি টেক্সট লিখুন (উদাঃ 'আরও জানুন')";
'আপনার লিঙ্কের জন্য একটি টেক্সট লিখুন (উদাঃ \'আরও জানুন\')';

@override
String get pleaseEnterTheLinkURL =>
"দয়া করে লিঙ্ক URL লিখুন (উদাঃ 'https://example.com')";
'দয়া করে লিঙ্ক URL লিখুন (উদাঃ \'https://example.com\')';

@override
String get pleaseEnterAValidImageURL => 'দয়া করে একটি বৈধ চিত্র URL লিখুন';
Expand Down
26 changes: 14 additions & 12 deletions lib/src/l10n/generated/quill_localizations_ca.dart
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import 'quill_localizations.dart';

// ignore_for_file: type=lint

/// The translations for Catalan Valencian (`ca`).
class FlutterQuillLocalizationsCa extends FlutterQuillLocalizations {
FlutterQuillLocalizationsCa([super.locale = 'ca']);
FlutterQuillLocalizationsCa([String locale = 'ca']) : super(locale);

@override
String get pasteLink => 'Enganxa un enllaç';

@override
String get ok => "D'acord";
String get ok => 'D\'acord';

@override
String get selectColor => 'Selecciona el color';
Expand Down Expand Up @@ -119,7 +121,7 @@ class FlutterQuillLocalizationsCa extends FlutterQuillLocalizations {
String get clearFormat => 'Neteja format';

@override
String get alignLeft => "Alinea a l'esquerra";
String get alignLeft => 'Alinea a l\'esquerra';

@override
String get alignCenter => 'Alinea al centre';
Expand All @@ -131,7 +133,7 @@ class FlutterQuillLocalizationsCa extends FlutterQuillLocalizations {
String get alignJustify => 'Justifica';

@override
String get justifyWinWidth => "Justifica l'amplada de la finestra";
String get justifyWinWidth => 'Justifica l\'amplada de la finestra';

@override
String get textDirection => 'Direcció del text';
Expand Down Expand Up @@ -185,10 +187,10 @@ class FlutterQuillLocalizationsCa extends FlutterQuillLocalizations {
String get insertURL => 'Insereix URL';

@override
String get visitLink => "Visita l'enllaç";
String get visitLink => 'Visita l\'enllaç';

@override
String get enterLink => "Introdueix l'enllaç";
String get enterLink => 'Introdueix l\'enllaç';

@override
String get enterMedia => 'Introdueix mitjans';
Expand All @@ -215,7 +217,7 @@ class FlutterQuillLocalizationsCa extends FlutterQuillLocalizations {
String get findText => 'Troba text';

@override
String get moveToPreviousOccurrence => "Mou-te a l'ocurrència anterior";
String get moveToPreviousOccurrence => 'Mou-te a l\'ocurrència anterior';

@override
String get moveToNextOccurrence => 'Mou-te a la següent ocurrència';
Expand All @@ -224,27 +226,27 @@ class FlutterQuillLocalizationsCa extends FlutterQuillLocalizations {
String get savedUsingTheNetwork => 'Desat utilitzant la xarxa';

@override
String get savedUsingLocalStorage => "Desat en l'emmagatzematge local";
String get savedUsingLocalStorage => 'Desat en l\'emmagatzematge local';

@override
String theImageHasBeenSavedAt(String imagePath) {
return "La imatge s'ha desat a: $imagePath";
return 'La imatge s\'ha desat a: $imagePath';
}

@override
String get errorWhileSavingImage => 'Error en desar la imatge';

@override
String get pleaseEnterTextForYourLink =>
"Si us plau, introdueix un text per al teu enllaç (p. ex., 'Saber més')";
'Si us plau, introdueix un text per al teu enllaç (p. ex., \'Saber més\')';

@override
String get pleaseEnterTheLinkURL =>
"Si us plau, introdueix l'URL de l'enllaç (p. ex., 'https://example.com')";
'Si us plau, introdueix l\'URL de l\'enllaç (p. ex., \'https://example.com\')';

@override
String get pleaseEnterAValidImageURL =>
"Si us plau, introdueix un URL d'imatge vàlid";
'Si us plau, introdueix un URL d\'imatge vàlid';

@override
String get pleaseEnterAValidVideoURL =>
Expand Down
8 changes: 5 additions & 3 deletions lib/src/l10n/generated/quill_localizations_cs.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import 'quill_localizations.dart';

// ignore_for_file: type=lint

/// The translations for Czech (`cs`).
class FlutterQuillLocalizationsCs extends FlutterQuillLocalizations {
FlutterQuillLocalizationsCs([super.locale = 'cs']);
FlutterQuillLocalizationsCs([String locale = 'cs']) : super(locale);

@override
String get pasteLink => 'Vložit odkaz';
Expand Down Expand Up @@ -236,11 +238,11 @@ class FlutterQuillLocalizationsCs extends FlutterQuillLocalizations {

@override
String get pleaseEnterTextForYourLink =>
"Zadejte text pro váš odkaz (např., 'Dozvědět se více')";
'Zadejte text pro váš odkaz (např., \'Dozvědět se více\')';

@override
String get pleaseEnterTheLinkURL =>
"Zadejte URL odkazu (např., 'https://example.com')";
'Zadejte URL odkazu (např., \'https://example.com\')';

@override
String get pleaseEnterAValidImageURL => 'Zadejte platnou URL adresu obrázku';
Expand Down
8 changes: 5 additions & 3 deletions lib/src/l10n/generated/quill_localizations_da.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import 'quill_localizations.dart';

// ignore_for_file: type=lint

/// The translations for Danish (`da`).
class FlutterQuillLocalizationsDa extends FlutterQuillLocalizations {
FlutterQuillLocalizationsDa([super.locale = 'da']);
FlutterQuillLocalizationsDa([String locale = 'da']) : super(locale);

@override
String get pasteLink => 'Indsæt link';
Expand Down Expand Up @@ -235,10 +237,10 @@ class FlutterQuillLocalizationsDa extends FlutterQuillLocalizations {
String get errorWhileSavingImage => 'Error while saving image';

@override
String get pleaseEnterTextForYourLink => "e.g., 'Learn more'";
String get pleaseEnterTextForYourLink => 'e.g., \'Learn more\'';

@override
String get pleaseEnterTheLinkURL => "e.g., 'https://example.com'";
String get pleaseEnterTheLinkURL => 'e.g., \'https://example.com\'';

@override
String get pleaseEnterAValidImageURL => 'Please enter a valid image URL';
Expand Down
8 changes: 5 additions & 3 deletions lib/src/l10n/generated/quill_localizations_de.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import 'quill_localizations.dart';

// ignore_for_file: type=lint

/// The translations for German (`de`).
class FlutterQuillLocalizationsDe extends FlutterQuillLocalizations {
FlutterQuillLocalizationsDe([super.locale = 'de']);
FlutterQuillLocalizationsDe([String locale = 'de']) : super(locale);

@override
String get pasteLink => 'Link hinzufügen';
Expand Down Expand Up @@ -235,10 +237,10 @@ class FlutterQuillLocalizationsDe extends FlutterQuillLocalizations {
String get errorWhileSavingImage => 'Fehler beim Speichern des Bildes';

@override
String get pleaseEnterTextForYourLink => "z.B. 'Mehr erfahren'";
String get pleaseEnterTextForYourLink => 'z.B. \'Mehr erfahren\'';

@override
String get pleaseEnterTheLinkURL => "z.B. 'https://example.com'";
String get pleaseEnterTheLinkURL => 'z.B. \'https://example.com\'';

@override
String get pleaseEnterAValidImageURL =>
Expand Down
12 changes: 7 additions & 5 deletions lib/src/l10n/generated/quill_localizations_en.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import 'quill_localizations.dart';

// ignore_for_file: type=lint

/// The translations for English (`en`).
class FlutterQuillLocalizationsEn extends FlutterQuillLocalizations {
FlutterQuillLocalizationsEn([super.locale = 'en']);
FlutterQuillLocalizationsEn([String locale = 'en']) : super(locale);

@override
String get pasteLink => 'Paste a link';
Expand Down Expand Up @@ -236,11 +238,11 @@ class FlutterQuillLocalizationsEn extends FlutterQuillLocalizations {

@override
String get pleaseEnterTextForYourLink =>
"Please enter a text for your link (e.g., 'Learn more')";
'Please enter a text for your link (e.g., \'Learn more\')';

@override
String get pleaseEnterTheLinkURL =>
"Please enter the link URL (e.g., 'https://example.com')";
'Please enter the link URL (e.g., \'https://example.com\')';

@override
String get pleaseEnterAValidImageURL => 'Please enter a valid image URL';
Expand Down Expand Up @@ -508,11 +510,11 @@ class FlutterQuillLocalizationsEnUs extends FlutterQuillLocalizationsEn {

@override
String get pleaseEnterTextForYourLink =>
"Please enter a text for your link (e.g., 'Learn more')";
'Please enter a text for your link (e.g., \'Learn more\')';

@override
String get pleaseEnterTheLinkURL =>
"Please enter the link URL (e.g., 'https://example.com')";
'Please enter the link URL (e.g., \'https://example.com\')';

@override
String get pleaseEnterAValidImageURL => 'Please enter a valid image URL';
Expand Down
8 changes: 5 additions & 3 deletions lib/src/l10n/generated/quill_localizations_es.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import 'quill_localizations.dart';

// ignore_for_file: type=lint

/// The translations for Spanish Castilian (`es`).
class FlutterQuillLocalizationsEs extends FlutterQuillLocalizations {
FlutterQuillLocalizationsEs([super.locale = 'es']);
FlutterQuillLocalizationsEs([String locale = 'es']) : super(locale);

@override
String get pasteLink => 'Pega un enlace';
Expand Down Expand Up @@ -235,10 +237,10 @@ class FlutterQuillLocalizationsEs extends FlutterQuillLocalizations {
String get errorWhileSavingImage => 'Error al guardar imagen';

@override
String get pleaseEnterTextForYourLink => "p.ej., 'Aprende más'";
String get pleaseEnterTextForYourLink => 'p.ej., \'Aprende más\'';

@override
String get pleaseEnterTheLinkURL => "p.ej., 'https://example.com'";
String get pleaseEnterTheLinkURL => 'p.ej., \'https://example.com\'';

@override
String get pleaseEnterAValidImageURL =>
Expand Down
8 changes: 5 additions & 3 deletions lib/src/l10n/generated/quill_localizations_fa.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import 'quill_localizations.dart';

// ignore_for_file: type=lint

/// The translations for Persian (`fa`).
class FlutterQuillLocalizationsFa extends FlutterQuillLocalizations {
FlutterQuillLocalizationsFa([super.locale = 'fa']);
FlutterQuillLocalizationsFa([String locale = 'fa']) : super(locale);

@override
String get pasteLink => 'جایگذاری لینک';
Expand Down Expand Up @@ -237,11 +239,11 @@ class FlutterQuillLocalizationsFa extends FlutterQuillLocalizations {

@override
String get pleaseEnterTextForYourLink =>
"لطفاً متن لینک خود را وارد کنید (مثال: 'بیشتر بدانید')";
'لطفاً متن لینک خود را وارد کنید (مثال: \'بیشتر بدانید\')';

@override
String get pleaseEnterTheLinkURL =>
"لطفاً URL لینک را وارد کنید (مثال: 'https://example.com')";
'لطفاً URL لینک را وارد کنید (مثال: \'https://example.com\')';

@override
String get pleaseEnterAValidImageURL => 'لطفاً یک URL تصویر معتبر وارد کنید';
Expand Down
Loading

0 comments on commit bb72d90

Please sign in to comment.