-
Notifications
You must be signed in to change notification settings - Fork 611
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(locale): add Viet language (#2986)
- Loading branch information
1 parent
5550d18
commit ffba108
Showing
3 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ function getEmojiFlag(locale: string): string { | |
ja: 'jp', | ||
ko: 'kr', | ||
uk: 'ua', | ||
vi: 'vn', | ||
zh: 'cn' | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
import { defineLocale } from '../composables/defineLocale' | ||
|
||
export default defineLocale({ | ||
name: 'Tiếng Việt', | ||
code: 'vi', | ||
messages: { | ||
inputMenu: { | ||
noMatch: 'Không có kết quả phù hợp', | ||
noData: 'Không có dữ liệu', | ||
create: 'Tạo "{label}"' | ||
}, | ||
calendar: { | ||
prevYear: 'Năm trước', | ||
nextYear: 'Năm sau', | ||
prevMonth: 'Tháng trước', | ||
nextMonth: 'Tháng sau' | ||
}, | ||
inputNumber: { | ||
increment: 'Tăng', | ||
decrement: 'Giảm' | ||
}, | ||
commandPalette: { | ||
noMatch: 'Không có kết quả phù hợp', | ||
noData: 'Không có dữ liệu', | ||
close: 'Đóng' | ||
}, | ||
selectMenu: { | ||
noMatch: 'Không có kết quả phù hợp', | ||
noData: 'Không có dữ liệu', | ||
create: 'Tạo "{label}"' | ||
}, | ||
toast: { | ||
close: 'Đóng' | ||
}, | ||
carousel: { | ||
prev: 'Trước', | ||
next: 'Sau', | ||
goto: 'Đi tới ô {slide}' | ||
}, | ||
modal: { | ||
close: 'Đóng' | ||
}, | ||
slideover: { | ||
close: 'Đóng' | ||
}, | ||
alert: { | ||
close: 'Đóng' | ||
}, | ||
table: { | ||
noData: 'Không có dữ liệu' | ||
} | ||
} | ||
}) |