rename ravenlog to krowlog
There is a database named RavenDB. KrowLog starts with a K, which is a) distinctive and b) has an association to KDE.
This commit is contained in:
3
.idea/ravenlog.iml
generated
3
.idea/ravenlog.iml
generated
@@ -2,9 +2,8 @@
|
|||||||
<module type="PYTHON_MODULE" version="4">
|
<module type="PYTHON_MODULE" version="4">
|
||||||
<component name="NewModuleRootManager">
|
<component name="NewModuleRootManager">
|
||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/venv39" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/venv310" />
|
<excludeFolder url="file://$MODULE_DIR$/venv310" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/3rd-party" />
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="jdk" jdkName="Python 3.10 (ravenlog)" jdkType="Python SDK" />
|
<orderEntry type="jdk" jdkName="Python 3.10 (ravenlog)" jdkType="Python SDK" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#  RavenLog
|
#  KrowLog
|
||||||
|
|
||||||
RavenLog is a viewer for text files of arbitrary length.
|
KrowLog is a viewer for text files of arbitrary size.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
raven_icon = "icons/icon8d.png"
|
krow_icon = "icons/icon8d.png"
|
||||||
|
|
||||||
tab_width = 4
|
tab_width = 4
|
||||||
|
|||||||
Binary file not shown.
@@ -5,8 +5,8 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: RavenLog\n"
|
"Project-Id-Version: RavenLog\n"
|
||||||
"POT-Creation-Date: 2022-02-06 16:17+0100\n"
|
"POT-Creation-Date: 2022-02-12 10:14+0100\n"
|
||||||
"PO-Revision-Date: 2022-02-06 16:17+0100\n"
|
"PO-Revision-Date: 2022-02-12 10:17+0100\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"Language: de\n"
|
"Language: de\n"
|
||||||
@@ -17,113 +17,92 @@ msgstr ""
|
|||||||
"X-Generator: Poedit 2.3\n"
|
"X-Generator: Poedit 2.3\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
#: raven/mainwindow.py:39 raven/plugins/ravenlog/aboutdialog.py:23
|
#: src/mainwindow.py:39 src/plugins/krowlog/aboutdialog.py:23
|
||||||
#: raven/plugins/ravenlogplugin.py:82
|
#: src/plugins/krowlogplugin.py:85
|
||||||
msgid "RavenLog"
|
msgid "KrowLog"
|
||||||
msgstr "RavenLog"
|
msgstr "KrowLog"
|
||||||
|
|
||||||
#: raven/mainwindow.py:47 raven/plugins/openfileplugin.py:29
|
#: src/mainwindow.py:47 src/plugins/openfileplugin.py:29
|
||||||
msgid "Open &Recent"
|
msgid "Open &Recent"
|
||||||
msgstr "Zu&letzt geöffnete Dateien"
|
msgstr "Zu&letzt geöffnete Dateien"
|
||||||
|
|
||||||
#: raven/mainwindow.py:66
|
#: src/mainwindow.py:66
|
||||||
#: venv310/lib/python3.10/site-packages/PySide6/examples/widgets/gettext/main.py:57
|
|
||||||
msgid "&File"
|
msgid "&File"
|
||||||
msgstr "&Datei"
|
msgstr "&Datei"
|
||||||
|
|
||||||
#: raven/mainwindow.py:67
|
#: src/mainwindow.py:67
|
||||||
msgid "&Settings"
|
msgid "&Settings"
|
||||||
msgstr "&Einstellungen"
|
msgstr "&Einstellungen"
|
||||||
|
|
||||||
#: raven/mainwindow.py:68
|
#: src/mainwindow.py:68
|
||||||
msgid "&Window"
|
msgid "&Window"
|
||||||
msgstr "&Fenster"
|
msgstr "&Fenster"
|
||||||
|
|
||||||
#: raven/mainwindow.py:69
|
#: src/mainwindow.py:69
|
||||||
msgid "&Help"
|
msgid "&Help"
|
||||||
msgstr "&Hilfe"
|
msgstr "&Hilfe"
|
||||||
|
|
||||||
#: raven/mainwindow.py:101 raven/ui/bigtext/bigtext.py:187
|
#: src/mainwindow.py:101 src/ui/bigtext/bigtext.py:187
|
||||||
msgid "&Highlighter"
|
msgid "&Highlighter"
|
||||||
msgstr "&Hervorhebungen"
|
msgstr "&Hervorhebungen"
|
||||||
|
|
||||||
#: raven/mainwindow.py:108
|
#: src/mainwindow.py:108
|
||||||
msgid "Highlight &Searches"
|
msgid "Highlight &Searches"
|
||||||
msgstr "&Suchtreffer Hervorheben"
|
msgstr "&Suchtreffer Hervorheben"
|
||||||
|
|
||||||
#: raven/mainwindow.py:116
|
#: src/mainwindow.py:116
|
||||||
msgid "Open Tab on Save As File"
|
msgid "Open Tab on Save As File"
|
||||||
msgstr "Öffne neues Tab wenn Selektion als neue Datei gespeichert wird"
|
msgstr "Öffne neues Tab wenn Selektion als neue Datei gespeichert wird"
|
||||||
|
|
||||||
#: raven/plugins/logfile/filterwidget.py:101
|
#: src/plugins/krowlog/aboutdialog.py:18
|
||||||
msgid "Cancel"
|
msgid "About KrowLog"
|
||||||
msgstr "Abbrechen"
|
msgstr "Über KrowLog"
|
||||||
|
|
||||||
#: raven/plugins/logfile/filterwidget.py:105
|
#: src/plugins/krowlog/aboutdialog.py:28
|
||||||
msgid "ignore case"
|
msgid "Version: {0}"
|
||||||
msgstr "Groß-/Kleinschreibung ignorieren"
|
msgstr "Version: {0}"
|
||||||
|
|
||||||
#: raven/plugins/logfile/filterwidget.py:109
|
#: src/plugins/krowlog/aboutdialog.py:43
|
||||||
msgid "regex"
|
|
||||||
msgstr "RegExp"
|
|
||||||
|
|
||||||
#: raven/plugins/logfileplugin.py:25
|
|
||||||
msgid "File not found"
|
|
||||||
msgstr "Datei nicht gefunden"
|
|
||||||
|
|
||||||
#: raven/plugins/logfileplugin.py:26
|
|
||||||
msgid "'{0}' is not a file or cannot be opened"
|
|
||||||
msgstr "'{0}' ist keine Datei oder kann nicht geöffnet werden"
|
|
||||||
|
|
||||||
#: raven/plugins/notesplugin.py:25
|
|
||||||
msgid "Add &Notes"
|
|
||||||
msgstr "&Notizen Hinzufügen"
|
|
||||||
|
|
||||||
#: raven/plugins/notesplugin.py:33
|
|
||||||
msgid "Notes {0}"
|
|
||||||
msgstr "Notizen {0}"
|
|
||||||
|
|
||||||
#: raven/plugins/openfileplugin.py:24
|
|
||||||
msgid "&Open..."
|
|
||||||
msgstr "&Öffnen..."
|
|
||||||
|
|
||||||
#: raven/plugins/openfileplugin.py:45
|
|
||||||
msgid "Open File"
|
|
||||||
msgstr "Öffne Datei"
|
|
||||||
|
|
||||||
#: raven/plugins/ravenlog/aboutdialog.py:18
|
|
||||||
msgid "About RavenLog"
|
|
||||||
msgstr "Über RavenLog"
|
|
||||||
|
|
||||||
#: raven/plugins/ravenlog/aboutdialog.py:43
|
|
||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr "Über RavenLog"
|
msgstr "Über KrowLog"
|
||||||
|
|
||||||
#: raven/plugins/ravenlog/aboutdialog.py:44
|
#: src/plugins/krowlog/aboutdialog.py:44
|
||||||
msgid "License"
|
msgid "License"
|
||||||
msgstr "Lizenz"
|
msgstr "Lizenz"
|
||||||
|
|
||||||
#: raven/plugins/ravenlogplugin.py:43
|
#: src/plugins/krowlog/aboutdialog.py:57
|
||||||
|
msgid "Log file viewer"
|
||||||
|
msgstr "Betrachter für Logdateien"
|
||||||
|
|
||||||
|
#: src/plugins/krowlog/aboutdialog.py:58
|
||||||
|
msgid "(c) 2022 Andreas Huber"
|
||||||
|
msgstr "(c) 2022 Andreas Huber"
|
||||||
|
|
||||||
|
#: src/plugins/krowlog/aboutdialog.py:59
|
||||||
|
msgid "License: LGPL v3"
|
||||||
|
msgstr "Lizenz: LGPL v3"
|
||||||
|
|
||||||
|
#: src/plugins/krowlogplugin.py:43
|
||||||
msgid "&Languages"
|
msgid "&Languages"
|
||||||
msgstr "&Sprachen"
|
msgstr "&Sprachen"
|
||||||
|
|
||||||
#: raven/plugins/ravenlogplugin.py:44
|
#: src/plugins/krowlogplugin.py:44
|
||||||
msgid "&Default"
|
msgid "&Default"
|
||||||
msgstr "&Standard"
|
msgstr "&Standard"
|
||||||
|
|
||||||
#: raven/plugins/ravenlogplugin.py:45
|
#: src/plugins/krowlogplugin.py:45
|
||||||
msgid "&English"
|
msgid "&English"
|
||||||
msgstr "&English"
|
msgstr "&English"
|
||||||
|
|
||||||
#: raven/plugins/ravenlogplugin.py:46
|
#: src/plugins/krowlogplugin.py:46
|
||||||
msgid "&German"
|
msgid "&German"
|
||||||
msgstr "&Deutsch"
|
msgstr "&Deutsch"
|
||||||
|
|
||||||
#: raven/plugins/ravenlogplugin.py:70
|
#: src/plugins/krowlogplugin.py:70
|
||||||
msgid "Language Changed"
|
msgid "Language Changed"
|
||||||
msgstr "Sprache geändert"
|
msgstr "Sprache geändert"
|
||||||
|
|
||||||
#: raven/plugins/ravenlogplugin.py:71
|
#: src/plugins/krowlogplugin.py:71
|
||||||
msgid ""
|
msgid ""
|
||||||
"The language for this application has been changed. The change will take "
|
"The language for this application has been changed. The change will take "
|
||||||
"effect the next time the application is started."
|
"effect the next time the application is started."
|
||||||
@@ -131,177 +110,214 @@ msgstr ""
|
|||||||
"Die Anwendungssprache wurde geändert. Die Änderung wird erst beim nächsten "
|
"Die Anwendungssprache wurde geändert. Die Änderung wird erst beim nächsten "
|
||||||
"Start der Anwendung wirksam."
|
"Start der Anwendung wirksam."
|
||||||
|
|
||||||
#: raven/plugins/ravenlogplugin.py:80
|
#: src/plugins/krowlogplugin.py:83
|
||||||
msgid "{0} - RavenLog"
|
msgid "{0} - KrowLog"
|
||||||
msgstr "{0} - RavenLog"
|
msgstr "{0} - KrowLog"
|
||||||
|
|
||||||
#: raven/plugins/ravenlogplugin.py:102
|
#: src/plugins/krowlogplugin.py:105
|
||||||
msgid "&About"
|
msgid "&About"
|
||||||
msgstr "&Über RavenLog"
|
msgstr "&Über KrowLog"
|
||||||
|
|
||||||
#: raven/plugins/ravenlogplugin.py:110
|
#: src/plugins/krowlogplugin.py:113
|
||||||
msgid "E&xit"
|
msgid "E&xit"
|
||||||
msgstr "&Beenden"
|
msgstr "&Beenden"
|
||||||
|
|
||||||
#: raven/ui/bigtext/bigtext.py:170
|
#: src/plugins/logfile/filterwidget.py:134
|
||||||
|
msgid "Cancel"
|
||||||
|
msgstr "Abbrechen"
|
||||||
|
|
||||||
|
#: src/plugins/logfile/filterwidget.py:138
|
||||||
|
msgid "ignore case"
|
||||||
|
msgstr "Groß-/Kleinschreibung ignorieren"
|
||||||
|
|
||||||
|
#: src/plugins/logfile/filterwidget.py:142
|
||||||
|
msgid "regex"
|
||||||
|
msgstr "RegExp"
|
||||||
|
|
||||||
|
#: src/plugins/logfileplugin.py:25
|
||||||
|
msgid "File not found"
|
||||||
|
msgstr "Datei nicht gefunden"
|
||||||
|
|
||||||
|
#: src/plugins/logfileplugin.py:26
|
||||||
|
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:33
|
||||||
|
msgid "Notes {0}"
|
||||||
|
msgstr "Notizen {0}"
|
||||||
|
|
||||||
|
#: src/plugins/openfileplugin.py:24
|
||||||
|
msgid "&Open..."
|
||||||
|
msgstr "&Öffnen..."
|
||||||
|
|
||||||
|
#: src/plugins/openfileplugin.py:45
|
||||||
|
msgid "Open File"
|
||||||
|
msgstr "Öffne Datei"
|
||||||
|
|
||||||
|
#: src/ui/bigtext/bigtext.py:170
|
||||||
msgid "&Copy to Clipboard"
|
msgid "&Copy to Clipboard"
|
||||||
msgstr "In Zwischenablage &Kopieren"
|
msgstr "In Zwischenablage &Kopieren"
|
||||||
|
|
||||||
#: raven/ui/bigtext/bigtext.py:176
|
#: src/ui/bigtext/bigtext.py:176
|
||||||
msgid "Copy to &File"
|
msgid "Copy to &File"
|
||||||
msgstr "In &Datei Kopieren"
|
msgstr "In &Datei Kopieren"
|
||||||
|
|
||||||
#: raven/ui/bigtext/bigtext.py:181
|
#: src/ui/bigtext/bigtext.py:181
|
||||||
msgid "Select &All"
|
msgid "Select &All"
|
||||||
msgstr "&Alles Selektieren"
|
msgstr "&Alles Selektieren"
|
||||||
|
|
||||||
#: raven/ui/bigtext/bigtext.py:331
|
#: src/ui/bigtext/bigtext.py:331
|
||||||
msgid "data selection"
|
msgid "data selection"
|
||||||
msgstr "selektion"
|
msgstr "selektion"
|
||||||
|
|
||||||
#: raven/ui/bigtext/bigtext.py:332
|
#: src/ui/bigtext/bigtext.py:332
|
||||||
msgid "You have selected <b>{0}</b> of data."
|
msgid "You have selected <b>{0}</b> of data."
|
||||||
msgstr "Du hast <b>{0}</b> selektiert."
|
msgstr "Du hast <b>{0}</b> selektiert."
|
||||||
|
|
||||||
#: raven/ui/bigtext/bigtext.py:335
|
#: src/ui/bigtext/bigtext.py:335
|
||||||
msgid "Copy {0} to Clipboard"
|
msgid "Copy {0} to Clipboard"
|
||||||
msgstr "Kopiere {0} in die Zwischenablage"
|
msgstr "Kopiere {0} in die Zwischenablage"
|
||||||
|
|
||||||
#: raven/ui/bigtext/bigtext.py:337
|
#: src/ui/bigtext/bigtext.py:337
|
||||||
msgid "Write to File"
|
msgid "Write to File"
|
||||||
msgstr "Schreibe in Datei"
|
msgstr "Schreibe in Datei"
|
||||||
|
|
||||||
#: raven/ui/bigtext/bigtext.py:359
|
#: src/ui/bigtext/bigtext.py:359
|
||||||
msgid "Save File"
|
msgid "Save File"
|
||||||
msgstr "Speichere Datei"
|
msgstr "Speichere Datei"
|
||||||
|
|
||||||
#: raven/ui/bigtext/highlightingdialog.py:23
|
#: src/ui/bigtext/highlightingdialog.py:23
|
||||||
msgid "Manage Highlighting"
|
msgid "Manage Highlighting"
|
||||||
msgstr "Hervorhebungen Verwalten"
|
msgstr "Hervorhebungen Verwalten"
|
||||||
|
|
||||||
#: raven/ui/bigtext/highlightingdialog.py:35
|
#: src/ui/bigtext/highlightingdialog.py:35
|
||||||
msgid "Add"
|
msgid "Add"
|
||||||
msgstr "Hinzufügen"
|
msgstr "Hinzufügen"
|
||||||
|
|
||||||
#: raven/ui/bigtext/highlightingdialog.py:39
|
#: src/ui/bigtext/highlightingdialog.py:39
|
||||||
msgid "Update"
|
msgid "Update"
|
||||||
msgstr "Aktualisieren"
|
msgstr "Aktualisieren"
|
||||||
|
|
||||||
#: raven/ui/bigtext/highlightingdialog.py:43
|
#: src/ui/bigtext/highlightingdialog.py:43
|
||||||
msgid "Remove"
|
msgid "Remove"
|
||||||
msgstr "Entfernen"
|
msgstr "Entfernen"
|
||||||
|
|
||||||
#: raven/ui/bigtext/highlightingdialog.py:47
|
#: src/ui/bigtext/highlightingdialog.py:47
|
||||||
msgid "Up"
|
msgid "Up"
|
||||||
msgstr "Hoch"
|
msgstr "Hoch"
|
||||||
|
|
||||||
#: raven/ui/bigtext/highlightingdialog.py:51
|
#: src/ui/bigtext/highlightingdialog.py:51
|
||||||
msgid "Down"
|
msgid "Down"
|
||||||
msgstr "Runter"
|
msgstr "Runter"
|
||||||
|
|
||||||
#: raven/ui/bigtext/highlightingdialog.py:59
|
#: src/ui/bigtext/highlightingdialog.py:59
|
||||||
msgid "Query:"
|
msgid "Query:"
|
||||||
msgstr "Suche:"
|
msgstr "Suche:"
|
||||||
|
|
||||||
#: raven/ui/bigtext/highlightingdialog.py:63
|
#: src/ui/bigtext/highlightingdialog.py:63
|
||||||
msgid "Ignore Case"
|
msgid "Ignore Case"
|
||||||
msgstr "Groß-/Kleinschreibung ignorieren"
|
msgstr "Groß-/Kleinschreibung ignorieren"
|
||||||
|
|
||||||
#: raven/ui/bigtext/highlightingdialog.py:68
|
#: src/ui/bigtext/highlightingdialog.py:68
|
||||||
msgid "Regular Expression"
|
msgid "Regular Expression"
|
||||||
msgstr "Regulärer Ausdruck"
|
msgstr "Regulärer Ausdruck"
|
||||||
|
|
||||||
#: raven/ui/bigtext/highlightingdialog.py:73
|
#: src/ui/bigtext/highlightingdialog.py:73
|
||||||
msgid "Hit Background:"
|
msgid "Hit Background:"
|
||||||
msgstr "Trefferhintergrund:"
|
msgstr "Trefferhintergrund:"
|
||||||
|
|
||||||
#: raven/ui/bigtext/highlightingdialog.py:78
|
#: src/ui/bigtext/highlightingdialog.py:78
|
||||||
msgid "Line Background:"
|
msgid "Line Background:"
|
||||||
msgstr "Zeilenhintergrund:"
|
msgstr "Zeilenhintergrund:"
|
||||||
|
|
||||||
#: raven/ui/bigtext/highlightingdialog.py:142
|
#: src/ui/bigtext/highlightingdialog.py:142
|
||||||
msgid "unsaved changes"
|
msgid "unsaved changes"
|
||||||
msgstr "Nicht Gespeicherte Änderungen"
|
msgstr "Nicht Gespeicherte Änderungen"
|
||||||
|
|
||||||
#: raven/ui/bigtext/highlightingdialog.py:143
|
#: src/ui/bigtext/highlightingdialog.py:143
|
||||||
msgid "You have unsaved changes."
|
msgid "You have unsaved changes."
|
||||||
msgstr "Du hast nicht gespeicherte Änderungen."
|
msgstr "Du hast nicht gespeicherte Änderungen."
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:18
|
#: src/ui/colorbutton.py:18
|
||||||
msgid "Strawberry Cream"
|
msgid "Strawberry Cream"
|
||||||
msgstr "Strawberry Cream"
|
msgstr "Strawberry Cream"
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:19
|
#: src/ui/colorbutton.py:19
|
||||||
msgid "Pale Crimson"
|
msgid "Pale Crimson"
|
||||||
msgstr "Pale Crimson"
|
msgstr "Pale Crimson"
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:21
|
#: src/ui/colorbutton.py:21
|
||||||
msgid "Broken Buttercup"
|
msgid "Broken Buttercup"
|
||||||
msgstr "Pale Crimson"
|
msgstr "Pale Crimson"
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:22
|
#: src/ui/colorbutton.py:22
|
||||||
msgid "Passion Fruit Sugar"
|
msgid "Passion Fruit Sugar"
|
||||||
msgstr "Passion Fruit Sugar"
|
msgstr "Passion Fruit Sugar"
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:24
|
#: src/ui/colorbutton.py:24
|
||||||
msgid "Sunrise Yellow"
|
msgid "Sunrise Yellow"
|
||||||
msgstr "Sonnenaufganggelb"
|
msgstr "Sonnenaufganggelb"
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:25
|
#: src/ui/colorbutton.py:25
|
||||||
msgid "Magical Mustard"
|
msgid "Magical Mustard"
|
||||||
msgstr "Magischer Senf"
|
msgstr "Magischer Senf"
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:27
|
#: src/ui/colorbutton.py:27
|
||||||
msgid "Trendy Green"
|
msgid "Trendy Green"
|
||||||
msgstr "Trendiges Grün"
|
msgstr "Trendiges Grün"
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:28
|
#: src/ui/colorbutton.py:28
|
||||||
msgid "Garden Of Sweden"
|
msgid "Garden Of Sweden"
|
||||||
msgstr "Garten von Schweden"
|
msgstr "Garten von Schweden"
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:30
|
#: src/ui/colorbutton.py:30
|
||||||
msgid "Light Sky Blue"
|
msgid "Light Sky Blue"
|
||||||
msgstr "Helles Himmelsblau"
|
msgstr "Helles Himmelsblau"
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:31
|
#: src/ui/colorbutton.py:31
|
||||||
msgid "True Blue"
|
msgid "True Blue"
|
||||||
msgstr "Echtes Blau"
|
msgstr "Echtes Blau"
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:33
|
#: src/ui/colorbutton.py:33
|
||||||
msgid "Fairy Topia"
|
msgid "Fairy Topia"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:34
|
#: src/ui/colorbutton.py:34
|
||||||
msgid "Magenta Bachiego"
|
msgid "Magenta Bachiego"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:36
|
#: src/ui/colorbutton.py:36
|
||||||
msgid "Breeze of Mist"
|
msgid "Breeze of Mist"
|
||||||
msgstr "Nebelbriese"
|
msgstr "Nebelbriese"
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:37
|
#: src/ui/colorbutton.py:37
|
||||||
msgid "Light Grey"
|
msgid "Light Grey"
|
||||||
msgstr "Helles Grau"
|
msgstr "Helles Grau"
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:38
|
#: src/ui/colorbutton.py:38
|
||||||
msgid "Grey"
|
msgid "Grey"
|
||||||
msgstr "Grau"
|
msgstr "Grau"
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:44
|
#: src/ui/colorbutton.py:44
|
||||||
msgid "transparent"
|
msgid "transparent"
|
||||||
msgstr "Transparent"
|
msgstr "Transparent"
|
||||||
|
|
||||||
#: raven/ui/colorbutton.py:51
|
#: src/ui/colorbutton.py:51
|
||||||
msgid "custom"
|
msgid "custom"
|
||||||
msgstr "individuell"
|
msgstr "individuell"
|
||||||
|
|
||||||
#: venv310/lib/python3.10/site-packages/PySide6/examples/widgets/gettext/main.py:58
|
#~ msgid "RavenLog"
|
||||||
msgid "Quit"
|
#~ msgstr "RavenLog"
|
||||||
msgstr "Beenden"
|
|
||||||
|
|
||||||
#: venv310/lib/python3.10/site-packages/PySide6/examples/widgets/gettext/main.py:59
|
#~ msgid "Quit"
|
||||||
msgid "CTRL+Q"
|
#~ msgstr "Beenden"
|
||||||
msgstr "STRG+Q"
|
|
||||||
|
#~ msgid "CTRL+Q"
|
||||||
|
#~ msgstr "STRG+Q"
|
||||||
|
|
||||||
#~ msgid "Continue"
|
#~ msgid "Continue"
|
||||||
#~ msgstr "Weiter"
|
#~ msgstr "Weiter"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2022-02-06 16:17+0100\n"
|
"POT-Creation-Date: 2022-02-12 10:14+0100\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@@ -15,287 +15,292 @@ msgstr ""
|
|||||||
"Generated-By: pygettext.py 1.5\n"
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
#: ./raven/mainwindow.py:39 ./raven/plugins/ravenlog/aboutdialog.py:23
|
#: src/mainwindow.py:39 src/plugins/krowlog/aboutdialog.py:23
|
||||||
#: ./raven/plugins/ravenlogplugin.py:82
|
#: src/plugins/krowlogplugin.py:85
|
||||||
msgid "RavenLog"
|
msgid "KrowLog"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/mainwindow.py:47 ./raven/plugins/openfileplugin.py:29
|
#: src/mainwindow.py:47 src/plugins/openfileplugin.py:29
|
||||||
msgid "Open &Recent"
|
msgid "Open &Recent"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/mainwindow.py:66
|
#: src/mainwindow.py:66
|
||||||
#: ./venv310/lib/python3.10/site-packages/PySide6/examples/widgets/gettext/main.py:57
|
|
||||||
msgid "&File"
|
msgid "&File"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/mainwindow.py:67
|
#: src/mainwindow.py:67
|
||||||
msgid "&Settings"
|
msgid "&Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/mainwindow.py:68
|
#: src/mainwindow.py:68
|
||||||
msgid "&Window"
|
msgid "&Window"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/mainwindow.py:69
|
#: src/mainwindow.py:69
|
||||||
msgid "&Help"
|
msgid "&Help"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/mainwindow.py:101 ./raven/ui/bigtext/bigtext.py:187
|
#: src/mainwindow.py:101 src/ui/bigtext/bigtext.py:187
|
||||||
msgid "&Highlighter"
|
msgid "&Highlighter"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/mainwindow.py:108
|
#: src/mainwindow.py:108
|
||||||
msgid "Highlight &Searches"
|
msgid "Highlight &Searches"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/mainwindow.py:116
|
#: src/mainwindow.py:116
|
||||||
msgid "Open Tab on Save As File"
|
msgid "Open Tab on Save As File"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/plugins/logfile/filterwidget.py:101
|
#: src/plugins/krowlog/aboutdialog.py:18
|
||||||
msgid "Cancel"
|
msgid "About KrowLog"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/plugins/logfile/filterwidget.py:105
|
#: src/plugins/krowlog/aboutdialog.py:28
|
||||||
msgid "ignore case"
|
msgid "Version: {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/plugins/logfile/filterwidget.py:109
|
#: src/plugins/krowlog/aboutdialog.py:43
|
||||||
msgid "regex"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ./raven/plugins/logfileplugin.py:25
|
|
||||||
msgid "File not found"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ./raven/plugins/logfileplugin.py:26
|
|
||||||
msgid "'{0}' is not a file or cannot be opened"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ./raven/plugins/notesplugin.py:25
|
|
||||||
msgid "Add &Notes"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ./raven/plugins/notesplugin.py:33
|
|
||||||
msgid "Notes {0}"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ./raven/plugins/openfileplugin.py:24
|
|
||||||
msgid "&Open..."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ./raven/plugins/openfileplugin.py:45
|
|
||||||
msgid "Open File"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ./raven/plugins/ravenlog/aboutdialog.py:18
|
|
||||||
msgid "About RavenLog"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ./raven/plugins/ravenlog/aboutdialog.py:43
|
|
||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/plugins/ravenlog/aboutdialog.py:44
|
#: src/plugins/krowlog/aboutdialog.py:44
|
||||||
msgid "License"
|
msgid "License"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/plugins/ravenlogplugin.py:43
|
#: src/plugins/krowlog/aboutdialog.py:57
|
||||||
|
msgid "Log file viewer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/plugins/krowlog/aboutdialog.py:58
|
||||||
|
msgid "(c) 2022 Andreas Huber"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/plugins/krowlog/aboutdialog.py:59
|
||||||
|
msgid "License: LGPL v3"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/plugins/krowlogplugin.py:43
|
||||||
msgid "&Languages"
|
msgid "&Languages"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/plugins/ravenlogplugin.py:44
|
#: src/plugins/krowlogplugin.py:44
|
||||||
msgid "&Default"
|
msgid "&Default"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/plugins/ravenlogplugin.py:45
|
#: src/plugins/krowlogplugin.py:45
|
||||||
msgid "&English"
|
msgid "&English"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/plugins/ravenlogplugin.py:46
|
#: src/plugins/krowlogplugin.py:46
|
||||||
msgid "&German"
|
msgid "&German"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/plugins/ravenlogplugin.py:70
|
#: src/plugins/krowlogplugin.py:70
|
||||||
msgid "Language Changed"
|
msgid "Language Changed"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/plugins/ravenlogplugin.py:71
|
#: src/plugins/krowlogplugin.py:71
|
||||||
msgid "The language for this application has been changed. The change will take effect the next time the application is started."
|
msgid "The language for this application has been changed. The change will take effect the next time the application is started."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/plugins/ravenlogplugin.py:80
|
#: src/plugins/krowlogplugin.py:83
|
||||||
msgid "{0} - RavenLog"
|
msgid "{0} - KrowLog"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/plugins/ravenlogplugin.py:102
|
#: src/plugins/krowlogplugin.py:105
|
||||||
msgid "&About"
|
msgid "&About"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/plugins/ravenlogplugin.py:110
|
#: src/plugins/krowlogplugin.py:113
|
||||||
msgid "E&xit"
|
msgid "E&xit"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/bigtext.py:170
|
#: src/plugins/logfile/filterwidget.py:134
|
||||||
|
msgid "Cancel"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/plugins/logfile/filterwidget.py:138
|
||||||
|
msgid "ignore case"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/plugins/logfile/filterwidget.py:142
|
||||||
|
msgid "regex"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/plugins/logfileplugin.py:25
|
||||||
|
msgid "File not found"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/plugins/logfileplugin.py:26
|
||||||
|
msgid "'{0}' is not a file or cannot be opened"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/plugins/notesplugin.py:25
|
||||||
|
msgid "Add &Notes"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/plugins/notesplugin.py:33
|
||||||
|
msgid "Notes {0}"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/plugins/openfileplugin.py:24
|
||||||
|
msgid "&Open..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/plugins/openfileplugin.py:45
|
||||||
|
msgid "Open File"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/ui/bigtext/bigtext.py:170
|
||||||
msgid "&Copy to Clipboard"
|
msgid "&Copy to Clipboard"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/bigtext.py:176
|
#: src/ui/bigtext/bigtext.py:176
|
||||||
msgid "Copy to &File"
|
msgid "Copy to &File"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/bigtext.py:181
|
#: src/ui/bigtext/bigtext.py:181
|
||||||
msgid "Select &All"
|
msgid "Select &All"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/bigtext.py:331
|
#: src/ui/bigtext/bigtext.py:331
|
||||||
msgid "data selection"
|
msgid "data selection"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/bigtext.py:332
|
#: src/ui/bigtext/bigtext.py:332
|
||||||
msgid "You have selected <b>{0}</b> of data."
|
msgid "You have selected <b>{0}</b> of data."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/bigtext.py:335
|
#: src/ui/bigtext/bigtext.py:335
|
||||||
msgid "Copy {0} to Clipboard"
|
msgid "Copy {0} to Clipboard"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/bigtext.py:337
|
#: src/ui/bigtext/bigtext.py:337
|
||||||
msgid "Write to File"
|
msgid "Write to File"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/bigtext.py:359
|
#: src/ui/bigtext/bigtext.py:359
|
||||||
msgid "Save File"
|
msgid "Save File"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/highlightingdialog.py:23
|
#: src/ui/bigtext/highlightingdialog.py:23
|
||||||
msgid "Manage Highlighting"
|
msgid "Manage Highlighting"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/highlightingdialog.py:35
|
#: src/ui/bigtext/highlightingdialog.py:35
|
||||||
msgid "Add"
|
msgid "Add"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/highlightingdialog.py:39
|
#: src/ui/bigtext/highlightingdialog.py:39
|
||||||
msgid "Update"
|
msgid "Update"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/highlightingdialog.py:43
|
#: src/ui/bigtext/highlightingdialog.py:43
|
||||||
msgid "Remove"
|
msgid "Remove"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/highlightingdialog.py:47
|
#: src/ui/bigtext/highlightingdialog.py:47
|
||||||
msgid "Up"
|
msgid "Up"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/highlightingdialog.py:51
|
#: src/ui/bigtext/highlightingdialog.py:51
|
||||||
msgid "Down"
|
msgid "Down"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/highlightingdialog.py:59
|
#: src/ui/bigtext/highlightingdialog.py:59
|
||||||
msgid "Query:"
|
msgid "Query:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/highlightingdialog.py:63
|
#: src/ui/bigtext/highlightingdialog.py:63
|
||||||
msgid "Ignore Case"
|
msgid "Ignore Case"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/highlightingdialog.py:68
|
#: src/ui/bigtext/highlightingdialog.py:68
|
||||||
msgid "Regular Expression"
|
msgid "Regular Expression"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/highlightingdialog.py:73
|
#: src/ui/bigtext/highlightingdialog.py:73
|
||||||
msgid "Hit Background:"
|
msgid "Hit Background:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/highlightingdialog.py:78
|
#: src/ui/bigtext/highlightingdialog.py:78
|
||||||
msgid "Line Background:"
|
msgid "Line Background:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/highlightingdialog.py:142
|
#: src/ui/bigtext/highlightingdialog.py:142
|
||||||
msgid "unsaved changes"
|
msgid "unsaved changes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/bigtext/highlightingdialog.py:143
|
#: src/ui/bigtext/highlightingdialog.py:143
|
||||||
msgid "You have unsaved changes."
|
msgid "You have unsaved changes."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:18
|
#: src/ui/colorbutton.py:18
|
||||||
msgid "Strawberry Cream"
|
msgid "Strawberry Cream"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:19
|
#: src/ui/colorbutton.py:19
|
||||||
msgid "Pale Crimson"
|
msgid "Pale Crimson"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:21
|
#: src/ui/colorbutton.py:21
|
||||||
msgid "Broken Buttercup"
|
msgid "Broken Buttercup"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:22
|
#: src/ui/colorbutton.py:22
|
||||||
msgid "Passion Fruit Sugar"
|
msgid "Passion Fruit Sugar"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:24
|
#: src/ui/colorbutton.py:24
|
||||||
msgid "Sunrise Yellow"
|
msgid "Sunrise Yellow"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:25
|
#: src/ui/colorbutton.py:25
|
||||||
msgid "Magical Mustard"
|
msgid "Magical Mustard"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:27
|
#: src/ui/colorbutton.py:27
|
||||||
msgid "Trendy Green"
|
msgid "Trendy Green"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:28
|
#: src/ui/colorbutton.py:28
|
||||||
msgid "Garden Of Sweden"
|
msgid "Garden Of Sweden"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:30
|
#: src/ui/colorbutton.py:30
|
||||||
msgid "Light Sky Blue"
|
msgid "Light Sky Blue"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:31
|
#: src/ui/colorbutton.py:31
|
||||||
msgid "True Blue"
|
msgid "True Blue"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:33
|
#: src/ui/colorbutton.py:33
|
||||||
msgid "Fairy Topia"
|
msgid "Fairy Topia"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:34
|
#: src/ui/colorbutton.py:34
|
||||||
msgid "Magenta Bachiego"
|
msgid "Magenta Bachiego"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:36
|
#: src/ui/colorbutton.py:36
|
||||||
msgid "Breeze of Mist"
|
msgid "Breeze of Mist"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:37
|
#: src/ui/colorbutton.py:37
|
||||||
msgid "Light Grey"
|
msgid "Light Grey"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:38
|
#: src/ui/colorbutton.py:38
|
||||||
msgid "Grey"
|
msgid "Grey"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:44
|
#: src/ui/colorbutton.py:44
|
||||||
msgid "transparent"
|
msgid "transparent"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ./raven/ui/colorbutton.py:51
|
#: src/ui/colorbutton.py:51
|
||||||
msgid "custom"
|
msgid "custom"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#:
|
|
||||||
#: ./venv310/lib/python3.10/site-packages/PySide6/examples/widgets/gettext/main.py:58
|
|
||||||
msgid "Quit"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#:
|
|
||||||
#: ./venv310/lib/python3.10/site-packages/PySide6/examples/widgets/gettext/main.py:59
|
|
||||||
msgid "CTRL+Q"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
|
|||||||
11
main.py
11
main.py
@@ -9,10 +9,11 @@ from PySide6.QtGui import QIcon
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
import constants
|
import constants
|
||||||
from raven.pluginregistry import PluginRegistry
|
from src.pluginregistry import PluginRegistry
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
gettext.install('ravenlog', 'locale')
|
|
||||||
|
gettext.install('krowlog', 'locale')
|
||||||
|
|
||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
log = logging.getLogger("main")
|
log = logging.getLogger("main")
|
||||||
@@ -31,12 +32,12 @@ def stop_signal(signum, _stackframe):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app = QApplication(sys.argv)
|
app = QApplication(sys.argv)
|
||||||
app.setWindowIcon(QIcon(constants.raven_icon)) # works only for Linux
|
app.setWindowIcon(QIcon(constants.krow_icon)) # works only for Linux
|
||||||
|
|
||||||
# make icon appear in Windows
|
# make icon appear in Windows
|
||||||
# see https://stackoverflow.com/questions/1551605/how-to-set-applications-taskbar-icon-in-windows-7/1552105#1552105
|
# see https://stackoverflow.com/questions/1551605/how-to-set-applications-taskbar-icon-in-windows-7/1552105#1552105
|
||||||
if sys.platform == 'win32' or sys.platform == 'cygwin':
|
if sys.platform == 'win32' or sys.platform == 'cygwin':
|
||||||
myappid = 'opentext.ravenlog' # arbitrary string
|
myappid = 'krowlog' # arbitrary string
|
||||||
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
|
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
|
||||||
|
|
||||||
# workaround to make signals work in QT apps.
|
# workaround to make signals work in QT apps.
|
||||||
@@ -49,7 +50,7 @@ if __name__ == "__main__":
|
|||||||
timer.start(100)
|
timer.start(100)
|
||||||
|
|
||||||
# init plugins
|
# init plugins
|
||||||
PluginRegistry.load_plugin("RavenLogPlugin")
|
PluginRegistry.load_plugin("KrowLogPlugin")
|
||||||
PluginRegistry.load_plugin("OpenFilePlugin")
|
PluginRegistry.load_plugin("OpenFilePlugin")
|
||||||
PluginRegistry.load_plugin("LogFilePlugin")
|
PluginRegistry.load_plugin("LogFilePlugin")
|
||||||
PluginRegistry.load_plugin("NotesPlugin")
|
PluginRegistry.load_plugin("NotesPlugin")
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ import gettext
|
|||||||
import os
|
import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from raven.pluginregistry import PluginRegistry
|
from src.pluginregistry import PluginRegistry
|
||||||
from raven.settings.settingsstore import SettingsStore
|
from src.settings.settingsstore import SettingsStore
|
||||||
|
|
||||||
settings = SettingsStore.load()
|
settings = SettingsStore.load()
|
||||||
locale = os.environ['LANG'] if 'LANG' in os.environ and os.environ['LANG'] else "en"
|
locale = os.environ['LANG'] if 'LANG' in os.environ and os.environ['LANG'] else "en"
|
||||||
@@ -5,19 +5,19 @@ from PySide6.QtWidgets import *
|
|||||||
from PySide6.QtGui import *
|
from PySide6.QtGui import *
|
||||||
from PySide6.QtCore import Qt
|
from PySide6.QtCore import Qt
|
||||||
|
|
||||||
from raven.util import urlutils
|
from src.util import urlutils
|
||||||
from raven.settings.cutesettings import CuteSettings
|
from src.settings.cutesettings import CuteSettings
|
||||||
from raven.pluginregistry import PluginRegistry
|
from src.pluginregistry import PluginRegistry
|
||||||
from raven.plugins.domain.menucontribution import MenuContribution, sort_menu_contributions
|
from src.plugins.domain.menucontribution import MenuContribution, sort_menu_contributions
|
||||||
from raven.plugins.domain.raction import RAction
|
from src.plugins.domain.raction import RAction
|
||||||
from raven.plugins.domain.rmenu import RMenu
|
from src.plugins.domain.rmenu import RMenu
|
||||||
from raven.settings.settingsstore import SettingsStore
|
from src.settings.settingsstore import SettingsStore
|
||||||
from raven.ui.bigtext.highlightingdialog import HighlightingDialog
|
from src.ui.bigtext.highlightingdialog import HighlightingDialog
|
||||||
from raven.ui.tabs import Tabs
|
from src.ui.tabs import Tabs
|
||||||
from raven.util.urlutils import url_is_file
|
from src.util.urlutils import url_is_file
|
||||||
from functools import reduce
|
from functools import reduce
|
||||||
|
|
||||||
from raven.i18n import _
|
from src.i18n import _
|
||||||
|
|
||||||
MAX_LINE_LENGTH = 4096
|
MAX_LINE_LENGTH = 4096
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ class MainWindow(QMainWindow):
|
|||||||
self.settings = SettingsStore.load()
|
self.settings = SettingsStore.load()
|
||||||
PluginRegistry.execute("set_settings", self.settings)
|
PluginRegistry.execute("set_settings", self.settings)
|
||||||
|
|
||||||
self.setWindowTitle(_("RavenLog"))
|
self.setWindowTitle(_("KrowLog"))
|
||||||
self._restore_window()
|
self._restore_window()
|
||||||
|
|
||||||
self.setDockNestingEnabled(True)
|
self.setDockNestingEnabled(True)
|
||||||
@@ -3,7 +3,7 @@ from typing import Dict, Optional
|
|||||||
from inspect import isclass
|
from inspect import isclass
|
||||||
from importlib import import_module
|
from importlib import import_module
|
||||||
from inspect import signature
|
from inspect import signature
|
||||||
from raven.pluginbase import PluginBase
|
from src.pluginbase import PluginBase
|
||||||
|
|
||||||
|
|
||||||
class PluginRegistry():
|
class PluginRegistry():
|
||||||
@@ -15,16 +15,9 @@ class PluginRegistry():
|
|||||||
def _register_plugin(name: str, plugin: PluginBase):
|
def _register_plugin(name: str, plugin: PluginBase):
|
||||||
PluginRegistry.plugins[name] = plugin
|
PluginRegistry.plugins[name] = plugin
|
||||||
|
|
||||||
# @staticmethod
|
|
||||||
# def load_module(module_name: str) -> ModuleType:
|
|
||||||
# module_name = f"raven.plugins.{module_name}"
|
|
||||||
# module = import_module(module_name)
|
|
||||||
# PluginRegistry.modules.append(module)
|
|
||||||
# return module
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def load_plugin(plugin_name: str) -> PluginBase:
|
def load_plugin(plugin_name: str) -> PluginBase:
|
||||||
module_name = f"raven.plugins.{plugin_name.lower()}"
|
module_name = f"src.plugins.{plugin_name.lower()}"
|
||||||
module = import_module(module_name)
|
module = import_module(module_name)
|
||||||
if plugin_name in dir(module):
|
if plugin_name in dir(module):
|
||||||
plugin_class = getattr(module, plugin_name)
|
plugin_class = getattr(module, plugin_name)
|
||||||
@@ -2,10 +2,10 @@ from inspect import isclass
|
|||||||
from pkgutil import iter_modules
|
from pkgutil import iter_modules
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from importlib import import_module
|
from importlib import import_module
|
||||||
from raven.pluginbase import PluginBase
|
from src.pluginbase import PluginBase
|
||||||
|
|
||||||
# iterate through the modules in the current package
|
# iterate through the modules in the current package
|
||||||
from raven.pluginregistry import PluginRegistry
|
from src.pluginregistry import PluginRegistry
|
||||||
|
|
||||||
if False:
|
if False:
|
||||||
package_dir = Path(__file__).resolve().parent
|
package_dir = Path(__file__).resolve().parent
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
from raven.plugins.domain.raction import RAction
|
from src.plugins.domain.raction import RAction
|
||||||
from raven.plugins.domain.rmenu import RMenu
|
from src.plugins.domain.rmenu import RMenu
|
||||||
|
|
||||||
id_counter = 0
|
id_counter = 0
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
from typing import Callable
|
from typing import Callable
|
||||||
|
|
||||||
from raven.plugins.domain.raction import RAction
|
from src.plugins.domain.raction import RAction
|
||||||
|
|
||||||
|
|
||||||
class RMenu():
|
class RMenu():
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
import unittest
|
import unittest
|
||||||
from random import shuffle
|
from random import shuffle
|
||||||
|
|
||||||
from raven.plugins.domain.menucontribution import MenuContribution, sort_menu_contributions
|
from src.plugins.domain.menucontribution import MenuContribution, sort_menu_contributions
|
||||||
|
|
||||||
|
|
||||||
class MyTestCase(unittest.TestCase):
|
class MyTestCase(unittest.TestCase):
|
||||||
@@ -6,30 +6,31 @@ from PySide6.QtGui import QFont, QPixmap
|
|||||||
from PySide6.QtWidgets import *
|
from PySide6.QtWidgets import *
|
||||||
|
|
||||||
import constants
|
import constants
|
||||||
from raven.ui.label import Label
|
from src.ui.label import Label
|
||||||
from raven.ui.vbox import VBox
|
from src.ui.vbox import VBox
|
||||||
from raven.i18n import _
|
from src.i18n import _
|
||||||
|
|
||||||
|
|
||||||
class AboutDialog(QDialog):
|
class AboutDialog(QDialog):
|
||||||
"""Dialog for showing info about RavenLog"""
|
"""Dialog for showing info about KrowLog"""
|
||||||
|
|
||||||
def __init__(self, parent=None):
|
def __init__(self, parent=None):
|
||||||
super(AboutDialog, self).__init__(parent)
|
super(AboutDialog, self).__init__(parent)
|
||||||
self.setWindowTitle(_("About RavenLog"))
|
self.setWindowTitle(_("About KrowLog"))
|
||||||
self.setModal(True)
|
self.setModal(True)
|
||||||
|
|
||||||
self.layout = QVBoxLayout(self)
|
self.layout = QVBoxLayout(self)
|
||||||
|
|
||||||
heading_app_name = QLabel(_("RavenLog"))
|
heading_app_name = QLabel(_("KrowLog"))
|
||||||
heading_app_name.setAlignment(Qt.AlignmentFlag.AlignLeft)
|
heading_app_name.setAlignment(Qt.AlignmentFlag.AlignLeft)
|
||||||
heading_app_name.setFont(QFont("default", 25))
|
heading_app_name.setFont(QFont("default", 25))
|
||||||
heading_app_name.setTextInteractionFlags(Qt.TextInteractionFlag.TextSelectableByMouse)
|
heading_app_name.setTextInteractionFlags(Qt.TextInteractionFlag.TextSelectableByMouse)
|
||||||
|
|
||||||
version = QLabel(_("Version: {0}".format(self._version())))
|
version = QLabel(_("Version: {0}").format(self._version()))
|
||||||
version.setAlignment(Qt.AlignmentFlag.AlignLeft)
|
version.setAlignment(Qt.AlignmentFlag.AlignLeft)
|
||||||
|
|
||||||
app_icon = QLabel()
|
app_icon = QLabel()
|
||||||
app_icon.setPixmap(QPixmap(constants.raven_icon))
|
app_icon.setPixmap(QPixmap(constants.krow_icon))
|
||||||
heading = QWidget(self)
|
heading = QWidget(self)
|
||||||
hbox = QHBoxLayout(heading)
|
hbox = QHBoxLayout(heading)
|
||||||
hbox.addWidget(app_icon)
|
hbox.addWidget(app_icon)
|
||||||
@@ -53,10 +54,11 @@ class AboutDialog(QDialog):
|
|||||||
def _about(self) -> QWidget:
|
def _about(self) -> QWidget:
|
||||||
result = QWidget()
|
result = QWidget()
|
||||||
result.layout = QVBoxLayout(result)
|
result.layout = QVBoxLayout(result)
|
||||||
label = Label(_(textwrap.dedent("""
|
label = Label("{0}<br>{1}<br>{2}".format(
|
||||||
Log file viewer<br>
|
_("Log file viewer"),
|
||||||
(c) 2022 Open Text Corporation<br>
|
_("(c) 2022 Andreas Huber"),
|
||||||
<a href="https://www.opentext.com/">License: LGPL v3</a>""")))
|
_("License: LGPL v3")
|
||||||
|
))
|
||||||
result.layout.addWidget(label)
|
result.layout.addWidget(label)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
@@ -69,7 +71,7 @@ class AboutDialog(QDialog):
|
|||||||
<li>urllib3 (MIT) - <a href="https://github.com/urllib3/urllib3">https://github.com/urllib3/urllib3</a></li>
|
<li>urllib3 (MIT) - <a href="https://github.com/urllib3/urllib3">https://github.com/urllib3/urllib3</a></li>
|
||||||
<li>watchdog 2.16 (Apache 2.0) - <a href="https://github.com/gorakhargosh/watchdog">https://github.com/gorakhargosh/watchdog</a></li>
|
<li>watchdog 2.16 (Apache 2.0) - <a href="https://github.com/gorakhargosh/watchdog">https://github.com/gorakhargosh/watchdog</a></li>
|
||||||
</ul>""".format(pyside=PySide6.__version__, qt=PySide6.QtCore.__version__)
|
</ul>""".format(pyside=PySide6.__version__, qt=PySide6.QtCore.__version__)
|
||||||
label = _(textwrap.dedent(dependencies))
|
label = textwrap.dedent(dependencies)
|
||||||
|
|
||||||
result = QWidget()
|
result = QWidget()
|
||||||
result.layout = QVBoxLayout(result)
|
result.layout = QVBoxLayout(result)
|
||||||
@@ -5,21 +5,20 @@ from PySide6.QtCore import Qt
|
|||||||
from PySide6.QtWidgets import QDockWidget, QMessageBox
|
from PySide6.QtWidgets import QDockWidget, QMessageBox
|
||||||
|
|
||||||
import constants
|
import constants
|
||||||
from raven.pluginregistry import PluginRegistry
|
from src.plugins.krowlog.aboutdialog import AboutDialog
|
||||||
from raven.plugins.ravenlog.aboutdialog import AboutDialog
|
from src.mainwindow import MainWindow
|
||||||
from raven.mainwindow import MainWindow
|
from src.pluginbase import PluginBase
|
||||||
from raven.pluginbase import PluginBase
|
from src.plugins.domain.menucontribution import MenuContribution
|
||||||
from raven.plugins.domain.menucontribution import MenuContribution
|
from src.plugins.domain.raction import RAction
|
||||||
from raven.plugins.domain.raction import RAction
|
from src.plugins.domain.rmenu import RMenu
|
||||||
from raven.plugins.domain.rmenu import RMenu
|
from src.plugins.krowlog.Tab import Tab
|
||||||
from raven.plugins.ravenlog.Tab import Tab
|
from src.i18n import _, locale
|
||||||
from raven.i18n import _, locale
|
from src.settings.settings import Settings
|
||||||
from raven.settings.settings import Settings
|
|
||||||
|
|
||||||
|
|
||||||
class RavenLogPlugin(PluginBase):
|
class KrowLogPlugin(PluginBase):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(RavenLogPlugin, self).__init__()
|
super(KrowLogPlugin, self).__init__()
|
||||||
self.main_window = None
|
self.main_window = None
|
||||||
self._locale = locale
|
self._locale = locale
|
||||||
self._locale_actions = {}
|
self._locale_actions = {}
|
||||||
@@ -81,9 +80,9 @@ class RavenLogPlugin(PluginBase):
|
|||||||
|
|
||||||
def update_window_title(self, title: str):
|
def update_window_title(self, title: str):
|
||||||
if len(title) > 0:
|
if len(title) > 0:
|
||||||
self.main_window.setWindowTitle(_("{0} - RavenLog").format(title))
|
self.main_window.setWindowTitle(_("{0} - KrowLog").format(title))
|
||||||
else:
|
else:
|
||||||
self.main_window.setWindowTitle(_("RavenLog"))
|
self.main_window.setWindowTitle(_("KrowLog"))
|
||||||
|
|
||||||
def update_status_bar(self, text: str):
|
def update_status_bar(self, text: str):
|
||||||
if not self.main_window:
|
if not self.main_window:
|
||||||
@@ -105,7 +104,7 @@ class RavenLogPlugin(PluginBase):
|
|||||||
about_action = RAction(
|
about_action = RAction(
|
||||||
_("&About"),
|
_("&About"),
|
||||||
action=lambda: AboutDialog().exec(),
|
action=lambda: AboutDialog().exec(),
|
||||||
icon_file=constants.raven_icon
|
icon_file=constants.krow_icon
|
||||||
)
|
)
|
||||||
return about_action
|
return about_action
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
from raven.ui.bigtext.bigtext import BigText
|
from src.ui.bigtext.bigtext import BigText
|
||||||
|
|
||||||
|
|
||||||
class FilterViewSyncer:
|
class FilterViewSyncer:
|
||||||
@@ -9,11 +9,11 @@ from typing import Optional, Callable
|
|||||||
from PySide6.QtCore import QRunnable, QThreadPool, Signal, QThread, QObject
|
from PySide6.QtCore import QRunnable, QThreadPool, Signal, QThread, QObject
|
||||||
from PySide6.QtWidgets import QWidget, QVBoxLayout, QHBoxLayout, QLineEdit, QCheckBox, QPushButton, QLabel, QProgressBar
|
from PySide6.QtWidgets import QWidget, QVBoxLayout, QHBoxLayout, QLineEdit, QCheckBox, QPushButton, QLabel, QProgressBar
|
||||||
|
|
||||||
from raven.ui.bigtext.bigtext import BigText
|
from src.ui.bigtext.bigtext import BigText
|
||||||
from raven.ui.bigtext.logFileModel import LogFileModel
|
from src.ui.bigtext.logFileModel import LogFileModel
|
||||||
|
|
||||||
from raven.i18n import _
|
from src.i18n import _
|
||||||
from raven.pluginregistry import PluginRegistry
|
from src.pluginregistry import PluginRegistry
|
||||||
|
|
||||||
log = logging.getLogger("filterwidget")
|
log = logging.getLogger("filterwidget")
|
||||||
|
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
from PySide6.QtWidgets import *
|
from PySide6.QtWidgets import *
|
||||||
from PySide6.QtCore import *
|
from PySide6.QtCore import *
|
||||||
|
|
||||||
from raven.ui.bigtext.bigtext import BigText
|
from src.ui.bigtext.bigtext import BigText
|
||||||
from raven.plugins.logfile.filterviewsyncer import FilterViewSyncer
|
from src.plugins.logfile.filterviewsyncer import FilterViewSyncer
|
||||||
from raven.plugins.logfile.filterwidget import FilterWidget
|
from src.plugins.logfile.filterwidget import FilterWidget
|
||||||
from raven.ui.bigtext.logFileModel import LogFileModel
|
from src.ui.bigtext.logFileModel import LogFileModel
|
||||||
from raven.plugins.ravenlog.Tab import Tab
|
from src.plugins.krowlog.Tab import Tab
|
||||||
from raven.util.conversion import humanbytes
|
from src.util.conversion import humanbytes
|
||||||
|
|
||||||
|
|
||||||
class FullTabWidget(Tab):
|
class FullTabWidget(Tab):
|
||||||
@@ -3,13 +3,13 @@ from typing import Optional
|
|||||||
|
|
||||||
from PySide6.QtWidgets import QMessageBox
|
from PySide6.QtWidgets import QMessageBox
|
||||||
|
|
||||||
from raven.plugins.logfile.fulltabwidget import FullTabWidget
|
from src.plugins.logfile.fulltabwidget import FullTabWidget
|
||||||
from raven.ui.bigtext.logFileModel import LogFileModel
|
from src.ui.bigtext.logFileModel import LogFileModel
|
||||||
from raven.pluginbase import PluginBase
|
from src.pluginbase import PluginBase
|
||||||
from raven.plugins.ravenlog.Tab import Tab
|
from src.plugins.krowlog.Tab import Tab
|
||||||
from raven.settings.settings import Settings
|
from src.settings.settings import Settings
|
||||||
|
|
||||||
from raven.i18n import _
|
from src.i18n import _
|
||||||
|
|
||||||
|
|
||||||
class LogFilePlugin(PluginBase):
|
class LogFilePlugin(PluginBase):
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
from raven.plugins.ravenlog.Tab import Tab
|
from src.plugins.krowlog.Tab import Tab
|
||||||
from PySide6.QtWidgets import QTextEdit, QVBoxLayout
|
from PySide6.QtWidgets import QTextEdit, QVBoxLayout
|
||||||
|
|
||||||
|
|
||||||
@@ -2,12 +2,13 @@ from typing import Callable
|
|||||||
|
|
||||||
from PySide6.QtCore import Qt
|
from PySide6.QtCore import Qt
|
||||||
|
|
||||||
from raven.pluginbase import PluginBase
|
from src.pluginbase import PluginBase
|
||||||
from raven.pluginregistry import PluginRegistry
|
from src.pluginregistry import PluginRegistry
|
||||||
from raven.plugins.domain.menucontribution import MenuContribution
|
from src.plugins.domain.menucontribution import MenuContribution
|
||||||
from raven.plugins.domain.raction import RAction
|
from src.plugins.domain.raction import RAction
|
||||||
from raven.plugins.notes.noteswidget import NotesWidget
|
from src.plugins.notes.noteswidget import NotesWidget
|
||||||
from raven.i18n import _
|
from src.i18n import _
|
||||||
|
|
||||||
|
|
||||||
class NotesPlugin(PluginBase):
|
class NotesPlugin(PluginBase):
|
||||||
|
|
||||||
@@ -3,14 +3,15 @@ from pathlib import Path
|
|||||||
|
|
||||||
from PySide6.QtWidgets import QFileDialog
|
from PySide6.QtWidgets import QFileDialog
|
||||||
|
|
||||||
from raven.pluginbase import PluginBase
|
from src.pluginbase import PluginBase
|
||||||
from raven.pluginregistry import PluginRegistry
|
from src.pluginregistry import PluginRegistry
|
||||||
from raven.plugins.domain.menucontribution import MenuContribution
|
from src.plugins.domain.menucontribution import MenuContribution
|
||||||
from raven.plugins.domain.raction import RAction
|
from src.plugins.domain.raction import RAction
|
||||||
from raven.plugins.domain.rmenu import RMenu
|
from src.plugins.domain.rmenu import RMenu
|
||||||
from raven.settings.settings import Settings
|
from src.settings.settings import Settings
|
||||||
|
|
||||||
|
from src.i18n import _
|
||||||
|
|
||||||
from raven.i18n import _
|
|
||||||
|
|
||||||
class OpenFilePlugin(PluginBase):
|
class OpenFilePlugin(PluginBase):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@@ -4,7 +4,7 @@ from PySide6.QtCore import QSettings
|
|||||||
class CuteSettings:
|
class CuteSettings:
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self._settings = QSettings("opentext", "ravenlog")
|
self._settings = QSettings("krowlog", "settings")
|
||||||
|
|
||||||
def set_value(self, key: str, value: any):
|
def set_value(self, key: str, value: any):
|
||||||
self._settings.setValue(key, value)
|
self._settings.setValue(key, value)
|
||||||
@@ -4,7 +4,7 @@ from pathlib import Path
|
|||||||
from os.path import join
|
from os.path import join
|
||||||
from configparser import ConfigParser
|
from configparser import ConfigParser
|
||||||
|
|
||||||
from raven.settings.settings import Settings
|
from src.settings.settings import Settings
|
||||||
|
|
||||||
|
|
||||||
class SettingsStore():
|
class SettingsStore():
|
||||||
@@ -14,9 +14,9 @@ class SettingsStore():
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def _session_file() -> str:
|
def _session_file() -> str:
|
||||||
if sys.platform == 'win32' or sys.platform == 'cygwin':
|
if sys.platform == 'win32' or sys.platform == 'cygwin':
|
||||||
return join(Path.home(), "AppData", "Local", "ravenlog", "session.ini")
|
return join(Path.home(), "AppData", "Local", "krowlog", "session.ini")
|
||||||
else:
|
else:
|
||||||
return join(Path.home(), ".local", "share", "ravenlog", "session.ini")
|
return join(Path.home(), ".local", "share", "krowlog", "session.ini")
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def load() -> Settings:
|
def load() -> Settings:
|
||||||
@@ -12,19 +12,19 @@ from PySide6.QtGui import QMouseEvent
|
|||||||
from PySide6.QtWidgets import *
|
from PySide6.QtWidgets import *
|
||||||
|
|
||||||
import constants
|
import constants
|
||||||
from raven.ui.ScaledScrollBar import ScaledScrollBar
|
from src.ui.ScaledScrollBar import ScaledScrollBar
|
||||||
from raven.ui.bigtext.highlight_selection import HighlightSelection
|
from src.ui.bigtext.highlight_selection import HighlightSelection
|
||||||
from raven.ui.bigtext.highlighted_range import HighlightedRange
|
from src.ui.bigtext.highlighted_range import HighlightedRange
|
||||||
from raven.ui.bigtext.highlightingdialog import HighlightingDialog
|
from src.ui.bigtext.highlightingdialog import HighlightingDialog
|
||||||
from raven.ui.bigtext.line import Line
|
from src.ui.bigtext.line import Line
|
||||||
from raven.ui.bigtext.logFileModel import LogFileModel
|
from src.ui.bigtext.logFileModel import LogFileModel
|
||||||
from raven.util.conversion import humanbytes
|
from src.util.conversion import humanbytes
|
||||||
from raven.pluginregistry import PluginRegistry
|
from src.pluginregistry import PluginRegistry
|
||||||
|
|
||||||
from raven.settings.settings import Settings
|
from src.settings.settings import Settings
|
||||||
from watchdog.observers import Observer
|
from watchdog.observers import Observer
|
||||||
from watchdog.events import FileSystemEventHandler
|
from watchdog.events import FileSystemEventHandler
|
||||||
from raven.i18n import _
|
from src.i18n import _
|
||||||
|
|
||||||
|
|
||||||
class FileObserver(FileSystemEventHandler):
|
class FileObserver(FileSystemEventHandler):
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
from typing import Optional, List
|
from typing import Optional, List
|
||||||
|
|
||||||
from raven.ui.bigtext.line import Line
|
from src.ui.bigtext.line import Line
|
||||||
from raven.ui.bigtext.highlighted_range import HighlightedRange
|
from src.ui.bigtext.highlighted_range import HighlightedRange
|
||||||
|
|
||||||
|
|
||||||
class Highlight:
|
class Highlight:
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from raven.ui.bigtext.highlight import Highlight
|
from src.ui.bigtext.highlight import Highlight
|
||||||
from raven.ui.bigtext.highlighted_range import HighlightedRange
|
from src.ui.bigtext.highlighted_range import HighlightedRange
|
||||||
from raven.ui.bigtext.line import Line
|
from src.ui.bigtext.line import Line
|
||||||
from PySide6.QtGui import QBrush, QColor
|
from PySide6.QtGui import QBrush, QColor
|
||||||
|
|
||||||
from typing import List
|
from typing import List
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
from typing import Optional, List
|
from typing import Optional, List
|
||||||
|
|
||||||
from raven.ui.bigtext.highlight import Highlight
|
from src.ui.bigtext.highlight import Highlight
|
||||||
from raven.ui.bigtext.highlighted_range import HighlightedRange
|
from src.ui.bigtext.highlighted_range import HighlightedRange
|
||||||
from raven.ui.bigtext.line import Line
|
from src.ui.bigtext.line import Line
|
||||||
from PySide6.QtCore import Qt
|
from PySide6.QtCore import Qt
|
||||||
from PySide6.QtGui import QBrush, QColor
|
from PySide6.QtGui import QBrush, QColor
|
||||||
|
|
||||||
from raven.settings.settings import Settings
|
from src.settings.settings import Settings
|
||||||
|
|
||||||
|
|
||||||
class HighlightSelection(Highlight):
|
class HighlightSelection(Highlight):
|
||||||
@@ -1,10 +1,11 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from raven.settings.settings import Settings
|
from src.settings.settings import Settings
|
||||||
from raven.ui.bigtext.highlight_regex import HighlightRegex
|
from src.ui.bigtext.highlight_regex import HighlightRegex
|
||||||
|
|
||||||
log = logging.getLogger("highlighting")
|
log = logging.getLogger("highlighting")
|
||||||
|
|
||||||
|
|
||||||
class Highlighting:
|
class Highlighting:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
@@ -2,13 +2,13 @@ from PySide6.QtGui import QIcon
|
|||||||
from PySide6.QtWidgets import QDialog, QLineEdit, QLabel, QGridLayout, QCheckBox, QListWidget, QListWidgetItem, \
|
from PySide6.QtWidgets import QDialog, QLineEdit, QLabel, QGridLayout, QCheckBox, QListWidget, QListWidgetItem, \
|
||||||
QPushButton, QDialogButtonBox, QMessageBox, QSizePolicy
|
QPushButton, QDialogButtonBox, QMessageBox, QSizePolicy
|
||||||
|
|
||||||
from raven.ui.bigtext.highlight_regex import HighlightRegex
|
from src.ui.bigtext.highlight_regex import HighlightRegex
|
||||||
from raven.ui.bigtext.highlighting import Highlighting
|
from src.ui.bigtext.highlighting import Highlighting
|
||||||
from raven.ui.colorbutton import ColorButton
|
from src.ui.colorbutton import ColorButton
|
||||||
from raven.ui.hbox import HBox
|
from src.ui.hbox import HBox
|
||||||
from raven.settings.settings import Settings
|
from src.settings.settings import Settings
|
||||||
|
|
||||||
from raven.i18n import _
|
from src.i18n import _
|
||||||
|
|
||||||
|
|
||||||
class PayloadItem(QListWidgetItem):
|
class PayloadItem(QListWidgetItem):
|
||||||
@@ -2,7 +2,7 @@ import os
|
|||||||
import tempfile
|
import tempfile
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from raven.util.int2intmap import Int2IntMap
|
from src.util.int2intmap import Int2IntMap
|
||||||
|
|
||||||
|
|
||||||
class LineToLineMap:
|
class LineToLineMap:
|
||||||
@@ -2,11 +2,11 @@ import math
|
|||||||
import re
|
import re
|
||||||
from typing import List, Optional
|
from typing import List, Optional
|
||||||
from PySide6.QtCore import Signal
|
from PySide6.QtCore import Signal
|
||||||
from raven.ui.bigtext.highlight_regex import HighlightRegex
|
from src.ui.bigtext.highlight_regex import HighlightRegex
|
||||||
from raven.ui.bigtext.highlighting import Highlighting
|
from src.ui.bigtext.highlighting import Highlighting
|
||||||
from raven.ui.bigtext.line import Line
|
from src.ui.bigtext.line import Line
|
||||||
import os
|
import os
|
||||||
from raven.settings.settings import Settings
|
from src.settings.settings import Settings
|
||||||
|
|
||||||
|
|
||||||
class LogFileModel:
|
class LogFileModel:
|
||||||
@@ -4,7 +4,7 @@ from configparser import ConfigParser
|
|||||||
from os.path import join
|
from os.path import join
|
||||||
|
|
||||||
from logFileModel import LogFileModel
|
from logFileModel import LogFileModel
|
||||||
from raven.settings.settings import Settings
|
from src.settings.settings import Settings
|
||||||
|
|
||||||
|
|
||||||
class TestLogFileModel(unittest.TestCase):
|
class TestLogFileModel(unittest.TestCase):
|
||||||
@@ -2,7 +2,7 @@ import re
|
|||||||
|
|
||||||
from PySide6.QtGui import QColor, QPixmap, QIcon
|
from PySide6.QtGui import QColor, QPixmap, QIcon
|
||||||
from PySide6.QtWidgets import QWidget, QHBoxLayout, QPushButton, QColorDialog, QSizePolicy, QComboBox
|
from PySide6.QtWidgets import QWidget, QHBoxLayout, QPushButton, QColorDialog, QSizePolicy, QComboBox
|
||||||
from raven.i18n import _
|
from src.i18n import _
|
||||||
|
|
||||||
class ColorButton(QWidget):
|
class ColorButton(QWidget):
|
||||||
def __init__(self, color: str, parent=None):
|
def __init__(self, color: str, parent=None):
|
||||||
@@ -2,9 +2,9 @@ from typing import Optional
|
|||||||
|
|
||||||
from PySide6.QtWidgets import QWidget, QTabWidget, QVBoxLayout
|
from PySide6.QtWidgets import QWidget, QTabWidget, QVBoxLayout
|
||||||
|
|
||||||
from raven.pluginregistry import PluginRegistry
|
from src.pluginregistry import PluginRegistry
|
||||||
from raven.plugins.ravenlog.Tab import Tab
|
from src.plugins.krowlog.Tab import Tab
|
||||||
from raven.settings.settings import Settings
|
from src.settings.settings import Settings
|
||||||
|
|
||||||
|
|
||||||
class Tabs(QWidget):
|
class Tabs(QWidget):
|
||||||
@@ -2,7 +2,7 @@ import tempfile
|
|||||||
import unittest
|
import unittest
|
||||||
from os.path import join
|
from os.path import join
|
||||||
|
|
||||||
from raven.util.int2intmap import Int2IntMap
|
from src.util.int2intmap import Int2IntMap
|
||||||
|
|
||||||
|
|
||||||
class Int2IntMapLike(unittest.TestCase):
|
class Int2IntMapLike(unittest.TestCase):
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "extract text from source files"
|
echo "extract text from source files"
|
||||||
find . -iname "*.py" | xargs /home/andi/bin/Python-3.10.0/Tools/i18n/pygettext.py -o locales/messages.pot
|
find src -iname "*.py" | xargs /home/andi/bin/Python-3.10.0/Tools/i18n/pygettext.py -o locales/messages.pot
|
||||||
|
|
||||||
echo "edit with poedit"
|
echo "edit with poedit"
|
||||||
Reference in New Issue
Block a user