Skip to content

Commit

Permalink
chore(client): minor style fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 committed Aug 1, 2024
1 parent 2c55f55 commit 4cae947
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
20 changes: 10 additions & 10 deletions htdocs/luci-static/resources/view/homeproxy/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down Expand Up @@ -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]);
Expand Down
10 changes: 5 additions & 5 deletions po/templates/homeproxy.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions po/zh_Hans/homeproxy.po
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 4cae947

Please sign in to comment.