diff --git a/babel.cfg b/babel.cfg new file mode 100644 index 0000000000000000000000000000000000000000..fefb0c08fe9ddc0f80f7d58cac198d6f6f7e0498 --- /dev/null +++ b/babel.cfg @@ -0,0 +1 @@ +[jinja2: pelican_theme_teckids/templates/**.html] diff --git a/messages.pot b/messages.pot new file mode 100644 index 0000000000000000000000000000000000000000..922e6948a759469c58cde3f297d0fff4712bd218 --- /dev/null +++ b/messages.pot @@ -0,0 +1,46 @@ +# Translations template for PROJECT. +# Copyright (C) 2021 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2021. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2021-08-17 23:31+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" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: pelican_theme_teckids/templates/archives.html:3 +#: pelican_theme_teckids/templates/archives.html:8 +msgid "Artikel" +msgstr "" + +#: pelican_theme_teckids/templates/author.html:3 +#: pelican_theme_teckids/templates/author.html:5 +#, python-format +msgid "Artikel von %(author)s" +msgstr "" + +#: pelican_theme_teckids/templates/base.html:109 +msgid "Sponsoren" +msgstr "" + +#: pelican_theme_teckids/templates/base.html:117 +msgid "Netzwerke und Partnerorganisationen" +msgstr "" + +#: pelican_theme_teckids/templates/base.html:145 +msgid "Dieser Inhalt ist lizenziert unter" +msgstr "" + +#: pelican_theme_teckids/templates/base.html:161 +msgid "Im Quell-Repository editieren" +msgstr "" + diff --git a/pelican_theme_teckids/templates/base.html b/pelican_theme_teckids/templates/base.html index fc1f95e188c293734963a6289f1003497f27b6be..0f030fc43138cebec481a6d81ef10fd2ff6354ab 100644 --- a/pelican_theme_teckids/templates/base.html +++ b/pelican_theme_teckids/templates/base.html @@ -114,7 +114,7 @@ {% endfor %} </div> <div class="col s12 m6" id="partners-box"> - <h3 class="black-text sponsorheading">Netzwerke und Partnerorganisationen</h3> + <h3 class="black-text sponsorheading">{% trans %}Netzwerke und Partnerorganisationen{% endtrans %}</h3> {% for alt, image, url in PARTNERS %} <a href="{{ url }}"><img src="{{ image }}" href="{{ url }}" alt="{{ alt }}" title="{{ alt }}" class="sponsorslogo" /></a> {% endfor %} diff --git a/pelican_theme_teckids/translations/en/LC_MESSAGES/messages.mo b/pelican_theme_teckids/translations/en/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000000000000000000000000000000000..dd9bb43e2c327c59e8bb9101201637bac95517ea Binary files /dev/null and b/pelican_theme_teckids/translations/en/LC_MESSAGES/messages.mo differ diff --git a/pelican_theme_teckids/translations/en/LC_MESSAGES/messages.po b/pelican_theme_teckids/translations/en/LC_MESSAGES/messages.po new file mode 100644 index 0000000000000000000000000000000000000000..efd77fd64ef40175e00b8fedb1ea2943eb3ca79f --- /dev/null +++ b/pelican_theme_teckids/translations/en/LC_MESSAGES/messages.po @@ -0,0 +1,47 @@ +# English translations for PROJECT. +# Copyright (C) 2021 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2021. +# +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2021-08-17 23:31+0200\n" +"PO-Revision-Date: 2021-08-17 23:29+0200\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language: en\n" +"Language-Team: en <LL@li.org>\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: pelican_theme_teckids/templates/archives.html:3 +#: pelican_theme_teckids/templates/archives.html:8 +msgid "Artikel" +msgstr "Articles" + +#: pelican_theme_teckids/templates/author.html:3 +#: pelican_theme_teckids/templates/author.html:5 +#, python-format +msgid "Artikel von %(author)s" +msgstr "Articles by %(author)s" + +#: pelican_theme_teckids/templates/base.html:109 +msgid "Sponsoren" +msgstr "Sponsors" + +#: pelican_theme_teckids/templates/base.html:117 +msgid "Netzwerke und Partnerorganisationen" +msgstr "Networks and partner organisations" + +#: pelican_theme_teckids/templates/base.html:145 +msgid "Dieser Inhalt ist lizenziert unter" +msgstr "This content is licensed under" + +#: pelican_theme_teckids/templates/base.html:161 +msgid "Im Quell-Repository editieren" +msgstr "Edit in source repository" +