From a4ad7bc46977d94bae42183d06fb610528e55ba1 Sat, 11 Aug 2012 13:23:17 +0200 From: hass Date: Sat, 11 Aug 2012 13:21:35 +0200 Subject: [PATCH] DX: Change theme "key" to theme "hook" for translation reasons. diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 2c17020..3c38d69 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -659,7 +659,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()); @@ -923,7 +923,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 ''; }