Skip to content

Commit

Permalink
feat(locale): add Khmer language (#3119)
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo Richard <[email protected]>
  • Loading branch information
nidexingg and HugoRCD authored Jan 17, 2025
1 parent 3af77cc commit 64421a1
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/app/components/content/SupportedLanguages.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function getEmojiFlag(locale: string): string {
et: 'ee',
en: 'gb',
ja: 'jp',
kh: 'km',
ko: 'kr',
nb: 'no',
sv: 'se',
Expand Down
55 changes: 55 additions & 0 deletions src/runtime/locale/km.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import { defineLocale } from '../composables/defineLocale'

export default defineLocale({
name: 'ភាសាខ្មែរ',
code: 'km',
messages: {
inputMenu: {
noMatch: 'មិនមានទិន្នន័យដែលត្រូវគ្នាទេ',
noData: 'មិនមានទិន្នន័យ',
create: 'បង្កើត "{label}"'
},
calendar: {
prevYear: 'ឆ្នាំមុន',
nextYear: 'ឆ្នាំបន្ទាប់',
prevMonth: 'ខែមុន',
nextMonth: 'ខែបន្ទាប់'
},
inputNumber: {
increment: 'បង្កើន',
decrement: 'បន្ថយ'
},
commandPalette: {
placeholder: 'វាយពាក្យបញ្ជា ឬស្វែងរក...',
noMatch: 'មិនមានទិន្នន័យដែលត្រូវគ្នាទេ',
noData: 'មិនមានទិន្នន័យ',
close: 'បិទ'
},
selectMenu: {
noMatch: 'មិនមានទិន្នន័យដែលត្រូវគ្នាទេ',
noData: 'មិនមានទិន្នន័យ',
create: 'បង្កើត "{label}"',
search: 'ស្វែងរក...'
},
toast: {
close: 'បិទ'
},
carousel: {
prev: 'មុន',
next: 'បន្ទាប់',
goto: 'លោតទៅកាន់ស្លាយ {slide}'
},
modal: {
close: 'បិទ'
},
slideover: {
close: 'បិទ'
},
alert: {
close: 'បិទ'
},
table: {
noData: 'មិនមានទិន្នន័យ'
}
}
})

0 comments on commit 64421a1

Please sign in to comment.