Make WordPress Core

Ticket #22786: 22786.diff

File 22786.diff, 1.2 KB (added by helenyhou, 5 years ago)
  • wp-admin/includes/image-edit.php

    118118                <a class="imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;" href="#"><?php _e('(help)'); ?></a>
    119119                <div class="imgedit-help">
    120120                <p><?php _e('The image can be cropped by clicking on it and dragging to select the desired part. While dragging the dimensions of the selection are displayed below.'); ?></p>
    121                 <strong><?php _e('Keyboard Shortcuts'); ?></strong>
    122                 <ul>
    123                 <li><?php _e('Arrow: move by 10px'); ?></li>
    124                 <li><?php _e('Shift + arrow: move by 1px'); ?></li>
    125                 <li><?php _e('Ctrl + arrow: resize by 10px'); ?></li>
    126                 <li><?php _e('Ctrl + Shift + arrow: resize by 1px'); ?></li>
    127                 <li><?php _e('Shift + drag: lock aspect ratio'); ?></li>
    128                 </ul>
    130122                <p><strong><?php _e('Crop Aspect Ratio'); ?></strong><br />
    131123                <?php _e('You can specify the crop selection aspect ratio then hold down the Shift key while dragging to lock it. The values can be 1:1 (square), 4:3, 16:9, etc. If there is a selection, specifying aspect ratio will set it immediately.'); ?></p>