add i18n, with a French translation

This commit is contained in:
Frédéric Péters 2011-11-29 09:57:30 +01:00
parent dad854453b
commit a12df2830e
2 changed files with 22 additions and 1 deletions

View File

@ -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">
<include package="plone.z3cform" />
<i18n:registerTranslations directory="locales" />
<include package=".browser" />
@ -51,4 +53,4 @@
<!--<include package=".demo" />-->
</configure>
</configure>

View File

@ -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 <fpeters@entrouvert.com>\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."