mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-18 07:33:57 +00:00
fix translation strings
This commit is contained in:
parent
fbb6368caf
commit
7848ff7927
3 changed files with 13 additions and 10 deletions
|
@ -2,11 +2,12 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load utilities %}
|
{% load utilities %}
|
||||||
|
|
||||||
|
{% block heading %}
|
||||||
|
{% blocktrans with username=user.localname sitename=site.name %}Follow {{ username }} on the fediverse{% endblocktrans %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="block card">
|
<div class="block card">
|
||||||
<header class="card-header">
|
|
||||||
<h2 class="card-header-title">{% blocktrans %}Follow {{ user.display_name }} on the fediverse{% endblocktrans %}</h2>
|
|
||||||
</header>
|
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div class="media">
|
<div class="media">
|
||||||
<a href="{{ user.local_path }}" class="media-left">
|
<a href="{{ user.local_path }}" class="media-left">
|
||||||
|
@ -24,11 +25,13 @@
|
||||||
</span>
|
</span>
|
||||||
<span class="subtitle is-7 is-block">@{{ user|username }}</span>
|
<span class="subtitle is-7 is-block">@{{ user|username }}</span>
|
||||||
</a>
|
</a>
|
||||||
<p>{% blocktrans %}Follow {{ user.display_name }} from another Fediverse account like Bookwyrm, Mastodon, or Pleroma.{% endblocktrans %}</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="block">
|
||||||
|
<p>{% blocktrans with username=user.display_name %}Follow {{ username }} from another Fediverse account like Bookwyrm, Mastodon, or Pleroma.{% endblocktrans %}</p>
|
||||||
|
</div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<section class="card-content content">
|
<section class="card-content content">
|
||||||
<form name="remote-follow" method="post" action="{% url 'remote-follow' %}">
|
<form name="remote-follow" method="post" action="{% url 'remote-follow' %}">
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
{% if not request.user.is_authenticated %}
|
{% if not request.user.is_authenticated %}
|
||||||
{% trans "Log in to " %}
|
{% blocktrans with sitename=site.name %}Log in to {{ sitename }}{% endblocktrans %}
|
||||||
{% elif error %}
|
{% elif error %}
|
||||||
{% trans "Error following from " %}
|
{% blocktrans with sitename=site.name %}Error following from {{ sitename }}{% endblocktrans %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% trans "Follow from " %}
|
{% blocktrans with sitename=site.name %}Follow from {{ sitename }}{% endblocktrans %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
{% elif error %}
|
{% elif error %}
|
||||||
{% trans 'Uh oh...' %}
|
{% trans 'Uh oh...' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% trans 'Follow from ' %}{{ site.name }}
|
{% blocktrans with sitename=site.name %}Follow from {{ sitename }}{% endblocktrans %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
<form name="follow" method="post" action="{% url 'follow' %}/?next={% url 'ostatus-success' %}?following={{ user.username }}">
|
<form name="follow" method="post" action="{% url 'follow' %}/?next={% url 'ostatus-success' %}?following={{ user.username }}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<input name="user" value={{ user.username }} hidden>
|
<input name="user" value={{ user.username }} hidden>
|
||||||
<button class="button is-link" type="submit">{% trans "Follow " %} {{ user.display_name }}</button>
|
<button class="button is-link" type="submit">{% blocktrans with username=user.display_name %}Follow {{ username }}{% endblocktrans %}</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
</div>
|
</div>
|
||||||
<p class="notification is-success">
|
<p class="notification is-success">
|
||||||
<span class="icon icon-check m-0-mobile" aria-hidden="true"></span>
|
<span class="icon icon-check m-0-mobile" aria-hidden="true"></span>
|
||||||
<span>{% trans 'You are now following ' %}{{ user.display_name }}! </span>
|
<span>{% blocktrans with display_name=user.display_name %}You are now following {{ display_name }}!{% endblocktrans %}</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue