Skip to content

Commit

Permalink
Remove string.lower so item name is correctly translated
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer authored and Treer committed Sep 27, 2020
1 parent c70a669 commit 1268049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions portal_api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down Expand Up @@ -2388,4 +2388,4 @@ function nether.find_nearest_working_portal(portal_name, anchorPos, distance_lim
end
end
return nil
end
end

0 comments on commit 1268049

Please sign in to comment.