Making WordPress.org


Ignore:
Timestamp:
01/31/2018 11:21:10 PM (7 years ago)
Author:
obenland
Message:

Login: Use wporg textdomain for translations.

H/t ocean90.
See [6490], https://i18n.trac.wordpress.org/changeset/135039/.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-registration.php

    r6395 r6493  
    3434            wp_die( $pre_register_error );
    3535        }
    36         wp_die( __( 'Registration Blocked. Please stop.', 'wporg-login' ) );
     36        wp_die( __( 'Registration Blocked. Please stop.', 'wporg' ) );
    3737    }
    3838
    3939    $user_id = wpmu_create_user( wp_slash( $user_login ), wp_generate_password(), wp_slash( $user_email ) );
    4040    if ( ! $user_id ) {
    41         wp_die( __( 'Error! Something went wrong with your registration. Try again?', 'wporg-login' ) );
     41        wp_die( __( 'Error! Something went wrong with your registration. Try again?', 'wporg' ) );
    4242    }
    4343
     
    5757    }
    5858
    59     $body  = sprintf( __( 'Hi %s,', 'wporg-login' ), $user_login ) . "\n\n";
    60     $body .= __( 'Welcome to WordPress.org! Your new account has been setup.', 'wporg-login' ) . "\n";
     59    $body  = sprintf( __( 'Hi %s,', 'wporg' ), $user_login ) . "\n\n";
     60    $body .= __( 'Welcome to WordPress.org! Your new account has been setup.', 'wporg' ) . "\n";
    6161    $body .= "\n";
    62     $body .= sprintf( __( 'Your username is: %s', 'wporg-login' ), $user_login ) . "\n";
    63     $body .= __( 'You can create a password at the following URL:', 'wporg-login' ) . "\n";
     62    $body .= sprintf( __( 'Your username is: %s', 'wporg' ), $user_login ) . "\n";
     63    $body .= __( 'You can create a password at the following URL:', 'wporg' ) . "\n";
    6464    $body .= home_url( "/register/confirm/{$user_login}/{$activation_key}/" );
    6565    $body .= "\n\n";
    66     $body .= __( '-- The WordPress.org Team', 'wporg-login' );
     66    $body .= __( '-- The WordPress.org Team', 'wporg' );
    6767
    6868    wp_mail(
    6969        $user_email,
    70         __( '[WordPress.org] Your new account', 'wporg-login' ),
     70        __( '[WordPress.org] Your new account', 'wporg' ),
    7171        $body,
    7272        array(
Note: See TracChangeset for help on using the changeset viewer.