diff options
author | Hsin-Hsiang Peng <hsinspeng@gmail.com> | 2021-05-04 03:17:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 21:17:44 +0200 |
commit | 51140a802646c3507436c97d39c8928c54ad701c (patch) | |
tree | 2d80f3231172e8c5e9aef6860917ae3b4bc16efe /i18n | |
parent | 62004506e2fa0980777de5b1de045d5101d01f6c (diff) |
add Traditional Chinese i18n translation (#335)
Add the Traditional Chinese i18n translation for language code "zh-TW".
Ref: https://discourse.gohugo.io/t/i18n-support-for-language-country-code/20303
Diffstat (limited to 'i18n')
-rw-r--r-- | i18n/zh-TW.yaml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/i18n/zh-TW.yaml b/i18n/zh-TW.yaml new file mode 100644 index 0000000..7ed7f3a --- /dev/null +++ b/i18n/zh-TW.yaml @@ -0,0 +1,20 @@ +- id: Search + translation: 搜索 + +- id: Edit this page + translation: 編輯頁面 + +- id: Last modified by + translation: 最後修改者 + +- id: Expand + translation: 展開 + +- id: bookSearchConfig + translation: | + { + encode: false, + tokenize: function(str) { + return str.replace(/[\x00-\x7F]/g, '').split(''); + } + } |