Skip to content

Commit f972391

Browse files
SamnangNhumwenqi73
andauthored
feat(module:i18n): add km_KH (#7220)
Co-authored-by: Wenqi Chen <1264578441@qq.com>
1 parent e541761 commit f972391

File tree

4 files changed

+177
-0
lines changed

4 files changed

+177
-0
lines changed

components/i18n/languages/km_KH.ts

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
/**
2+
* Use of this source code is governed by an MIT-style license that can be
3+
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
4+
*/
5+
6+
export default {
7+
locale: 'km',
8+
Pagination: {
9+
items_per_page: '/ ទំព័រ',
10+
jump_to: 'លោត​ទៅ',
11+
jump_to_confirm: 'បញ្ជាក់',
12+
page: 'ទំព័រ',
13+
prev_page: 'ទំព័រ​មុន',
14+
next_page: 'ទំព័រ​​បន្ទាប់',
15+
prev_5: '៥ ទំព័រថយក្រោយ',
16+
next_5: '៥ ទំព័រទៅមុខ',
17+
prev_3: '៣ ទំព័រថយក្រោយ',
18+
next_3: '៣ ទំព័រទៅមុខ'
19+
},
20+
DatePicker: {
21+
lang: {
22+
placeholder: 'រើសថ្ងៃ',
23+
yearPlaceholder: 'រើសឆ្នាំ',
24+
quarterPlaceholder: 'រើសត្រីមាស',
25+
monthPlaceholder: 'រើសខែ',
26+
weekPlaceholder: 'រើសសប្តាហ៍',
27+
rangePlaceholder: ['ថ្ងៃចាប់ផ្ដើម', 'ថ្ងៃបញ្ចប់'],
28+
rangeYearPlaceholder: ['ឆ្នាំចាប់ផ្ដើម', 'ឆ្នាំបញ្ចប់'],
29+
rangeMonthPlaceholder: ['ខែចាប់ផ្ដើម', 'ខែបញ្ចប់'],
30+
rangeWeekPlaceholder: ['សប្ដាហ៍ចាប់ផ្ដើម', 'សប្ដាហ៍បញ្ចប់'],
31+
locale: 'km_KH',
32+
today: 'ថ្ងៃនេះ',
33+
now: 'ឥឡូវ​នេះ',
34+
backToToday: 'ត្រលប់ទៅថ្ងៃនេះ',
35+
ok: 'យល់ព្រម',
36+
clear: 'ត្រឡប់ដើម',
37+
month: 'ខែ',
38+
year: 'ឆ្នាំ',
39+
timeSelect: 'រើសម៉ោង',
40+
dateSelect: 'រើសកាលបរិច្ឆេទ',
41+
weekSelect: 'រើសសប្តាហ៍',
42+
monthSelect: 'រើសខែ',
43+
yearSelect: 'រើសឆ្នាំ',
44+
decadeSelect: 'រើសទសវត្សរ៍',
45+
yearFormat: 'YYYY',
46+
dateFormat: 'M/D/YYYY',
47+
dayFormat: 'D',
48+
dateTimeFormat: 'M/D/YYYY HH:mm:ss',
49+
monthBeforeYear: true,
50+
previousMonth: 'ខែមុន (PageUp)',
51+
nextMonth: 'ខែក្រោយ (PageDown)',
52+
previousYear: 'ឆ្នាំមុន (Control + left)',
53+
nextYear: 'ឆ្នាំក្រោយ (Control + right)',
54+
previousDecade: 'ទសវត្សរ៍មុន',
55+
nextDecade: 'ទសវត្សរ៍ក្រោយ',
56+
previousCentury: 'សតវត្សមុន',
57+
nextCentury: 'សតវត្សក្រោយ'
58+
},
59+
timePickerLocale: {
60+
placeholder: 'រើសម៉ោង',
61+
rangePlaceholder: ['ម៉ោងចប់ផ្ដើម', 'ម៉ោងបញ្ចប់']
62+
}
63+
},
64+
TimePicker: {
65+
placeholder: 'រើសម៉ោង',
66+
rangePlaceholder: ['ម៉ោងចប់ផ្ដើម', 'ម៉ោងបញ្ចប់']
67+
},
68+
Calendar: {
69+
lang: {
70+
placeholder: 'រើសថ្ងៃ',
71+
yearPlaceholder: 'រើសឆ្នាំ',
72+
quarterPlaceholder: 'រើសត្រីមាស',
73+
monthPlaceholder: 'រើសខែ',
74+
weekPlaceholder: 'រើសសប្តាហ៍',
75+
rangePlaceholder: ['ថ្ងៃចាប់ផ្ដើម', 'ថ្ងៃបញ្ចប់'],
76+
rangeYearPlaceholder: ['ឆ្នាំចាប់ផ្ដើម', 'ឆ្នាំបញ្ចប់'],
77+
rangeMonthPlaceholder: ['ខែចាប់ផ្ដើម', 'ខែបញ្ចប់'],
78+
rangeWeekPlaceholder: ['សប្ដាហ៍ចាប់ផ្ដើម', 'សប្ដាហ៍បញ្ចប់'],
79+
locale: 'km_KH',
80+
today: 'ថ្ងៃនេះ',
81+
now: 'ឥឡូវ​នេះ',
82+
backToToday: 'ត្រលប់ទៅថ្ងៃនេះ',
83+
ok: 'យល់ព្រម',
84+
clear: 'ត្រឡប់ដើម',
85+
month: 'ខែ',
86+
year: 'ឆ្នាំ',
87+
timeSelect: 'រើសម៉ោង',
88+
dateSelect: 'រើសកាលបរិច្ឆេទ',
89+
weekSelect: 'រើសសប្តាហ៍',
90+
monthSelect: 'រើសខែ',
91+
yearSelect: 'រើសឆ្នាំ',
92+
decadeSelect: 'រើសទសវត្សរ៍',
93+
yearFormat: 'YYYY',
94+
dateFormat: 'M/D/YYYY',
95+
dayFormat: 'D',
96+
dateTimeFormat: 'M/D/YYYY HH:mm:ss',
97+
monthBeforeYear: true,
98+
previousMonth: 'ខែមុន (PageUp)',
99+
nextMonth: 'ខែក្រោយ (PageDown)',
100+
previousYear: 'ឆ្នាំមុន (Control + left)',
101+
nextYear: 'ឆ្នាំក្រោយ (Control + right)',
102+
previousDecade: 'ទសវត្សរ៍មុន',
103+
nextDecade: 'ទសវត្សរ៍ក្រោយ',
104+
previousCentury: 'សតវត្សមុន',
105+
nextCentury: 'សតវត្សក្រោយ'
106+
},
107+
timePickerLocale: {
108+
placeholder: 'រើសម៉ោង',
109+
rangePlaceholder: ['ម៉ោងចប់ផ្ដើម', 'ម៉ោងបញ្ចប់']
110+
}
111+
},
112+
global: {
113+
placeholder: 'សូមជ្រើសរើស'
114+
},
115+
Table: {
116+
filterTitle: 'បញ្ចីតម្រៀប',
117+
filterConfirm: 'យល់ព្រម',
118+
filterReset: 'ត្រឡប់ដើម',
119+
filterEmptyText: 'គ្មានបញ្ចីតម្រៀប',
120+
emptyText: 'គ្មានទិន្នន័យ',
121+
selectAll: 'រើសក្នុងទំព័រនេះ',
122+
selectInvert: 'បញ្ច្រាសក្នុងទំព័រនេះ',
123+
selectionAll: 'រើសយកទាំងអស់',
124+
sortTitle: 'តម្រៀប',
125+
expand: 'ពន្លាត',
126+
collapse: 'បិតបាំង',
127+
triggerDesc: 'ចុចដើម្បីរៀបតាមលំដាប់ធំ',
128+
triggerAsc: 'ចុចដើម្បីរៀបតាមលំដាប់តូច​',
129+
cancelSort: 'ចុចដើម្បីបោះបង់'
130+
},
131+
Modal: {
132+
okText: 'យល់ព្រម',
133+
cancelText: 'បោះបង់',
134+
justOkText: 'យល់ព្រម'
135+
},
136+
Popconfirm: {
137+
okText: 'យល់ព្រម',
138+
cancelText: 'បោះបង់'
139+
},
140+
Transfer: {
141+
titles: ['', ''],
142+
searchPlaceholder: 'ស្វែងរកនៅទីនេះ',
143+
itemUnit: 'item',
144+
itemsUnit: 'items',
145+
remove: 'លុប',
146+
selectCurrent: 'រើសទំព័របច្ចុប្បន្ន',
147+
removeCurrent: 'លុបទំព័របច្ចុប្បន្ន',
148+
selectAll: 'រើសទិន្នន័យទាំងអស់',
149+
removeAll: 'លុបទិន្នន័យទាំងអស់',
150+
selectInvert: 'បញ្ច្រាសទំព័របច្ចុប្បន្ន'
151+
},
152+
Upload: {
153+
uploading: 'កំពុងបញ្ចូលឡើង...',
154+
removeFile: 'លុបឯកសារ',
155+
uploadError: 'បញ្ចូលមិនជោគជ័យ',
156+
previewFile: 'មើលឯកសារ',
157+
downloadFile: 'ទាញយកឯកសារ'
158+
},
159+
Empty: {
160+
description: 'គ្មានទិន្នន័យ'
161+
},
162+
Icon: {
163+
icon: 'icon'
164+
},
165+
Text: {
166+
edit: 'កែ',
167+
copy: 'Copy',
168+
copied: 'Copied',
169+
expand: 'ពង្រីក'
170+
},
171+
PageHeader: {
172+
back: 'Back'
173+
}
174+
};

components/i18n/public-api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export { default as is_IS } from './languages/is_IS';
4040
export { default as it_IT } from './languages/it_IT';
4141
export { default as ja_JP } from './languages/ja_JP';
4242
export { default as ka_GE } from './languages/ka_GE';
43+
export { default as km_KH } from './languages/km_KH';
4344
export { default as kk_KZ } from './languages/kk_KZ';
4445
export { default as kmr_IQ } from './languages/kmr_IQ';
4546
export { default as kn_IN } from './languages/kn_IN';

docs/i18n.en-US.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ Supported languages:
123123
| Georgian | ka_GE |
124124
| Kazakh | kk_KZ |
125125
| Kannada | kn_IN |
126+
| Khmer | km_KH |
126127
| Korean | ko_KR |
127128
| Kurdish | ku_IQ |
128129
| Latvian | lv_LV |

docs/i18n.zh-CN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ switchLanguage() {
117117
| 意大利语 | it_IT |
118118
| 日语 | ja_JP |
119119
| 格鲁吉亚语 | ka_GE |
120+
| 高棉 | km_KH |
120121
| 哈萨克语 | kk_KZ |
121122
| 卡纳达语 | kn_IN |
122123
| 韩语/朝鲜语 | ko_KR |

0 commit comments

Comments
 (0)