From e28d853fade2c547312a8765e88c63be1e92a16c Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 6 Apr 2012 19:03:25 -0300 Subject: Fixing remaining code review issues --- imagecache_auto.inc | 2 +- imagecache_auto.module | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/imagecache_auto.inc b/imagecache_auto.inc index 78c5751..018beb5 100644 --- a/imagecache_auto.inc +++ b/imagecache_auto.inc @@ -40,7 +40,7 @@ function imagecache_auto_create_preset($options) { // Check if maximum number of presets was reached. $max_presets = (int) variable_get('imagecache_auto_max_presets', '250'); if (imagecache_auto_count_presets() + 1 > $max_presets) { - $message = 'Maximum number of imagecache presets reached. Please consider increasing the max number of presets.'; + $message = t('Maximum number of imagecache presets reached. Please consider increasing the max number of presets.'); watchdog('imagecache_auto', $message, array(), WATCHDOG_ERROR); return; } diff --git a/imagecache_auto.module b/imagecache_auto.module index 47a3690..3bfd15c 100644 --- a/imagecache_auto.module +++ b/imagecache_auto.module @@ -13,8 +13,8 @@ function imagecache_auto_menu() { $items = array(); $items['admin/build/imagecache/auto'] = array( - 'title' => 'ImageCache Auto', - 'description' => 'ImageCache Auto settings.', + 'title' => t('ImageCache Auto'), + 'description' => t('ImageCache Auto settings.'), 'page callback' => 'drupal_get_form', 'page arguments' => array('imagecache_auto_admin_settings'), 'access arguments' => array('administer site configuration'), -- cgit v1.2.3