From b5eeb88286257f5b3f06f2f7862b2fd16814ffc9 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Sun, 21 May 2017 20:44:45 +0000 Subject: [PATCH] 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 --- wp-includes/version.php | 2 +- wp-includes/widgets/class-wp-widget-media-audio.php | 6 +++--- wp-includes/widgets/class-wp-widget-media-image.php | 6 +++--- wp-includes/widgets/class-wp-widget-media-video.php | 6 +++--- wp-includes/widgets/class-wp-widget-media.php | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index cd4d613b37..7a8ca4bf64 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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. diff --git a/wp-includes/widgets/class-wp-widget-media-audio.php b/wp-includes/widgets/class-wp-widget-media-audio.php index 46accaf4ed..569b620b0d 100644 --- a/wp-includes/widgets/class-wp-widget-media-audio.php +++ b/wp-includes/widgets/class-wp-widget-media-audio.php @@ -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 media library and make sure it wasn’t deleted.' ), diff --git a/wp-includes/widgets/class-wp-widget-media-image.php b/wp-includes/widgets/class-wp-widget-media-image.php index ca85696477..1998ff0c7c 100644 --- a/wp-includes/widgets/class-wp-widget-media-image.php +++ b/wp-includes/widgets/class-wp-widget-media-image.php @@ -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 media library and make sure it wasn’t deleted.' ), diff --git a/wp-includes/widgets/class-wp-widget-media-video.php b/wp-includes/widgets/class-wp-widget-media-video.php index 129e7b5fa4..5816286e06 100644 --- a/wp-includes/widgets/class-wp-widget-media-video.php +++ b/wp-includes/widgets/class-wp-widget-media-video.php @@ -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 media library and make sure it wasn’t deleted.' ), diff --git a/wp-includes/widgets/class-wp-widget-media.php b/wp-includes/widgets/class-wp-widget-media.php index bbe920db87..c76989c873 100644 --- a/wp-includes/widgets/class-wp-widget-media.php +++ b/wp-includes/widgets/class-wp-widget-media.php @@ -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 */