Xavier Borderie wrote the following on 25.03.2009 12:21:
I guess it's just a separator between two strings which you can change if the standard format doesn't fit your language too well.Quick question: am I the only one seeing a blank line in the current POT?It's tied to wp-admin/options-general.php: #: wp-admin/options-general.php:171 msgid " " msgstr "" It's in line 7031 of the POT What's its use?Oh well, I dived in and had a look: it seems to be part of the timezone option. I have yet to understand why its there...<?php if (function_exists('timezone_transitions_get') && $tzstring) { $dateTimeZoneSelected = new DateTimeZone($tzstring); foreach (timezone_transitions_get($dateTimeZoneSelected) as $tr) { if ($tr['ts'] > time()) { $found = true; break; } } if ( isset($found) && $found === true ) {===> _e(' '); <==== Here it is.$message = $tr['isdst'] ?__('This timezone switches to daylight savings time on: %s.') :__('This timezone switches to standard time on: %s.'); $tz = new DateTimeZone($tzstring); $d = new DateTime( "@{$tr['ts']}" ); $d->setTimezone($tz);printf( $message, date_i18n(__('Y-m-d \a\t g:i a T'), $d->format('U') ) );} else { _e('This timezone does not observe daylight savings time.'); } } ?>
Cheers, W. J.
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ wp-polyglots mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-polyglots
