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:
parent
96549c5022
commit
b5eeb88286
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @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.
|
||||
|
|
|
@ -30,9 +30,9 @@ class WP_Widget_Media_Audio extends WP_Widget_Media {
|
|||
|
||||
$this->l10n = array_merge( $this->l10n, array(
|
||||
'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' ),
|
||||
'replace_media' => _x( 'Replace 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 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 preferably 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(
|
||||
/* translators: placeholder is URL to media library */
|
||||
__( 'We can’t find that audio file. Check your <a href="%s">media library</a> and make sure it wasn’t deleted.' ),
|
||||
|
|
|
@ -30,9 +30,9 @@ class WP_Widget_Media_Image extends WP_Widget_Media {
|
|||
|
||||
$this->l10n = array_merge( $this->l10n, array(
|
||||
'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' ),
|
||||
'replace_media' => _x( 'Replace 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 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 preferably 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(
|
||||
/* translators: placeholder is URL to media library */
|
||||
__( 'We can’t find that image. Check your <a href="%s">media library</a> and make sure it wasn’t deleted.' ),
|
||||
|
|
|
@ -30,9 +30,9 @@ class WP_Widget_Media_Video extends WP_Widget_Media {
|
|||
|
||||
$this->l10n = array_merge( $this->l10n, array(
|
||||
'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' ),
|
||||
'replace_media' => _x( 'Replace 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 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 preferably 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(
|
||||
/* translators: placeholder is URL to media library */
|
||||
__( 'We can’t find that video. Check your <a href="%s">media library</a> and make sure it wasn’t deleted.' ),
|
||||
|
|
|
@ -57,9 +57,9 @@ abstract class WP_Widget_Media extends WP_Widget {
|
|||
|
||||
$l10n_defaults = array(
|
||||
'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' ),
|
||||
'replace_media' => _x( 'Replace 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 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 preferably 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' ),
|
||||
'missing_attachment' => sprintf(
|
||||
/* translators: placeholder is URL to media library */
|
||||
|
|
Loading…
Reference in New Issue