Thanks Tres!

Last night I noticed the translation for the 'Invalid date' message was not 
working and checked the colander/locale/colander.pot and the string was not 
there, so I thought that file was not up to date.

So I ran 'extract_messages' and 'update_catalog -l es' and I'm attaching the 
Spanish update. I also fixed my first name in the CHANGES.txt file :)

Thanks. Douglas

"... allí­ es cuando te das cuenta que las cosas malas pueden resultar bastante 
buenas..." - Lionel Messi

Por favor, evite enviarme adjuntos de Word, Excel o PowerPoint.
Vea http://www.gnu.org/philosophy/no-word-attachments.es.html


--- On Thu, 9/9/10, Tres Seaver <tsea...@palladion.com> wrote:

> From: Tres Seaver <tsea...@palladion.com>
> Subject: Re: [Repoze-dev] Colander i18n in deformdemo
> To: 
> Cc: repoze-dev@lists.repoze.org
> Date: Thursday, September 9, 2010, 5:20 PM
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Douglas Cerna wrote:
> > --- On Thu, 9/9/10, Chris McDonough <chr...@plope.com>
> wrote:
> > 
> >> No, it isn't a bug.  The translation for that
> error
> >> message ("\"${val}\" is not a number") doesn't
> exist in 
> >> the russian .po file, so it uses the default
> input.  
> >> All validation messages should work fine when
> actually
> >> translated.
> > 
> > Confirmed. Sorry for the noise :)
> > 
> > I've attached the Spanish l10n patches for deform and
> colander trunks. I guess you cannot put binary *.mo files in
> a patch, correct? :)
> > 
> > Also, I took the liberty of putting a Spanish link in
> the Internationalization example. I hope that's ok.
> 
> Muchas gracias!  I have applied your patches, and
> compiled the .mo files
> myself.
> 
> 
> Tres.
> - --
> ===================================================================
> Tres Seaver          +1
> 540-429-0999          tsea...@palladion.com
> Palladion Software   "Excellence by
> Design"    http://palladion.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkyJXbsACgkQ+gerLs4ltQ4ojACgnQpn3FvPu0eqN0Rsgf40cJB7
> WxYAn2fPKzD5BSIQAgjdl7x2PIvPWlAq
> =nu1k
> -----END PGP SIGNATURE-----
> _______________________________________________
> Repoze-dev mailing list
> Repoze-dev@lists.repoze.org
> http://lists.repoze.org/listinfo/repoze-dev
>
Index: CHANGES.txt
===================================================================
--- CHANGES.txt	(revisión: 10246)
+++ CHANGES.txt	(copia de trabajo)
@@ -4,7 +4,7 @@
 Unreleased
 ----------
 
-- Added Spanish locale:  thanks to David Cerna for the translations!
+- Added Spanish locale:  thanks to Douglas Cerna for the translations!
 
 0.8  (2010/09/08)
 -----------------
Index: colander/locale/es/LC_MESSAGES/colander.mo
===================================================================
No se puede mostrar: el archivo está marcado como binario.
svn:mime-type = application/octet-stream
Index: colander/locale/es/LC_MESSAGES/colander.po
===================================================================
--- colander/locale/es/LC_MESSAGES/colander.po	(revisión: 10246)
+++ colander/locale/es/LC_MESSAGES/colander.po	(copia de trabajo)
@@ -1,4 +1,4 @@
-# Translations template for colander.
+# Spanish translations for colander.
 # Copyright (C) 2010 ORGANIZATION
 # This file is distributed under the same license as the colander project.
 # FIRST AUTHOR <em...@address>, 2010.
@@ -7,123 +7,122 @@
 msgstr ""
 "Project-Id-Version: colander 0.5.2\n"
 "Report-Msgid-Bugs-To: em...@address\n"
-"POT-Creation-Date: 2010-04-25 21:09-0400\n"
-"PO-Revision-Date: 2010-09-09 18:12-0500\n"
+"POT-Creation-Date: 2010-04-25 21:09+0400\n"
+"PO-Revision-Date: 2010-09-10 08:03-0600\n"
 "Last-Translator: Douglas Cerna <douglasce...@yahoo.com>\n"
 "Language-Team: repoze developers <repoze-dev@lists.repoze.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 0.9.5\n"
 
-#: colander/__init__.py:177
+#: colander/__init__.py:199
 msgid "Invalid value"
 msgstr "Valor inválido"
 
-#: colander/__init__.py:202
+#: colander/__init__.py:232
 msgid "String does not match expected pattern"
 msgstr "La cadena no coincide con el patrón esperado"
 
-#: colander/__init__.py:217
+#: colander/__init__.py:247
 msgid "Invalid email address"
 msgstr "Dirección de correo electrónico inválida"
 
-#: colander/__init__.py:246
+#: colander/__init__.py:276
 msgid "${val} is less than minimum value ${min}"
 msgstr "${val} es menor que el valor mínimo ${min}"
 
-#: colander/__init__.py:247
+#: colander/__init__.py:277
 msgid "${val} is greater than maximum value ${max}"
 msgstr "${val} es mayor que el valor máximo ${max}"
 
-#: colander/__init__.py:279
+#: colander/__init__.py:309
 msgid "Shorter than minimum length ${min}"
 msgstr "Más corto que la longitud mínima ${min}"
 
-#: colander/__init__.py:285
+#: colander/__init__.py:315
 msgid "Longer than maximum length ${max}"
 msgstr "Más largo que la longitud máxima ${max}"
 
-#: colander/__init__.py:298
+#: colander/__init__.py:328
 msgid "\"${val}\" is not one of ${choices}"
 msgstr "\"${val}\" no está en ${choices}"
 
-#: colander/__init__.py:367
+#: colander/__init__.py:398
 msgid "\"${val}\" is not a mapping type: ${err}"
 msgstr "\"${val}\" no es un tipo de mapeo: ${err}"
 
-#: colander/__init__.py:394
-msgid "\"${val}\" is required but missing"
-msgstr "\"${val}\" es requerido pero falta"
-
-#: colander/__init__.py:411
+#: colander/__init__.py:422
 msgid "Unrecognized keys in mapping: \"${val}\""
 msgstr "Claves no reconocidas en el mapeo: \"${val}\""
 
-#: colander/__init__.py:461
-#: colander/__init__.py:539
+#: colander/__init__.py:477
+#: colander/__init__.py:563
 msgid "\"${val}\" is not iterable"
 msgstr "\"${val}\" no es iterable"
 
-#: colander/__init__.py:469
+#: colander/__init__.py:485
 msgid "\"${val}\" has an incorrect number of elements (expected ${exp}, was ${was})"
 msgstr "\"${val}\" tiene un número incorrecto de elementos (esperados ${exp}, obtenidos ${was})"
 
-#: colander/__init__.py:644
+#: colander/__init__.py:725
+#| msgid "\"${val} cannot be serialized to str: ${err}"
+msgid "\"${val} cannot be serialized: ${err}"
+msgstr "\"${val} no puede serializarse: ${err}"
+
+#: colander/__init__.py:738
 msgid "${val} is not a string: %{err}"
-msgstr "${val}no es una cadena: %{err}"
+msgstr "${val} no es una cadena: %{err}"
 
-#: colander/__init__.py:648
-#: colander/__init__.py:680
-#: colander/__init__.py:710
-#: colander/__init__.py:751
-#: colander/__init__.py:996
-msgid "Required"
-msgstr "Requerido"
-
-#: colander/__init__.py:662
-msgid "\"${val} cannot be serialized to str: ${err}"
-msgstr "\"${val} no puede serializarse a str: ${err}"
-
-#: colander/__init__.py:683
-#: colander/__init__.py:692
-#: colander/__init__.py:713
-#: colander/__init__.py:722
+#: colander/__init__.py:759
+#: colander/__init__.py:770
 msgid "\"${val}\" is not a number"
 msgstr "\"${val}\" no es un número"
 
-#: colander/__init__.py:747
+#: colander/__init__.py:764
+#: colander/__init__.py:1263
+msgid "Required"
+msgstr "Requerido"
+
+#: colander/__init__.py:844
 msgid "${val} is not a string"
 msgstr "${val} no es una cadena"
 
-#: colander/__init__.py:808
-#: colander/__init__.py:825
-#: colander/__init__.py:835
+#: colander/__init__.py:904
+#: colander/__init__.py:921
+#: colander/__init__.py:931
 msgid "relative name \"${val}\" irresolveable without package"
 msgstr "nombre relativo \"${val}\" no se puede resolver sin paquete"
 
-#: colander/__init__.py:860
+#: colander/__init__.py:961
+msgid "\"${val}\" has no __name__"
+msgstr "\"${val}\" no tiene __name__"
+
+#: colander/__init__.py:967
 msgid "\"${val}\" is not a string"
 msgstr "\"${val}\" no es una cadena"
 
-#: colander/__init__.py:868
+#: colander/__init__.py:976
 msgid "The dotted name \"${name}\" cannot be imported"
 msgstr "El nombre con puntos \"${name}\" no pudo importarse"
 
-#: colander/__init__.py:876
-msgid "\"${val}\" has no __name__"
-msgstr "\"${val}\" no tiene __name__"
+#: colander/__init__.py:1024
+#: colander/__init__.py:1101
+#| msgid "Invalid value"
+msgid "Invalid date"
+msgstr "Fecha inválida"
 
-#: colander/__init__.py:918
-#: colander/__init__.py:982
-msgid "${val} cannot be parsed as an iso8601 date: ${err}"
-msgstr "${val} no puede parsearse como una fecha iso8601: ${err}"
-
-#: colander/__init__.py:929
+#: colander/__init__.py:1040
 msgid "\"${val}\" is not a datetime object"
 msgstr "\"${val}\" no es un objeto datetime"
 
-#: colander/__init__.py:988
+#: colander/__init__.py:1112
 msgid "\"${val}\" is not a date object"
 msgstr "\"${val}\" no es un objeto date"
 
+#~ msgid "\"${val}\" is required but missing"
+#~ msgstr "\"${val}\" es requerido pero falta"
+#~ msgid "${val} cannot be parsed as an iso8601 date: ${err}"
+#~ msgstr "${val} no puede parsearse como una fecha iso8601: ${err}"
+
Index: colander/locale/colander.pot
===================================================================
--- colander/locale/colander.pot	(revisión: 10246)
+++ colander/locale/colander.pot	(copia de trabajo)
@@ -6,9 +6,9 @@
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: colander 0.5.2\n"
+"Project-Id-Version: colander 0.8\n"
 "Report-Msgid-Bugs-To: em...@address\n"
-"POT-Creation-Date: 2010-04-25 21:09-0400\n"
+"POT-Creation-Date: 2010-09-10 08:00-0600\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <em...@address>\n"
 "Language-Team: LANGUAGE <l...@li.org>\n"
@@ -17,105 +17,99 @@
 "Content-Transfer-Encoding: 8bit\n"
 "Generated-By: Babel 0.9.5\n"
 
-#: colander/__init__.py:177
+#: colander/__init__.py:199
 msgid "Invalid value"
 msgstr ""
 
-#: colander/__init__.py:202
+#: colander/__init__.py:232
 msgid "String does not match expected pattern"
 msgstr ""
 
-#: colander/__init__.py:217
+#: colander/__init__.py:247
 msgid "Invalid email address"
 msgstr ""
 
-#: colander/__init__.py:246
+#: colander/__init__.py:276
 msgid "${val} is less than minimum value ${min}"
 msgstr ""
 
-#: colander/__init__.py:247
+#: colander/__init__.py:277
 msgid "${val} is greater than maximum value ${max}"
 msgstr ""
 
-#: colander/__init__.py:279
+#: colander/__init__.py:309
 msgid "Shorter than minimum length ${min}"
 msgstr ""
 
-#: colander/__init__.py:285
+#: colander/__init__.py:315
 msgid "Longer than maximum length ${max}"
 msgstr ""
 
-#: colander/__init__.py:298
+#: colander/__init__.py:328
 msgid "\"${val}\" is not one of ${choices}"
 msgstr ""
 
-#: colander/__init__.py:367
+#: colander/__init__.py:398
 msgid "\"${val}\" is not a mapping type: ${err}"
 msgstr ""
 
-#: colander/__init__.py:394
-msgid "\"${val}\" is required but missing"
-msgstr ""
-
-#: colander/__init__.py:411
+#: colander/__init__.py:422
 msgid "Unrecognized keys in mapping: \"${val}\""
 msgstr ""
 
-#: colander/__init__.py:461 colander/__init__.py:539
+#: colander/__init__.py:477 colander/__init__.py:563
 msgid "\"${val}\" is not iterable"
 msgstr ""
 
-#: colander/__init__.py:469
+#: colander/__init__.py:485
 msgid "\"${val}\" has an incorrect number of elements (expected ${exp}, was ${was})"
 msgstr ""
 
-#: colander/__init__.py:644
-msgid "${val} is not a string: %{err}"
+#: colander/__init__.py:725
+msgid "\"${val} cannot be serialized: ${err}"
 msgstr ""
 
-#: colander/__init__.py:648 colander/__init__.py:680 colander/__init__.py:710
-#: colander/__init__.py:751 colander/__init__.py:996
-msgid "Required"
+#: colander/__init__.py:738
+msgid "${val} is not a string: %{err}"
 msgstr ""
 
-#: colander/__init__.py:662
-msgid "\"${val} cannot be serialized to str: ${err}"
+#: colander/__init__.py:759 colander/__init__.py:770
+msgid "\"${val}\" is not a number"
 msgstr ""
 
-#: colander/__init__.py:683 colander/__init__.py:692 colander/__init__.py:713
-#: colander/__init__.py:722
-msgid "\"${val}\" is not a number"
+#: colander/__init__.py:764 colander/__init__.py:1263
+msgid "Required"
 msgstr ""
 
-#: colander/__init__.py:747
+#: colander/__init__.py:844
 msgid "${val} is not a string"
 msgstr ""
 
-#: colander/__init__.py:808 colander/__init__.py:825 colander/__init__.py:835
+#: colander/__init__.py:904 colander/__init__.py:921 colander/__init__.py:931
 msgid "relative name \"${val}\" irresolveable without package"
 msgstr ""
 
-#: colander/__init__.py:860
+#: colander/__init__.py:961
+msgid "\"${val}\" has no __name__"
+msgstr ""
+
+#: colander/__init__.py:967
 msgid "\"${val}\" is not a string"
 msgstr ""
 
-#: colander/__init__.py:868
+#: colander/__init__.py:976
 msgid "The dotted name \"${name}\" cannot be imported"
 msgstr ""
 
-#: colander/__init__.py:876
-msgid "\"${val}\" has no __name__"
+#: colander/__init__.py:1024 colander/__init__.py:1101
+msgid "Invalid date"
 msgstr ""
 
-#: colander/__init__.py:918 colander/__init__.py:982
-msgid "${val} cannot be parsed as an iso8601 date: ${err}"
-msgstr ""
-
-#: colander/__init__.py:929
+#: colander/__init__.py:1040
 msgid "\"${val}\" is not a datetime object"
 msgstr ""
 
-#: colander/__init__.py:988
+#: colander/__init__.py:1112
 msgid "\"${val}\" is not a date object"
 msgstr ""
 
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to