Use new translation system
This commit is contained in:
parent
f9543ca8fb
commit
e6afb646aa
@ -1,3 +1,2 @@
|
||||
doc
|
||||
intllib?
|
||||
default?
|
||||
|
7
init.lua
7
init.lua
@ -1,9 +1,4 @@
|
||||
local S
|
||||
if minetest.get_modpath("intllib") then
|
||||
S = intllib.Getter(minetest.get_current_modname())
|
||||
else
|
||||
S = function(s) return s end
|
||||
end
|
||||
local S = minetest.get_translator("doc_encyclopedia")
|
||||
|
||||
minetest.register_craftitem("doc_encyclopedia:encyclopedia", {
|
||||
description = S("Encyclopedia"),
|
||||
|
@ -1,3 +0,0 @@
|
||||
Encyclopedia = Enzyklopädie
|
||||
Allows you to access the help. = Damit kann man auf die Hilfe zuzugreifen.
|
||||
Wield it, then leftclick to access the help. = Halten Sie sie in der Hand und linksklicken Sie, um auf die Hilfe zuzugreifen.
|
4
locale/doc_encyclopedia.de.tr
Normal file
4
locale/doc_encyclopedia.de.tr
Normal file
@ -0,0 +1,4 @@
|
||||
# textdomain:doc_encyclopedia
|
||||
Encyclopedia=Enzyklopädie
|
||||
Allows you to access the help.=Damit kann man auf die Hilfe zuzugreifen.
|
||||
Wield it, then leftclick to access the help.=Halten Sie sie in der Hand und linksklicken Sie, um auf die Hilfe zuzugreifen.
|
Loading…
x
Reference in New Issue
Block a user