Index: i18n_menu.module =================================================================== --- i18n_menu.module (revision 2659) +++ i18n_menu.module (revision 2661) @@ -784,7 +784,7 @@ function i18n_menu_init() { // Retrieve a list of menu names, ordered by preference. $menu_names = menu_get_active_menu_names(); // Use an illegal menu name as the key for the preferred menu link. - $selected_menu = '__preferred__'; + $selected_menu = MENU_PREFERRED_LINK; // Put the selected menu at the front of the list. array_unshift($menu_names, $selected_menu); @@ -822,9 +822,9 @@ function i18n_menu_init() { _menu_translate($candidate_item, $map); if ($candidate_item['access']) { $preferred_links[$path][$menu_name] = $candidate_item; - if (empty($preferred_links[$path]['__preferred__'])) { + if (empty($preferred_links[$path][MENU_PREFERRED_LINK])) { // Store the most specific link. - $preferred_links[$path]['__preferred__'] = $candidate_item; + $preferred_links[$path][MENU_PREFERRED_LINK] = $candidate_item; } } }