Mon, 01 Jan 2024 12:06:56 +0100
Viewmanager
- Added a user confirmation to prevent inadvertent deletion of the current editor's contents.
--- a/src/eric7/ViewManager/ViewManager.py Mon Jan 01 11:59:44 2024 +0100 +++ b/src/eric7/ViewManager/ViewManager.py Mon Jan 01 12:06:56 2024 +0100 @@ -6581,7 +6581,12 @@ if QApplication.focusWidget() == ericApp().getObject("Shell"): ericApp().getObject("Shell").clear() else: - self.activeWindow().clear() + if EricMessageBox.yesNo( + self, + self.tr("Clear Editor"), + self.tr("Do you really want to delete all text of the current editor?"), + ): + self.activeWindow().clear() def __editJoin(self): """
--- a/src/eric7/i18n/eric7_cs.ts Mon Jan 01 11:59:44 2024 +0100 +++ b/src/eric7/i18n/eric7_cs.ts Mon Jan 01 12:06:56 2024 +0100 @@ -96445,33 +96445,43 @@ <translation>&Edit...</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7460" /> - <location filename="../ViewManager/ViewManager.py" line="7446" /> - <location filename="../ViewManager/ViewManager.py" line="7414" /> + <location filename="../ViewManager/ViewManager.py" line="7465" /> + <location filename="../ViewManager/ViewManager.py" line="7451" /> + <location filename="../ViewManager/ViewManager.py" line="7419" /> <source>Edit Spelling Dictionary</source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7417" /> + <location filename="../ViewManager/ViewManager.py" line="7422" /> <source><p>The spelling dictionary file <b>{0}</b> could not be read.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7433" /> + <location filename="../ViewManager/ViewManager.py" line="7438" /> <source>Editing {0}</source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7449" /> + <location filename="../ViewManager/ViewManager.py" line="7454" /> <source><p>The spelling dictionary file <b>{0}</b> could not be written.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7463" /> + <location filename="../ViewManager/ViewManager.py" line="7468" /> <source>The spelling dictionary was saved successfully.</source> <translation type="unfinished" /> </message> <message> + <location filename="../ViewManager/ViewManager.py" line="6586" /> + <source>Clear Editor</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../ViewManager/ViewManager.py" line="6587" /> + <source>Do you really want to delete all text of the current editor?</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../QScintilla/ShellWindow.py" line="937" /> <source><b>Search</b><p>Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.</p></source> <translation type="unfinished" />
--- a/src/eric7/i18n/eric7_de.ts Mon Jan 01 11:59:44 2024 +0100 +++ b/src/eric7/i18n/eric7_de.ts Mon Jan 01 12:06:56 2024 +0100 @@ -95715,33 +95715,43 @@ <translation>&Bearbeiten...</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7460"/> - <location filename="../ViewManager/ViewManager.py" line="7446"/> - <location filename="../ViewManager/ViewManager.py" line="7414"/> + <location filename="../ViewManager/ViewManager.py" line="7465"/> + <location filename="../ViewManager/ViewManager.py" line="7451"/> + <location filename="../ViewManager/ViewManager.py" line="7419"/> <source>Edit Spelling Dictionary</source> <translation>Wörterbuch bearbeiten</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7417"/> + <location filename="../ViewManager/ViewManager.py" line="7422"/> <source><p>The spelling dictionary file <b>{0}</b> could not be read.</p><p>Reason: {1}</p></source> <translation><p>Die Wörterbuchdatei <b>{0}</b> konnte nicht gelesen werden.</p><p>Ursache: {1}</p></translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7433"/> + <location filename="../ViewManager/ViewManager.py" line="7438"/> <source>Editing {0}</source> <translation>Bearbeite {0}</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7449"/> + <location filename="../ViewManager/ViewManager.py" line="7454"/> <source><p>The spelling dictionary file <b>{0}</b> could not be written.</p><p>Reason: {1}</p></source> <translation><p>Die Wörterbuchdatei <b>{0}</b> konnte nicht geschrieben werden.</p><p>Ursache: {1}</p></translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7463"/> + <location filename="../ViewManager/ViewManager.py" line="7468"/> <source>The spelling dictionary was saved successfully.</source> <translation>Das Wörterbuch wurde erfolgreich gespeichert.</translation> </message> <message> + <location filename="../ViewManager/ViewManager.py" line="6586"/> + <source>Clear Editor</source> + <translation>Editor löschen</translation> + </message> + <message> + <location filename="../ViewManager/ViewManager.py" line="6587"/> + <source>Do you really want to delete all text of the current editor?</source> + <translation>Soll wirklich der gesamte Text des aktuellen Editors gelöscht werden?</translation> + </message> + <message> <location filename="../QScintilla/ShellWindow.py" line="937"/> <source><b>Search</b><p>Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.</p></source> <translation><b>Suchen</b><p>Sucht einen Text im Shell Fenster. Es wird ein Dialog eingeblendet, in dem der Suchtext und verschieden Suchoptionen eingegeben werden kann.</p></translation>
--- a/src/eric7/i18n/eric7_empty.ts Mon Jan 01 11:59:44 2024 +0100 +++ b/src/eric7/i18n/eric7_empty.ts Mon Jan 01 12:06:56 2024 +0100 @@ -95129,33 +95129,43 @@ <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7460" /> - <location filename="../ViewManager/ViewManager.py" line="7446" /> - <location filename="../ViewManager/ViewManager.py" line="7414" /> + <location filename="../ViewManager/ViewManager.py" line="7465" /> + <location filename="../ViewManager/ViewManager.py" line="7451" /> + <location filename="../ViewManager/ViewManager.py" line="7419" /> <source>Edit Spelling Dictionary</source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7417" /> + <location filename="../ViewManager/ViewManager.py" line="7422" /> <source><p>The spelling dictionary file <b>{0}</b> could not be read.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7433" /> + <location filename="../ViewManager/ViewManager.py" line="7438" /> <source>Editing {0}</source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7449" /> + <location filename="../ViewManager/ViewManager.py" line="7454" /> <source><p>The spelling dictionary file <b>{0}</b> could not be written.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7463" /> + <location filename="../ViewManager/ViewManager.py" line="7468" /> <source>The spelling dictionary was saved successfully.</source> <translation type="unfinished" /> </message> <message> + <location filename="../ViewManager/ViewManager.py" line="6586" /> + <source>Clear Editor</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../ViewManager/ViewManager.py" line="6587" /> + <source>Do you really want to delete all text of the current editor?</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../QScintilla/ShellWindow.py" line="937" /> <source><b>Search</b><p>Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.</p></source> <translation type="unfinished" />
--- a/src/eric7/i18n/eric7_en.ts Mon Jan 01 11:59:44 2024 +0100 +++ b/src/eric7/i18n/eric7_en.ts Mon Jan 01 12:06:56 2024 +0100 @@ -95189,33 +95189,43 @@ <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7460" /> - <location filename="../ViewManager/ViewManager.py" line="7446" /> - <location filename="../ViewManager/ViewManager.py" line="7414" /> + <location filename="../ViewManager/ViewManager.py" line="7465" /> + <location filename="../ViewManager/ViewManager.py" line="7451" /> + <location filename="../ViewManager/ViewManager.py" line="7419" /> <source>Edit Spelling Dictionary</source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7417" /> + <location filename="../ViewManager/ViewManager.py" line="7422" /> <source><p>The spelling dictionary file <b>{0}</b> could not be read.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7433" /> + <location filename="../ViewManager/ViewManager.py" line="7438" /> <source>Editing {0}</source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7449" /> + <location filename="../ViewManager/ViewManager.py" line="7454" /> <source><p>The spelling dictionary file <b>{0}</b> could not be written.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7463" /> + <location filename="../ViewManager/ViewManager.py" line="7468" /> <source>The spelling dictionary was saved successfully.</source> <translation type="unfinished" /> </message> <message> + <location filename="../ViewManager/ViewManager.py" line="6586" /> + <source>Clear Editor</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../ViewManager/ViewManager.py" line="6587" /> + <source>Do you really want to delete all text of the current editor?</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../QScintilla/ShellWindow.py" line="937" /> <source><b>Search</b><p>Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.</p></source> <translation type="unfinished" />
--- a/src/eric7/i18n/eric7_es.ts Mon Jan 01 11:59:44 2024 +0100 +++ b/src/eric7/i18n/eric7_es.ts Mon Jan 01 12:06:56 2024 +0100 @@ -95690,33 +95690,43 @@ <translation>&Editar...</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7460" /> - <location filename="../ViewManager/ViewManager.py" line="7446" /> - <location filename="../ViewManager/ViewManager.py" line="7414" /> + <location filename="../ViewManager/ViewManager.py" line="7465" /> + <location filename="../ViewManager/ViewManager.py" line="7451" /> + <location filename="../ViewManager/ViewManager.py" line="7419" /> <source>Edit Spelling Dictionary</source> <translation>Editar Diccionario Ortográfico</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7417" /> + <location filename="../ViewManager/ViewManager.py" line="7422" /> <source><p>The spelling dictionary file <b>{0}</b> could not be read.</p><p>Reason: {1}</p></source> <translation><p>El archivo de diccionario ortográfico <b>{0}</b> no se puede leer.</p><p>Razón: {1}</p></translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7433" /> + <location filename="../ViewManager/ViewManager.py" line="7438" /> <source>Editing {0}</source> <translation>Editando {0}</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7449" /> + <location filename="../ViewManager/ViewManager.py" line="7454" /> <source><p>The spelling dictionary file <b>{0}</b> could not be written.</p><p>Reason: {1}</p></source> <translation><p>El archivo de diccionario ortográfico <b>{0}</b> no se puede escribir.</p><p>Razón: {1}</p></translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7463" /> + <location filename="../ViewManager/ViewManager.py" line="7468" /> <source>The spelling dictionary was saved successfully.</source> <translation>El diccionario ortográfico se ha guardado con éxito.</translation> </message> <message> + <location filename="../ViewManager/ViewManager.py" line="6586" /> + <source>Clear Editor</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../ViewManager/ViewManager.py" line="6587" /> + <source>Do you really want to delete all text of the current editor?</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../QScintilla/ShellWindow.py" line="937" /> <source><b>Search</b><p>Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.</p></source> <translation><b>Buscar</b><p>Buscar texto en la ventana de shell. Se muestra un diálogo para introducir el texto y opciones para la búsqueda.</p></translation>
--- a/src/eric7/i18n/eric7_fr.ts Mon Jan 01 11:59:44 2024 +0100 +++ b/src/eric7/i18n/eric7_fr.ts Mon Jan 01 12:06:56 2024 +0100 @@ -96948,33 +96948,43 @@ <translation>&Editer...</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7460" /> - <location filename="../ViewManager/ViewManager.py" line="7446" /> - <location filename="../ViewManager/ViewManager.py" line="7414" /> + <location filename="../ViewManager/ViewManager.py" line="7465" /> + <location filename="../ViewManager/ViewManager.py" line="7451" /> + <location filename="../ViewManager/ViewManager.py" line="7419" /> <source>Edit Spelling Dictionary</source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7417" /> + <location filename="../ViewManager/ViewManager.py" line="7422" /> <source><p>The spelling dictionary file <b>{0}</b> could not be read.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7433" /> + <location filename="../ViewManager/ViewManager.py" line="7438" /> <source>Editing {0}</source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7449" /> + <location filename="../ViewManager/ViewManager.py" line="7454" /> <source><p>The spelling dictionary file <b>{0}</b> could not be written.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7463" /> + <location filename="../ViewManager/ViewManager.py" line="7468" /> <source>The spelling dictionary was saved successfully.</source> <translation type="unfinished" /> </message> <message> + <location filename="../ViewManager/ViewManager.py" line="6586" /> + <source>Clear Editor</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../ViewManager/ViewManager.py" line="6587" /> + <source>Do you really want to delete all text of the current editor?</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../QScintilla/ShellWindow.py" line="937" /> <source><b>Search</b><p>Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.</p></source> <translation type="unfinished" />
--- a/src/eric7/i18n/eric7_it.ts Mon Jan 01 11:59:44 2024 +0100 +++ b/src/eric7/i18n/eric7_it.ts Mon Jan 01 12:06:56 2024 +0100 @@ -96631,33 +96631,43 @@ <translation>&Modifica...</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7460" /> - <location filename="../ViewManager/ViewManager.py" line="7446" /> - <location filename="../ViewManager/ViewManager.py" line="7414" /> + <location filename="../ViewManager/ViewManager.py" line="7465" /> + <location filename="../ViewManager/ViewManager.py" line="7451" /> + <location filename="../ViewManager/ViewManager.py" line="7419" /> <source>Edit Spelling Dictionary</source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7417" /> + <location filename="../ViewManager/ViewManager.py" line="7422" /> <source><p>The spelling dictionary file <b>{0}</b> could not be read.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7433" /> + <location filename="../ViewManager/ViewManager.py" line="7438" /> <source>Editing {0}</source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7449" /> + <location filename="../ViewManager/ViewManager.py" line="7454" /> <source><p>The spelling dictionary file <b>{0}</b> could not be written.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7463" /> + <location filename="../ViewManager/ViewManager.py" line="7468" /> <source>The spelling dictionary was saved successfully.</source> <translation type="unfinished" /> </message> <message> + <location filename="../ViewManager/ViewManager.py" line="6586" /> + <source>Clear Editor</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../ViewManager/ViewManager.py" line="6587" /> + <source>Do you really want to delete all text of the current editor?</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../QScintilla/ShellWindow.py" line="937" /> <source><b>Search</b><p>Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.</p></source> <translation type="unfinished" />
--- a/src/eric7/i18n/eric7_pt.ts Mon Jan 01 11:59:44 2024 +0100 +++ b/src/eric7/i18n/eric7_pt.ts Mon Jan 01 12:06:56 2024 +0100 @@ -96192,33 +96192,43 @@ <translation>&Editar...</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7460" /> - <location filename="../ViewManager/ViewManager.py" line="7446" /> - <location filename="../ViewManager/ViewManager.py" line="7414" /> + <location filename="../ViewManager/ViewManager.py" line="7465" /> + <location filename="../ViewManager/ViewManager.py" line="7451" /> + <location filename="../ViewManager/ViewManager.py" line="7419" /> <source>Edit Spelling Dictionary</source> <translation>Editar Dicionário Ortográfico</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7417" /> + <location filename="../ViewManager/ViewManager.py" line="7422" /> <source><p>The spelling dictionary file <b>{0}</b> could not be read.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7433" /> + <location filename="../ViewManager/ViewManager.py" line="7438" /> <source>Editing {0}</source> <translation>A editar {0}</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7449" /> + <location filename="../ViewManager/ViewManager.py" line="7454" /> <source><p>The spelling dictionary file <b>{0}</b> could not be written.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7463" /> + <location filename="../ViewManager/ViewManager.py" line="7468" /> <source>The spelling dictionary was saved successfully.</source> <translation>O dicionário ortográfico foi guradado com êxito.</translation> </message> <message> + <location filename="../ViewManager/ViewManager.py" line="6586" /> + <source>Clear Editor</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../ViewManager/ViewManager.py" line="6587" /> + <source>Do you really want to delete all text of the current editor?</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../QScintilla/ShellWindow.py" line="937" /> <source><b>Search</b><p>Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.</p></source> <translation type="unfinished" />
--- a/src/eric7/i18n/eric7_ru.ts Mon Jan 01 11:59:44 2024 +0100 +++ b/src/eric7/i18n/eric7_ru.ts Mon Jan 01 12:06:56 2024 +0100 @@ -95927,33 +95927,43 @@ <translation>&Правка...</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7460" /> - <location filename="../ViewManager/ViewManager.py" line="7446" /> - <location filename="../ViewManager/ViewManager.py" line="7414" /> + <location filename="../ViewManager/ViewManager.py" line="7465" /> + <location filename="../ViewManager/ViewManager.py" line="7451" /> + <location filename="../ViewManager/ViewManager.py" line="7419" /> <source>Edit Spelling Dictionary</source> <translation>Редактировать орфографический словарь</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7417" /> + <location filename="../ViewManager/ViewManager.py" line="7422" /> <source><p>The spelling dictionary file <b>{0}</b> could not be read.</p><p>Reason: {1}</p></source> <translation><p>Невозможно прочитать файл словаря<b>{0}</b></p><p>Причина: {1}</p></translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7433" /> + <location filename="../ViewManager/ViewManager.py" line="7438" /> <source>Editing {0}</source> <translation>Редактирование {0}</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7449" /> + <location filename="../ViewManager/ViewManager.py" line="7454" /> <source><p>The spelling dictionary file <b>{0}</b> could not be written.</p><p>Reason: {1}</p></source> <translation><p>Невозможно записать файл словаря<b>{0}</b></p><p>Причина: {1}</p></translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7463" /> + <location filename="../ViewManager/ViewManager.py" line="7468" /> <source>The spelling dictionary was saved successfully.</source> <translation>Файл словаря успешно сохранён.</translation> </message> <message> + <location filename="../ViewManager/ViewManager.py" line="6586" /> + <source>Clear Editor</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../ViewManager/ViewManager.py" line="6587" /> + <source>Do you really want to delete all text of the current editor?</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../QScintilla/ShellWindow.py" line="937" /> <source><b>Search</b><p>Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.</p></source> <translation><b>Поиск</b><p>Поиск текста в окне оболочки. Отображается диалог для ввода текста поиска и параметров поиска.</p></translation>
--- a/src/eric7/i18n/eric7_tr.ts Mon Jan 01 11:59:44 2024 +0100 +++ b/src/eric7/i18n/eric7_tr.ts Mon Jan 01 12:06:56 2024 +0100 @@ -96158,33 +96158,43 @@ <translation>Düz&en...</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7460" /> - <location filename="../ViewManager/ViewManager.py" line="7446" /> - <location filename="../ViewManager/ViewManager.py" line="7414" /> + <location filename="../ViewManager/ViewManager.py" line="7465" /> + <location filename="../ViewManager/ViewManager.py" line="7451" /> + <location filename="../ViewManager/ViewManager.py" line="7419" /> <source>Edit Spelling Dictionary</source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7417" /> + <location filename="../ViewManager/ViewManager.py" line="7422" /> <source><p>The spelling dictionary file <b>{0}</b> could not be read.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7433" /> + <location filename="../ViewManager/ViewManager.py" line="7438" /> <source>Editing {0}</source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7449" /> + <location filename="../ViewManager/ViewManager.py" line="7454" /> <source><p>The spelling dictionary file <b>{0}</b> could not be written.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7463" /> + <location filename="../ViewManager/ViewManager.py" line="7468" /> <source>The spelling dictionary was saved successfully.</source> <translation type="unfinished" /> </message> <message> + <location filename="../ViewManager/ViewManager.py" line="6586" /> + <source>Clear Editor</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../ViewManager/ViewManager.py" line="6587" /> + <source>Do you really want to delete all text of the current editor?</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../QScintilla/ShellWindow.py" line="937" /> <source><b>Search</b><p>Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.</p></source> <translation type="unfinished" />
--- a/src/eric7/i18n/eric7_zh_CN.ts Mon Jan 01 11:59:44 2024 +0100 +++ b/src/eric7/i18n/eric7_zh_CN.ts Mon Jan 01 12:06:56 2024 +0100 @@ -96743,33 +96743,43 @@ <translation>编辑(&E)…</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7460" /> - <location filename="../ViewManager/ViewManager.py" line="7446" /> - <location filename="../ViewManager/ViewManager.py" line="7414" /> + <location filename="../ViewManager/ViewManager.py" line="7465" /> + <location filename="../ViewManager/ViewManager.py" line="7451" /> + <location filename="../ViewManager/ViewManager.py" line="7419" /> <source>Edit Spelling Dictionary</source> <translation type="unfinished">编辑拼写字典</translation> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7417" /> + <location filename="../ViewManager/ViewManager.py" line="7422" /> <source><p>The spelling dictionary file <b>{0}</b> could not be read.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7433" /> + <location filename="../ViewManager/ViewManager.py" line="7438" /> <source>Editing {0}</source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7449" /> + <location filename="../ViewManager/ViewManager.py" line="7454" /> <source><p>The spelling dictionary file <b>{0}</b> could not be written.</p><p>Reason: {1}</p></source> <translation type="unfinished" /> </message> <message> - <location filename="../ViewManager/ViewManager.py" line="7463" /> + <location filename="../ViewManager/ViewManager.py" line="7468" /> <source>The spelling dictionary was saved successfully.</source> <translation type="unfinished" /> </message> <message> + <location filename="../ViewManager/ViewManager.py" line="6586" /> + <source>Clear Editor</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../ViewManager/ViewManager.py" line="6587" /> + <source>Do you really want to delete all text of the current editor?</source> + <translation type="unfinished" /> + </message> + <message> <location filename="../QScintilla/ShellWindow.py" line="937" /> <source><b>Search</b><p>Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.</p></source> <translation type="unfinished" />