added sprintf to strings for tranlation support

This commit is contained in:
Felix Rabinovich
2008-12-25 02:59:45 +00:00
parent 2c6a80fb76
commit 6e68c5ca28
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ class user_Core {
public static function get_delete_form($user, $action = NULL) {
$form = new Forge($action);
$group = $form->group("delete_user")->label(_("Delete User"));
$group->label(_("Are you sure you want to delete " . $user->name . "?"));
$group->label(sprintf(_("Are you sure you want to delete %s?"), $user->name));
$group->submit(_("Delete"));
return $form;
}