gluon-web-admin: add site-commit to info page (#1482)

This commit is contained in:
Ruben Barkow 2018-07-25 22:30:29 +02:00 committed by Andreas Ziegler
parent b9ec173ffb
commit ca2929a61f
4 changed files with 11 additions and 1 deletions

View File

@ -23,7 +23,8 @@
{ _('Hostname'), pretty_hostname.get(uci) },
{ _('MAC address'), sysconfig.primary_mac },
{ _('Hardware model'), platform.get_model() },
{ _('Gluon version'), util.trim(util.readfile('/lib/gluon/gluon-version')) },
{ _('Gluon version') .. " / " .. _('Site version'), util.trim(util.readfile('/lib/gluon/gluon-version'))
.. " / " .. util.trim(util.readfile('/lib/gluon/site-version')) },
{ _('Firmware release'), util.trim(util.readfile('/lib/gluon/release')) },
{ _('Site'), site.site_name() },
{ _('Public VPN key'), pubkey },

View File

@ -50,6 +50,9 @@ msgstr "Firmware-Release"
msgid "Gluon version"
msgstr "Gluon-Version"
msgid "Site version"
msgstr "Site-Version"
msgid "Hardware model"
msgstr "Hardware-Modell"

View File

@ -51,6 +51,9 @@ msgstr "Version de la firmware"
msgid "Gluon version"
msgstr "Version de Gluon"
msgid "Site version"
msgstr "Version de Site"
msgid "Hardware model"
msgstr "Modèle du Matériel"

View File

@ -37,6 +37,9 @@ msgstr ""
msgid "Gluon version"
msgstr ""
msgid "Site version"
msgstr ""
msgid "Hardware model"
msgstr ""