From 8068e97172d0d7051726a221a6ffa409f987ea27 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 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 | 63 +++++++++++++++++ .../luci-app-squid/luasrc/model/cbi/squid.lua | 67 ------------------- applications/luci-app-squid/po/ar/squid.po | 12 ++-- applications/luci-app-squid/po/bg/squid.po | 12 ++-- applications/luci-app-squid/po/bn_BD/squid.po | 12 ++-- applications/luci-app-squid/po/ca/squid.po | 12 ++-- applications/luci-app-squid/po/cs/squid.po | 12 ++-- applications/luci-app-squid/po/da/squid.po | 12 ++-- applications/luci-app-squid/po/de/squid.po | 12 ++-- applications/luci-app-squid/po/el/squid.po | 12 ++-- applications/luci-app-squid/po/en/squid.po | 12 ++-- applications/luci-app-squid/po/es/squid.po | 12 ++-- applications/luci-app-squid/po/fi/squid.po | 12 ++-- applications/luci-app-squid/po/fr/squid.po | 12 ++-- applications/luci-app-squid/po/ga/squid.po | 12 ++-- applications/luci-app-squid/po/he/squid.po | 12 ++-- applications/luci-app-squid/po/hi/squid.po | 12 ++-- applications/luci-app-squid/po/hu/squid.po | 12 ++-- applications/luci-app-squid/po/it/squid.po | 12 ++-- applications/luci-app-squid/po/ja/squid.po | 12 ++-- applications/luci-app-squid/po/ko/squid.po | 12 ++-- applications/luci-app-squid/po/lt/squid.po | 12 ++-- applications/luci-app-squid/po/mr/squid.po | 12 ++-- applications/luci-app-squid/po/ms/squid.po | 12 ++-- applications/luci-app-squid/po/nb_NO/squid.po | 12 ++-- applications/luci-app-squid/po/nl/squid.po | 12 ++-- applications/luci-app-squid/po/pl/squid.po | 12 ++-- applications/luci-app-squid/po/pt/squid.po | 12 ++-- applications/luci-app-squid/po/pt_BR/squid.po | 12 ++-- applications/luci-app-squid/po/ro/squid.po | 12 ++-- applications/luci-app-squid/po/ru/squid.po | 12 ++-- applications/luci-app-squid/po/sk/squid.po | 12 ++-- applications/luci-app-squid/po/sv/squid.po | 12 ++-- .../luci-app-squid/po/templates/squid.pot | 12 ++-- applications/luci-app-squid/po/tr/squid.po | 12 ++-- applications/luci-app-squid/po/uk/squid.po | 12 ++-- applications/luci-app-squid/po/vi/squid.po | 12 ++-- applications/luci-app-squid/po/yua/squid.po | 12 ++-- .../luci-app-squid/po/zh_Hans/squid.po | 12 ++-- .../luci-app-squid/po/zh_Hant/squid.po | 12 ++-- .../usr/share/luci/menu.d/luci-app-squid.json | 5 +- .../usr/share/rpcd/acl.d/luci-app-squid.json | 7 ++ 43 files changed, 303 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 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..c92f22ff8da7 --- /dev/null +++ b/applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js @@ -0,0 +1,63 @@ +'use strict'; + +'require form'; +'require fs'; +'require uci'; +'require ui'; +'require view'; + +return view.extend({ + + load: function() { + return uci.load('squid') + .then(() => uci.get('squid', 'squid', 'config_file')); + }, + + render: function(config_file) { + 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')); + + o = s.taboption('general', form.Value, 'http_port', _('Port')); + o.datatype = 'portrange'; + o.placeholder = '0-65535'; + + 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'; + + o = s.taboption('advanced', form.TextValue, '_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) { + if (value) { + var normalized = value.replaceAll('\r\n', '\n'); + fs.write(config_file, normalized); + } + }; + + return m.render(); + }, + + handleSaveApply: function (ev) { + this.handleSave() + .then(() => ui.changes.apply()) + .then(() => fs.exec('/etc/init.d/squid', ['restart'])); + } + +}); 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..0956e5b90b6d 100644 --- a/applications/luci-app-squid/po/ar/squid.po +++ b/applications/luci-app-squid/po/ar/squid.po @@ -11,15 +11,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "الاعدادات العامة" @@ -27,15 +27,15 @@ 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:28 msgid "Port" msgstr "المنفذ" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:21 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:19 #: 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:32 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..11325d5e0253 100644 --- a/applications/luci-app-squid/po/bg/squid.po +++ b/applications/luci-app-squid/po/bg/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Общи настройки" @@ -26,15 +26,15 @@ 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:28 msgid "Port" msgstr "Порт" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:21 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:19 #: 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:32 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..aadb54ff6046 100644 --- a/applications/luci-app-squid/po/bn_BD/squid.po +++ b/applications/luci-app-squid/po/bn_BD/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "সাধারণ সেটিংস" @@ -26,15 +26,15 @@ 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:28 msgid "Port" msgstr "পোর্ট" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:21 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:19 #: 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:32 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..a7c095ffeb9a 100644 --- a/applications/luci-app-squid/po/ca/squid.po +++ b/applications/luci-app-squid/po/ca/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Paràmetres generals" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..6c073b7f8e58 100644 --- a/applications/luci-app-squid/po/cs/squid.po +++ b/applications/luci-app-squid/po/cs/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Obecná nastavení" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..b0e048634b89 100644 --- a/applications/luci-app-squid/po/da/squid.po +++ b/applications/luci-app-squid/po/da/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Generelle indstillinger" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..9d750559e8d5 100644 --- a/applications/luci-app-squid/po/de/squid.po +++ b/applications/luci-app-squid/po/de/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Allgemeine Einstellungen" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..3db1ac552e01 100644 --- a/applications/luci-app-squid/po/el/squid.po +++ b/applications/luci-app-squid/po/el/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Γενικές ρυθμίσεις" @@ -26,15 +26,15 @@ 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:28 msgid "Port" msgstr "Θύρα" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:21 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:19 #: 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:32 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..2ba1a7c81a74 100644 --- a/applications/luci-app-squid/po/en/squid.po +++ b/applications/luci-app-squid/po/en/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "General Settings" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..8c7c325c6def 100644 --- a/applications/luci-app-squid/po/es/squid.po +++ b/applications/luci-app-squid/po/es/squid.po @@ -13,15 +13,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Ajustes generales" @@ -29,15 +29,15 @@ 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:28 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:19 #: 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:32 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..62f4e13a5f95 100644 --- a/applications/luci-app-squid/po/fi/squid.po +++ b/applications/luci-app-squid/po/fi/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Yleiset asetukset" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..c9dc637c1545 100644 --- a/applications/luci-app-squid/po/fr/squid.po +++ b/applications/luci-app-squid/po/fr/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Réglages généraux" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..e9308bd4166f 100644 --- a/applications/luci-app-squid/po/ga/squid.po +++ b/applications/luci-app-squid/po/ga/squid.po @@ -11,15 +11,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Socruithe Ginearálta" @@ -27,15 +27,15 @@ 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:28 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:19 #: 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:32 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..6176ed5ccd3d 100644 --- a/applications/luci-app-squid/po/he/squid.po +++ b/applications/luci-app-squid/po/he/squid.po @@ -11,15 +11,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "הגדרות כלליות" @@ -27,15 +27,15 @@ 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:28 msgid "Port" msgstr "פתחה" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:21 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:19 #: 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:32 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..84405b9a7276 100644 --- a/applications/luci-app-squid/po/hi/squid.po +++ b/applications/luci-app-squid/po/hi/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "" @@ -26,15 +26,15 @@ 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:28 msgid "Port" msgstr "" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:21 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:19 #: 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:32 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..b77fa89b3ea1 100644 --- a/applications/luci-app-squid/po/hu/squid.po +++ b/applications/luci-app-squid/po/hu/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Általános beállítások" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..0d0f53d53e49 100644 --- a/applications/luci-app-squid/po/it/squid.po +++ b/applications/luci-app-squid/po/it/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Impostazioni Generali" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..ce93316234c5 100644 --- a/applications/luci-app-squid/po/ja/squid.po +++ b/applications/luci-app-squid/po/ja/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "一般設定" @@ -26,15 +26,15 @@ 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:28 msgid "Port" msgstr "ポート" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:21 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:19 #: 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:32 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..66a5559360b4 100644 --- a/applications/luci-app-squid/po/ko/squid.po +++ b/applications/luci-app-squid/po/ko/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "기본 설정" @@ -26,15 +26,15 @@ 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:28 msgid "Port" msgstr "포트" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:21 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:19 #: 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:32 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..ce1df05af221 100644 --- a/applications/luci-app-squid/po/lt/squid.po +++ b/applications/luci-app-squid/po/lt/squid.po @@ -12,15 +12,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Bendri nustatymai" @@ -28,15 +28,15 @@ 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:28 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:19 #: 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:32 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..0146a543113a 100644 --- a/applications/luci-app-squid/po/mr/squid.po +++ b/applications/luci-app-squid/po/mr/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "सामान्य सेटिंग्ज" @@ -26,15 +26,15 @@ 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:28 msgid "Port" msgstr "पोर्ट" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:21 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:19 #: 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:32 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..a87a8d899de8 100644 --- a/applications/luci-app-squid/po/ms/squid.po +++ b/applications/luci-app-squid/po/ms/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..1c8e021fbc62 100644 --- a/applications/luci-app-squid/po/nb_NO/squid.po +++ b/applications/luci-app-squid/po/nb_NO/squid.po @@ -10,16 +10,16 @@ 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:26 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:36 #, 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:25 msgid "General Settings" msgstr "Generelle innstillinger" @@ -27,15 +27,15 @@ 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:28 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:19 #: 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:32 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..49b4ed4dc6be 100644 --- a/applications/luci-app-squid/po/nl/squid.po +++ b/applications/luci-app-squid/po/nl/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Algemene instellingen" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..5fed45ad8eac 100644 --- a/applications/luci-app-squid/po/pl/squid.po +++ b/applications/luci-app-squid/po/pl/squid.po @@ -11,15 +11,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Ustawienia główne" @@ -27,15 +27,15 @@ 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:28 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:19 #: 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:32 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..4bff2ed476d4 100644 --- a/applications/luci-app-squid/po/pt/squid.po +++ b/applications/luci-app-squid/po/pt/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Configurações gerais" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..e4a62d2b481b 100644 --- a/applications/luci-app-squid/po/pt_BR/squid.po +++ b/applications/luci-app-squid/po/pt_BR/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Configurações gerais" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..4f4ed1a684db 100644 --- a/applications/luci-app-squid/po/ro/squid.po +++ b/applications/luci-app-squid/po/ro/squid.po @@ -11,15 +11,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Setări generale" @@ -27,15 +27,15 @@ 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:28 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:19 #: 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:32 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..f8726f0e511d 100644 --- a/applications/luci-app-squid/po/ru/squid.po +++ b/applications/luci-app-squid/po/ru/squid.po @@ -11,15 +11,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Основные настройки" @@ -27,15 +27,15 @@ 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:28 msgid "Port" msgstr "Порт" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:21 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:19 #: 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:32 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..dc8e72fd9059 100644 --- a/applications/luci-app-squid/po/sk/squid.po +++ b/applications/luci-app-squid/po/sk/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Všeobecné nastavenia" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..650721927086 100644 --- a/applications/luci-app-squid/po/sv/squid.po +++ b/applications/luci-app-squid/po/sv/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Generella inställningar" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..7742a1cbf36d 100644 --- a/applications/luci-app-squid/po/templates/squid.pot +++ b/applications/luci-app-squid/po/templates/squid.pot @@ -1,15 +1,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "" @@ -17,15 +17,15 @@ 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:28 msgid "Port" msgstr "" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:21 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:19 #: 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:32 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..26c2eb638f02 100644 --- a/applications/luci-app-squid/po/tr/squid.po +++ b/applications/luci-app-squid/po/tr/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Genel Ayarlar" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..87a2b6fc9dad 100644 --- a/applications/luci-app-squid/po/uk/squid.po +++ b/applications/luci-app-squid/po/uk/squid.po @@ -11,15 +11,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Загальні налаштування" @@ -27,15 +27,15 @@ 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:28 msgid "Port" msgstr "Порт" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:21 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:19 #: 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:32 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..3f6be8d7d8eb 100644 --- a/applications/luci-app-squid/po/vi/squid.po +++ b/applications/luci-app-squid/po/vi/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Các cài đặt chung" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..0ae31812fbf1 100644 --- a/applications/luci-app-squid/po/yua/squid.po +++ b/applications/luci-app-squid/po/yua/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "Ajustes generales" @@ -26,15 +26,15 @@ 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:28 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:19 #: 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:32 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..873f4e73e93d 100644 --- a/applications/luci-app-squid/po/zh_Hans/squid.po +++ b/applications/luci-app-squid/po/zh_Hans/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "常规设置" @@ -26,15 +26,15 @@ 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:28 msgid "Port" msgstr "端口" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:21 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:19 #: 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:32 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..ebd5fd4011cb 100644 --- a/applications/luci-app-squid/po/zh_Hant/squid.po +++ b/applications/luci-app-squid/po/zh_Hant/squid.po @@ -10,15 +10,15 @@ 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:26 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:36 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:25 msgid "General Settings" msgstr "一般設定" @@ -26,15 +26,15 @@ 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:28 msgid "Port" msgstr "連接埠" -#: applications/luci-app-squid/luasrc/model/cbi/squid.lua:21 +#: applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js:19 #: 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:32 msgid "Visible Hostname" msgstr "可見的主機名" 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..728723e4e8c8 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,16 @@ "luci-app-squid": { "description": "Grant UCI access for luci-app-squid", "read": { + "file": { + "/etc/squid/*": [ "read" ], + "/etc/init.d/squid restart": [ "exec" ] + }, "uci": [ "squid" ] }, "write": { + "file": { + "/etc/squid/*": [ "write" ] + }, "uci": [ "squid" ] } }