3 Commits

Author SHA1 Message Date
8054293c2c zh_CN: Update translations (#36) 2019-11-19 19:58:45 +01:00
2d39375bc2 Create zh_CN.txt (#35) 2019-11-03 15:53:29 +01:00
2673afa087 Fix external skins without "_sort_id" 2019-10-29 08:11:38 +01:00
2 changed files with 20 additions and 2 deletions

18
locale/zh_CN.txt Normal file
View File

@ -0,0 +1,18 @@
#Translation by IFRFSX(BingFengFSX)
Raw texture = 自然状态的纹理
Name = 名称
Author = 作者
Change = 更换
Page = 页面
License = 许可证
Description = 说明
Show, list or set player's skin = 显示,列出或者设置玩家的皮肤
Player not found = 玩家未找到
unknown command = 未知命令
see /help skinsdb for supported parameters = 有关skinsdb支持的参数参见 /help
skin set to = 皮肤设置为
invalid skin = 无效皮肤
unknown parameter = 未知参数
unknown skin = 未知皮肤
Downloads the specified range of skins and shuts down the server = 下载指定范围的皮肤并关闭服务器

View File

@ -71,8 +71,8 @@ end
local function skins_sort(skinslist)
table.sort(skinslist, function(a,b)
local a_id = a:get_meta("_sort_id")
local b_id = b:get_meta("_sort_id")
local a_id = a:get_meta("_sort_id") or 10000
local b_id = b:get_meta("_sort_id") or 10000
if a_id ~= b_id then
return a:get_meta("_sort_id") < b:get_meta("_sort_id")
else