This commit is contained in:
WS-3917 2025-03-19 13:20:27 +08:00
parent b3760b6cdc
commit d195539405
5 changed files with 24907 additions and 21138 deletions

View File

@ -1 +1 @@
5
7

View File

@ -110,3 +110,59 @@
导入mText和TextMeshpro文本
## 版本号: V5
> 构建时间2025-03-19 12:59:05
### assembly-dll 更新内容:
### shaderassets0-assets 更新内容:
【成功导入字体】DTM-Mono用于主菜单和正文文本。
### code-csharp 更新内容:
### images-l10n 更新内容:
### rules 更新内容:
### text 更新内容:
导入mText和TextMeshpro文本
## 版本号: V6
> 构建时间2025-03-19 13:07:35
### assembly-dll 更新内容:
### shaderassets0-assets 更新内容:
【成功导入字体】DTM-Mono用于主菜单和正文文本。
### code-csharp 更新内容:
### images-l10n 更新内容:
### rules 更新内容:
### text 更新内容:
导入mText和TextMeshpro文本

Binary file not shown.

Before

Width:  |  Height:  |  Size: 477 KiB

After

Width:  |  Height:  |  Size: 491 KiB

File diff suppressed because one or more lines are too long

View File

@ -53,12 +53,14 @@ def update_history7z(process):
# 将翻译导入回text
def import_translation(distfolder, textkeylist, translationsrc, translationdst):
def import_translation(
srcfolder, distfolder, textkeylist, translationsrc, translationdst
):
# 备份text到text-bk-version
with open("buildnumber.txt", "r+") as f:
version = int(f.read())
if not os.path.exists(f"text-bk-V{version}"):
shutil.copytree("text", f"text-bk-V{version}")
if not os.path.exists(srcfolder):
shutil.copytree(srcfolder, distfolder)
# 将翻译导入text首先打开对应的json文件
with open(translationsrc, "r") as f:
@ -127,6 +129,7 @@ if __name__ == "__main__":
# update_changelog(changelog)
import_translation(
"text",
"text-cn",
["Text", "Array"],
"translation-tools/weblate/textmeshpro/en.json",
"translation-tools/weblate/textmeshpro/zh_CN.json",
@ -134,6 +137,7 @@ if __name__ == "__main__":
import_translation(
"text",
"text-cn",
[
"m_text",
"BIOSText",