Merge branch 'ImproveDeleteAssetDialog' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-ImproveDeleteAssetDialog
This commit is contained in:
@@ -641,7 +641,7 @@ namespace FlaxEditor.Windows
|
|||||||
string singularPlural = toDelete.Count > 1 ? "s" : "";
|
string singularPlural = toDelete.Count > 1 ? "s" : "";
|
||||||
|
|
||||||
string msg = toDelete.Count == 1
|
string msg = toDelete.Count == 1
|
||||||
? string.Format("Delete \'{0}\'?\n\nThis action cannot be undone.\nFiles will be deleted permanently.", items[0].Path)
|
? string.Format("Delete \'{0}\'?\n\nThis action cannot be undone.\nFile will be deleted permanently.", items[0].Path)
|
||||||
: string.Format("Delete {0} selected items?\n\nThis action cannot be undone.\nFiles will be deleted permanently.", items.Count);
|
: string.Format("Delete {0} selected items?\n\nThis action cannot be undone.\nFiles will be deleted permanently.", items.Count);
|
||||||
|
|
||||||
// Ask user
|
// Ask user
|
||||||
|
|||||||
Reference in New Issue
Block a user