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
This commit is contained in:
Hsin-Hsiang Peng 2021-05-04 03:17:44 +08:00 committed by GitHub
parent 62004506e2
commit 51140a8026
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
i18n/zh-TW.yaml Normal file
View file

@ -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('');
}
}