From f519510f84d38643eba49ca3310eb5893433c960 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 26 Jan 2020 23:04:56 +0200 Subject: [PATCH] i18n: fix locale codes (nextdns, vpn-policy-routing) Fix Chinese locale codes for luci-app-nextdns and luci-app-vpn-policy-routing Signed-off-by: Hannu Nyman --- .../po/{zh_Hant => zh-tw}/nextdns.po | 2 +- .../luci-app-nextdns/po/zh_Hans/nextdns.po | 95 ------------------- .../{zh_Hans => zh-cn}/vpn-policy-routing.po | 2 +- .../{zh_Hant => zh-tw}/vpn-policy-routing.po | 2 +- 4 files changed, 3 insertions(+), 98 deletions(-) rename applications/luci-app-nextdns/po/{zh_Hant => zh-tw}/nextdns.po (99%) delete mode 100644 applications/luci-app-nextdns/po/zh_Hans/nextdns.po rename applications/luci-app-vpn-policy-routing/po/{zh_Hans => zh-cn}/vpn-policy-routing.po (99%) rename applications/luci-app-vpn-policy-routing/po/{zh_Hant => zh-tw}/vpn-policy-routing.po (99%) diff --git a/applications/luci-app-nextdns/po/zh_Hant/nextdns.po b/applications/luci-app-nextdns/po/zh-tw/nextdns.po similarity index 99% rename from applications/luci-app-nextdns/po/zh_Hant/nextdns.po rename to applications/luci-app-nextdns/po/zh-tw/nextdns.po index 7ea3b1af0..656e8659a 100644 --- a/applications/luci-app-nextdns/po/zh_Hant/nextdns.po +++ b/applications/luci-app-nextdns/po/zh-tw/nextdns.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"Language: zh_Hant\n" +"Language: zh-tw\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/applications/luci-app-nextdns/po/zh_Hans/nextdns.po b/applications/luci-app-nextdns/po/zh_Hans/nextdns.po deleted file mode 100644 index 694fa4b73..000000000 --- a/applications/luci-app-nextdns/po/zh_Hans/nextdns.po +++ /dev/null @@ -1,95 +0,0 @@ -msgid "" -msgstr "" -"PO-Revision-Date: 2019-11-22 20:05+0000\n" -"Last-Translator: MosDos \n" -"Language-Team: Chinese (Simplified) \n" -"Language: zh_Hans\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 3.10-dev\n" - -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:34 -msgid "" -"Available locations are: Switzerland, Iceland, Finland, Panama and Hong Kong." -msgstr "可用位置包括:瑞士,冰岛,芬兰,巴拿马和香港。" - -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:21 -msgid "Configuration ID" -msgstr "配置ID" - -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:18 -msgid "Enable NextDNS." -msgstr "启用NextDNS。" - -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:17 -msgid "Enabled" -msgstr "已启用" - -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:28 -msgid "Expose LAN clients information in NextDNS analytics." -msgstr "汇报局域网客户端信息以用于 NextDNS 分析。" - -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:6 -msgid "" -"For further information, go to nextdns.io" -msgstr "" -"了解更多信息,请访问nextdns." -"io" - -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:14 -msgid "General" -msgstr "通用" - -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:24 -msgid "Go to nextdns.io to create a configuration." -msgstr "转到nextdns.io创建配置。" - -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:31 -msgid "Hardened Privacy" -msgstr "强化隐私" - -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:37 -msgid "Log Queries" -msgstr "日志查询" - -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:38 -msgid "Log individual queries to system log." -msgstr "将单个查询记录到系统日志中。" - -#: applications/luci-app-nextdns/luasrc/controller/nextdns.lua:18 -msgid "Logs" -msgstr "日志" - -#: applications/luci-app-nextdns/luasrc/controller/nextdns.lua:16 -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:3 -msgid "NextDNS" -msgstr "NextDNS" - -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:4 -msgid "NextDNS Configuration." -msgstr "NextDNS配置。" - -#: applications/luci-app-nextdns/luasrc/controller/nextdns.lua:17 -msgid "Overview" -msgstr "概览" - -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:27 -msgid "Report Client Info" -msgstr "汇报客户端信息" - -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:22 -msgid "The ID of your NextDNS configuration." -msgstr "您的NextDNS配置的ID。" - -#: applications/luci-app-nextdns/luasrc/view/nextdns/logread.htm:41 -msgid "The syslog output, pre-filtered for nextdns related messages only." -msgstr "syslog输出,仅针对nextdns相关消息进行预过滤。" - -#: applications/luci-app-nextdns/luasrc/model/cbi/overview.lua:32 -msgid "" -"When enabled, use DNS servers located in jurisdictions with strong privacy " -"laws." -msgstr "启用后,仅使用具有严格隐私法律的司法管辖区中的DNS服务器。" diff --git a/applications/luci-app-vpn-policy-routing/po/zh_Hans/vpn-policy-routing.po b/applications/luci-app-vpn-policy-routing/po/zh-cn/vpn-policy-routing.po similarity index 99% rename from applications/luci-app-vpn-policy-routing/po/zh_Hans/vpn-policy-routing.po rename to applications/luci-app-vpn-policy-routing/po/zh-cn/vpn-policy-routing.po index 91190835c..0b662cdca 100644 --- a/applications/luci-app-vpn-policy-routing/po/zh_Hans/vpn-policy-routing.po +++ b/applications/luci-app-vpn-policy-routing/po/zh-cn/vpn-policy-routing.po @@ -4,7 +4,7 @@ msgstr "" "Last-Translator: Zheng Qian \n" "Language-Team: Chinese (Simplified) \n" -"Language: zh_Hans\n" +"Language: zh-cn\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" diff --git a/applications/luci-app-vpn-policy-routing/po/zh_Hant/vpn-policy-routing.po b/applications/luci-app-vpn-policy-routing/po/zh-tw/vpn-policy-routing.po similarity index 99% rename from applications/luci-app-vpn-policy-routing/po/zh_Hant/vpn-policy-routing.po rename to applications/luci-app-vpn-policy-routing/po/zh-tw/vpn-policy-routing.po index 307fddb6b..4a73b15bc 100644 --- a/applications/luci-app-vpn-policy-routing/po/zh_Hant/vpn-policy-routing.po +++ b/applications/luci-app-vpn-policy-routing/po/zh-tw/vpn-policy-routing.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"Language: zh_Hant\n" +"Language: zh-tw\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -- 2.25.1