diff options
author | Felix Rabinovich <virshu@users.sourceforge.net> | 2008-12-25 02:59:45 +0000 |
---|---|---|
committer | Felix Rabinovich <virshu@users.sourceforge.net> | 2008-12-25 02:59:45 +0000 |
commit | 6e68c5ca28e52773fca16e77aecdde2b92351af2 (patch) | |
tree | ccd7f06c312b5e591c8be3722e0f97fd035bc733 /modules | |
parent | 2c6a80fb766e11a481e53741b504f484324af546 (diff) |
added sprintf to strings for tranlation support
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user/helpers/group.php | 2 | ||||
-rw-r--r-- | modules/user/helpers/user.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/helpers/group.php b/modules/user/helpers/group.php index f32e37dc..673f7d92 100644 --- a/modules/user/helpers/group.php +++ b/modules/user/helpers/group.php @@ -93,7 +93,7 @@ class group_Core { public static function get_delete_form($group, $action = NULL) { $form = new Forge($action); $form_group = $form->group("delete_group")->label(_("Delete Group")); - $form_group->label(_("Are you sure you want to delete " . $group->name . "?")); + $form_group->label(sprintf(_("Are you sure you want to delete %s?"), $group->name)); $form_group->submit(_("Delete")); return $form; } diff --git a/modules/user/helpers/user.php b/modules/user/helpers/user.php index 9ffcebfc..34611dbd 100644 --- a/modules/user/helpers/user.php +++ b/modules/user/helpers/user.php @@ -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; } |