mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-06 12:17:13 +08:00
fix: ruRU locale
This commit is contained in:
parent
18aeaa9700
commit
e8603e038a
@ -1,4 +1,6 @@
|
||||
const ruRu = {
|
||||
import type { NLocale } from './enUS'
|
||||
|
||||
const ruRu: NLocale = {
|
||||
name: 'ru-RU',
|
||||
global: {
|
||||
undo: 'Отменить',
|
||||
@ -91,5 +93,4 @@ const ruRu = {
|
||||
}
|
||||
}
|
||||
|
||||
export type NLocale = typeof ruRu
|
||||
export default ruRu
|
||||
|
9
src/locales/date/ruRU.ts
Normal file
9
src/locales/date/ruRU.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import ru from 'date-fns/locale/ru'
|
||||
import { NDateLocale } from './enUS'
|
||||
|
||||
const dateRuRU: NDateLocale = {
|
||||
name: 'ru-RU',
|
||||
locale: ru
|
||||
}
|
||||
|
||||
export default dateRuRU
|
@ -1,8 +1,8 @@
|
||||
export { default as zhCN } from './common/zhCN'
|
||||
export { default as enUS } from './common/enUS'
|
||||
export { default as ruRu } from './common/ruRU'
|
||||
export { default as ruRU } from './common/ruRU'
|
||||
export { default as dateZhCN } from './date/zhCN'
|
||||
export { default as dateEnUS } from './date/enUS'
|
||||
export { default as dateRuRU } from './date/RuRU'
|
||||
export { default as dateRuRU } from './date/ruRU'
|
||||
export type { NLocale } from './common/enUS'
|
||||
export type { NDateLocale } from './date/enUS'
|
||||
|
Loading…
Reference in New Issue
Block a user