From 0d7c64c9fd9def299fc281493c293208e1a93b7a Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 5 Dec 2012 19:07:48 +0000 Subject: [PATCH] Media: Final names for the actions in the dialog sidebar: "Insert from URL" and "Set Featured Image" to go with "Insert Media" and "Create Gallery". Longer strings (such as a translation) looks excellent when it wraps to another line. props markjaquith, fixes #22753. git-svn-id: https://develop.svn.wordpress.org/trunk@23076 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/js/media-views.js | 4 ++-- wp-includes/media.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/js/media-views.js b/wp-includes/js/media-views.js index 963f22088b..54b4015604 100644 --- a/wp-includes/js/media-views.js +++ b/wp-includes/js/media-views.js @@ -640,7 +640,7 @@ filterable: 'uploaded', multiple: false, toolbar: 'featured-image', - title: l10n.featuredImageTitle, + title: l10n.setFeaturedImageTitle, priority: 60 }, media.controller.Library.prototype.defaults ), @@ -712,7 +712,7 @@ toolbar: 'main-embed', type: 'link', - title: l10n.fromUrlTitle, + title: l10n.insertFromUrlTitle, priority: 120 }, diff --git a/wp-includes/media.php b/wp-includes/media.php index 5f6120c7c2..1300d9be46 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1484,10 +1484,10 @@ function wp_enqueue_media( $args = array() ) { 'warnDelete' => __( "You are about to permanently delete this item.\n 'Cancel' to stop, 'OK' to delete." ), // From URL - 'fromUrlTitle' => __( 'From URL' ), + 'insertFromUrlTitle' => __( 'Insert from URL' ), // Featured Images - 'featuredImageTitle' => __( 'Featured Image' ), + 'setFeaturedImageTitle' => __( 'Set Featured Image' ), 'setFeaturedImage' => __( 'Set featured image' ), // Gallery