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

RobLoach’s picture

Status:Needs review» Fixed

http://drupal.org/cvs?commit=180492
http://drupal.org/cvs?commit=180490

Thanks, Pasqualle! Was great meeting you at Drupalcon!

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.