Active
Project:
Google Maps Tools
Version:
6.x-2.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2010 at 13:08 UTC
Updated:
23 May 2011 at 08:57 UTC
hi, in gmaps.module, line 3831 i see
/**
* Helper function for address details fields.
*
* @return
* An array of detail fields in hierarchycal order.
* The values of the array are the default labels of the fields in english.
*/
function _gmaps_address_get_parts() {
return array(
'country' => 'Country',
'adminarea' => 'Administrative area',
'subadminarea' => 'Subadministrative area',
'locality' => 'Locality',
'deplocality' => 'Neighborhood',
'postalcode' => 'Postal code',
'thoroughfare' => 'Thoroughfare',
);
}
and i want translate labels, but after finding string via drupal translation interface and add translation there is no expected changes on node field form
i do this
/**
* Helper function for address details fields.
*
* @return
* An array of detail fields in hierarchycal order.
* The values of the array are the default labels of the fields in english.
*/
function _gmaps_address_get_parts() {
return array(
'country' => t('Country'),
'adminarea' => t('Administrative area'),
'subadminarea' => t('Subadministrative area'),
'locality' => t('Locality'),
'deplocality' => t('Neighborhood'),
'postalcode' => t('Postal code'),
'thoroughfare' => t('Thoroughfare'),
);
}
and all works fine
please, help me, is it a bug o issue in my installation ?
Comments
Comment #1
lupus78 commentedYes, it's strange... Lat and Lon texts are translateable.... it's still like this in the dev version.