mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Use translated brand name in templates
Using brand name directly from configuration means that it can't be easily translated. Instead use the translated brand name sent in my the context processor.
This commit is contained in:
14 files changed
+25
-25
No files matched your search
@@ -25,9 +25,9 @@
|
||||
<h2>{{ title }}</h2>
|
||||
|
||||
<p>
|
||||
{% blocktrans trimmed with box_name=cfg.box_name %}
|
||||
Firewall is a network security system that controls the incoming
|
||||
and outgoing network traffic on your {{ box_name }}. Keeping a
|
||||
{% blocktrans trimmed %}
|
||||
firewall enabled and properly configured reduces risk of
|
||||
security threat from the Internet.
|
||||
{% endblocktrans %}
|
||||
@@ -38,7 +38,7 @@
|
||||
{% if firewall_status == 'not_running' %}
|
||||
|
||||
<p>
|
||||
{% blocktrans trimmed with box_name=cfg.box_name %}
|
||||
{% blocktrans trimmed %}
|
||||
Firewall daemon is not running. Please run it. Firewall comes
|
||||
enabled by default on {{ box_name }}. On any Debian based
|
||||
system (such as {{ box_name }}) you may run it using the
|
||||
|
||||
Reference in new issue
Block a user