WordPress.org

Make WordPress Core

Changeset 40812


Ignore:
Timestamp:
05/21/17 20:43:36 (5 weeks ago)
Author:
afercia
Message:

Widgets: clarify some context information for translators.

Props Italian polyglots team.
Amends [40640].
See #32417, #39993, #39994, #39995.

Location:
trunk/src/wp-includes/widgets
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-media-audio.php

    r40784 r40812  
    3131        $this->l10n = array_merge( $this->l10n, array( 
    3232            'no_media_selected' => __( 'No audio selected' ), 
    33             'add_media' => _x( 'Add Audio', 'label for button in the audio widget; should not be longer than ~13 characters long' ), 
    34             'replace_media' => _x( 'Replace Audio', 'label for button in the audio widget; should not be longer than ~13 characters long' ), 
    35             'edit_media' => _x( 'Edit Audio', 'label for button in the audio widget; should not be longer than ~13 characters long' ), 
     33            'add_media' => _x( 'Add Audio', 'label for button in the audio widget' ), 
     34            'replace_media' => _x( 'Replace Audio', 'label for button in the audio widget; should preferably not be longer than ~13 characters long' ), 
     35            'edit_media' => _x( 'Edit Audio', 'label for button in the audio widget; should preferably not be longer than ~13 characters long' ), 
    3636            'missing_attachment' => sprintf( 
    3737                /* translators: placeholder is URL to media library */ 
  • trunk/src/wp-includes/widgets/class-wp-widget-media-image.php

    r40640 r40812  
    3131        $this->l10n = array_merge( $this->l10n, array( 
    3232            'no_media_selected' => __( 'No image selected' ), 
    33             'add_media' => _x( 'Add Image', 'label for button in the image widget; should not be longer than ~13 characters long' ), 
    34             'replace_media' => _x( 'Replace Image', 'label for button in the image widget; should not be longer than ~13 characters long' ), 
    35             'edit_media' => _x( 'Edit Image', 'label for button in the image widget; should not be longer than ~13 characters long' ), 
     33            'add_media' => _x( 'Add Image', 'label for button in the image widget' ), 
     34            'replace_media' => _x( 'Replace Image', 'label for button in the image widget; should preferably not be longer than ~13 characters long' ), 
     35            'edit_media' => _x( 'Edit Image', 'label for button in the image widget; should preferably not be longer than ~13 characters long' ), 
    3636            'missing_attachment' => sprintf( 
    3737                /* translators: placeholder is URL to media library */ 
  • trunk/src/wp-includes/widgets/class-wp-widget-media-video.php

    r40640 r40812  
    3131        $this->l10n = array_merge( $this->l10n, array( 
    3232            'no_media_selected' => __( 'No video selected' ), 
    33             'add_media' => _x( 'Add Video', 'label for button in the video widget; should not be longer than ~13 characters long' ), 
    34             'replace_media' => _x( 'Replace Video', 'label for button in the video widget; should not be longer than ~13 characters long' ), 
    35             'edit_media' => _x( 'Edit Video', 'label for button in the video widget; should not be longer than ~13 characters long' ), 
     33            'add_media' => _x( 'Add Video', 'label for button in the video widget' ), 
     34            'replace_media' => _x( 'Replace Video', 'label for button in the video widget; should preferably not be longer than ~13 characters long' ), 
     35            'edit_media' => _x( 'Edit Video', 'label for button in the video widget; should preferably not be longer than ~13 characters long' ), 
    3636            'missing_attachment' => sprintf( 
    3737                /* translators: placeholder is URL to media library */ 
  • trunk/src/wp-includes/widgets/class-wp-widget-media.php

    r40640 r40812  
    5858        $l10n_defaults = array( 
    5959            'no_media_selected' => __( 'No media selected' ), 
    60             'add_media' => _x( 'Add Media', 'label for button in the media widget; should not be longer than ~13 characters long' ), 
    61             'replace_media' => _x( 'Replace Media', 'label for button in the media widget; should not be longer than ~13 characters long' ), 
    62             'edit_media' => _x( 'Edit Media', 'label for button in the media widget; should not be longer than ~13 characters long' ), 
     60            'add_media' => _x( 'Add Media', 'label for button in the media widget' ), 
     61            'replace_media' => _x( 'Replace Media', 'label for button in the media widget; should preferably not be longer than ~13 characters long' ), 
     62            'edit_media' => _x( 'Edit Media', 'label for button in the media widget; should preferably not be longer than ~13 characters long' ), 
    6363            'add_to_widget' => __( 'Add to Widget' ), 
    6464            'missing_attachment' => sprintf( 
Note: See TracChangeset for help on using the changeset viewer.