Merge pull request #2200 from AiyionPrime/status_page_role
gluon-status-page: add role to status-page
This commit is contained in:
commit
490c522351
@ -4,6 +4,7 @@
|
||||
local util = require 'gluon.util'
|
||||
|
||||
local translations = {}
|
||||
local site_i18n = i18n 'gluon-site'
|
||||
|
||||
local function _(v)
|
||||
translations[v] = translate(v)
|
||||
@ -126,6 +127,9 @@
|
||||
<%- end %>
|
||||
</dd>
|
||||
<%- end %>
|
||||
<% if nodeinfo.system.role then -%>
|
||||
<dt><%:Role%></dt><dd><%| site_i18n._translate('gluon-web-node-role:role:' .. nodeinfo.system.role) %></dd>
|
||||
<%- end %>
|
||||
<% if nodeinfo.software.autoupdater then -%>
|
||||
<dt><%:Automatic updates%></dt><dd><%| enabled(nodeinfo.software.autoupdater.enabled) %><%|
|
||||
nodeinfo.software.autoupdater.enabled and
|
||||
|
@ -103,6 +103,9 @@ msgstr "RAM"
|
||||
msgid "Received"
|
||||
msgstr "Empfangen"
|
||||
|
||||
msgid "Role"
|
||||
msgstr "Rolle"
|
||||
|
||||
msgid "Site"
|
||||
msgstr "Site"
|
||||
|
||||
|
@ -94,6 +94,9 @@ msgstr ""
|
||||
msgid "Received"
|
||||
msgstr ""
|
||||
|
||||
msgid "Role"
|
||||
msgstr ""
|
||||
|
||||
msgid "Site"
|
||||
msgstr ""
|
||||
|
||||
|
@ -19,6 +19,7 @@ if we ever add Russion to gluon-web, the following strings can be reused:
|
||||
"Clients": "Клиенты",
|
||||
"Transmitted": "Передано",
|
||||
"Received": "Получено",
|
||||
"Role": "Роль",
|
||||
"Forwarded": "Переправленно",
|
||||
"Day": "День",
|
||||
"Days": "Дней",
|
||||
|
Loading…
Reference in New Issue
Block a user