WordPress.org

Make WordPress Core

Changeset 22486


Ignore:
Timestamp:
11/09/12 04:40:56 (18 months ago)
Author:
nacin
Message:

Translate. see #19956.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r22485 r22486  
    391391    $context = apply_filters('media_buttons_context', __('Upload/Insert %s')); 
    392392 
    393     $img = '<span class="wp-media-buttons-icon"></span>'; 
    394  
    395     echo '<a href="#" class="button insert-media add_media" data-editor="' . esc_attr( $editor_id ) . '" title="' . esc_attr__( 'Add Media' ) . '">' . $img . ' Add Media</a>'; 
     393    $img = '<span class="wp-media-buttons-icon"></span> '; 
     394 
     395    echo '<a href="#" class="button insert-media add_media" data-editor="' . esc_attr( $editor_id ) . '" title="' . esc_attr__( 'Add Media' ) . '">' . $img . __( 'Add Media' ) . '</a>'; 
    396396 
    397397    echo '<a href="' . esc_url( get_upload_iframe_src() ) . '" class="thickbox add_media" id="' . esc_attr( $editor_id ) . '-add_media" title="' . esc_attr__( 'Add Media' ) . '" onclick="return false;">' . sprintf( $context, $img ) . '</a>'; 
Note: See TracChangeset for help on using the changeset viewer.