From 5c6b08cf89f5dd4dd0bc0ee4d0c643a19a34c9b8 Mon Sep 17 00:00:00 2001 From: Daniel Nilsson Date: Tue, 8 Oct 2024 20:12:28 +0200 Subject: luci-app-squid: convert to JavaScript The conversion adds the missing parameters in the UI which is configurable in the principal package. Assumption has been made that the config file is stored in /etc/squid since the principal package limits the sysconfdir to this directory. If that assumption is changed in the future we need to adjust the ACL. Signed-off-by: Daniel Nilsson --- applications/luci-app-squid/po/ja/squid.po | 50 ++++++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 6 deletions(-) (limited to 'applications/luci-app-squid/po/ja/squid.po') diff --git a/applications/luci-app-squid/po/ja/squid.po b/applications/luci-app-squid/po/ja/squid.po index c387143285..4df1f3854a 100644 --- a/applications/luci-app-squid/po/ja/squid.po +++ b/applications/luci-app-squid/po/ja/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.4-dev\n" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:42 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:50 msgid "Advanced Settings" msgstr "詳細設定" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:38 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:100 +msgid "Advanced settings grants you direct access to the configuration files." +msgstr "" + +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:93 +msgid "Can only be set if Squid is compiled with the %s option" +msgstr "" + +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:52 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:106 +msgid "Config file" +msgstr "" + +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:86 msgid "Coredump files directory" msgstr "コアダンプファイルのディレクトリ" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:28 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:92 +msgid "Enable ICMP pinger" +msgstr "" + +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:17 +msgid "File must be located in directory /etc/squid" +msgstr "" + +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:49 msgid "General Settings" msgstr "一般設定" @@ -26,15 +47,32 @@ msgstr "一般設定" msgid "Grant UCI access for luci-app-squid" msgstr "luci-app-squidのUCIアクセスを許可" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:30 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:70 +msgid "HTTP port options" +msgstr "" + +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:59 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:107 +msgid "Mime table" +msgstr "" + +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:66 msgid "Port" msgstr "ポート" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:21 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:74 +msgid "SSL DB" +msgstr "" + +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:78 +msgid "SSL DB options" +msgstr "" + +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:43 #: applications/luci-app-squid/root/usr/share/luci/menu.d/luci-app-squid.json:3 msgid "Squid" msgstr "Squid" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:34 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:82 msgid "Visible Hostname" msgstr "表示されるホスト名" -- cgit v1.2.3