diff options
author | Diego MartÃnez <kaeza@users.noreply.github.com> | 2017-02-20 17:24:17 -0300 |
---|---|---|
committer | Auke Kok <sofar+github@foo-projects.org> | 2017-02-20 13:38:32 -0800 |
commit | b49543824a5d7d85de5d6a71cf871bf96c932090 (patch) | |
tree | 5106a1f205fdb69a5b31d3fdb6c4f43d73a7fce9 | |
parent | 89ec8d0d8d4a7bb33041982a53c3ca0d4aa9da81 (diff) |
Fix some translatable strings.
-rw-r--r-- | init.lua | 10 | ||||
-rw-r--r-- | polebean.lua | 2 |
2 files changed, 6 insertions, 6 deletions
@@ -88,15 +88,15 @@ end if not crops.difficulty then crops.difficulty = "normal" - minetest.log("error", S("Defaulting to \"normal\" difficulty settings")) + minetest.log("error", "[crops] "..S("Defaulting to \"normal\" difficulty settings")) end crops.settings = settings[crops.difficulty] if not crops.settings then - minetest.log("error", S("Defaulting to \"normal\" difficulty settings")) + minetest.log("error", "[crops] "..S("Defaulting to \"normal\" difficulty settings")) crops.settings = settings.normal end if crops.settings.hydration then - minetest.log("action", S("[crops] Hydration and dehydration mechanics are enabled.")) + minetest.log("action", "[crops] "..S("Hydration and dehydration mechanics are enabled.")) end local find_plant = function(node) @@ -105,7 +105,7 @@ local find_plant = function(node) return crops.plants[i] end end - minetest.log("error", S("Unable to find plant").." \"".. node.name .. "\" "..S("in crops table")) + minetest.log("error", "[crops] "..S("Unable to find plant \"@1\" in crops table", node.name)) return nil end @@ -382,4 +382,4 @@ end dofile(modpath .. "/cooking.lua") dofile(modpath .. "/mapgen.lua") -minetest.log("action", "[crops] loaded.") +minetest.log("action", "[crops] "..S("Loaded!")) diff --git a/polebean.lua b/polebean.lua index cbb730c..608f6bb 100644 --- a/polebean.lua +++ b/polebean.lua @@ -229,7 +229,7 @@ end for stage = 1,4 do minetest.register_node("crops:beanpole_plant_top_" .. stage, { - description = S("green bean plant"), + description = S("Green Bean plant"), tiles = { "crops_beanpole_plant_top_" .. stage .. ".png" }, drawtype = "plantlike", sunlight_propagates = true, |