From de8228e504affd1a57106101f5168a33702d4d53 Mon Sep 17 00:00:00 2001 From: Hasan Mumin <0hasanmumin@gmail.com> Date: Thu, 21 Nov 2024 19:27:41 +0300 Subject: [PATCH] feat(i18n): add Turkish locale (#2716) --- src/runtime/locale/index.ts | 1 + src/runtime/locale/tr.ts | 47 +++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 src/runtime/locale/tr.ts diff --git a/src/runtime/locale/index.ts b/src/runtime/locale/index.ts index 0e360001..02bbc6d6 100644 --- a/src/runtime/locale/index.ts +++ b/src/runtime/locale/index.ts @@ -11,3 +11,4 @@ export { default as ru } from './ru' export { default as zh_hans } from './zh_hans' export { default as zh_hant } from './zh_hant' export { default as ko } from './ko' +export { default as tr } from './tr' diff --git a/src/runtime/locale/tr.ts b/src/runtime/locale/tr.ts new file mode 100644 index 00000000..4e475e26 --- /dev/null +++ b/src/runtime/locale/tr.ts @@ -0,0 +1,47 @@ +import { defineLocale } from '../composables/defineLocale' + +export default defineLocale({ + name: 'Türkçe', + code: 'tr', + messages: { + inputMenu: { + noMatch: 'Eşleşen veri yok', + noData: 'Veri yok', + create: '"{label}" oluştur' + }, + inputNumber: { + increment: 'Arttır', + decrement: 'Azalt' + }, + commandPalette: { + noMatch: 'Eşleşen veri yok', + noData: 'Veri yok', + close: 'Kapat' + }, + selectMenu: { + noMatch: 'Eşleşen veri yok', + noData: 'Veri yok', + create: '"{label}" oluştur' + }, + toast: { + close: 'Kapat' + }, + carousel: { + prev: 'Önceki', + next: 'Sonraki', + goto: '{slide}. slayda git' + }, + modal: { + close: 'Kapat' + }, + slideover: { + close: 'Kapat' + }, + alert: { + close: 'Kapat' + }, + table: { + noData: 'Veri yok' + } + } +})