Add test locale
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ local Plant = modInfo.require('Plant')
|
||||
Plant:new({
|
||||
settings = {
|
||||
name = 'plants',
|
||||
description = 'Plant',
|
||||
tiles = { "test_plant.png" },
|
||||
place_param2 = 3,
|
||||
},
|
||||
|
||||
4
mods/GAME/ITEMS/soils/locale/soils.ru.tr
Normal file
4
mods/GAME/ITEMS/soils/locale/soils.ru.tr
Normal file
@@ -0,0 +1,4 @@
|
||||
# textdomain: soils
|
||||
|
||||
turf_swamp-title=Болотистая Почва
|
||||
turf_swamp-desc=Высокоплодородистая почва с высоким содержанием удобрений.
|
||||
Reference in New Issue
Block a user