Skip to content

Commit 7d4a05a

Browse files
author
Charlie Kassel
committed
Merge branch 'master' of github.com:charliekassel/vuejs-datepicker
* 'master' of github.com:charliekassel/vuejs-datepicker: resume package.json lint code Update zh-HK.js change packeage name & version add translation Chinese_HK
2 parents 6765ff2 + 73994e2 commit 7d4a05a

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
@@ -392,3 +392,4 @@ Available languages
392392
| ur | Urdu | |
393393
| vi | Vietnamese | |
394394
| zh | Chinese | |
395+
| 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)