mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-20 13:14:52 -04:00
Localize get_translator
call
This commit is contained in:
parent
59667bd35c
commit
8774219c3c
21 changed files with 26 additions and 21 deletions
|
@ -1,5 +1,5 @@
|
|||
-- translation
|
||||
local S = minetest.get_translator("mail")
|
||||
local S = mail.S
|
||||
|
||||
local FORMNAME = "mail:about"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-- translation
|
||||
local S = minetest.get_translator("mail")
|
||||
local S = mail.S
|
||||
|
||||
local FORMNAME = "mail:compose"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-- translation
|
||||
local S = minetest.get_translator("mail")
|
||||
local S = mail.S
|
||||
|
||||
local FORMNAME = "mail:contacts"
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
-- translation
|
||||
local S = minetest.get_translator("mail")
|
||||
|
||||
local S = mail.S
|
||||
|
||||
function mail.show_drafts(name)
|
||||
local trash_tab = ""
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-- translation
|
||||
local S = minetest.get_translator("mail")
|
||||
local S = mail.S
|
||||
|
||||
local FORMNAME = "mail:editcontact"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-- translation
|
||||
local S = minetest.get_translator("mail")
|
||||
local S = mail.S
|
||||
|
||||
local FORMNAME = "mail:editmaillist"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-- translation
|
||||
local S = minetest.get_translator("mail")
|
||||
local S = mail.S
|
||||
|
||||
function mail.show_inbox(name, sortfieldindex, sortdirection, filter)
|
||||
sortfieldindex = tonumber(sortfieldindex or mail.selected_idxs.sortfield[name])
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-- translation
|
||||
local S = minetest.get_translator("mail")
|
||||
local S = mail.S
|
||||
|
||||
local FORMNAME = "mail:maillists"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-- translation
|
||||
local S = minetest.get_translator("mail")
|
||||
local S = mail.S
|
||||
|
||||
local FORMNAME = "mail:message"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-- translation
|
||||
local S = minetest.get_translator("mail")
|
||||
local S = mail.S
|
||||
|
||||
function mail.show_outbox(name, sortfieldindex, sortdirection, filter)
|
||||
sortfieldindex = tonumber(sortfieldindex or mail.selected_idxs.sortfield[name])
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-- translation
|
||||
local S = minetest.get_translator("mail")
|
||||
local S = mail.S
|
||||
|
||||
local FORMNAME = "mail:selectcontact"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-- translation
|
||||
local S = minetest.get_translator("mail")
|
||||
local S = mail.S
|
||||
|
||||
local FORMNAME = "mail:settings"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-- translation
|
||||
local S = minetest.get_translator("mail")
|
||||
local S = mail.S
|
||||
|
||||
local trash_formspec = "size[8.5,11;]" .. mail.theme .. [[
|
||||
tabheader[0.3,1;boxtab;]] ..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue