mirror of
git://repo.or.cz/minetest_mana.git
synced 2024-11-15 23:00:20 +01:00
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
|
||||
]===]
|
||||
|
||||
local S
|
||||
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
|
||||
local S = minetest.get_translator("mana")
|
||||
|
||||
mana = {}
|
||||
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 =
|
||||
Mana: @1/@2 =
|
||||
# textdomain:mana
|
||||
Mana=
|
||||
Mana: @1/@2=
|
||||
|
|
Loading…
Reference in New Issue
Block a user