222
This commit is contained in:
parent
b3760b6cdc
commit
d195539405
@ -1 +1 @@
|
|||||||
5
|
7
|
56
changelog.md
56
changelog.md
@ -110,3 +110,59 @@
|
|||||||
|
|
||||||
导入mText和TextMeshpro文本!
|
导入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
@ -53,12 +53,14 @@ def update_history7z(process):
|
|||||||
|
|
||||||
|
|
||||||
# 将翻译导入回text
|
# 将翻译导入回text
|
||||||
def import_translation(distfolder, textkeylist, translationsrc, translationdst):
|
def import_translation(
|
||||||
|
srcfolder, distfolder, textkeylist, translationsrc, translationdst
|
||||||
|
):
|
||||||
# 备份text到text-bk-version
|
# 备份text到text-bk-version
|
||||||
with open("buildnumber.txt", "r+") as f:
|
with open("buildnumber.txt", "r+") as f:
|
||||||
version = int(f.read())
|
version = int(f.read())
|
||||||
if not os.path.exists(f"text-bk-V{version}"):
|
if not os.path.exists(srcfolder):
|
||||||
shutil.copytree("text", f"text-bk-V{version}")
|
shutil.copytree(srcfolder, distfolder)
|
||||||
|
|
||||||
# 将翻译导入text,首先打开对应的json文件
|
# 将翻译导入text,首先打开对应的json文件
|
||||||
with open(translationsrc, "r") as f:
|
with open(translationsrc, "r") as f:
|
||||||
@ -127,6 +129,7 @@ if __name__ == "__main__":
|
|||||||
# update_changelog(changelog)
|
# update_changelog(changelog)
|
||||||
import_translation(
|
import_translation(
|
||||||
"text",
|
"text",
|
||||||
|
"text-cn",
|
||||||
["Text", "Array"],
|
["Text", "Array"],
|
||||||
"translation-tools/weblate/textmeshpro/en.json",
|
"translation-tools/weblate/textmeshpro/en.json",
|
||||||
"translation-tools/weblate/textmeshpro/zh_CN.json",
|
"translation-tools/weblate/textmeshpro/zh_CN.json",
|
||||||
@ -134,6 +137,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
import_translation(
|
import_translation(
|
||||||
"text",
|
"text",
|
||||||
|
"text-cn",
|
||||||
[
|
[
|
||||||
"m_text",
|
"m_text",
|
||||||
"BIOSText",
|
"BIOSText",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user