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
@@ -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 %}
|
||||
|
||||
Reference in new issue
Block a user