Make WordPress Core

Changeset 23076


Ignore:
Timestamp:
12/05/2012 07:07:48 PM (14 years ago)
Author:
nacin
Message:

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.

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/media-views.js

    r23075 r23076  
    641641                        multiple:   false,
    642642                        toolbar:    'featured-image',
    643                         title:      l10n.featuredImageTitle,
     643                        title:      l10n.setFeaturedImageTitle,
    644644                        priority:   60
    645645                }, media.controller.Library.prototype.defaults ),
     
    713713                        type:    'link',
    714714
    715                         title:    l10n.fromUrlTitle,
     715                        title:    l10n.insertFromUrlTitle,
    716716                        priority: 120
    717717                },
  • trunk/wp-includes/media.php

    r23075 r23076  
    14851485
    14861486                // From URL
    1487                 'fromUrlTitle'       => __( 'From URL' ),
     1487                'insertFromUrlTitle' => __( 'Insert from URL' ),
    14881488
    14891489                // Featured Images
    1490                 'featuredImageTitle'  => __( 'Featured Image' ),
     1490                'setFeaturedImageTitle' => __( 'Set Featured Image' ),
    14911491                'setFeaturedImage'    => __( 'Set featured image' ),
    14921492
Note: See TracChangeset for help on using the changeset viewer.