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

+2 -2
View File
@@ -25,14 +25,14 @@
<h2>{% trans "System Configuration" %}</h2>
<p>
{% blocktrans trimmed with box_name=cfg.box_name %}
{% blocktrans trimmed %}
Here you can administrate the underlying system of your
{{ box_name }}.
{% endblocktrans %}
</p>
<p>
{% blocktrans trimmed with box_name=cfg.box_name %}
{% blocktrans trimmed %}
The options affect the {{ box_name }} at its most general level,
so be careful!
{% endblocktrans %}