Remove any call to t('')

KiamLaLuno - June 21, 2009 - 06:52
Project:Whois lookup
Version:6.x-1.1
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:needs review
Description

It doesn't make any sense to call t(''); the empty string is always an empty string, whatever language it is selected for the page request.
Rather than calling t(''), it would be better to use the empty string directly, or to not use the empty string from the array that describes the form being show; in the case you don't pass a description for the form field, Drupal doesn't show any description.

#1

helmo - June 23, 2009 - 12:47
Status:active» needs review

The patch I just posted for issue #497686: Change the message used when the domain is available, and make it translatable includes a description string for the line indicated by this issue.

 
 

Drupal is a registered trademark of Dries Buytaert.