summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-squid/po/templates
diff options
context:
space:
mode:
authorDaniel Nilsson <dannil+github@protonmail.com>2024-10-08 20:12:28 +0200
committerPaul Donald <newtwen+github@gmail.com>2024-10-17 19:10:17 +0200
commit5c6b08cf89f5dd4dd0bc0ee4d0c643a19a34c9b8 (patch)
tree221be4b639b5a23ff2629580683698428efdd191 /applications/luci-app-squid/po/templates
parentade3606800a321e82082b2b7d6ba991e70ac996c (diff)
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 <dannil+github@protonmail.com>
Diffstat (limited to 'applications/luci-app-squid/po/templates')
-rw-r--r--applications/luci-app-squid/po/templates/squid.pot50
1 files changed, 44 insertions, 6 deletions
diff --git a/applications/luci-app-squid/po/templates/squid.pot b/applications/luci-app-squid/po/templates/squid.pot
index 90c44e53fa..0295cd4961 100644
--- a/applications/luci-app-squid/po/templates/squid.pot
+++ b/applications/luci-app-squid/po/templates/squid.pot
@@ -1,15 +1,36 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
-#: 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 ""
@@ -17,15 +38,32 @@ msgstr ""
msgid "Grant UCI access for luci-app-squid"
msgstr ""
-#: 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 ""
-#: 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 ""