Mobile Tools and Mobile Tools Browscap currently support different device groups. There is no reason why they shouldn't support the same device groups.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | mobile_tools-Do_not_use_t_in_mt_browscap_device_groups-1632434-4.patch | 1.31 KB | Drave Robber |
| #1 | synchronize-supported-device-groups-1632434-1.patch | 1.42 KB | devin carlson |
Comments
Comment #1
devin carlson commentedA patch to make Mobile Tools and Mobile Tools Browscap support the same device groups.
Comment #2
devin carlson commentedCommitted to 6.x-2.x.
Comment #4
Drave Robber commentedWrapping group descriptions in
t()leads to:The reason is
mt_browscap_device_groups()is called bymt_browscap_is_mobile_device()which may be invoked (or rather, is likely to be invoked) inhook_boot()wheret()is not available yet.IMHO, wrapping is not really necessary here (what are we going to translate - 'BlackBerry' to 'BromBeere'?) but using
get_t()is also an option.A patch to remove
t()attached.Comment #5
Drave Robber commented(this is obviously a bug report now)
Comment #6
devin carlson commentedFixed with http://drupalcode.org/project/mobile_tools.git/commit/5c3450a.