Merge pull request #1988 from McGiverGim/add_traditional_chinese_translation

10.7.0-preview
Michael Keller 2020-04-29 00:01:06 +12:00 committed by GitHub
commit 4b8aab22dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5559 additions and 1 deletions

View File

@ -67,6 +67,7 @@ OutFile "..\..\${DEST_FOLDER}\${FILE_NAME_INSTALLER}"
!insertmacro MUI_LANGUAGE "SimpChinese"
!insertmacro MUI_LANGUAGE "Spanish"
!insertmacro MUI_LANGUAGE "Swedish"
!insertmacro MUI_LANGUAGE "TradChinese"
# detect default install folder
Function .onInit

View File

@ -185,6 +185,10 @@
"message": "\u7b80\u4f53\u4e2d\u6587",
"description": "Don't translate!!!"
},
"language_zh_TW": {
"message": "\u7e41\u9ad4\u4e2d\u6587",
"description": "Don't translate!!!"
},
"sensorDataFlashNotFound": {
"message": "No dataflash <br>chip found",

5553
locales/zh_TW/messages.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@
window.i18n = {};
const languagesAvailables = ['ca', 'de', 'en', 'es', 'eu', 'fr', 'gl', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'lv', 'pt', 'pt_BR', 'pl', 'ru', 'sv', 'zh_CN'];
const languagesAvailables = ['ca', 'de', 'en', 'es', 'eu', 'fr', 'gl', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'lv', 'pt', 'pt_BR', 'pl', 'ru', 'sv', 'zh_CN', 'zh_TW'];
const languageFallback = {
'pt': ['pt_BR', 'en'],