diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2016-10-06 15:02:40 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2016-12-13 18:46:05 +0100 |
commit | db5388e47885b76083ee6a169863b5e718ca1246 (patch) | |
tree | 218cfce1037c099a650cbb382b69d50de681f5e8 /pelican-bootstrap3/templates/includes/article_info.html | |
parent | 30c807519db25e1c9246a6c53b7545b36a2f1895 (diff) | |
download | pelican-themes-db5388e47885b76083ee6a169863b5e718ca1246.tar.gz |
Make pelican-bootstrap3 multilingual
This makes use of the i18n jinja extension as described in README.md.
A Makefile is provided to facilitate new translations. A translation to
German is also included.
Diffstat (limited to 'pelican-bootstrap3/templates/includes/article_info.html')
-rw-r--r-- | pelican-bootstrap3/templates/includes/article_info.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pelican-bootstrap3/templates/includes/article_info.html b/pelican-bootstrap3/templates/includes/article_info.html index e0c93b5..1cb85d5 100644 --- a/pelican-bootstrap3/templates/includes/article_info.html +++ b/pelican-bootstrap3/templates/includes/article_info.html @@ -5,7 +5,7 @@ </span> {% if SHOW_DATE_MODIFIED %} {% if article.modified %} - <span class="label label-default">Modified</span> + <span class="label label-default">{{ _('Modified') }}</span> <span class="modified"> <i class="fa fa-calendar"></i><time datetime="{{ article.modified.isoformat() }}"> {{ article.locale_modified }}</time> </span> @@ -14,20 +14,20 @@ {% if SHOW_SERIES %} {% if article.series %} - <span class="label label-default">Series</span> + <span class="label label-default">{{ _('Series') }}</span> Part {{ article.series.index}} of {{ article.series.name }} {% endif %} {% endif %} {% if SHOW_ARTICLE_AUTHOR %} {% if article.author %} - <span class="label label-default">By</span> + <span class="label label-default">{{ _('By') }}</span> <a href="{{ SITEURL }}/{{ article.author.url }}"><i class="fa fa-user"></i> {{ article.author }}</a> {% endif %} {% endif %} {% if SHOW_ARTICLE_CATEGORY %} - <span class="label label-default">Category</span> + <span class="label label-default">{{ _('Category') }}</span> <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a> {% endif %} |