Changeset 11732 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-row-editor.php
- Timestamp:
- 04/01/2022 11:42:40 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/translation-row-editor.php
r11316 r11732 184 184 <?php if ( $can_edit ) : ?> 185 185 <div class="translation-actions__primary"> 186 <button class=" translation-actions__save with-tooltip"186 <button class="button is-primary translation-actions__save with-tooltip" 187 187 type="button" 188 188 aria-label="<?php echo $can_approve_translation ? 'Save and approve translation' : 'Suggest new translation'; ?>" … … 192 192 </div> 193 193 <div class="translation-actions__secondary"> 194 <button type="button" class=" translation-actions__copy with-tooltip" aria-label="Copy original">194 <button type="button" class="button is-small translation-actions__copy with-tooltip" aria-label="Copy original"> 195 195 <span class="screen-reader-text">Copy</span><span aria-hidden="true" class="dashicons dashicons-admin-page"></span> 196 196 </button> 197 <button type="button" class="translation-actions__ltr with-tooltip" aria-label="Switch to LTR"> 197 <button type="button" class="button is-small translation-actions__insert-tab with-tooltip" aria-label="Insert tab"> 198 <span class="screen-reader-text">Insert tab</span><span aria-hidden="true" class="dashicons dashicons-editor-indent"></span> 199 </button> 200 <button type="button" class="button is-small translation-actions__insert-newline with-tooltip" aria-label="Insert newline"> 201 <span class="screen-reader-text">Insert newline</span><span aria-hidden="true" class="dashicons dashicons-editor-break"></span> 202 </button> 203 <button type="button" class="button is-small translation-actions__ltr with-tooltip" aria-label="Switch to LTR"> 198 204 <span class="screen-reader-text">LTR</span><span aria-hidden="true" class="dashicons dashicons-editor-ltr"></span> 199 205 </button> 200 <button type="button" class=" translation-actions__rtl with-tooltip" aria-label="Switch to RTL">206 <button type="button" class="button is-small translation-actions__rtl with-tooltip" aria-label="Switch to RTL"> 201 207 <span class="screen-reader-text">RTL</span><span aria-hidden="true" class="dashicons dashicons-editor-rtl"></span> 202 208 </button> 203 <button type="button" class=" translation-actions__help with-tooltip" aria-label="Show help">209 <button type="button" class="button is-small translation-actions__help with-tooltip" aria-label="Show help"> 204 210 <span class="screen-reader-text">Help</span><span aria-hidden="true" class="dashicons dashicons-editor-help"></span> 205 211 </button> … … 243 249 <?php if ( $can_approve_translation ) : ?> 244 250 <?php if ( 'current' !== $translation->translation_status ) : ?> 245 <button class=" approve" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-current_' . $translation->id ) ); ?>"><strong>+</strong> <?php _e( 'Approve', 'glotpress' ); ?></button>251 <button class="button is-primary approve" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-current_' . $translation->id ) ); ?>"><strong>+</strong> <?php _e( 'Approve', 'glotpress' ); ?></button> 246 252 <?php endif; ?> 247 253 <?php if ( 'rejected' !== $translation->translation_status ) : ?> 248 <button class=" reject" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-rejected_' . $translation->id ) ); ?>"><strong>−</strong> <?php _e( 'Reject', 'glotpress' ); ?></button>254 <button class="button reject" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-rejected_' . $translation->id ) ); ?>"><strong>−</strong> <?php _e( 'Reject', 'glotpress' ); ?></button> 249 255 <?php endif; ?> 250 256 <?php if ( 'fuzzy' !== $translation->translation_status ) : ?> 251 <button class=" fuzzy" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-fuzzy_' . $translation->id ) ); ?>"><strong>~</strong> <?php _e( 'Fuzzy', 'glotpress' ); ?></button>257 <button class="button fuzzy" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-fuzzy_' . $translation->id ) ); ?>"><strong>~</strong> <?php _e( 'Fuzzy', 'glotpress' ); ?></button> 252 258 <?php endif; ?> 253 259 <?php elseif ( $can_reject_self ): ?> 254 <button class=" reject" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-rejected_' . $translation->id ) ); ?>"><strong>−</strong> <?php _e( 'Reject Suggestion', 'glotpress' ); ?></button>255 <button class=" fuzzy" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-fuzzy_' . $translation->id ) ); ?>"><strong>~</strong> <?php _e( 'Fuzzy', 'glotpress' ); ?></button>260 <button class="button reject" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-rejected_' . $translation->id ) ); ?>"><strong>−</strong> <?php _e( 'Reject Suggestion', 'glotpress' ); ?></button> 261 <button class="button fuzzy" tabindex="-1" data-nonce="<?php echo esc_attr( wp_create_nonce( 'update-translation-status-fuzzy_' . $translation->id ) ); ?>"><strong>~</strong> <?php _e( 'Fuzzy', 'glotpress' ); ?></button> 256 262 <?php endif; ?> 257 263 </div>
Note: See TracChangeset
for help on using the changeset viewer.