mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-24 17:00:36 +01:00
feat(locale): add Japanese language (#2794)
This commit is contained in:
@@ -6,6 +6,7 @@ export { default as es } from './es'
|
|||||||
export { default as fa_ir } from './fa_ir'
|
export { default as fa_ir } from './fa_ir'
|
||||||
export { default as fr } from './fr'
|
export { default as fr } from './fr'
|
||||||
export { default as it } from './it'
|
export { default as it } from './it'
|
||||||
|
export { default as ja } from './ja'
|
||||||
export { default as ko } from './ko'
|
export { default as ko } from './ko'
|
||||||
export { default as nl } from './nl'
|
export { default as nl } from './nl'
|
||||||
export { default as pl } from './pl'
|
export { default as pl } from './pl'
|
||||||
|
|||||||
53
src/runtime/locale/ja.ts
Normal file
53
src/runtime/locale/ja.ts
Normal 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: 'データがありません'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user