Language in load message
parent
581b6e1c89
commit
68ec288f71
8
init.lua
8
init.lua
|
@ -45,7 +45,7 @@ messages.toxic = {
|
||||||
" is radioactive.",
|
" is radioactive.",
|
||||||
" didn't know toxic water was radioactive."
|
" didn't know toxic water was radioactive."
|
||||||
}
|
}
|
||||||
if lang == "de" then
|
if LANG == "de" then
|
||||||
messages.toxic = {
|
messages.toxic = {
|
||||||
" ist radioaktiv.",
|
" ist radioaktiv.",
|
||||||
" wusste nicht, das giftiges Wasser gefährlich ist."
|
" wusste nicht, das giftiges Wasser gefährlich ist."
|
||||||
|
@ -65,7 +65,7 @@ messages.lava = {
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Drowning death messages
|
-- Drowning death messages
|
||||||
if lang == "de" then
|
if LANG == "de" then
|
||||||
messages.water = {
|
messages.water = {
|
||||||
" ertrank.",
|
" ertrank.",
|
||||||
" verlor die Luft.",
|
" verlor die Luft.",
|
||||||
|
@ -107,7 +107,7 @@ messages.other = {
|
||||||
" got hurted by Oerkki.",
|
" got hurted by Oerkki.",
|
||||||
" got blowed up."
|
" got blowed up."
|
||||||
}
|
}
|
||||||
if lang == "de" then
|
if LANG == "de" then
|
||||||
messages.other = {
|
messages.other = {
|
||||||
" starb.",
|
" starb.",
|
||||||
" machte etwas Fatales.",
|
" machte etwas Fatales.",
|
||||||
|
@ -329,5 +329,5 @@ minetest.register_on_punchplayer(function(player, hitter)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-----------------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------------
|
||||||
print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...")
|
print("[Mod] "..title.." ["..version.."] ["..mname.."] ["..LANG.."] Loaded...")
|
||||||
-----------------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue