Index: imagecache_ui.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imagecache/imagecache_ui.module,v
retrieving revision 1.20
diff -u -p -r1.20 imagecache_ui.module
--- imagecache_ui.module	8 Aug 2008 17:05:12 -0000	1.20
+++ imagecache_ui.module	8 Aug 2008 17:17:46 -0000
@@ -8,7 +8,7 @@
 
 function imagecache_ui_help($path, $arg) {
   switch($path) {
-    case 'admin/build/imagecache': return t('Manage imagecache preset.');
+    case 'admin/build/imagecache': return t('Manage ImageCache presets.');
   }
 }
 
@@ -168,7 +168,7 @@ function imagecache_ui_preset_add_form($
 function  imagecache_ui_preset_add_form_submit($form, &$form_state) {
   $preset = array('presetname' => $form_state['values']['presetname']);
   $preset = imagecache_preset_save($preset);
-  drupal_set_message(t('Preset "%name" (ID: @id) Created.', array('%name' => $preset['presetname'], '@id' => $preset['presetid'])));
+  drupal_set_message(t('Preset %name (ID: @id) was created.', array('%name' => $preset['presetname'], '@id' => $preset['presetid'])));
   $form_state['redirect'] = 'admin/build/imagecache/'. $preset['presetid'];
 }
 
@@ -207,7 +207,7 @@ function imagecache_ui_preset_delete_for
 function imagecache_ui_preset_delete_form_submit($form, &$form_state) {
   $preset = imagecache_preset($form_state['values']['presetid']);
   imagecache_preset_delete($preset);
-  drupal_set_message(t('Preset "%name" (ID: @id) deleted.', array('%name' => $preset['presetname'], '@id' => $preset['presetid'])));
+  drupal_set_message(t('Preset %name (ID: @id) was deleted.', array('%name' => $preset['presetname'], '@id' => $preset['presetid'])));
   $form_state['redirect'] = 'admin/build/imagecache';
 }
 
@@ -233,7 +233,7 @@ function imagecache_ui_preset_flush_form
 function imagecache_ui_preset_flush_form_submit($form, &$form_state) {
   $preset = imagecache_preset($form_state['values']['presetid']);
   imagecache_preset_flush($preset);
-  drupal_set_message(t('Preset "%name" (ID: @id) flushed.', array('%name' => $preset['presetname'], '@id' => $preset['presetid'])));
+  drupal_set_message(t('Preset %name (ID: @id) was flushed.', array('%name' => $preset['presetname'], '@id' => $preset['presetid'])));
   $form_state['redirect'] = 'admin/build/imagecache';
 }
 
@@ -243,7 +243,7 @@ function imagecache_ui_preset_flush_form
 
 function imagecache_ui_preset_form($form_state, $preset = array()) {
   if (empty($preset)) {
-    drupal_set_message(t('The specified preset was not found'), 'error');
+    drupal_set_message(t('The specified preset was not found.'), 'error');
     drupal_goto('admin/build/imagecache');
   }
 
@@ -416,12 +416,12 @@ function imagecache_ui_action_form($form
   $definitions = imagecache_action_definitions();
 
   if (empty($action)) {
-    drupal_set_message('Unknown Action.', 'error');
+    drupal_set_message(t('Unknown Action.'), 'error');
     drupal_goto('admin/build/imagecache');
   }
 
   if (empty($preset)) {
-    drupal_set_message('Unknown Preset.');
+    drupal_set_message(t('Unknown Preset.'), 'error');
     drupal_goto('admin/build/imagecache');
   }
 
@@ -450,22 +450,22 @@ function imagecache_ui_action_form_submi
   if ($action = imagecache_action($form_state['values']['actionid'])) {
     $action = array_merge($action, $form_state['values']);
     imagecache_action_save($action);
-    drupal_set_message('Action Updated');
+    drupal_set_message(t('The action was succesfully updated.'));
     $form_state['redirect'] = 'admin/build/imagecache/'. $action['presetid'];
   }
   else {
-    drupal_set_message('Unknown Action: '. $form_state['values']['actionid']);
+    drupal_set_message(t('Unknown Action: @action_id', array('@action_id' => $form_state['values']['actionid'])));
     $form_state['redirect'] = 'admin/build/imagecache';
   }
 }
 
 function imagecache_ui_action_delete_form($form_state, $preset = array(), $action = array()) {
   if (empty($action)) {
-    drupal_set_message('Unknown Action.'. $actionid, 'error');
+    drupal_set_message(t('Unknown Action.'), 'error');
     drupal_goto('admin/build/imagecache');
   }
   if (empty($preset)) {
-    drupal_set_message('Unknown Preset.');
+    drupal_set_message(t('Unknown Preset.'), 'error');
     drupal_goto('admin/build/imagecache');
   }
 
