WP_Locale::_strings_for_pot()
Register date/time format strings for general POT.
Description
Private, unused method to add some date/time formats translated on wp-admin/options-general.php to the general POT that would otherwise be added to the admin POT.
Source
File: wp-includes/class-wp-locale.php
public function _strings_for_pot() {
/* translators: localized date format, see https://secure.php.net/date */
__( 'F j, Y' );
/* translators: localized time format, see https://secure.php.net/date */
__( 'g:i a' );
/* translators: localized date and time format, see https://secure.php.net/date */
__( 'F j, Y g:i a' );
}
Changelog
Version | Description |
---|---|
WP-3.6.0 | Introduced. |