Widgets: clarify some context information for translators.

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

Built from https://develop.svn.wordpress.org/trunk@40812


git-svn-id: http://core.svn.wordpress.org/trunk@40670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2017-05-21 20:44:45 +00:00
parent 96549c5022
commit b5eeb88286
5 changed files with 13 additions and 13 deletions

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.8-beta1-40811'; $wp_version = '4.8-beta1-40812';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -30,9 +30,9 @@ class WP_Widget_Media_Audio extends WP_Widget_Media {
$this->l10n = array_merge( $this->l10n, array( $this->l10n = array_merge( $this->l10n, array(
'no_media_selected' => __( 'No audio selected' ), 'no_media_selected' => __( 'No audio selected' ),
'add_media' => _x( 'Add Audio', 'label for button in the audio widget; should not be longer than ~13 characters long' ), 'add_media' => _x( 'Add Audio', 'label for button in the audio widget' ),
'replace_media' => _x( 'Replace Audio', 'label for button in the audio widget; should not be longer than ~13 characters long' ), 'replace_media' => _x( 'Replace Audio', 'label for button in the audio widget; should preferably not be longer than ~13 characters long' ),
'edit_media' => _x( 'Edit Audio', 'label for button in the audio widget; should not be longer than ~13 characters long' ), 'edit_media' => _x( 'Edit Audio', 'label for button in the audio widget; should preferably not be longer than ~13 characters long' ),
'missing_attachment' => sprintf( 'missing_attachment' => sprintf(
/* translators: placeholder is URL to media library */ /* translators: placeholder is URL to media library */
__( 'We can&#8217;t find that audio file. Check your <a href="%s">media library</a> and make sure it wasn&#8217;t deleted.' ), __( 'We can&#8217;t find that audio file. Check your <a href="%s">media library</a> and make sure it wasn&#8217;t deleted.' ),

View File

@ -30,9 +30,9 @@ class WP_Widget_Media_Image extends WP_Widget_Media {
$this->l10n = array_merge( $this->l10n, array( $this->l10n = array_merge( $this->l10n, array(
'no_media_selected' => __( 'No image selected' ), 'no_media_selected' => __( 'No image selected' ),
'add_media' => _x( 'Add Image', 'label for button in the image widget; should not be longer than ~13 characters long' ), 'add_media' => _x( 'Add Image', 'label for button in the image widget' ),
'replace_media' => _x( 'Replace Image', 'label for button in the image widget; should not be longer than ~13 characters long' ), 'replace_media' => _x( 'Replace Image', 'label for button in the image widget; should preferably not be longer than ~13 characters long' ),
'edit_media' => _x( 'Edit Image', 'label for button in the image widget; should not be longer than ~13 characters long' ), 'edit_media' => _x( 'Edit Image', 'label for button in the image widget; should preferably not be longer than ~13 characters long' ),
'missing_attachment' => sprintf( 'missing_attachment' => sprintf(
/* translators: placeholder is URL to media library */ /* translators: placeholder is URL to media library */
__( 'We can&#8217;t find that image. Check your <a href="%s">media library</a> and make sure it wasn&#8217;t deleted.' ), __( 'We can&#8217;t find that image. Check your <a href="%s">media library</a> and make sure it wasn&#8217;t deleted.' ),

View File

@ -30,9 +30,9 @@ class WP_Widget_Media_Video extends WP_Widget_Media {
$this->l10n = array_merge( $this->l10n, array( $this->l10n = array_merge( $this->l10n, array(
'no_media_selected' => __( 'No video selected' ), 'no_media_selected' => __( 'No video selected' ),
'add_media' => _x( 'Add Video', 'label for button in the video widget; should not be longer than ~13 characters long' ), 'add_media' => _x( 'Add Video', 'label for button in the video widget' ),
'replace_media' => _x( 'Replace Video', 'label for button in the video widget; should not be longer than ~13 characters long' ), 'replace_media' => _x( 'Replace Video', 'label for button in the video widget; should preferably not be longer than ~13 characters long' ),
'edit_media' => _x( 'Edit Video', 'label for button in the video widget; should not be longer than ~13 characters long' ), 'edit_media' => _x( 'Edit Video', 'label for button in the video widget; should preferably not be longer than ~13 characters long' ),
'missing_attachment' => sprintf( 'missing_attachment' => sprintf(
/* translators: placeholder is URL to media library */ /* translators: placeholder is URL to media library */
__( 'We can&#8217;t find that video. Check your <a href="%s">media library</a> and make sure it wasn&#8217;t deleted.' ), __( 'We can&#8217;t find that video. Check your <a href="%s">media library</a> and make sure it wasn&#8217;t deleted.' ),

View File

@ -57,9 +57,9 @@ abstract class WP_Widget_Media extends WP_Widget {
$l10n_defaults = array( $l10n_defaults = array(
'no_media_selected' => __( 'No media selected' ), 'no_media_selected' => __( 'No media selected' ),
'add_media' => _x( 'Add Media', 'label for button in the media widget; should not be longer than ~13 characters long' ), 'add_media' => _x( 'Add Media', 'label for button in the media widget' ),
'replace_media' => _x( 'Replace Media', 'label for button in the media widget; should not be longer than ~13 characters long' ), 'replace_media' => _x( 'Replace Media', 'label for button in the media widget; should preferably not be longer than ~13 characters long' ),
'edit_media' => _x( 'Edit Media', 'label for button in the media widget; should not be longer than ~13 characters long' ), 'edit_media' => _x( 'Edit Media', 'label for button in the media widget; should preferably not be longer than ~13 characters long' ),
'add_to_widget' => __( 'Add to Widget' ), 'add_to_widget' => __( 'Add to Widget' ),
'missing_attachment' => sprintf( 'missing_attachment' => sprintf(
/* translators: placeholder is URL to media library */ /* translators: placeholder is URL to media library */