Changeset 45932 for trunk/src/wp-admin/options-permalink.php
- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-permalink.php
r45926 r45932 33 33 'content' => '<p>' . __( 'Permalinks can contain useful information, such as the post date, title, or other elements. You can choose from any of the suggested permalink formats, or you can craft your own if you select Custom Structure.' ) . '</p>' . 34 34 '<p>' . sprintf( 35 /* translators: '%' character */35 /* translators: '%' character. */ 36 36 __( 'If you pick an option other than Plain, your general URL path with structure tags (terms surrounded by %s) will also appear in the custom structure field and your path can be further modified there.' ), 37 37 '<code>%</code>' … … 183 183 <?php 184 184 printf( 185 /* translators: %s: Documentation URL */185 /* translators: %s: Documentation URL. */ 186 186 __( 'WordPress offers you the ability to create a custom URL structure for your permalinks and archives. Custom URL structures can improve the aesthetics, usability, and forward-compatibility of your links. A <a href="%s">number of tags are available</a>, and here are some examples to get you started.' ), 187 187 __( 'https://wordpress.org/support/article/using-permalinks/' ) … … 240 240 <?php 241 241 $available_tags = array( 242 /* translators: %s: permalink structure tag*/242 /* translators: %s: Permalink structure tag. */ 243 243 'year' => __( '%s (The year of the post, four digits, for example 2004.)' ), 244 /* translators: %s: permalink structure tag*/244 /* translators: %s: Permalink structure tag. */ 245 245 'monthnum' => __( '%s (Month of the year, for example 05.)' ), 246 /* translators: %s: permalink structure tag*/246 /* translators: %s: Permalink structure tag. */ 247 247 'day' => __( '%s (Day of the month, for example 28.)' ), 248 /* translators: %s: permalink structure tag*/248 /* translators: %s: Permalink structure tag. */ 249 249 'hour' => __( '%s (Hour of the day, for example 15.)' ), 250 /* translators: %s: permalink structure tag*/250 /* translators: %s: Permalink structure tag. */ 251 251 'minute' => __( '%s (Minute of the hour, for example 43.)' ), 252 /* translators: %s: permalink structure tag*/252 /* translators: %s: Permalink structure tag. */ 253 253 'second' => __( '%s (Second of the minute, for example 33.)' ), 254 /* translators: %s: permalink structure tag*/254 /* translators: %s: Permalink structure tag. */ 255 255 'post_id' => __( '%s (The unique ID of the post, for example 423.)' ), 256 /* translators: %s: permalink structure tag*/256 /* translators: %s: Permalink structure tag. */ 257 257 'postname' => __( '%s (The sanitized post title (slug).)' ), 258 /* translators: %s: permalink structure tag*/258 /* translators: %s: Permalink structure tag. */ 259 259 'category' => __( '%s (Category slug. Nested sub-categories appear as nested directories in the URL.)' ), 260 /* translators: %s: permalink structure tag*/260 /* translators: %s: Permalink structure tag. */ 261 261 'author' => __( '%s (A sanitized version of the author name.)' ), 262 262 ); … … 271 271 $available_tags = apply_filters( 'available_permalink_structure_tags', $available_tags ); 272 272 273 /* translators: %s: permalink structure tag*/273 /* translators: %s: Permalink structure tag. */ 274 274 $structure_tag_added = __( '%s added to permalink structure' ); 275 275 276 /* translators: %s: permalink structure tag*/276 /* translators: %s: Permalink structure tag. */ 277 277 $structure_tag_already_used = __( '%s (already used in permalink structure)' ); 278 278 … … 306 306 <p> 307 307 <?php 308 /* translators: %s: placeholder that must come at the start of the URL*/308 /* translators: %s: Placeholder that must come at the start of the URL. */ 309 309 printf( __( 'If you like, you may enter custom structures for your category and tag URLs here. For example, using <code>topics</code> as your category base would make your category links like <code>%s/topics/uncategorized/</code>. If you leave these blank the defaults will be used.' ), get_option( 'home' ) . $blog_prefix . $prefix ); 310 310 ?> … … 313 313 <table class="form-table" role="presentation"> 314 314 <tr> 315 <th><label for="category_base"><?php /* translators: prefix for category permalinks*/ _e( 'Category base' ); ?></label></th>315 <th><label for="category_base"><?php /* translators: Prefix for category permalinks. */ _e( 'Category base' ); ?></label></th> 316 316 <td><?php echo $blog_prefix; ?> <input name="category_base" id="category_base" type="text" value="<?php echo esc_attr( $category_base ); ?>" class="regular-text code" /></td> 317 317 </tr> … … 336 336 <?php 337 337 printf( 338 /* translators: 1: web.config, 2: Documentation URL, 3: CTRL + a, 4: element code*/338 /* translators: 1: web.config, 2: Documentation URL, 3: CTRL + a, 4: Element code. */ 339 339 __( 'If your %1$s file was <a href="%2$s">writable</a>, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your %1$s file. Click in the field and press %3$s to select all. Then insert this rule inside of the %4$s element in %1$s file.' ), 340 340 '<code>web.config</code>',
Note: See TracChangeset
for help on using the changeset viewer.