diff options
-rw-r--r-- | cl-theme/messages.pot | 15 | ||||
-rw-r--r-- | cl-theme/templates/categories.html | 46 | ||||
-rw-r--r-- | cl-theme/translations/de/LC_MESSAGES/messages.po | 15 | ||||
-rw-r--r-- | cl-theme/translations/en/LC_MESSAGES/messages.po | 15 | ||||
-rw-r--r-- | cl-theme/translations/eo/LC_MESSAGES/messages.po | 15 | ||||
-rw-r--r-- | cl-theme/translations/fr/LC_MESSAGES/messages.po | 15 |
6 files changed, 110 insertions, 11 deletions
diff --git a/cl-theme/messages.pot b/cl-theme/messages.pot index e05ccbc..5dd9c9e 100644 --- a/cl-theme/messages.pot +++ b/cl-theme/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2019-11-22 16:50-0500\n" +"POT-Creation-Date: 2019-11-22 17:57-0500\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" @@ -226,6 +226,19 @@ msgstr "" msgid "Fecha de modificación" msgstr "" +#: templates/categories.html:5 templates/categories.html:8 +#, python-format +msgid "Lista de categorías de %(sitename)s" +msgstr "" + +#: templates/categories.html:9 +msgid "categorías" +msgstr "" + +#: templates/categories.html:26 +msgid "Lista de categorías" +msgstr "" + #: templates/comments.html:4 msgid "Comentarios" msgstr "" diff --git a/cl-theme/templates/categories.html b/cl-theme/templates/categories.html index 88071f9..4c72f13 100644 --- a/cl-theme/templates/categories.html +++ b/cl-theme/templates/categories.html @@ -2,15 +2,49 @@ {% block head %} {% block title %} - <title>{{ SITENAME }}</title> + <title>{{ _('Lista de categorías de %(sitename)s', sitename=SITENAME)}}</title> {% endblock %} {{ super() }} + <meta name="description" content="{{ _('Lista de categorías de %(sitename)s', sitename=SITENAME)}}"> + <meta name="keywords" content="{{ _('categorías') }}"> + <style> + .card-content-header { + margin-bottom: 2rem; + } + </style> {% endblock %} {% block content %} -<ul> -{% for category, articles in categories %} - <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li> -{% endfor %} -</ul> + <div class="container"> + <!-- start of posts --> + <div class="columns is-multiline is-centered"> + <!-- start of post --> + <article class="column is-7"> + <div class="card"> + <!-- post header --> + <div class="card-content-header"> + <h2 class="title is-4 has-text-centered">{{ _('Lista de categorías') }}</h2> + </div> + <!-- end of post header --> + + <!-- post content --> + <div class="card-content"> + <div class="content"> + <div class="card-inner-wrapper"> + <!-- post text --> + <div class="card-content-text has-text-justified"> + <ul> + {% for category, articles in categories %} + <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li> + {% endfor %} + </ul> + </div> + <!-- end of post text --> + </div> + </div> + </div> + </div> + <!-- end of post content --> + </article> + </div> {% endblock %} diff --git a/cl-theme/translations/de/LC_MESSAGES/messages.po b/cl-theme/translations/de/LC_MESSAGES/messages.po index 3ddf7f9..9fc36c8 100644 --- a/cl-theme/translations/de/LC_MESSAGES/messages.po +++ b/cl-theme/translations/de/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2019-11-22 16:50-0500\n" +"POT-Creation-Date: 2019-11-22 17:57-0500\n" "PO-Revision-Date: 2019-03-11 11:27-0500\n" "Last-Translator: \n" "Language: de\n" @@ -227,6 +227,19 @@ msgstr "JavaScript-Lizenzen" msgid "Fecha de modificación" msgstr "Datum der Änderung" +#: templates/categories.html:5 templates/categories.html:8 +#, python-format +msgid "Lista de categorías de %(sitename)s" +msgstr "Kategorieliste von %(sitename)s" + +#: templates/categories.html:9 +msgid "categorías" +msgstr "Kategorien" + +#: templates/categories.html:26 +msgid "Lista de categorías" +msgstr "Kategorieliste" + #: templates/comments.html:4 msgid "Comentarios" msgstr "Kommentare" diff --git a/cl-theme/translations/en/LC_MESSAGES/messages.po b/cl-theme/translations/en/LC_MESSAGES/messages.po index 4f6502b..29df5ae 100644 --- a/cl-theme/translations/en/LC_MESSAGES/messages.po +++ b/cl-theme/translations/en/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Cybersy\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2019-11-22 16:50-0500\n" +"POT-Creation-Date: 2019-11-22 17:57-0500\n" "PO-Revision-Date: 2019-03-11 10:44-0500\n" "Last-Translator: Jesús E. <heckyel@riseup.net>\n" "Language: en\n" @@ -227,6 +227,19 @@ msgstr "JavaScript licenses" msgid "Fecha de modificación" msgstr "Modification date" +#: templates/categories.html:5 templates/categories.html:8 +#, python-format +msgid "Lista de categorías de %(sitename)s" +msgstr "Liste der Kategorien von %(sitename)s" + +#: templates/categories.html:9 +msgid "categorías" +msgstr "categories" + +#: templates/categories.html:26 +msgid "Lista de categorías" +msgstr "Category List" + #: templates/comments.html:4 msgid "Comentarios" msgstr "Comments" diff --git a/cl-theme/translations/eo/LC_MESSAGES/messages.po b/cl-theme/translations/eo/LC_MESSAGES/messages.po index e65265c..1811cf7 100644 --- a/cl-theme/translations/eo/LC_MESSAGES/messages.po +++ b/cl-theme/translations/eo/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2019-11-22 16:50-0500\n" +"POT-Creation-Date: 2019-11-22 17:57-0500\n" "PO-Revision-Date: 2019-03-11 11:46-0500\n" "Last-Translator: \n" "Language: eo\n" @@ -227,6 +227,19 @@ msgstr "JavaScript permesiloj" msgid "Fecha de modificación" msgstr "Dato de modifo" +#: templates/categories.html:5 templates/categories.html:8 +#, python-format +msgid "Lista de categorías de %(sitename)s" +msgstr "Listo de kategorioj de %(sitename)s" + +#: templates/categories.html:9 +msgid "categorías" +msgstr "kategorioj" + +#: templates/categories.html:26 +msgid "Lista de categorías" +msgstr "Kategoria Listo" + #: templates/comments.html:4 msgid "Comentarios" msgstr "Komentoj" diff --git a/cl-theme/translations/fr/LC_MESSAGES/messages.po b/cl-theme/translations/fr/LC_MESSAGES/messages.po index ad5d2c3..a3d7b3c 100644 --- a/cl-theme/translations/fr/LC_MESSAGES/messages.po +++ b/cl-theme/translations/fr/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2019-11-22 16:50-0500\n" +"POT-Creation-Date: 2019-11-22 17:57-0500\n" "PO-Revision-Date: 2019-03-11 12:33-0500\n" "Last-Translator: \n" "Language: fr\n" @@ -227,6 +227,19 @@ msgstr "Licences JavaScript" msgid "Fecha de modificación" msgstr "Date de modification" +#: templates/categories.html:5 templates/categories.html:8 +#, python-format +msgid "Lista de categorías de %(sitename)s" +msgstr "Liste des catégories de %(sitename)s" + +#: templates/categories.html:9 +msgid "categorías" +msgstr "catégories" + +#: templates/categories.html:26 +msgid "Lista de categorías" +msgstr "Liste de catégories" + #: templates/comments.html:4 msgid "Comentarios" msgstr "Commentaires" |