Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Changes:
- Removed outer <p> tags from t() function to make translations cleaner.
- Fixed some typos.
- Enabled
captcha_wrong_response_counter
pluralization. - 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.
Comment | File | Size | Author |
---|---|---|---|
lt.po | 32.08 KB | domasj | |
captcha_translation.diff | 160.2 KB | domasj | |
Comments
Comment #1
soxofaan CreditAttribution: soxofaan commentedThanks,
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.install
because 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.
Comment #2
soxofaan CreditAttribution: soxofaan commentedhttp://drupal.org/cvs?commit=233102