Committer: anazarov
LJSUP-12126: Port choose date widget from the old update.bml pageU trunk/cgi-bin/LJ/Lang.pm
Modified: trunk/cgi-bin/LJ/Lang.pm =================================================================== --- trunk/cgi-bin/LJ/Lang.pm 2012-05-22 14:02:18 UTC (rev 22028) +++ trunk/cgi-bin/LJ/Lang.pm 2012-05-22 14:19:55 UTC (rev 22029) @@ -683,7 +683,8 @@ $LJ::_ML_USED_STRINGS{$code} = $text if $LJ::IS_DEV_SERVER; - return $text || ( $LJ::IS_DEV_SERVER ? "[uhhh: $code]" : "" ); + return $text if defined $text; + return $LJ::IS_DEV_SERVER? "[uhhh: $code]" : ""; } # Loads multiple language strings at once. These strings