mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-23 15:19:15 +00:00
Collapse an i18n context to make it more accurate and to make for one less string to translate. props pavelevap. fixes #21137
git-svn-id: http://core.svn.wordpress.org/trunk@21242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d65e49c9f3
commit
d644bc50b0
@ -3205,7 +3205,7 @@ function capital_P_dangit( $text ) {
|
|||||||
// Still here? Use the more judicious replacement
|
// Still here? Use the more judicious replacement
|
||||||
static $dblq = false;
|
static $dblq = false;
|
||||||
if ( false === $dblq )
|
if ( false === $dblq )
|
||||||
$dblq = _x('“', 'opening curly quote');
|
$dblq = _x( '“', 'opening curly double quote' );
|
||||||
return str_replace(
|
return str_replace(
|
||||||
array( ' Wordpress', '‘Wordpress', $dblq . 'Wordpress', '>Wordpress', '(Wordpress' ),
|
array( ' Wordpress', '‘Wordpress', $dblq . 'Wordpress', '>Wordpress', '(Wordpress' ),
|
||||||
array( ' WordPress', '‘WordPress', $dblq . 'WordPress', '>WordPress', '(WordPress' ),
|
array( ' WordPress', '‘WordPress', $dblq . 'WordPress', '>WordPress', '(WordPress' ),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user