Make WordPress Core

Ticket #47235: 47235.4.diff

File 47235.4.diff, 20.4 KB (added by kharisblank, 4 years ago)

Replace "Return to" and "Back to" with "Go to"

  • src/js/_enqueues/vendor/codemirror/csslint.js

    diff --git src/js/_enqueues/vendor/codemirror/csslint.js src/js/_enqueues/vendor/codemirror/csslint.js
    index 665e4a2179..2748793f40 100644
    CSSLint.addRule({ 
    83908390
    83918391        });
    83928392
    8393         // Back to normal rules that we don't need to test
     8393        // Go to normal rules that we don't need to test
    83948394        parser.addListener("endfontface", function() {
    83958395            fontFaceRule = false;
    83968396
  • src/js/media/views/attachments/browser.js

    diff --git src/js/media/views/attachments/browser.js src/js/media/views/attachments/browser.js
    index 4a4289149d..9f8ce33fce 100644
    AttachmentsBrowser = View.extend(/** @lends wp.media.view.AttachmentsBrowser.pro 
    118118        }, 200 ),
    119119
    120120        editSelection: function( modal ) {
    121                 // When editing a selection, move focus to the "Return to library" button.
     121                // When editing a selection, move focus to the "Go to library" button.
    122122                modal.$( '.media-button-backToLibrary' ).focus();
    123123        },
    124124
  • src/wp-admin/about.php

    diff --git src/wp-admin/about.php src/wp-admin/about.php
    index 3a7865a9fe..567eeab3ac 100644
    include( ABSPATH . 'wp-admin/admin-header.php' ); 
    194194                <div class="return-to-dashboard">
    195195                        <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
    196196                                <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
    197                                         <?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' ); ?>
     197                                        <?php is_multisite() ? _e( 'Go to Updates' ) : _e( 'Go to Dashboard &rarr; Updates' ); ?>
    198198                                </a> |
    199199                        <?php endif; ?>
    200200                        <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
  • src/wp-admin/css/about.css

    diff --git src/wp-admin/css/about.css src/wp-admin/css/about.css
    index 00a296eea9..ac07a2b529 100644
     
    987987        width: 100%;
    988988}
    989989
    990 /* Return to Dashboard Home link */
     990/* Go to Dashboard Home link */
    991991
    992992.about-wrap .return-to-dashboard {
    993993        margin: 30px 0 0 -5px;
  • src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php

    diff --git src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php
    index 308cacf553..9844e19460 100644
    class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { 
    4848                        'plugins_page' => sprintf(
    4949                                '<a href="%s" target="_parent">%s</a>',
    5050                                self_admin_url( 'plugins.php' ),
    51                                 __( 'Return to Plugins page' )
     51                                __( 'Go to Plugins page' )
    5252                        ),
    5353                        'updates_page' => sprintf(
    5454                                '<a href="%s" target="_parent">%s</a>',
    5555                                self_admin_url( 'update-core.php' ),
    56                                 __( 'Return to WordPress Updates page' )
     56                                __( 'Go to WordPress Updates page' )
    5757                        ),
    5858                );
    5959
  • src/wp-admin/includes/class-bulk-theme-upgrader-skin.php

    diff --git src/wp-admin/includes/class-bulk-theme-upgrader-skin.php src/wp-admin/includes/class-bulk-theme-upgrader-skin.php
    index d3f0c914ea..94daa27131 100644
    class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin { 
    4848                        'themes_page'  => sprintf(
    4949                                '<a href="%s" target="_parent">%s</a>',
    5050                                self_admin_url( 'themes.php' ),
    51                                 __( 'Return to Themes page' )
     51                                __( 'Go to Themes page' )
    5252                        ),
    5353                        'updates_page' => sprintf(
    5454                                '<a href="%s" target="_parent">%s</a>',
    5555                                self_admin_url( 'update-core.php' ),
    56                                 __( 'Return to WordPress Updates page' )
     56                                __( 'Go to WordPress Updates page' )
    5757                        ),
    5858                );
    5959
  • src/wp-admin/includes/class-language-pack-upgrader-skin.php

    diff --git src/wp-admin/includes/class-language-pack-upgrader-skin.php src/wp-admin/includes/class-language-pack-upgrader-skin.php
    index cbbc834808..05676269f0 100644
    class Language_Pack_Upgrader_Skin extends WP_Upgrader_Skin { 
    7575                        'updates_page' => sprintf(
    7676                                '<a href="%s" target="_parent">%s</a>',
    7777                                self_admin_url( 'update-core.php' ),
    78                                 __( 'Return to WordPress Updates page' )
     78                                __( 'Go to WordPress Updates page' )
    7979                        ),
    8080                );
    8181
  • src/wp-admin/includes/class-plugin-installer-skin.php

    diff --git src/wp-admin/includes/class-plugin-installer-skin.php src/wp-admin/includes/class-plugin-installer-skin.php
    index bfbfe3b533..2517aace07 100644
    class Plugin_Installer_Skin extends WP_Upgrader_Skin { 
    7070                        $install_actions['activate_plugin'] = sprintf(
    7171                                '<a class="button button-primary" href="%s" target="_parent">%s</a>',
    7272                                wp_nonce_url( 'plugins.php?action=activate&amp;from=press-this&amp;plugin=' . urlencode( $plugin_file ), 'activate-plugin_' . $plugin_file ),
    73                                 __( 'Activate Plugin &amp; Return to Press This' )
     73                                __( 'Activate Plugin &amp; Go to Press This' )
    7474                        );
    7575                } else {
    7676                        $install_actions['activate_plugin'] = sprintf(
    class Plugin_Installer_Skin extends WP_Upgrader_Skin { 
    9393                        $install_actions['importers_page'] = sprintf(
    9494                                '<a href="%s" target="_parent">%s</a>',
    9595                                admin_url( 'import.php' ),
    96                                 __( 'Return to Importers' )
     96                                __( 'Go to Importers' )
    9797                        );
    9898                } elseif ( $this->type == 'web' ) {
    9999                        $install_actions['plugins_page'] = sprintf(
    100100                                '<a href="%s" target="_parent">%s</a>',
    101101                                self_admin_url( 'plugin-install.php' ),
    102                                 __( 'Return to Plugin Installer' )
     102                                __( 'Go to Plugin Installer' )
    103103                        );
    104104                } elseif ( 'upload' == $this->type && 'plugins' == $from ) {
    105105                        $install_actions['plugins_page'] = sprintf(
    106106                                '<a href="%s">%s</a>',
    107107                                self_admin_url( 'plugin-install.php' ),
    108                                 __( 'Return to Plugin Installer' )
     108                                __( 'Go to Plugin Installer' )
    109109                        );
    110110                } else {
    111111                        $install_actions['plugins_page'] = sprintf(
    112112                                '<a href="%s" target="_parent">%s</a>',
    113113                                self_admin_url( 'plugins.php' ),
    114                                 __( 'Return to Plugins page' )
     114                                __( 'Go to Plugins page' )
    115115                        );
    116116                }
    117117
  • src/wp-admin/includes/class-plugin-upgrader-skin.php

    diff --git src/wp-admin/includes/class-plugin-upgrader-skin.php src/wp-admin/includes/class-plugin-upgrader-skin.php
    index f4a119b754..87a6b9d069 100644
    class Plugin_Upgrader_Skin extends WP_Upgrader_Skin { 
    6464                        'plugins_page'    => sprintf(
    6565                                '<a href="%s" target="_parent">%s</a>',
    6666                                self_admin_url( 'plugins.php' ),
    67                                 __( 'Return to Plugins page' )
     67                                __( 'Go to Plugins page' )
    6868                        ),
    6969                );
    7070
  • src/wp-admin/includes/class-theme-installer-skin.php

    diff --git src/wp-admin/includes/class-theme-installer-skin.php src/wp-admin/includes/class-theme-installer-skin.php
    index 9be44bc614..80c1256a78 100644
    class Theme_Installer_Skin extends WP_Upgrader_Skin { 
    118118                        $install_actions['themes_page'] = sprintf(
    119119                                '<a href="%s" target="_parent">%s</a>',
    120120                                self_admin_url( 'theme-install.php' ),
    121                                 __( 'Return to Theme Installer' )
     121                                __( 'Go to Theme Installer' )
    122122                        );
    123123                } elseif ( current_user_can( 'switch_themes' ) || current_user_can( 'edit_theme_options' ) ) {
    124124                        $install_actions['themes_page'] = sprintf(
    125125                                '<a href="%s" target="_parent">%s</a>',
    126126                                self_admin_url( 'themes.php' ),
    127                                 __( 'Return to Themes page' )
     127                                __( 'Go to Themes page' )
    128128                        );
    129129                }
    130130
  • src/wp-admin/includes/class-theme-upgrader-skin.php

    diff --git src/wp-admin/includes/class-theme-upgrader-skin.php src/wp-admin/includes/class-theme-upgrader-skin.php
    index 31e540bca1..1503e515cd 100644
    class Theme_Upgrader_Skin extends WP_Upgrader_Skin { 
    106106                $update_actions['themes_page'] = sprintf(
    107107                        '<a href="%s" target="_parent">%s</a>',
    108108                        self_admin_url( 'themes.php' ),
    109                         __( 'Return to Themes page' )
     109                        __( 'Go to Themes page' )
    110110                );
    111111
    112112                /**
  • src/wp-admin/includes/class-wp-privacy-policy-content.php

    diff --git src/wp-admin/includes/class-wp-privacy-policy-content.php src/wp-admin/includes/class-wp-privacy-policy-content.php
    index 65f27470a3..714c1bbdb5 100644
    final class WP_Privacy_Policy_Content { 
    376376                $toc           = array( '<li><a href="#wp-privacy-policy-guide-introduction">' . __( 'Introduction' ) . '</a></li>' );
    377377                $date_format   = __( 'F j, Y' );
    378378                $copy          = __( 'Copy this section to clipboard' );
    379                 $return_to_top = '<a href="#" class="return-to-top">' . __( '&uarr; Return to Top' ) . '</a>';
     379                $return_to_top = '<a href="#" class="return-to-top">' . __( '&uarr; Go to Top' ) . '</a>';
    380380
    381381                foreach ( $content_array as $section ) {
    382382                        $class   = '';
  • src/wp-admin/includes/network.php

    diff --git src/wp-admin/includes/network.php src/wp-admin/includes/network.php
    index 9dc665eda8..991be8aee9 100644
    function network_step1( $errors = false ) { 
    142142                        __( 'You cannot use port numbers such as %s.' ),
    143143                        '<code>' . $has_ports . '</code>'
    144144                ) . '</p>';
    145                 echo '<a href="' . esc_url( admin_url() ) . '">' . __( 'Return to Dashboard' ) . '</a>';
     145                echo '<a href="' . esc_url( admin_url() ) . '">' . __( 'Go to Dashboard' ) . '</a>';
    146146                echo '</div>';
    147147                include( ABSPATH . 'wp-admin/admin-footer.php' );
    148148                die();
  • src/wp-admin/revision.php

    diff --git src/wp-admin/revision.php src/wp-admin/revision.php
    index 12fa07f3f6..d938c646f6 100644
    switch ( $action ) { 
    9696                $post_title     = '<a href="' . $post_edit_link . '">' . _draft_or_post_title() . '</a>';
    9797                /* translators: %s: Post title. */
    9898                $h1             = sprintf( __( 'Compare Revisions of &#8220;%s&#8221;' ), $post_title );
    99                 $return_to_post = '<a href="' . $post_edit_link . '">' . __( '&larr; Return to editor' ) . '</a>';
     99                $return_to_post = '<a href="' . $post_edit_link . '">' . __( '&larr; Go to editor' ) . '</a>';
    100100                $title          = __( 'Revisions' );
    101101
    102102                $redirect = false;
  • src/wp-admin/user-edit.php

    diff --git src/wp-admin/user-edit.php src/wp-admin/user-edit.php
    index 59ad80457c..a77e1f6e2a 100644
    switch ( $action ) { 
    198198        <p><strong><?php _e( 'User updated.' ); ?></strong></p>
    199199        <?php endif; ?>
    200200                        <?php if ( $wp_http_referer && false === strpos( $wp_http_referer, 'user-new.php' ) && ! IS_PROFILE_PAGE ) : ?>
    201         <p><a href="<?php echo esc_url( wp_validate_redirect( esc_url_raw( $wp_http_referer ), self_admin_url( 'users.php' ) ) ); ?>"><?php _e( '&larr; Back to Users' ); ?></a></p>
     201        <p><a href="<?php echo esc_url( wp_validate_redirect( esc_url_raw( $wp_http_referer ), self_admin_url( 'users.php' ) ) ); ?>"><?php _e( '&larr; Go to Users' ); ?></a></p>
    202202        <?php endif; ?>
    203203</div>
    204204                <?php endif; ?>
  • src/wp-content/themes/twentyeleven/image.php

    diff --git src/wp-content/themes/twentyeleven/image.php src/wp-content/themes/twentyeleven/image.php
    index 8625991dda..4c6a5d9b8b 100644
    get_header(); ?> 
    3232                                                                        $metadata = wp_get_attachment_metadata();
    3333                                                                        printf(
    3434                                                                                /* translators: 1: Time, 2: Date, 3: Image permalink, 4: Image width, 5: Image height, 6: Parent permalink, 7: Parent post title, 8: Parent post title. */
    35                                                                                 __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></span> at <a href="%3$s" title="Link to full-size image">%4$s &times; %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%8$s</a>', 'twentyeleven' ),
     35                                                                                __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></span> at <a href="%3$s" title="Link to full-size image">%4$s &times; %5$s</a> in <a href="%6$s" title="Go to %7$s" rel="gallery">%8$s</a>', 'twentyeleven' ),
    3636                                                                                esc_attr( get_the_time() ),
    3737                                                                                get_the_date(),
    3838                                                                                esc_url( wp_get_attachment_url() ),
  • src/wp-content/themes/twentyeleven/languages/twentyeleven.pot

    diff --git src/wp-content/themes/twentyeleven/languages/twentyeleven.pot src/wp-content/themes/twentyeleven/languages/twentyeleven.pot
    index e272461a8d..6a392b6768 100644
    msgid "Next &rarr;" 
    441441msgstr ""
    442442
    443443#: image.php:34
    444 msgid "<span class=\"meta-prep meta-prep-entry-date\">Published </span> <span class=\"entry-date\"><abbr class=\"published\" title=\"%1$s\">%2$s</abbr></span> at <a href=\"%3$s\" title=\"Link to full-size image\">%4$s &times; %5$s</a> in <a href=\"%6$s\" title=\"Return to %7$s\" rel=\"gallery\">%8$s</a>"
     444msgid "<span class=\"meta-prep meta-prep-entry-date\">Published </span> <span class=\"entry-date\"><abbr class=\"published\" title=\"%1$s\">%2$s</abbr></span> at <a href=\"%3$s\" title=\"Link to full-size image\">%4$s &times; %5$s</a> in <a href=\"%6$s\" title=\"Go to %7$s\" rel=\"gallery\">%8$s</a>"
    445445msgstr ""
    446446
    447447#: inc/theme-options.php:56 inc/theme-options.php:564
  • src/wp-content/themes/twentyten/languages/twentyten.pot

    diff --git src/wp-content/themes/twentyten/languages/twentyten.pot src/wp-content/themes/twentyten/languages/twentyten.pot
    index e9fd3b8b50..8b5abd14ab 100644
    msgid "Skip to content" 
    263263msgstr ""
    264264
    265265#: loop-attachment.php:25
    266 msgid "Return to %s"
     266msgid "Go to %s"
    267267msgstr ""
    268268
    269269#. translators: %s - title of parent post
  • src/wp-content/themes/twentyten/loop-attachment.php

    diff --git src/wp-content/themes/twentyten/loop-attachment.php src/wp-content/themes/twentyten/loop-attachment.php
    index bf1af53c54..53ef2deeac 100644
    if ( have_posts() ) { 
    2424                                <?php
    2525                                if ( ! empty( $post->post_parent ) ) :
    2626                                        /* translators: %s: Post title. */
    27                                         $post_tile = sprintf( __( 'Return to %s', 'twentyten' ), strip_tags( get_the_title( $post->post_parent ) ) );
     27                                        $post_tile = sprintf( __( 'Go to %s', 'twentyten' ), strip_tags( get_the_title( $post->post_parent ) ) );
    2828                                        ?>
    2929                                        <p class="page-title"><a href="<?php echo esc_url( get_permalink( $post->post_parent ) ); ?>" title="<?php echo esc_attr( $post_title ); ?>" rel="gallery">
    3030                                                <?php
  • src/wp-content/themes/twentythirteen/image.php

    diff --git src/wp-content/themes/twentythirteen/image.php src/wp-content/themes/twentythirteen/image.php
    index 9404b1215e..7372018cb6 100644
    get_header(); ?> 
    2727                                <div class="entry-meta">
    2828                                        <?php
    2929                                        /* translators: 1: Date, 2: Date, 3, Parent permalink, 4, Post title, 5: Post title. */
    30                                         $published_text = __( '<span class="attachment-meta">Published on <time class="entry-date" datetime="%1$s">%2$s</time> in <a href="%3$s" title="Return to %4$s" rel="gallery">%5$s</a></span>', 'twentythirteen' );
     30                                        $published_text = __( '<span class="attachment-meta">Published on <time class="entry-date" datetime="%1$s">%2$s</time> in <a href="%3$s" title="Go to %4$s" rel="gallery">%5$s</a></span>', 'twentythirteen' );
    3131                                        $post_title     = get_the_title( $post->post_parent );
    3232                                        if ( empty( $post_title ) || 0 == $post->post_parent ) {
    3333                                                $published_text = '<span class="attachment-meta"><time class="entry-date" datetime="%1$s">%2$s</time></span>';
  • src/wp-content/themes/twentytwelve/image.php

    diff --git src/wp-content/themes/twentytwelve/image.php src/wp-content/themes/twentytwelve/image.php
    index dd15d651ae..89039a892f 100644
    get_header(); ?> 
    2828                                                                $metadata = wp_get_attachment_metadata();
    2929                                                                printf(
    3030                                                                        /* translators: 1: Date, 2: Date, 3: Attachment URL, 4: Image width in pixels, 5: Image height in pixels, 6: Post parent permalink, 7: Post parent title, 8: Post parent title. */
    31                                                                         __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><time class="entry-date" datetime="%1$s">%2$s</time></span> at <a href="%3$s" title="Link to full-size image">%4$s &times; %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%8$s</a>.', 'twentytwelve' ),
     31                                                                        __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><time class="entry-date" datetime="%1$s">%2$s</time></span> at <a href="%3$s" title="Link to full-size image">%4$s &times; %5$s</a> in <a href="%6$s" title="Go to %7$s" rel="gallery">%8$s</a>.', 'twentytwelve' ),
    3232                                                                        esc_attr( get_the_date( 'c' ) ),
    3333                                                                        esc_html( get_the_date() ),
    3434                                                                        esc_url( wp_get_attachment_url() ),
  • src/wp-includes/customize/class-wp-customize-themes-section.php

    diff --git src/wp-includes/customize/class-wp-customize-themes-section.php src/wp-includes/customize/class-wp-customize-themes-section.php
    index 2544fc2b5f..4c754ccd5a 100644
    class WP_Customize_Themes_Section extends WP_Customize_Section { 
    121121         */
    122122        protected function filter_bar_content_template() {
    123123                ?>
    124                 <button type="button" class="button button-primary customize-section-back customize-themes-mobile-back"><?php _e( 'Back to theme sources' ); ?></button>
     124                <button type="button" class="button button-primary customize-section-back customize-themes-mobile-back"><?php _e( 'Go to theme sources' ); ?></button>
    125125                <# if ( 'wporg' === data.action ) { #>
    126126                        <div class="search-form">
    127127                                <label for="wp-filter-search-input-{{ data.id }}" class="screen-reader-text"><?php _e( 'Search themes&hellip;' ); ?></label>
  • src/wp-includes/media.php

    diff --git src/wp-includes/media.php src/wp-includes/media.php
    index 1d599deb79..eb2b561648 100644
    function wp_enqueue_media( $args = array() ) { 
    38803880                'createNewGallery'            => __( 'Create a new gallery' ),
    38813881                'createNewPlaylist'           => __( 'Create a new playlist' ),
    38823882                'createNewVideoPlaylist'      => __( 'Create a new video playlist' ),
    3883                 'returnToLibrary'             => __( '&#8592; Return to library' ),
     3883                'returnToLibrary'             => __( '&#8592; Go to library' ),
    38843884                'allMediaItems'               => __( 'All media items' ),
    38853885                'allDates'                    => __( 'All dates' ),
    38863886                'noItemsFound'                => __( 'No items found.' ),
  • src/wp-includes/ms-functions.php

    diff --git src/wp-includes/ms-functions.php src/wp-includes/ms-functions.php
    index 9479ace08b..5da38d5798 100644
    function maybe_add_existing_user_to_blog() { 
    21282128                wp_die(
    21292129                        sprintf(
    21302130                                /* translators: %s: Home URL. */
    2131                                 __( 'An error occurred adding you to this site. Back to the <a href="%s">homepage</a>.' ),
     2131                                __( 'An error occurred adding you to this site. Go to the <a href="%s">homepage</a>.' ),
    21322132                                home_url()
    21332133                        )
    21342134                );
  • src/wp-includes/taxonomy.php

    diff --git src/wp-includes/taxonomy.php src/wp-includes/taxonomy.php
    index f161a71818..afda8a1a58 100644
    function create_initial_taxonomies() { 
    139139                                'separate_items_with_commas' => null,
    140140                                'add_or_remove_items'        => null,
    141141                                'choose_from_most_used'      => null,
    142                                 'back_to_items'              => __( '&larr; Back to Link Categories' ),
     142                                'back_to_items'              => __( '&larr; Go to Link Categories' ),
    143143                        ),
    144144                        'capabilities' => array(
    145145                                'manage_terms' => 'manage_links',
    function get_taxonomy_labels( $tax ) { 
    566566                'items_list'                 => array( __( 'Tags list' ), __( 'Categories list' ) ),
    567567                /* translators: Tab heading when selecting from the most used terms. */
    568568                'most_used'                  => array( _x( 'Most Used', 'tags' ), _x( 'Most Used', 'categories' ) ),
    569                 'back_to_items'              => array( __( '&larr; Back to Tags' ), __( '&larr; Back to Categories' ) ),
     569                'back_to_items'              => array( __( '&larr; Go to Tags' ), __( '&larr; Go to Categories' ) ),
    570570        );
    571571        $nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name'];
    572572
  • src/wp-login.php

    diff --git src/wp-login.php src/wp-login.php
    index cc7a53d014..b4ec804597 100644
    function login_footer( $input_id = '' ) { 
    290290                <?php
    291291
    292292                /* translators: %s: Site title. */
    293                 printf( _x( '&larr; Back to %s', 'site' ), get_bloginfo( 'title', 'display' ) );
     293                printf( _x( '&larr; Go to %s', 'site' ), get_bloginfo( 'title', 'display' ) );
    294294
    295295                ?>
    296296                </a></p>