Skip to content
Browse files

small fixes

  • Loading branch information...
1 parent dc795ea commit fe7843000df9a8b04cc266c9583f641919c7485b @maccesch committed Nov 14, 2011
View
BIN cmsplugin_contact/locale/de/LC_MESSAGES/django.mo
Binary file not shown.
View
10 cmsplugin_contact/locale/de/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-08-12 11:52+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"
@@ -66,7 +66,7 @@ msgstr "Kontaktformular"
msgid "Spam Protection"
msgstr "Spamschutz"
-#: cms_plugins.py:87
+#: cms_plugins.py:84
msgid "No subject"
msgstr "Kein Betreff"
@@ -132,9 +132,7 @@ 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."
+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."
@@ -145,7 +143,7 @@ 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."
+msgid "The words you entered did not match the image"
msgstr "Die eingegebenen Wörter waren nicht richtig."
#: nospam/widgets.py:30
View
42 cmsplugin_contact/templates/cmsplugin_contact/contact.html
@@ -30,28 +30,28 @@
{% endif %}
</p>
{% if form.recaptcha_challenge_field %}
- <div{% if form.recaptcha_response_field.errors %} class="error"{% endif %}>
+ <p {% if form.recaptcha_response_fiel.errors %}class="error"{% endif %}>
{{ form.recaptcha_challenge_field }}
{% if form.recaptcha_theme == "custom" %}
- <div id="recaptcha_widget" style="display:none">
-
- <div id="recaptcha_image"></div>
- <span class="recaptcha_only_if_incorrect_sol error_msg">{% trans "Incorrect please try again" %}</span>
-
+ <div id="recaptcha_widget" style="display:none">
+
+ <div id="recaptcha_image"></div>
+ <span class="recaptcha_only_if_incorrect_sol error_msg">{% trans "Incorrect please try again" %}</span>
+
<label>
- <span class="recaptcha_only_if_image">{% trans "Enter the words above:" %}</span>
- <span class="recaptcha_only_if_audio">{% trans "Enter the numbers you hear:" %}</span>
- </label>
-
- <input type="text" id="recaptcha_response_field" name="recaptcha_response_field" />
-
- <div><a href="javascript:Recaptcha.reload()">{% trans "Get another CAPTCHA" %}</a></div>
- <div class="recaptcha_only_if_image"><a href="javascript:Recaptcha.switch_type('audio')">{% trans "Get an audio CAPTCHA" %}</a></div>
- <div class="recaptcha_only_if_audio"><a href="javascript:Recaptcha.switch_type('image')">{% trans "Get an image CAPTCHA" %}</a></div>
-
- <div><a href="javascript:Recaptcha.showhelp()">{% trans "Help" %}</a>
-
- </div>
+ <span class="recaptcha_only_if_image">{% trans "Enter the words above:" %}</span>
+ <span class="recaptcha_only_if_audio">{% trans "Enter the numbers you hear:" %}</span>
+ </label>
+
+ <input type="text" id="recaptcha_response_field" name="recaptcha_response_field" />
+
+ <div><a href="javascript:Recaptcha.reload()">{% trans "Get another CAPTCHA" %}</a></div>
+ <div class="recaptcha_only_if_image"><a href="javascript:Recaptcha.switch_type('audio')">{% trans "Get an audio CAPTCHA" %}</a></div>
+ <div class="recaptcha_only_if_audio"><a href="javascript:Recaptcha.switch_type('image')">{% trans "Get an image CAPTCHA" %}</a></div>
+
+ <div><a href="javascript:Recaptcha.showhelp()">{% trans "Help" %}</a>
+
+ </div>
{% endif %}
{% if form.recaptcha_response_field.label %}<label class="contact_field">{{ form.recaptcha_response_field.label }}</label>{% endif %}
@@ -61,14 +61,14 @@
<span class="error_msg">{% trans error %}</span>
{% endfor %}
{% endif %}
- </div>
+ </p>
{% endif %}
{% if form.accept_terms %}
{{ form.accept_terms }}
{% endif %}
<p>
- <input type="submit"{% if contact.submit %} value="{{ contact.submit }}"{% endif %} />
+ <button>{{ contact.submit }}</button>
</p>
{% csrf_token %}

0 comments on commit fe78430

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