mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Make remaining uses of brand name customizable
This commit is contained in:
10 files changed
+41
-35
No files matched your search
@@ -35,7 +35,7 @@ def init():
|
||||
'glyphicon-book', 'help:index', 101)
|
||||
menu.add_urlname(ugettext_lazy('Where to Get Help'), 'glyphicon-search',
|
||||
'help:index_explicit', 5)
|
||||
menu.add_urlname(ugettext_lazy('FreedomBox Manual'), 'glyphicon-info-sign',
|
||||
menu.add_urlname(ugettext_lazy('Manual'), 'glyphicon-info-sign',
|
||||
'help:manual', 10)
|
||||
menu.add_urlname(ugettext_lazy('About'), 'glyphicon-star', 'help:about',
|
||||
100)
|
||||
@@ -52,7 +52,7 @@ def index(request):
|
||||
def about(request):
|
||||
"""Serve the about page"""
|
||||
context = {
|
||||
'title': _('About {box_name}').format(box_name=cfg.box_name),
|
||||
'title': _('About {box_name}').format(box_name=_(cfg.box_name)),
|
||||
'version': __version__
|
||||
}
|
||||
return TemplateResponse(request, 'help_about.html', context)
|
||||
@@ -68,6 +68,7 @@ def manual(request):
|
||||
except IOError:
|
||||
raise Http404
|
||||
|
||||
return TemplateResponse(request, 'help_manual.html',
|
||||
{'title': _('FreedomBox Manual'),
|
||||
'content': content})
|
||||
return TemplateResponse(
|
||||
request, 'help_manual.html',
|
||||
{'title': _('{box_name} Manual').format(box_name=_(cfg.box_name)),
|
||||
'content': content})
|
||||
@@ -55,15 +55,16 @@
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
There are a number of projects working to realize a future of
|
||||
distributed services; FreedomBox aims to bring them all together
|
||||
in a convenient package.
|
||||
distributed services; {{ box_name }} aims to bring them all
|
||||
together in a convenient package.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
For more information about the FreedomBox project, see the
|
||||
<a href="https://wiki.debian.org/FreedomBox">FreedomBox Wiki</a>.
|
||||
For more information about the {{ box_name }} project, see the
|
||||
<a href="https://wiki.debian.org/FreedomBox">{{ box_name }}
|
||||
Wiki</a>.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
|
||||
@@ -33,9 +33,7 @@
|
||||
<img src="{% static 'theme/img/freedombox-logo-32px.png' %}"
|
||||
alt="{{ cfg.box_name }}" />
|
||||
<a href="{% url 'index' %}">
|
||||
{% blocktrans trimmed with box_name=cfg.box_name %}
|
||||
{{ box_name }} Setup
|
||||
{% endblocktrans %}
|
||||
{% blocktrans trimmed %}{{ box_name }} Setup{% endblocktrans %}
|
||||
</a>
|
||||
</span>
|
||||
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
|
||||
<p>
|
||||
{% url 'help:manual' as manual_url %}
|
||||
{% blocktrans trimmed with box_name=cfg.box_name %}
|
||||
The <a href="{{ manual_url }}">FreedomBox Manual</a> is the
|
||||
{% blocktrans trimmed %}
|
||||
The <a href="{{ manual_url }}">{{ box_name }} Manual</a> is the
|
||||
best place to start for information regarding {{ box_name }}.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
@@ -35,13 +35,13 @@
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
<a href="http://wiki.debian.org/FreedomBox" target="_blank">
|
||||
FreedomBox project wiki </a> contains further information.
|
||||
{{ box_name }} project wiki </a> contains further information.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
To seek help from FreedomBox community, queries may be posted on
|
||||
To seek help from {{ box_name }} community, queries may be posted on
|
||||
the
|
||||
<a href="https://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss">
|
||||
mailing list</a>. The list archives also contain information
|
||||
@@ -51,8 +51,8 @@
|
||||
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
Many FreedomBox contributors and users are also available on the irc.oftc.net IRC network.
|
||||
Join and request help on the
|
||||
Many {{ box_name }} contributors and users are also available on
|
||||
the irc.oftc.net IRC network. Join and request help on the
|
||||
<a href="https://webchat.oftc.net/?randomnick=1&channels=freedombox&prompt=1">
|
||||
#freedombox</a> channel using the IRC web interface.
|
||||
{% endblocktrans %}
|
||||
|
||||
Reference in new issue
Block a user