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:
Sunil Mohan Adapa committed 2016-01-24 00:37:01 +05:30
1 parent 8ccffcf02c
commit 4602c5bfce
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