--- a/src/eric7/WebBrowser/WebBrowserView.py Sat Sep 24 13:38:40 2022 +0200 +++ b/src/eric7/WebBrowser/WebBrowserView.py Sat Sep 24 14:19:37 2022 +0200 @@ -2382,7 +2382,7 @@ ## Methods below implement slots for Qt 6.4+ ########################################################################### - @pyqtSlot("QWebEngineFileSystemAccessRequest") +## @pyqtSlot("QWebEngineFileSystemAccessRequest") def __fileSystemAccessRequested(self, accessRequest): """ Private slot to handle file system access requests of the web page. @@ -2407,21 +2407,21 @@ == QWebEngineFileSystemAccessRequest.AccessFlag.Read ): msgTemplate = self.tr( - "<p>Grant the web site at <b>{0}</b> <b>Read</b> access" - " to '{0}'?</p>" + "<p>Grant the website at <b>{0}</b> <b>Read</b> access" + " to '{1}'?</p>" ) elif ( accessRequest.accessFlags() == QWebEngineFileSystemAccessRequest.AccessFlag.Write ): msgTemplate = self.tr( - "<p>Grant the web site at <b>{0}</b> <b>Write</b> access" - " to '{0}'?</p>" + "<p>Grant the website at <b>{0}</b> <b>Write</b> access" + " to '{1}'?</p>" ) else: msgTemplate = self.tr( - "<p>Grant the web site at <b>{0}</b> <b>Read and Write</b> access" - " to '{0}'?</p>" + "<p>Grant the website at <b>{0}</b> <b>Read and Write</b> access" + " to '{1}'?</p>" ) ok = EricMessageBox.yesNo(