Commit
Template and translations homogenization
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{% load i18n %}<a href="{% url 'pybb:forum_subscription' pk=forum.id %}" class="forum-subscription btn btn-primary">{% if subscription %}{% trans 'Manage subscription' %}{% else %}{% trans "Subscribe" %}{% endif %}</a> | ||
{% load i18n %}<a href="{% url 'pybb:forum_subscription' pk=forum.id %}" class="forum-subscription btn btn-primary">{% if subscription %}{% trans 'Manage subscription' %}{% else %}{% trans 'Subscribe' %}{% endif %}</a> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{% load i18n %}<a href="{% url 'pybb:add_topic' forum.id %}" class="new-topic btn btn-primary">{% trans "New topic" %}</a> | ||
{% load i18n %}<a href="{% url 'pybb:add_topic' forum.id %}" class="new-topic btn btn-primary">{% trans 'New topic' %}</a> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{% load i18n %}<input type="submit" class="btn btn-primary" value="{% trans "Save" %}" /> | ||
{% load i18n %}<input type="submit" class="btn btn-primary" value="{% trans 'Save' %}" /> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{% load i18n %}<input type="submit" class="btn btn-primary" value="{% if submit_text %}{{ submit_text }}{% else %}{% trans "Submit" %}{% endif %}" /> | ||
{% load i18n %}<input type="submit" class="btn btn-primary" value="{% if submit_text %}{{ submit_text }}{% else %}{% trans 'Submit' %}{% endif %}" /> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
{% load i18n %} | ||
<a href="{% url 'registration_register' %}">{% trans "Register" %}</a> {% trans "or" %} <a href="{% url 'auth_login' %}?next={{ next }}">{% trans "login" %}</a> {% trans "to create to post a reply" %}. | ||
<a href="{% url 'registration_register' %}">{% trans 'Register' %}</a> {% trans 'or' %} <a href="{% url 'auth_login' %}?next={{ next }}">{% trans 'login' %}</a> {% trans 'to create to post a reply' %}. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{% load i18n pybb_tags %} | ||
|
||
<div class='category'> | ||
<h1>{{ category.name }} {% if category.hidden %}[{% trans "Hidden" %}]{% endif %}</h1> | ||
<div class="category"> | ||
<h1>{{ category.name }} {% if category.hidden %}[{% trans 'Hidden' %}]{% endif %}</h1> | ||
{% include 'pybb/forum_list.html' with forum_list=category.forums_accessed category=category parent_forum='' %} | ||
</div> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{% load i18n pybb_tags %} | ||
{% pybb_get_profile user=topic.user as profile %} | ||
|
||
{% trans "User" %} {{ profile.get_display_name }} {% trans "post a new topic in forum to which you are subscribed." %} ({{ topic.forum.name }}) | ||
{% trans "Link to topic:" %} http://{{site}}{{ topic.get_absolute_url }} | ||
{% trans "Link to forum:" %} http://{{site}}{{ topic.forum.get_absolute_url }} | ||
{% blocktrans with username=profile.get_display_name forum_name=topic.forum.name %}User {{ username }} post a new topic in forum to which you are subscribed ({{ forum_name }}).{% endblocktrans %} | ||
{% trans 'Link to topic' %}{% trans ':' %} http://{{site}}{{ topic.get_absolute_url }} | ||
{% trans 'Link to forum' %}{% trans ':' %} http://{{site}}{{ topic.forum.get_absolute_url }} | ||
|
||
----- | ||
{% trans "If you don't want to receive notifications on new topics in this forum visit following link:" %} http://{{site}}{{ manage_url }} | ||
{% blocktrans %}If you don't want to receive notifications on new topics in this forum visit following link{% endblocktrans %}{% trans ':' %} http://{{site}}{{ manage_url }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
{% load i18n %} | ||
{% trans "New topic in forum that you subscribed." %} | ||
{% trans 'New topic in forum that you subscribed.' %} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{% extends PYBB_TEMPLATE_MAIL_TXT|default:"pybb/mail_templates/base.html" %} | ||
{% load i18n pybb_tags %} | ||
{% block content %}{% pybb_get_profile user=post.user as profile %}{% autoescape off %}{% blocktrans with username=profile.get_display_name %}User {{ username }} replied in topic to which you are subscribed.{% endblocktrans%} | ||
{% trans "Link to post:" %} {{ post_url }} | ||
{% trans "Link to topic:" %} {{ topic_url }} | ||
{% trans 'Link to post' %}{% trans ':' %} {{ post_url }} | ||
{% trans 'Link to topic' %}{% trans ':' %} {{ topic_url }} | ||
|
||
----- | ||
{% trans "If you don't want to receive notifications on new messages in this topic visit following link:" %} {{ delete_url_full }} | ||
{% blocktrans %}If you don't want to receive notifications on new messages in this topic visit following link: {{ delete_url_full }}{% endblocktrans %} | ||
{% endautoescape %} | ||
{% endblock %} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
{% load i18n %} | ||
{% trans "New answer in topic that you subscribed." %} | ||
{% trans 'New answer in topic that you subscribed.' %} |