mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
web proxy: move squid native language directory to new language pack
There is a problem with mapping, but same as before.
This commit is contained in:
parent
84a099c72b
commit
2495fb0dc4
@ -471,5 +471,6 @@ connect_timeout {{OPNsense.proxy.general.connecttimeout}} seconds
|
||||
{% if not helpers.empty('OPNsense.proxy.general.error_pages') %}
|
||||
error_directory /usr/local/etc/squid/errors/local
|
||||
{% elif helpers.exists('system.language') and system.language != "" %}
|
||||
error_directory /usr/local/etc/squid/errors/{{ system.language|lower|replace("_","-")}}
|
||||
# XXX this can end up selecting a nonexistent directory because most languages are without a country shortcut
|
||||
error_directory /usr/local/share/squid-langpack/{{ system.language|lower|replace("_","-")}}
|
||||
{% endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user