Make WordPress Core

Changeset 37198


Ignore:
Timestamp:
04/14/2016 02:24:49 AM (8 years ago)
Author:
SergeyBiryukov
Message:

I18N: Remove <kbd> tags from translatable string in wp-admin/options-writing.php.

Add translator comment.

Props ramiy.
Fixes #36249.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-writing.php

    r36142 r37198  
    115115?>
    116116<h2 class="title"><?php _e( 'Post via email' ) ?></h2>
    117 <p><?php printf(__('To post to WordPress by email you must set up a secret email account with POP3 access. Any mail received at this address will be posted, so it&#8217;s a good idea to keep this address very secret. Here are three random strings you could use: <kbd>%s</kbd>, <kbd>%s</kbd>, <kbd>%s</kbd>.'), wp_generate_password(8, false), wp_generate_password(8, false), wp_generate_password(8, false)) ?></p>
     117<p><?php
     118printf(
     119    /* translators: 1, 2, 3: examples of random email addresses */
     120    __( 'To post to WordPress by email you must set up a secret email account with POP3 access. Any mail received at this address will be posted, so it&#8217;s a good idea to keep this address very secret. Here are three random strings you could use: %1$s, %2$s, %3$s.' ),
     121    sprintf( '<kbd>%s</kbd>', wp_generate_password( 8, false ) ),
     122    sprintf( '<kbd>%s</kbd>', wp_generate_password( 8, false ) ),
     123    sprintf( '<kbd>%s</kbd>', wp_generate_password( 8, false ) )
     124);
     125?></p>
    118126
    119127<table class="form-table">
Note: See TracChangeset for help on using the changeset viewer.