Skip to content

Commit

Permalink
add th, in, vi locale
Browse files Browse the repository at this point in the history
  • Loading branch information
hungtrn75 committed May 19, 2022
1 parent 5bbcc37 commit b3f2bf8
Show file tree
Hide file tree
Showing 8 changed files with 527 additions and 0 deletions.
106 changes: 106 additions & 0 deletions packages/form_builder_validators/lib/l10n/intl_in.arb
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"@@last_modified": "2022-05-19T21:53:39.706877",
"@@locale": "in",
"requiredErrorText": "Bidang ini tidak boleh kosong.",
"@requiredErrorText": {
"description": "Error Text for required field",
"type": "text",
"placeholders": {}
},
"minErrorText": "Nilai harus lebih besar dari atau sama dengan {min}.",
"@minErrorText": {
"description": "Error Text for required field",
"type": "text",
"placeholders": {
"min": {}
}
},
"minLengthErrorText": "Nilai harus memiliki panjang yang lebih besar atau sama dengan {minLength}",
"@minLengthErrorText": {
"description": "Error Text for required field",
"type": "text",
"placeholders": {
"minLength": {}
}
},
"maxErrorText": "Nilai harus lebih kecil atau sama dengan {max}",
"@maxErrorText": {
"description": "Error Text for required field",
"type": "text",
"placeholders": {
"max": {}
}
},
"maxLengthErrorText": "Nilai harus memiliki panjang yang kurang dari atau sama dengan {maxLength}",
"@maxLengthErrorText": {
"description": "Error Text for required field",
"type": "text",
"placeholders": {
"maxLength": {}
}
},
"emailErrorText": "Bidang ini memerlukan alamat email yang valid.",
"@emailErrorText": {
"description": "Error Text for email field",
"type": "text",
"placeholders": {}
},
"integerErrorText": "Bidang ini memerlukan bilangan bulat yang valid.",
"@integerErrorText": {
"description": "Error Text for integer validator",
"type": "text",
"placeholders": {}
},
"equalErrorText": "Nilai bidang ini harus sama dengan {value}.",
"@equalErrorText": {
"description": "Error Text for equal validator",
"type": "text",
"placeholders": {
"value": {}
}
},
"notEqualErrorText": "Nilai bidang ini tidak boleh sama dengan {value}.",
"@notEqualErrorText": {
"description": "Error Text for not-equal validator",
"type": "text",
"placeholders": {
"value": {}
}
},
"urlErrorText": "Bidang ini memerlukan alamat URL yang valid.",
"@urlErrorText": {
"description": "Error Text for URL field",
"type": "text",
"placeholders": {}
},
"matchErrorText": "Nilai tidak cocok dengan pola.",
"@matchErrorText": {
"description": "Error Text for pattern field",
"type": "text",
"placeholders": {}
},
"numericErrorText": "Nilai harus berupa angka.",
"@numericErrorText": {
"description": "Error Text for numeric field",
"type": "text",
"placeholders": {}
},
"creditCardErrorText": "Bidang ini memerlukan nomor kartu kredit yang valid.",
"@creditCardErrorText": {
"description": "Error Text for credit card field",
"type": "text",
"placeholders": {}
},
"ipErrorText": "Bidang ini membutuhkan IP yang valid.",
"@ipErrorText": {
"description": "Error Text for IP address field",
"type": "text",
"placeholders": {}
},
"dateStringErrorText": "Bidang ini memerlukan string tanggal yang valid.",
"@dateStringErrorText": {
"description": "Error Text for date string field",
"type": "text",
"placeholders": {}
}
}
106 changes: 106 additions & 0 deletions packages/form_builder_validators/lib/l10n/intl_th.arb
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"@@last_modified": "2022-05-19T21:53:39.706877",
"@@locale": "th",
"requiredErrorText": "ฟิลด์นี้ไม่สามารถเว้นว่างได้",
"@requiredErrorText": {
"description": "Error Text for required field",
"type": "text",
"placeholders": {}
},
"minErrorText": "ค่าต้องมากกว่าหรือเท่ากับ {min}",
"@minErrorText": {
"description": "Error Text for required field",
"type": "text",
"placeholders": {
"min": {}
}
},
"minLengthErrorText": "ค่าต้องมีความยาวมากกว่าหรือเท่ากับ {minLength}",
"@minLengthErrorText": {
"description": "Error Text for required field",
"type": "text",
"placeholders": {
"minLength": {}
}
},
"maxErrorText": "ค่าต้องน้อยกว่าหรือเท่ากับ {max}",
"@maxErrorText": {
"description": "Error Text for required field",
"type": "text",
"placeholders": {
"max": {}
}
},
"maxLengthErrorText": "ค่าต้องมีความยาวน้อยกว่าหรือเท่ากับ {maxLength}",
"@maxLengthErrorText": {
"description": "Error Text for required field",
"type": "text",
"placeholders": {
"maxLength": {}
}
},
"emailErrorText": "ฟิลด์นี้ต้องใช้ที่อยู่อีเมลที่ถูกต้อง",
"@emailErrorText": {
"description": "Error Text for email field",
"type": "text",
"placeholders": {}
},
"integerErrorText": "ฟิลด์นี้ต้องการจำนวนเต็มที่ถูกต้อง",
"@integerErrorText": {
"description": "Error Text for integer validator",
"type": "text",
"placeholders": {}
},
"equalErrorText": "ค่าฟิลด์นี้ต้องเท่ากับ {value}",
"@equalErrorText": {
"description": "Error Text for equal validator",
"type": "text",
"placeholders": {
"value": {}
}
},
"notEqualErrorText": "ค่าฟิลด์นี้ต้องไม่เท่ากับ {value}",
"@notEqualErrorText": {
"description": "Error Text for not-equal validator",
"type": "text",
"placeholders": {
"value": {}
}
},
"urlErrorText": "ช่องนี้ต้องการที่อยู่ URL ที่ถูกต้อง",
"@urlErrorText": {
"description": "Error Text for URL field",
"type": "text",
"placeholders": {}
},
"matchErrorText": "ค่าไม่ตรงกับรูปแบบ",
"@matchErrorText": {
"description": "Error Text for pattern field",
"type": "text",
"placeholders": {}
},
"numericErrorText": "ค่าต้องเป็นตัวเลข",
"@numericErrorText": {
"description": "Error Text for numeric field",
"type": "text",
"placeholders": {}
},
"creditCardErrorText": "ช่องนี้ต้องใช้หมายเลขบัตรเครดิตที่ถูกต้อง",
"@creditCardErrorText": {
"description": "Error Text for credit card field",
"type": "text",
"placeholders": {}
},
"ipErrorText": "ฟิลด์นี้ต้องการ IP ที่ถูกต้อง",
"@ipErrorText": {
"description": "Error Text for IP address field",
"type": "text",
"placeholders": {}
},
"dateStringErrorText": "ฟิลด์นี้ต้องการสตริงวันที่ที่ถูกต้อง",
"@dateStringErrorText": {
"description": "Error Text for date string field",
"type": "text",
"placeholders": {}
}
}
106 changes: 106 additions & 0 deletions packages/form_builder_validators/lib/l10n/intl_vi.arb
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"@@last_modified": "2022-05-19T21:53:39.706877",
"@@locale": "vi",
"requiredErrorText": "Trường này không thể để trống.",
"@requiredErrorText": {
"description": "Văn bản Lỗi cho trường bắt buộc",
"type": "text",
"placeholders": {}
},
"minErrorText": "Giá trị phải lớn hơn hoặc bằng {min}.",
"@minErrorText": {
"description": "Error Text for required field",
"type": "text",
"placeholders": {
"min": {}
}
},
"minLengthErrorText": "Giá trị phải có độ dài lớn hơn hoặc bằng {minLength}",
"@minLengthErrorText": {
"description": "Error Text for required field",
"type": "text",
"placeholders": {
"minLength": {}
}
},
"maxErrorText": "Giá trị phải nhỏ hơn hoặc bằng {max}",
"@maxErrorText": {
"description": "Error Text for required field",
"type": "text",
"placeholders": {
"max": {}
}
},
"maxLengthErrorText": "Giá trị phải có độ dài nhỏ hơn hoặc bằng {maxLength}",
"@maxLengthErrorText": {
"description": "Error Text for required field",
"type": "text",
"placeholders": {
"maxLength": {}
}
},
"emailErrorText": "Trường này yêu cầu một địa chỉ email hợp lệ.",
"@emailErrorText": {
"description": "Error Text for email field",
"type": "text",
"placeholders": {}
},
"integerErrorText": "Trường này yêu cầu một số nguyên hợp lệ.",
"@integerErrorText": {
"description": "Error Text for integer validator",
"type": "text",
"placeholders": {}
},
"equalErrorText": "Giá trị trường này phải bằng {value}.",
"@equalErrorText": {
"description": "Error Text for equal validator",
"type": "text",
"placeholders": {
"value": {}
}
},
"notEqualErrorText": "Giá trị trường này không được bằng {value}.",
"@notEqualErrorText": {
"description": "Error Text for not-equal validator",
"type": "text",
"placeholders": {
"value": {}
}
},
"urlErrorText": "Trường này yêu cầu địa chỉ URL hợp lệ.",
"@urlErrorText": {
"description": "Error Text for URL field",
"type": "text",
"placeholders": {}
},
"matchErrorText": "Giá trị không khớp với mẫu.",
"@matchErrorText": {
"description": "Error Text for pattern field",
"type": "text",
"placeholders": {}
},
"numericErrorText": "Giá trị phải là số.",
"@numericErrorText": {
"description": "Error Text for numeric field",
"type": "text",
"placeholders": {}
},
"creditCardErrorText": "Trường này yêu cầu số thẻ tín dụng hợp lệ.",
"@creditCardErrorText": {
"description": "Error Text for credit card field",
"type": "text",
"placeholders": {}
},
"ipErrorText": "Trường này yêu cầu một IP hợp lệ.",
"@ipErrorText": {
"description": "Error Text for IP address field",
"type": "text",
"placeholders": {}
},
"dateStringErrorText": "Trường này yêu cầu một chuỗi ngày hợp lệ.",
"@dateStringErrorText": {
"description": "Error Text for date string field",
"type": "text",
"placeholders": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import 'messages_fa.dart' as messages_fa;
import 'messages_fr.dart' as messages_fr;
import 'messages_hu.dart' as messages_hu;
import 'messages_id.dart' as messages_id;
import 'messages_in.dart' as messages_in;
import 'messages_it.dart' as messages_it;
import 'messages_ja.dart' as messages_ja;
import 'messages_ko.dart' as messages_ko;
Expand All @@ -39,7 +40,9 @@ import 'messages_ru.dart' as messages_ru;
import 'messages_sk.dart' as messages_sk;
import 'messages_sl.dart' as messages_sl;
import 'messages_sw.dart' as messages_sw;
import 'messages_th.dart' as messages_th;
import 'messages_uk.dart' as messages_uk;
import 'messages_vi.dart' as messages_vi;
import 'messages_zh_Hans.dart' as messages_zh_hans;
import 'messages_zh_Hant.dart' as messages_zh_hant;

Expand All @@ -56,6 +59,7 @@ Map<String, LibraryLoader> _deferredLibraries = {
'fr': () => new Future.value(null),
'hu': () => new Future.value(null),
'id': () => new Future.value(null),
'in': () => new Future.value(null),
'it': () => new Future.value(null),
'ja': () => new Future.value(null),
'ko': () => new Future.value(null),
Expand All @@ -69,7 +73,9 @@ Map<String, LibraryLoader> _deferredLibraries = {
'sk': () => new Future.value(null),
'sl': () => new Future.value(null),
'sw': () => new Future.value(null),
'th': () => new Future.value(null),
'uk': () => new Future.value(null),
'vi': () => new Future.value(null),
'zh_Hans': () => new Future.value(null),
'zh_Hant': () => new Future.value(null),
};
Expand Down Expand Up @@ -98,6 +104,8 @@ MessageLookupByLibrary? _findExact(String localeName) {
return messages_hu.messages;
case 'id':
return messages_id.messages;
case 'in':
return messages_in.messages;
case 'it':
return messages_it.messages;
case 'ja':
Expand All @@ -124,8 +132,12 @@ MessageLookupByLibrary? _findExact(String localeName) {
return messages_sl.messages;
case 'sw':
return messages_sw.messages;
case 'th':
return messages_th.messages;
case 'uk':
return messages_uk.messages;
case 'vi':
return messages_vi.messages;
case 'zh_Hans':
return messages_zh_hans.messages;
case 'zh_Hant':
Expand Down
Loading

0 comments on commit b3f2bf8

Please sign in to comment.