Skip to content

Commit

Permalink
Vietnamese localization (#1005)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdlukaa authored Jan 5, 2024
2 parents 0ce0151 + 5885e59 commit 69aeb27
Show file tree
Hide file tree
Showing 3 changed files with 139 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/l10n/generated/fluent_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import 'fluent_localizations_tr.dart';
import 'fluent_localizations_uk.dart';
import 'fluent_localizations_ur.dart';
import 'fluent_localizations_uz.dart';
import 'fluent_localizations_vi.dart';
import 'fluent_localizations_zh.dart';

/// Callers can lookup localized strings with an instance of FluentLocalizations
Expand Down Expand Up @@ -157,6 +158,7 @@ abstract class FluentLocalizations {
Locale('uk'),
Locale('ur'),
Locale('uz'),
Locale('vi'),
Locale('zh'),
Locale.fromSubtags(languageCode: 'zh', scriptCode: 'Hant')
];
Expand Down Expand Up @@ -393,6 +395,7 @@ class _FluentLocalizationsDelegate
'uk',
'ur',
'uz',
'vi',
'zh'
].contains(locale.languageCode);

Expand Down Expand Up @@ -481,6 +484,8 @@ FluentLocalizations lookupFluentLocalizations(Locale locale) {
return FluentLocalizationsUr();
case 'uz':
return FluentLocalizationsUz();
case 'vi':
return FluentLocalizationsVi();
case 'zh':
return FluentLocalizationsZh();
}
Expand Down
100 changes: 100 additions & 0 deletions lib/l10n/generated/fluent_localizations_vi.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
import 'fluent_localizations.dart';

/// The translations for Vietnamese (`vi`).
class FluentLocalizationsVi extends FluentLocalizations {
FluentLocalizationsVi([String locale = 'vi']) : super(locale);

@override
String get backButtonTooltip => 'Quay lại';

@override
String get closeButtonLabel => 'Đóng';

@override
String get searchLabel => 'Tìm kiếm';

@override
String get closeNavigationTooltip => 'Đóng Thanh điều hướng';

@override
String get openNavigationTooltip => 'Mở Thanh điều hướng';

@override
String get clickToSearch => 'Nhấn để tìm kiếm';

@override
String get modalBarrierDismissLabel => 'Bỏ qua';

@override
String get minimizeWindowTooltip => 'Thu nhỏ';

@override
String get restoreWindowTooltip => 'Khôi phục';

@override
String get closeWindowTooltip => 'Đóng';

@override
String get dialogLabel => 'Hộp thoại';

@override
String get cutActionLabel => 'Cắt';

@override
String get copyActionLabel => 'Sao chép';

@override
String get pasteActionLabel => 'Dán';

@override
String get selectAllActionLabel => 'Chọn tất cả';

@override
String get newTabLabel => 'Thêm tab mới';

@override
String get closeTabLabelSuffix => 'Đóng';

@override
String get scrollTabBackwardLabel => 'Cuộn tab lùi';

@override
String get scrollTabForwardLabel => 'Cuộn tab tới';

@override
String get noResultsFoundLabel => 'Không tìm thấy kết quả';

@override
String get copyActionTooltip => 'Sao chép nội dung đã chọn vào bảng nhớ tạm';

@override
String get cutActionTooltip => 'Cắt nội dung đã chọn vào bảng nhớ tạm';

@override
String get pasteActionTooltip =>
'Dán nội dung bảng nhớ tạm vào vị trí hiện tại';

@override
String get selectAllActionTooltip => 'Chọn tất cả';

@override
String get hour => 'giờ';

@override
String get minute => 'phút';

@override
String get am => 'SA';

@override
String get pm => 'CH';

@override
String get month => 'tháng';

@override
String get day => 'ngày';

@override
String get year => 'năm';
}
34 changes: 34 additions & 0 deletions lib/l10n/intl_vi.arb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"@@locale": "vi",
"backButtonTooltip": "Quay lại",
"closeButtonLabel": "Đóng",
"searchLabel": "Tìm kiếm",
"closeNavigationTooltip": "Đóng Thanh điều hướng",
"openNavigationTooltip": "Mở Thanh điều hướng",
"clickToSearch": "Nhấn để tìm kiếm",
"modalBarrierDismissLabel": "Bỏ qua",
"minimizeWindowTooltip": "Thu nhỏ",
"restoreWindowTooltip": "Khôi phục",
"closeWindowTooltip": "Đóng",
"dialogLabel": "Hộp thoại",
"cutActionLabel": "Cắt",
"copyActionLabel": "Sao chép",
"pasteActionLabel": "Dán",
"selectAllActionLabel": "Chọn tất cả",
"newTabLabel": "Thêm tab mới",
"closeTabLabelSuffix": "Đóng",
"scrollTabBackwardLabel": "Cuộn tab lùi",
"scrollTabForwardLabel": "Cuộn tab tới",
"noResultsFoundLabel": "Không tìm thấy kết quả",
"copyActionTooltip": "Sao chép nội dung đã chọn vào bảng nhớ tạm",
"cutActionTooltip": "Cắt nội dung đã chọn vào bảng nhớ tạm",
"pasteActionTooltip": "Dán nội dung bảng nhớ tạm vào vị trí hiện tại",
"selectAllActionTooltip": "Chọn tất cả",
"hour": "giờ",
"minute": "phút",
"am": "SA",
"pm": "CH",
"month": "tháng",
"day": "ngày",
"year": "năm"
}

0 comments on commit 69aeb27

Please sign in to comment.