gluon-config-mode-site-select: make the label for site definable

This commit is contained in:
kb-light 2017-01-13 12:47:27 +01:00
parent 58c930cbd7
commit 07ed6f84e1
6 changed files with 10 additions and 20 deletions

View File

@ -22,6 +22,9 @@ msgstr ""
"Knoten befindet, auszuwählen. Bitte denke daran, dass dein Router "
"sich nur mit dem Netz der ausgewählten Region verbindet."
msgid "gluon-config-mode:site-label"
msgstr "Region"
msgid "gluon-config-mode:pubkey"
msgstr ""
"<p>Dies ist der öffentliche Schlüssel deines Freifunk-Knotens. Erst nachdem "

View File

@ -21,6 +21,9 @@ msgstr ""
"your node is placed. Please keep in mind that your router "
"connects only with the mesh of the selected region"
msgid "gluon-config-mode:site-label"
msgstr "Region"
msgid "gluon-config-mode:pubkey"
msgstr ""
"<p>This is your Freifunk node's public key. The node won't be able to "

View File

@ -7,6 +7,9 @@ msgstr ""
msgid "gluon-config-mode:site-select"
msgstr ""
msgid "gluon-config-mode:site-label"
msgstr ""
msgid "gluon-config-mode:pubkey"
msgstr ""

View File

@ -1,14 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"PO-Revision-Date: 2015-11-02 13:15+0100\n"
"Last-Translator: Freifunk Hochstift <kontakt@hochstift.freifunk.net>\n"
"Language-Team: German\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "Region"
msgstr "Region"

View File

@ -1,5 +0,0 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
msgid "Region"
msgstr ""

View File

@ -12,7 +12,7 @@ function M.section(form)
local msg = i18n.translate('gluon-config-mode:site-select')
local s = form:section(cbi.SimpleSection, nil, msg)
local o = s:option(cbi.ListValue, "community", i18n.translate("Region"))
local o = s:option(cbi.ListValue, "community", i18n.translate("gluon-config-mode:site-label"))
o.rmempty = false
o.optional = false