Remove outdated startup error messages (#3138)

This commit is contained in:
Abe Jellinek 2023-05-26 04:38:12 +03:00 committed by GitHub
parent 42572efca9
commit 4cfe682367
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View file

@ -797,10 +797,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
if (_checkDataDirAccessError(e)) {}
// Storage busy
else if (e.message.includes('2153971713')) {
Zotero.startupError = Zotero.getString('startupError.databaseInUse') + "\n\n"
+ Zotero.getString(
"startupError.close" + (Zotero.isStandalone ? 'Firefox' : 'Standalone')
);
Zotero.startupError = Zotero.getString('startupError.databaseInUse');
}
else {
let stack = e.stack ? Zotero.Utilities.Internal.filterStack(e.stack) : null;

View file

@ -222,8 +222,6 @@ app.firefox = Zotero for Firefox
startupError = There was an error starting %S.
startupError.databaseInUse = Your Zotero database is currently in use. Only one instance of Zotero using the same database may be opened simultaneously at this time.
startupError.closeStandalone = If Zotero Standalone is open, please close it and restart Firefox.
startupError.closeFirefox = If Firefox with the Zotero extension is open, please close it and restart Zotero Standalone.
startupError.zoteroVersionIsOlder = This version of Zotero is older than the version last used with your database.
startupError.incompatibleDBVersion = This %1$S database requires %1$S %2$S or later.
startupError.zoteroVersionIsOlder.current = Current version: %S