Hard-code "storage" in error when trying to set data dir to 'storage'

This commit is contained in:
Dan Stillman 2021-12-24 02:06:39 -05:00
parent d361930bcc
commit 918570479e
2 changed files with 2 additions and 2 deletions

View file

@ -473,7 +473,7 @@ Zotero.DataDirectory = {
let index = ps.confirmEx(
null,
Zotero.getString('general.error'),
Zotero.getString('dataDir.cannotBeSetWithAlternative', [parentPath]),
Zotero.getString('dataDir.cannotBeSetWithAlternative', ['storage', parentPath]),
buttonFlags,
null, null, null, null, {}
);

View file

@ -170,7 +170,7 @@ dataDir.selectDir = Select a Zotero data directory
dataDir.selectNewDir = Select a new %S data directory
dataDir.changeDataDirectory = Change Data Directory…
dataDir.chooseNewDataDirectory = Choose New Data Directory…
dataDir.cannotBeSetWithAlternative = The data directory cannot be set to a “storage” directory. Did you mean %S?
dataDir.cannotBeSetWithAlternative = The data directory cannot be set to a “%S” directory. Did you mean %S?
dataDir.cannotBeLinkedAttachmentBaseDirectory = The data directory cannot be set to the same location as the Linked Attachment Base Directory.
dataDir.unsafeLocation.selected.cloud = Storing the data directory in a cloud storage folder is very likely to corrupt your database.
dataDir.unsafeLocation.selected.areYouSure = Are you sure you want to use this location?