aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2012-04-06 19:03:25 -0300
committerSilvio <silvio@devlet.com.br>2012-04-06 19:03:25 -0300
commite28d853fade2c547312a8765e88c63be1e92a16c (patch)
tree9e72fd894a23f00554513a64c3ff2741f0aa6e5f
parent1de5bcfffd1053ab66b373f7a1c8bd4de8481e67 (diff)
downloadimagecache_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.inc2
-rw-r--r--imagecache_auto.module4
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'),