Skip to content

Commit

Permalink
Updated the translations for reCAPTCHA
Browse files Browse the repository at this point in the history
Mainly because lately it doesn't give always two words, but only one so asking to `Type the two words` was misleading. So I took the complete list from: https://www.google.com/recaptcha/api/js/recaptcha.js and added the missing ones as well.

- Added `privacy_and_terms`, `image_alt_text` to the translations
- Removed the `:` from text
- Changed all the text to match exactly the original source
- Sorted by name
  • Loading branch information
lipis-z committed Aug 26, 2014
1 parent 79dd8ae commit a429fb3
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions flask_wtf/recaptcha/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,17 @@ def __call__(self, field, error=None, **kwargs):
options = {
'theme': 'clean',
'custom_translations': {
'visual_challenge': _('Get a visual challenge'),
'audio_challenge': _('Get an audio challenge'),
'refresh_btn': _('Get a new challenge'),
'instructions_visual': _('Type the two words:'),
'instructions_audio': _('Type what you hear:'),
'help_btn': _('Help'),
'play_again': _('Play sound again'),
'cant_hear_this': _('Download sound as MP3'),
'help_btn': _('Help'),
'image_alt_text': _('reCAPTCHA challenge image'),
'incorrect_try_again': _('Incorrect. Try again.'),
'instructions_audio': _('Type what you hear'),
'instructions_visual': _('Type the text'),
'play_again': _('Play sound again'),
'privacy_and_terms': _('Privacy & Terms'),
'refresh_btn': _('Get a new challenge'),
'visual_challenge': _('Get a visual challenge'),
}
}

Expand Down

0 comments on commit a429fb3

Please sign in to comment.