Adding Google Driving Directions Service to Google Maps - improvement for translate)
Hello.
I don't know how to report about it and write here.
It's about page "Adding Google Driving Directions Service to Google Maps"
http://docs.appthemes.com/tutorials/...o-google-maps/
Better for have correct translation, if in place, where we insert to widget.php, we will change one line:
--------------------------------------------------------------------change from:
// This will generate a input button
$html .= html( 'input', array( 'type' => 'button', 'id' => 'get_directions', 'value' => 'Get Directions' ) );
--------------------------------------------------------------------change to:
// This will generate a input button
$html .= html( 'input', array( 'type' => 'button', 'id' => 'get_directions', 'value' =>
__('Get Directions' , APP_TD ) ) );
If so, we can add lines our language file
wp-content/languages/themes/vantage_xx_XX.po:
#. Map at the right
msgid "Get Directions From: "
msgstr "---translated text to another language---"
#. Map at the right - button
msgid "Get Directions"
msgstr "---translated text to another language---"