Networks and Sites: Improve newly added strings for i18n.
* Remove unnecessary numbered placeholders. * Add context to "All" and "Spam" status. * Add translator comments. Props pedromendonca. Fixes #48210. git-svn-id: https://develop.svn.wordpress.org/trunk@46385 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f183dd84f1
commit
c7bd227390
@ -219,12 +219,43 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
|
||||
$counts = wp_count_sites();
|
||||
|
||||
$statuses = array(
|
||||
'all' => _n_noop( 'All <span class="count">(%s)</span>', 'All <span class="count">(%1$s)</span>' ),
|
||||
'public' => _n_noop( 'Public <span class="count">(%s)</span>', 'Public <span class="count">(%1$s)</span>' ),
|
||||
'archived' => _n_noop( 'Archived <span class="count">(%1$s)</span>', 'Archived <span class="count">(%1$s)</span>' ),
|
||||
'mature' => _n_noop( 'Mature <span class="count">(%1$s)</span>', 'Mature <span class="count">(%1$s)</span>' ),
|
||||
'spam' => _n_noop( 'Spam <span class="count">(%1$s)</span>', 'Spam <span class="count">(%1$s)</span>' ),
|
||||
'deleted' => _n_noop( 'Deleted <span class="count">(%1$s)</span>', 'Deleted <span class="count">(%1$s)</span>' ),
|
||||
/* translators: %s: Number of sites. */
|
||||
'all' => _nx_noop(
|
||||
'All <span class="count">(%s)</span>',
|
||||
'All <span class="count">(%s)</span>',
|
||||
'sites'
|
||||
),
|
||||
|
||||
/* translators: %s: Number of sites. */
|
||||
'public' => _n_noop(
|
||||
'Public <span class="count">(%s)</span>',
|
||||
'Public <span class="count">(%s)</span>'
|
||||
),
|
||||
|
||||
/* translators: %s: Number of sites. */
|
||||
'archived' => _n_noop(
|
||||
'Archived <span class="count">(%s)</span>',
|
||||
'Archived <span class="count">(%s)</span>'
|
||||
),
|
||||
|
||||
/* translators: %s: Number of sites. */
|
||||
'mature' => _n_noop(
|
||||
'Mature <span class="count">(%s)</span>',
|
||||
'Mature <span class="count">(%s)</span>'
|
||||
),
|
||||
|
||||
/* translators: %s: Number of sites. */
|
||||
'spam' => _nx_noop(
|
||||
'Spam <span class="count">(%s)</span>',
|
||||
'Spam <span class="count">(%s)</span>',
|
||||
'sites'
|
||||
),
|
||||
|
||||
/* translators: %s: Number of sites. */
|
||||
'deleted' => _n_noop(
|
||||
'Deleted <span class="count">(%s)</span>',
|
||||
'Deleted <span class="count">(%s)</span>'
|
||||
),
|
||||
);
|
||||
|
||||
$view_links = array();
|
||||
|
Loading…
Reference in New Issue
Block a user