PressThis: improve translatable strings on the Tools screen.
Props: afercia. See #28873. Built from https://develop.svn.wordpress.org/trunk@31768 git-svn-id: http://core.svn.wordpress.org/trunk@31748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
79979c27c2
commit
5080f1e3af
|
@ -47,19 +47,19 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||
<div class="postbox press-this-install">
|
||||
<h3><?php _e( 'Install Press This' ); ?></h3>
|
||||
<h4><?php _e( 'Bookmarklet' ); ?></h4>
|
||||
<p><?php _e( 'Drag the bookmarklet below to your bookmarks bar. Then, when you\'re on a page you want to share, simply "press" it.' ); ?></p>
|
||||
<p><?php _e( 'Drag the bookmarklet below to your bookmarks bar. Then, when you’re on a page you want to share, simply “press” it.' ); ?></p>
|
||||
|
||||
<p class="pressthis">
|
||||
<a class="" onclick="return false;" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e( 'Press This' ) ?></span></a>
|
||||
<button type="button" class="button button-secondary js-show-pressthis-code-wrap" aria-expanded="false" aria-controls="pressthis-code-wrap">
|
||||
<span class="dashicons dashicons-clipboard"></span>
|
||||
<span class="screen-reader-text"><?php _e( 'Copy Press This Bookmarklet' ) ?></span>
|
||||
<span class="screen-reader-text"><?php _e( 'Copy “Press This” bookmarklet code' ) ?></span>
|
||||
</button>
|
||||
</p>
|
||||
|
||||
<div class="hidden js-pressthis-code-wrap" id="pressthis-code-wrap">
|
||||
<p id="pressthis-code-desc">
|
||||
<?php _e( 'If you can\'t drag it to your bookmarks, copy the following code and create new bookmark. Paste the code into the new bookmark\'s URL field.' ) ?>
|
||||
<?php _e( 'If you can’t drag the bookmarklet to your bookmarks, copy the following code and create a new bookmark. Paste the code into the new bookmark’s URL field.' ) ?>
|
||||
</p>
|
||||
<p>
|
||||
<textarea class="js-pressthis-code" rows="5" cols="120" readonly="readonly" aria-labelledby="pressthis-code-desc"><?php echo htmlspecialchars( get_shortcut_link() ); ?></textarea>
|
||||
|
@ -67,7 +67,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||
</div>
|
||||
|
||||
<h4><?php _e( 'Direct link (best for mobile)' ); ?></h4>
|
||||
<p><?php _e( 'Follow the link to open Press This. Then add it to your device\'s bookmarks or home screen.' ); ?></p>
|
||||
<p><?php _e( 'Follow the link to open Press This. Then add it to your device’s bookmarks or home screen.' ); ?></p>
|
||||
|
||||
<p>
|
||||
<a class="button button-secondary" href="<?php echo htmlspecialchars( admin_url( 'press-this.php' ) ); ?>"><?php _e( 'Open Press This' ) ?></a>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-beta1-31767';
|
||||
$wp_version = '4.2-beta1-31768';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue