LuaRT-Studio
LuaRT-Studio copied to clipboard
i18n improvements
in LuaRT Studio 1.8.
1. Missing i18n for "Lua interpreter" page title
./src/editor/gui.lua line 670:
bottomnotebook:AddPage(shellbox, "Lua interpreter", false, bmp)
Make it translatable:
bottomnotebook:AddPage(shellbox, TR("Lua interpreter"), false, bmp)
2. Welcome message in shell box
./src/editor/shellbox.lua line 541:
DisplayShellMsg(TR("Welcome to the interactive Lua 5.4.6 "..console.getvalue("_ARCH").." interpreter").."\n"
It's a tough bananas for translators. a) We translators have to prepare many translated texts depending on various architectures, and b) we'll have to translate again and again every time Lua version updated.
Make it better:
DisplayShellMsg(TR("Welcome to the interactive Lua %s %s interpreter"):format("5.4.6", console.getvalue("_ARCH"))).."\n"
Thank you for this. I will provide better i18n support for LuaRT Studio