Bug 27893: (QA follow-up) Rephrase warning
See comment24 as well. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
c1a983a7c7
commit
82270fb7e7
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ function confirm_deletion(link) {
|
|||
is_confirmed = alert(__("%s item(s) are attached to this record. You must delete all items before deleting this record.").format(count));
|
||||
} else if (countorders > 0){
|
||||
if( order_manage_permission ){
|
||||
is_confirmed = confirm(__("Warning: This record is used in %s order(s). Deleting it could cause serious issues on acquisition module. Are you sure you want to delete this record?").format(countorders));
|
||||
is_confirmed = confirm(__("Warning: This record is used in %s order(s). These orders will be cancelled. Are you sure you want to delete this record?").format(countorders));
|
||||
} else {
|
||||
is_confirmed = alert(__("%s order(s) are using this record. You need order managing permissions to delete this record.").format(countorders));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue