forked from mtcontrib/minetest_mana
Use new 5.0.0 translation system
This commit is contained in:
parent
f4a0c31301
commit
7efd3064bb
7
init.lua
7
init.lua
@ -9,12 +9,7 @@ License: WTFPL
|
|||||||
Initialization
|
Initialization
|
||||||
]===]
|
]===]
|
||||||
|
|
||||||
local S
|
local S = minetest.get_translator("mana")
|
||||||
if (minetest.get_modpath("intllib")) then
|
|
||||||
S = intllib.Getter()
|
|
||||||
else
|
|
||||||
S = function(s,a,...)a={a,...}return s:gsub("@(%d+)",function(n)return a[tonumber(n)]end)end
|
|
||||||
end
|
|
||||||
|
|
||||||
mana = {}
|
mana = {}
|
||||||
mana.playerlist = {}
|
mana.playerlist = {}
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
Mana = Mana
|
|
||||||
Mana: @1/@2 = Mana: @1/@2
|
|
3
locale/mana.de.tr
Normal file
3
locale/mana.de.tr
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# textdomain:mana
|
||||||
|
Mana=Mana
|
||||||
|
Mana: @1/@2=Mana: @1/@2
|
@ -1,2 +1,3 @@
|
|||||||
Mana =
|
# textdomain:mana
|
||||||
Mana: @1/@2 =
|
Mana=
|
||||||
|
Mana: @1/@2=
|
||||||
|
Loading…
Reference in New Issue
Block a user