From 4708e5e8aea78cbd1ee1da2953f11009b6ce2c7f Mon Sep 17 00:00:00 2001
From: Eelke Blok <eelke@blokspeed.net>
Date: Fri, 18 Mar 2011 14:36:30 +0100
Subject: [PATCH] Actions and descriptions not translatable in "New Actions" area

---
 imagecache.module |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/imagecache.module b/imagecache.module
index 1eccf3e..0d50a76 100644
--- a/imagecache.module
+++ b/imagecache.module
@@ -187,43 +187,43 @@ function imagecache_theme() {
 function imagecache_imagecache_actions() {
   $actions = array(
     'imagecache_resize' => array(
-      'name' => 'Resize',
-      'description' => 'Resize an image to an exact set of dimensions, ignoring aspect ratio.',
+      'name' => t('Resize'),
+      'description' => t('Resize an image to an exact set of dimensions, ignoring aspect ratio.'),
       'file' => 'imagecache_actions.inc',
     ),
     'imagecache_scale' => array(
-      'name' => 'Scale',
-      'description' => 'Resize an image maintaining the original aspect-ratio (only one value necessary).',
+      'name' => t('Scale'),
+      'description' => t('Resize an image maintaining the original aspect-ratio (only one value necessary).'),
       'file' => 'imagecache_actions.inc',
     ),
     'imagecache_deprecated_scale' => array(
-      'name' => 'Deprecated Scale',
-      'description' => 'Precursor to Scale and Crop. Has inside and outside dimension support. This action will be removed in ImageCache 2.1).',
+      'name' => t('Deprecated Scale'),
+      'description' => t('Precursor to Scale and Crop. Has inside and outside dimension support. This action will be removed in ImageCache 2.1).'),
       'file' => 'imagecache_actions.inc',
     ),
     'imagecache_scale_and_crop' => array(
-      'name' => 'Scale And Crop',
-      'description' => 'Resize an image while maintaining aspect ratio, then crop it to the specified dimensions.',
+      'name' => t('Scale And Crop'),
+      'description' => t('Resize an image while maintaining aspect ratio, then crop it to the specified dimensions.'),
       'file' => 'imagecache_actions.inc',
     ),
     'imagecache_crop' => array(
-      'name' => 'Crop',
-      'description' => 'Crop an image to the rectangle specified by the given offsets and dimensions.',
+      'name' => t('Crop'),
+      'description' => t('Crop an image to the rectangle specified by the given offsets and dimensions.'),
       'file' => 'imagecache_actions.inc',
     ),
     'imagecache_desaturate' => array(
-      'name' => 'Desaturate',
-      'description' => 'Convert an image to grey scale.',
+      'name' => t('Desaturate'),
+      'description' => t('Convert an image to grey scale.'),
       'file' => 'imagecache_actions.inc',
     ),
     'imagecache_rotate' => array(
-      'name' => 'Rotate',
-      'description' => 'Rotate an image.',
+      'name' => t('Rotate'),
+      'description' => t('Rotate an image.'),
       'file' => 'imagecache_actions.inc',
     ),
     'imagecache_sharpen' => array(
-      'name' => 'Sharpen',
-      'description' => 'Sharpen an image using unsharp masking.',
+      'name' => t('Sharpen'),
+      'description' => t('Sharpen an image using unsharp masking.'),
       'file' => 'imagecache_actions.inc',
     ),
   );
-- 
1.7.4.1

