From 5c6b08cf89f5dd4dd0bc0ee4d0c643a19a34c9b8 Mon Sep 17 00:00:00 2001 From: Daniel Nilsson Date: Tue, 8 Oct 2024 20:12:28 +0200 Subject: [PATCH] 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/Makefile | 5 +- .../luci-static/resources/view/squid.js | 134 ++++++++++++++++++ .../luci-app-squid/luasrc/model/cbi/squid.lua | 67 --------- applications/luci-app-squid/po/ar/squid.po | 50 ++++++- applications/luci-app-squid/po/bg/squid.po | 50 ++++++- applications/luci-app-squid/po/bn_BD/squid.po | 50 ++++++- applications/luci-app-squid/po/ca/squid.po | 50 ++++++- applications/luci-app-squid/po/cs/squid.po | 50 ++++++- applications/luci-app-squid/po/da/squid.po | 50 ++++++- applications/luci-app-squid/po/de/squid.po | 50 ++++++- applications/luci-app-squid/po/el/squid.po | 50 ++++++- applications/luci-app-squid/po/en/squid.po | 50 ++++++- applications/luci-app-squid/po/es/squid.po | 50 ++++++- applications/luci-app-squid/po/fi/squid.po | 50 ++++++- applications/luci-app-squid/po/fr/squid.po | 50 ++++++- applications/luci-app-squid/po/ga/squid.po | 50 ++++++- applications/luci-app-squid/po/he/squid.po | 50 ++++++- applications/luci-app-squid/po/hi/squid.po | 50 ++++++- applications/luci-app-squid/po/hu/squid.po | 50 ++++++- applications/luci-app-squid/po/it/squid.po | 50 ++++++- applications/luci-app-squid/po/ja/squid.po | 50 ++++++- applications/luci-app-squid/po/ko/squid.po | 50 ++++++- applications/luci-app-squid/po/lt/squid.po | 50 ++++++- applications/luci-app-squid/po/mr/squid.po | 50 ++++++- applications/luci-app-squid/po/ms/squid.po | 50 ++++++- applications/luci-app-squid/po/nb_NO/squid.po | 50 ++++++- applications/luci-app-squid/po/nl/squid.po | 50 ++++++- applications/luci-app-squid/po/pl/squid.po | 50 ++++++- applications/luci-app-squid/po/pt/squid.po | 50 ++++++- applications/luci-app-squid/po/pt_BR/squid.po | 50 ++++++- applications/luci-app-squid/po/ro/squid.po | 50 ++++++- applications/luci-app-squid/po/ru/squid.po | 50 ++++++- applications/luci-app-squid/po/sk/squid.po | 50 ++++++- applications/luci-app-squid/po/sv/squid.po | 50 ++++++- .../luci-app-squid/po/templates/squid.pot | 50 ++++++- applications/luci-app-squid/po/tr/squid.po | 50 ++++++- applications/luci-app-squid/po/uk/squid.po | 50 ++++++- applications/luci-app-squid/po/vi/squid.po | 50 ++++++- applications/luci-app-squid/po/yua/squid.po | 50 ++++++- .../luci-app-squid/po/zh_Hans/squid.po | 50 ++++++- .../luci-app-squid/po/zh_Hant/squid.po | 50 ++++++- .../root/usr/libexec/rpcd/luci.squid | 39 +++++ .../usr/share/luci/menu.d/luci-app-squid.json | 5 +- .../usr/share/rpcd/acl.d/luci-app-squid.json | 9 ++ 44 files changed, 1859 insertions(+), 300 deletions(-) create mode 100644 applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js delete mode 100644 applications/luci-app-squid/luasrc/model/cbi/squid.lua create mode 100644 applications/luci-app-squid/root/usr/libexec/rpcd/luci.squid diff --git a/applications/luci-app-squid/Makefile b/applications/luci-app-squid/Makefile index ec7f2ec5173d..b1b341e491d1 100644 --- a/applications/luci-app-squid/Makefile +++ b/applications/luci-app-squid/Makefile @@ -6,9 +6,10 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=Squid LuCI Interface -LUCI_DEPENDS:=+luci-compat +luci-base +squid +LUCI_DEPENDS:=+luci-base +squid -PKG_MAINTAINER:=Marko Ratkaj +PKG_MAINTAINER:=Marko Ratkaj , \ + Daniel Nilsson PKG_LICENSE:=Apache-2.0 include ../../luci.mk diff --git a/applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js b/applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js new file mode 100644 index 000000000000..a89c61f7b82f --- /dev/null +++ b/applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js @@ -0,0 +1,134 @@ +'use strict'; + +'require form'; +'require fs'; +'require rpc'; +'require uci'; +'require view'; + +var getCompileTimeOptions = rpc.declare({ + object: 'luci.squid', + method: 'getCompileTimeOptions', + expect: { options: [] } +}); + +function validateFile(path) { + if (!path.startsWith('/etc/squid/')) { + return _('File must be located in directory /etc/squid'); + } + return true; +} + +function writeFile(path, content) { + if (content) { + var normalized = content.replaceAll('\r\n', '\n'); + fs.write(path, normalized); + } +} + +return view.extend({ + + load: function() { + var load_squid = uci.load('squid') + .then(() => uci.get('squid', 'squid')); + return Promise.all([load_squid, getCompileTimeOptions()]); + }, + + render: function(data) { + var { config_file, mime_table } = data[0]; + var options = data[1]; + + var m, s, o; + + m = new form.Map('squid', _('Squid')); + + s = m.section(form.TypedSection, 'squid'); + s.anonymous = true; + s.addremove = false; + + s.tab('general', _('General Settings')); + s.tab('advanced', _('Advanced Settings')); + + var o = s.taboption('general', form.Value, 'config_file', _('Config file')); + o.datatype = 'string'; + o.default = '/etc/squid/squid.conf'; + o.validate = function(section_id, value) { + return validateFile(value); + }; + + o = s.taboption('general', form.Value, 'mime_table', _('Mime table')); + o.datatype = 'string'; + o.default = '/etc/squid/mime.conf'; + o.validate = function(section_id, value) { + return validateFile(value); + }; + + o = s.taboption('general', form.Value, 'http_port', _('Port')); + o.datatype = 'portrange'; + o.placeholder = '0-65535'; + + o = s.taboption('general', form.Value, 'http_port_options', _('HTTP port options')); + o.datatype = 'string'; + o.optional = true; + + o = s.taboption('general', form.Value, 'ssl_db', _('SSL DB')); + o.datatype = 'string'; + o.optional = true; + + o = s.taboption('general', form.Value, 'ssldb_options', _('SSL DB options')); + o.datatype = 'string'; + o.optional = true; + + o = s.taboption('general', form.Value, 'visible_hostname', _('Visible Hostname')); + o.datatype = 'string'; + o.placeholder = 'OpenWrt'; + + o = s.taboption('general', form.Value, 'coredump_dir', _('Coredump files directory')); + o.datatype = 'string'; + o.placeholder = '/tmp/squid'; + + var enable_icmp_option = '--enable-icmp'; + var is_enable_icmp_defined = options.includes(enable_icmp_option); + o = s.taboption('general', form.Flag, 'pinger_enable', _('Enable ICMP pinger'), + !is_enable_icmp_defined ? _('Can only be set if Squid is compiled with the %s option').format(`${enable_icmp_option}`) : null); + o.datatype = 'string'; + o.enabled = 'on'; + o.disabled = 'off'; + o.readonly = !is_enable_icmp_defined; + + o = s.taboption('advanced', form.SectionValue, '_advanced', form.TypedSection, '_advanced', null, + _('Advanced settings grants you direct access to the configuration files.')); + + var advanced = o.subsection; + advanced.anonymous = true; + advanced.cfgsections = function() { return [ '_advanced' ] }; + + advanced.tab('_config_file', _('Config file')); + advanced.tab('_mime_table', _('Mime table')); + + o = advanced.taboption('_config_file', form.TextValue, '_config_file_data'); + o.wrap = false; + o.rows = 25; + o.rmempty = false; + o.cfgvalue = function(section_id) { + return fs.read(config_file); + }; + o.write = function(section_id, value) { + writeFile(config_file, value); + }; + + o = advanced.taboption('_mime_table', form.TextValue, '_mime_table_data'); + o.wrap = false; + o.rows = 25; + o.rmempty = false; + o.cfgvalue = function(section_id) { + return fs.read(mime_table); + }; + o.write = function(section_id, value) { + writeFile(mime_table, value); + }; + + return m.render(); + }, + +}); diff --git a/applications/luci-app-squid/luasrc/model/cbi/squid.lua b/applications/luci-app-squid/luasrc/model/cbi/squid.lua deleted file mode 100644 index 0ac554a3eee0..000000000000 --- a/applications/luci-app-squid/luasrc/model/cbi/squid.lua +++ /dev/null @@ -1,67 +0,0 @@ ---[[ - -LuCI Squid module - -Copyright (C) 2015, OpenWrt.org - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Author: Marko Ratkaj - -]]-- - -local fs = require "nixio.fs" -local sys = require "luci.sys" -require "ubus" - -m = Map("squid", translate("Squid")) -m.on_after_commit = function() luci.sys.call("/etc/init.d/squid restart") end - -s = m:section(TypedSection, "squid") -s.anonymous = true -s.addremove = false - -s:tab("general", translate("General Settings")) - -http_port = s:taboption("general", Value, "http_port", translate("Port")) -http_port.datatype = "portrange" -http_port.placeholder = "0-65535" - -visible_hostname = s:taboption("general", Value, "visible_hostname", translate("Visible Hostname")) -visible_hostname.datatype="string" -visible_hostname.placeholder = "OpenWrt" - -coredump_dir = s:taboption("general", Value, "coredump_dir", translate("Coredump files directory")) -coredump_dir.datatype="string" -coredump_dir.placeholder = "/tmp/squid" - -s:tab("advanced", translate("Advanced Settings")) - -squid_config_file = s:taboption("advanced", TextValue, "_data", "") -squid_config_file.wrap = "off" -squid_config_file.rows = 25 -squid_config_file.rmempty = false - -function squid_config_file.cfgvalue() - local uci = require "luci.model.uci".cursor_state() - local file = uci:get("squid", "squid", "config_file") - if file then - return fs.readfile(file) or "" - else - return "" - end -end - -function squid_config_file.write(self, section, value) - if value then - local uci = require "luci.model.uci".cursor_state() - local file = uci:get("squid", "squid", "config_file") - fs.writefile(file, value:gsub("\r\n", "\n")) - end -end - -return m diff --git a/applications/luci-app-squid/po/ar/squid.po b/applications/luci-app-squid/po/ar/squid.po index 21746453d126..e109142e51ab 100644 --- a/applications/luci-app-squid/po/ar/squid.po +++ b/applications/luci-app-squid/po/ar/squid.po @@ -11,15 +11,36 @@ msgstr "" "&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" "X-Generator: Weblate 5.7-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 "دليل ملفات Coredump" -#: 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 "الاعدادات العامة" @@ -27,15 +48,32 @@ msgstr "الاعدادات العامة" msgid "Grant UCI access for luci-app-squid" msgstr "منح UCI حق الوصول إلى luci - app - squid" -#: 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 "اسم المضيف المرئي" diff --git a/applications/luci-app-squid/po/bg/squid.po b/applications/luci-app-squid/po/bg/squid.po index 8e7b1f16c8c1..11f07a57a1dc 100644 --- a/applications/luci-app-squid/po/bg/squid.po +++ b/applications/luci-app-squid/po/bg/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 5.5-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 "" -#: 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 "" diff --git a/applications/luci-app-squid/po/bn_BD/squid.po b/applications/luci-app-squid/po/bn_BD/squid.po index bf586aa0e922..dbf73272facd 100644 --- a/applications/luci-app-squid/po/bn_BD/squid.po +++ b/applications/luci-app-squid/po/bn_BD/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.9-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 "" -#: 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 "" diff --git a/applications/luci-app-squid/po/ca/squid.po b/applications/luci-app-squid/po/ca/squid.po index e59520db3f74..c572b96be796 100644 --- a/applications/luci-app-squid/po/ca/squid.po +++ b/applications/luci-app-squid/po/ca/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.5.2-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 "Configuració avançada" -#: 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 "Paràmetres generals" @@ -26,15 +47,32 @@ msgstr "Paràmetres generals" 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 "Port" -#: 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 "" diff --git a/applications/luci-app-squid/po/cs/squid.po b/applications/luci-app-squid/po/cs/squid.po index ad2a5bbb30e4..89a80394dc28 100644 --- a/applications/luci-app-squid/po/cs/squid.po +++ b/applications/luci-app-squid/po/cs/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "X-Generator: Weblate 5.0.2\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 "Pokročilá nastavení" -#: 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 "Adresář se soubory výpisu paměti (coredump)" -#: 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 "Obecná nastavení" @@ -26,15 +47,32 @@ msgstr "Obecná nastavení" msgid "Grant UCI access for luci-app-squid" msgstr "Udělit oprávnění k UCI pro luci-app-shairplay" -#: 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 "Port" -#: 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 "Viditelný název hostitele" diff --git a/applications/luci-app-squid/po/da/squid.po b/applications/luci-app-squid/po/da/squid.po index e38e679311b2..2fec914f6cef 100644 --- a/applications/luci-app-squid/po/da/squid.po +++ b/applications/luci-app-squid/po/da/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 5.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 "Avancerede indstillinger" -#: 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 "Coredump filer mappe" -#: 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 "Generelle indstillinger" @@ -26,15 +47,32 @@ msgstr "Generelle indstillinger" msgid "Grant UCI access for luci-app-squid" msgstr "Giv UCI-adgang til luci-app-squid" -#: 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 "Port" -#: 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 "Synligt værtsnavn" diff --git a/applications/luci-app-squid/po/de/squid.po b/applications/luci-app-squid/po/de/squid.po index dc6c738b88f4..4d92412c384e 100644 --- a/applications/luci-app-squid/po/de/squid.po +++ b/applications/luci-app-squid/po/de/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 5.0-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 "Erweiterte Einstellungen" -#: 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 "Coredump-Dateiverzeichnis" -#: 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 "Allgemeine Einstellungen" @@ -26,15 +47,32 @@ msgstr "Allgemeine Einstellungen" msgid "Grant UCI access for luci-app-squid" msgstr "Gewähre UCI Zugriff auf luci-app-squid" -#: 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 "Port" -#: 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 "Sichtbarer Hostname" diff --git a/applications/luci-app-squid/po/el/squid.po b/applications/luci-app-squid/po/el/squid.po index 931cafd12d9c..5527290d9951 100644 --- a/applications/luci-app-squid/po/el/squid.po +++ b/applications/luci-app-squid/po/el/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.12-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 "Κατάλογος αρχείων Coredump" -#: 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 "Παραχωρήστε πρόσβαση UCI για το luci-app-squid" -#: 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 "Ορατό Hostname" diff --git a/applications/luci-app-squid/po/en/squid.po b/applications/luci-app-squid/po/en/squid.po index 1a0374cb96fb..cf64da0be406 100644 --- a/applications/luci-app-squid/po/en/squid.po +++ b/applications/luci-app-squid/po/en/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 5.3-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 "Advanced Settings" -#: 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 "General Settings" @@ -26,15 +47,32 @@ msgstr "General Settings" 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 "Port" -#: 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 "" diff --git a/applications/luci-app-squid/po/es/squid.po b/applications/luci-app-squid/po/es/squid.po index 62c095be9c86..fafc3dc9aef7 100644 --- a/applications/luci-app-squid/po/es/squid.po +++ b/applications/luci-app-squid/po/es/squid.po @@ -13,15 +13,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 5.8-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 "Ajustes avanzados" -#: 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 "Directorio de archivos de Coredump" -#: 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 "Ajustes generales" @@ -29,15 +50,32 @@ msgstr "Ajustes generales" msgid "Grant UCI access for luci-app-squid" msgstr "Conceder acceso UCI para luci-app-squid" -#: 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 "Puerto" -#: 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 "Nombre de host visible" diff --git a/applications/luci-app-squid/po/fi/squid.po b/applications/luci-app-squid/po/fi/squid.po index 2b484bde4be1..123d417dec1a 100644 --- a/applications/luci-app-squid/po/fi/squid.po +++ b/applications/luci-app-squid/po/fi/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.12-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 "Lisäasetukset" -#: 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 "Coredump-tiedostohakemisto" -#: 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 "Yleiset asetukset" @@ -26,15 +47,32 @@ msgstr "Yleiset asetukset" msgid "Grant UCI access for luci-app-squid" msgstr "Myönnä pääsy SQM-asetuksiin" -#: 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 "Portti" -#: 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 "Näkyvä isäntänimi" diff --git a/applications/luci-app-squid/po/fr/squid.po b/applications/luci-app-squid/po/fr/squid.po index 6186a7e1d123..8a4cfaec8ec1 100644 --- a/applications/luci-app-squid/po/fr/squid.po +++ b/applications/luci-app-squid/po/fr/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 5.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 "Paramètres avancés" -#: 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 "Répertoire des fichiers Coredump" -#: 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 "Réglages généraux" @@ -26,15 +47,32 @@ msgstr "Réglages généraux" msgid "Grant UCI access for luci-app-squid" msgstr "Accorder l'accès à l'UCI pour luci-app-squid" -#: 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 "Port" -#: 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 "Hostname visible" diff --git a/applications/luci-app-squid/po/ga/squid.po b/applications/luci-app-squid/po/ga/squid.po index 8d5995a94f68..2cbf0eb7daf5 100644 --- a/applications/luci-app-squid/po/ga/squid.po +++ b/applications/luci-app-squid/po/ga/squid.po @@ -11,15 +11,36 @@ msgstr "" "n>6 && n<11) ? 3 : 4;\n" "X-Generator: Weblate 5.8-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 "Socruithe chun cinn" -#: 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 "Eolaire comhaid coredump" -#: 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 "Socruithe Ginearálta" @@ -27,15 +48,32 @@ msgstr "Socruithe Ginearálta" msgid "Grant UCI access for luci-app-squid" msgstr "Deonaigh rochtain UCI do luci-app-squid" -#: 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 "Calafort" -#: 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 "Scuid" -#: 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 "Óstainm Infheicthe" diff --git a/applications/luci-app-squid/po/he/squid.po b/applications/luci-app-squid/po/he/squid.po index f8bc09b78e14..48e6b5313b1a 100644 --- a/applications/luci-app-squid/po/he/squid.po +++ b/applications/luci-app-squid/po/he/squid.po @@ -11,15 +11,36 @@ msgstr "" "n % 10 == 0) ? 2 : 3));\n" "X-Generator: Weblate 5.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 "הגדרות כלליות" @@ -27,15 +48,32 @@ msgstr "הגדרות כלליות" msgid "Grant UCI access for luci-app-squid" msgstr "הענקת גישת UCI ל־luci-app-squid" -#: 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 "שם מארח גלוי" diff --git a/applications/luci-app-squid/po/hi/squid.po b/applications/luci-app-squid/po/hi/squid.po index 160b8169d76e..c3e623f57558 100644 --- a/applications/luci-app-squid/po/hi/squid.po +++ b/applications/luci-app-squid/po/hi/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 5.7-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 "" -#: 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 "" diff --git a/applications/luci-app-squid/po/hu/squid.po b/applications/luci-app-squid/po/hu/squid.po index 64268a4ba52f..05c6b2a68ee8 100644 --- a/applications/luci-app-squid/po/hu/squid.po +++ b/applications/luci-app-squid/po/hu/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 5.7-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 "Haladó beállítások" -#: 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 "Magkiírási fájlok könyvtára" -#: 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 "Általános beállítások" @@ -26,15 +47,32 @@ msgstr "Általános beállítások" 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 "Port" -#: 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 "Látható gépnév" diff --git a/applications/luci-app-squid/po/it/squid.po b/applications/luci-app-squid/po/it/squid.po index 7d252f83019e..a74fc4fa41ff 100644 --- a/applications/luci-app-squid/po/it/squid.po +++ b/applications/luci-app-squid/po/it/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 5.5-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 "Impostazioni avanzate" -#: 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 "Cartella dei file coredump" -#: 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 "Impostazioni Generali" @@ -26,15 +47,32 @@ msgstr "Impostazioni Generali" msgid "Grant UCI access for luci-app-squid" msgstr "Concedere l'accesso UCI per luci-app-squid" -#: 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 "Porta" -#: 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 "Nome host visibile" diff --git a/applications/luci-app-squid/po/ja/squid.po b/applications/luci-app-squid/po/ja/squid.po index c387143285c2..4df1f3854a77 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 "表示されるホスト名" diff --git a/applications/luci-app-squid/po/ko/squid.po b/applications/luci-app-squid/po/ko/squid.po index 1abb9bfd8b42..490a77794252 100644 --- a/applications/luci-app-squid/po/ko/squid.po +++ b/applications/luci-app-squid/po/ko/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.15.1-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 "표시되는 호스트네임" diff --git a/applications/luci-app-squid/po/lt/squid.po b/applications/luci-app-squid/po/lt/squid.po index 32b598211e92..4234aa23271f 100644 --- a/applications/luci-app-squid/po/lt/squid.po +++ b/applications/luci-app-squid/po/lt/squid.po @@ -12,15 +12,36 @@ msgstr "" "1 : 2);\n" "X-Generator: Weblate 5.7-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 "Pažangūs nustatymai" -#: 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 "„Coredump“ failų vietovę/kelią" -#: 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 "Bendri nustatymai" @@ -28,15 +49,32 @@ msgstr "Bendri nustatymai" msgid "Grant UCI access for luci-app-squid" msgstr "Suteikti „UCI“ prieigą – „luci-app-squid“" -#: 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 "Prievadas" -#: 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 "Matomas Įrenginio (t.y skleidėjo/vedėjo) pavadinimas" diff --git a/applications/luci-app-squid/po/mr/squid.po b/applications/luci-app-squid/po/mr/squid.po index e99dff709eb5..8f54312f7e60 100644 --- a/applications/luci-app-squid/po/mr/squid.po +++ b/applications/luci-app-squid/po/mr/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 3.10\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 "" -#: 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 "" diff --git a/applications/luci-app-squid/po/ms/squid.po b/applications/luci-app-squid/po/ms/squid.po index 5f66ad777b83..ad1bc2fb5239 100644 --- a/applications/luci-app-squid/po/ms/squid.po +++ b/applications/luci-app-squid/po/ms/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 5.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 "Tetapan Lanjutan" -#: 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 "" -#: 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 "Port" -#: 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 "" diff --git a/applications/luci-app-squid/po/nb_NO/squid.po b/applications/luci-app-squid/po/nb_NO/squid.po index e3eda8cd1c51..49d994251e7e 100644 --- a/applications/luci-app-squid/po/nb_NO/squid.po +++ b/applications/luci-app-squid/po/nb_NO/squid.po @@ -10,16 +10,37 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.18.1\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 "Avanserte innstillinger" -#: 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 #, fuzzy msgid "Coredump files directory" msgstr "Coredump-filmappe" -#: 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 "Generelle innstillinger" @@ -27,15 +48,32 @@ msgstr "Generelle innstillinger" msgid "Grant UCI access for luci-app-squid" msgstr "Innvilg UCI-tilgang for luci-app-squid" -#: 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 "Port" -#: 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 "Synlig vertsnavn" diff --git a/applications/luci-app-squid/po/nl/squid.po b/applications/luci-app-squid/po/nl/squid.po index 390277dbc983..bdf9a6b8b446 100644 --- a/applications/luci-app-squid/po/nl/squid.po +++ b/applications/luci-app-squid/po/nl/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.18-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 "Geavanceerde instellingen" -#: 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 "Coredump-bestanden map" -#: 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 "Algemene instellingen" @@ -26,15 +47,32 @@ msgstr "Algemene instellingen" msgid "Grant UCI access for luci-app-squid" msgstr "Verleen UCI-toegang voor luci-app-squid" -#: 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 "Poort" -#: 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 "Zichtbare hostnaam" diff --git a/applications/luci-app-squid/po/pl/squid.po b/applications/luci-app-squid/po/pl/squid.po index 01dbff460df8..e4af0c05cac7 100644 --- a/applications/luci-app-squid/po/pl/squid.po +++ b/applications/luci-app-squid/po/pl/squid.po @@ -11,15 +11,36 @@ msgstr "" "|| n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 5.2-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 "Ustawienia zaawansowane" -#: 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 "Katalog plików Coredump" -#: 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 "Ustawienia główne" @@ -27,15 +48,32 @@ msgstr "Ustawienia główne" msgid "Grant UCI access for luci-app-squid" msgstr "Przyznaj luci-app-squid dostęp do 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 "Port" -#: 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 "Widoczna nazwa hosta" diff --git a/applications/luci-app-squid/po/pt/squid.po b/applications/luci-app-squid/po/pt/squid.po index e8dac72d053d..f209535e20b4 100644 --- a/applications/luci-app-squid/po/pt/squid.po +++ b/applications/luci-app-squid/po/pt/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 5.7-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 "Configurações avançadas" -#: 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 "Diretório de ficheiros Coredump" -#: 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 "Configurações gerais" @@ -26,15 +47,32 @@ msgstr "Configurações gerais" msgid "Grant UCI access for luci-app-squid" msgstr "Conceder UCI acesso ao luci-app-squid" -#: 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 "Porta" -#: 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 "Nome do host visível" diff --git a/applications/luci-app-squid/po/pt_BR/squid.po b/applications/luci-app-squid/po/pt_BR/squid.po index abcda8d19b0a..8b27c22ee7e1 100644 --- a/applications/luci-app-squid/po/pt_BR/squid.po +++ b/applications/luci-app-squid/po/pt_BR/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 4.16.2-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 "Configurações avançadas" -#: 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 "Diretório de arquivos Coredump" -#: 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 "Configurações gerais" @@ -26,15 +47,32 @@ msgstr "Configurações gerais" msgid "Grant UCI access for luci-app-squid" msgstr "Conceda acesso UCI ao luci-app-squid" -#: 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 "Porta" -#: 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 "Nome de Host Visível" diff --git a/applications/luci-app-squid/po/ro/squid.po b/applications/luci-app-squid/po/ro/squid.po index ec9794fdba9c..ada0c6bcc71a 100644 --- a/applications/luci-app-squid/po/ro/squid.po +++ b/applications/luci-app-squid/po/ro/squid.po @@ -11,15 +11,36 @@ msgstr "" "20)) ? 1 : 2;\n" "X-Generator: Weblate 4.9.1-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 "Setări avansate" -#: 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 "Director de fișiere Coredump" -#: 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 "Setări generale" @@ -27,15 +48,32 @@ msgstr "Setări generale" msgid "Grant UCI access for luci-app-squid" msgstr "Acordă acces UCI pentru luci-app-squid" -#: 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 "Port" -#: 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 "Calmar" -#: 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 "Numele de gazdă vizibil" diff --git a/applications/luci-app-squid/po/ru/squid.po b/applications/luci-app-squid/po/ru/squid.po index 1259b1eb5b60..b7d0b1beab09 100644 --- a/applications/luci-app-squid/po/ru/squid.po +++ b/applications/luci-app-squid/po/ru/squid.po @@ -11,15 +11,36 @@ msgstr "" "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 5.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 "Каталог файлов Coredump" -#: 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 "Основные настройки" @@ -27,15 +48,32 @@ msgstr "Основные настройки" msgid "Grant UCI access for luci-app-squid" msgstr "Предоставить UCI доступ для luci-app-squid" -#: 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 "Отображаемое имя хоста" diff --git a/applications/luci-app-squid/po/sk/squid.po b/applications/luci-app-squid/po/sk/squid.po index 830402a4f8ee..0b2b6d85b0b6 100644 --- a/applications/luci-app-squid/po/sk/squid.po +++ b/applications/luci-app-squid/po/sk/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "X-Generator: Weblate 4.0-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 "Pokročilé nastavenia" -#: 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 "Všeobecné nastavenia" @@ -26,15 +47,32 @@ msgstr "Všeobecné nastavenia" 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 "Port" -#: 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 "" diff --git a/applications/luci-app-squid/po/sv/squid.po b/applications/luci-app-squid/po/sv/squid.po index ee61c121c965..d742929648fc 100644 --- a/applications/luci-app-squid/po/sv/squid.po +++ b/applications/luci-app-squid/po/sv/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.6-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 "Avancerade inställningar" -#: 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 "Generella inställningar" @@ -26,15 +47,32 @@ msgstr "Generella inställningar" 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 "Port" -#: 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 "Synligt värdnamn" diff --git a/applications/luci-app-squid/po/templates/squid.pot b/applications/luci-app-squid/po/templates/squid.pot index 90c44e53fac9..0295cd496178 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 "" diff --git a/applications/luci-app-squid/po/tr/squid.po b/applications/luci-app-squid/po/tr/squid.po index 0fcd88483834..a531dc8db4a0 100644 --- a/applications/luci-app-squid/po/tr/squid.po +++ b/applications/luci-app-squid/po/tr/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 5.5-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 "Gelişmiş Ayarlar" -#: 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 "Bellek dökümü dosyaları dizini" -#: 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 "Genel Ayarlar" @@ -26,15 +47,32 @@ msgstr "Genel Ayarlar" msgid "Grant UCI access for luci-app-squid" msgstr "luci-app-squid için UCI erişimi verin" -#: 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 "Bağlantı Noktası" -#: 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 "Görünür Ana Makine Adı" diff --git a/applications/luci-app-squid/po/uk/squid.po b/applications/luci-app-squid/po/uk/squid.po index e242dc9ba4aa..9c5c1366e412 100644 --- a/applications/luci-app-squid/po/uk/squid.po +++ b/applications/luci-app-squid/po/uk/squid.po @@ -11,15 +11,36 @@ msgstr "" "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 5.5-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 "Каталог файлів Coredump" -#: 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 "Загальні налаштування" @@ -27,15 +48,32 @@ msgstr "Загальні налаштування" msgid "Grant UCI access for luci-app-squid" msgstr "Надати доступ до UCI для luci-app-squid" -#: 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 "Видиме ім’я хосту" diff --git a/applications/luci-app-squid/po/vi/squid.po b/applications/luci-app-squid/po/vi/squid.po index 97878f1026f7..f93c250d1aad 100644 --- a/applications/luci-app-squid/po/vi/squid.po +++ b/applications/luci-app-squid/po/vi/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 5.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 "Cài đặt Nâng cao" -#: 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 "Thư mục chứa các tệp coredump (tệp dump lõi)" -#: 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 "Các cài đặt chung" @@ -26,15 +47,32 @@ msgstr "Các cài đặt chung" msgid "Grant UCI access for luci-app-squid" msgstr "Cấp quyền truy cập UCI cho luci-app-squid" -#: 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 "Cổng" -#: 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 "Hiện thị tên máy chủ (Hostname)" diff --git a/applications/luci-app-squid/po/yua/squid.po b/applications/luci-app-squid/po/yua/squid.po index 76f104b64e1e..b2238b560ac3 100644 --- a/applications/luci-app-squid/po/yua/squid.po +++ b/applications/luci-app-squid/po/yua/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 5.8-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 "Ajustes avanzados" -#: 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 "Directorio de archivos de Coredump" -#: 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 "Ajustes generales" @@ -26,15 +47,32 @@ msgstr "Ajustes generales" msgid "Grant UCI access for luci-app-squid" msgstr "Conceder acceso UCI para luci-app-squid" -#: 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 "Puerto" -#: 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 "Nombre de host visible" diff --git a/applications/luci-app-squid/po/zh_Hans/squid.po b/applications/luci-app-squid/po/zh_Hans/squid.po index 919f5c646417..32ba9d6fca59 100644 --- a/applications/luci-app-squid/po/zh_Hans/squid.po +++ b/applications/luci-app-squid/po/zh_Hans/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.16.2-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 "授予 UCI 访问 luci-app-squid 的权限" -#: 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 "可见的主机名" diff --git a/applications/luci-app-squid/po/zh_Hant/squid.po b/applications/luci-app-squid/po/zh_Hant/squid.po index ee4e1b9cc8d2..13ae2f6506d1 100644 --- a/applications/luci-app-squid/po/zh_Hant/squid.po +++ b/applications/luci-app-squid/po/zh_Hant/squid.po @@ -10,15 +10,36 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 5.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 "可見的主機名" diff --git a/applications/luci-app-squid/root/usr/libexec/rpcd/luci.squid b/applications/luci-app-squid/root/usr/libexec/rpcd/luci.squid new file mode 100644 index 000000000000..040591ff4b7a --- /dev/null +++ b/applications/luci-app-squid/root/usr/libexec/rpcd/luci.squid @@ -0,0 +1,39 @@ +#!/bin/sh + +# Reference: https://openwrt.org/docs/techref/rpcd + +. /usr/share/libubox/jshn.sh + +get_compile_time_options() { + # Extract all options that begins with '--' as a comma-separated string + source="$(squid -v)" + options="$(echo $source | grep -o "'--[^']*'" | sed "s/'//g")" + + json_init + json_add_array 'options' + # For each option, add it to the array + set -- $options + for option; do + json_add_string '' "$option" + done + json_close_array + json_dump + json_cleanup +} + +case "$1" in + list) + json_init + json_add_object 'getCompileTimeOptions' + json_close_object + json_dump + json_cleanup + ;; + call) + case "$2" in + getCompileTimeOptions) + get_compile_time_options + ;; + esac + ;; +esac diff --git a/applications/luci-app-squid/root/usr/share/luci/menu.d/luci-app-squid.json b/applications/luci-app-squid/root/usr/share/luci/menu.d/luci-app-squid.json index 15a0d3c4d44c..0f1da9554fcf 100644 --- a/applications/luci-app-squid/root/usr/share/luci/menu.d/luci-app-squid.json +++ b/applications/luci-app-squid/root/usr/share/luci/menu.d/luci-app-squid.json @@ -2,9 +2,8 @@ "admin/services/squid": { "title": "Squid", "action": { - "type": "cbi", - "path": "squid", - "post": { "cbi.submit": true } + "type": "view", + "path": "squid" }, "depends": { "acl": [ "luci-app-squid" ] diff --git a/applications/luci-app-squid/root/usr/share/rpcd/acl.d/luci-app-squid.json b/applications/luci-app-squid/root/usr/share/rpcd/acl.d/luci-app-squid.json index 91f8b5b3480a..c5fd5c586798 100644 --- a/applications/luci-app-squid/root/usr/share/rpcd/acl.d/luci-app-squid.json +++ b/applications/luci-app-squid/root/usr/share/rpcd/acl.d/luci-app-squid.json @@ -2,9 +2,18 @@ "luci-app-squid": { "description": "Grant UCI access for luci-app-squid", "read": { + "file": { + "/etc/squid/*": [ "read" ] + }, + "ubus": { + "luci.squid": [ "getCompileTimeOptions" ] + }, "uci": [ "squid" ] }, "write": { + "file": { + "/etc/squid/*": [ "write" ] + }, "uci": [ "squid" ] } }