Make WordPress Core

Changeset 17940


Ignore:
Timestamp:
05/17/2011 04:25:15 AM (14 years ago)
Author:
azaozz
Message:

Maximum i18n flexibility for word count, props nacin, see #17136

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r17936 r17940  
    271271
    272272<table id="post-status-info" cellspacing="0"><tbody><tr>
    273     <td id="wp-word-count"><?php _e('Word count:'); ?> <span class="word-count">0</span></td>
     273    <td id="wp-word-count"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td>
    274274    <td class="autosave-info">
    275275    <span id="autosave">&nbsp;</span>
  • trunk/wp-admin/includes/post.php

    r17880 r17940  
    18111811
    18121812    <div id="wp-fullscreen-status">
    1813         <div id="wp-fullscreen-count"><?php _e('Word Count:'); ?> <span class="word-count">0</span></div>
     1813        <div id="wp-fullscreen-count"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></div>
    18141814    </div>
    18151815
Note: See TracChangeset for help on using the changeset viewer.