Closed (fixed)
Project:
Google Maps Tools
Version:
5.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2008 at 07:24 UTC
Updated:
12 Feb 2010 at 19:14 UTC
The columns service in the table keys_manage is set up with Value "Google Map API key".
It should be replaced by "gmaps" to make it work.
Comments
Comment #1
xmarket commentedFrom the README of keys_api:
return array(
'service_name' => array(
'name' => t('Name'),
'description' => t('Description of service.')
)
);
It suggest, that the name is translatable, but keys_api uses it as a primary key. So, if I translate "Name" to "Név"(hun), than keys_api won't find any key for you.....
Beacuse of this, gmaps uses the non-translatable "service_name" as primary key.
If you want gmaps to work with keys_api, you should change line 143 in keys_api.module:
from: $add = array($v['name'] => $v['name'].$description);
to: $add = array($k => $v['name'].$description);
Comment #2
xmarket commented