Remove string.lower so item name is correctly translated

This commit is contained in:
Louis 2020-09-27 12:04:13 +02:00 committed by Treer
parent c70a669709
commit 1268049706
1 changed files with 2 additions and 2 deletions

View File

@ -1780,7 +1780,7 @@ local function create_book_of_portals()
ignition_item_description = minetest.registered_items[ignition_item_name].description
end
intro_text = intro_text ..
S("\n\nThe key to opening such a doorway is to strike the frame with a @1, at which point the very air inside begins to crackle and glow.", string.lower(ignition_item_description))
S("\n\nThe key to opening such a doorway is to strike the frame with a @1, at which point the very air inside begins to crackle and glow.", ignition_item_description)
chapters[#chapters + 1] = {text = intro_text}
@ -2388,4 +2388,4 @@ function nether.find_nearest_working_portal(portal_name, anchorPos, distance_lim
end
end
return nil
end
end