Skip to content

Commit

Permalink
feat(locale): add Japanese language (#2794)
Browse files Browse the repository at this point in the history
  • Loading branch information
kotering authored Nov 28, 2024
1 parent 9b58ce0 commit ecc4755
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export { default as es } from './es'
export { default as fa_ir } from './fa_ir'
export { default as fr } from './fr'
export { default as it } from './it'
export { default as ja } from './ja'
export { default as ko } from './ko'
export { default as nl } from './nl'
export { default as pl } from './pl'
Expand Down
53 changes: 53 additions & 0 deletions src/runtime/locale/ja.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import { defineLocale } from '../composables/defineLocale'

export default defineLocale({
name: '日本語',
code: 'ja',
messages: {
inputMenu: {
noMatch: '一致するデータがありません',
noData: 'データがありません',
create: '"{label}"を作成'
},
calendar: {
prevYear: '前年',
nextYear: '翌年',
prevMonth: '前月',
nextMonth: '翌月'
},
inputNumber: {
increment: '増やす',
decrement: '減らす'
},
commandPalette: {
noMatch: '一致するデータがありません',
noData: 'データがありません',
close: '閉じる'
},
selectMenu: {
noMatch: '一致するデータがありません',
noData: 'データがありません',
create: '"{label}"を作成'
},
toast: {
close: '閉じる'
},
carousel: {
prev: '前へ',
next: '次へ',
goto: 'スライド {slide} に移動'
},
modal: {
close: '閉じる'
},
slideover: {
close: '閉じる'
},
alert: {
close: '閉じる'
},
table: {
noData: 'データがありません'
}
}
})

0 comments on commit ecc4755

Please sign in to comment.