mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 14:53:16 -04:00
a bit repiar
This commit is contained in:
parent
a3ce21c4a6
commit
b371f1746d
3 changed files with 31 additions and 6 deletions
25
mods/default/locale/con.py
Executable file
25
mods/default/locale/con.py
Executable file
|
@ -0,0 +1,25 @@
|
|||
#!/usr/bin/python3
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
#作者:冰枫火灵X<1079092922@qq.com>
|
||||
#许可:仅保留署名权
|
||||
|
||||
import os
|
||||
|
||||
print("欢迎使用")
|
||||
|
||||
fn = str(input("Mod tr文件名称(不包括.zh_CN.tr):"))+".zh_CN.tr"
|
||||
|
||||
if os.access(fn,os.F_OK):
|
||||
pass
|
||||
else:
|
||||
print("文件不存在.")
|
||||
x = input("END.")
|
||||
os._exit(0)
|
||||
|
||||
fn2 = str(fn.replace("CN","TW"))
|
||||
|
||||
os.system("opencc -c s2tw -i {0:s} -o {1:s}".format(fn,fn2))
|
||||
|
||||
x = input("END.")
|
||||
os._exit(0)
|
|
@ -24,7 +24,7 @@ Copper Ingot=铜锭
|
|||
Tin Ingot=锡锭
|
||||
Bronze Ingot=青铜锭
|
||||
Gold Ingot=金锭
|
||||
Mese Crystal Fragment=黄石水晶碎片
|
||||
Mese Crystal Fragment=黄石晶体3碎片
|
||||
Clay Brick=粘土砖
|
||||
Obsidian Shard=黑曜石碎片
|
||||
Flint=燧石
|
||||
|
@ -148,8 +148,8 @@ Orange Coral=橙珊瑚
|
|||
Coral Skeleton=珊瑚骨架
|
||||
Water Source=水方块
|
||||
Flowing Water=流动的水
|
||||
River Water Source=河流水方块
|
||||
Flowing River Water=流动的河流水
|
||||
River Water Source=河水方块
|
||||
Flowing River Water=流动的河水
|
||||
Lava Source=岩浆方块
|
||||
Flowing Lava=流动的岩浆
|
||||
Empty Bookshelf=空书架
|
||||
|
|
|
@ -24,7 +24,7 @@ Copper Ingot=銅錠
|
|||
Tin Ingot=錫錠
|
||||
Bronze Ingot=青銅錠
|
||||
Gold Ingot=金錠
|
||||
Mese Crystal Fragment=黃石水晶碎片
|
||||
Mese Crystal Fragment=黃石晶體3碎片
|
||||
Clay Brick=粘土磚
|
||||
Obsidian Shard=黑曜石碎片
|
||||
Flint=燧石
|
||||
|
@ -148,8 +148,8 @@ Orange Coral=橙珊瑚
|
|||
Coral Skeleton=珊瑚骨架
|
||||
Water Source=水方塊
|
||||
Flowing Water=流動的水
|
||||
River Water Source=河流水方塊
|
||||
Flowing River Water=流動的河流水
|
||||
River Water Source=河水方塊
|
||||
Flowing River Water=流動的河水
|
||||
Lava Source=岩漿方塊
|
||||
Flowing Lava=流動的岩漿
|
||||
Empty Bookshelf=空書架
|
||||
|
|
Loading…
Add table
Reference in a new issue