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

5.x
Neil Drumm 2006-05-02 09:01:23 +00:00
parent ac89011bfd
commit 130c1492c5
1 changed files with 2 additions and 2 deletions

View File

@ -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";
}
}