Make WordPress Core


Ignore:
Timestamp:
06/14/2016 09:50:57 PM (9 years ago)
Author:
SergeyBiryukov
Message:

I18N: Add context and translator comments to Back to %s strings.

Fixes #37095.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-tag-form.php

    r37674 r37703  
    7575    <p><strong><?php echo $message; ?></strong></p>
    7676    <?php if ( $wp_http_referer ) { ?>
    77     <p><a href="<?php echo esc_url( $wp_http_referer ); ?>"><?php printf( __( '&larr; Back to %s' ), $tax->labels->name ); ?></a></p>
     77    <p><a href="<?php echo esc_url( $wp_http_referer ); ?>"><?php
     78        /* translators: %s: taxonomy name */
     79        printf( _x( '&larr; Back to %s', 'admin screen' ), $tax->labels->name );
     80    ?></a></p>
    7881    <?php } else { ?>
    79     <p><a href="<?php echo esc_url( wp_get_referer() ); ?>"><?php printf( __( '&larr; Back to %s' ), $tax->labels->name ); ?></a></p>
     82    <p><a href="<?php echo esc_url( wp_get_referer() ); ?>"><?php
     83        /* translators: %s: taxonomy name */
     84        printf( _x( '&larr; Back to %s', 'admin screen' ), $tax->labels->name );
     85    ?></a></p>
    8086    <?php } ?>
    8187</div>
Note: See TracChangeset for help on using the changeset viewer.