Fixed troubles with Formspecs.
parent
67c3aae0eb
commit
ef9dc0d94c
28
init.lua
28
init.lua
|
@ -361,36 +361,36 @@ function poi.gui(player_name, showup, main)
|
|||
end -- for key,value
|
||||
|
||||
if minetest.get_player_privs(player_name).poi then
|
||||
manageme = "button[5,6.5;2,1;poimanager;" .. S("Manage_PoI]")
|
||||
manageme = "button[5,6.5;2,1;poimanager;" .. "Manage_PoI]"
|
||||
end
|
||||
|
||||
if main then
|
||||
minetest.show_formspec(player_name,"minetest_poi:thegui", -- The main gui for everyone with interact
|
||||
"size[7,8]" ..
|
||||
"label[0.4,0;> ".. S("Double-click on destination to teleport") .. " <]"..
|
||||
"label[0.4,0;> ".. "Double-click on destination to teleport" .. " <]"..
|
||||
--showcat..
|
||||
"textlist[0.4,1;3,5;name;"..list..";selected_idx;false]"..
|
||||
"label[0.6,6;".. count .. S(" points in list]") ..
|
||||
"label[4.3,0.5; ".. S("Categories ]") ..
|
||||
"label[0.6,6;".. count .. " points in list]" ..
|
||||
"label[4.3,0.5; ".. "Categories ]" ..
|
||||
"dropdown[4,1;2,1;dname;"..catlist..";"..drop_down.."]"..
|
||||
"button[0.4,6.5;1,1;poitelme;".. S("Go]") ..
|
||||
"button[1.4,6.5;2,1;poishowall;" .. S("ShowAll]") ..manageme..
|
||||
"button_exit[0.4,7.4;3.4,1;poiexit;" .. S("Quit]")
|
||||
"button[0.4,6.5;1,1;poitelme;".. "Go]" ..
|
||||
"button[1.4,6.5;2,1;poishowall;" .. "ShowAll]" ..manageme..
|
||||
"button_exit[0.4,7.4;3.4,1;poiexit;" .. "Quit]"
|
||||
)
|
||||
else
|
||||
minetest.show_formspec(player_name,"minetest_poi:manager", -- The management gui for people with poi priv
|
||||
"size[7,9]" ..
|
||||
"textlist[0.4,0;3,5;maname;"..list..";"..choosen_name..";false]"..
|
||||
"textlist[4,0;2,2;madname;"..catlist..";"..selected_category..";false]"..
|
||||
"button[4,2.5;2,1;reload;" .. S("Reload") .. "]" ..
|
||||
"button[4,3.5;2,1;validate;" .. S("Validate") .. "]"..
|
||||
"button[4,2.5;2,1;reload;" .. "Reload" .. "]" ..
|
||||
"button[4,3.5;2,1;validate;" .. "Validate" .. "]"..
|
||||
"field[0.3,5.4;7,1;managename; - enter name -;"..selected_point.."]"..
|
||||
"button[0.4,6;6,1;set;" .. S("Set Point or change Categorie") .. "]"..
|
||||
"button[0.4,7;2,1;rename;" .. S("Rename") .. "]"..
|
||||
"button[2.4,7;2,1;move;" .. S("Move") .. "]"..
|
||||
"button[0.4,6;6,1;set;" .. "Set Point or change Categorie" .. "]"..
|
||||
"button[0.4,7;2,1;rename;" .. "Rename" .. "]"..
|
||||
"button[2.4,7;2,1;move;" .. "Move" .. "]"..
|
||||
"image_button[5.4,7;1,1;minetest_poi_deleteme.png;delete;]"..
|
||||
"button_exit[0.4,8;3,1;doexit;" .. S("Quit") .. "]"..
|
||||
"button[3.4,8;3,1;goback;" .. S("Back") .. "]"
|
||||
"button_exit[0.4,8;3,1;doexit;" .. "Quit" .. "]"..
|
||||
"button[3.4,8;3,1;goback;" .. "Back" .. "]"
|
||||
)
|
||||
end
|
||||
end -- poi.gui()
|
||||
|
|
|
@ -215,9 +215,7 @@ msgstr "Zurück"
|
|||
|
||||
#: init.lua
|
||||
msgid " >>> Sorry this button is for admin only, please use /poi_delete "
|
||||
msgstr ""
|
||||
" >>> Tut mir leid, dieser Knopf ist nur für Admin, verwende stattdessen bitte"
|
||||
" /poi_delete "
|
||||
msgstr " Entschuldige, dieser Knopf ist nur für Admins, bitte verwende /poi_delete "
|
||||
|
||||
#: init.lua
|
||||
msgid "Unknown PoI <"
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# textdomain: poi
|
||||
General=Allgemein
|
||||
Buildings=Gebäude
|
||||
Markets=Märkte
|
||||
|
@ -8,8 +7,8 @@ Museums=Museen
|
|||
Education=Schulen
|
||||
Recreation=Freizeit
|
||||
Player may set and manage Points of Interest.=Spieler dürfen Sehenswürdigkeiten setzen und verwalten.
|
||||
Filter in List.= Filter in Liste.
|
||||
Categories in List. = Kategorien in Liste.
|
||||
Filter in List.=Filter in Liste.
|
||||
Categories in List.=Kategorien in Liste.
|
||||
Point's of Interest in Categorie =Sehenswürdigkeiten in Kategorie
|
||||
are:= sind:
|
||||
Point's of Interest are:= Sehenswürdigkeiten sind:
|
||||
|
@ -48,10 +47,10 @@ Rename=Umbenennen
|
|||
Move=Verschieben
|
||||
Quit=Ende
|
||||
Back=Zurück
|
||||
>>> Sorry this button is for admin only, please use /poi_delete = >>> Tut mir leid, dieser Knopf ist nur für Admin, verwende stattdessen bitte /poi_delete
|
||||
Unknown PoI <=Unbekannter PoI <
|
||||
has moved the POI: = verschob den POI:
|
||||
to Position: = auf Position:
|
||||
>>> Sorry this button is for admin only, please use /poi_delete = >>> Entschuldige, dieser Knopf ist nur für Admins, bitte verwende /poi_delete
|
||||
Unknown PoI <=Unbekannter PoI <
|
||||
has moved the POI: = verschob den POI:
|
||||
to Position: = auf Position: =
|
||||
moved to Position: = verschoben zu Position:
|
||||
/poi_rename: No new Name for Point given.=/poi_rename: Keinen neuen Namen für Punkt angegeben.
|
||||
Point to rename not found.=Punkt zum Umbenennen nicht gefunden.
|
||||
|
@ -61,7 +60,7 @@ New Pointname already exists.=Neuen Punktnamen gibt es bereits.
|
|||
to: = zu:
|
||||
- Position: = - Position:
|
||||
PoI-Name: =PoI-Name:
|
||||
renamed to= umbenannt zu
|
||||
renamed to = umbenannt zu
|
||||
invalid PoI's found and deleted.= ungültige PoI's gefunden und gelöscht.
|
||||
PoI's with an invalid Categorie found and set to 1.= PoI's mit ungültiger Kategorie gefunden und auf 1 gesetzt.
|
||||
No invalid PoI found.=Keinen ungültigen PoI gefunden.
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-11-21 17:48+0100\n"
|
||||
"POT-Creation-Date: 2019-11-21 22:34+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -157,62 +157,6 @@ msgstr ""
|
|||
msgid "You are moved to POI: "
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid "Manage_PoI]"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid "Double-click on destination to teleport"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid " points in list]"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid "Categories ]"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid "Go]"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid "ShowAll]"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid "Quit]"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid "Reload"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid "Validate"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid "Set Point or change Categorie"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid "Rename"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid "Move"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid "Quit"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid "Back"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid " >>> Sorry this button is for admin only, please use /poi_delete "
|
||||
msgstr ""
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# textdomain: poi
|
||||
General=
|
||||
Buildings=
|
||||
Markets=
|
||||
|
@ -34,20 +33,6 @@ Name of the PoI needed.=
|
|||
POI-List reloaded.=
|
||||
Unknown Point of Interest: =
|
||||
You are moved to POI: =
|
||||
Manage_PoI]=
|
||||
Doubleclick on destination to teleport=
|
||||
Points in List]=
|
||||
Categories ]=
|
||||
Go]=
|
||||
ShowAll]=
|
||||
Quit]=
|
||||
Reload=
|
||||
Validate=
|
||||
Set Point or change Categorie=
|
||||
Rename=
|
||||
Move=
|
||||
Quit=
|
||||
Back=
|
||||
>>> Sorry this button is for admin only, please use /poi_delete =
|
||||
Unknown PoI <=
|
||||
has moved the POI: =
|
||||
|
@ -61,7 +46,7 @@ New Pointname already exists.=
|
|||
to: =
|
||||
- Position: =
|
||||
PoI-Name: =
|
||||
renamed to=
|
||||
renamed to =
|
||||
invalid PoI's found and deleted.=
|
||||
PoI's with an invalid Categorie found and set to 1.=
|
||||
No invalid PoI found.=
|
||||
|
@ -77,8 +62,8 @@ Changes the Position of the Point of Interest.=
|
|||
Changes the Name of the Point of Interest.=
|
||||
Validates the List of PoI's.=
|
||||
Show Points of Interest=
|
||||
You need the=
|
||||
interact=
|
||||
You need the =
|
||||
interact =
|
||||
priv, please type=
|
||||
/rules=
|
||||
/rules =
|
||||
and search for the keyword=
|
||||
|
|
Loading…
Reference in New Issue