Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
refactor collection tile to include header and footer fields and fix …
…tile's i18n
  • Loading branch information
hvelarde committed Jul 15, 2013
1 parent 76a7198 commit 0c713a0
Show file tree
Hide file tree
Showing 11 changed files with 253 additions and 103 deletions.
3 changes: 3 additions & 0 deletions docs/HISTORY.rst
Expand Up @@ -4,6 +4,9 @@ There's a frood who really knows where his towel is
1.0a4 (unreleased)
^^^^^^^^^^^^^^^^^^

- Refactor collection tile to include header and footer fields and fix tile's
i18n. [hvelarde]

- Add simple Chinese translations(zh_CN). [Adam tang]

- Add banner tile that will replace image and link tiles; add deprecation
Expand Down
51 changes: 36 additions & 15 deletions src/collective/cover/locales/collective.cover.pot
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: collective.cover\n"
"POT-Creation-Date: 2013-05-30 20:41+0000\n"
"POT-Creation-Date: 2013-07-15 21:43+0000\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"
Expand Down Expand Up @@ -62,7 +62,7 @@ msgstr ""
msgid "An easy-to-use package to create complex cover pages for Plone sites."
msgstr ""

#: collective/cover/tiles/carousel.py:19
#: collective/cover/tiles/carousel.py:20
msgid "Auto play"
msgstr ""

Expand All @@ -79,7 +79,7 @@ msgstr ""
msgid "CSS Class"
msgstr ""

#: collective/cover/tiles/configuration_view.py:195
#: collective/cover/tiles/configuration_view.py:196
#: collective/cover/tiles/edit.py:75
msgid "Cancel"
msgstr ""
Expand All @@ -104,7 +104,7 @@ msgstr ""
msgid "Compose"
msgstr ""

#: collective/cover/tiles/configuration_view.py:158
#: collective/cover/tiles/configuration_view.py:159
msgid "Configure ${name}"
msgstr ""

Expand All @@ -126,12 +126,13 @@ msgid "Cover Settings"
msgstr ""

#: collective/cover/tiles/basic.py:43
#: collective/cover/tiles/collection.py:43
msgid "Date"
msgstr ""

#: collective/cover/tiles/basic.py:31
#: collective/cover/tiles/collection.py:36
#: collective/cover/tiles/embed.py:24
#: collective/cover/tiles/file.py:46
msgid "Description"
msgstr ""

Expand All @@ -151,7 +152,7 @@ msgstr ""
msgid "Edit"
msgstr ""

#: collective/cover/tiles/carousel.py:26
#: collective/cover/tiles/carousel.py:27
#: collective/cover/tiles/list.py:27
msgid "Elements"
msgstr ""
Expand Down Expand Up @@ -180,13 +181,21 @@ msgstr ""
msgid "Filter items"
msgstr ""

#: collective/cover/tiles/collection.py:64
msgid "Footer"
msgstr ""

#: collective/cover/tiles/configuration_widgets/textline.pt:42
msgid "HTML tag"
msgstr ""

#: collective/cover/tiles/collection.py:22
msgid "Header"
msgstr ""

#: collective/cover/tiles/banner.py:23
#: collective/cover/tiles/basic.py:36
#: collective/cover/tiles/image.py:18
#: collective/cover/tiles/collection.py:50
msgid "Image"
msgstr ""

Expand Down Expand Up @@ -216,6 +225,10 @@ msgstr ""
msgid "Layouts"
msgstr ""

#: collective/cover/widgets/textlines_sortable_configure.pt:9
msgid "Limit"
msgstr ""

#: tiles/configure.zcml
msgid "Link Tile"
msgstr ""
Expand All @@ -224,6 +237,10 @@ msgstr ""
msgid "List Tile"
msgstr ""

#: collective/cover/tiles/collection.py:111
msgid "More…"
msgstr ""

#: collective/cover/controlpanel.py:18
msgid "Name"
msgstr ""
Expand All @@ -242,6 +259,10 @@ msgstr ""
msgid "Number of items"
msgstr ""

#: collective/cover/tiles/collection.py:58
msgid "Number of items to display"
msgstr ""

#: collective/cover/controlpanel.py:34
msgid "Only objects of these content types will be searched on the content chooser."
msgstr ""
Expand Down Expand Up @@ -301,7 +322,7 @@ msgstr ""
msgid "Row"
msgstr ""

#: collective/cover/tiles/configuration_view.py:162
#: collective/cover/tiles/configuration_view.py:163
#: collective/cover/tiles/edit.py:43
msgid "Save"
msgstr ""
Expand Down Expand Up @@ -338,11 +359,11 @@ msgstr ""
msgid "This tiles will be available for layout creation."
msgstr ""

#: collective/cover/tiles/configuration_view.py:204
#: collective/cover/tiles/configuration_view.py:205
msgid "Tile configuration cancelled."
msgstr ""

#: collective/cover/tiles/configuration_view.py:191
#: collective/cover/tiles/configuration_view.py:192
msgid "Tile configuration saved."
msgstr ""

Expand All @@ -352,18 +373,18 @@ msgstr ""

#: collective/cover/tiles/banner.py:18
#: collective/cover/tiles/basic.py:26
#: collective/cover/tiles/embed.py:19
#: collective/cover/tiles/collection.py:29
msgid "Title"
msgstr ""

#: collective/cover/tiles/banner.py:28
#: collective/cover/tiles/link.py:32
#: collective/cover/tiles/link.py:33
msgid "URL"
msgstr ""

#: collective/cover/tiles/basic.py:60
#: collective/cover/tiles/collection.py:69
#: collective/cover/tiles/file.py:57
#: collective/cover/tiles/image.py:23
msgid "UUID"
msgstr ""

Expand All @@ -383,11 +404,11 @@ msgstr ""
msgid "Yes"
msgstr ""

#: collective/cover/tiles/base.py:128
#: collective/cover/tiles/base.py:133
msgid "You are not allowed to add content to this tile"
msgstr ""

#: collective/cover/tiles/base.py:142
#: collective/cover/tiles/base.py:147
msgid "You are not allowed to remove content of this tile"
msgstr ""

Expand Down
53 changes: 37 additions & 16 deletions src/collective/cover/locales/es/LC_MESSAGES/collective.cover.po
Expand Up @@ -3,8 +3,8 @@
msgid ""
msgstr ""
"Project-Id-Version: collective.cover\n"
"POT-Creation-Date: 2013-05-30 20:41+0000\n"
"PO-Revision-Date: 2013-05-30 17:42-0300\n"
"POT-Creation-Date: 2013-07-15 21:43+0000\n"
"PO-Revision-Date: 2013-07-15 18:46-0300\n"
"Last-Translator: Héctor Velarde <hector.velarde@gmail.com>\n"
"Language-Team: Spanish <https://github.com/collective>\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -65,7 +65,7 @@ msgstr "Agregar contenido"
msgid "An easy-to-use package to create complex cover pages for Plone sites."
msgstr "Un paquete de uso fácil para crear portadas en sitios Plone."

#: collective/cover/tiles/carousel.py:19
#: collective/cover/tiles/carousel.py:20
msgid "Auto play"
msgstr "Reproducción automática"

Expand All @@ -82,7 +82,7 @@ msgstr "Tile básico"
msgid "CSS Class"
msgstr "Clase CSS"

#: collective/cover/tiles/configuration_view.py:195
#: collective/cover/tiles/configuration_view.py:196
#: collective/cover/tiles/edit.py:75
msgid "Cancel"
msgstr "Cancelar"
Expand All @@ -107,7 +107,7 @@ msgstr "Columna"
msgid "Compose"
msgstr "Componer"

#: collective/cover/tiles/configuration_view.py:158
#: collective/cover/tiles/configuration_view.py:159
msgid "Configure ${name}"
msgstr "Configurar ${name}"

Expand All @@ -129,12 +129,13 @@ msgid "Cover Settings"
msgstr "Configuraciones de portada"

#: collective/cover/tiles/basic.py:43
#: collective/cover/tiles/collection.py:43
msgid "Date"
msgstr "Fecha"

#: collective/cover/tiles/basic.py:31
#: collective/cover/tiles/collection.py:36
#: collective/cover/tiles/embed.py:24
#: collective/cover/tiles/file.py:46
msgid "Description"
msgstr "Descripción"

Expand All @@ -154,7 +155,7 @@ msgstr "Arrastre y suelte una imagen o un enlace aquí."
msgid "Edit"
msgstr "Editar"

#: collective/cover/tiles/carousel.py:26
#: collective/cover/tiles/carousel.py:27
#: collective/cover/tiles/list.py:27
msgid "Elements"
msgstr "Elementos"
Expand Down Expand Up @@ -183,13 +184,21 @@ msgstr "Tile de archivo"
msgid "Filter items"
msgstr "Filtrar elementos"

#: collective/cover/tiles/collection.py:64
msgid "Footer"
msgstr "Pie de página"

#: collective/cover/tiles/configuration_widgets/textline.pt:42
msgid "HTML tag"
msgstr "Tag HTML"

#: collective/cover/tiles/collection.py:22
msgid "Header"
msgstr "Encabezado"

#: collective/cover/tiles/banner.py:23
#: collective/cover/tiles/basic.py:36
#: collective/cover/tiles/image.py:18
#: collective/cover/tiles/collection.py:50
msgid "Image"
msgstr "Imagen"

Expand Down Expand Up @@ -219,6 +228,10 @@ msgstr "Nombre del diseño"
msgid "Layouts"
msgstr "Diseños"

#: collective/cover/widgets/textlines_sortable_configure.pt:9
msgid "Limit"
msgstr "Límite"

#: tiles/configure.zcml
msgid "Link Tile"
msgstr "Tile de enlace"
Expand All @@ -227,6 +240,10 @@ msgstr "Tile de enlace"
msgid "List Tile"
msgstr "Tile de lista"

#: collective/cover/tiles/collection.py:111
msgid "More…"
msgstr "Más…"

#: collective/cover/controlpanel.py:18
msgid "Name"
msgstr "Nombre"
Expand All @@ -245,6 +262,10 @@ msgstr "Sin descripción"
msgid "Number of items"
msgstr "Número de elementos"

#: collective/cover/tiles/collection.py:58
msgid "Number of items to display"
msgstr "Número de elementos a mostrar"

#: collective/cover/controlpanel.py:34
msgid "Only objects of these content types will be searched on the content chooser."
msgstr "Sólo objetos de estos tipos serán buscados en la selección de contenido."
Expand Down Expand Up @@ -304,7 +325,7 @@ msgstr "Tile de texto enriquecido"
msgid "Row"
msgstr "Fila"

#: collective/cover/tiles/configuration_view.py:162
#: collective/cover/tiles/configuration_view.py:163
#: collective/cover/tiles/edit.py:43
msgid "Save"
msgstr "Guardar"
Expand Down Expand Up @@ -341,11 +362,11 @@ msgstr "El diseño que será usado para mostrar grupos y tiles"
msgid "This tiles will be available for layout creation."
msgstr "Estos tiles estarán dispobibles en la creación de diseños."

#: collective/cover/tiles/configuration_view.py:204
#: collective/cover/tiles/configuration_view.py:205
msgid "Tile configuration cancelled."
msgstr "Configuración del tile cancelada."

#: collective/cover/tiles/configuration_view.py:191
#: collective/cover/tiles/configuration_view.py:192
msgid "Tile configuration saved."
msgstr "Configuración del tile guardada."

Expand All @@ -355,18 +376,18 @@ msgstr "Tile guardado"

#: collective/cover/tiles/banner.py:18
#: collective/cover/tiles/basic.py:26
#: collective/cover/tiles/embed.py:19
#: collective/cover/tiles/collection.py:29
msgid "Title"
msgstr "Titulo"

#: collective/cover/tiles/banner.py:28
#: collective/cover/tiles/link.py:32
#: collective/cover/tiles/link.py:33
msgid "URL"
msgstr "URL"

#: collective/cover/tiles/basic.py:60
#: collective/cover/tiles/collection.py:69
#: collective/cover/tiles/file.py:57
#: collective/cover/tiles/image.py:23
msgid "UUID"
msgstr "UUID"

Expand All @@ -386,11 +407,11 @@ msgstr "Visible"
msgid "Yes"
msgstr "Si"

#: collective/cover/tiles/base.py:128
#: collective/cover/tiles/base.py:133
msgid "You are not allowed to add content to this tile"
msgstr "No permiso para agregar contenido a este tile"

#: collective/cover/tiles/base.py:142
#: collective/cover/tiles/base.py:147
msgid "You are not allowed to remove content of this tile"
msgstr "No permiso para remover contenido de este tile"

Expand Down

3 comments on commit 0c713a0

@hvelarde
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@agnogueira @cleberjsantos @rodfersou @svx take note of these changes

@cleberjsantos
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hvelarde cool :) tile collection's back again...

@hvelarde
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this closes #79

Please sign in to comment.