improvements for about dialog

This commit is contained in:
2024-03-21 19:18:50 +01:00
parent 9010d75ff8
commit 165b6e0a63
5 changed files with 148 additions and 92 deletions

View File

@@ -5,8 +5,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: RavenLog\n" "Project-Id-Version: RavenLog\n"
"POT-Creation-Date: 2023-01-28 18:49+0100\n" "POT-Creation-Date: 2024-03-21 19:17+0100\n"
"PO-Revision-Date: 2023-01-28 18:50+0100\n" "PO-Revision-Date: 2024-03-21 19:17+0100\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: de\n" "Language: de\n"
@@ -17,12 +17,12 @@ msgstr ""
"Generated-By: pygettext.py 1.5\n" "Generated-By: pygettext.py 1.5\n"
"X-Generator: Poedit 3.0.1\n" "X-Generator: Poedit 3.0.1\n"
#: src/mainwindow.py:32 src/plugins/krowlog/aboutdialog.py:28 #: src/mainwindow.py:32 src/plugins/krowlog/aboutdialog.py:30
#: src/plugins/krowlogplugin.py:85 #: src/plugins/krowlogplugin.py:85
msgid "KrowLog" msgid "KrowLog"
msgstr "KrowLog" msgstr "KrowLog"
#: src/mainwindow.py:40 src/plugins/openfileplugin.py:30 #: src/mainwindow.py:40 src/plugins/openfileplugin.py:31
msgid "Open &Recent" msgid "Open &Recent"
msgstr "Zu&letzt geöffnete Dateien" msgstr "Zu&letzt geöffnete Dateien"
@@ -78,27 +78,31 @@ msgstr "Dateibrowser"
msgid "About KrowLog" msgid "About KrowLog"
msgstr "Über KrowLog" msgstr "Über KrowLog"
#: src/plugins/krowlog/aboutdialog.py:33 #: src/plugins/krowlog/aboutdialog.py:35
msgid "Version: {0}" msgid "Version: {0}"
msgstr "Version: {0}" msgstr "Version: {0}"
#: src/plugins/krowlog/aboutdialog.py:48 #: src/plugins/krowlog/aboutdialog.py:50
msgid "About" msgid "About"
msgstr "Über KrowLog" msgstr "Über KrowLog"
#: src/plugins/krowlog/aboutdialog.py:49 #: src/plugins/krowlog/aboutdialog.py:51
msgid "Libraries"
msgstr "Bibliotheken"
#: src/plugins/krowlog/aboutdialog.py:52
msgid "License" msgid "License"
msgstr "Lizenz" msgstr "Lizenz"
#: src/plugins/krowlog/aboutdialog.py:62 #: src/plugins/krowlog/aboutdialog.py:65
msgid "Log file viewer" msgid "KrowLog is a viewer for log files of arbitrary size."
msgstr "Betrachter für Logdateien" msgstr "KrowLog ist ein Betrachter für Logdateien beliebiger Größe."
#: src/plugins/krowlog/aboutdialog.py:63 #: src/plugins/krowlog/aboutdialog.py:66
msgid "(c) 2022-2023 Andreas Huber" msgid "(c) 2022-2024 Andreas Huber"
msgstr "(c) 2022-2023 Andreas Huber" msgstr "(c) 2022-2024 Andreas Huber"
#: src/plugins/krowlog/aboutdialog.py:64 #: src/plugins/krowlog/aboutdialog.py:67
msgid "License: LGPL v3" msgid "License: LGPL v3"
msgstr "Lizenz: LGPL v3" msgstr "Lizenz: LGPL v3"
@@ -142,27 +146,31 @@ msgstr "&Über KrowLog"
msgid "E&xit" msgid "E&xit"
msgstr "&Beenden" msgstr "&Beenden"
#: src/plugins/logfile/filterwidget.py:156 #: src/plugins/logfile/filterwidget.py:181
msgid "Cancel" msgid "Cancel"
msgstr "Abbrechen" msgstr "Abbrechen"
#: src/plugins/logfile/filterwidget.py:162 #: src/plugins/logfile/filterwidget.py:187
msgid "save query" msgid "save query"
msgstr "suche speichern" msgstr "suche speichern"
#: src/plugins/logfile/filterwidget.py:167 #: src/plugins/logfile/filterwidget.py:192
msgid "ignore case" msgid "ignore case"
msgstr "Groß-/Kleinschreibung ignorieren" msgstr "Groß-/Kleinschreibung ignorieren"
#: src/plugins/logfile/filterwidget.py:171 #: src/plugins/logfile/filterwidget.py:196
msgid "regex" msgid "regex"
msgstr "RegExp" msgstr "RegExp"
#: src/plugins/logfile/filterwidget.py:259 #: src/plugins/logfile/filterwidget.py:206
msgid "only matches"
msgstr "nur Treffer"
#: src/plugins/logfile/filterwidget.py:298
msgid "({hits} lines)" msgid "({hits} lines)"
msgstr "({hits} Zeilen)" msgstr "({hits} Zeilen)"
#: src/plugins/logfileplugin.py:35 src/ui/bigtext/bigtext.py:240 #: src/plugins/logfileplugin.py:35 src/ui/bigtext/bigtext.py:254
msgid "&Highlighter" msgid "&Highlighter"
msgstr "&Hervorhebungen" msgstr "&Hervorhebungen"
@@ -186,43 +194,59 @@ msgstr "Notizen {0}"
msgid "&Open..." msgid "&Open..."
msgstr "&Öffnen..." msgstr "&Öffnen..."
#: src/plugins/openfileplugin.py:46 #: src/plugins/openfileplugin.py:47
msgid "Open File" msgid "Open File"
msgstr "Öffne Datei" msgstr "Öffne Datei"
#: src/ui/bigtext/bigtext.py:223 #: src/plugins/timediff/time_diff_menu_widget.py:32
msgid "ms"
msgstr ""
#: src/plugins/timediff/time_diff_menu_widget.py:33
msgid "s"
msgstr ""
#: src/plugins/timediff/time_diff_menu_widget.py:34
msgid "m"
msgstr ""
#: src/plugins/timediff/time_diff_menu_widget.py:35
msgid "h"
msgstr ""
#: src/ui/bigtext/bigtext.py:235
msgid "&Copy to Clipboard" msgid "&Copy to Clipboard"
msgstr "In Zwischenablage &Kopieren" msgstr "In Zwischenablage &Kopieren"
#: src/ui/bigtext/bigtext.py:229 #: src/ui/bigtext/bigtext.py:243
msgid "Copy to &File" msgid "Copy to &File"
msgstr "In &Datei Kopieren" msgstr "In &Datei Kopieren"
#: src/ui/bigtext/bigtext.py:234 #: src/ui/bigtext/bigtext.py:248
msgid "Select &All" msgid "Select &All"
msgstr "&Alles Selektieren" msgstr "&Alles Selektieren"
#: src/ui/bigtext/bigtext.py:396 #: src/ui/bigtext/bigtext.py:410
msgid "data selection" msgid "data selection"
msgstr "selektion" msgstr "selektion"
#: src/ui/bigtext/bigtext.py:397 #: src/ui/bigtext/bigtext.py:411
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."
#: src/ui/bigtext/bigtext.py:401 #: src/ui/bigtext/bigtext.py:416
msgid "Copy {0} to Clipboard" msgid "Copy {0} to Clipboard"
msgstr "Kopiere {0} in die Zwischenablage" msgstr "Kopiere {0} in die Zwischenablage"
#: src/ui/bigtext/bigtext.py:403 #: src/ui/bigtext/bigtext.py:420
msgid "Write to File" msgid "Write to File"
msgstr "Schreibe in Datei" msgstr "Schreibe in Datei"
#: src/ui/bigtext/bigtext.py:425 #: src/ui/bigtext/bigtext.py:444
msgid "Save File" msgid "Save File"
msgstr "Speichere Datei" msgstr "Speichere Datei"
#: src/ui/bigtext/bigtext.py:459 #: src/ui/bigtext/bigtext.py:481
msgid "selected {0} - {1:,.0f}:{2:,.0f}" msgid "selected {0} - {1:,.0f}:{2:,.0f}"
msgstr "selektiert {0} - {1:,.0f}:{2:,.0f}" msgstr "selektiert {0} - {1:,.0f}:{2:,.0f}"
@@ -270,70 +294,73 @@ msgstr "Zeilenhintergrund"
msgid "Regular Expression" msgid "Regular Expression"
msgstr "Regulärer Ausdruck" msgstr "Regulärer Ausdruck"
#: src/ui/colorbutton.py:19 #: src/ui/colorbutton.py:20
msgid "Strawberry Cream" msgid "Strawberry Cream"
msgstr "Strawberry Cream" msgstr "Strawberry Cream"
#: src/ui/colorbutton.py:20 #: src/ui/colorbutton.py:21
msgid "Pale Crimson" msgid "Pale Crimson"
msgstr "Pale Crimson" msgstr "Pale Crimson"
#: src/ui/colorbutton.py:22 #: src/ui/colorbutton.py:23
msgid "Broken Buttercup" msgid "Broken Buttercup"
msgstr "Broken Buttercup" msgstr "Broken Buttercup"
#: src/ui/colorbutton.py:23 #: src/ui/colorbutton.py:24
msgid "Passion Fruit Sugar" msgid "Passion Fruit Sugar"
msgstr "Passion Fruit Sugar" msgstr "Passion Fruit Sugar"
#: src/ui/colorbutton.py:25 #: src/ui/colorbutton.py:26
msgid "Sunrise Yellow" msgid "Sunrise Yellow"
msgstr "Sonnenaufganggelb" msgstr "Sonnenaufganggelb"
#: src/ui/colorbutton.py:26 #: src/ui/colorbutton.py:27
msgid "Magical Mustard" msgid "Magical Mustard"
msgstr "Magischer Senf" msgstr "Magischer Senf"
#: src/ui/colorbutton.py:28 #: src/ui/colorbutton.py:29
msgid "Trendy Green" msgid "Trendy Green"
msgstr "Trendiges Grün" msgstr "Trendiges Grün"
#: src/ui/colorbutton.py:29 #: src/ui/colorbutton.py:30
msgid "Garden Of Sweden" msgid "Garden Of Sweden"
msgstr "Garten von Schweden" msgstr "Garten von Schweden"
#: src/ui/colorbutton.py:31 #: src/ui/colorbutton.py:32
msgid "Light Sky Blue" msgid "Light Sky Blue"
msgstr "Helles Himmelsblau" msgstr "Helles Himmelsblau"
#: src/ui/colorbutton.py:32 #: src/ui/colorbutton.py:33
msgid "True Blue" msgid "True Blue"
msgstr "Echtes Blau" msgstr "Echtes Blau"
#: src/ui/colorbutton.py:34 #: src/ui/colorbutton.py:35
msgid "Fairy Topia" msgid "Fairy Topia"
msgstr "Fairy Topia" msgstr "Fairy Topia"
#: src/ui/colorbutton.py:35 #: src/ui/colorbutton.py:36
msgid "Magenta Bachiego" msgid "Magenta Bachiego"
msgstr "Magenta Bachiego" msgstr "Magenta Bachiego"
#: src/ui/colorbutton.py:37 #: src/ui/colorbutton.py:38
msgid "Breeze of Mist" msgid "Breeze of Mist"
msgstr "Nebelbriese" msgstr "Nebelbriese"
#: src/ui/colorbutton.py:38 #: src/ui/colorbutton.py:39
msgid "Light Grey" msgid "Light Grey"
msgstr "Helles Grau" msgstr "Helles Grau"
#: src/ui/colorbutton.py:39 #: src/ui/colorbutton.py:40
msgid "Grey" msgid "Grey"
msgstr "Grau" msgstr "Grau"
#: src/ui/colorbutton.py:45 #: src/ui/colorbutton.py:46
msgid "transparent" msgid "transparent"
msgstr "Transparent" msgstr "Transparent"
#~ msgid "Log file viewer"
#~ msgstr "Betrachter für Logdateien"
#~ msgid "Add" #~ msgid "Add"
#~ msgstr "Hinzufügen" #~ msgstr "Hinzufügen"

View File

@@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2023-01-28 18:49+0100\n" "POT-Creation-Date: 2024-03-21 19:17+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,12 +15,12 @@ msgstr ""
"Generated-By: pygettext.py 1.5\n" "Generated-By: pygettext.py 1.5\n"
#: src/mainwindow.py:32 src/plugins/krowlog/aboutdialog.py:28 #: src/mainwindow.py:32 src/plugins/krowlog/aboutdialog.py:30
#: src/plugins/krowlogplugin.py:85 #: src/plugins/krowlogplugin.py:85
msgid "KrowLog" msgid "KrowLog"
msgstr "" msgstr ""
#: src/mainwindow.py:40 src/plugins/openfileplugin.py:30 #: src/mainwindow.py:40 src/plugins/openfileplugin.py:31
msgid "Open &Recent" msgid "Open &Recent"
msgstr "" msgstr ""
@@ -76,27 +76,31 @@ msgstr ""
msgid "About KrowLog" msgid "About KrowLog"
msgstr "" msgstr ""
#: src/plugins/krowlog/aboutdialog.py:33 #: src/plugins/krowlog/aboutdialog.py:35
msgid "Version: {0}" msgid "Version: {0}"
msgstr "" msgstr ""
#: src/plugins/krowlog/aboutdialog.py:48 #: src/plugins/krowlog/aboutdialog.py:50
msgid "About" msgid "About"
msgstr "" msgstr ""
#: src/plugins/krowlog/aboutdialog.py:49 #: src/plugins/krowlog/aboutdialog.py:51
msgid "Libraries"
msgstr ""
#: src/plugins/krowlog/aboutdialog.py:52
msgid "License" msgid "License"
msgstr "" msgstr ""
#: src/plugins/krowlog/aboutdialog.py:62 #: src/plugins/krowlog/aboutdialog.py:65
msgid "Log file viewer" msgid "KrowLog is a viewer for log files of arbitrary size."
msgstr "" msgstr ""
#: src/plugins/krowlog/aboutdialog.py:63 #: src/plugins/krowlog/aboutdialog.py:66
msgid "(c) 2022-2023 Andreas Huber" msgid "(c) 2022-2024 Andreas Huber"
msgstr "" msgstr ""
#: src/plugins/krowlog/aboutdialog.py:64 #: src/plugins/krowlog/aboutdialog.py:67
msgid "License: LGPL v3" msgid "License: LGPL v3"
msgstr "" msgstr ""
@@ -136,27 +140,31 @@ msgstr ""
msgid "E&xit" msgid "E&xit"
msgstr "" msgstr ""
#: src/plugins/logfile/filterwidget.py:156 #: src/plugins/logfile/filterwidget.py:181
msgid "Cancel" msgid "Cancel"
msgstr "" msgstr ""
#: src/plugins/logfile/filterwidget.py:162 #: src/plugins/logfile/filterwidget.py:187
msgid "save query" msgid "save query"
msgstr "" msgstr ""
#: src/plugins/logfile/filterwidget.py:167 #: src/plugins/logfile/filterwidget.py:192
msgid "ignore case" msgid "ignore case"
msgstr "" msgstr ""
#: src/plugins/logfile/filterwidget.py:171 #: src/plugins/logfile/filterwidget.py:196
msgid "regex" msgid "regex"
msgstr "" msgstr ""
#: src/plugins/logfile/filterwidget.py:259 #: src/plugins/logfile/filterwidget.py:206
msgid "only matches"
msgstr ""
#: src/plugins/logfile/filterwidget.py:298
msgid "({hits} lines)" msgid "({hits} lines)"
msgstr "" msgstr ""
#: src/plugins/logfileplugin.py:35 src/ui/bigtext/bigtext.py:240 #: src/plugins/logfileplugin.py:35 src/ui/bigtext/bigtext.py:254
msgid "&Highlighter" msgid "&Highlighter"
msgstr "" msgstr ""
@@ -180,46 +188,66 @@ msgstr ""
msgid "&Open..." msgid "&Open..."
msgstr "" msgstr ""
#: src/plugins/openfileplugin.py:46 #: src/plugins/openfileplugin.py:47
msgid "Open File" msgid "Open File"
msgstr "" msgstr ""
#: src/ui/bigtext/bigtext.py:223 #: src/plugins/timediff/time_diff_menu_widget.py:32
msgid "ms"
msgstr ""
#: src/plugins/timediff/time_diff_menu_widget.py:33
msgid "s"
msgstr ""
#: src/plugins/timediff/time_diff_menu_widget.py:34
msgid "m"
msgstr ""
#: src/plugins/timediff/time_diff_menu_widget.py:35
msgid "h"
msgstr ""
#: src/ui/bigtext/bigtext.py:235
msgid "&Copy to Clipboard" msgid "&Copy to Clipboard"
msgstr "" msgstr ""
#: src/ui/bigtext/bigtext.py:229 #: src/ui/bigtext/bigtext.py:243
msgid "Copy to &File" msgid "Copy to &File"
msgstr "" msgstr ""
#: src/ui/bigtext/bigtext.py:234 #: src/ui/bigtext/bigtext.py:248
msgid "Select &All" msgid "Select &All"
msgstr "" msgstr ""
#: src/ui/bigtext/bigtext.py:396 #: src/ui/bigtext/bigtext.py:410
msgid "data selection" msgid "data selection"
msgstr "" msgstr ""
#: src/ui/bigtext/bigtext.py:397 #: src/ui/bigtext/bigtext.py:411
msgid "You have selected <b>{0}</b> of data." msgid "You have selected <b>{0}</b> of data."
msgstr "" msgstr ""
#: src/ui/bigtext/bigtext.py:401 #: src/ui/bigtext/bigtext.py:416
msgid "Copy {0} to Clipboard" msgid "Copy {0} to Clipboard"
msgstr "" msgstr ""
#: src/ui/bigtext/bigtext.py:403 #: src/ui/bigtext/bigtext.py:420
msgid "Write to File" msgid "Write to File"
msgstr "" msgstr ""
#: src/ui/bigtext/bigtext.py:425 #: src/ui/bigtext/bigtext.py:444
msgid "Save File" msgid "Save File"
msgstr "" msgstr ""
#: src/ui/bigtext/bigtext.py:459 #: src/ui/bigtext/bigtext.py:481
msgid "selected {0} - {1:,.0f}:{2:,.0f}" msgid "selected {0} - {1:,.0f}:{2:,.0f}"
msgstr "" msgstr ""
#: src/ui/bigtext/bigtext.py:484
msgid ""
msgstr ""
#: src/ui/bigtext/newhighlightingdialog.py:20 #: src/ui/bigtext/newhighlightingdialog.py:20
msgid "Manage Highlighting" msgid "Manage Highlighting"
msgstr "" msgstr ""
@@ -264,67 +292,67 @@ msgstr ""
msgid "Regular Expression" msgid "Regular Expression"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:19 #: src/ui/colorbutton.py:20
msgid "Strawberry Cream" msgid "Strawberry Cream"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:20 #: src/ui/colorbutton.py:21
msgid "Pale Crimson" msgid "Pale Crimson"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:22 #: src/ui/colorbutton.py:23
msgid "Broken Buttercup" msgid "Broken Buttercup"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:23 #: src/ui/colorbutton.py:24
msgid "Passion Fruit Sugar" msgid "Passion Fruit Sugar"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:25 #: src/ui/colorbutton.py:26
msgid "Sunrise Yellow" msgid "Sunrise Yellow"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:26 #: src/ui/colorbutton.py:27
msgid "Magical Mustard" msgid "Magical Mustard"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:28 #: src/ui/colorbutton.py:29
msgid "Trendy Green" msgid "Trendy Green"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:29 #: src/ui/colorbutton.py:30
msgid "Garden Of Sweden" msgid "Garden Of Sweden"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:31 #: src/ui/colorbutton.py:32
msgid "Light Sky Blue" msgid "Light Sky Blue"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:32 #: src/ui/colorbutton.py:33
msgid "True Blue" msgid "True Blue"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:34 #: src/ui/colorbutton.py:35
msgid "Fairy Topia" msgid "Fairy Topia"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:35 #: src/ui/colorbutton.py:36
msgid "Magenta Bachiego" msgid "Magenta Bachiego"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:37 #: src/ui/colorbutton.py:38
msgid "Breeze of Mist" msgid "Breeze of Mist"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:38 #: src/ui/colorbutton.py:39
msgid "Light Grey" msgid "Light Grey"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:39 #: src/ui/colorbutton.py:40
msgid "Grey" msgid "Grey"
msgstr "" msgstr ""
#: src/ui/colorbutton.py:45 #: src/ui/colorbutton.py:46
msgid "transparent" msgid "transparent"
msgstr "" msgstr ""

View File

@@ -23,6 +23,7 @@ class AboutDialog(QDialog):
self.setWindowTitle(_("About KrowLog")) self.setWindowTitle(_("About KrowLog"))
self.setModal(True) self.setModal(True)
self.setMinimumWidth(650) self.setMinimumWidth(650)
self.setFixedHeight(300)
self.layout = QVBoxLayout(self) self.layout = QVBoxLayout(self)
@@ -61,8 +62,8 @@ class AboutDialog(QDialog):
result = QWidget() result = QWidget()
result.layout = QVBoxLayout(result) result.layout = QVBoxLayout(result)
label = Label("{0}<br>{1}<br>{2}".format( label = Label("{0}<br>{1}<br>{2}".format(
_("Log file viewer"), _("KrowLog is a viewer for log files of arbitrary size."),
_("(c) 2022-2023 Andreas Huber"), _("(c) 2022-2024 Andreas Huber"),
_("License: LGPL v3") _("License: LGPL v3")
)) ))
result.layout.addWidget(label) result.layout.addWidget(label)

View File

@@ -3,4 +3,4 @@
echo "extract text from source files" echo "extract text from source files"
find src -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 locales/de_DE/LC_MESSAGES/messages.po"