Add translation domain to the timezone picker, props nbachiyski, fixes #10066
git-svn-id: https://develop.svn.wordpress.org/trunk@11533 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8737201fb5
commit
b84bf875ee
|
@ -3246,7 +3246,7 @@ function wp_timezone_choice($selectedzone) {
|
||||||
$selectcontinent = '';
|
$selectcontinent = '';
|
||||||
if ( !empty($city) ) {
|
if ( !empty($city) ) {
|
||||||
$selectcontinent = $continent;
|
$selectcontinent = $continent;
|
||||||
$structure .= '<optgroup label="'. esc_attr( translate( $continent ) ) .'">' . "\n"; // continent
|
$structure .= '<optgroup label="'. esc_attr( translate( $continent, "continents-cities" ) ) .'">' . "\n"; // continent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue