diff --git a/locales/en-US/editor.properties b/locales/en-US/editor.properties index 7edb7a92c..b7e0c5c57 100644 --- a/locales/en-US/editor.properties +++ b/locales/en-US/editor.properties @@ -83,6 +83,8 @@ EXT_DELETED_MESSAGE={0} has been deleted on CONFIRM_FOLDER_DELETE_TITLE=Confirm Delete # {0} will be replaced by a directory name CONFIRM_FOLDER_DELETE=Are you sure you want to delete the folder {0}? +# {0} will be replaced by a file name +CONFIRM_FILE_DELETE=Are you sure you want to delete {0}? FILE_DELETED_TITLE=File Deleted # General Dialog/Button labels diff --git a/src/document/DocumentCommandHandlers.js b/src/document/DocumentCommandHandlers.js index db7b4652b..a66ba9341 100644 --- a/src/document/DocumentCommandHandlers.js +++ b/src/document/DocumentCommandHandlers.js @@ -1659,7 +1659,7 @@ define(function (require, exports, module) { DefaultDialogs.DIALOG_ID_EXT_DELETED, Strings.CONFIRM_FOLDER_DELETE_TITLE, StringUtils.format( - "Are you sure you want to delete {0}?", + Strings.CONFIRM_FILE_DELETE, StringUtils.breakableUrl(entry.name) ), [