Skip to content

Commit

Permalink
Add Traditional Chinese support
Browse files Browse the repository at this point in the history
#222
Has been changed to the version of this PR
  • Loading branch information
yelandiealma authored and bdunderscore committed May 12, 2024
1 parent 0bc3c4e commit 21ef9b1
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Manual Bake avatar context menu for projects with Modular Avatar (#234)
- `__Generated` folder is not removed after building avatar (#235)
- Add Traditional Chinese support (#230)

### Fixed
- Workaround VRCSDK bug where stale PhysBones state could be retained over play mode transitions (#231)
- Workaround VRCSDK bug where stale PhysBones state could be retained over play mode transitions (#231)

### Changed

Expand Down
7 changes: 5 additions & 2 deletions Editor/UI/Localization/NDMFLocales.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;

Expand All @@ -15,8 +15,11 @@ internal static class NDMFLocales
),
AssetDatabase.LoadAssetAtPath<LocalizationAsset>(
AssetDatabase.GUIDToAssetPath("87c99a0330751d842a030f1385973541")
),
AssetDatabase.LoadAssetAtPath<LocalizationAsset>(
AssetDatabase.GUIDToAssetPath("b1fe4225ad3686e46bb3257770364b6e")
)
}
);
}
}
}
36 changes: 36 additions & 0 deletions Editor/UI/Localization/zh-Hant.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
msgid ""
msgstr ""
"Language: zh-Hant\n"

msgid "ErrorReport:AvatarPrefix"
msgstr "Avatar: "

msgid "ErrorReport:Title"
msgstr "NDMF 控制台"

msgid "ErrorReport:HintFoldout"
msgstr "幫助我修復它!"

msgid "ErrorReport:TestBuild"
msgstr "執行測試用建置"

msgid "ErrorReport:NoErrors"
msgstr "沒有資訊可供報告!"

msgid "ErrorReport:NoAvatarSelected"
msgstr "沒有選擇 Avatar。"

msgid "ErrorReport:Unbuilt"
msgstr "此 Avatar 尚未建置。 "

msgid "Errors:InternalError"
msgstr "發生內部錯誤。"

msgid "Errors:InternalError:description"
msgstr "A plugin has thrown an exception of type {0}. 請將此資訊回報給工具作者。"

msgid "InternalError:StackTraceFoldout"
msgstr "Show Stack Trace (請將此訊息與錯誤報告一併提交!)"

msgid "AvatarProcessor:ProcessingFailed"
msgstr "處理 Avatar 時發生了錯誤。詳細資訊請查看 NDMF 控制台。"
7 changes: 7 additions & 0 deletions Editor/UI/Localization/zh-Hant.po.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 21ef9b1

Please sign in to comment.