Fix template categories.html

This commit is contained in:
Jesús 2019-11-22 18:02:09 -05:00
parent 8168afe3fb
commit b0f72aea4f
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
6 changed files with 110 additions and 11 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: 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 ""

View File

@ -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 %}

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"