Changeset 12231
- Timestamp:
- 11/19/2009 10:49:16 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-pages.php
r12219 r12231 142 142 <div class="wrap"> 143 143 <?php screen_icon(); ?> 144 <h2><?php echo esc_html( $title ); ?> <a href="page-new.php" class="button add-new-h2"><?php e sc_html_e('Add New'); ?></a> <?php144 <h2><?php echo esc_html( $title ); ?> <a href="page-new.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'page'); ?></a> <?php 145 145 if ( isset($_GET['s']) && $_GET['s'] ) 146 146 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( get_search_query() ) ); ?> -
trunk/wp-admin/edit.php
r12184 r12231 135 135 <div class="wrap"> 136 136 <?php screen_icon(); ?> 137 <h2><?php echo esc_html( $title ); ?> <a href="post-new.php" class="button add-new-h2"><?php e sc_html_e('Add New'); ?></a> <?php137 <h2><?php echo esc_html( $title ); ?> <a href="post-new.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'post'); ?></a> <?php 138 138 if ( isset($_GET['s']) && $_GET['s'] ) 139 139 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( get_search_query() ) ); ?> -
trunk/wp-admin/includes/media.php
r12195 r12231 1658 1658 <a href="#" id="asc"><?php _e('Ascending'); ?></a> | 1659 1659 <a href="#" id="desc"><?php _e('Descending'); ?></a> | 1660 <a href="#" id="clear"><?php _e('Clear'); ?></a>1660 <a href="#" id="clear"><?php echo _x('Clear', 'verb'); ?></a> 1661 1661 </div> 1662 1662 <form enctype="multipart/form-data" method="post" action="<?php echo esc_attr($form_action_url); ?>" class="media-upload-form validate" id="gallery-form"> -
trunk/wp-admin/menu.php
r11450 r12231 71 71 $submenu['themes.php'][5] = array(__('Themes'), 'switch_themes', 'themes.php'); 72 72 $submenu['themes.php'][10] = array(__('Editor'), 'edit_themes', 'theme-editor.php'); 73 $submenu['themes.php'][15] = array(_ _('Add New Themes'), 'install_themes', 'theme-install.php');73 $submenu['themes.php'][15] = array(_x('Add New', 'theme'), 'install_themes', 'theme-install.php'); 74 74 75 75 $update_plugins = get_transient( 'update_plugins' ); … … 92 92 $_wp_real_parent_file['profile.php'] = 'users.php'; // Back-compat for plugins adding submenus to profile.php. 93 93 $submenu['users.php'][5] = array(__('Authors & Users'), 'edit_users', 'users.php'); 94 $submenu['users.php'][10] = array(_ _('Add New'), 'create_users', 'user-new.php');94 $submenu['users.php'][10] = array(_x('Add New', 'user'), 'create_users', 'user-new.php'); 95 95 $submenu['users.php'][15] = array(__('Your Profile'), 'read', 'profile.php'); 96 96 } else { -
trunk/wp-admin/plugins.php
r11930 r12231 271 271 <div class="wrap"> 272 272 <?php screen_icon(); ?> 273 <h2><?php echo esc_html( $title ); ?> <a href="plugin-install.php" class="button add-new-h2"><?php e sc_html_e('Add New'); ?></a></h2>273 <h2><?php echo esc_html( $title ); ?> <a href="plugin-install.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'plugin'); ?></a></h2> 274 274 275 275 <?php -
trunk/wp-admin/themes.php
r12091 r12231 128 128 <div class="wrap"> 129 129 <?php screen_icon(); ?> 130 <h2><?php echo esc_html( $title ); ?> <a href="theme-install.php" class="button add-new-h2"><?php e sc_html_e('Add New'); ?></a></h2>130 <h2><?php echo esc_html( $title ); ?> <a href="theme-install.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a></h2> 131 131 132 132 <h3><?php _e('Current Theme'); ?></h3> -
trunk/wp-admin/upload.php
r12196 r12231 171 171 <div class="wrap"> 172 172 <?php screen_icon(); ?> 173 <h2><?php echo esc_html( $title ); ?> <a href="media-new.php" class="button add-new-h2"><?php e sc_html_e('Add New'); ?></a> <?php173 <h2><?php echo esc_html( $title ); ?> <a href="media-new.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'file'); ?></a> <?php 174 174 if ( isset($_GET['s']) && $_GET['s'] ) 175 175 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( get_search_query() ) ); ?> -
trunk/wp-admin/users.php
r11929 r12231 240 240 <div class="wrap"> 241 241 <?php screen_icon(); ?> 242 <h2><?php echo esc_html( $title ); ?> <a href="user-new.php" class="button add-new-h2"><?php e sc_html_e('Add New'); ?></a> <?php242 <h2><?php echo esc_html( $title ); ?> <a href="user-new.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'user'); ?></a> <?php 243 243 if ( isset($_GET['usersearch']) && $_GET['usersearch'] ) 244 244 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $_GET['usersearch'] ) ); ?> -
trunk/wp-includes/l10n.php
r12179 r12231 206 206 function esc_attr_x( $single, $context, $domain = 'default' ) { 207 207 return esc_attr( translate_with_gettext_context( $single, $context, $domain ) ); 208 } 209 210 function esc_html_x( $single, $context, $domain = 'default' ) { 211 return esc_html( translate_with_gettext_context( $single, $context, $domain ) ); 208 212 } 209 213
Note: See TracChangeset
for help on using the changeset viewer.