gluon-config-mode-autoupdater: autoupdater disabled message (#1137)
This commit is contained in:
parent
93c6cf1506
commit
822cfecbf5
@ -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 ""
|
||||||
|
@ -1,8 +1,14 @@
|
|||||||
return function(form, uci)
|
return function(form, uci)
|
||||||
if uci:get_bool("autoupdater", "settings", "enabled") then
|
local enabled = uci:get_bool("autoupdater", "settings", "enabled")
|
||||||
|
if enabled then
|
||||||
form:section(
|
form:section(
|
||||||
Section, nil,
|
Section, nil,
|
||||||
translate('This node will automatically update its firmware when a new version is available.')
|
translate('This node will automatically update its firmware when a new version is available.')
|
||||||
)
|
)
|
||||||
|
else
|
||||||
|
form:section(
|
||||||
|
Section, nil,
|
||||||
|
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