diff --git a/income.lua b/income.lua index e2146d0..cbbd5d8 100644 --- a/income.lua +++ b/income.lua @@ -15,7 +15,7 @@ minetest.register_globalstep(function(dtime) players_income[name] = 0 end players_income[name] = 1 - minetest.log("info", S("[Currency] basic income for @1", name)) + minetest.log("info", "[Currency] "..S("basic income for @1", name)) end end end) @@ -31,7 +31,7 @@ earn_income = function(player) local inv = player:get_inventory() inv:add_item("main", {name="currency:minegeld_5", count=count}) players_income[name] = 0 - minetest.log("info", S("[Currency] added basic income for @1 to inventory", name)) + minetest.log("info", "[Currency] "..S("added basic income for @1 to inventory", name)) end end diff --git a/init.lua b/init.lua index 7060138..fa85bd2 100644 --- a/init.lua +++ b/init.lua @@ -6,19 +6,19 @@ local S, NS = dofile(modpath.."/intllib.lua") minetest.log("info", S("Currency mod loading...")) dofile(modpath.."/craftitems.lua") -minetest.log("info", S("[Currency] Craft_items Loaded!")) +minetest.log("info", "[Currency] "..S("Craft_items Loaded!")) dofile(modpath.."/shop.lua") -minetest.log("info", S("[Currency] Shop Loaded!")) +minetest.log("info", "[Currency] "..S("Shop Loaded!")) dofile(modpath.."/barter.lua") -minetest.log("info", S("[Currency] Barter Loaded!")) +minetest.log("info", "[Currency] "..S("Barter Loaded!")) dofile(modpath.."/safe.lua") -minetest.log("info", S("[Currency] Safe Loaded!")) +minetest.log("info", "[Currency] "..S("Safe Loaded!")) dofile(modpath.."/crafting.lua") -minetest.log("info", S("[Currency] Crafting Loaded!")) +minetest.log("info", "[Currency] "..S("Crafting Loaded!")) if minetest.setting_getbool("creative_mode") then - minetest.log("info", S("[Currency] Creative mode in use, skipping basic income.")) + minetest.log("info", "[Currency] "..S("Creative mode in use, skipping basic income.")) else dofile(modpath.."/income.lua") - minetest.log("info", S("[Currency] Income Loaded!")) + minetest.log("info", "[Currency] "..S("Income Loaded!")) end diff --git a/locale/template.pot b/locale/template.pot index aaae543..f528214 100644 --- a/locale/template.pot +++ b/locale/template.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-02-11 21:23-0700\n" +"POT-Creation-Date: 2017-02-20 13:58-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -53,11 +53,11 @@ msgid "Bundle of random Minegeld notes" msgstr "" #: income.lua:18 -msgid "[Currency] basic income for @1" +msgid "basic income for @1" msgstr "" #: income.lua:34 -msgid "[Currency] added basic income for @1 to inventory" +msgid "added basic income for @1 to inventory" msgstr "" #: init.lua:6 @@ -65,31 +65,31 @@ msgid "Currency mod loading..." msgstr "" #: init.lua:9 -msgid "[Currency] Craft_items Loaded!" +msgid "Craft_items Loaded!" msgstr "" #: init.lua:11 -msgid "[Currency] Shop Loaded!" +msgid "Shop Loaded!" msgstr "" #: init.lua:13 -msgid "[Currency] Barter Loaded!" +msgid "Barter Loaded!" msgstr "" #: init.lua:15 -msgid "[Currency] Safe Loaded!" +msgid "Safe Loaded!" msgstr "" #: init.lua:17 -msgid "[Currency] Crafting Loaded!" +msgid "Crafting Loaded!" msgstr "" #: init.lua:20 -msgid "[Currency] Creative mode in use, skipping basic income." +msgid "Creative mode in use, skipping basic income." msgstr "" #: init.lua:23 -msgid "[Currency] Income Loaded!" +msgid "Income Loaded!" msgstr "" #: safe.lua:29