Commit 130c1492 authored by drumm's avatar drumm
Browse files

#61304 by fgm, use t() for a string.

parent ac89011b
...@@ -625,10 +625,10 @@ function theme_form_element($title, $value, $description = NULL, $id = NULL, $re ...@@ -625,10 +625,10 @@ function theme_form_element($title, $value, $description = NULL, $id = NULL, $re
if ($title) { if ($title) {
if ($id) { 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 { else {
$output .= ' <label>'. $title .":$required</label>\n"; $output .= ' <label>'. t('%title: %required', array('%title' => $title, '%required' => $required)) . "</label>\n";
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment