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