WordPress.org

Make WordPress Core

Changeset 37703


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

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

Fixes #37095.

Location:
trunk/src
Files:
2 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>
  • trunk/src/wp-login.php

    r37697 r37703  
    229229    // Don't allow interim logins to navigate away from the page.
    230230    if ( ! $interim_login ): ?>
    231     <p id="backtoblog"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php printf( __( '&larr; Back to %s' ), get_bloginfo( 'title', 'display' ) ); ?></a></p>
     231    <p id="backtoblog"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php
     232        /* translators: %s: site title */
     233        printf( _x( '&larr; Back to %s', 'site' ), get_bloginfo( 'title', 'display' ) );
     234    ?></a></p>
    232235    <?php endif; ?>
    233236
Note: See TracChangeset for help on using the changeset viewer.