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
@@ -37,7 +37,7 @@
|
||||
{% block content_row %}
|
||||
<p class="text-center">
|
||||
<img src="{% static 'theme/img/FreedomBox-logo-standard.png' %}"
|
||||
alt="{{ cfg.box_name }}" width="640"/>
|
||||
alt="{{ box_name }}" width="640"/>
|
||||
</p>
|
||||
|
||||
<p class="text-center">
|
||||
@@ -46,7 +46,7 @@
|
||||
</p>
|
||||
|
||||
<p class="text-center" style="font-size: larger">
|
||||
{% blocktrans trimmed with box_name=cfg.box_name %}
|
||||
{% blocktrans trimmed %}
|
||||
To complete the setup of your {{ box_name }}, please provide
|
||||
some basic information.
|
||||
{% endblocktrans %}
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<h2>{% trans "Setup Complete!" %}</h2>
|
||||
|
||||
<p>
|
||||
{% blocktrans trimmed with box_name=cfg.box_name %}
|
||||
{% blocktrans trimmed %}
|
||||
{{ box_name }} setup is now complete. To make your {{ box_name }}
|
||||
functional, you need some applications. Applications will be
|
||||
installed the first time you access them.
|
||||
|
||||
Reference in new issue
Block a user