Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Traditional Chinese support #230

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [unreleased]

### Added
- Add Traditional Chinese support (#230)
### Fixed

### Changed

### Removed

### Security

### Deprecated

## [1.4.0] - [2024-03-27]

### Added
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.