Skip to content

Commit 73994e2

Browse files
Merge pull request #710 from JesseChaucer/master
add translation Chinese_HK
2 parents f474e48 + a55560d commit 73994e2

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,3 +371,4 @@ Available languages
371371
| ur | Urdu | |
372372
| vi | Vietnamese | |
373373
| zh | Chinese | |
374+
| zhHK | Chinese_HK | |

src/locale/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ import uk from './translations/uk'
4747
import ur from './translations/ur'
4848
import vi from './translations/vi'
4949
import zh from './translations/zh'
50+
import zhHK from './translations/zh-HK'
5051

5152
export {
5253
af,
@@ -97,7 +98,8 @@ export {
9798
uk,
9899
ur,
99100
vi,
100-
zh
101+
zh,
102+
zhHK
101103
}
102104
// eslint-disable-next-line
103105
;

src/locale/translations/zh-HK.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import Language from '../Language'
2+
3+
const language = new Language(
4+
'Chinese_HK',
5+
['壹月', '贰月', '叁月', '肆月', '伍月', '陆月', '柒月', '捌月', '玖月', '拾月', '拾壹月', '拾贰月'],
6+
['壹月', '贰月', '叁月', '肆月', '伍月', '陆月', '柒月', '捌月', '玖月', '拾月', '拾壹月', '拾贰月'],
7+
['日', '壹', '贰', '叁', '肆', '伍', '陆']
8+
)
9+
language.yearSuffix = '年'
10+
11+
export default language

0 commit comments

Comments
 (0)