From ccf63211c8aa48421dc93d167414bda242b22044 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Wed, 3 Jan 2024 18:16:25 +0000 Subject: [PATCH] luci-app-example: i18n house-keeping Signed-off-by: Paul Donald --- .../luci-app-example/po/zh-Hans/example.po | 183 ------------------ .../luci-app-example/po/zh_Hans/example.po | 98 +++++----- 2 files changed, 53 insertions(+), 228 deletions(-) delete mode 100644 applications/luci-app-example/po/zh-Hans/example.po diff --git a/applications/luci-app-example/po/zh-Hans/example.po b/applications/luci-app-example/po/zh-Hans/example.po deleted file mode 100644 index 5048ede76a..0000000000 --- a/applications/luci-app-example/po/zh-Hans/example.po +++ /dev/null @@ -1,183 +0,0 @@ -msgid "" -msgstr "" -"PO-Revision-Date: 2023-12-08 01:52+0000\n" -"Last-Translator: Eric \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 5.3-dev\n" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:38 -msgid "A boolean option" -msgstr "布尔选项" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:43 -msgid "A select option" -msgstr "选择选项" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:56 -msgid "Cats" -msgstr "Cats" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:73 -msgid "Description for this table section" -msgstr "此表格部分的描述" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:73 -msgid "Description for this typed section" -msgstr "此输入部分的描述" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:57 -msgid "Dogs" -msgstr "Dogs" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:55 -msgid "Dynamic list option" -msgstr "动态列表选项" - -#: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:3 -msgid "Example" -msgstr "示例" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:25 -msgid "Example Form" -msgstr "示例表单" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:26 -msgid "Example Form Configuration." -msgstr "示例表单配置。" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/htmlview.js:18 -msgid "Example HTML Page" -msgstr "示例 HTML 页面" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:31 -msgid "First Option" -msgstr "第一个选项" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:37 -msgid "Flag Option" -msgstr "标记选项" - -#: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:14 -msgid "Form View" -msgstr "表单视图" - -#: applications/luci-app-example/root/usr/share/rpcd/acl.d/luci-app-example.json:3 -msgid "Grant UCI and RPC access to LuCI app example" -msgstr "授予 UCI 和 RPC 访问 LuCI 应用示例的权限" - -#: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:23 -msgid "HTML Page" -msgstr "HTML 页面" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:53 -msgid "Input for a password (storage on disk is not encrypted)" -msgstr "输入密码(存储在磁盘上,未加密)" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:32 -msgid "Input for the first option" -msgstr "第一个选项的输入" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:60 -msgid "Is this real?" -msgstr "这是真的吗?" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:130 -msgid "JSON converted to table via array building and loop" -msgstr "通过数组构建和循环将 JSON 转换到了表格" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:60 -msgid "JSONMap TableSection Sample" -msgstr "JSONMap TableSection 样本" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:60 -msgid "JSONMap TypedSection Sample" -msgstr "JSONMap TypedSection 样本" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:60 -msgid "No" -msgstr "否" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:87 -msgid "Not found" -msgstr "未找到" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:74 -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:74 -msgid "Option name" -msgstr "选项名" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:75 -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:75 -msgid "Option value" -msgstr "选项值" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:58 -msgid "Parakeets" -msgstr "Parakeets" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:52 -msgid "Password Option" -msgstr "密码选项" - -#: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:32 -msgid "RPC Array Example" -msgstr "RPC 数组示例" - -#: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:41 -msgid "RPC JSONMap Table Example" -msgstr "RPC JSONMap 表格示例" - -#: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:50 -msgid "RPC JSONMap Typed Example" -msgstr "RPC JSONMap Typed 示例" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:36 -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:36 -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:35 -msgid "RPC call failure:" -msgstr "RPC 调用失败:" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:128 -msgid "Sample JS via RPC" -msgstr "JS via RPC 的样本" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:61 -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:61 -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:115 -msgid "See browser console for raw data" -msgstr "原始数据见浏览器控制台" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:42 -msgid "Select Option" -msgstr "选择选项" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:59 -msgid "Should be \"Not found\"" -msgstr "应为“未找到”" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:60 -msgid "Yes" -msgstr "是" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:28 -msgid "first section" -msgstr "第一部分" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:34 -msgid "second section" -msgstr "第二部分" - -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:50 -msgid "third section" -msgstr "第三部分" - -#~ msgid "Grant UCI access to LuCI app example" -#~ msgstr "授权 LuCI 应用样例访问 UCI" - -#~ msgid "Grant UCI access to LuCI app ecample" -#~ msgstr "授予 LuCI app example UCI 访问权限" diff --git a/applications/luci-app-example/po/zh_Hans/example.po b/applications/luci-app-example/po/zh_Hans/example.po index 3da75e9543..5048ede76a 100644 --- a/applications/luci-app-example/po/zh_Hans/example.po +++ b/applications/luci-app-example/po/zh_Hans/example.po @@ -1,175 +1,183 @@ msgid "" msgstr "" +"PO-Revision-Date: 2023-12-08 01:52+0000\n" +"Last-Translator: Eric \n" +"Language-Team: Chinese (Simplified) \n" +"Language: zh-Hans\n" "Content-Type: text/plain; charset=UTF-8\n" -"Project-Id-Version: PACKAGE VERSION\n" -"Last-Translator: Automatically generated\n" -"Language-Team: none\n" -"Language: zh_Hans\n" -"MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 5.3-dev\n" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:38 msgid "A boolean option" -msgstr "" +msgstr "布尔选项" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:43 msgid "A select option" -msgstr "" +msgstr "选择选项" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:56 msgid "Cats" -msgstr "" +msgstr "Cats" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:73 msgid "Description for this table section" -msgstr "" +msgstr "此表格部分的描述" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:73 msgid "Description for this typed section" -msgstr "" +msgstr "此输入部分的描述" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:57 msgid "Dogs" -msgstr "" +msgstr "Dogs" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:55 msgid "Dynamic list option" -msgstr "" +msgstr "动态列表选项" #: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:3 msgid "Example" -msgstr "" +msgstr "示例" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:25 msgid "Example Form" -msgstr "" +msgstr "示例表单" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:26 msgid "Example Form Configuration." -msgstr "" +msgstr "示例表单配置。" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/htmlview.js:18 msgid "Example HTML Page" -msgstr "" +msgstr "示例 HTML 页面" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:31 msgid "First Option" -msgstr "" +msgstr "第一个选项" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:37 msgid "Flag Option" -msgstr "" +msgstr "标记选项" #: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:14 msgid "Form View" -msgstr "" +msgstr "表单视图" #: applications/luci-app-example/root/usr/share/rpcd/acl.d/luci-app-example.json:3 msgid "Grant UCI and RPC access to LuCI app example" -msgstr "" +msgstr "授予 UCI 和 RPC 访问 LuCI 应用示例的权限" #: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:23 msgid "HTML Page" -msgstr "" +msgstr "HTML 页面" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:53 msgid "Input for a password (storage on disk is not encrypted)" -msgstr "" +msgstr "输入密码(存储在磁盘上,未加密)" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:32 msgid "Input for the first option" -msgstr "" +msgstr "第一个选项的输入" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:60 msgid "Is this real?" -msgstr "" +msgstr "这是真的吗?" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:130 msgid "JSON converted to table via array building and loop" -msgstr "" +msgstr "通过数组构建和循环将 JSON 转换到了表格" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:60 msgid "JSONMap TableSection Sample" -msgstr "" +msgstr "JSONMap TableSection 样本" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:60 msgid "JSONMap TypedSection Sample" -msgstr "" +msgstr "JSONMap TypedSection 样本" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:60 msgid "No" -msgstr "" +msgstr "否" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:87 msgid "Not found" -msgstr "" +msgstr "未找到" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:74 #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:74 msgid "Option name" -msgstr "" +msgstr "选项名" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:75 #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:75 msgid "Option value" -msgstr "" +msgstr "选项值" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:58 msgid "Parakeets" -msgstr "" +msgstr "Parakeets" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:52 msgid "Password Option" -msgstr "" +msgstr "密码选项" #: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:32 msgid "RPC Array Example" -msgstr "" +msgstr "RPC 数组示例" #: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:41 msgid "RPC JSONMap Table Example" -msgstr "" +msgstr "RPC JSONMap 表格示例" #: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:50 msgid "RPC JSONMap Typed Example" -msgstr "" +msgstr "RPC JSONMap Typed 示例" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:36 #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:36 #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:35 msgid "RPC call failure:" -msgstr "" +msgstr "RPC 调用失败:" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:128 msgid "Sample JS via RPC" -msgstr "" +msgstr "JS via RPC 的样本" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:61 #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:61 #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:115 msgid "See browser console for raw data" -msgstr "" +msgstr "原始数据见浏览器控制台" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:42 msgid "Select Option" -msgstr "" +msgstr "选择选项" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:59 msgid "Should be \"Not found\"" -msgstr "" +msgstr "应为“未找到”" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:60 msgid "Yes" -msgstr "" +msgstr "是" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:28 msgid "first section" -msgstr "" +msgstr "第一部分" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:34 msgid "second section" -msgstr "" +msgstr "第二部分" #: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:50 msgid "third section" -msgstr "" +msgstr "第三部分" + +#~ msgid "Grant UCI access to LuCI app example" +#~ msgstr "授权 LuCI 应用样例访问 UCI" + +#~ msgid "Grant UCI access to LuCI app ecample" +#~ msgstr "授予 LuCI app example UCI 访问权限" -- 2.30.2