1
0
Fork 0
mirror of https://github.com/marcrobledo/RomPatcher.js.git synced 2025-06-27 16:25:54 +00:00

add zh-tw translation

add zh-tw(traditional Chinese/正體中文) locale translation.
This commit is contained in:
shiken 2023-04-17 03:09:57 +08:00
parent f1164e7f67
commit c0e9c50a55
2 changed files with 35 additions and 1 deletions

View file

@ -200,7 +200,7 @@
<div class="text-right m-b"><img id="settings-close-dialog" src="style/icon_close.svg" /></div>
<div class="row m-b">
<div class="leftcol"><label for="select-language">Language</label></div>
<div class="leftcol" data-localize="language"><label for="select-language">Language</label></div>
<div class="rightcol text-right">
<select id="select-language" class="enabled w100">
<option value="en">English</option>
@ -216,6 +216,7 @@
<option value="ru">Russian</option>
<option value="ja">日本語</option>
<option value="zh-cn">中文(简体)</option>
<option value="zh-tw">中文(正體)</option>
</select>
</div>
</div>

View file

@ -2,6 +2,7 @@ const LOCALIZATION={
'en':{
'creator_mode': 'Creator mode',
'settings': 'Settings',
'language': 'Language',
'alternate_output_name': 'Use patch name for output',
'fix_checksum': 'Fix ROM header checksum',
'light_theme': 'Light theme',
@ -366,6 +367,38 @@ const LOCALIZATION={
'error_invalid_patch': '无效补丁',
'warning_too_big': '不推荐使用大文件。'
},
'zh-tw':{
'creator_mode': '創作者模式',
'settings': '設定',
'language': '語言',
'alternate_output_name': '修改後ROM檔名和patch保持一致',
'fix_checksum': '修正ROM檔頭校驗碼',
'light_theme': '淺色主題',
'apply_patch': '套用patch',
'rom_file': 'ROM檔',
'patch_file': 'patch檔',
'remove_header': '刪除檔頭',
'add_header': '增加臨時檔頭',
'compatible_formats': '相容格式:',
'applying_patch': '套用patch中……',
'downloading': '下載中……',
'unzipping': '解壓中……',
'create_patch': '創建patch',
'original_rom': '原始ROM',
'modified_rom': '修改後ROM',
'patch_type': 'patch類型',
'creating_patch': '正在創建patch……',
'error_crc_input': '原始ROM校驗碼不匹配',
'error_crc_output': '目標ROM校驗碼不匹配',
'error_crc_patch': 'patch檔校驗碼不匹配',
'error_downloading': '下載出錯:%s',
'error_unzipping': '解壓出錯',
'error_invalid_patch': '無效的patch',
'warning_too_big': '不建議使用大檔。'
},
'it':{
'creator_mode': 'Modalità creatore',
'settings': 'Impostazioni',