feat(i18n): add Turkish locale (#2716)

This commit is contained in:
Hasan Mumin
2024-11-21 19:27:41 +03:00
committed by GitHub
parent 29d2acf564
commit de8228e504
2 changed files with 48 additions and 0 deletions

View File

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

47
src/runtime/locale/tr.ts Normal file
View File

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