From 8648f7e8cea31de61030377ab16aed72f2371a2f Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Mon, 6 May 2019 15:22:06 +0000 Subject: [PATCH] luci-app-shadowsocks-libev: i18n-sync.sh and update translation Signed-off-by: Yousong Zhou --- .../po/es/shadowsocks-libev.po | 32 ++++++++----- .../po/templates/shadowsocks-libev.pot | 30 +++++++----- .../po/zh-cn/shadowsocks-libev.po | 47 +++++++++++++------ 3 files changed, 71 insertions(+), 38 deletions(-) diff --git a/applications/luci-app-shadowsocks-libev/po/es/shadowsocks-libev.po b/applications/luci-app-shadowsocks-libev/po/es/shadowsocks-libev.po index 16672d113a..bf46acc527 100644 --- a/applications/luci-app-shadowsocks-libev/po/es/shadowsocks-libev.po +++ b/applications/luci-app-shadowsocks-libev/po/es/shadowsocks-libev.po @@ -12,7 +12,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Language: es\n" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:170 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:172 msgid "" msgstr "" @@ -106,15 +106,15 @@ msgstr "Reenviar Dst ip/net" msgid "Dst ip/net forward file" msgstr "Reenviar archivo Dst ip/net" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:126 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:128 msgid "Enable SO_REUSEPORT" msgstr "Habilitar SO_REUSEPORT" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:124 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:126 msgid "Enable TCP Fast Open" msgstr "Habilitar TCP Fast Open" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:125 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:127 msgid "Enable TCP_NODELAY" msgstr "Habilitar TCP_NODELAY" @@ -170,7 +170,7 @@ msgstr "" msgid "General Settings" msgstr "Configuración general" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:123 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:125 msgid "IPv6 First" msgstr "IPv6 primero" @@ -178,7 +178,7 @@ msgstr "IPv6 primero" msgid "Ingress interfaces" msgstr "Interfaces de ingreso" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:197 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:199 msgid "Install package %q" msgstr "Instalar paquete %q" @@ -197,8 +197,8 @@ msgstr "" "tanto la instancia como el servidor remoto al que hace referencia." #: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:99 -msgid "Key (base64 encoding)" -msgstr "Clave (codificación base64)" +msgid "Key (base64)" +msgstr "Clave (base64)" #: applications/luci-app-shadowsocks-libev/luasrc/controller/shadowsocks-libev.lua:13 #: applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/instances.lua:10 @@ -261,7 +261,7 @@ msgstr "Solo aplicar reglas en paquetes desde estas interfaces de red" msgid "Overview" msgstr "Visión general" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:196 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:198 msgid "Package is not installed" msgstr "Paquete no instalado" @@ -273,7 +273,15 @@ msgstr "Pasa argumentos adicionales a iptables. Utilizar con cuidado!" msgid "Password" msgstr "Contraseña" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:123 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:120 +msgid "Plugin" +msgstr "" + +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:121 +msgid "Plugin Options" +msgstr "" + +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:125 msgid "Prefer IPv6 addresses when resolving names" msgstr "Preferir direcciones IPv6 al resolver nombres" @@ -291,7 +299,7 @@ msgstr "Servidores remotos" msgid "Remote server" msgstr "Servidor remoto" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:120 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:122 msgid "Run as" msgstr "Correr como" @@ -347,7 +355,7 @@ msgstr "Tiempo de espera (seg)" msgid "Tunnel address" msgstr "Direccion del tunel" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:122 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:124 msgid "Verbose" msgstr "Verboso" diff --git a/applications/luci-app-shadowsocks-libev/po/templates/shadowsocks-libev.pot b/applications/luci-app-shadowsocks-libev/po/templates/shadowsocks-libev.pot index 7444fd0fd5..a094e0aac0 100644 --- a/applications/luci-app-shadowsocks-libev/po/templates/shadowsocks-libev.pot +++ b/applications/luci-app-shadowsocks-libev/po/templates/shadowsocks-libev.pot @@ -1,7 +1,7 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:170 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:172 msgid "" msgstr "" @@ -87,15 +87,15 @@ msgstr "" msgid "Dst ip/net forward file" msgstr "" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:126 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:128 msgid "Enable SO_REUSEPORT" msgstr "" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:124 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:126 msgid "Enable TCP Fast Open" msgstr "" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:125 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:127 msgid "Enable TCP_NODELAY" msgstr "" @@ -143,7 +143,7 @@ msgstr "" msgid "General Settings" msgstr "" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:123 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:125 msgid "IPv6 First" msgstr "" @@ -151,7 +151,7 @@ msgstr "" msgid "Ingress interfaces" msgstr "" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:197 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:199 msgid "Install package %q" msgstr "" @@ -167,7 +167,7 @@ msgid "" msgstr "" #: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:99 -msgid "Key (base64 encoding)" +msgid "Key (base64)" msgstr "" #: applications/luci-app-shadowsocks-libev/luasrc/controller/shadowsocks-libev.lua:13 @@ -222,7 +222,7 @@ msgstr "" msgid "Overview" msgstr "" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:196 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:198 msgid "Package is not installed" msgstr "" @@ -234,7 +234,15 @@ msgstr "" msgid "Password" msgstr "" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:123 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:120 +msgid "Plugin" +msgstr "" + +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:121 +msgid "Plugin Options" +msgstr "" + +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:125 msgid "Prefer IPv6 addresses when resolving names" msgstr "" @@ -252,7 +260,7 @@ msgstr "" msgid "Remote server" msgstr "" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:120 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:122 msgid "Run as" msgstr "" @@ -308,7 +316,7 @@ msgstr "" msgid "Tunnel address" msgstr "" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:122 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:124 msgid "Verbose" msgstr "" diff --git a/applications/luci-app-shadowsocks-libev/po/zh-cn/shadowsocks-libev.po b/applications/luci-app-shadowsocks-libev/po/zh-cn/shadowsocks-libev.po index d6b84b913b..e3a80f01a8 100644 --- a/applications/luci-app-shadowsocks-libev/po/zh-cn/shadowsocks-libev.po +++ b/applications/luci-app-shadowsocks-libev/po/zh-cn/shadowsocks-libev.po @@ -6,7 +6,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:170 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:172 msgid "" msgstr "<已隐藏>" @@ -56,7 +56,9 @@ msgstr "对于源地址不在列表中的报文的默认行为" msgid "" "Definition of remote shadowsocks servers. Disable any of them will also " "disable instances referring to it." -msgstr "在此页面设定访问远端shadowsocks服务器的参数。请注意,禁用远端服务器会同时停止与之关联的shadowsocks-libev组件" +msgstr "" +"在此页面设定访问远端shadowsocks服务器的参数。请注意,禁用远端服务器会同时停止" +"与之关联的shadowsocks-libev组件" #: applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua:33 msgid "Destination Settings" @@ -92,15 +94,15 @@ msgstr "转发" msgid "Dst ip/net forward file" msgstr "转发(文件)" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:126 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:128 msgid "Enable SO_REUSEPORT" msgstr "启用SO_REUSEPORT" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:124 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:126 msgid "Enable TCP Fast Open" msgstr "启用TCP Fast Open" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:125 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:127 msgid "Enable TCP_NODELAY" msgstr "启用TCP_NODELAY" @@ -148,7 +150,7 @@ msgstr "对于源地址在列表中的报文,通过ss-redir转发" msgid "General Settings" msgstr "常规设置" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:123 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:125 msgid "IPv6 First" msgstr "IPv6优先" @@ -156,7 +158,7 @@ msgstr "IPv6优先" msgid "Ingress interfaces" msgstr "入口网卡" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:197 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:199 msgid "Install package %q" msgstr "安装%q" @@ -169,11 +171,14 @@ msgid "" "Instances of shadowsocks-libev components, e.g. ss-local, ss-redir, ss-" "tunnel, ss-server, etc. To enable an instance it is required to enable both " "the instance itself and the remote server it refers to." -msgstr "此页面展示本地运行的shadowsocks-libev各组件实例,如ss-local、ss-redir、ss-tunnel、ss-server等。请注意,实际启用一个实例要求实例本身及所关联的远端服务器都是启用状态。" +msgstr "" +"此页面展示本地运行的shadowsocks-libev各组件实例,如ss-local、ss-redir、ss-" +"tunnel、ss-server等。请注意,实际启用一个实例要求实例本身及所关联的远端服务器" +"都是启用状态。" #: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:99 -msgid "Key (base64 encoding)" -msgstr "密钥(base64编码)" +msgid "Key (base64)" +msgstr "密钥(base64)" #: applications/luci-app-shadowsocks-libev/luasrc/controller/shadowsocks-libev.lua:13 #: applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/instances.lua:10 @@ -217,7 +222,11 @@ msgid "" "Src ip/net checkdst and if none matches Src default will " "give the default action to be taken. If the prior check results in action " "checkdst, packets will continue to have their dst addresses checked." -msgstr "在此页面,您可以配置指定报文是否通过ss-redir转发。启用后,规则会先将报文的源地址与相应的地址集进行匹配,依次决定是否“绕过(bypass)”、“转发(forward)”,或“继续匹配目的地址(checkdst)”;若未在集合中找到匹配,则执行指定的默认动作。继续匹配目的地址时同理。" +msgstr "" +"在此页面,您可以配置指定报文是否通过ss-redir转发。启用后,规则会先将报文的源" +"地址与相应的地址集进行匹配,依次决定是否“绕过(bypass)”、“转发" +"(forward)”,或“继续匹配目的地址(checkdst)”;若未在集合" +"中找到匹配,则执行指定的默认动作。继续匹配目的地址时同理。" #: applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua:51 msgid "Only apply rules on packets from these network interfaces" @@ -227,7 +236,7 @@ msgstr "仅对来自指定网卡的报文应用规则" msgid "Overview" msgstr "概览" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:196 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:198 msgid "Package is not installed" msgstr "依赖包未安装" @@ -239,7 +248,15 @@ msgstr "给iptables的额外参数。请小心使用" msgid "Password" msgstr "密码" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:123 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:120 +msgid "Plugin" +msgstr "启用插件" + +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:121 +msgid "Plugin Options" +msgstr "插件选项" + +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:125 msgid "Prefer IPv6 addresses when resolving names" msgstr "名字解析时优先取用IPv6地址" @@ -257,7 +274,7 @@ msgstr "远端服务器" msgid "Remote server" msgstr "服务器" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:120 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:122 msgid "Run as" msgstr "运行时用户" @@ -313,7 +330,7 @@ msgstr "超时时间(秒)" msgid "Tunnel address" msgstr "隧道对端地址" -#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:122 +#: applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua:124 msgid "Verbose" msgstr "记录详细日志" -- 2.30.2