From 4cae947413fb35ea8944f38127c4911d7e8d9a18 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Thu, 1 Aug 2024 21:23:59 +0800 Subject: [PATCH] chore(client): minor style fixes Signed-off-by: Tianling Shen --- .../resources/view/homeproxy/client.js | 20 +++++++++---------- po/templates/homeproxy.pot | 10 +++++----- po/zh_Hans/homeproxy.po | 12 +++++------ 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/htdocs/luci-static/resources/view/homeproxy/client.js b/htdocs/luci-static/resources/view/homeproxy/client.js index ab9cdd24..1f420071 100644 --- a/htdocs/luci-static/resources/view/homeproxy/client.js +++ b/htdocs/luci-static/resources/view/homeproxy/client.js @@ -432,11 +432,11 @@ return view.extend({ ss.sectiontitle = L.bind(hp.loadDefaultLabel, this, data[0]); ss.renderSectionAdd = L.bind(hp.renderSectionAdd, this, ss); - ss.tab('field_other', _('Other Fields')); - ss.tab('field_host', _('Host Fields')); - ss.tab('field_port', _('Port Fields')); - ss.tab('field_source_ip', _('SRC-IP Fields')); - ss.tab('field_source_port', _('SRC-Port Fields')); + ss.tab('field_other', _('Other fields')); + ss.tab('field_host', _('Host fields')); + ss.tab('field_port', _('Port fields')); + ss.tab('field_source_ip', _('SRC-IP fields')); + ss.tab('field_source_port', _('SRC-Port fields')); so = ss.taboption('field_other', form.Value, 'label', _('Label')); so.load = L.bind(hp.loadDefaultLabel, this, data[0]); @@ -764,11 +764,11 @@ return view.extend({ ss.sectiontitle = L.bind(hp.loadDefaultLabel, this, data[0]); ss.renderSectionAdd = L.bind(hp.renderSectionAdd, this, ss); - ss.tab('field_other', _('Other Fields')); - ss.tab('field_host', _('Host Fields')); - ss.tab('field_port', _('Port Fields')); - ss.tab('field_source_ip', _('SRC-IP Fields')); - ss.tab('field_source_port', _('SRC-Port Fields')); + ss.tab('field_other', _('Other fields')); + ss.tab('field_host', _('Host fields')); + ss.tab('field_port', _('Port fields')); + ss.tab('field_source_ip', _('SRC-IP fields')); + ss.tab('field_source_port', _('SRC-Port fields')); so = ss.taboption('field_other', form.Value, 'label', _('Label')); so.load = L.bind(hp.loadDefaultLabel, this, data[0]); diff --git a/po/templates/homeproxy.pot b/po/templates/homeproxy.pot index b46a958c..1533c050 100644 --- a/po/templates/homeproxy.pot +++ b/po/templates/homeproxy.pot @@ -869,7 +869,7 @@ msgstr "" #: htdocs/luci-static/resources/view/homeproxy/client.js:436 #: htdocs/luci-static/resources/view/homeproxy/client.js:768 -msgid "Host Fields" +msgid "Host fields" msgstr "" #: htdocs/luci-static/resources/view/homeproxy/node.js:709 @@ -1391,7 +1391,7 @@ msgstr "" #: htdocs/luci-static/resources/view/homeproxy/client.js:435 #: htdocs/luci-static/resources/view/homeproxy/client.js:767 -msgid "Other Fields" +msgid "Other fields" msgstr "" #: htdocs/luci-static/resources/view/homeproxy/client.js:389 @@ -1488,7 +1488,7 @@ msgstr "" #: htdocs/luci-static/resources/view/homeproxy/client.js:437 #: htdocs/luci-static/resources/view/homeproxy/client.js:769 -msgid "Port Fields" +msgid "Port fields" msgstr "" #: htdocs/luci-static/resources/view/homeproxy/client.js:537 @@ -1756,12 +1756,12 @@ msgstr "" #: htdocs/luci-static/resources/view/homeproxy/client.js:438 #: htdocs/luci-static/resources/view/homeproxy/client.js:770 -msgid "SRC-IP Fields" +msgid "SRC-IP fields" msgstr "" #: htdocs/luci-static/resources/view/homeproxy/client.js:439 #: htdocs/luci-static/resources/view/homeproxy/client.js:771 -msgid "SRC-Port Fields" +msgid "SRC-Port fields" msgstr "" #: htdocs/luci-static/resources/view/homeproxy/node.js:515 diff --git a/po/zh_Hans/homeproxy.po b/po/zh_Hans/homeproxy.po index e034f7e5..66ea254a 100644 --- a/po/zh_Hans/homeproxy.po +++ b/po/zh_Hans/homeproxy.po @@ -890,7 +890,7 @@ msgstr "主机名" #: htdocs/luci-static/resources/view/homeproxy/client.js:436 #: htdocs/luci-static/resources/view/homeproxy/client.js:768 -msgid "Host Fields" +msgid "Host fields" msgstr "主机字段" #: htdocs/luci-static/resources/view/homeproxy/node.js:709 @@ -1419,7 +1419,7 @@ msgstr "仅代理中国大陆" #: htdocs/luci-static/resources/view/homeproxy/client.js:435 #: htdocs/luci-static/resources/view/homeproxy/client.js:767 -msgid "Other Fields" +msgid "Other fields" msgstr "其他字段" #: htdocs/luci-static/resources/view/homeproxy/client.js:389 @@ -1516,7 +1516,7 @@ msgstr "端口 %s 已存在!" #: htdocs/luci-static/resources/view/homeproxy/client.js:437 #: htdocs/luci-static/resources/view/homeproxy/client.js:769 -msgid "Port Fields" +msgid "Port fields" msgstr "端口字段" #: htdocs/luci-static/resources/view/homeproxy/client.js:537 @@ -1784,13 +1784,13 @@ msgstr "规则集 URL" #: htdocs/luci-static/resources/view/homeproxy/client.js:438 #: htdocs/luci-static/resources/view/homeproxy/client.js:770 -msgid "SRC-IP Fields" +msgid "SRC-IP fields" msgstr "源 IP 字段" #: htdocs/luci-static/resources/view/homeproxy/client.js:439 #: htdocs/luci-static/resources/view/homeproxy/client.js:771 -msgid "SRC-Port Fields" -msgstr "源端口 字段" +msgid "SRC-Port fields" +msgstr "源端口字段" #: htdocs/luci-static/resources/view/homeproxy/node.js:515 msgid "SSH"