mirror of
https://github.com/mt-mods/currency.git
synced 2024-11-22 20:33:44 +01:00
requested localization changes
This commit is contained in:
parent
f6c00b5e20
commit
215a33ee9a
@ -15,7 +15,7 @@ minetest.register_globalstep(function(dtime)
|
|||||||
players_income[name] = 0
|
players_income[name] = 0
|
||||||
end
|
end
|
||||||
players_income[name] = 1
|
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
|
end
|
||||||
end)
|
end)
|
||||||
@ -31,7 +31,7 @@ earn_income = function(player)
|
|||||||
local inv = player:get_inventory()
|
local inv = player:get_inventory()
|
||||||
inv:add_item("main", {name="currency:minegeld_5", count=count})
|
inv:add_item("main", {name="currency:minegeld_5", count=count})
|
||||||
players_income[name] = 0
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
14
init.lua
14
init.lua
@ -6,19 +6,19 @@ local S, NS = dofile(modpath.."/intllib.lua")
|
|||||||
minetest.log("info", S("Currency mod loading..."))
|
minetest.log("info", S("Currency mod loading..."))
|
||||||
|
|
||||||
dofile(modpath.."/craftitems.lua")
|
dofile(modpath.."/craftitems.lua")
|
||||||
minetest.log("info", S("[Currency] Craft_items Loaded!"))
|
minetest.log("info", "[Currency] "..S("Craft_items Loaded!"))
|
||||||
dofile(modpath.."/shop.lua")
|
dofile(modpath.."/shop.lua")
|
||||||
minetest.log("info", S("[Currency] Shop Loaded!"))
|
minetest.log("info", "[Currency] "..S("Shop Loaded!"))
|
||||||
dofile(modpath.."/barter.lua")
|
dofile(modpath.."/barter.lua")
|
||||||
minetest.log("info", S("[Currency] Barter Loaded!"))
|
minetest.log("info", "[Currency] "..S("Barter Loaded!"))
|
||||||
dofile(modpath.."/safe.lua")
|
dofile(modpath.."/safe.lua")
|
||||||
minetest.log("info", S("[Currency] Safe Loaded!"))
|
minetest.log("info", "[Currency] "..S("Safe Loaded!"))
|
||||||
dofile(modpath.."/crafting.lua")
|
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
|
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
|
else
|
||||||
dofile(modpath.."/income.lua")
|
dofile(modpath.."/income.lua")
|
||||||
minetest.log("info", S("[Currency] Income Loaded!"))
|
minetest.log("info", "[Currency] "..S("Income Loaded!"))
|
||||||
end
|
end
|
||||||
|
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \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"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -53,11 +53,11 @@ msgid "Bundle of random Minegeld notes"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: income.lua:18
|
#: income.lua:18
|
||||||
msgid "[Currency] basic income for @1"
|
msgid "basic income for @1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: income.lua:34
|
#: income.lua:34
|
||||||
msgid "[Currency] added basic income for @1 to inventory"
|
msgid "added basic income for @1 to inventory"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.lua:6
|
#: init.lua:6
|
||||||
@ -65,31 +65,31 @@ msgid "Currency mod loading..."
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.lua:9
|
#: init.lua:9
|
||||||
msgid "[Currency] Craft_items Loaded!"
|
msgid "Craft_items Loaded!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.lua:11
|
#: init.lua:11
|
||||||
msgid "[Currency] Shop Loaded!"
|
msgid "Shop Loaded!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.lua:13
|
#: init.lua:13
|
||||||
msgid "[Currency] Barter Loaded!"
|
msgid "Barter Loaded!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.lua:15
|
#: init.lua:15
|
||||||
msgid "[Currency] Safe Loaded!"
|
msgid "Safe Loaded!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.lua:17
|
#: init.lua:17
|
||||||
msgid "[Currency] Crafting Loaded!"
|
msgid "Crafting Loaded!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.lua:20
|
#: init.lua:20
|
||||||
msgid "[Currency] Creative mode in use, skipping basic income."
|
msgid "Creative mode in use, skipping basic income."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: init.lua:23
|
#: init.lua:23
|
||||||
msgid "[Currency] Income Loaded!"
|
msgid "Income Loaded!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: safe.lua:29
|
#: safe.lua:29
|
||||||
|
Loading…
Reference in New Issue
Block a user