From 3aa60877ea4bc47b86c3ee11448db7503a20ae01 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Mon, 7 Oct 2024 22:18:04 +0200 Subject: luci-app-rp-pppoe-server: convert to JS Signed-off-by: Paul Donald --- .../po/templates/rp-pppoe-server.pot | 176 ++++++++++++++++++--- 1 file changed, 150 insertions(+), 26 deletions(-) (limited to 'applications/luci-app-rp-pppoe-server/po/templates') 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 index 3b66f2ba7a..e265de4fd3 100644 --- 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 @@ -1,11 +1,53 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:19 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:48 msgid "Access Concentrator Name" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:32 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:41 +msgid "Both Interface" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:106 +msgid "" +"Causes pppoe to exit if no session traffic is detected for %s " +"seconds." +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:34 +msgid "Client Interface" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:56 +msgid "Default: 5000" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:66 +msgid "Default: 600" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:61 +msgid "Default: 64" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:50 +msgid "Default: hostname" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:53 +msgid "" +"Each one causes the named service to be advertised in a Service-Name tag in " +"the PADO frame. The first one specifies the default service, and is used if " +"the PPPoE client requests a Service-Name of length zero." +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:25 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:25 +msgid "Enabled" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:40 msgid "First remote IP" msgstr "" @@ -13,83 +55,165 @@ msgstr "" msgid "Grant UCI access for luci-app-rp-pppoe-server" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:29 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:33 msgid "IP of listening side" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:44 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:40 +msgid "" +"If specified as 0.0.0.0 remote IP allocation will be delegated " +"to pppd" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:33 msgid "" -"Instead of starting at beginning and going to end, randomize session number" +"If specified as 0.0.0.0 the selection of local IP address is " +"delegated to pppd" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:15 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:99 +msgid "" +"Instead of numbering PPPoE sessions starting at 1, numbering starts at %s" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:27 msgid "Interface" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:15 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:34 +msgid "" +"Interface from which to relay. Only PPPoE clients may be connected to this " +"interface." +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:27 msgid "Interface on which to listen." msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:62 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:27 +msgid "" +"Interface on which to listen. Only PPPoE servers may be connected to this " +"interface." +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:41 +msgid "" +"Interface upon which to listen and to relay. Both PPPoE clients and servers " +"may be connected to this interface." +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:94 +msgid "Invokes pppd with the unit flag" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:115 msgid "MSS" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:35 -msgid "Maximum sessions" +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:115 +msgid "Max Segment Size" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:25 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:53 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:58 +msgid "Maximum Sessions" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:58 +msgid "Maximum concurrent sessions" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:66 msgid "Maximum sessions per peer" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:52 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:70 +msgid "No limit" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:65 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:110 +msgid "No timeout" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:99 msgid "Offset" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:40 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:81 msgid "Options file" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:52 -msgid "PPP offset" +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:99 +msgid "PPP Offset" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:47 -msgid "PPP unit number" +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:19 +msgid "PPPoE Relay Configuration" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:9 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:19 msgid "PPPoE Server Configuration" msgstr "" +#: applications/luci-app-rp-pppoe-server/root/usr/share/luci/menu.d/luci-app-rp-pppoe-server.json:14 +msgid "RP PPPoE Relay" +msgstr "" + #: applications/luci-app-rp-pppoe-server/root/usr/share/luci/menu.d/luci-app-rp-pppoe-server.json:3 msgid "RP PPPoE Server" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:44 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:89 msgid "Random session selection" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:8 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:124 +msgid "Reduces CPU usage, but may cause a race condition on slow CPUs" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:21 +msgid "Relay Configuration" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:18 +msgid "Roaring Penguin PPPoE Relay" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:18 msgid "Roaring Penguin PPPoE Server" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:11 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:21 msgid "Server Configuration" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:22 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:27 +msgid "Server Interface" +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:53 msgid "Service Name" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:68 -msgid "Sync" +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:124 +msgid "Synchronous PPP encapsulation" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:57 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:89 +msgid "Tells the PPPoE server to randomly permute session numbers." +msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:61 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:106 msgid "Timeout" msgstr "" -#: applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua:47 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:94 msgid "Unit" msgstr "" + +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js:48 +#: applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js:76 +msgid "Use Non-UCI Config" +msgstr "" -- cgit v1.2.3