[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 "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -100,3 +100,7 @@ msgstr ""
msgid "resume work title" msgid "resume work title"
msgstr "" msgstr ""
#: templates/translations.html:3
msgid "Translations"
msgstr ""

View File

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

View File

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

View File

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