[i18n] footer traductions

This commit is contained in:
max/sooulix 2024-08-15 04:22:14 +02:00
parent 2df36027d2
commit b3be3412f1
6 changed files with 19 additions and 5 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-08-15 03:59+0200\n"
"POT-Creation-Date: 2024-08-15 04:11+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -100,3 +100,7 @@ msgstr ""
msgid "resume work title"
msgstr ""
#: templates/translations.html:3
msgid "Translations"
msgstr ""

View File

@ -1,6 +1,8 @@
{% macro translations_for(article) %}
{% if article.translations %}
Translations:
<span class="translations-footer pr-1">
{% trans %}Translations{% endtrans %}:
</span>
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}" hreflang="{{ translation.lang }}">{{ translation.lang }}</a>
{% endfor %}
@ -13,4 +15,4 @@
<link rel="alternate" hreflang="{{ translation.lang }}" href="{{ SITEURL }}/{{ translation.url }}">
{% endfor %}
{% endif %}
{% endmacro %}
{% endmacro %}

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-08-15 03:59+0200\n"
"POT-Creation-Date: 2024-08-15 04:11+0200\n"
"PO-Revision-Date: 2024-08-14 18:17+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
@ -101,3 +101,7 @@ msgstr "Volunteer"
msgid "resume work title"
msgstr "Professional experience"
#: templates/translations.html:3
msgid "Translations"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-08-15 03:59+0200\n"
"POT-Creation-Date: 2024-08-15 04:11+0200\n"
"PO-Revision-Date: 2024-08-14 18:17+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: fr\n"
@ -101,3 +101,7 @@ msgstr "Bénévolat"
msgid "resume work title"
msgstr "Expérience Professionnelle"
#: templates/translations.html:3
msgid "Translations"
msgstr "Traductions"