From 7f75cd329ac86dae4dd8f4dfaa516b1a6ac7bdb4 Mon Sep 17 00:00:00 2001 From: Mouse Reeve <mousereeve@riseup.net> Date: Fri, 15 Oct 2021 13:42:32 -0700 Subject: [PATCH] Use instance name instead of the word "instance" where possible trying to use less jargon --- bookwyrm/templates/email/invite/html_content.html | 2 +- bookwyrm/templates/email/invite/text_content.html | 2 +- bookwyrm/templates/layout.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bookwyrm/templates/email/invite/html_content.html b/bookwyrm/templates/email/invite/html_content.html index 358e23dc..adc993b7 100644 --- a/bookwyrm/templates/email/invite/html_content.html +++ b/bookwyrm/templates/email/invite/html_content.html @@ -12,6 +12,6 @@ <p> {% url 'code-of-conduct' as coc_path %} {% url 'about' as about_path %} - {% blocktrans %}Learn more <a href="https://{{ domain }}{{ about_path }}">about this instance</a>.{% endblocktrans %} + {% blocktrans %}Learn more <a href="https://{{ domain }}{{ about_path }}">about {{ site_name }}</a>.{% endblocktrans %} </p> {% endblock %} diff --git a/bookwyrm/templates/email/invite/text_content.html b/bookwyrm/templates/email/invite/text_content.html index c3fcdc04..26dcd172 100644 --- a/bookwyrm/templates/email/invite/text_content.html +++ b/bookwyrm/templates/email/invite/text_content.html @@ -5,6 +5,6 @@ {{ invite_link }} -{% trans "Learn more about this instance:" %} https://{{ domain }}{% url 'about' %} +{% blocktrans %}Learn more about {{ site_name }}:{% endblocktrans %} https://{{ domain }}{% url 'about' %} {% endblock %} diff --git a/bookwyrm/templates/layout.html b/bookwyrm/templates/layout.html index ce3eee2b..d475646e 100644 --- a/bookwyrm/templates/layout.html +++ b/bookwyrm/templates/layout.html @@ -227,7 +227,7 @@ <div class="columns"> <div class="column is-one-fifth"> <p> - <a href="{% url 'about' %}">{% trans "About this instance" %}</a> + <a href="{% url 'about' %}">{% blocktrans with site_name=site.name %}About {{ site_name }}{% endblocktrans %}</a> </p> {% if site.admin_email %} <p>