From b49543824a5d7d85de5d6a71cf871bf96c932090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Mart=C3=ADnez?= Date: Mon, 20 Feb 2017 17:24:17 -0300 Subject: Fix some translatable strings. --- init.lua | 10 +++++----- polebean.lua | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/init.lua b/init.lua index c91afd7..ee927b1 100644 --- a/init.lua +++ b/init.lua @@ -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, -- cgit v1.2.3