diff --git a/locales/de_DE/LC_MESSAGES/messages.mo b/locales/de_DE/LC_MESSAGES/messages.mo index 917c4b8..8532273 100644 Binary files a/locales/de_DE/LC_MESSAGES/messages.mo and b/locales/de_DE/LC_MESSAGES/messages.mo differ diff --git a/locales/de_DE/LC_MESSAGES/messages.po b/locales/de_DE/LC_MESSAGES/messages.po index 5f01a04..06879f5 100644 --- a/locales/de_DE/LC_MESSAGES/messages.po +++ b/locales/de_DE/LC_MESSAGES/messages.po @@ -5,80 +5,104 @@ msgid "" msgstr "" "Project-Id-Version: RavenLog\n" -"POT-Creation-Date: 2022-02-12 10:14+0100\n" -"PO-Revision-Date: 2022-02-12 10:17+0100\n" +"POT-Creation-Date: 2022-08-21 09:51+0200\n" +"PO-Revision-Date: 2022-08-21 09:58+0200\n" "Last-Translator: \n" "Language-Team: \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: pygettext.py 1.5\n" -"X-Generator: Poedit 2.3\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: pygettext.py 1.5\n" +"X-Generator: Poedit 3.0.1\n" -#: src/mainwindow.py:39 src/plugins/krowlog/aboutdialog.py:23 +#: src/mainwindow.py:34 src/plugins/krowlog/aboutdialog.py:24 #: src/plugins/krowlogplugin.py:85 msgid "KrowLog" msgstr "KrowLog" -#: src/mainwindow.py:47 src/plugins/openfileplugin.py:29 +#: src/mainwindow.py:42 src/plugins/openfileplugin.py:30 msgid "Open &Recent" msgstr "Zu&letzt geöffnete Dateien" -#: src/mainwindow.py:66 +#: src/mainwindow.py:64 msgid "&File" msgstr "&Datei" -#: src/mainwindow.py:67 +#: src/mainwindow.py:65 msgid "&Settings" msgstr "&Einstellungen" -#: src/mainwindow.py:68 +#: src/mainwindow.py:66 msgid "&Window" msgstr "&Fenster" -#: src/mainwindow.py:69 +#: src/mainwindow.py:67 msgid "&Help" msgstr "&Hilfe" -#: src/mainwindow.py:101 src/ui/bigtext/bigtext.py:187 +#: src/mainwindow.py:99 src/ui/bigtext/bigtext.py:188 msgid "&Highlighter" msgstr "&Hervorhebungen" -#: src/mainwindow.py:108 +#: src/mainwindow.py:106 msgid "Highlight &Searches" msgstr "&Suchtreffer Hervorheben" -#: src/mainwindow.py:116 +#: src/mainwindow.py:114 msgid "Open Tab on Save As File" msgstr "Öffne neues Tab wenn Selektion als neue Datei gespeichert wird" -#: src/plugins/krowlog/aboutdialog.py:18 +#: src/plugins/findInFiles/findinfileswidget.py:37 +msgid "Focus on current file" +msgstr "Auf aktuelle Datei fokussieren" + +#: src/plugins/findInFiles/findinfileswidget.py:40 +msgid "Folder:" +msgstr "Ordner:" + +#: src/plugins/findInFiles/findinfileswidget.py:45 +msgid "Filter:" +msgstr "Filter:" + +#: src/plugins/findInFiles/findinfileswidget.py:83 +msgid "Open Directory" +msgstr "Ordner öffnen" + +#: src/plugins/findinfilesplugin.py:31 +msgid "&Find In Files" +msgstr "In &Dateien Suchen" + +#: src/plugins/findinfilesplugin.py:37 +msgid "Find In Files" +msgstr "In Dateien Suchen" + +#: src/plugins/krowlog/aboutdialog.py:19 msgid "About KrowLog" msgstr "Über KrowLog" -#: src/plugins/krowlog/aboutdialog.py:28 +#: src/plugins/krowlog/aboutdialog.py:29 msgid "Version: {0}" msgstr "Version: {0}" -#: src/plugins/krowlog/aboutdialog.py:43 +#: src/plugins/krowlog/aboutdialog.py:44 msgid "About" msgstr "Über KrowLog" -#: src/plugins/krowlog/aboutdialog.py:44 +#: src/plugins/krowlog/aboutdialog.py:45 msgid "License" msgstr "Lizenz" -#: src/plugins/krowlog/aboutdialog.py:57 +#: src/plugins/krowlog/aboutdialog.py:58 msgid "Log file viewer" msgstr "Betrachter für Logdateien" -#: src/plugins/krowlog/aboutdialog.py:58 +#: src/plugins/krowlog/aboutdialog.py:59 msgid "(c) 2022 Andreas Huber" msgstr "(c) 2022 Andreas Huber" -#: src/plugins/krowlog/aboutdialog.py:59 +#: src/plugins/krowlog/aboutdialog.py:60 msgid "License: LGPL v3" msgstr "Lizenz: LGPL v3" @@ -122,71 +146,75 @@ msgstr "&Über KrowLog" msgid "E&xit" msgstr "&Beenden" -#: src/plugins/logfile/filterwidget.py:134 +#: src/plugins/logfile/filterwidget.py:137 msgid "Cancel" msgstr "Abbrechen" -#: src/plugins/logfile/filterwidget.py:138 +#: src/plugins/logfile/filterwidget.py:143 +msgid "save query" +msgstr "suche speichern" + +#: src/plugins/logfile/filterwidget.py:148 msgid "ignore case" msgstr "Groß-/Kleinschreibung ignorieren" -#: src/plugins/logfile/filterwidget.py:142 +#: src/plugins/logfile/filterwidget.py:152 msgid "regex" msgstr "RegExp" -#: src/plugins/logfileplugin.py:25 +#: src/plugins/logfileplugin.py:26 msgid "File not found" msgstr "Datei nicht gefunden" -#: src/plugins/logfileplugin.py:26 +#: src/plugins/logfileplugin.py:27 msgid "'{0}' is not a file or cannot be opened" msgstr "'{0}' ist keine Datei oder kann nicht geöffnet werden" -#: src/plugins/notesplugin.py:25 -msgid "Add &Notes" -msgstr "&Notizen Hinzufügen" +#: src/plugins/notesplugin.py:24 +msgid "&Notes" +msgstr "&Notizen" -#: src/plugins/notesplugin.py:33 +#: src/plugins/notesplugin.py:32 msgid "Notes {0}" msgstr "Notizen {0}" -#: src/plugins/openfileplugin.py:24 +#: src/plugins/openfileplugin.py:25 msgid "&Open..." msgstr "&Öffnen..." -#: src/plugins/openfileplugin.py:45 +#: src/plugins/openfileplugin.py:46 msgid "Open File" msgstr "Öffne Datei" -#: src/ui/bigtext/bigtext.py:170 +#: src/ui/bigtext/bigtext.py:171 msgid "&Copy to Clipboard" msgstr "In Zwischenablage &Kopieren" -#: src/ui/bigtext/bigtext.py:176 +#: src/ui/bigtext/bigtext.py:177 msgid "Copy to &File" msgstr "In &Datei Kopieren" -#: src/ui/bigtext/bigtext.py:181 +#: src/ui/bigtext/bigtext.py:182 msgid "Select &All" msgstr "&Alles Selektieren" -#: src/ui/bigtext/bigtext.py:331 +#: src/ui/bigtext/bigtext.py:332 msgid "data selection" msgstr "selektion" -#: src/ui/bigtext/bigtext.py:332 +#: src/ui/bigtext/bigtext.py:333 msgid "You have selected {0} of data." msgstr "Du hast {0} selektiert." -#: src/ui/bigtext/bigtext.py:335 +#: src/ui/bigtext/bigtext.py:336 msgid "Copy {0} to Clipboard" msgstr "Kopiere {0} in die Zwischenablage" -#: src/ui/bigtext/bigtext.py:337 +#: src/ui/bigtext/bigtext.py:338 msgid "Write to File" msgstr "Schreibe in Datei" -#: src/ui/bigtext/bigtext.py:359 +#: src/ui/bigtext/bigtext.py:360 msgid "Save File" msgstr "Speichere Datei" diff --git a/locales/messages.pot b/locales/messages.pot index e865184..ddc0bb6 100644 --- a/locales/messages.pot +++ b/locales/messages.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2022-02-12 10:14+0100\n" +"POT-Creation-Date: 2022-08-21 09:51+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -15,68 +15,92 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" -#: src/mainwindow.py:39 src/plugins/krowlog/aboutdialog.py:23 +#: src/mainwindow.py:34 src/plugins/krowlog/aboutdialog.py:24 #: src/plugins/krowlogplugin.py:85 msgid "KrowLog" msgstr "" -#: src/mainwindow.py:47 src/plugins/openfileplugin.py:29 +#: src/mainwindow.py:42 src/plugins/openfileplugin.py:30 msgid "Open &Recent" msgstr "" -#: src/mainwindow.py:66 +#: src/mainwindow.py:64 msgid "&File" msgstr "" -#: src/mainwindow.py:67 +#: src/mainwindow.py:65 msgid "&Settings" msgstr "" -#: src/mainwindow.py:68 +#: src/mainwindow.py:66 msgid "&Window" msgstr "" -#: src/mainwindow.py:69 +#: src/mainwindow.py:67 msgid "&Help" msgstr "" -#: src/mainwindow.py:101 src/ui/bigtext/bigtext.py:187 +#: src/mainwindow.py:99 src/ui/bigtext/bigtext.py:188 msgid "&Highlighter" msgstr "" -#: src/mainwindow.py:108 +#: src/mainwindow.py:106 msgid "Highlight &Searches" msgstr "" -#: src/mainwindow.py:116 +#: src/mainwindow.py:114 msgid "Open Tab on Save As File" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:18 +#: src/plugins/findInFiles/findinfileswidget.py:37 +msgid "Focus on current file" +msgstr "" + +#: src/plugins/findInFiles/findinfileswidget.py:40 +msgid "Folder:" +msgstr "" + +#: src/plugins/findInFiles/findinfileswidget.py:45 +msgid "Filter:" +msgstr "" + +#: src/plugins/findInFiles/findinfileswidget.py:83 +msgid "Open Directory" +msgstr "" + +#: src/plugins/findinfilesplugin.py:31 +msgid "&Find In Files" +msgstr "" + +#: src/plugins/findinfilesplugin.py:37 +msgid "Find In Files" +msgstr "" + +#: src/plugins/krowlog/aboutdialog.py:19 msgid "About KrowLog" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:28 +#: src/plugins/krowlog/aboutdialog.py:29 msgid "Version: {0}" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:43 +#: src/plugins/krowlog/aboutdialog.py:44 msgid "About" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:44 +#: src/plugins/krowlog/aboutdialog.py:45 msgid "License" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:57 +#: src/plugins/krowlog/aboutdialog.py:58 msgid "Log file viewer" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:58 +#: src/plugins/krowlog/aboutdialog.py:59 msgid "(c) 2022 Andreas Huber" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:59 +#: src/plugins/krowlog/aboutdialog.py:60 msgid "License: LGPL v3" msgstr "" @@ -116,71 +140,79 @@ msgstr "" msgid "E&xit" msgstr "" -#: src/plugins/logfile/filterwidget.py:134 +#: src/plugins/logfile/filterwidget.py:137 msgid "Cancel" msgstr "" -#: src/plugins/logfile/filterwidget.py:138 +#: src/plugins/logfile/filterwidget.py:143 +msgid "save query" +msgstr "" + +#: src/plugins/logfile/filterwidget.py:148 msgid "ignore case" msgstr "" -#: src/plugins/logfile/filterwidget.py:142 +#: src/plugins/logfile/filterwidget.py:152 msgid "regex" msgstr "" -#: src/plugins/logfileplugin.py:25 +#: src/plugins/logfileplugin.py:26 msgid "File not found" msgstr "" -#: src/plugins/logfileplugin.py:26 +#: src/plugins/logfileplugin.py:27 msgid "'{0}' is not a file or cannot be opened" msgstr "" -#: src/plugins/notesplugin.py:25 -msgid "Add &Notes" +#: src/plugins/notesplugin.py:24 +msgid "&Notes" msgstr "" -#: src/plugins/notesplugin.py:33 +#: src/plugins/notesplugin.py:32 msgid "Notes {0}" msgstr "" -#: src/plugins/openfileplugin.py:24 +#: src/plugins/openfileplugin.py:25 msgid "&Open..." msgstr "" -#: src/plugins/openfileplugin.py:45 +#: src/plugins/openfileplugin.py:46 msgid "Open File" msgstr "" -#: src/ui/bigtext/bigtext.py:170 +#: src/plugins/timediffplugin.py:17 +msgid "" +msgstr "" + +#: src/ui/bigtext/bigtext.py:171 msgid "&Copy to Clipboard" msgstr "" -#: src/ui/bigtext/bigtext.py:176 +#: src/ui/bigtext/bigtext.py:177 msgid "Copy to &File" msgstr "" -#: src/ui/bigtext/bigtext.py:181 +#: src/ui/bigtext/bigtext.py:182 msgid "Select &All" msgstr "" -#: src/ui/bigtext/bigtext.py:331 +#: src/ui/bigtext/bigtext.py:332 msgid "data selection" msgstr "" -#: src/ui/bigtext/bigtext.py:332 +#: src/ui/bigtext/bigtext.py:333 msgid "You have selected {0} of data." msgstr "" -#: src/ui/bigtext/bigtext.py:335 +#: src/ui/bigtext/bigtext.py:336 msgid "Copy {0} to Clipboard" msgstr "" -#: src/ui/bigtext/bigtext.py:337 +#: src/ui/bigtext/bigtext.py:338 msgid "Write to File" msgstr "" -#: src/ui/bigtext/bigtext.py:359 +#: src/ui/bigtext/bigtext.py:360 msgid "Save File" msgstr "" diff --git a/src/plugins/findInFiles/findinfileswidget.py b/src/plugins/findInFiles/findinfileswidget.py index 1c033dd..8805d13 100644 --- a/src/plugins/findInFiles/findinfileswidget.py +++ b/src/plugins/findInFiles/findinfileswidget.py @@ -1,14 +1,13 @@ -import glob import os import sys from pathlib import Path from PySide6.QtCore import QDir, QModelIndex -from PySide6.QtGui import QIcon, QStandardItemModel, QStandardItem +from PySide6.QtGui import QIcon from src.pluginregistry import PluginRegistry from src.plugins.krowlog.Tab import Tab -from PySide6.QtWidgets import QTextEdit, QVBoxLayout, QLabel, QLineEdit, QPushButton, QFileDialog, QTreeView, \ +from PySide6.QtWidgets import QVBoxLayout, QLabel, QLineEdit, QPushButton, QFileDialog, QTreeView, \ QFileSystemModel from src.i18n import _ from src.settings.settings import Settings