Translate 'Delete User' button as pointed out by Matthias Mohr

This commit is contained in:
Andrew McMillan 2009-10-27 21:38:57 +13:00
parent 75297372f1
commit 0f792369b5

View File

@ -91,7 +91,7 @@ class DAViCalUser extends User
$html .= $ef->SubmitButton( 'submit', (('insert' == $this->WriteType) ? translate('Create') : translate('Update')) );
if ( 'insert' != $this->WriteType ) {
$html .= '        ';
$html .= sprintf('<a class="fsubmit" href="%s/usr.php?user_no=%s&action=delete_user">Delete User</a>', $c->base_url, $this->user_no );
$html .= sprintf('<a class="fsubmit" href="%s/usr.php?user_no=%s&action=delete_user">%s</a>', $c->base_url, $this->user_no, translate('Delete User') );
}
$html .= '</div>';
$html .= $ef->EndForm();