mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 12:34:55 +02:00
Fixes and new tuned terminal
This commit is contained in:
@@ -121,7 +121,7 @@ function installLocale(locale)
|
||||
end
|
||||
|
||||
if updatesNeeded > 0 then
|
||||
pwarning('Locale \'' .. locale.name .. '\' is missing ' .. updatesNeeded .. ' translations.')
|
||||
pdebug('Locale \'' .. locale.name .. '\' is missing ' .. updatesNeeded .. ' translations.')
|
||||
end
|
||||
end
|
||||
|
||||
@@ -182,7 +182,7 @@ function _G.tr(text, ...)
|
||||
if not translation then
|
||||
if translation == nil then
|
||||
if currentLocale.name ~= defaultLocaleName then
|
||||
pwarning('Unable to translate: \"' .. text .. '\"')
|
||||
pdebug('Unable to translate: \"' .. text .. '\"')
|
||||
end
|
||||
end
|
||||
translation = text
|
||||
|
@@ -5,6 +5,5 @@ Module
|
||||
website: www.otclient.info
|
||||
sandboxed: true
|
||||
scripts: [ locales ]
|
||||
dependencies: [ client_topmenu ]
|
||||
@onLoad: init()
|
||||
@onUnload: terminate()
|
||||
|
Reference in New Issue
Block a user