diff options
author | Silvio <silvio@devlet.com.br> | 2012-04-06 19:03:25 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2012-04-06 19:03:25 -0300 |
commit | e28d853fade2c547312a8765e88c63be1e92a16c (patch) | |
tree | 9e72fd894a23f00554513a64c3ff2741f0aa6e5f | |
parent | 1de5bcfffd1053ab66b373f7a1c8bd4de8481e67 (diff) | |
download | imagecache_auto-6.x-1.x.tar.gz imagecache_auto-6.x-1.x.tar.bz2 |
Fixing remaining code review issues6.x-1.x
-rw-r--r-- | imagecache_auto.inc | 2 | ||||
-rw-r--r-- | 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'), |