From 78f4cc01c110731cf657deec257bf9cbb0f2d426 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 15 May 2011 17:38:57 -0700 Subject: =?UTF-8?q?-=20Patch=20#1157426=20by=20G=C3=A1bor=20Hojtsy:=20fiel?= =?UTF-8?q?d=20system=20uses=20t()=20incorrectly=20and=20inconsistently.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/taxonomy/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy') diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index f08df601e..5fb41e61f 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1316,7 +1316,7 @@ function taxonomy_field_validate($entity_type, $entity, $field, $instance, $lang if (!$validate) { $errors[$field['field_name']][$langcode][$delta][] = array( 'error' => 'taxonomy_term_reference_illegal_value', - 'message' => t('%name: illegal value.', array('%name' => t($instance['label']))), + 'message' => t('%name: illegal value.', array('%name' => $instance['label'])), ); } } -- cgit v1.2.3