mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-24 02:12:25 +01:00
Books: Move sign warning to tooltip
Done because of translation problems with the newline
This commit is contained in:
parent
418368fbc5
commit
d0a6244be9
@ -136,10 +136,10 @@ minetest.register_on_player_receive_fields(function ( player, formname, fields )
|
||||
local name = player:get_player_name()
|
||||
local formspec = "size[8,9]"..
|
||||
"background[-0.5,-0.5;9,10;mcl_books_book_bg.png]"..
|
||||
"field[0.75,1;7.25,1;title;"..core.colorize("#000000", S("Enter book title:"))..";]"..
|
||||
"label[0.75,1.5;"..core.colorize("#404040", minetest.formspec_escape(S("by @1", name))).."]"..
|
||||
"label[0.75,6.95;"..core.colorize("#000000", minetest.formspec_escape(S("Note: The book will no longer\nbe editable after signing."))).."]"..
|
||||
"field[0.75,1;7.25,1;title;"..minetest.formspec_escape(core.colorize("#000000", S("Enter book title:")))..";]"..
|
||||
"label[0.75,1.5;"..minetest.formspec_escape(core.colorize("#404040", S("by @1", name))).."]"..
|
||||
"button_exit[0.75,7.95;3,1;sign;"..minetest.formspec_escape(S("Sign and Close")).."]"..
|
||||
"tooltip[sign;"..minetest.formspec_escape(S("Note: The book will no longer be editable after signing")).."]"..
|
||||
"button[4.25,7.95;3,1;cancel;"..minetest.formspec_escape(S("Cancel")).."]"
|
||||
minetest.show_formspec(player:get_player_name(), "mcl_books:signing", formspec)
|
||||
end
|
||||
|
@ -12,7 +12,7 @@ This item can be used to write down some notes.=Dies kann benutzt werden, um ein
|
||||
Hold it in the hand, then rightclick to read the current notes and edit then. You can edit the text as often as you like. You can also sign the book which turns it into a written book which you can stack, but it can't be edited anymore.=Halten Sie es in der Hand, dann rechtsklicken Sie, um die Notizen zu sehen und zu ändern. Sie können den Text beliebig ändern. Sie können das Buch auch signieren und in ein geschriebenes Buch verwandeln, das gestapelt, aber nicht mehr geändert werden kann.
|
||||
A book can hold up to 4500 characters. The title length is limited to 64 characters.=Ein Buch kann bis zu 4500 Zeichen enthalten. Die Titellänge ist begrenzt auf 64 Zeichen.
|
||||
Enter book title:=Buchtitel eingeben:
|
||||
Note: The book will no longer@nbe editable after signing.=Anmerkung: Das Buch kann nach@nder Signierung nicht länger@nbearbeitet werden.
|
||||
Note: The book will no longer be editable after signing=Anmerkung: Das Buch kann nach der Signierung nicht länger@nbearbeitet werden
|
||||
Sign and Close=Signieren und schließen
|
||||
Cancel=Abbrechen
|
||||
Nameless Book=Namenloses Buch
|
||||
|
@ -14,7 +14,7 @@ Hold it in the hand, then rightclick to read the current notes and edit then. Yo
|
||||
A book can hold up to 4500 characters. The title length is limited to 64 characters.=
|
||||
Enter book title:=
|
||||
by @1=
|
||||
Note: The book will no longer@nbe editable after signing.=
|
||||
Note: The book will no longer be editable after signing=
|
||||
Sign and Close=
|
||||
Cancel=
|
||||
Nameless Book=
|
||||
|
Loading…
Reference in New Issue
Block a user