Changeset 45932 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r45926 r45932 640 640 641 641 if ( strlen( $blogname ) < $minimum_site_name_length ) { 642 /* translators: %s: minimum site name length*/642 /* translators: %s: Minimum site name length. */ 643 643 $errors->add( 'blogname', sprintf( _n( 'Site name must be at least %s character.', 'Site name must be at least %s characters.', $minimum_site_name_length ), number_format_i18n( $minimum_site_name_length ) ) ); 644 644 } … … 945 945 apply_filters( 946 946 'wpmu_signup_blog_notification_email', 947 /* translators: New site notification email. 1: Activation URL, 2: New site URL */947 /* translators: New site notification email. 1: Activation URL, 2: New site URL. */ 948 948 __( "To activate your blog, please click the following link:\n\n%1\$s\n\nAfter you activate, you will receive *another email* with your login.\n\nAfter you activate, you can visit your site here:\n\n%2\$s" ), 949 949 $domain, … … 978 978 apply_filters( 979 979 'wpmu_signup_blog_notification_subject', 980 /* translators: New site notification email subject. 1: Network name, 2: New site URL*/980 /* translators: New site notification email subject. 1: Network title, 2: New site URL. */ 981 981 _x( '[%1$s] Activate %2$s', 'New site notification email subject' ), 982 982 $domain, … … 1064 1064 apply_filters( 1065 1065 'wpmu_signup_user_notification_email', 1066 /* translators: New user notification email. %s: Activation URL */1066 /* translators: New user notification email. %s: Activation URL. */ 1067 1067 __( "To activate your user, please click the following link:\n\n%s\n\nAfter you activate, you will receive *another email* with your login." ), 1068 1068 $user_login, … … 1089 1089 apply_filters( 1090 1090 'wpmu_signup_user_notification_subject', 1091 /* translators: New user notification email subject. 1: Network name, 2: New user login*/1091 /* translators: New user notification email subject. 1: Network title, 2: New user login. */ 1092 1092 _x( '[%1$s] Activate %2$s', 'New user notification email subject' ), 1093 1093 $user_login, … … 1386 1386 1387 1387 $msg = sprintf( 1388 /* translators: New site notification email. 1: Site URL, 2: User IP address, 3: Settings screen URL*/1388 /* translators: New site notification email. 1: Site URL, 2: User IP address, 3: URL to Network Settings screen. */ 1389 1389 __( 1390 1390 'New Site: %1$s … … 1409 1409 $msg = apply_filters( 'newblog_notify_siteadmin', $msg ); 1410 1410 1411 /* translators: New site notification email subject. %s: New site URL */1411 /* translators: New site notification email subject. %s: New site URL. */ 1412 1412 wp_mail( $email, sprintf( __( 'New Site Registration: %s' ), $siteurl ), $msg ); 1413 1413 … … 1442 1442 1443 1443 $msg = sprintf( 1444 /* translators: New user notification email. 1: User login, 2: User IP address, 3: Settings screen URL*/1444 /* translators: New user notification email. 1: User login, 2: User IP address, 3: URL to Network Settings screen. */ 1445 1445 __( 1446 1446 'New User: %1$s … … 1465 1465 $msg = apply_filters( 'newuser_notify_siteadmin', $msg, $user ); 1466 1466 1467 /* translators: New user notification email subject. %s: User login */1467 /* translators: New user notification email subject. %s: User login. */ 1468 1468 wp_mail( $email, sprintf( __( 'New User Registration: %s' ), $user->user_login ), $msg ); 1469 1469 … … 1615 1615 } 1616 1616 1617 /* translators: New site notification email subject. 1: Network name, 2: New site name*/1617 /* translators: New site notification email subject. 1: Network title, 2: New site title. */ 1618 1618 $subject = __( 'New %1$s Site: %2$s' ); 1619 1619 … … 1707 1707 } 1708 1708 1709 /* translators: New user notification email subject. 1: Network name, 2: New user login*/1709 /* translators: New user notification email subject. 1: Network title, 2: New user login. */ 1710 1710 $subject = __( 'New %1$s User: %2$s' ); 1711 1711 … … 1998 1998 1999 1999 if ( strlen( $upload['bits'] ) > ( KB_IN_BYTES * get_site_option( 'fileupload_maxk', 1500 ) ) ) { 2000 /* translators: %s: maximum allowed file size in kilobytes*/2000 /* translators: %s: Maximum allowed file size in kilobytes. */ 2001 2001 return sprintf( __( 'This file is too big. Files must be less than %s KB in size.' ) . '<br />', get_site_option( 'fileupload_maxk', 1500 ) ); 2002 2002 } … … 2092 2092 wp_die( 2093 2093 sprintf( 2094 /* translators: %s: Home URL */2094 /* translators: %s: Home URL. */ 2095 2095 __( 'An error occurred adding you to this site. Back to the <a href="%s">homepage</a>.' ), 2096 2096 home_url() … … 2101 2101 wp_die( 2102 2102 sprintf( 2103 /* translators: 1: Home URL, 2: Admin URL */2103 /* translators: 1: Home URL, 2: Admin URL. */ 2104 2104 __( 'You have been added to this site. Please visit the <a href="%1$s">homepage</a> or <a href="%2$s">log in</a> using your username and password.' ), 2105 2105 home_url(), … … 2684 2684 $value, 2685 2685 sprintf( 2686 /* translators: Email change notification email subject. %s: Network title */2686 /* translators: Email change notification email subject. %s: Network title. */ 2687 2687 __( '[%s] Network Admin Email Change Request' ), 2688 2688 wp_specialchars_decode( get_site_option( 'site_name' ), ENT_QUOTES ) … … 2747 2747 $email_change_email = array( 2748 2748 'to' => $old_email, 2749 /* translators: Network admin email change notification email subject. %s: Network title */2749 /* translators: Network admin email change notification email subject. %s: Network title. */ 2750 2750 'subject' => __( '[%s] Network Admin Email Changed' ), 2751 2751 'message' => $email_change_text,
Note: See TracChangeset
for help on using the changeset viewer.