Changeset 45932 for trunk/src/wp-admin/includes/upgrade.php
- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r45926 r45932 141 141 // Default category 142 142 $cat_name = __( 'Uncategorized' ); 143 /* translators: Default category slug */143 /* translators: Default category slug. */ 144 144 $cat_slug = sanitize_title( _x( 'Uncategorized', 'Default category slug' ) ); 145 145 … … 194 194 if ( ! $first_post ) { 195 195 $first_post = "<!-- wp:paragraph -->\n<p>" . 196 /* translators: first post content, %s: site link*/196 /* translators: First post content. %s: Site link. */ 197 197 __( 'Welcome to %s. This is your first post. Edit or delete it, then start writing!' ) . 198 198 "</p>\n<!-- /wp:paragraph -->"; … … 209 209 } else { 210 210 $first_post = "<!-- wp:paragraph -->\n<p>" . 211 /* translators: first post content, %s: site link*/211 /* translators: First post content. %s: Site link. */ 212 212 __( 'Welcome to WordPress. This is your first post. Edit or delete it, then start writing!' ) . 213 213 "</p>\n<!-- /wp:paragraph -->"; … … 223 223 'post_excerpt' => '', 224 224 'post_title' => __( 'Hello world!' ), 225 /* translators: Default post slug */225 /* translators: Default post slug. */ 226 226 'post_name' => sanitize_title( _x( 'hello-world', 'Default post slug' ) ), 227 227 'post_modified' => $now, … … 278 278 if ( empty( $first_page ) ) { 279 279 $first_page = "<!-- wp:paragraph -->\n<p>"; 280 /* translators: first page content*/280 /* translators: First page content. */ 281 281 $first_page .= __( "This is an example page. It's different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:" ); 282 282 $first_page .= "</p>\n<!-- /wp:paragraph -->\n\n"; 283 283 284 284 $first_page .= "<!-- wp:quote -->\n<blockquote class=\"wp-block-quote\"><p>"; 285 /* translators: first page content*/285 /* translators: First page content. */ 286 286 $first_page .= __( "Hi there! I'm a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin' caught in the rain.)" ); 287 287 $first_page .= "</p></blockquote>\n<!-- /wp:quote -->\n\n"; 288 288 289 289 $first_page .= "<!-- wp:paragraph -->\n<p>"; 290 /* translators: first page content*/290 /* translators: First page content. */ 291 291 $first_page .= __( '...or something like this:' ); 292 292 $first_page .= "</p>\n<!-- /wp:paragraph -->\n\n"; 293 293 294 294 $first_page .= "<!-- wp:quote -->\n<blockquote class=\"wp-block-quote\"><p>"; 295 /* translators: first page content*/295 /* translators: First page content. */ 296 296 $first_page .= __( 'The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.' ); 297 297 $first_page .= "</p></blockquote>\n<!-- /wp:quote -->\n\n"; … … 299 299 $first_page .= "<!-- wp:paragraph -->\n<p>"; 300 300 $first_page .= sprintf( 301 /* translators: first page content, %s: site admin URL*/301 /* translators: First page content. %s: Site admin URL. */ 302 302 __( 'As a new WordPress user, you should go to <a href="%s">your dashboard</a> to delete this page and create new pages for your content. Have fun!' ), 303 303 admin_url() … … 317 317 'comment_status' => 'closed', 318 318 'post_title' => __( 'Sample Page' ), 319 /* translators: Default page slug */319 /* translators: Default page slug. */ 320 320 'post_name' => __( 'sample-page' ), 321 321 'post_modified' => $now, … … 362 362 'comment_status' => 'closed', 363 363 'post_title' => __( 'Privacy Policy' ), 364 /* translators: Privacy Policy page slug */364 /* translators: Privacy Policy page slug. */ 365 365 'post_name' => __( 'privacy-policy' ), 366 366 'post_modified' => $now, … … 586 586 587 587 $message = sprintf( 588 /* translators: New site notification email. 1: New site URL, 2: User login, 3: User password or password reset link, 4: Login URL */588 /* translators: New site notification email. 1: New site URL, 2: User login, 3: User password or password reset link, 4: Login URL. */ 589 589 __( 590 590 'Your new WordPress site has been successfully set up at:
Note: See TracChangeset
for help on using the changeset viewer.