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. Built from https://develop.svn.wordpress.org/trunk@46385 git-svn-id: http://core.svn.wordpress.org/trunk@46184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
143b5fd080
commit
cd6110782e
|
@ -219,12 +219,43 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
|
||||||
$counts = wp_count_sites();
|
$counts = wp_count_sites();
|
||||||
|
|
||||||
$statuses = array(
|
$statuses = array(
|
||||||
'all' => _n_noop( 'All <span class="count">(%s)</span>', 'All <span class="count">(%1$s)</span>' ),
|
/* translators: %s: Number of sites. */
|
||||||
'public' => _n_noop( 'Public <span class="count">(%s)</span>', 'Public <span class="count">(%1$s)</span>' ),
|
'all' => _nx_noop(
|
||||||
'archived' => _n_noop( 'Archived <span class="count">(%1$s)</span>', 'Archived <span class="count">(%1$s)</span>' ),
|
'All <span class="count">(%s)</span>',
|
||||||
'mature' => _n_noop( 'Mature <span class="count">(%1$s)</span>', 'Mature <span class="count">(%1$s)</span>' ),
|
'All <span class="count">(%s)</span>',
|
||||||
'spam' => _n_noop( 'Spam <span class="count">(%1$s)</span>', 'Spam <span class="count">(%1$s)</span>' ),
|
'sites'
|
||||||
'deleted' => _n_noop( 'Deleted <span class="count">(%1$s)</span>', 'Deleted <span class="count">(%1$s)</span>' ),
|
),
|
||||||
|
|
||||||
|
/* 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();
|
$view_links = array();
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-beta2-46384';
|
$wp_version = '5.3-beta2-46385';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue