From 302e04bd77ae8b165046b264c8d23626e92f8fb5 Mon Sep 17 00:00:00 2001 From: Ulugbek Nagmatov Date: Thu, 20 Mar 2025 19:03:51 +0500 Subject: [PATCH] feat(locale): add Uzbek language (#3548) Co-authored-by: Benjamin Canac --- src/runtime/locale/index.ts | 1 + src/runtime/locale/uz.ts | 56 +++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 src/runtime/locale/uz.ts diff --git a/src/runtime/locale/index.ts b/src/runtime/locale/index.ts index a57fef76..c96be91e 100644 --- a/src/runtime/locale/index.ts +++ b/src/runtime/locale/index.ts @@ -31,6 +31,7 @@ export { default as th } from './th' export { default as tr } from './tr' export { default as uk } from './uk' export { default as ur } from './ur' +export { default as uz } from './uz' export { default as vi } from './vi' export { default as zh_cn } from './zh_cn' export { default as zh_tw } from './zh_tw' diff --git a/src/runtime/locale/uz.ts b/src/runtime/locale/uz.ts new file mode 100644 index 00000000..4b939ee3 --- /dev/null +++ b/src/runtime/locale/uz.ts @@ -0,0 +1,56 @@ +import type { Messages } from '../types' +import { defineLocale } from '../composables/defineLocale' + +export default defineLocale({ + name: 'Oʻzbek', + code: 'uz', + messages: { + inputMenu: { + noMatch: 'Mos keluvchi natija topilmadi', + noData: 'Maʼlumot yoʻq', + create: '"{label}" yaratish' + }, + calendar: { + prevYear: 'Oldingi yil', + nextYear: 'Keyingi yil', + prevMonth: 'Oldingi oy', + nextMonth: 'Keyingi oy' + }, + inputNumber: { + increment: 'Qoʻshish', + decrement: 'Ayirish' + }, + commandPalette: { + placeholder: 'Buyruq kiriting yoki qidiring...', + noMatch: 'Mos keluvchi natija topilmadi', + noData: 'Maʼlumot yoʻq', + close: 'Yopish' + }, + selectMenu: { + noMatch: 'Mos keluvchi natija topilmadi', + noData: 'Maʼlumot yoʻq', + create: '"{label}" yaratish', + search: 'Qidirish...' + }, + toast: { + close: 'Yopish' + }, + carousel: { + prev: 'Ortga', + next: 'Oldinga', + goto: '{slide}-slaydga o‘tish' + }, + modal: { + close: 'Yopish' + }, + slideover: { + close: 'Yopish' + }, + alert: { + close: 'Yopish' + }, + table: { + noData: 'Maʼlumot yoʻq' + } + } +})