Translation updates
domasj - March 22, 2009 - 11:22
| Project: | CAPTCHA |
| Version: | 6.x-2.x-dev |
| Component: | Translation |
| Category: | task |
| Priority: | minor |
| Assigned: | domasj |
| Status: | closed |
Jump to:
Description
Changes:
- Removed outer <p> tags from t() function to make translations cleaner.
- Fixed some typos.
- Enabled
captcha_wrong_response_counterpluralization. - Generated new .pot template, got an error which I ignored:
The first two watchdog() parameters should be literal strings. There should be no variables, concatenation, constants or even a t() call there.
At watchdog('CAPTCHA',$errmsg,$errvar,WATCHDOG_ERROR) in image_captcha/image_captcha.user.inc on line 72. - Updated existing translations using new template.
- Added Lithuanian translation.
| Attachment | Size |
|---|---|
| captcha_translation.diff | 160.2 KB |
| lt.po | 32.08 KB |

#1
Thanks,
I already committed the code parts of you patch (http://drupal.org/cvs?commit=186986), except:
format_plural()instead of at()and aformat_plural().t()s from the database schema stuff incaptcha.installbecause those strings do not have to be translatable (see Drupal core's modules)I also regenerated the .pot template based on the new code: http://drupal.org/cvs?commit=187004
I added your Lithuanian translation: http://drupal.org/cvs?commit=187008
I did not yet update the existing (and your Lithuanian) translations to the updated .pot template.
#2
http://drupal.org/cvs?commit=233102
#3
Automatically closed -- issue fixed for 2 weeks with no activity.