X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/baca9ce86a38dc54c4574890ee2d352fd81f78b2..61343b82c4f0da4c68e4c6373daafff4a81efdd1:/wp-includes/locale.php diff --git a/wp-includes/locale.php b/wp-includes/locale.php index bc5037c7..244d08a6 100644 --- a/wp-includes/locale.php +++ b/wp-includes/locale.php @@ -327,6 +327,21 @@ class WP_Locale { function is_rtl() { return 'rtl' == $this->text_direction; } + + /** + * Private, unused function to add some date/time formats translated + * on wp-admin/options-general.php to the general POT. + * + * @since 3.6.0 + */ + function _strings_for_pot() { + /* translators: localized date format, see http://php.net/date */ + __( 'F j, Y' ); + /* translators: localized time format, see http://php.net/date */ + __( 'g:i a' ); + /* translators: localized date and time format, see http://php.net/date */ + __( 'F j, Y g:i a' ); + } } /**