From a12df2830e56fea770c467ec4e9767cddd0f1b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 29 Nov 2011 09:57:30 +0100 Subject: [PATCH] add i18n, with a French translation --- plone/formwidget/captcha/configure.zcml | 4 +++- .../LC_MESSAGES/plone.formwidget.captcha.po | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 plone/formwidget/captcha/locales/fr/LC_MESSAGES/plone.formwidget.captcha.po diff --git a/plone/formwidget/captcha/configure.zcml b/plone/formwidget/captcha/configure.zcml index 3682340..4b06563 100644 --- a/plone/formwidget/captcha/configure.zcml +++ b/plone/formwidget/captcha/configure.zcml @@ -2,12 +2,14 @@ xmlns="http://namespaces.zope.org/zope" xmlns:browser="http://namespaces.zope.org/browser" xmlns:five="http://namespaces.zope.org/five" + xmlns:i18n="http://namespaces.zope.org/i18n" xmlns:meta="http://namespaces.zope.org/meta" xmlns:gs="http://namespaces.zope.org/genericsetup" xmlns:z3c="http://namespaces.zope.org/z3c" i18n_domain="plone.formwidget.captcha"> + @@ -51,4 +53,4 @@ - \ No newline at end of file + diff --git a/plone/formwidget/captcha/locales/fr/LC_MESSAGES/plone.formwidget.captcha.po b/plone/formwidget/captcha/locales/fr/LC_MESSAGES/plone.formwidget.captcha.po new file mode 100644 index 0000000..da8426e --- /dev/null +++ b/plone/formwidget/captcha/locales/fr/LC_MESSAGES/plone.formwidget.captcha.po @@ -0,0 +1,19 @@ +msgid "" +msgstr "" +"Project-Id-Version: 1.0\n" +"POT-Creation-Date: 2011-11-29 08:55+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n" +"Last-Translator: Frederic Peters \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0\n" +"Language-Code: fr\n" +"Language-Name: French\n" +"Preferred-Encodings: utf-8 latin1\n" +"Domain: plone.formwidget.captcha\n" + +#: ./validator.py:15 +msgid "The code you entered was wrong, please enter the new one." +msgstr "Le code que vous avez entré est erroné, veuillez entrer le nouveau." +