]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/locale.php
Wordpress 3.6
[autoinstalls/wordpress.git] / wp-includes / locale.php
index bc5037c723df936a570be9b0929bcf1e9f328e46..244d08a6576456d516a9781dc4676c5a9e18ddc8 100644 (file)
@@ -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' );
+       }
 }
 
 /**