Autoupdater disabled message
This commit is contained in:
parent
fd017477b0
commit
a172ce8984
@ -13,5 +13,13 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
"This node will automatically update its firmware when a new version is "
|
"This node will automatically update its firmware when a new version is "
|
||||||
"available."
|
"available."
|
||||||
msgstr "Dieser Knoten aktualisiert seine Firmware automatisch, sobald "
|
msgstr ""
|
||||||
|
"Dieser Knoten aktualisiert seine Firmware automatisch, sobald "
|
||||||
"eine neue Version vorliegt."
|
"eine neue Version vorliegt."
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"Automatic updates are disabled. They can be enabled in <em>Advanced "
|
||||||
|
"settings</em>"
|
||||||
|
msgstr ""
|
||||||
|
"Automatische Updates sind deaktiviert. Sie können in den <em>Erweiterten "
|
||||||
|
"Einstellungen</em> aktiviert werden."
|
||||||
|
@ -15,3 +15,10 @@ msgid ""
|
|||||||
"available."
|
"available."
|
||||||
msgstr "Ce nœud s'actualisera automatiquement quand une nouvelle "
|
msgstr "Ce nœud s'actualisera automatiquement quand une nouvelle "
|
||||||
"version sera disponible."
|
"version sera disponible."
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"Automatic updates are disabled. They can be enabled in <em>Advanced "
|
||||||
|
"settings</em>"
|
||||||
|
msgstr ""
|
||||||
|
"Mises à jour automatiques sont désactivées. Ils peuvent être activés dans "
|
||||||
|
"<em>Paramètres avancés</em>"
|
||||||
|
@ -5,3 +5,8 @@ msgid ""
|
|||||||
"This node will automatically update its firmware when a new version is "
|
"This node will automatically update its firmware when a new version is "
|
||||||
"available."
|
"available."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"Automatic updates are disabled. They can be enabled in <em>Advanced "
|
||||||
|
"settings</em>"
|
||||||
|
msgstr ""
|
||||||
|
@ -7,8 +7,11 @@ local M = {}
|
|||||||
function M.section(form)
|
function M.section(form)
|
||||||
local enabled = uci:get_bool("autoupdater", "settings", "enabled")
|
local enabled = uci:get_bool("autoupdater", "settings", "enabled")
|
||||||
if enabled then
|
if enabled then
|
||||||
local s = form:section(cbi.SimpleSection, nil,
|
form:section(cbi.SimpleSection, nil,
|
||||||
i18n.translate('This node will automatically update its firmware when a new version is available.'))
|
i18n.translate('This node will automatically update its firmware when a new version is available.'))
|
||||||
|
else
|
||||||
|
form:section(cbi.SimpleSection, nil,
|
||||||
|
i18n.translate("Automatic updates are disabled. They can be enabled in <em>Advanced settings</em>"))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user