diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2018-11-07 18:10:59 +0200 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2018-11-07 18:10:59 +0200 |
commit | 40de466475a617f42d1f5cfa03d0342676e84c9b (patch) | |
tree | c47ff6bf49eefd97e619b2c0ae7715dbebe685a0 /applications/luci-app-nft-qos | |
parent | 5849b20eab087bbc1a172b583d1a0febe8b506e4 (diff) |
i18n: sync translations, add location annotatations
Thanks to a recent commit, the translation files will now
have info about locations where the string is used. That
can help is deciding the correct translation, as all contexts
are more easily found.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-nft-qos')
-rw-r--r-- | applications/luci-app-nft-qos/po/templates/nft-qos.pot | 83 | ||||
-rw-r--r-- | applications/luci-app-nft-qos/po/zh-cn/nft-qos.po | 94 |
2 files changed, 162 insertions, 15 deletions
diff --git a/applications/luci-app-nft-qos/po/templates/nft-qos.pot b/applications/luci-app-nft-qos/po/templates/nft-qos.pot index b6f105461..8fecfa073 100644 --- a/applications/luci-app-nft-qos/po/templates/nft-qos.pot +++ b/applications/luci-app-nft-qos/po/templates/nft-qos.pot @@ -1,161 +1,230 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:136 +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:155 msgid "Bytes Total" msgstr "" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:141 +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:160 msgid "Collecting data..." msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:224 msgid "Comment" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:48 msgid "Default Download Rate" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:53 msgid "Default Download Unit" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:107 msgid "Default Network Interface" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:60 msgid "Default Upload Rate" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:65 msgid "Default Upload Unit" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:53 msgid "Default unit for download rate" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:65 msgid "Default unit for upload rate" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:75 msgid "Default value for download bandwidth" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:48 msgid "Default value for download rate" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:80 msgid "Default value for upload bandwidth" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:60 msgid "Default value for upload rate" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:75 msgid "Download Bandwidth (Mbps)" msgstr "" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:135 msgid "Download Rate" msgstr "" -msgid "Dynamic Rate Limit" -msgstr "" - +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:38 msgid "Enable Limit Rate Feature" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:103 msgid "Enable Traffic Priority" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:103 msgid "Enable this feature" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:121 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:158 msgid "Hostname" msgstr "" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:134 +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:153 msgid "IP Address" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:126 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:163 +msgid "IP Address(V4 / V6)" +msgstr "" + +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:128 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:165 +msgid "IP Address(V4 Only)" +msgstr "" + +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:38 msgid "Limit Enable" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:42 msgid "Limit Type" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:135 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:172 msgid "MAC (optional)" msgstr "" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:48 msgid "MB" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:28 msgid "NFT-QoS Settings" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:107 msgid "Network Interface for Traffic Shaping, e.g. br-lan, eth0.1, eth0, etc" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:85 msgid "Network to be apply, e.g. 192.168.1.0/24, 10.2.0.0/16, etc" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:91 msgid "Network to be apply, e.g. AAAA::BBBB/64, CCCC::1/128, etc" msgstr "" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:65 msgid "No information available" msgstr "" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:137 +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:156 msgid "Packets Total" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:207 msgid "Priority" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:199 msgid "Protocol" msgstr "" +#: applications/luci-app-nft-qos/luasrc/controller/nft-qos.lua:16 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:23 msgid "Qos over Nftables" msgstr "" +#: applications/luci-app-nft-qos/luasrc/controller/nft-qos.lua:12 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:139 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:176 msgid "Rate" msgstr "" -msgid "Rate Limit" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:130 +msgid "Realtime Download Rate" msgstr "" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:125 msgid "Realtime Rate" msgstr "" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:149 +msgid "Realtime Upload Rate" +msgstr "" + +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:221 msgid "Service" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:116 msgid "Static QoS-Download Rate" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:153 msgid "Static QoS-Upload Rate" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:85 msgid "Target Network (IPv4/MASK)" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:91 msgid "Target Network6 (IPv6/MASK)" msgstr "" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:127 msgid "This page gives an overview over currently download/upload rate." msgstr "" -msgid "Traffic Priority" -msgstr "" - +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:194 msgid "Traffic Priority Settings" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:42 msgid "Type of Limit Rate" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:144 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:181 msgid "Unit" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:80 msgid "Upload Bandwidth (Mbps)" msgstr "" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:154 msgid "Upload Rate" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:96 msgid "White List for Limit Rate" msgstr "" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:221 msgid "e.g. https, 23, (separator is comma)" msgstr "" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:44 msgid "kB" msgstr "" diff --git a/applications/luci-app-nft-qos/po/zh-cn/nft-qos.po b/applications/luci-app-nft-qos/po/zh-cn/nft-qos.po index b2e972c31..ccddb4892 100644 --- a/applications/luci-app-nft-qos/po/zh-cn/nft-qos.po +++ b/applications/luci-app-nft-qos/po/zh-cn/nft-qos.po @@ -12,161 +12,239 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "Language: zh_CN\n" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:136 +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:155 msgid "Bytes Total" msgstr "字节总数" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:141 +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:160 msgid "Collecting data..." msgstr "正在收集数据" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:224 msgid "Comment" msgstr "注释" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:48 msgid "Default Download Rate" msgstr "默认下载速率" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:53 msgid "Default Download Unit" msgstr "默认下载速率单位" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:107 msgid "Default Network Interface" msgstr "默认网络接口" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:60 msgid "Default Upload Rate" msgstr "默认上传速率" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:65 msgid "Default Upload Unit" msgstr "默认上传速率单位" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:53 msgid "Default unit for download rate" msgstr "默认的下载速率单位" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:65 msgid "Default unit for upload rate" msgstr "默认的上传速率单位" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:75 msgid "Default value for download bandwidth" msgstr "下载带宽的默认值" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:48 msgid "Default value for download rate" msgstr "下载速率的默认值" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:80 msgid "Default value for upload bandwidth" msgstr "上传带宽的默认值" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:60 msgid "Default value for upload rate" msgstr "上传速率的默认值" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:75 msgid "Download Bandwidth (Mbps)" msgstr "下载带宽 (Mbps)" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:135 msgid "Download Rate" msgstr "下载速率" -msgid "Dynamic Rate Limit" -msgstr "动态QoS" - +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:38 msgid "Enable Limit Rate Feature" msgstr "开启速率限制功能" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:103 msgid "Enable Traffic Priority" msgstr "开启流量优先级" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:103 msgid "Enable this feature" msgstr "开启这个功能" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:121 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:158 msgid "Hostname" msgstr "主机名" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:134 +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:153 msgid "IP Address" msgstr "IP地址" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:126 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:163 +msgid "IP Address(V4 / V6)" +msgstr "" + +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:128 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:165 +msgid "IP Address(V4 Only)" +msgstr "" + +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:38 msgid "Limit Enable" msgstr "限速开启" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:42 msgid "Limit Type" msgstr "限速类型" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:135 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:172 msgid "MAC (optional)" msgstr "物理地址(可选)" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:48 msgid "MB" msgstr "MB" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:28 msgid "NFT-QoS Settings" msgstr "NFT-QoS 设置" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:107 msgid "Network Interface for Traffic Shaping, e.g. br-lan, eth0.1, eth0, etc" msgstr "流量整形的目标网络接口, 例如, br-lan, eth0.1, eth0, etc" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:85 msgid "Network to be apply, e.g. 192.168.1.0/24, 10.2.0.0/16, etc" msgstr "将要应用规则的网络, 例如, 192.168.1.0/24, 10.2.0.0/16, 等等" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:91 msgid "Network to be apply, e.g. AAAA::BBBB/64, CCCC::1/128, etc" msgstr "将要应用规则的网络, 例如, AAAA::BBBB/64, CCCC::1/128, 等等" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:65 msgid "No information available" msgstr "没有更多的信息" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:137 +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:156 msgid "Packets Total" msgstr "数据包总数" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:207 msgid "Priority" msgstr "优先级" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:199 msgid "Protocol" msgstr "协议" +#: applications/luci-app-nft-qos/luasrc/controller/nft-qos.lua:16 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:23 msgid "Qos over Nftables" msgstr "QoS Nftables版" +#: applications/luci-app-nft-qos/luasrc/controller/nft-qos.lua:12 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:139 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:176 msgid "Rate" msgstr "速率" -msgid "Rate Limit" -msgstr "速率限制" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:130 +msgid "Realtime Download Rate" +msgstr "" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:125 msgid "Realtime Rate" msgstr "实时速率显示" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:149 +msgid "Realtime Upload Rate" +msgstr "" + +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:221 msgid "Service" msgstr "服务/端口" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:116 msgid "Static QoS-Download Rate" msgstr "静态QoS-下载速率" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:153 msgid "Static QoS-Upload Rate" msgstr "静态QoS-上传速率" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:85 msgid "Target Network (IPv4/MASK)" msgstr "目标网络(IPv4地址/掩码)" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:91 msgid "Target Network6 (IPv6/MASK)" msgstr "目标网络v6(IPv6地址/掩码)" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:127 msgid "This page gives an overview over currently download/upload rate." msgstr "该页面提供了当前上传和下载速率的一个总览" -msgid "Traffic Priority" -msgstr "流量优先级" - +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:194 msgid "Traffic Priority Settings" msgstr "流量优先级设置" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:42 msgid "Type of Limit Rate" msgstr "限速的类型" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:144 +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:181 msgid "Unit" msgstr "单位" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:80 msgid "Upload Bandwidth (Mbps)" msgstr "上传带宽 (Mbps)" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:154 msgid "Upload Rate" msgstr "上传速率" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:96 msgid "White List for Limit Rate" msgstr "限速白名单" +#: applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua:221 msgid "e.g. https, 23, (separator is comma)" msgstr "例如, https, 23 (用逗号分隔)" +#: applications/luci-app-nft-qos/luasrc/view/nft-qos/rate.htm:44 msgid "kB" msgstr "kB" + +#~ msgid "Dynamic Rate Limit" +#~ msgstr "动态QoS" + +#~ msgid "Rate Limit" +#~ msgstr "速率限制" + +#~ msgid "Traffic Priority" +#~ msgstr "流量优先级" |