feat(locale): add Japanese language (#2794)

This commit is contained in:
Kotering
2024-11-28 18:25:37 +09:00
committed by GitHub
parent 9b58ce05f0
commit ecc4755a17
2 changed files with 54 additions and 0 deletions

View File

@@ -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'

53
src/runtime/locale/ja.ts Normal file
View File

@@ -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: 'データがありません'
}
}
})