Select Git revision
-
Matthias Schiffer authored
The Lua code was moved, but the translations were not - so regenerating POT files using i18n-scan.pl would have broken them on the next msgmerge. Generate new POT files for both gluon-core and gluon-web-admin, msgmerge the existing translations for both, and adjust gluon.info to request i18n data from gluon-core.
Matthias Schiffer authoredThe Lua code was moved, but the translations were not - so regenerating POT files using i18n-scan.pl would have broken them on the next msgmerge. Generate new POT files for both gluon-core and gluon-web-admin, msgmerge the existing translations for both, and adjust gluon.info to request i18n data from gluon-core.
gluon-info 261 B
#!/usr/bin/lua
local info = require 'gluon.info'
local values = info.get_info_pretty()
local padTo = 24
for _, value in ipairs(values) do
local labelLen = string.len(value[1]) + 1
print(value[1] .. ':' .. string.rep(' ', padTo - labelLen), value[2])
end