Permalink
Browse files

translation fixes

  • Loading branch information...
1 parent 6b0b4c9 commit 8404921e1c997dba91cb7357ff7a53efdb6f431a @maccesch committed Jul 22, 2011
View
5 cmsplugin_contact/cms_plugins.py
@@ -48,7 +48,10 @@ def get_form_class(self, request, plugins):
class TextPluginForm(self.form):
pass
widget = self.get_editor_widget(request, plugins)
- TextPluginForm.declared_fields["thanks"] = CharField(widget=widget, required=False)
+
+ thanks_field = self.form.base_fields['thanks']
+
+ TextPluginForm.declared_fields["thanks"] = CharField(widget=widget, required=False, label=thanks_field.label, help_text=thanks_field.help_text)
return TextPluginForm
View
2 cmsplugin_contact/forms.py
@@ -1,6 +1,6 @@
from django import forms
#import settings
-from nospam.forms import HoneyPotForm, RecaptchaForm, AkismetForm
+from cmsplugin_contact.nospam.forms import HoneyPotForm, RecaptchaForm, AkismetForm
class HoneyPotContactForm(HoneyPotForm):
email = forms.EmailField()
View
53 cmsplugin_contact/locale/de/LC_MESSAGES/django.po
@@ -8,10 +8,11 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-09-01 18:46+0200\n"
+"POT-Creation-Date: 2011-07-22 15:23+0200\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"
+"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -37,35 +38,35 @@ msgstr "Erhältlich von http://www.google.com/recaptcha"
msgid "ReCAPTCHA Private Key"
msgstr ""
-#: admin.py:37
+#: admin.py:36
msgid ""
"Akismet library is not installed. Use \"easy_install akismet\" or \"pip "
"install akismet\"."
msgstr ""
"Die Akismet Bibliothek ist nicht installiert. Zum installieren: "
"\"easy_install akismet\" oder \"pip install akismet\""
-#: admin.py:48
+#: admin.py:50
msgid "The API Key is not valid."
msgstr "Der API Key ist ungültig."
-#: admin.py:56
+#: admin.py:58
msgid ""
"ReCAPTCHA library is not installed. Use \"easy_install recaptcha-client\" or "
"\"pip install recaptcha-client\"."
msgstr ""
"Die ReCAPTCHA Bibliothek ist nicht installiert. Zum installieren: "
"\"easy_install recaptcha-client\" oder \"pip install recaptcha-client\""
-#: cms_plugins.py:12
+#: cms_plugins.py:17
msgid "Contact Form"
msgstr "Kontaktformular"
-#: cms_plugins.py:20
+#: cms_plugins.py:25
msgid "Spam Protection"
msgstr "Spamschutz"
-#: cms_plugins.py:48
+#: cms_plugins.py:84
msgid "No subject"
msgstr "Kein Betreff"
@@ -125,30 +126,54 @@ msgstr "Spamschutzmethode"
msgid "ReCAPTCHA theme"
msgstr "ReCAPTCHA Theme"
-#: templates/cmsplugin_contact/contact.html:40
+#: nospam/fields.py:13
+msgid "Please don't check this box."
+msgstr "Bitte nicht anklicken."
+
+#: nospam/forms.py:42
+msgid "Please enter the two words on the image separated by a space:"
+msgstr "Geben Sie bitte die beiden Wörter im Bild, durch ein Leerzeichen getrennt, ein."
+
+#: nospam/forms.py:44
+msgid "You did not enter any of the words."
+msgstr "Sie haben keines der Wörter eingegeben."
+
+#: nospam/forms.py:92
+msgid "You did not enter the two words shown in the image."
+msgstr "Sie haben die beiden Wörter im Bild nicht eingegeben."
+
+#: nospam/forms.py:98
+msgid "The words you entered did not match the image"
+msgstr "Die eingegebenen Wörter waren nicht richtig."
+
+#: nospam/widgets.py:30
+msgid "Are you a robot?"
+msgstr "Sind Sie ein Robot?"
+
+#: templates/cmsplugin_contact/contact.html:39
msgid "Incorrect please try again"
msgstr "Eingabe nicht korrekt, bitte erneut versuchen"
-#: templates/cmsplugin_contact/contact.html:43
+#: templates/cmsplugin_contact/contact.html:42
msgid "Enter the words above:"
msgstr "Obige Wörter eingeben:"
-#: templates/cmsplugin_contact/contact.html:44
+#: templates/cmsplugin_contact/contact.html:43
msgid "Enter the numbers you hear:"
msgstr "Die gehörten Zahlen eingeben:"
-#: templates/cmsplugin_contact/contact.html:49
+#: templates/cmsplugin_contact/contact.html:48
msgid "Get another CAPTCHA"
msgstr "Anderes CAPTCHA"
-#: templates/cmsplugin_contact/contact.html:50
+#: templates/cmsplugin_contact/contact.html:49
msgid "Get an audio CAPTCHA"
msgstr "Audio CAPTCHA"
-#: templates/cmsplugin_contact/contact.html:51
+#: templates/cmsplugin_contact/contact.html:50
msgid "Get an image CAPTCHA"
msgstr "Bild CAPTCHA"
-#: templates/cmsplugin_contact/contact.html:53
+#: templates/cmsplugin_contact/contact.html:52
msgid "Help"
msgstr "Hilfe"
View
48 cmsplugin_contact/locale/pt_BR/LC_MESSAGES/django.po
@@ -1,20 +1,20 @@
# Copyright (C) 2011
# This file is distributed under the same license as the PACKAGE package.
# William Grzybowski <william@agencialivre.com.br> 2011.
-#
+#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-05-15 11:07-0300\n"
+"POT-Creation-Date: 2011-07-22 15:23+0200\n"
"PO-Revision-Date: 2011-05-15 11:54\n"
"Last-Translator: <william@agencialivre.com.br>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Language: \n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
"X-Translated-Using: django-rosetta 0.6.1\n"
@@ -43,30 +43,30 @@ msgid ""
"Akismet library is not installed. Use \"easy_install akismet\" or \"pip "
"install akismet\"."
msgstr ""
-"Biblioteca Akismet não está instalada. Use \"easy_install akismet\" ou "
-"\"pip install akismet\"."
+"Biblioteca Akismet não está instalada. Use \"easy_install akismet\" ou \"pip "
+"install akismet\"."
#: admin.py:50
msgid "The API Key is not valid."
msgstr "A Chave da API não é válida."
#: admin.py:58
msgid ""
-"ReCAPTCHA library is not installed. Use \"easy_install recaptcha-client\""
-" or \"pip install recaptcha-client\"."
+"ReCAPTCHA library is not installed. Use \"easy_install recaptcha-client\" or "
+"\"pip install recaptcha-client\"."
msgstr ""
-"Biblioteca ReCAPTCHA não está instalada. Use \"easy_install recaptcha-"
-"client\" or \"pip install recaptcha-client\"."
+"Biblioteca ReCAPTCHA não está instalada. Use \"easy_install recaptcha-client"
+"\" or \"pip install recaptcha-client\"."
-#: cms_plugins.py:13
+#: cms_plugins.py:17
msgid "Contact Form"
msgstr "Formulário de Contato"
-#: cms_plugins.py:21
+#: cms_plugins.py:25
msgid "Spam Protection"
msgstr "Proteção de Spam"
-#: cms_plugins.py:51
+#: cms_plugins.py:84
msgid "No subject"
msgstr "Sem assunto"
@@ -126,6 +126,30 @@ msgstr "Método de proteção de spam"
msgid "ReCAPTCHA theme"
msgstr "Tema do ReCAPTCHA"
+#: nospam/fields.py:13
+msgid "Please don't check this box."
+msgstr ""
+
+#: nospam/forms.py:42
+msgid "Please enter the two words on the image separated by a space:"
+msgstr ""
+
+#: nospam/forms.py:44
+msgid "You did not enter any of the words."
+msgstr ""
+
+#: nospam/forms.py:92
+msgid "You did not enter the two words shown in the image."
+msgstr ""
+
+#: nospam/forms.py:98
+msgid "The words you entered did not match the image"
+msgstr ""
+
+#: nospam/widgets.py:30
+msgid "Are you a robot?"
+msgstr ""
+
#: templates/cmsplugin_contact/contact.html:39
msgid "Incorrect please try again"
msgstr "Incorreto, por favor tente novamente"
View
2 cmsplugin_contact/nospam/forms.py
@@ -1,7 +1,7 @@
from django import forms
from django.conf import settings
-from nospam import utils
+from cmsplugin_contact.nospam import utils
from fields import HoneypotField
from widgets import RecaptchaChallenge, RecaptchaResponse
View
3 setup.py
@@ -4,6 +4,7 @@
name='cmsplugin-contact',
version='0.9.7',
description='Contact form plugin for Django CMS with spam protection and i18n',
+ long_description=open('README.rst').read(),
author='Maccesch',
author_email='maccesch@gmail.com',
url='http://github.com/maccesch/cmsplugin-contact',
@@ -20,5 +21,5 @@
],
include_package_data=True,
zip_safe=False,
- install_requires=['django', 'django-cms'],
+ install_requires=[],
)

0 comments on commit 8404921

Please sign in to comment.