PressThis: improve translatable strings on the Tools screen.
Props: afercia. See #28873. git-svn-id: https://develop.svn.wordpress.org/trunk@31768 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a0d10f45cf
commit
49ca2ac0f4
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user