Add more German

master
Wuzzy 2019-03-20 10:43:31 +01:00
parent f07a9d56ef
commit 2991230b69
3 changed files with 17 additions and 6 deletions

View File

@ -409,13 +409,13 @@ function ltool.tab_database(index, playername)
local leditbuttons, lplantbuttons
if minetest.get_player_privs(playername).ledit then
leditbuttons = "button[3,7.5;3,1;database_rename;"..S(F("Rename tree")).."]"..
"button[6,7.5;3,1;database_delete;"..S(F("Delete tree")).."]"
leditbuttons = "button[3,7.5;3,1;database_rename;"..F(S("Rename tree")).."]"..
"button[6,7.5;3,1;database_delete;"..F(S("Delete tree")).."]"
else
leditbuttons = "label[0.2,7.2;"..S(F("Read-only mode. You need the “ledit” privilege to edit trees.")).."]"
leditbuttons = "label[0.2,7.2;"..F(S("Read-only mode. You need the “ledit” privilege to edit trees.")).."]"
end
if minetest.get_player_privs(playername).lplant then
lplantbuttons = "button[0,8.5;3,1;sapling;"..S(F("Generate sapling")).."]"
lplantbuttons = "button[0,8.5;3,1;sapling;"..F(S("Generate sapling")).."]"
else
lplantbuttons = ""
end
@ -435,10 +435,10 @@ end
--[[ This creates the "Plant" tab part of the main formspec ]]
function ltool.tab_plant(tree, fields, has_lplant_priv)
if(tree ~= nil) then
local seltree = "label[0,-0.2;"..S(F("Selected tree: @1", tree.name)).."]"
local seltree = "label[0,-0.2;"..F(S("Selected tree: @1", tree.name)).."]"
if not has_lplant_priv then
return seltree..
"label[0,0.3;"..S(F("Planting of trees is not allowed. You need to have the “lplant” privilege.")).."]"
"label[0,0.3;"..F(S("Planting of trees is not allowed. You need to have the “lplant” privilege.")).."]"
end
if(fields==nil) then
fields = {}

View File

@ -148,3 +148,8 @@ Invent your own trees and plant them=Erfinden Sie Ihre eignene Bäume und pflanz
Copy tree to editor=Baum zum Editor kopieren
Reload database=Datenbank neu laden
The tree database is empty.=Die Baumdatenbank ist leer.
Rename tree=Baum umbenennen
Delete tree=Baum löschen
Selected tree: @1=Gewählter Baum: @1
Read-only mode. You need the “ledit” privilege to edit trees.=Nur-Lesen-Modus. Sie brauchen das „ledit“-Privileg zum Bearbeiten.
Planting of trees is not allowed. You need to have the “lplant” privilege.=Bäumepflanzen ist nicht erlaubt. Sie brauchen das „lplant“-Privileg.

View File

@ -148,3 +148,9 @@ Invent your own trees and plant them=
Copy tree to editor=
Reload database=
The tree database is empty.=
Rename tree=
Delete tree=
Generate sapling=
Selected tree: @1=
Read-only mode. You need the “ledit” privilege to edit trees.=
Planting of trees is not allowed. You need to have the “lplant” privilege.=