-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: 07akioni <07akioni2@gmail.com>
- Loading branch information
Showing
6 changed files
with
161 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
import type { NLocale } from './enUS' | ||
|
||
const kmKH: NLocale = { | ||
name: 'km-KH', | ||
global: { | ||
undo: 'បោះបង់', | ||
redo: 'ធ្វើឡើងវិញ', | ||
confirm: 'បញ្ជាក់', | ||
clear: 'ច្បាស់' | ||
}, | ||
Popconfirm: { | ||
positiveText: 'បញ្ជាក់', | ||
negativeText: 'បោះបង់' | ||
}, | ||
Cascader: { | ||
placeholder: 'សូមជ្រើសរើស', | ||
loading: 'ការផ្ទុក', | ||
loadingRequiredMessage: (label: string): string => | ||
`អាចជ្រើសរើសបានតែបន្ទាប់ពីផ្ទុកថ្នាំងកូន ${label} ទាំងអស់។` | ||
}, | ||
Time: { | ||
dateFormat: 'yyyy-MM-dd', | ||
dateTimeFormat: 'yyyy-MM-dd HH:mm:ss' | ||
}, | ||
DatePicker: { | ||
yearFormat: 'yyyyឆ្នាំ', | ||
monthFormat: 'MMM', | ||
dayFormat: 'eeeeee', | ||
yearTypeFormat: 'yyyy', | ||
monthTypeFormat: 'yyyy-MM', | ||
dateFormat: 'yyyy-MM-dd', | ||
dateTimeFormat: 'yyyy-MM-dd HH:mm:ss', | ||
quarterFormat: 'yyyy-qqq', | ||
weekFormat: 'YYYY-wសប្តាហ៍', | ||
clear: 'ច្បាស់', | ||
now: 'ឥឡូវនេះ', | ||
confirm: 'បញ្ជាក់', | ||
selectTime: 'ជ្រើសរើសកាលបរិច្ឆេទ', | ||
selectDate: 'ជ្រើសរើសកាលបរិច្ឆេទ', | ||
datePlaceholder: 'ជ្រើសរើសកាលបរិច្ឆេទ', | ||
datetimePlaceholder: 'ជ្រើសរើសពេលវេលាកាលបរិច្ឆេទ', | ||
monthPlaceholder: 'ជ្រើសរើសខែ', | ||
yearPlaceholder: 'ជ្រើសរើសឆ្នាំ', | ||
quarterPlaceholder: 'ជ្រើសរើសត្រីមាស', | ||
weekPlaceholder: 'ជ្រើសរើសសប្តាហ៍', | ||
startDatePlaceholder: 'កាលបរិច្ឆេទចាប់ផ្តើម', | ||
endDatePlaceholder: 'កាលបរិច្ឆេទបញ្ចប់', | ||
startDatetimePlaceholder: 'កាលបរិច្ឆេទចាប់ផ្តើម', | ||
endDatetimePlaceholder: 'កាលបរិច្ឆេទបញ្ចប់', | ||
startMonthPlaceholder: 'ខែចាប់ផ្តើម', | ||
endMonthPlaceholder: 'ចុងខែ', | ||
monthBeforeYear: false, | ||
firstDayOfWeek: 0, | ||
today: 'ថ្ងៃនេះ' | ||
}, | ||
DataTable: { | ||
checkTableAll: 'ជ្រើសរើសទិន្នន័យតារាងទាំងអស់។', | ||
uncheckTableAll: 'ដកការជ្រើសរើសទិន្នន័យតារាងទាំងអស់។', | ||
confirm: 'បញ្ជាក់', | ||
clear: 'កំណត់ឡើងវិញ' | ||
}, | ||
LegacyTransfer: { | ||
sourceTitle: 'ធាតុប្រភព', | ||
targetTitle: 'ធាតុគោលដៅ' | ||
}, | ||
Transfer: { | ||
selectAll: 'ជ្រើសរើសទាំងអស់។', | ||
clearAll: 'ច្បាស់', | ||
unselectAll: 'ដកការជ្រើសរើសទាំងអស់។', | ||
total: (num: number): string => `ទូទៅ ${num} ធាតុ`, | ||
selected: (num: number): string => `បានជ្រើសរើស ${num} ធាតុ` | ||
}, | ||
Empty: { | ||
description: 'គ្មានទិន្នន័យ' | ||
}, | ||
Select: { | ||
placeholder: 'សូមជ្រើសរើស' | ||
}, | ||
TimePicker: { | ||
placeholder: 'សូមជ្រើសរើសពេលវេលាមួយ។', | ||
positiveText: 'បញ្ជាក់', | ||
negativeText: 'បោះបង់', | ||
now: 'ឥឡូវនេះ', | ||
clear: 'ច្បាស់' | ||
}, | ||
Pagination: { | ||
goto: 'លោតទៅ', | ||
selectionSuffix: 'ទំព័រ' | ||
}, | ||
DynamicTags: { | ||
add: 'បន្ថែមទៅ' | ||
}, | ||
Log: { | ||
loading: 'ការផ្ទុក' | ||
}, | ||
Input: { | ||
placeholder: 'សូមបញ្ចូល' | ||
}, | ||
InputNumber: { | ||
placeholder: 'សូមបញ្ចូល' | ||
}, | ||
DynamicInput: { | ||
create: 'បន្ថែមទៅ' | ||
}, | ||
ThemeEditor: { | ||
title: 'កម្មវិធីនិពន្ធប្រធានបទ', | ||
clearAllVars: 'សម្អាតអថេរទាំងអស់។', | ||
clearSearch: 'ជម្រះការស្វែងរក', | ||
filterCompName: 'តម្រងឈ្មោះសមាសភាគ', | ||
filterVarName: 'ត្រងឈ្មោះអថេរ', | ||
import: 'នាំចូល', | ||
export: 'នាំចេញ', | ||
restore: 'ស្តារលំនាំដើម' | ||
}, | ||
Image: { | ||
tipPrevious: 'រូបភាពមុន។(←)', | ||
tipNext: 'បន្ទាប់(→)', | ||
tipCounterclockwise: 'បង្វិលឆ្វេង', | ||
tipClockwise: 'បង្វិលស្តាំ', | ||
tipZoomOut: 'បង្រួម ', | ||
tipZoomIn: 'ពង្រីក', | ||
tipDownload: 'ទាញយក', | ||
tipClose: 'ការបិទ(Esc)', | ||
tipOriginalSize: 'ធ្វើមាត្រដ្ឋានទៅទំហំដើម' | ||
} | ||
} | ||
|
||
export default kmKH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type { NDateLocale } from './enUS' | ||
import { km } from 'date-fns/locale' | ||
|
||
const dateKmKH: NDateLocale = { | ||
name: 'km-KH', | ||
locale: km | ||
} | ||
|
||
export default dateKmKH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters