From 7f816655f1abc00f021fc5f6e583481e02a62e0a Sat, 11 Aug 2012 13:26:29 +0200 From: hass Date: Sat, 11 Aug 2012 13:25:58 +0200 Subject: [PATCH] DX: Change theme "key" to theme "hook" for translation reasons. diff --git a/includes/theme.inc b/includes/theme.inc index c4b7122..d5972ee 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -766,7 +766,7 @@ * their base theme), direct sub-themes of sub-themes, etc. The keys are * the themes' machine names, and the values are the themes' human-readable * names. This element is not set if there are no themes on the system that - * declare this theme as their base theme. + * declare this theme as their base theme. */ function list_themes($refresh = FALSE) { $list = &drupal_static(__FUNCTION__, array()); @@ -1030,7 +1030,7 @@ // Only log a message when not trying theme suggestions ($hook being an // array). if (!isset($candidate)) { - watchdog('theme', 'Theme key "@key" not found.', array('@key' => $hook), WATCHDOG_WARNING); + watchdog('theme', 'Theme hook %hook not found.', array('%hook' => $hook), WATCHDOG_WARNING); } return ''; }