diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2019-01-06 13:07:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-06 13:07:54 +0200 |
commit | a98e23949df8b7618fc7ec9b8ab3197433acace0 (patch) | |
tree | 01be95cddbd133178dac348e6918aa87c004f18c | |
parent | c22e5232f43dfb324c0857fa1aacc6ad4a5bb161 (diff) | |
parent | 96cf73a599b24e569657eb1fdda25e2596c4bfbd (diff) |
Merge pull request #2434 from cshoredaniel/pr-luci-fix-rp-pppoe
luci-app-rp-pppoe-server: Add ability to create uci sections
-rw-r--r-- | applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua | 2 | ||||
-rw-r--r-- | applications/luci-app-rp-pppoe-server/po/templates/rp-pppoe-server.pot | 91 |
2 files changed, 92 insertions, 1 deletions
diff --git a/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua b/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua index ef15ed612..e967ce628 100644 --- a/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua +++ b/applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua @@ -9,7 +9,7 @@ m = Map("pppoe", translate("Roaring Penguin PPPoE Server"), translate("PPPoE Server Configuration")) s = m:section(TypedSection, "pppoe_server", translate("Server Configuration")) -s.addremove = false +s.addremove = true s.anonymous = true o = s:option(Value, "interface", translate("Interface"), translate("Interface on which to listen.")) diff --git a/applications/luci-app-rp-pppoe-server/po/templates/rp-pppoe-server.pot b/applications/luci-app-rp-pppoe-server/po/templates/rp-pppoe-server.pot new file mode 100644 index 000000000..8aff2f55f --- /dev/null +++ b/applications/luci-app-rp-pppoe-server/po/templates/rp-pppoe-server.pot @@ -0,0 +1,91 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:19 +msgid "Access Concentrator Name" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:32 +msgid "First remote IP" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:29 +msgid "IP of listening side" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:44 +msgid "" +"Instead of starting at beginning and going to end, randomize session number" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:15 +msgid "Interface" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:15 +msgid "Interface on which to listen." +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:62 +msgid "MSS" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:35 +msgid "Maximum sessions" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:25 +msgid "Maximum sessions per peer" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:52 +msgid "Offset" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:40 +msgid "Options file" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:52 +msgid "PPP offset" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:47 +msgid "PPP unit number" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:9 +msgid "PPPoE Server Configuration" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/controller/rp-pppoe-server.lua:11 +msgid "RP PPPoE Server" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:44 +msgid "Random session selection" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:8 +msgid "Roaring Penguin PPPoE Server" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:11 +msgid "Server Configuration" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:22 +msgid "Service Name" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:68 +msgid "Sync" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:57 +msgid "Timeout" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:47 +msgid "Unit" +msgstr "" |