From d4bfa6c4e037234597d6d74d68eb8ed3782367c7 Mon Sep 17 00:00:00 2001 From: rubo77 <github@r.z11.de> Date: Tue, 30 Aug 2016 13:40:06 +0200 Subject: [PATCH] gluon-config-mode-hostname: clarify the use of the nodename --- package/gluon-config-mode-hostname/i18n/de.po | 8 ++++++++ package/gluon-config-mode-hostname/i18n/fr.po | 8 ++++++++ .../i18n/gluon-config-mode-hostname.pot | 5 +++++ .../luasrc/lib/gluon/config-mode/wizard/0100-hostname.lua | 5 +++++ 4 files changed, 26 insertions(+) diff --git a/package/gluon-config-mode-hostname/i18n/de.po b/package/gluon-config-mode-hostname/i18n/de.po index f1d2a7657..12461eb03 100644 --- a/package/gluon-config-mode-hostname/i18n/de.po +++ b/package/gluon-config-mode-hostname/i18n/de.po @@ -12,3 +12,11 @@ msgstr "" msgid "Node name" msgstr "Name dieses Knotens" + +msgid "" +"The node name is used solely for identification of your node, e.g. on a " +"nodemap. It has no influence on the name (SSID) of the broadcasted WLAN." +msgstr "" +"Der Knotenname dient ausschließlich zur Identifikation deines Knotens, z.B. " +"auf einer Knotenkarte. Er hat keinen Einfluss auf den Namen (SSID) des " +"ausgestrahlten WLANs." diff --git a/package/gluon-config-mode-hostname/i18n/fr.po b/package/gluon-config-mode-hostname/i18n/fr.po index 79702c06b..361cf9ce5 100644 --- a/package/gluon-config-mode-hostname/i18n/fr.po +++ b/package/gluon-config-mode-hostname/i18n/fr.po @@ -12,3 +12,11 @@ msgstr "" msgid "Node name" msgstr "Nom du nœud" + +msgid "" +"The node name is used solely for identification of your node, e.g. on a " +"nodemap. It has no influence on the name (SSID) of the broadcasted WLAN." +msgstr "" +"Le nom du nœud est utilisé uniquement pour l'identification de votre nœud, " +"par ex. sur un carte des nœuds. Il n'a aucune influence sur le nom du WLAN " +"(SSID) rayonné." diff --git a/package/gluon-config-mode-hostname/i18n/gluon-config-mode-hostname.pot b/package/gluon-config-mode-hostname/i18n/gluon-config-mode-hostname.pot index dbaafc0bd..4b8f8d077 100644 --- a/package/gluon-config-mode-hostname/i18n/gluon-config-mode-hostname.pot +++ b/package/gluon-config-mode-hostname/i18n/gluon-config-mode-hostname.pot @@ -3,3 +3,8 @@ msgstr "Content-Type: text/plain; charset=UTF-8" msgid "Node name" msgstr "" + +msgid "" +"The node name is used solely for identification of your node, e.g. on a " +"nodemap. It has no influence on the name (SSID) of the broadcasted WLAN." +msgstr "" diff --git a/package/gluon-config-mode-hostname/luasrc/lib/gluon/config-mode/wizard/0100-hostname.lua b/package/gluon-config-mode-hostname/luasrc/lib/gluon/config-mode/wizard/0100-hostname.lua index 793c497e8..934d079f2 100644 --- a/package/gluon-config-mode-hostname/luasrc/lib/gluon/config-mode/wizard/0100-hostname.lua +++ b/package/gluon-config-mode-hostname/luasrc/lib/gluon/config-mode/wizard/0100-hostname.lua @@ -3,6 +3,11 @@ return function(form, uci) local pretty_hostname = require "pretty_hostname" + form:section(Section, nil, pkg_i18n.translate( + "The node name is used solely for identification of your node, e.g. on a " + .. "nodemap. It has no influence on the name (SSID) of the broadcasted WLAN." + )) + local s = form:section(Section) local o = s:option(Value, "hostname", pkg_i18n.translate("Node name")) o.default = pretty_hostname.get(uci) -- GitLab