Comment 1 for bug 773255

Revision history for this message
Данило Шеган (danilo) wrote :

Nick, thanks for the bug report and provided fix. The fix, though, seems weird. Wouldn't PHP evaluate empty string to false, and thus !$string to true as well? (Empty string is a special string in gettext world indicating the PO file header)

Just so I understand the reasons, why would you want to pass false to a translate() function? I am not opposed to accepting it, but I need to understand more of the reasons before I do that (i.e. what about true, or integers, or...).

Please set the bug state back to 'new' after you respond. Thanks!