Make WordPress Core

Changeset 24454


Ignore:
Timestamp:
06/20/2013 02:27:37 PM (11 years ago)
Author:
nacin
Message:

Add some localized date/time strings to the main wordpress.pot. These strings appear in the admin only but can be leveraged outside of the admin by design. fixes #22916.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/locale.php

    r19837 r24454  
    328328        return 'rtl' == $this->text_direction;
    329329    }
     330
     331    /**
     332     * Private, unused function to add some date/time formats translated
     333     * on wp-admin/options-general.php to the general POT.
     334     *
     335     * @since 3.6.0
     336     */
     337    private function strings_for_pot() {
     338        /* translators: localized date format, see http://php.net/date */
     339        __( 'F j, Y' );
     340        /* translators: localized time format, see http://php.net/date */
     341        __( 'g:i a' );
     342        /* translators: localized date and time format, see http://php.net/date */
     343        __( 'F j, Y g:i a' );
     344    }
    330345}
    331346
Note: See TracChangeset for help on using the changeset viewer.