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
@@ -85,7 +85,7 @@
<h3>{% trans "Bridge" %}</h3>
<p>
{% blocktrans trimmed with box_name=cfg.box_name %}
{% blocktrans trimmed %}
Your {{ box_name }} is configured as a Tor bridge with obfsproxy,
so it can help circumvent censorship. If your {{ box_name }} is
behind a router or firewall, you should make sure the following
@@ -117,7 +117,7 @@
<h3>{% trans "SOCKS" %}</h3>
<p>
{% blocktrans trimmed with box_name=cfg.box_name %}
{% blocktrans trimmed %}
A Tor SOCKS port is available on your {{ box_name }} on TCP port
9050.
{% endblocktrans %}