Localize get_translator call

This commit is contained in:
Maksym H. 2024-09-01 17:13:13 +03:00 committed by Maksym H
parent 59667bd35c
commit 8774219c3c
21 changed files with 26 additions and 21 deletions

View file

@ -1,5 +1,5 @@
-- translation
local S = minetest.get_translator("mail")
local S = mail.S
local FORMNAME = "mail:about"

View file

@ -1,5 +1,5 @@
-- translation
local S = minetest.get_translator("mail")
local S = mail.S
local FORMNAME = "mail:compose"

View file

@ -1,5 +1,5 @@
-- translation
local S = minetest.get_translator("mail")
local S = mail.S
local FORMNAME = "mail:contacts"

View file

@ -1,6 +1,5 @@
-- translation
local S = minetest.get_translator("mail")
local S = mail.S
function mail.show_drafts(name)
local trash_tab = ""

View file

@ -1,5 +1,5 @@
-- translation
local S = minetest.get_translator("mail")
local S = mail.S
local FORMNAME = "mail:editcontact"

View file

@ -1,5 +1,5 @@
-- translation
local S = minetest.get_translator("mail")
local S = mail.S
local FORMNAME = "mail:editmaillist"

View file

@ -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])

View file

@ -1,5 +1,5 @@
-- translation
local S = minetest.get_translator("mail")
local S = mail.S
local FORMNAME = "mail:maillists"

View file

@ -1,5 +1,5 @@
-- translation
local S = minetest.get_translator("mail")
local S = mail.S
local FORMNAME = "mail:message"

View file

@ -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])

View file

@ -1,5 +1,5 @@
-- translation
local S = minetest.get_translator("mail")
local S = mail.S
local FORMNAME = "mail:selectcontact"

View file

@ -1,5 +1,5 @@
-- translation
local S = minetest.get_translator("mail")
local S = mail.S
local FORMNAME = "mail:settings"

View file

@ -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;]] ..