Skip to content

Commit

Permalink
fix(locale): improve Traditional Chinese translation
Browse files Browse the repository at this point in the history
- correct mixed Simplified Chinese in Traditional Chinese translations
  - `体` changed to `體`
  - `个` changed to `個`
  - `减` changed to `減`
- adjust terminology to better align with usage in Taiwan
  - `匹配` changed to `相符`
  - `創建` changed to `建立`
  • Loading branch information
ChiahongHong committed Jan 8, 2025
1 parent 6a81db2 commit 501ad2a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/runtime/locale/zh_hant.ts
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
import { defineLocale } from '../composables/defineLocale'

export default defineLocale({
name: '繁体中文',
name: '繁體中文',
code: 'zh-Hant',
messages: {
inputMenu: {
noMatch: '沒有匹配的資料',
noMatch: '沒有相符的資料',
noData: '沒有資料',
create: '創建 "{label}"'
create: '建立「{label}'
},
calendar: {
prevYear: '去年',
nextYear: '明年',
prevMonth: '上个月',
nextMonth: '下个月'
prevMonth: '上個月',
nextMonth: '下個月'
},
inputNumber: {
increment: '增加',
decrement: '减少'
decrement: '減少'
},
commandPalette: {
noMatch: '沒有匹配的資料',
noMatch: '沒有相符的資料',
noData: '沒有資料',
close: '關閉'
},
selectMenu: {
noMatch: '沒有匹配的資料',
noMatch: '沒有相符的資料',
noData: '沒有資料',
create: '創建 "{label}"'
create: '建立「{label}'
},
toast: {
close: '關閉'
Expand Down

0 comments on commit 501ad2a

Please sign in to comment.