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 /init.lua | |
parent | 89ec8d0d8d4a7bb33041982a53c3ca0d4aa9da81 (diff) |
Fix some translatable strings.
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 10 |
1 files changed, 5 insertions, 5 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!")) |