Merge pull request #1627 from user7887/luci-ru
authorHannu Nyman <hannu.nyman@iki.fi>
Thu, 8 Feb 2018 16:17:02 +0000 (18:17 +0200)
committerGitHub <noreply@github.com>
Thu, 8 Feb 2018 16:17:02 +0000 (18:17 +0200)
i18n-ru: fixed russian translation

12 files changed:
applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua
applications/luci-app-mwan3/luasrc/view/admin_status/index/mwan.htm
applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm
applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm
applications/luci-app-mwan3/luasrc/view/mwan/status_interface.htm
applications/luci-app-mwan3/luasrc/view/mwan/status_troubleshooting.htm
applications/luci-app-mwan3/root/etc/uci-defaults/60_luci-mwan3
applications/luci-app-nlbwmon/po/ja/nlbwmon.po
applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/instance-details.lua
applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua
applications/luci-app-uhttpd/po/ja/uhttpd.po
modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm

index 67d593c..dc5ab62 100644 (file)
@@ -232,7 +232,7 @@ e6.default = e6.disabled
 e6.rmempty = true
 
 e7 = e:option(Value, "adb_maxqueue", translate("Max. Download Queue"),
-       translate("Size of the download queue to handle downloads & list processing in parallel (default '4').<br />")
+       translate("Size of the download queue to handle downloads &amp; list processing in parallel (default '4').<br />")
        .. translate("For further performance improvements you can raise this value, e.g. '8' or '16' should be safe."))
 e7.default = 4
 e7.datatype = "range(1,32)"
index b7bb6de..70eac72 100644 (file)
@@ -28,6 +28,9 @@
 
 <div class="cbi-map">
        <h2 name="content"><%:MWAN Status - Detail%></h2>
+       <%if not require("luci.sys").init.enabled("mwan3") then%>
+       <div><strong><%:INFO: MWAN not running%></strong></div>
+       <%end%>
        <fieldset class="cbi-section">
                <legend id="diag-rc-legend"><%:Collecting data...%></legend>
                <span id="diag-rc-output">
index f9a0fa2..f1c5d8f 100644 (file)
@@ -55,7 +55,9 @@
 <form method="post" action="<%=url('admin/network/diagnostics')%>">
        <div class="cbi-map">
                <h2 name="content"><%:MWAN Status - Diagnostics%></h2>
-
+               <%if not require("luci.sys").init.enabled("mwan3") then%>
+               <div><strong><%:INFO: MWAN not running%></strong></div>
+               <%end%>
                <fieldset class="cbi-section">
                        <br />
 
index 2fb5ea4..21e59a8 100644 (file)
@@ -18,7 +18,9 @@
        XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "status", "mwan", "interface_status")%>', null,
                function(x, status)
                {
-                       var statusDiv = document.getElementById('mwan_status_text');
+                       var legend = document.getElementById('diag-rc-legend');
+                       var statusDiv = document.getElementById('diag-rc-output');
+                       legend.style.display = 'none';
                        if (status.interfaces)
                        {
                                var statusview = '';
        );
 //]]></script>
 
-<div id="mwan_interface_status">
-       <fieldset id="interface_field" class="cbi-section">
-               <legend><%:MWAN status - Interface Live Status%></legend>
-               <div id="mwan_status_text"><img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" /><%:Collecting data...%></div>
+<div class="cbi-map">
+       <h2 name="content"><%:MWAN Status - Interface%></h2>
+       <%if not require("luci.sys").init.enabled("mwan3") then%>
+       <div><strong><%:INFO: MWAN not running%></strong></div>
+       <%end%>
+       <fieldset class="cbi-section">
+               <legend id="diag-rc-legend"><%:Collecting data...%></legend>
+               <span id="diag-rc-output">
+                       <img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align: middle;" />
+               </span>
        </fieldset>
 </div>
 
index b812e5b..77d0092 100644 (file)
@@ -28,6 +28,9 @@
 
 <div class="cbi-map">
        <h2 name="content"><%:MWAN Status - Troubleshooting%></h2>
+       <%if not require("luci.sys").init.enabled("mwan3") then%>
+       <div><strong><%:INFO: MWAN not running%></strong></div>
+       <%end%>
        <fieldset class="cbi-section">
                <legend id="diag-rc-legend"><%:Collecting data...%></legend>
                <span id="diag-rc-output">
index 50c65ad..150ea5a 100755 (executable)
@@ -4,7 +4,7 @@
 uci -q batch <<-EOF >/dev/null
        del ucitrack.@mwan3[-1]
        add ucitrack mwan3
-       set ucitrack.@mwan3[-1].exec="/usr/sbin/mwan3 restart"
+       set ucitrack.@mwan3[-1].exec="/etc/init.d/mwan3 reload"
        commit ucitrack
 EOF
 
index b5931e0..dddc0c1 100644 (file)
@@ -9,7 +9,7 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Language: ja\n"
-"X-Generator: Poedit 2.0.3\n"
+"X-Generator: Poedit 2.0.6\n"
 
 msgid "%d IPv4-only hosts"
 msgstr "%d IPv4 限定ホスト"
@@ -48,7 +48,7 @@ msgid "30s - refresh twice per minute for reasonably current stats"
 msgstr "30s - 現在の状態の把握に適切な1分間に2回のリフレッシュ(30秒)"
 
 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters"
-msgstr ""
+msgstr "5m - conntrack カウンターの頻繁なクリアを防ぐ、低頻度のリフレッシュ"
 
 msgid "60s - commit minutely, useful for non-flash storage"
 msgstr "60秒 - 1分毎のコミット、非フラッシュ ストレージに有用"
@@ -236,6 +236,8 @@ msgid ""
 "Interval at which traffic counters of still established connections are "
 "refreshed from netlink information."
 msgstr ""
+"確立中の接続のトラフィック カウンターが netlink 情報によりリフレッシュされる"
+"間隔です。"
 
 msgid "Invalid or empty backup archive"
 msgstr "無効または空のバックアップ アーカイブです。"
@@ -345,7 +347,7 @@ msgstr ""
 "ベースの増大を許可します。"
 
 msgid "Traffic / Host"
-msgstr "ã\83\88ã\83©ã\83\95ã\82£ã\83\83ã\82¯ / ã\83\9bã\82¹ã\83\88"
+msgstr "ã\83\9bã\82¹ã\83\88æ¯\8eã\81®ã\83\88ã\83©ã\83\95ã\82£ã\83\83ã\82¯"
 
 msgid "Traffic Distribution"
 msgstr "トラフィック内訳"
index 19f5ddc..195a31f 100644 (file)
@@ -41,10 +41,6 @@ else
                        translate("Tunnel address"),
                        translate("The address ss-tunnel will forward traffic to"))
                o.datatype = "hostport"
-       elseif stype == "ss_redir" then
-               o = s:taboption("advanced", Flag, "disable_sni",
-                       translate("Disable SNI"),
-                       translate("Disable parsing HTTP/HTTPS payload to find then resolve hostname at remote server"))
        end
 end
 
index fc51dcd..af1a75b 100644 (file)
@@ -144,8 +144,6 @@ function cfgvalue_overview(sdata)
                cfgvalue_overview_(sdata, lines, names_options_client)
                if stype == "ss_tunnel" then
                        cfgvalue_overview_(sdata, lines, {"tunnel_address"})
-               elseif stype == "ss_redir" then
-                       cfgvalue_overview_(sdata, lines, {"disable_sni"})
                end
                cfgvalue_overview_(sdata, lines, names_options_common)
        else
@@ -225,6 +223,7 @@ names_options_common = {
        "verbose",
        "ipv6_first",
        "fast_open",
+       "no_delay",
        "reuse_port",
        "mode",
        "mtu",
index 5729034..75bad24 100644 (file)
@@ -2,14 +2,14 @@ msgid ""
 msgstr ""
 "Project-Id-Version: \n"
 "POT-Creation-Date: \n"
-"PO-Revision-Date: 2017-01-01 18:11+0900\n"
+"PO-Revision-Date: 2018-02-05 14:54+0900\n"
 "Last-Translator: INAGAKI Hiroshi <musashino.open@gmail.com>\n"
 "Language-Team: \n"
 "Language: ja\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Poedit 1.8.11\n"
+"X-Generator: Poedit 2.0.6\n"
 "X-Poedit-Basepath: .\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
 
@@ -36,8 +36,8 @@ msgstr "サーバーがホストするファイルのベースディレクトリ
 
 msgid "Bind to specific interface:port (by specifying interface address"
 msgstr ""
-"インターフェースのアドレスを使用して、特定のインターフェースとポートに関連付"
-"ã\81\91ます。"
+"インターフェースのアドレスを用いて、特定の インターフェース:ポート にバイン"
+"ã\83\89ã\81\97ます。"
 
 msgid "CGI filetype handler"
 msgstr "CGIファイル形式 ハンドラー"
@@ -70,7 +70,7 @@ msgid "E.g specify with index.html and index.php when using PHP"
 msgstr "index.html や、PHPを使用しているときは index.php を設定します。"
 
 msgid "Embedded Lua interpreter is disabled if not present."
-msgstr "指定しない場合、組込Lua インタープリタは無効になります。"
+msgstr "指定しない場合、組込 Lua インタープリタは無効になります。"
 
 msgid "Enable JSON-RPC Cross-Origin Resource Support"
 msgstr ""
@@ -82,7 +82,7 @@ msgid "Full Web Server Settings"
 msgstr "完全なWebサーバー設定"
 
 msgid "Full real path to handler for Lua scripts"
-msgstr "Lua スクリプトへの絶対パス"
+msgstr "Lua スクリプト用ハンドラへの絶対パス"
 
 msgid "General Settings"
 msgstr "一般設定"
@@ -109,14 +109,14 @@ msgid ""
 "Interpreter to associate with file endings ('suffix=handler', e.g. '.php=/"
 "usr/bin/php-cgi')"
 msgstr ""
-"ファイル拡張子に関連付けるインタープリタです。('suffix=handler'、例: '.php=/"
-"usr/bin/php-cgi')"
+"ファイル拡張子に関連付けるインタープリタです。('suffix=handler'、例: '."
+"php=/usr/bin/php-cgi')"
 
 msgid "Length of key in bits"
 msgstr "鍵のビット数"
 
 msgid "Location"
-msgstr "å ´æ\89\80"
+msgstr "å¸\82å\8cºç\94ºæ\9d\91"
 
 msgid "Maximum number of connections"
 msgstr "最大接続数"
@@ -140,14 +140,14 @@ msgid ""
 "Prevent access from private (RFC1918) IPs on an interface if it has an "
 "public IP address"
 msgstr ""
-"グローバル IPアドレスを持つインターフェースでは、プライベート IP (RFC1918) "
-"らのアクセスをブロックします。"
+"グローバル IPアドレスを持つインターフェースでは、プライベート IP (RFC1918) "
+"ã\81\8bã\82\89ã\81®ã\82¢ã\82¯ã\82»ã\82¹ã\82\92ã\83\96ã\83­ã\83\83ã\82¯ã\81\97ã\81¾ã\81\99ã\80\82"
 
 msgid "Realm for Basic Auth"
 msgstr "基本認証の領域名"
 
 msgid "Redirect all HTTP to HTTPS"
-msgstr "全てのHTTPをHTTPSにリダイレクトする"
+msgstr "全ての HTTP を HTTPS にリダイレクトする"
 
 msgid "Remove configuration for certificate and key"
 msgstr "証明書と鍵の設定を削除する"
@@ -160,10 +160,10 @@ msgstr "サーバー ホスト名"
 
 msgid ""
 "Settings which are either rarely needed or which affect serving the WebUI"
-msgstr "まれに必要とされる設定、またはWeb UIに影響する設定です。"
+msgstr "まれに必要とされる設定、または Web UI の提供に影響する設定です。"
 
 msgid "State"
-msgstr "ステータス"
+msgstr "都道府県"
 
 msgid "TCP Keepalive"
 msgstr "TCP キープアライブ"
@@ -178,6 +178,8 @@ msgid ""
 "Virtual URL or CGI script to display on status '404 Not Found'. Must begin "
 "with '/'"
 msgstr ""
+"'404 Not Found' ステータスを表示するための仮想 URL または CGI スクリプトで"
+"す。 '/' から始まる必要があります。"
 
 msgid "Virtual path prefix for Lua scripts"
 msgstr "Lua スクリプトへの仮想パスプレフィクス"
@@ -200,14 +202,7 @@ msgstr "uHTTPd 自己署名証明書 パラメーター"
 msgid ""
 "uHTTPd will generate a new self-signed certificate using the configuration "
 "shown below."
-msgstr "uHTTPd ã\81¯ã\80\81以ä¸\8bã\81«è¡¨ç¤ºã\81\97ã\81\9f設定で新しい自己署名証明書を生成します。"
+msgstr "uHTTPd ã\81¯ã\80\81ä¸\8bã\81«è¡¨ç¤ºã\81\95ã\82\8cã\81¦ã\81\84ã\82\8b設定で新しい自己署名証明書を生成します。"
 
 msgid "ubus integration is disabled if not present"
-msgstr ""
-
-#~ msgid ""
-#~ "Virtual URL or CGI script to display on status '404 Not Found'.  Must "
-#~ "begin with '/'"
-#~ msgstr ""
-#~ "'404 Not Found' ステータスを表示する、仮想URLまたはCGIスクリプトです。'/' "
-#~ "から始まる必要があります。"
+msgstr "指定しない場合、ubus 統合は無効になります。"
index ff5e26d..5e6e494 100644 (file)
                local conn_count = tonumber(
                        fs.readfile("/proc/sys/net/netfilter/nf_conntrack_count") or "") or 0
 
-               local conn_max = tonumber((
-                       luci.sys.exec("sysctl net.nf_conntrack_max") or
-                       luci.sys.exec("sysctl net.ipv4.netfilter.ip_conntrack_max") or
-                       ""):match("%d+")) or 4096
+               local conn_max = tonumber(luci.sys.exec(
+                       "sysctl -n -e net.nf_conntrack_max net.ipv4.netfilter.ip_conntrack_max"
+               ):match("%d+")) or 4096
 
                local rv = {
                        uptime     = sysinfo.uptime or 0,