From b00b9238ec61f25d1c8654cd852e51d9edc293c1 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Tue, 17 Aug 2021 23:32:25 +0200 Subject: [PATCH] Add English theme translation --- babel.cfg | 1 + messages.pot | 46 +++++++++++++++++ pelican_theme_teckids/templates/base.html | 2 +- .../translations/en/LC_MESSAGES/messages.mo | Bin 0 -> 814 bytes .../translations/en/LC_MESSAGES/messages.po | 47 ++++++++++++++++++ 5 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 babel.cfg create mode 100644 messages.pot create mode 100644 pelican_theme_teckids/translations/en/LC_MESSAGES/messages.mo create mode 100644 pelican_theme_teckids/translations/en/LC_MESSAGES/messages.po diff --git a/babel.cfg b/babel.cfg new file mode 100644 index 0000000..fefb0c0 --- /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 0000000..922e694 --- /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 fc1f95e..0f030fc 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 GIT binary patch literal 814 zcmZuv%We}f6b%Ilm>n#T5D#67Dz!om$#g-OHdWJPiUv&{Bt!Sk<aT1>*pcmNNxlJ= zd;}6J{(=>Mz?u#Jz@0=*gM_7{<2ydqxpRGf-M{svMC&%;F(E06jrEE4#o1@V141F* zCVV42A^apfC;TDYCEU9~TEZj39jd=>t?qp%eoFNZ;)le)iMNTjZmx7Y#HEIDVuJFD z;X*6e+2y$#YqMudErAvdL~6{X17RIVu|TyDXdL9qp(#aEc$cG;tdBEoh0|sZI1-K| zs7f7li%T>UB=rb-+&G0sn~W=Axf5EEW-!yr>O$Q!`U9qpMI&~G#?o;By?*y?*i7Io z><^-D$17}%V{My>5j)8<%Mu+x*ltAeaii7hhl7FF>n5yeaB09=++hHI#jmnTja6TP zzaQ*ZUsU``g@n}hg(#f<tMgy4bTPM%C59_2IsIV(r|;t!I*oP+hyPd~c`;X6&NH$^ zwJunKd|G^g!#F;cqD&(=@_I5iT(VPbrZxaITb8!&AHZr`-&OFe4%I!c9ks*jkyOhS zuc>MJikh0w$jaeI_i`q=PzR8Xxv}W#xjSdIYhBU&IT{wKRF8zp0;mmz^WGpm2u+A) zIS=534^e_&u93qs6RAYI-oS9a8IEKuETpSGC>s=w6qUtM@zfNIkU{`Lfz`Q55zIOs YMJO({nONYIiP<U>uo((_l?hw=3yl!#k^lez literal 0 HcmV?d00001 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 0000000..efd77fd --- /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" + -- GitLab