Index: workflow_ng_token.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/workflow_ng/workflow_ng/modules/Attic/workflow_ng_token.inc,v
retrieving revision 1.1.2.8
diff -u -p -r1.1.2.8 workflow_ng_token.inc
--- workflow_ng_token.inc	5 Dec 2007 10:35:25 -0000	1.1.2.8
+++ workflow_ng_token.inc	17 Jan 2008 15:34:38 -0000
@@ -21,9 +21,11 @@ function workflow_ng_token_values($entit
   }
   else if ($entity_type == 'node') {
     $node = $object;
-    $values['status'] = $node->status ? t('yes') : t('no');
-    $values['promote'] = $node->promote ? t('yes') : t('no');
-    $values['sticky'] = $node->sticky ? t('yes') : t('no');
+    // Note: these yes/no strings aren't enveloped in t() because we want
+    // string comparisons involving them to work in localized systems too.
+    $values['status'] = $node->status ? 'yes' : 'no';
+    $values['promote'] = $node->promote ? 'yes' : 'no';
+    $values['sticky'] = $node->sticky ? 'yes' : 'no';
   }
   return $values;
 }
@@ -39,9 +41,9 @@ function workflow_ng_token_list($entity_
   $tokens['global']['path-arg-x'] = t('The Xst argument of the current active path.');
 
   if ($entity_type == 'node') {
-    $tokens['node']['status'] = t('Whether the node is published. (@yes/@no)', array('@yes' => t('yes'), '@no' => t('no')));
-    $tokens['node']['promote'] = t('Whether the node is promoted to the front page. (@yes/@no)', array('@yes' => t('yes'), '@no' => t('no')));
-    $tokens['node']['sticky'] = t('Whether the node is sticky at the top of lists. (@yes/@no)', array('@yes' => t('yes'), '@no' => t('no')));
+    $tokens['node']['status'] = t('Whether the node is published. (yes/no, in English)');
+    $tokens['node']['promote'] = t('Whether the node is promoted to the front page. (yes/no, in English)');
+    $tokens['node']['sticky'] = t('Whether the node is sticky at the top of lists. (yes/no, in English)');
   }
   return $tokens;
 }
