Add test locale
This commit is contained in:
@@ -52,10 +52,10 @@ local function itemDefToLuantiDef(itemDef, addModName)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if description == nil or description == '' then
|
if description == nil or description == '' then
|
||||||
description = string.match(s.name, '%S:(%S+)')..'-description'
|
description = string.match(s.name, '%S:(%S+)')..'-desc'
|
||||||
end
|
end
|
||||||
|
|
||||||
local description = S(title)..'\n'..S(description)
|
local description = S(title)..'\n'..core.colorize('#C0C0C0', S(description))
|
||||||
|
|
||||||
s.title, s.description = nil, description
|
s.title, s.description = nil, description
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ local Plant = modInfo.require('Plant')
|
|||||||
Plant:new({
|
Plant:new({
|
||||||
settings = {
|
settings = {
|
||||||
name = 'plants',
|
name = 'plants',
|
||||||
description = 'Plant',
|
|
||||||
tiles = { "test_plant.png" },
|
tiles = { "test_plant.png" },
|
||||||
place_param2 = 3,
|
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