mirror of
https://github.com/mt-mods/mail.git
synced 2025-09-05 10:25:44 -04:00
Add tooltips for detailling actions
Reply / Reply all / Forward buttons and Notifications settings
This commit is contained in:
parent
37fad48ec8
commit
e038993f27
12 changed files with 297 additions and 224 deletions
|
@ -50,6 +50,10 @@ function mail.show_inbox(name, sortfieldindex, sortdirection, filter)
|
|||
button[6,8.7;2.5,0.5;options;]] .. S("Options") .. [[]
|
||||
button_exit[6,9.5;2.5,0.5;quit;]] .. S("Close") .. [[]
|
||||
|
||||
tooltip[reply;]] .. S("Reply only to the sender") .. [[]
|
||||
tooltip[replyall;]] .. S("Reply to all involved people") .. [[]
|
||||
tooltip[forward;]] .. S("Transfer message to other people") .. [[]
|
||||
|
||||
dropdown[0,8.5;2,0.5;sortfield;]] ..
|
||||
S("From") .. "," .. S("Subject") .. "," .. S("Date") .. [[;]] .. sortfieldindex .. [[;true]
|
||||
dropdown[2.0,8.5;2,0.5;sortdirection;]] ..
|
||||
|
|
|
@ -27,6 +27,10 @@ function mail.show_message(name, id)
|
|||
button[2,8.5;2,1;replyall;]] .. S("Reply all") .. [[]
|
||||
button[4,8.5;2,1;forward;]] .. S("Forward") .. [[]
|
||||
button[6,8.5;2,1;delete;]] .. S("Delete") .. [[]
|
||||
|
||||
tooltip[reply;]] .. S("Reply only to the sender") .. [[]
|
||||
tooltip[replyall;]] .. S("Reply to all involved people") .. [[]
|
||||
tooltip[forward;]] .. S("Transfer message to other people") .. [[]
|
||||
]] .. mail.theme
|
||||
|
||||
local from = minetest.formspec_escape(message.from) or ""
|
||||
|
|
|
@ -48,6 +48,10 @@ function mail.show_outbox(name, sortfieldindex, sortdirection, filter)
|
|||
button[6,8.7;2.5,0.5;options;]] .. S("Options") .. [[]
|
||||
button_exit[6,9.5;2.5,0.5;quit;]] .. S("Close") .. [[]
|
||||
|
||||
tooltip[reply;]] .. S("Reply only to the sender") .. [[]
|
||||
tooltip[replyall;]] .. S("Reply to all involved people") .. [[]
|
||||
tooltip[forward;]] .. S("Transfer message to other people") .. [[]
|
||||
|
||||
dropdown[0,8.5;2,0.5;sortfield;]] ..
|
||||
S("To") .. "," .. S("Subject") .. "," .. S("Date") .. [[;]] .. sortfieldindex .. [[;true]
|
||||
dropdown[2.0,8.5;2,0.5;sortdirection;]] ..
|
||||
|
|
|
@ -40,6 +40,11 @@ function mail.show_settings(name)
|
|||
checkbox[0,3.6;trash_move_enable;]] .. S("Move deleted messages to trash") .. [[;]] ..
|
||||
tostring(mail.get_setting(name, "trash_move_enable")) .. [[]
|
||||
|
||||
tooltip[chat_notifications;]] .. S("Receive a message in the chat when there is a new message") .. [[]
|
||||
tooltip[onjoin_notifications;]] .. S("Receive a message at login when inbox isn't empty") .. [[]
|
||||
tooltip[hud_notifications;]] .. S("Show an HUD notification when inbox isn't empty") .. [[]
|
||||
tooltip[sound_notifications;]] .. S("Play a sound when there is a new message") .. [[]
|
||||
|
||||
button[0,5.5;2.5,0.5;save;]] .. S("Save") .. [[]
|
||||
button[2.7,5.5;2.5,0.5;reset;]] .. S("Reset") .. [[]
|
||||
]] .. mail.theme
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue