From 130c1492c5ff2fe4fd6d0e6fa8c4eb9b55b1311d Mon Sep 17 00:00:00 2001
From: Neil Drumm <drumm@3064.no-reply.drupal.org>
Date: Tue, 2 May 2006 09:01:23 +0000
Subject: [PATCH] #61304 by fgm, use t() for a string.

---
 includes/theme.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/includes/theme.inc b/includes/theme.inc
index 20d0d0f814de..3d933194e09c 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -625,10 +625,10 @@ function theme_form_element($title, $value, $description = NULL, $id = NULL, $re
 
   if ($title) {
     if ($id) {
-      $output .= ' <label for="'. form_clean_id($id) .'">'. $title .":$required</label>\n";
+      $output .= ' <label for="'. form_clean_id($id) .'">'. t('%title: %required', array('%title' => $title, '%required' => $required)) . "</label>\n";
     }
     else {
-      $output .= ' <label>'. $title .":$required</label>\n";
+      $output .= ' <label>'. t('%title: %required', array('%title' => $title, '%required' => $required)) . "</label>\n";
     }
   }
 
-- 
GitLab