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