Results 1 to 2 of 2

Thread: Adding Google Driving Directions Service to Google Maps - improvement for translate)

  1. #1
    Thread Starter
    Expired Customer cept's Avatar
    Join Date
    Mar 2013
    Location
    Russian Federation
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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---"

  2. #2
    Expired Customer hopfoto's Avatar
    Join Date
    Oct 2012
    Location
    NYC
    Posts
    954
    Thanks
    37
    Thanked 125 Times in 118 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Google Maps Directions - Get directions by hitting enter
    By push7 in forum Vantage General Discussion (Legacy)
    Replies: 0
    Last Post: January 27th, 2013, 10:06 PM
  2. Problem with Adding Google Driving Directions Service to Google Maps
    By danyz in forum Vantage General Discussion (Legacy)
    Replies: 10
    Last Post: December 1st, 2012, 02:04 PM
  3. Google Maps Driving Directions issue
    By korrigan in forum Vantage General Discussion (Legacy)
    Replies: 0
    Last Post: November 29th, 2012, 12:06 AM
  4. API for map driving directions
    By jonaustin in forum ClassiPress General Discussion
    Replies: 12
    Last Post: December 11th, 2011, 05:02 AM
  5. [MOD NEEDED] Need to put directions in google maps
    By precocerto in forum ClassiPress General Discussion
    Replies: 1
    Last Post: November 3rd, 2011, 09:16 PM