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:
Athozus 2023-03-29 19:23:16 +02:00 committed by GitHub
parent b3e0c158f7
commit eae547b2f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 235 additions and 96 deletions

View file

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