Ticket #28873: 28873.6.patch
File 28873.6.patch, 2.3 KB (added by , 9 years ago) |
---|
-
src/wp-admin/tools.php
47 47 <div class="postbox press-this-install"> 48 48 <h3><?php _e( 'Install Press This' ); ?></h3> 49 49 <h4><?php _e( 'Bookmarklet' ); ?></h4> 50 <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>50 <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> 51 51 52 52 <p class="pressthis"> 53 53 <a class="" onclick="return false;" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e( 'Press This' ) ?></span></a> 54 54 <button type="button" class="button button-secondary js-show-pressthis-code-wrap" aria-expanded="false" aria-controls="pressthis-code-wrap"> 55 55 <span class="dashicons dashicons-clipboard"></span> 56 <span class="screen-reader-text"><?php _e( 'Copy Press This Bookmarklet' ) ?></span>56 <span class="screen-reader-text"><?php _e( 'Copy Press This bookmarklet’s code' ) ?></span> 57 57 </button> 58 58 </p> 59 59 60 60 <div class="hidden js-pressthis-code-wrap"> 61 61 <p id="pressthis-code-desc"> 62 <?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.' ) ?>62 <?php _e( 'If you can’t drag the bookmarklet to your bookmarks, copy the following code and create new bookmark. Paste the code into the new bookmark’s URL field.' ) ?> 63 63 </p> 64 64 <p> 65 65 <textarea class="js-pressthis-code" rows="5" cols="120" readonly="readonly" aria-labelledby="pressthis-code-desc"><?php echo htmlspecialchars( get_shortcut_link() ); ?></textarea> … … 67 67 </div> 68 68 69 69 <h4><?php _e( 'Direct link (best for mobile)' ); ?></h4> 70 <p><?php _e( 'Follow the link to open Press This. Then add it to your device \'s bookmarks or home screen.' ); ?></p>70 <p><?php _e( 'Follow the link to open Press This. Then add it to your device’s bookmarks or home screen.' ); ?></p> 71 71 72 72 <p> 73 73 <a class="button button-secondary" href="<?php echo htmlspecialchars( admin_url( 'press-this.php' ) ); ?>"><?php _e( 'Open Press This' ) ?></a>