Closed (fixed)
Project:
Browscap
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2008 at 14:06 UTC
Updated:
22 Mar 2009 at 11:20 UTC
It is not possible to translate strings 'Yes' and 'No'
code from browscap.module line 389:
if ($useragent->is_crawler) {
$is_crawler = 'Yes';
} else {
$is_crawler = 'No';
}
should be:
if ($useragent->is_crawler) {
$is_crawler = t('Yes');
} else {
$is_crawler = t('No');
}
Comments
Comment #1
robloachhttp://drupal.org/cvs?commit=180492
http://drupal.org/cvs?commit=180490
Thanks, Pasqualle! Was great meeting you at Drupalcon!