Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

translation fixes

  • Loading branch information...
commit 8404921e1c997dba91cb7357ff7a53efdb6f431a 1 parent 6b0b4c9
Marc-Stefan Cassola authored July 22, 2011
5  cmsplugin_contact/cms_plugins.py
@@ -48,7 +48,10 @@ def get_form_class(self, request, plugins):
48 48
         class TextPluginForm(self.form):
49 49
             pass
50 50
         widget = self.get_editor_widget(request, plugins)
51  
-        TextPluginForm.declared_fields["thanks"] = CharField(widget=widget, required=False)
  51
+        
  52
+        thanks_field = self.form.base_fields['thanks']
  53
+        
  54
+        TextPluginForm.declared_fields["thanks"] = CharField(widget=widget, required=False, label=thanks_field.label, help_text=thanks_field.help_text)
52 55
         return TextPluginForm
53 56
 
54 57
 
2  cmsplugin_contact/forms.py
... ...
@@ -1,6 +1,6 @@
1 1
 from django import forms
2 2
 #import settings
3  
-from nospam.forms import HoneyPotForm, RecaptchaForm, AkismetForm
  3
+from cmsplugin_contact.nospam.forms import HoneyPotForm, RecaptchaForm, AkismetForm
4 4
   
5 5
 class HoneyPotContactForm(HoneyPotForm):
6 6
     email 	= forms.EmailField()
53  cmsplugin_contact/locale/de/LC_MESSAGES/django.po
@@ -8,10 +8,11 @@ msgid ""
8 8
 msgstr ""
9 9
 "Project-Id-Version: PACKAGE VERSION\n"
10 10
 "Report-Msgid-Bugs-To: \n"
11  
-"POT-Creation-Date: 2010-09-01 18:46+0200\n"
  11
+"POT-Creation-Date: 2011-07-22 15:23+0200\n"
12 12
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 13
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 14
 "Language-Team: LANGUAGE <LL@li.org>\n"
  15
+"Language: \n"
15 16
 "MIME-Version: 1.0\n"
16 17
 "Content-Type: text/plain; charset=UTF-8\n"
17 18
 "Content-Transfer-Encoding: 8bit\n"
@@ -37,7 +38,7 @@ msgstr "Erhältlich von http://www.google.com/recaptcha"
37 38
 msgid "ReCAPTCHA Private Key"
38 39
 msgstr ""
39 40
 
40  
-#: admin.py:37
  41
+#: admin.py:36
41 42
 msgid ""
42 43
 "Akismet library is not installed. Use \"easy_install akismet\" or \"pip "
43 44
 "install akismet\"."
@@ -45,11 +46,11 @@ msgstr ""
45 46
 "Die Akismet Bibliothek ist nicht installiert. Zum installieren: "
46 47
 "\"easy_install akismet\" oder \"pip install akismet\""
47 48
 
48  
-#: admin.py:48
  49
+#: admin.py:50
49 50
 msgid "The API Key is not valid."
50 51
 msgstr "Der API Key ist ungültig."
51 52
 
52  
-#: admin.py:56
  53
+#: admin.py:58
53 54
 msgid ""
54 55
 "ReCAPTCHA library is not installed. Use \"easy_install recaptcha-client\" or "
55 56
 "\"pip install recaptcha-client\"."
@@ -57,15 +58,15 @@ msgstr ""
57 58
 "Die ReCAPTCHA Bibliothek ist nicht installiert. Zum installieren: "
58 59
 "\"easy_install recaptcha-client\" oder \"pip install recaptcha-client\""
59 60
 
60  
-#: cms_plugins.py:12
  61
+#: cms_plugins.py:17
61 62
 msgid "Contact Form"
62 63
 msgstr "Kontaktformular"
63 64
 
64  
-#: cms_plugins.py:20
  65
+#: cms_plugins.py:25
65 66
 msgid "Spam Protection"
66 67
 msgstr "Spamschutz"
67 68
 
68  
-#: cms_plugins.py:48
  69
+#: cms_plugins.py:84
69 70
 msgid "No subject"
70 71
 msgstr "Kein Betreff"
71 72
 
@@ -125,30 +126,54 @@ msgstr "Spamschutzmethode"
125 126
 msgid "ReCAPTCHA theme"
126 127
 msgstr "ReCAPTCHA Theme"
127 128
 
128  
-#: templates/cmsplugin_contact/contact.html:40
  129
+#: nospam/fields.py:13
  130
+msgid "Please don't check this box."
  131
+msgstr "Bitte nicht anklicken."
  132
+
  133
+#: nospam/forms.py:42
  134
+msgid "Please enter the two words on the image separated by a space:"
  135
+msgstr "Geben Sie bitte die beiden Wörter im Bild, durch ein Leerzeichen getrennt, ein."
  136
+
  137
+#: nospam/forms.py:44
  138
+msgid "You did not enter any of the words."
  139
+msgstr "Sie haben keines der Wörter eingegeben."
  140
+
  141
+#: nospam/forms.py:92
  142
+msgid "You did not enter the two words shown in the image."
  143
+msgstr "Sie haben die beiden Wörter im Bild nicht eingegeben."
  144
+
  145
+#: nospam/forms.py:98
  146
+msgid "The words you entered did not match the image"
  147
+msgstr "Die eingegebenen Wörter waren nicht richtig."
  148
+
  149
+#: nospam/widgets.py:30
  150
+msgid "Are you a robot?"
  151
+msgstr "Sind Sie ein Robot?"
  152
+
  153
+#: templates/cmsplugin_contact/contact.html:39
129 154
 msgid "Incorrect please try again"
130 155
 msgstr "Eingabe nicht korrekt, bitte erneut versuchen"
131 156
 
132  
-#: templates/cmsplugin_contact/contact.html:43
  157
+#: templates/cmsplugin_contact/contact.html:42
133 158
 msgid "Enter the words above:"
134 159
 msgstr "Obige Wörter eingeben:"
135 160
 
136  
-#: templates/cmsplugin_contact/contact.html:44
  161
+#: templates/cmsplugin_contact/contact.html:43
137 162
 msgid "Enter the numbers you hear:"
138 163
 msgstr "Die gehörten Zahlen eingeben:"
139 164
 
140  
-#: templates/cmsplugin_contact/contact.html:49
  165
+#: templates/cmsplugin_contact/contact.html:48
141 166
 msgid "Get another CAPTCHA"
142 167
 msgstr "Anderes CAPTCHA"
143 168
 
144  
-#: templates/cmsplugin_contact/contact.html:50
  169
+#: templates/cmsplugin_contact/contact.html:49
145 170
 msgid "Get an audio CAPTCHA"
146 171
 msgstr "Audio CAPTCHA"
147 172
 
148  
-#: templates/cmsplugin_contact/contact.html:51
  173
+#: templates/cmsplugin_contact/contact.html:50
149 174
 msgid "Get an image CAPTCHA"
150 175
 msgstr "Bild CAPTCHA"
151 176
 
152  
-#: templates/cmsplugin_contact/contact.html:53
  177
+#: templates/cmsplugin_contact/contact.html:52
153 178
 msgid "Help"
154 179
 msgstr "Hilfe"
48  cmsplugin_contact/locale/pt_BR/LC_MESSAGES/django.po
... ...
@@ -1,20 +1,20 @@
1 1
 # Copyright (C) 2011
2 2
 # This file is distributed under the same license as the PACKAGE package.
3 3
 # William Grzybowski <william@agencialivre.com.br> 2011.
4  
-# 
  4
+#
5 5
 #, fuzzy
6 6
 msgid ""
7 7
 msgstr ""
8 8
 "Project-Id-Version: PACKAGE VERSION\n"
9 9
 "Report-Msgid-Bugs-To: \n"
10  
-"POT-Creation-Date: 2011-05-15 11:07-0300\n"
  10
+"POT-Creation-Date: 2011-07-22 15:23+0200\n"
11 11
 "PO-Revision-Date: 2011-05-15 11:54\n"
12 12
 "Last-Translator:   <william@agencialivre.com.br>\n"
13 13
 "Language-Team: LANGUAGE <LL@li.org>\n"
  14
+"Language: \n"
14 15
 "MIME-Version: 1.0\n"
15 16
 "Content-Type: text/plain; charset=UTF-8\n"
16 17
 "Content-Transfer-Encoding: 8bit\n"
17  
-"Language: \n"
18 18
 "Plural-Forms: nplurals=2; plural=(n > 1)\n"
19 19
 "X-Translated-Using: django-rosetta 0.6.1\n"
20 20
 
@@ -43,8 +43,8 @@ msgid ""
43 43
 "Akismet library is not installed. Use \"easy_install akismet\" or \"pip "
44 44
 "install akismet\"."
45 45
 msgstr ""
46  
-"Biblioteca Akismet não está instalada. Use \"easy_install akismet\" ou "
47  
-"\"pip install akismet\"."
  46
+"Biblioteca Akismet não está instalada. Use \"easy_install akismet\" ou \"pip "
  47
+"install akismet\"."
48 48
 
49 49
 #: admin.py:50
50 50
 msgid "The API Key is not valid."
@@ -52,21 +52,21 @@ msgstr "A Chave da API não é válida."
52 52
 
53 53
 #: admin.py:58
54 54
 msgid ""
55  
-"ReCAPTCHA library is not installed. Use \"easy_install recaptcha-client\""
56  
-" or \"pip install recaptcha-client\"."
  55
+"ReCAPTCHA library is not installed. Use \"easy_install recaptcha-client\" or "
  56
+"\"pip install recaptcha-client\"."
57 57
 msgstr ""
58  
-"Biblioteca ReCAPTCHA não está instalada. Use \"easy_install recaptcha-"
59  
-"client\" or \"pip install recaptcha-client\"."
  58
+"Biblioteca ReCAPTCHA não está instalada. Use \"easy_install recaptcha-client"
  59
+"\" or \"pip install recaptcha-client\"."
60 60
 
61  
-#: cms_plugins.py:13
  61
+#: cms_plugins.py:17
62 62
 msgid "Contact Form"
63 63
 msgstr "Formulário de Contato"
64 64
 
65  
-#: cms_plugins.py:21
  65
+#: cms_plugins.py:25
66 66
 msgid "Spam Protection"
67 67
 msgstr "Proteção de Spam"
68 68
 
69  
-#: cms_plugins.py:51
  69
+#: cms_plugins.py:84
70 70
 msgid "No subject"
71 71
 msgstr "Sem assunto"
72 72
 
@@ -126,6 +126,30 @@ msgstr "Método de proteção de spam"
126 126
 msgid "ReCAPTCHA theme"
127 127
 msgstr "Tema do ReCAPTCHA"
128 128
 
  129
+#: nospam/fields.py:13
  130
+msgid "Please don't check this box."
  131
+msgstr ""
  132
+
  133
+#: nospam/forms.py:42
  134
+msgid "Please enter the two words on the image separated by a space:"
  135
+msgstr ""
  136
+
  137
+#: nospam/forms.py:44
  138
+msgid "You did not enter any of the words."
  139
+msgstr ""
  140
+
  141
+#: nospam/forms.py:92
  142
+msgid "You did not enter the two words shown in the image."
  143
+msgstr ""
  144
+
  145
+#: nospam/forms.py:98
  146
+msgid "The words you entered did not match the image"
  147
+msgstr ""
  148
+
  149
+#: nospam/widgets.py:30
  150
+msgid "Are you a robot?"
  151
+msgstr ""
  152
+
129 153
 #: templates/cmsplugin_contact/contact.html:39
130 154
 msgid "Incorrect please try again"
131 155
 msgstr "Incorreto, por favor tente novamente"
2  cmsplugin_contact/nospam/forms.py
... ...
@@ -1,7 +1,7 @@
1 1
 from django import forms
2 2
 from django.conf import settings
3 3
 
4  
-from nospam import utils
  4
+from cmsplugin_contact.nospam import utils
5 5
 
6 6
 from fields import HoneypotField
7 7
 from widgets import RecaptchaChallenge, RecaptchaResponse
3  setup.py
@@ -4,6 +4,7 @@
4 4
     name='cmsplugin-contact',
5 5
     version='0.9.7',
6 6
     description='Contact form plugin for Django CMS with spam protection and i18n',
  7
+    long_description=open('README.rst').read(),
7 8
     author='Maccesch',
8 9
     author_email='maccesch@gmail.com',
9 10
     url='http://github.com/maccesch/cmsplugin-contact',
@@ -20,5 +21,5 @@
20 21
     ],
21 22
     include_package_data=True,
22 23
     zip_safe=False,
23  
-    install_requires=['django', 'django-cms'],
  24
+    install_requires=[],
24 25
 )

0 notes on commit 8404921

Please sign in to comment.
Something went wrong with that request. Please try again.