diff --git a/package/gluon-config-mode-autoupdater/i18n/de.po b/package/gluon-config-mode-autoupdater/i18n/de.po index 5a55e349..fb413316 100644 --- a/package/gluon-config-mode-autoupdater/i18n/de.po +++ b/package/gluon-config-mode-autoupdater/i18n/de.po @@ -13,5 +13,13 @@ msgstr "" msgid "" "This node will automatically update its firmware when a new version is " "available." -msgstr "Dieser Knoten aktualisiert seine Firmware automatisch, sobald " +msgstr "" +"Dieser Knoten aktualisiert seine Firmware automatisch, sobald " "eine neue Version vorliegt." + +msgid "" +"Automatic updates are disabled. They can be enabled in Advanced " +"settings" +msgstr "" +"Automatische Updates sind deaktiviert. Sie können in den Erweiterten " +"Einstellungen aktiviert werden." diff --git a/package/gluon-config-mode-autoupdater/i18n/fr.po b/package/gluon-config-mode-autoupdater/i18n/fr.po index 7ee64f46..3546a47c 100644 --- a/package/gluon-config-mode-autoupdater/i18n/fr.po +++ b/package/gluon-config-mode-autoupdater/i18n/fr.po @@ -15,3 +15,10 @@ msgid "" "available." msgstr "Ce nœud s'actualisera automatiquement quand une nouvelle " "version sera disponible." + +msgid "" +"Automatic updates are disabled. They can be enabled in Advanced " +"settings" +msgstr "" +"Mises à jour automatiques sont désactivées. Ils peuvent être activés dans " +"Paramètres avancés" diff --git a/package/gluon-config-mode-autoupdater/i18n/gluon-config-mode-autoupdater.pot b/package/gluon-config-mode-autoupdater/i18n/gluon-config-mode-autoupdater.pot index 9e6272cd..818633cf 100644 --- a/package/gluon-config-mode-autoupdater/i18n/gluon-config-mode-autoupdater.pot +++ b/package/gluon-config-mode-autoupdater/i18n/gluon-config-mode-autoupdater.pot @@ -5,3 +5,8 @@ msgid "" "This node will automatically update its firmware when a new version is " "available." msgstr "" + +msgid "" +"Automatic updates are disabled. They can be enabled in Advanced " +"settings" +msgstr "" diff --git a/package/gluon-config-mode-autoupdater/luasrc/lib/gluon/config-mode/wizard/0050-autoupdater-info.lua b/package/gluon-config-mode-autoupdater/luasrc/lib/gluon/config-mode/wizard/0050-autoupdater-info.lua index 3bbe0390..f40d49cd 100644 --- a/package/gluon-config-mode-autoupdater/luasrc/lib/gluon/config-mode/wizard/0050-autoupdater-info.lua +++ b/package/gluon-config-mode-autoupdater/luasrc/lib/gluon/config-mode/wizard/0050-autoupdater-info.lua @@ -7,8 +7,11 @@ local M = {} function M.section(form) local enabled = uci:get_bool("autoupdater", "settings", "enabled") 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.')) + else + form:section(cbi.SimpleSection, nil, + i18n.translate("Automatic updates are disabled. They can be enabled in Advanced settings")) end end