WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/14/2010 09:46:25 PM (11 years ago)
Author:
nacin
Message:

Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upload.php

    r14548 r14647  
    364364    <th scope="col" class="check-column"><input type="checkbox" /></th>
    365365    <th scope="col"></th>
    366     <th scope="col"><?php /* translators: column name in media */ echo _x('Media', 'media column name'); ?></th>
    367     <th scope="col"><?php /* translators: column name in media */ echo _x('Author', 'media column name'); ?></th>
    368     <th scope="col"><?php /* translators: column name in media */ echo _x('Date Added', 'media column name'); ?></th>
     366    <th scope="col"><?php /* translators: column name in media */ _ex('Media', 'media column name'); ?></th>
     367    <th scope="col"><?php /* translators: column name in media */ _ex('Author', 'media column name'); ?></th>
     368    <th scope="col"><?php /* translators: column name in media */ _ex('Date Added', 'media column name'); ?></th>
    369369</tr>
    370370</thead>
     
    374374    <th scope="col" class="check-column"><input type="checkbox" /></th>
    375375    <th scope="col"></th>
    376     <th scope="col"><?php /* translators: column name in media */ echo _x('Media', 'media column name'); ?></th>
    377     <th scope="col"><?php /* translators: column name in media */ echo _x('Author', 'media column name'); ?></th>
    378     <th scope="col"><?php /* translators: column name in media */ echo _x('Date Added', 'media column name'); ?></th>
     376    <th scope="col"><?php /* translators: column name in media */ _ex('Media', 'media column name'); ?></th>
     377    <th scope="col"><?php /* translators: column name in media */ _ex('Author', 'media column name'); ?></th>
     378    <th scope="col"><?php /* translators: column name in media */ _ex('Date Added', 'media column name'); ?></th>
    379379</tr>
    380380</tfoot>
Note: See TracChangeset for help on using the changeset viewer.