WordPress.org

Make WordPress Core

Ticket #10066: add-domain-to-translate-continent.diff

File add-domain-to-translate-continent.diff, 545 bytes (added by nbachiyski, 9 years ago)
  • wp-includes/functions.php

     
    32463246                        $selectcontinent = '';
    32473247                        if ( !empty($city) ) {
    32483248                                $selectcontinent = $continent;
    3249                                 $structure .= '<optgroup label="'. esc_attr( translate( $continent ) ) .'">' . "\n"; // continent
     3249                                $structure .= '<optgroup label="'. esc_attr( translate( $continent, "continents-cities" ) ) .'">' . "\n"; // continent
    32503250                        }
    32513251                }
    32523252