? rules-533132.patch
? rules_admin/icons/add2.png
Index: rules_admin/rules_admin.css
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/Attic/rules_admin.css,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 rules_admin.css
--- rules_admin/rules_admin.css	28 Mar 2009 21:54:18 -0000	1.1.2.1
+++ rules_admin/rules_admin.css	3 Aug 2009 14:30:55 -0000
@@ -9,16 +9,9 @@ a.action, a.condition {
 }
 img.rules-icon {
   position: relative;
-  top: 0.5em;
-}
-a.action img.rules-icon {
-  position: relative;
-  top: 3px;
-  left: 2px;
-}
-a.condition img.rules-icon {
-  position: relative;
-  top: 2px;
+  top: -0.2em;
+  vertical-align: bottom;
+  margin-right: 5px;
 }
 div.configuration-fixed a.modify {
   display:none;
@@ -30,18 +23,14 @@ div.logical-op-not {
 p.logical-op-add, h3.actions {
   margin-top: 2em;
 }
-h3.conditions {
+h3.conditions, h3.event {
   margin-top: 1em;
 }
 p.logical-op-add {
   margin-bottom: 0em;
 }
-p.logical-op-edit img.rules-icon {
-  top: -0.2em;
-  vertical-align: bottom;
-}
-img.rules-icon {
-  margin: 0px 3px;
+a.condition_add img.rules-icon {
+  top: 0.5em;
 }
 div.rules-filter {
   padding-bottom: 2em;
Index: rules_admin/rules_admin.export.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/Attic/rules_admin.export.inc,v
retrieving revision 1.1.2.6
diff -u -p -r1.1.2.6 rules_admin.export.inc
--- rules_admin/rules_admin.export.inc	15 Jul 2009 16:00:00 -0000	1.1.2.6
+++ rules_admin/rules_admin.export.inc	3 Aug 2009 14:30:55 -0000
@@ -120,14 +120,21 @@ function rules_admin_import_workflow_ng(
 }
 
 /**
- * Exports one ore more configurations
+ * Exports one or more configurations
  */
 function rules_admin_form_export($form_state) {
   $form = array();
   if (!isset($form_state['export'])) {
     $form['export'] = array('#tree' => TRUE);
     foreach (rules_get_items() as $name => $info) {
-      $items = rules_admin_get_grouped_labels(rules_get_configured_items($name));
+      $items = rules_get_configured_items($name);
+      if ($name === 'rules') {
+        // Filter out rules within rule sets, we only want event-triggered,
+        // standalone rules.
+        $items = array_filter($items, 'rules_admin_is_event_rule');
+        $info['label'] = t('Triggered rules');
+      }
+      $items = rules_admin_get_grouped_labels($items);
       if (count($items)) {
         $form['export'][$name] = array(
           '#type' => 'select',
Index: rules_admin/rules_admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/Attic/rules_admin.inc,v
retrieving revision 1.1.2.10
diff -u -p -r1.1.2.10 rules_admin.inc
--- rules_admin/rules_admin.inc	20 Apr 2009 11:45:58 -0000	1.1.2.10
+++ rules_admin/rules_admin.inc	3 Aug 2009 14:30:55 -0000
@@ -384,3 +384,7 @@ function rules_admin_add_crumbs($crumbs)
     drupal_set_breadcrumb($breadcrumb);
   }
 }
+
+function rules_admin_is_event_rule($rule) {
+  return !empty($rule['#set']) && strpos($rule['#set'], 'event_') === 0;
+}
\ No newline at end of file
Index: rules_admin/rules_admin.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/Attic/rules_admin.module,v
retrieving revision 1.1.2.5
diff -u -p -r1.1.2.5 rules_admin.module
--- rules_admin/rules_admin.module	19 Apr 2009 21:21:31 -0000	1.1.2.5
+++ rules_admin/rules_admin.module	3 Aug 2009 14:30:55 -0000
@@ -95,6 +95,7 @@ function rules_admin_menu() {
 
   $items[RULES_ADMIN_PATH .'/ie'] = array(
     'title' => 'Import / Export',
+    'description' => 'Display your rules as text or create new rules from pasted text.',
     'page callback' => 'drupal_get_form',
     'page arguments' => array('rules_admin_form_export'),
     'access arguments' => array('administer rules'),
@@ -118,6 +119,7 @@ function rules_admin_menu() {
   );
   $items[RULES_ADMIN_PATH .'/settings'] = array(
     'title' => 'Settings',
+    'description' => 'Set display options, show/hide Rules messages.',
     'page callback' => 'drupal_get_form',
     'page arguments' => array('rules_admin_settings'),
     'access arguments' => array('administer rules'),
Index: rules_admin/rules_admin.render.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/Attic/rules_admin.render.inc,v
retrieving revision 1.1.2.2
diff -u -p -r1.1.2.2 rules_admin.render.inc
--- rules_admin/rules_admin.render.inc	19 Apr 2009 15:03:43 -0000	1.1.2.2
+++ rules_admin/rules_admin.render.inc	3 Aug 2009 14:30:55 -0000
@@ -16,16 +16,31 @@ function theme_rules_admin_rule_render($
   //add css
   $path = drupal_get_path('module', 'rules_admin') .'/rules_admin.css';
   drupal_add_css($path, 'module', 'all', FALSE);
+  
+  if (rules_admin_is_event_rule($element)) {
+    // Render event headline on event-triggered rules
+    $events = rules_get_event_sets();
+    $event_label = $events[$element['#set']]['label'];
+    $render['event_headline'] = array('#weight' => -10, '#value' => '<h3 class="event">'. t('ON event %event', array('%event' => $event_label)) .'</h3>');
+  }
+  else {
+    // Render rule set headline
+    $rulesets = rules_get_rule_sets();
+    $ruleset_label = $rulesets[$element['#set']]['label'];
+    $render['event_headline'] = array('#weight' => -10, '#value' => '<h3 class="event">'. t('IN rule set %ruleset', array('%ruleset' => $ruleset_label)) .'</h3>');
+  }
+  
+  $conditions = element_children($element['#conditions']);
+  if (!empty($conditions)) {
+    $render['condition_headline'] = array('#weight' => -6, '#value' => '<h3 class="conditions">'. t('IF') .'</h3>');
+    $render['conditions'] = $element['#conditions'];
+    $render['conditions']['#weight'] = 0;
+    
+    /* render the conditions of the rule like an AND */
+    $render['conditions'] += array('#theme' => 'rules_operation', '#label' => t('AND'), '#_root' => TRUE);
+  }
 
-  $render['condition_headline'] = array('#weight' => -6, '#value' => '<h3 class="conditions">'. t('Conditions') .'</h3>');
-  $render['conditions'] = $element['#conditions'];
-  $render['conditions']['#weight'] = 0;
-  /* render the conditions of the rule like an AND */
-
-
-  $render['conditions'] += array('#theme' => 'rules_operation', '#label' => t('AND'), '#_root' => TRUE);
-
-  $render['actions_headline'] = array('#weight' => 10, '#value' => '<h3 class="actions">'. t('Actions') .'</h3>');
+  $render['actions_headline'] = array('#weight' => 10, '#value' => '<h3 class="actions">'. t('DO') .'</h3>');
   $render['actions'] = $element['#actions'];
   $render['actions']['#weight'] = 20;
 
@@ -66,7 +81,7 @@ function theme_rule($element) {
  */
 function theme_condition($element) {
   $attributes = isset($element['#attributes']) ? $element['#attributes'] : array();
-  $title      = theme('rules_icon', 'condition') .' '. check_plain(rules_get_element_label($element));
+  $title      = theme('rules_icon', 'condition') . check_plain(rules_get_element_label($element));
   $path       = RULES_ADMIN_RULE_PATH .'/'. $element['#rule'] .'/edit/'. $element['#id'];
   $options    = array('attributes' => _rules_attributes_add_class($attributes, 'condition'), 'query' => drupal_get_destination(), 'html' => TRUE);
   $link       = l($title, $path, $options);
@@ -84,7 +99,7 @@ function theme_condition($element) {
  */
 function theme_action($element) {
   $attributes = isset($element['#attributes']) ? $element['#attributes'] : array();
-  $title      = theme('rules_icon', 'action') .' '. check_plain(rules_get_element_label($element));
+  $title      = theme('rules_icon', 'action') . check_plain(rules_get_element_label($element));
   $path       = RULES_ADMIN_RULE_PATH .'/'. $element['#rule'] .'/edit/'. $element['#id'];
   $options    = array('attributes' => _rules_attributes_add_class($attributes, 'action'), 'query' => drupal_get_destination(), 'html' => TRUE);
   return l($title, $path, $options);
Index: rules_admin/rules_admin.sets.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/Attic/rules_admin.sets.inc,v
retrieving revision 1.1.2.8
diff -u -p -r1.1.2.8 rules_admin.sets.inc
--- rules_admin/rules_admin.sets.inc	18 May 2009 12:05:20 -0000	1.1.2.8
+++ rules_admin/rules_admin.sets.inc	3 Aug 2009 14:30:55 -0000
@@ -195,7 +195,7 @@ function rules_admin_form_add_rule_set(&
     '#suffix' => '</div>',
     '#tree' => TRUE,
     '#theme' => 'rules_admin_form_arguments',
-    '#description' => t('You may specify some arguments, which have to be passed to the rule set when it is invoked. For each argument you have to specify a label, a certain data type and a unique machine readable name containing only alphanumeric characters, and underscores.'),
+    '#description' => t('You may specify some arguments, which have to be passed to the rule set when it is invoked. For each argument you have to specify a certain data type, a label and a unique machine readable name containing only alphanumeric characters, and underscores.'),
   );
   foreach ($set_info['arguments'] as $name => $info) {
     $form['settings']['args'][$name] = _rules_admin_form_argument($name, $info);
@@ -341,8 +341,8 @@ function theme_rules_admin_form_argument
 
   $rows = array();
   $headers = array(
-    t('Label'),
     t('Data type'),
+    t('Label'),
     t('Machine readable name'),
   );
 
@@ -355,8 +355,8 @@ function theme_rules_admin_form_argument
     // Build the table row.
     $row = array(
       'data' => array(
-        array('data' => drupal_render($form[$key]['label']), 'class' => 'rules-argument-label'),
         array('data' => drupal_render($form[$key]['type']), 'class' => 'rules-argument-data-type'),
+        array('data' => drupal_render($form[$key]['label']), 'class' => 'rules-argument-label'),
         array('data' => drupal_render($form[$key]['name']), 'class' => 'rules-argument-name'),
       ),
     );
Index: rules_admin/icons/action.png
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/icons/Attic/action.png,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 action.png
Binary files /tmp/cvsvmEZHX and action.png differ
Index: rules_admin/icons/add.png
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/icons/Attic/add.png,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 add.png
Binary files /tmp/cvsPMUSaC and add.png differ
Index: rules_admin/icons/condition.png
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/icons/Attic/condition.png,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 condition.png
Binary files /tmp/cvsbtiWDg and condition.png differ
Index: rules_admin/icons/edit.png
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/icons/Attic/edit.png,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 edit.png
Binary files /tmp/cvscQW96U and edit.png differ
Index: rules_admin/icons/indent.png
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/icons/Attic/indent.png,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 indent.png
Binary files /tmp/cvsTP5xAz and indent.png differ
Index: rules_admin/translations/de.po
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/translations/Attic/de.po,v
retrieving revision 1.1.2.2
diff -u -p -r1.1.2.2 de.po
--- rules_admin/translations/de.po	18 May 2009 12:14:01 -0000	1.1.2.2
+++ rules_admin/translations/de.po	3 Aug 2009 14:30:55 -0000
@@ -581,11 +581,11 @@ msgid "Arguments"
 msgstr "Argumente"
 
 #: rules_admin.sets.inc:198
-msgid "You may specify some arguments, which have to be passed to the rule set when it is invoked. For each argument you have to specify a label, a certain data type and a unique machine readable name containing only alphanumeric characters, and underscores."
+msgid "You may specify some arguments, which have to be passed to the rule set when it is invoked. For each argument you have to specify a certain data type, a label and a unique machine readable name containing only alphanumeric characters, and underscores."
 msgstr ""
 "Es können Argumente angegeben werden, die beim Aufruf an das "
-"Regel-Set übergeben werden. Für jedes Argument muss eine "
-"Bezeichnung, ein bestimmter Datentyp und ein eindeutiger "
+"Regel-Set übergeben werden. Für jedes Argument muss ein "
+"bestimmter Datentyp, eine Bezeichnung und ein eindeutiger "
 "maschinenlesbarer Name (der nur alphanumerische Zeichen und "
 "Unterstriche enthält) angegeben werden."
 
Index: rules_admin/translations/el.po
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/translations/Attic/el.po,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 el.po
--- rules_admin/translations/el.po	28 Mar 2009 21:54:19 -0000	1.1.2.1
+++ rules_admin/translations/el.po	3 Aug 2009 14:30:56 -0000
@@ -503,7 +503,7 @@ msgid "Arguments"
 msgstr "Παράμετροι"
 
 #: rules/rules_admin.sets.inc:197
-msgid "You may specify some arguments, which have to be passed to the rule set when it is invoked. For each argument you have to specify a label, a certain data type and a unique machine readable name containing only alphanumeric characters, and underscores."
+msgid "You may specify some arguments, which have to be passed to the rule set when it is invoked. For each argument you have to specify a certain data type, a label and a unique machine readable name containing only alphanumeric characters, and underscores."
 msgstr "Μπορείτε να ορίσετε ορισμένες παραμέτρους, που θα περνιούνται στο σύνολο κανόνων όταν αυτό καλείται. Για κάθε παράμετρο, πρέπει να ορίσετε μια ετικέτα, ένα συγκεκριμένο τύπο δεδομένων και ένα μοναδικό αναγνωρίσιμο από τη μηχανή όνομα που να περιέχει μόνο αλφαριθμητικούς χαρακτήρες και το χαρακτήρα '_' (underscore)."
 
 #: rules/rules_admin.sets.inc:208
Index: rules_admin/translations/ja.po
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/translations/Attic/ja.po,v
retrieving revision 1.1.2.2
diff -u -p -r1.1.2.2 ja.po
--- rules_admin/translations/ja.po	26 Jun 2009 05:22:57 -0000	1.1.2.2
+++ rules_admin/translations/ja.po	3 Aug 2009 14:30:56 -0000
@@ -558,7 +558,7 @@ msgid "Arguments"
 msgstr "引数"
 
 #: rules_admin.sets.inc:198
-msgid "You may specify some arguments, which have to be passed to the rule set when it is invoked. For each argument you have to specify a label, a certain data type and a unique machine readable name containing only alphanumeric characters, and underscores."
+msgid "You may specify some arguments, which have to be passed to the rule set when it is invoked. For each argument you have to specify a certain data type, a label and a unique machine readable name containing only alphanumeric characters, and underscores."
 msgstr "ルールセットが実行される際に渡される引数を指定することができます。題名とデータ型、そして英数字と下線(_)だけを含む機械で判読可能な固有の名前を各引数に設定できます。"
 
 #: rules_admin.sets.inc:209
Index: rules_admin/translations/rules_admin.pot
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/translations/Attic/rules_admin.pot,v
retrieving revision 1.1.2.3
diff -u -p -r1.1.2.3 rules_admin.pot
--- rules_admin/translations/rules_admin.pot	18 May 2009 12:14:01 -0000	1.1.2.3
+++ rules_admin/translations/rules_admin.pot	3 Aug 2009 14:30:56 -0000
@@ -1,13 +1,13 @@
-# $Id: rules_admin.pot,v 1.1.2.3 2009/05/18 12:14:01 fago Exp $
+# $Id$
 #
 # LANGUAGE translation of Drupal (general)
 # Copyright YEAR NAME <EMAIL@ADDRESS>
 # Generated from files:
-#  rules_admin.export.inc,v 1.1.2.5 2009/04/20 11:26:45 fago
+#  rules_admin.export.inc,v 1.1.2.6 2009/07/15 16:00:00 fago
 #  rules_admin.module,v 1.1.2.5 2009/04/19 21:21:31 fago
 #  rules_admin.inc,v 1.1.2.10 2009/04/20 11:45:58 fago
 #  rules_admin.rule_forms.inc,v 1.1.2.8 2009/04/19 21:21:31 fago
-#  rules_admin.sets.inc,v 1.1.2.7 2009/04/19 20:21:53 fago
+#  rules_admin.sets.inc,v 1.1.2.8 2009/05/18 12:05:20 fago
 #  rules_admin.render.inc,v 1.1.2.2 2009/04/19 15:03:43 fago
 #  rules_admin.info,v 1.1.2.2 2009/03/30 17:34:26 fago
 #  rules_admin.install,v 1.1.2.4 2009/04/19 18:19:06 fago
@@ -16,7 +16,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PROJECT VERSION\n"
-"POT-Creation-Date: 2009-05-18 14:11+0200\n"
+"POT-Creation-Date: 2009-08-03 15:26+0200\n"
 "PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
 "Last-Translator: NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
@@ -25,59 +25,63 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
 
-#: rules_admin.export.inc:18
+#: rules_admin.export.inc:20
 msgid "Configuration to import"
 msgstr ""
 
-#: rules_admin.export.inc:19
+#: rules_admin.export.inc:21
 msgid "Just paste your exported configuration here."
 msgstr ""
 
-#: rules_admin.export.inc:23 rules_admin.module:111
+#: rules_admin.export.inc:25 rules_admin.module:112
 msgid "Import"
 msgstr ""
 
-#: rules_admin.export.inc:40
+#: rules_admin.export.inc:42
 msgid "Imported %label."
 msgstr ""
 
-#: rules_admin.export.inc:46
+#: rules_admin.export.inc:48
 msgid "Import failed."
 msgstr ""
 
-#: rules_admin.export.inc:110
+#: rules_admin.export.inc:112
 msgid "Successfully imported the workflow-ng rule %label."
 msgstr ""
 
-#: rules_admin.export.inc:113
+#: rules_admin.export.inc:115
 msgid "Failed importing the workflow-ng rule %label."
 msgstr ""
 
-#: rules_admin.export.inc:132
+#: rules_admin.export.inc:135 rules_admin.inc:368 rules_admin.module:52
+msgid "Triggered rules"
+msgstr ""
+
+#: rules_admin.export.inc:141
 msgid "Select the %label to export"
 msgstr ""
 
-#: rules_admin.export.inc:139
+#: rules_admin.export.inc:148
 msgid "There are no %label to be exported."
 msgstr ""
 
-#: rules_admin.export.inc:147
+#: rules_admin.export.inc:156
 msgid "Export by category"
 msgstr ""
 
-#: rules_admin.export.inc:153 rules_admin.module:106
+#: rules_admin.export.inc:162 rules_admin.module:107
 msgid "Export"
 msgstr ""
 
-#: rules_admin.export.inc:159
+#: rules_admin.export.inc:168
 msgid "Exported rule configurations"
 msgstr ""
 
-#: rules_admin.export.inc:160
+#: rules_admin.export.inc:169
 msgid "Copy these data and paste them into the import page, to import."
 msgstr ""
 
-#: rules_admin.export.inc:197
+#: rules_admin.export.inc:199
 msgid "Please select the items to export."
 msgstr ""
 
@@ -85,7 +89,7 @@ msgstr ""
 msgid "Description"
 msgstr ""
 
-#: rules_admin.inc:296 rules_admin.rule_forms.inc:112;423;481;679 rules_admin.sets.inc:16;141;276;344
+#: rules_admin.inc:296 rules_admin.rule_forms.inc:112;423;481;679 rules_admin.sets.inc:16;141;276;345
 msgid "Label"
 msgstr ""
 
@@ -157,55 +161,59 @@ msgstr ""
 msgid "Default"
 msgstr ""
 
-#: rules_admin.inc:363 rules_admin.module:173
+#: rules_admin.inc:363 rules_admin.module:175
 msgid "Rule sets"
 msgstr ""
 
-#: rules_admin.inc:368 rules_admin.module:52
-msgid "Triggered rules"
+#: rules_admin.render.inc:24
+msgid "ON event %event"
 msgstr ""
 
-#: rules_admin.render.inc:20
-msgid "Conditions"
+#: rules_admin.render.inc:30
+msgid "IN rule set %ruleset"
 msgstr ""
 
-#: rules_admin.render.inc:26
+#: rules_admin.render.inc:34
+msgid "IF"
+msgstr ""
+
+#: rules_admin.render.inc:39
 msgid "AND"
 msgstr ""
 
-#: rules_admin.render.inc:28
-msgid "Actions"
+#: rules_admin.render.inc:42
+msgid "DO"
 msgstr ""
 
-#: rules_admin.render.inc:34
+#: rules_admin.render.inc:48
 msgid "Add a condition"
 msgstr ""
 
-#: rules_admin.render.inc:35
+#: rules_admin.render.inc:49
 msgid "Add an action"
 msgstr ""
 
-#: rules_admin.render.inc:76
+#: rules_admin.render.inc:90
 msgid "Indent this condition by adding a logical operation."
 msgstr ""
 
-#: rules_admin.render.inc:78;138
+#: rules_admin.render.inc:92;152
 msgid "NOT"
 msgstr ""
 
-#: rules_admin.render.inc:118
+#: rules_admin.render.inc:132
 msgid "Empty"
 msgstr ""
 
-#: rules_admin.render.inc:139
+#: rules_admin.render.inc:153
 msgid "!not%label group"
 msgstr ""
 
-#: rules_admin.render.inc:140
+#: rules_admin.render.inc:154
 msgid "Add another condition to this group"
 msgstr ""
 
-#: rules_admin.render.inc:141
+#: rules_admin.render.inc:155
 msgid "Edit this condition group"
 msgstr ""
 
@@ -333,7 +341,7 @@ msgstr ""
 msgid "Save"
 msgstr ""
 
-#: rules_admin.rule_forms.inc:450;514;578;807 rules_admin.sets.inc:62 rules_admin.module:77;156
+#: rules_admin.rule_forms.inc:450;514;578;807 rules_admin.sets.inc:62 rules_admin.module:77;158
 msgid "Delete"
 msgstr ""
 
@@ -532,7 +540,7 @@ msgid "Arguments"
 msgstr ""
 
 #: rules_admin.sets.inc:198
-msgid "You may specify some arguments, which have to be passed to the rule set when it is invoked. For each argument you have to specify a label, a certain data type and a unique machine readable name containing only alphanumeric characters, and underscores."
+msgid "You may specify some arguments, which have to be passed to the rule set when it is invoked. For each argument you have to specify a certain data type, a label and a unique machine readable name containing only alphanumeric characters, and underscores."
 msgstr ""
 
 #: rules_admin.sets.inc:209
@@ -555,7 +563,7 @@ msgstr ""
 msgid "Each name may be used only once."
 msgstr ""
 
-#: rules_admin.sets.inc:285;345
+#: rules_admin.sets.inc:285;344
 msgid "Data type"
 msgstr ""
 
@@ -571,7 +579,7 @@ msgstr ""
 msgid "This is an overview about rules that are triggered by a certain event. A rule may contain conditions and actions, which are executed only when the conditions are met."
 msgstr ""
 
-#: rules_admin.module:276
+#: rules_admin.module:278
 msgid "administer rules"
 msgstr ""
 
@@ -587,11 +595,11 @@ msgstr ""
 msgid "Customize your site by configuring rules that are evaluated on events."
 msgstr ""
 
-#: rules_admin.module:62;182;213
+#: rules_admin.module:62;184;215
 msgid "Overview"
 msgstr ""
 
-#: rules_admin.module:67;219
+#: rules_admin.module:67;221
 msgid "Add a new rule"
 msgstr ""
 
@@ -599,34 +607,38 @@ msgstr ""
 msgid "Import / Export"
 msgstr ""
 
-#: rules_admin.module:120
+#: rules_admin.module:98
+msgid "Display your rules as text or create new rules from pasted text."
+msgstr ""
+
+#: rules_admin.module:121
 msgid "Settings"
 msgstr ""
 
-#: rules_admin.module:139
+#: rules_admin.module:122
+msgid "Set display options, show/hide Rules messages."
+msgstr ""
+
+#: rules_admin.module:141
 msgid "Add"
 msgstr ""
 
-#: rules_admin.module:147
+#: rules_admin.module:149
 msgid "Edit"
 msgstr ""
 
-#: rules_admin.module:165
+#: rules_admin.module:167
 msgid "Clone rule"
 msgstr ""
 
-#: rules_admin.module:174
+#: rules_admin.module:176
 msgid "Create and manage rule sets."
 msgstr ""
 
-#: rules_admin.module:187
+#: rules_admin.module:189
 msgid "Add a new rule set"
 msgstr ""
 
-#: rules_admin.module:0
-msgid "rules_admin"
-msgstr ""
-
 #: rules_admin.install:29
 msgid "Example rule: When viewing an unpublished page, publish it."
 msgstr ""
@@ -654,3 +666,4 @@ msgstr ""
 #: rules_admin.info:0
 msgid "Provides the administration UI for rules."
 msgstr ""
+
Index: rules_admin/translations/sv.po
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rules/rules_admin/translations/Attic/sv.po,v
retrieving revision 1.1.2.2
diff -u -p -r1.1.2.2 sv.po
--- rules_admin/translations/sv.po	3 May 2009 21:35:08 -0000	1.1.2.2
+++ rules_admin/translations/sv.po	3 Aug 2009 14:30:56 -0000
@@ -560,7 +560,7 @@ msgid "Arguments"
 msgstr "Argument"
 
 #: rules_admin.sets.inc:198
-msgid "You may specify some arguments, which have to be passed to the rule set when it is invoked. For each argument you have to specify a label, a certain data type and a unique machine readable name containing only alphanumeric characters, and underscores."
+msgid "You may specify some arguments, which have to be passed to the rule set when it is invoked. For each argument you have to specify a certain data type, a label and a unique machine readable name containing only alphanumeric characters, and underscores."
 msgstr "Du kan specificera några argument som måste passeras i regeluppsättningen när den är anropad. För varje argument måste du specificera en etikett, en given datatyp och ett unikt maskinläsbart namn som består enbart av alfanumeriska tecken och understreck."
 
 #: rules_admin.sets.inc:209
