diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-20 17:55:39 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-20 19:05:27 +0200 |
commit | fdce990b90f21f6925795d1f788f3e87bcdd0400 (patch) | |
tree | 754477c0046c74b1e23e0ce82c1551b6950f4fbd /applications/luci-app-nlbwmon/po/zh_Hant | |
parent | 79814b2f5286b6956d555b796407e2394169669d (diff) |
luci-app-nlbwmon: convert to client side JS
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-nlbwmon/po/zh_Hant')
-rw-r--r-- | applications/luci-app-nlbwmon/po/zh_Hant/nlbwmon.po | 323 |
1 files changed, 179 insertions, 144 deletions
diff --git a/applications/luci-app-nlbwmon/po/zh_Hant/nlbwmon.po b/applications/luci-app-nlbwmon/po/zh_Hant/nlbwmon.po index 8d1005b4a..e3d098d67 100644 --- a/applications/luci-app-nlbwmon/po/zh_Hant/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/zh_Hant/nlbwmon.po @@ -13,147 +13,147 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.0-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "%d 臺僅 IPv4 主機" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "%d 臺僅 IPv6 主機" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "%d 臺雙協議棧主機" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "%s 和 %s" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "%s,%s 和 %s" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "-1 - 每月的最後一天重新開始" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "-7 - 每月底前一週重新開始" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "1 - 每月的第一天重新開始" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "10m - 頻繁提交,快閃記憶體損耗的開銷也增大" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "12h - 平衡統計資料丟失的風險以及快閃記憶體使用壽命" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "24h - 以資料丟失風險的代價換取最小的快閃記憶體損耗" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "30s - 每分鐘重新整理二次以獲得較準確的當前統計值" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "5m - 較少重新整理以避免頻繁清除連線跟蹤計數器" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "60s - 每分鐘提交,適用於非快閃記憶體型別儲存" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "連線:<big id=\"conn-total\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "主機:<big id=\"host-total\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "支援 IPv6 的主機比例:<big id=\"ipv6-hosts\">0%</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "IPv6 總下載量:<big id=\"ipv6-rx\">0B</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "IPv6 流量比例:<big id=\"ipv6-share\">0%</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "IPv6 總上傳量:<big id=\"ipv6-tx\">0B</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "連線數最多的協議:<big id=\"layer7-most-conn\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "下載量最大的協議:<big id=\"layer7-most-rx\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "上傳量最大的協議:<big id=\"layer7-most-tx\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "應用層協議計數:<big id=\"layer7-total\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "下載:<big id=\"rx-total\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "上傳:<big id=\"tx-total\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "統計週期" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "進階設定" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "應用層" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "應用層協議" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "備份" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "頻寬監控" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "CSV,按 IP 分組" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "CSV,按 MAC 分組" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "CSV,按協議分組" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." @@ -161,7 +161,7 @@ msgstr "" "更改統計週期型別會使現有資料庫無效!<br /><strong><a href=\"%s\">下載備份</" "a></strong>。" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " @@ -170,52 +170,52 @@ msgstr "" "選擇“每月的某一天”來設定統計週期的重啟時間,例如:每個月的第 3 天。選擇“固定" "週期”來設定從給定日期開始每 N 天重啟統計週期。" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "收集資料中..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "提交間隔" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "壓縮資料庫" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "配置" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "連線" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "連線數" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "連線 / 主機" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "資料庫目錄" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "資料庫儲存目錄。每個“統計週期”的檔案將被放到這個目錄中。" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "每月的某一天" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " @@ -224,188 +224,212 @@ msgstr "" "每個月重啟統計週期的日期。使用負數表示從月底開始計算,例如:\"-5\" 可以表示7" "月27號或者2月24號。" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "顯示" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "下載 / 應用層協議" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "下載資料庫備份" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "雙協議棧主機" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "重置日期" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "匯出" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "協議簇" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "固定週期" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reload…" msgstr "強制重新載入…" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "基本設定" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "生成備份" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "主機" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "主機名:<big id=\"bubble-hostname\">example.org</big>" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "IPv4 與 IPv6" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "週期" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "將記憶體中的臨時資料庫提交到永續性資料庫目錄的間隔時間。" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "從 netlink 資訊中重新整理“已建立連線”的流量計數器的間隔時間。" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "備份存檔無效或為空" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "JSON 輸出" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "統計週期(天)。" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "本地介面" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "本地子網" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "最大條目" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "保留的統計週期數據庫的最大數量,設定 0 表示不限制。" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "網路頻寬監視器" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "網路頻寬監視器 - 備份 / 恢復" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "網路頻寬監視器 - 配置" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "暫無資料記錄。" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "僅統計來自或目標為這些網路介面的連線流量。" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "僅統計來自或目標為這些子網的連線流量。" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "預分配資料庫" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "協議" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "協議對映" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " @@ -414,39 +438,43 @@ msgstr "" "協議對映用於區分流量型別,每行一條。第一個值指定 IP 協議型別,第二個值是埠" "號,第三個值是對映的協議名稱。" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "重新整理間隔" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "恢復" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "恢復資料庫備份" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "選擇統計週期:" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "源 IP" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "起始日期" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "第一個統計週期的起始日期,例如:ISP 合約的起始日期。" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "儲存週期" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." @@ -454,61 +482,65 @@ msgstr "" "網路頻寬監視器(nlbwmon)是一個輕量、高效的流量統計程式,可以統計每個主機和協" "議的頻寬使用情況。" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" -msgstr "以下資料庫檔案已恢復:%s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" +msgstr "以下資料庫檔案已恢復:" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "資料庫中的最大條目數量, 設定為 0 將允許資料庫無限增長。" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "流量 / 主機" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "流量分佈" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "上傳" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "上傳 / 應用層協議" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "供應商:<big id=\"bubble-vendor\">Example Corp.</big>" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "警告" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " @@ -517,7 +549,7 @@ msgstr "" "是否使用 gzip 壓縮資料庫存檔。壓縮資料庫檔案會使訪問舊資料稍微慢一些,但有助" "於減少儲存佔用空間。" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " @@ -526,20 +558,23 @@ msgstr "" "是否預先分配資料庫最大可能佔用的記憶體大小。這主要適用於記憶體較小系統,這些" "系統在長時間執行之後可能無法滿足資料庫的記憶體需求。" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "無流量資料" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "其他" +#~ msgid "Invalid or empty backup archive" +#~ msgstr "備份存檔無效或為空" + #~ msgid "Down. (Bytes / Pkts.)" #~ msgstr "下載(位元組 / 資料包)" |