mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-04 21:50:28 -04:00
Add internationalization (and French translation) (#30)
* Add translation tags * Add translating template.txt * Add French translation * Rework buttons size to fix UI due to big translations * Add translations for selecting contacts
This commit is contained in:
parent
b3e0c158f7
commit
eae547b2f7
13 changed files with 235 additions and 96 deletions
4
init.lua
4
init.lua
|
@ -30,6 +30,10 @@ if minetest.get_modpath("default") then
|
|||
mail.theme = default.gui_bg .. default.gui_bg_img
|
||||
end
|
||||
|
||||
-- translation
|
||||
S = minetest.get_translator("mail")
|
||||
|
||||
-- sub files
|
||||
local MP = minetest.get_modpath(minetest.get_current_modname())
|
||||
dofile(MP .. "/util/normalize.lua")
|
||||
dofile(MP .. "/util/uuid.lua")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue