From: Manuel Munz Date: Sun, 16 Oct 2011 14:08:39 +0000 (+0000) Subject: applications/luci-p910nd: Better tcp port selection (#321) X-Git-Tag: 0.11.0~1525 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0e7b45ef0dc35baab8d1fdc9229e32a532d72ab8;p=project%2Fluci.git applications/luci-p910nd: Better tcp port selection (#321) --- diff --git a/applications/luci-p910nd/luasrc/model/cbi/p910nd.lua b/applications/luci-p910nd/luasrc/model/cbi/p910nd.lua index 68f75bfc4a..e450a62755 100644 --- a/applications/luci-p910nd/luasrc/model/cbi/p910nd.lua +++ b/applications/luci-p910nd/luasrc/model/cbi/p910nd.lua @@ -26,7 +26,11 @@ s:option(Flag, "enabled", translate("enable")) s:option(Value, "device", translate("Device")).rmempty = true -s:option(Value, "port", translate("Port"), translate("port_help")).rmempty = true +p = s:option(ListValue, "port", translate("Port"), translate("TCP listener port.")) +p.rmempty = true +for i=0,9 do + p:value(i, 9100+i) +end s:option(Flag, "bidirectional", translate("Bidirectional mode")) diff --git a/po/ca/p910nd.po b/po/ca/p910nd.po index 83276f07c0..971b35f153 100644 --- a/po/ca/p910nd.po +++ b/po/ca/p910nd.po @@ -8,18 +8,18 @@ msgstr "" "PO-Revision-Date: 2009-05-26 20:56+0200\n" "Last-Translator: Eduard Duran \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Pootle 1.1.0\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" -msgstr "p910nd - Servidor d'impressió" +msgid "Bidirectional mode" +msgstr "Mode bidireccional" + +msgid "Device" +msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." @@ -27,13 +27,21 @@ msgstr "" "Primer has d'instal·lar els paquets de suport USB (kmod-usb-printer) o de " "port paral·lel (kmod-lp)" -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" -msgstr "Mode bidireccional" +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" +msgstr "p910nd - Servidor d'impressió" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 msgid "port_help" msgstr "" "El p910nd escolta al port 910+N. Per exemple, 9100 per la primera impressora " diff --git a/po/de/p910nd.po b/po/de/p910nd.po index 276e9d0edb..ade72fc96f 100644 --- a/po/de/p910nd.po +++ b/po/de/p910nd.po @@ -7,18 +7,18 @@ msgstr "" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Translate Toolkit 1.1.1\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" -msgstr "p910nd - Drucker server" +msgid "Bidirectional mode" +msgstr "Bidirektionaler Modus" + +msgid "Device" +msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." @@ -26,12 +26,23 @@ msgstr "" "Bevor p910nd verwendet werden kann muessen Pakete fuer USB (kmod-usb-" "printer) und Parallelport (kmod-lp) Support installiert werden." -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" -msgstr "Bidirektionaler Modus" +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" +msgstr "p910nd - Drucker server" + +msgid "port_help" +msgstr "" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." -msgstr "p910nd hoert auf Port 910+N. Z.B. 9100 fuer ersten Drucker" +#~ msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +#~ msgstr "p910nd hoert auf Port 910+N. Z.B. 9100 fuer ersten Drucker" diff --git a/po/el/p910nd.po b/po/el/p910nd.po index a7d7dbc106..40c1c22162 100644 --- a/po/el/p910nd.po +++ b/po/el/p910nd.po @@ -6,18 +6,18 @@ msgstr "" "PO-Revision-Date: 2010-07-01 20:19+0200\n" "Last-Translator: Vasilis Tsiligiannis \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Pootle 1.1.0\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" +msgid "Bidirectional mode" +msgstr "Αμφίδρομη μέθοδος" + +msgid "Device" msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." @@ -25,13 +25,24 @@ msgstr "" "Πρώτα πρέπει να εγκατασταθούν τα πακέτα για να υπάρχει υποστήριξη για USB " "(kmod-usb-printer) η παράλληλη θύρα (kmod-lp)." -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" -msgstr "Αμφίδρομη μέθοδος" +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +msgid "TCP listener port." msgstr "" -"p910nd ανταποκρίνεται στην πόρτα 910+N. π.χ. 9100 για τον πρώτο εκτυπωτή" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" +msgstr "" + +msgid "port_help" +msgstr "" + +#~ msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +#~ msgstr "" +#~ "p910nd ανταποκρίνεται στην πόρτα 910+N. π.χ. 9100 για τον πρώτο εκτυπωτή" diff --git a/po/en/p910nd.po b/po/en/p910nd.po index 3b8778df1f..8ea0b4d17d 100644 --- a/po/en/p910nd.po +++ b/po/en/p910nd.po @@ -7,18 +7,18 @@ msgstr "" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Translate Toolkit 1.1.1\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" -msgstr "p910nd - Printer server" +msgid "Bidirectional mode" +msgstr "Bidirectional mode" + +msgid "Device" +msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." @@ -26,12 +26,23 @@ msgstr "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" -msgstr "Bidirectional mode" +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" +msgstr "p910nd - Printer server" + +msgid "port_help" +msgstr "" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." -msgstr "p910nd listens on port 910+N. E.g. 9100 for the first printer." +#~ msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +#~ msgstr "p910nd listens on port 910+N. E.g. 9100 for the first printer." diff --git a/po/es/p910nd.po b/po/es/p910nd.po index e24c0bcc77..84f06b9bdf 100644 --- a/po/es/p910nd.po +++ b/po/es/p910nd.po @@ -6,18 +6,18 @@ msgstr "" "PO-Revision-Date: 2009-07-09 10:08+0200\n" "Last-Translator: Guillermo Javier Nardoni \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Pootle 1.1.0\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" -msgstr "Servidor de Impresión - p910nd" +msgid "Bidirectional mode" +msgstr "Modo Bidireccional" + +msgid "Device" +msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." @@ -25,13 +25,21 @@ msgstr "" "Debe instalar primero los paquetes que den soporte al puerto USB (kmod-usb-" "printer) o al puerto paralelo (kmod-lp)." -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" -msgstr "Modo Bidireccional" +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" +msgstr "Servidor de Impresión - p910nd" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 msgid "port_help" msgstr "" "p910nd escucha en el puerto 910+N. Por ejemplo, 9100 para la primer " diff --git a/po/fr/p910nd.po b/po/fr/p910nd.po index 17d6f93723..ab1158b598 100644 --- a/po/fr/p910nd.po +++ b/po/fr/p910nd.po @@ -13,13 +13,12 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Pootle 2.0.4\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" -msgstr "p910nd - Serveur d'impression" +msgid "Bidirectional mode" +msgstr "Mode bi-directionnel" + +msgid "Device" +msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." @@ -27,14 +26,25 @@ msgstr "" "Vous devez d'abord installer les paquets pour gérer les imprimantes USB " "(kmod-usb-printer) ou par port parallèle (kmod-lp)" -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" -msgstr "Mode bi-directionnel" +msgid "Port" +msgstr "" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +msgid "Settings" msgstr "" -"p910nd écoute sur le port 910+N, par exemple 9100 pour la première " -"imprimante." + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" +msgstr "p910nd - Serveur d'impression" + +msgid "port_help" +msgstr "" + +#~ msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +#~ msgstr "" +#~ "p910nd écoute sur le port 910+N, par exemple 9100 pour la première " +#~ "imprimante." diff --git a/po/he/p910nd.po b/po/he/p910nd.po index 0b9f650ddf..459890b47e 100644 --- a/po/he/p910nd.po +++ b/po/he/p910nd.po @@ -13,15 +13,12 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Pootle 2.0.4\n" -# שרת מדפסות? -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -#, fuzzy -msgid "p910nd - Printer server" -msgstr "p910nd - שרת מדפסת" +msgid "Bidirectional mode" +msgstr "מצב דו-כיווני." + +msgid "Device" +msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." @@ -29,12 +26,25 @@ msgstr "" "ראשית עליך להתקין את החבילות כדי לקבל תמיכה ב- USB (kmod-usb-printer) או " "בחיבור מקבילי (kmod-lp)." -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" -msgstr "מצב דו-כיווני." +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +# שרת מדפסות? +#, fuzzy +msgid "p910nd - Printer server" +msgstr "p910nd - שרת מדפסת" + +msgid "port_help" +msgstr "" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." -msgstr "p910nd מאזין לפורט 910+N (למשל 9100) עבור המדפסת הראשונה." +#~ msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +#~ msgstr "p910nd מאזין לפורט 910+N (למשל 9100) עבור המדפסת הראשונה." diff --git a/po/it/p910nd.po b/po/it/p910nd.po index ceff28e2bd..bdd8dc8ad6 100644 --- a/po/it/p910nd.po +++ b/po/it/p910nd.po @@ -13,13 +13,12 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Pootle 2.0.4\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" -msgstr "p910nd - Server di stampa" +msgid "Bidirectional mode" +msgstr "Modalità bidirezionale" + +msgid "Device" +msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." @@ -27,13 +26,24 @@ msgstr "" "Devi prima aver installato i pacchetti per avere il supporto dell'USB (kmod-" "usb-printer) o della porta parallela (kmod-lp)." -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" -msgstr "Modalità bidirezionale" +msgid "Port" +msgstr "" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +msgid "Settings" msgstr "" -"p910nd è in ascolto sulla porta 910+N. Ad es. 9100 per la prima stampante." + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" +msgstr "p910nd - Server di stampa" + +msgid "port_help" +msgstr "" + +#~ msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +#~ msgstr "" +#~ "p910nd è in ascolto sulla porta 910+N. Ad es. 9100 per la prima stampante." diff --git a/po/ja/p910nd.po b/po/ja/p910nd.po index 915f031d6e..1da6f7a925 100644 --- a/po/ja/p910nd.po +++ b/po/ja/p910nd.po @@ -13,25 +13,33 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Pootle 2.0.4\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" -msgstr "p910nd - プリンタサーバー" +msgid "Bidirectional mode" +msgstr "双方向モード" + +msgid "Device" +msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." msgstr "" -"まず初めに、USB(kmod-usb-printer)または、パラレルポート(kmod-lp)をサポートするためのパッケージをインストールしてください。" +"まず初めに、USB(kmod-usb-printer)または、パラレルポート(kmod-lp)をサポートす" +"るためのパッケージをインストールしてください。" -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" -msgstr "双方向モード" +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" +msgstr "p910nd - プリンタサーバー" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +msgid "port_help" msgstr "" diff --git a/po/ms/p910nd.po b/po/ms/p910nd.po index 43cd451df2..bdd5b066cc 100644 --- a/po/ms/p910nd.po +++ b/po/ms/p910nd.po @@ -2,31 +2,39 @@ # generated from ./applications/luci-p910nd/luasrc/i18n/p910nd.en.lua msgid "" msgstr "" -"Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: PACKAGE VERSION\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" +"Language: \n" "MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" +msgid "Bidirectional mode" +msgstr "" + +msgid "Device" msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." msgstr "" -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" msgstr "" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +msgid "port_help" msgstr "" diff --git a/po/no/p910nd.po b/po/no/p910nd.po index 74eada4de8..a75bb7376b 100644 --- a/po/no/p910nd.po +++ b/po/no/p910nd.po @@ -23,6 +23,9 @@ msgstr "Port" msgid "Settings" msgstr "Innstillinger" +msgid "TCP listener port." +msgstr "" + msgid "enable" msgstr "Aktiver" diff --git a/po/pl/p910nd.po b/po/pl/p910nd.po index 4be2f78094..52539c2527 100644 --- a/po/pl/p910nd.po +++ b/po/pl/p910nd.po @@ -14,13 +14,12 @@ msgstr "" "|| n%100>=20) ? 1 : 2);\n" "X-Generator: Pootle 2.0.4\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" -msgstr "p910nd - Serwer wydruku" +msgid "Bidirectional mode" +msgstr "Tryb dwukierunkowy" + +msgid "Device" +msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." @@ -28,12 +27,23 @@ msgstr "" "Po pierwsze musisz zainstalować pakiety obsługujące USB (kmod-usb-printer) " "lub LPT (kmod-lp)." -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" -msgstr "Tryb dwukierunkowy" +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" +msgstr "p910nd - Serwer wydruku" + +msgid "port_help" +msgstr "" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." -msgstr "p910nd nasłuchuje na porcie 910X, np. 9100 dla pierwszej drukarki." +#~ msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +#~ msgstr "p910nd nasłuchuje na porcie 910X, np. 9100 dla pierwszej drukarki." diff --git a/po/pt/p910nd.po b/po/pt/p910nd.po index 1f9130b095..6e7a6e24cc 100644 --- a/po/pt/p910nd.po +++ b/po/pt/p910nd.po @@ -7,18 +7,18 @@ msgstr "" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Translate Toolkit 1.1.1\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" -msgstr "P910nd - Servidor de impressão" +msgid "Bidirectional mode" +msgstr "Modo bidirecional" + +msgid "Device" +msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." @@ -26,12 +26,23 @@ msgstr "" "Primeiro você deve instalar os pacotes para obter suporte USB (kmod-usb-" "printer) ou porta paralela (kmod-lp)." -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" -msgstr "Modo bidirecional" +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" +msgstr "P910nd - Servidor de impressão" + +msgid "port_help" +msgstr "" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." -msgstr "p910nd escuta na porta 910+N. Ex. 9100 para a primeira impressora." +#~ msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +#~ msgstr "p910nd escuta na porta 910+N. Ex. 9100 para a primeira impressora." diff --git a/po/pt_BR/p910nd.po b/po/pt_BR/p910nd.po index 7ff26de7e1..6bc36c4630 100644 --- a/po/pt_BR/p910nd.po +++ b/po/pt_BR/p910nd.po @@ -13,13 +13,12 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Pootle 2.0.4\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" -msgstr "p910nd - Servidor de impressão" +msgid "Bidirectional mode" +msgstr "Modo bidirecional" + +msgid "Device" +msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." @@ -27,12 +26,23 @@ msgstr "" "Primeiro você deve instalar os pacotes para obter suporte USB (kmod-usb-" "printer) ou porta paralela (kmod-lp)." -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" -msgstr "Modo bidirecional" +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" +msgstr "p910nd - Servidor de impressão" + +msgid "port_help" +msgstr "" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." -msgstr "p910nd escuta na porta 910+N. Ex. 9100 para a primeira impressora." +#~ msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +#~ msgstr "p910nd escuta na porta 910+N. Ex. 9100 para a primeira impressora." diff --git a/po/ro/p910nd.po b/po/ro/p910nd.po index e41ebb60c7..1746745f22 100644 --- a/po/ro/p910nd.po +++ b/po/ro/p910nd.po @@ -2,33 +2,41 @@ # generated from ./applications/luci-p910nd/luasrc/i18n/p910nd.en.lua msgid "" msgstr "" -"Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: PACKAGE VERSION\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" +"Language: \n" "MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2;\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" +msgid "Bidirectional mode" +msgstr "" + +msgid "Device" msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." msgstr "" -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" msgstr "" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +msgid "port_help" msgstr "" diff --git a/po/ru/p910nd.po b/po/ru/p910nd.po index 98b88bfa30..e9e8d7f03e 100644 --- a/po/ru/p910nd.po +++ b/po/ru/p910nd.po @@ -10,17 +10,16 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" -"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Pootle 2.0.4\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" -msgstr "p910nd - Принт сервер" +msgid "Bidirectional mode" +msgstr "Двунаправленный режим" + +msgid "Device" +msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." @@ -28,12 +27,24 @@ msgstr "" "Для начала вам необходимо установить пакеты для поддержки USB (kmod-usb-" "printer) или параллельного порта (kmod-lp)." -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" -msgstr "Двунаправленный режим" +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" +msgstr "p910nd - Принт сервер" + +msgid "port_help" +msgstr "" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." -msgstr "p910nd прослушивает порт 910+N. То есть 9100 - номер первого принтера." +#~ msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +#~ msgstr "" +#~ "p910nd прослушивает порт 910+N. То есть 9100 - номер первого принтера." diff --git a/po/templates/p910nd.pot b/po/templates/p910nd.pot index 7758852cb2..d0c516ce0c 100644 --- a/po/templates/p910nd.pot +++ b/po/templates/p910nd.pot @@ -1,26 +1,31 @@ -# p910nd.pot -# generated from ./applications/luci-p910nd/luasrc/i18n/p910nd.en.lua msgid "" msgstr "Content-Type: text/plain; charset=UTF-8" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" +msgid "Bidirectional mode" +msgstr "" + +msgid "Device" msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." msgstr "" -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" msgstr "" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +msgid "port_help" msgstr "" diff --git a/po/vi/p910nd.po b/po/vi/p910nd.po index f83a19d37e..04e7f0dd5a 100644 --- a/po/vi/p910nd.po +++ b/po/vi/p910nd.po @@ -8,18 +8,18 @@ msgstr "" "PO-Revision-Date: 2009-08-13 04:03+0200\n" "Last-Translator: Hong Phuc Dang \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Pootle 1.1.0\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 -msgid "p910nd - Printer server" -msgstr "p910nd - Máy in chủ" +msgid "Bidirectional mode" +msgstr "Chế độ 2 chiều" + +msgid "Device" +msgstr "" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." @@ -27,12 +27,23 @@ msgstr "" "Trước tiên, bạn cần phải cài đặt các gói để hỗ trợ cho cổng USB (kmod-usb-" "in), hoặc cổng song song (kmod-lp)." -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" -msgstr "Chế độ 2 chiều" +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + +msgid "p910nd - Printer server" +msgstr "p910nd - Máy in chủ" + +msgid "port_help" +msgstr "" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." -msgstr "p910nd tiếp thu ở cổng 910+N. E.g. 9100 cho máy in đầu tiên." +#~ msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +#~ msgstr "p910nd tiếp thu ở cổng 910+N. E.g. 9100 cho máy in đầu tiên." diff --git a/po/zh_CN/p910nd.po b/po/zh_CN/p910nd.po index a14401334d..a3a83e8aef 100644 --- a/po/zh_CN/p910nd.po +++ b/po/zh_CN/p910nd.po @@ -6,27 +6,41 @@ msgstr "" "PO-Revision-Date: 2011-05-22 15:19+0700\n" "Last-Translator: Our Teammates\n" "Language-Team: QQ Group 75543259 \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Translate Toolkit 1.1.1\n" -#. p910nd - Printer server -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:1 +msgid "Bidirectional mode" +msgstr "双向模式" + +msgid "Device" +msgstr "" + +msgid "" +"First you have to install the packages to get support for USB (kmod-usb-" +"printer) or parallel port (kmod-lp)." +msgstr "" +"首先你必须安装支持USB打印机的驱动(kmod-usb-printer)或者并行端口驱动(kmod-lp)" + +msgid "Port" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "TCP listener port." +msgstr "" + +msgid "enable" +msgstr "" + msgid "p910nd - Printer server" msgstr "打印服务器" -#. First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp). -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:2 -msgid "First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp)." -msgstr "首先你必须安装支持USB打印机的驱动(kmod-usb-printer)或者并行端口驱动(kmod-lp)" - -#. Bidirectional mode -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:3 -msgid "Bidirectional mode" -msgstr "双向模式" +msgid "port_help" +msgstr "" -#. p910nd listens on port 910+N. E.g. 9100 for the first printer. -#: applications/luci-p910nd/luasrc/i18n/p910nd.en.lua:4 -msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." -msgstr "p910nd 的监听端口是910+N,举例:9100用于监听第一台打印机" +#~ msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." +#~ msgstr "p910nd 的监听端口是910+N,举例:9100用于监听第一台打印机"