Add test locale

This commit is contained in:
Van
2026-01-02 23:03:54 +03:00
parent 2032082ba8
commit cf4ca6f8dc
3 changed files with 6 additions and 3 deletions

View File

@@ -52,10 +52,10 @@ local function itemDefToLuantiDef(itemDef, addModName)
end
if description == nil or description == '' then
description = string.match(s.name, '%S:(%S+)')..'-description'
description = string.match(s.name, '%S:(%S+)')..'-desc'
end
local description = S(title)..'\n'..S(description)
local description = S(title)..'\n'..core.colorize('#C0C0C0', S(description))
s.title, s.description = nil, description