Closed (fixed)
Project:
CAPTCHA
Version:
6.x-2.x-dev
Component:
Translation
Priority:
Minor
Category:
Task
Assigned:
Reporter:
Created:
22 Mar 2009 at 11:22 UTC
Updated:
17 Jul 2009 at 13:20 UTC
Changes:
captcha_wrong_response_counter pluralization.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.| Comment | File | Size | Author |
|---|---|---|---|
| lt.po | 32.08 KB | domasj | |
| captcha_translation.diff | 160.2 KB | domasj |
Comments
Comment #1
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.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.
Comment #2
soxofaan commentedhttp://drupal.org/cvs?commit=233102