Fr: translations

This commit is contained in:
2019-04-23 23:08:31 +05:30
parent d24d07bb07
commit 46270470fc
8 changed files with 90 additions and 16 deletions

View File

@ -1,8 +1,9 @@
<h1 class="section-heading" style="font-variant: small-caps">Recent Articles</h1>
{% block content %}
<h1 class="section-heading" style="font-variant: small-caps">{{ gettext('Recent Articles') }}</h1>
{% for article in articles %}
{% if loop.index > PAGE_PAGINATION %}{% break %}{% endif %}
<div class="post-preview">
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="{{ gettext('Permalink to') }} {{ article.title|striptags }}">
<h2 class="post-title">
{{ article.title }}
</h2>
@ -18,13 +19,14 @@
{% endif %}
</p>
{% endif %}
<p class="post-meta">Posted by
<p class="post-meta">{{ gettext('Posted by') }}
{% for author in article.authors %}
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
{% endfor %}
on {{ article.locale_date }}<br/>
Category: <a href="{{ SITEURL }}/{{ article.category.url}}">{{ article.category }}</a>
{{ gettext('on') }} {{ article.locale_date }}<br/>
{{ gettext('Category:') }} <a href="{{ SITEURL }}/{{ article.category.url}}">{{ article.category }}</a>
</p>
{% include 'comments.html' %}
</div>
{% endfor %}
{% endblock content %}