From 165b6e0a634faa2d89ec51fdfb3dfa5789ef547d Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Thu, 21 Mar 2024 19:18:50 +0100 Subject: [PATCH] improvements for about dialog --- locales/de_DE/LC_MESSAGES/messages.mo | Bin 4623 -> 4784 bytes locales/de_DE/LC_MESSAGES/messages.po | 119 ++++++++++++++++---------- locales/messages.pot | 114 ++++++++++++++---------- src/plugins/krowlog/aboutdialog.py | 5 +- translate.sh | 2 +- 5 files changed, 148 insertions(+), 92 deletions(-) diff --git a/locales/de_DE/LC_MESSAGES/messages.mo b/locales/de_DE/LC_MESSAGES/messages.mo index e45edb110c3d7b1c5118b589f2dd2c747dd8734c..7ceebde7cfa39925f5b7b655b1d484f1769a6f53 100644 GIT binary patch delta 2066 zcmYk6TWnNC7{_O8DQ%af6pC0%bqc*Gz1VG6YLSbyYFj9j1~JIxVYfZIJ!QMwoZV8Y z5Bpdi3>sIA5)zHU2a`rIo0y0iO&UX@FBpUI!I)MI@xjD2M57@w{{HQ0WHSHx&Eg{ ztbiXuIsOvL&$loFzlX9fk2uo}vKKa}4iG_pS#B>y^-1QXbp325PYNHuTM$kF?- zBVbGc%F!LHbvOQm+CU`_k!4c@^&<69cFq2Lw?E$lmDvF(yB9;`Uxp)0C}0vQz1!#fF@Ge*f2cR~17RtYuqa(wYVHKQ(O3f9h zOY#AH7=G-JZ$h2jk5HHKcc`;nf(lg5?zCPD6)+6t=NQ}vPr*uf87fY0j*fQpDWsaO zXtbf5P!4~BGWf$E2Y5ZbVHFKAO#{>hB2bs{FqHi;RL0IgJvRdt@B-WqFRhGo<`y08 z_!pmlL8Y#osKhi?P#dX-ESWAyHT^W>@Fdi8Uqc1H1(lgasDO7M)!d~~CfDFh{_A0# zzW+8lGCT^EiPKOHN8omt@z>vkI`j7+cX9c+9)ypgPNbWz@+3Nds!+%RaevXqy3rA&Pwg@EG}147FH$+Ug5_4JS9u0Kg_MbYq@paS z97Z{PcEe~33ZrLHD{4gdmtKF+=d&I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g3kIDv|w{M%eyP3=0M2V*V++u4z~u61iK=KyaY3N4ps36#EGsV!M1J@_dpyPAp7@N&_oPnG)E%8&jZG~$&94=*TjSyQg{9XH%g=A diff --git a/locales/de_DE/LC_MESSAGES/messages.po b/locales/de_DE/LC_MESSAGES/messages.po index 2beea34..1f676e1 100644 --- a/locales/de_DE/LC_MESSAGES/messages.po +++ b/locales/de_DE/LC_MESSAGES/messages.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: RavenLog\n" -"POT-Creation-Date: 2023-01-28 18:49+0100\n" -"PO-Revision-Date: 2023-01-28 18:50+0100\n" +"POT-Creation-Date: 2024-03-21 19:17+0100\n" +"PO-Revision-Date: 2024-03-21 19:17+0100\n" "Last-Translator: \n" "Language-Team: \n" "Language: de\n" @@ -17,12 +17,12 @@ msgstr "" "Generated-By: pygettext.py 1.5\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 msgid "KrowLog" msgstr "KrowLog" -#: src/mainwindow.py:40 src/plugins/openfileplugin.py:30 +#: src/mainwindow.py:40 src/plugins/openfileplugin.py:31 msgid "Open &Recent" msgstr "Zu&letzt geöffnete Dateien" @@ -78,27 +78,31 @@ msgstr "Dateibrowser" msgid "About KrowLog" msgstr "Über KrowLog" -#: src/plugins/krowlog/aboutdialog.py:33 +#: src/plugins/krowlog/aboutdialog.py:35 msgid "Version: {0}" msgstr "Version: {0}" -#: src/plugins/krowlog/aboutdialog.py:48 +#: src/plugins/krowlog/aboutdialog.py:50 msgid "About" 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" msgstr "Lizenz" -#: src/plugins/krowlog/aboutdialog.py:62 -msgid "Log file viewer" -msgstr "Betrachter für Logdateien" +#: src/plugins/krowlog/aboutdialog.py:65 +msgid "KrowLog is a viewer for log files of arbitrary size." +msgstr "KrowLog ist ein Betrachter für Logdateien beliebiger Größe." -#: src/plugins/krowlog/aboutdialog.py:63 -msgid "(c) 2022-2023 Andreas Huber" -msgstr "(c) 2022-2023 Andreas Huber" +#: src/plugins/krowlog/aboutdialog.py:66 +msgid "(c) 2022-2024 Andreas Huber" +msgstr "(c) 2022-2024 Andreas Huber" -#: src/plugins/krowlog/aboutdialog.py:64 +#: src/plugins/krowlog/aboutdialog.py:67 msgid "License: LGPL v3" msgstr "Lizenz: LGPL v3" @@ -142,27 +146,31 @@ msgstr "&Über KrowLog" msgid "E&xit" msgstr "&Beenden" -#: src/plugins/logfile/filterwidget.py:156 +#: src/plugins/logfile/filterwidget.py:181 msgid "Cancel" msgstr "Abbrechen" -#: src/plugins/logfile/filterwidget.py:162 +#: src/plugins/logfile/filterwidget.py:187 msgid "save query" msgstr "suche speichern" -#: src/plugins/logfile/filterwidget.py:167 +#: src/plugins/logfile/filterwidget.py:192 msgid "ignore case" msgstr "Groß-/Kleinschreibung ignorieren" -#: src/plugins/logfile/filterwidget.py:171 +#: src/plugins/logfile/filterwidget.py:196 msgid "regex" 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)" 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" msgstr "&Hervorhebungen" @@ -186,43 +194,59 @@ msgstr "Notizen {0}" msgid "&Open..." msgstr "&Öffnen..." -#: src/plugins/openfileplugin.py:46 +#: src/plugins/openfileplugin.py:47 msgid "Open File" 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" msgstr "In Zwischenablage &Kopieren" -#: src/ui/bigtext/bigtext.py:229 +#: src/ui/bigtext/bigtext.py:243 msgid "Copy to &File" msgstr "In &Datei Kopieren" -#: src/ui/bigtext/bigtext.py:234 +#: src/ui/bigtext/bigtext.py:248 msgid "Select &All" msgstr "&Alles Selektieren" -#: src/ui/bigtext/bigtext.py:396 +#: src/ui/bigtext/bigtext.py:410 msgid "data selection" msgstr "selektion" -#: src/ui/bigtext/bigtext.py:397 +#: src/ui/bigtext/bigtext.py:411 msgid "You have selected {0} of data." msgstr "Du hast {0} selektiert." -#: src/ui/bigtext/bigtext.py:401 +#: src/ui/bigtext/bigtext.py:416 msgid "Copy {0} to Clipboard" msgstr "Kopiere {0} in die Zwischenablage" -#: src/ui/bigtext/bigtext.py:403 +#: src/ui/bigtext/bigtext.py:420 msgid "Write to File" msgstr "Schreibe in Datei" -#: src/ui/bigtext/bigtext.py:425 +#: src/ui/bigtext/bigtext.py:444 msgid "Save File" msgstr "Speichere Datei" -#: src/ui/bigtext/bigtext.py:459 +#: src/ui/bigtext/bigtext.py:481 msgid "selected {0} - {1:,.0f}:{2:,.0f}" msgstr "selektiert {0} - {1:,.0f}:{2:,.0f}" @@ -270,70 +294,73 @@ msgstr "Zeilenhintergrund" msgid "Regular Expression" msgstr "Regulärer Ausdruck" -#: src/ui/colorbutton.py:19 +#: src/ui/colorbutton.py:20 msgid "Strawberry Cream" msgstr "Strawberry Cream" -#: src/ui/colorbutton.py:20 +#: src/ui/colorbutton.py:21 msgid "Pale Crimson" msgstr "Pale Crimson" -#: src/ui/colorbutton.py:22 +#: src/ui/colorbutton.py:23 msgid "Broken Buttercup" msgstr "Broken Buttercup" -#: src/ui/colorbutton.py:23 +#: src/ui/colorbutton.py:24 msgid "Passion Fruit Sugar" msgstr "Passion Fruit Sugar" -#: src/ui/colorbutton.py:25 +#: src/ui/colorbutton.py:26 msgid "Sunrise Yellow" msgstr "Sonnenaufganggelb" -#: src/ui/colorbutton.py:26 +#: src/ui/colorbutton.py:27 msgid "Magical Mustard" msgstr "Magischer Senf" -#: src/ui/colorbutton.py:28 +#: src/ui/colorbutton.py:29 msgid "Trendy Green" msgstr "Trendiges Grün" -#: src/ui/colorbutton.py:29 +#: src/ui/colorbutton.py:30 msgid "Garden Of Sweden" msgstr "Garten von Schweden" -#: src/ui/colorbutton.py:31 +#: src/ui/colorbutton.py:32 msgid "Light Sky Blue" msgstr "Helles Himmelsblau" -#: src/ui/colorbutton.py:32 +#: src/ui/colorbutton.py:33 msgid "True Blue" msgstr "Echtes Blau" -#: src/ui/colorbutton.py:34 +#: src/ui/colorbutton.py:35 msgid "Fairy Topia" msgstr "Fairy Topia" -#: src/ui/colorbutton.py:35 +#: src/ui/colorbutton.py:36 msgid "Magenta Bachiego" msgstr "Magenta Bachiego" -#: src/ui/colorbutton.py:37 +#: src/ui/colorbutton.py:38 msgid "Breeze of Mist" msgstr "Nebelbriese" -#: src/ui/colorbutton.py:38 +#: src/ui/colorbutton.py:39 msgid "Light Grey" msgstr "Helles Grau" -#: src/ui/colorbutton.py:39 +#: src/ui/colorbutton.py:40 msgid "Grey" msgstr "Grau" -#: src/ui/colorbutton.py:45 +#: src/ui/colorbutton.py:46 msgid "transparent" msgstr "Transparent" +#~ msgid "Log file viewer" +#~ msgstr "Betrachter für Logdateien" + #~ msgid "Add" #~ msgstr "Hinzufügen" diff --git a/locales/messages.pot b/locales/messages.pot index 98f5727..66dff08 100644 --- a/locales/messages.pot +++ b/locales/messages.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "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" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -15,12 +15,12 @@ msgstr "" "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 msgid "KrowLog" msgstr "" -#: src/mainwindow.py:40 src/plugins/openfileplugin.py:30 +#: src/mainwindow.py:40 src/plugins/openfileplugin.py:31 msgid "Open &Recent" msgstr "" @@ -76,27 +76,31 @@ msgstr "" msgid "About KrowLog" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:33 +#: src/plugins/krowlog/aboutdialog.py:35 msgid "Version: {0}" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:48 +#: src/plugins/krowlog/aboutdialog.py:50 msgid "About" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:49 +#: src/plugins/krowlog/aboutdialog.py:51 +msgid "Libraries" +msgstr "" + +#: src/plugins/krowlog/aboutdialog.py:52 msgid "License" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:62 -msgid "Log file viewer" +#: src/plugins/krowlog/aboutdialog.py:65 +msgid "KrowLog is a viewer for log files of arbitrary size." msgstr "" -#: src/plugins/krowlog/aboutdialog.py:63 -msgid "(c) 2022-2023 Andreas Huber" +#: src/plugins/krowlog/aboutdialog.py:66 +msgid "(c) 2022-2024 Andreas Huber" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:64 +#: src/plugins/krowlog/aboutdialog.py:67 msgid "License: LGPL v3" msgstr "" @@ -136,27 +140,31 @@ msgstr "" msgid "E&xit" msgstr "" -#: src/plugins/logfile/filterwidget.py:156 +#: src/plugins/logfile/filterwidget.py:181 msgid "Cancel" msgstr "" -#: src/plugins/logfile/filterwidget.py:162 +#: src/plugins/logfile/filterwidget.py:187 msgid "save query" msgstr "" -#: src/plugins/logfile/filterwidget.py:167 +#: src/plugins/logfile/filterwidget.py:192 msgid "ignore case" msgstr "" -#: src/plugins/logfile/filterwidget.py:171 +#: src/plugins/logfile/filterwidget.py:196 msgid "regex" 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)" 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" msgstr "" @@ -180,46 +188,66 @@ msgstr "" msgid "&Open..." msgstr "" -#: src/plugins/openfileplugin.py:46 +#: src/plugins/openfileplugin.py:47 msgid "Open File" 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" msgstr "" -#: src/ui/bigtext/bigtext.py:229 +#: src/ui/bigtext/bigtext.py:243 msgid "Copy to &File" msgstr "" -#: src/ui/bigtext/bigtext.py:234 +#: src/ui/bigtext/bigtext.py:248 msgid "Select &All" msgstr "" -#: src/ui/bigtext/bigtext.py:396 +#: src/ui/bigtext/bigtext.py:410 msgid "data selection" msgstr "" -#: src/ui/bigtext/bigtext.py:397 +#: src/ui/bigtext/bigtext.py:411 msgid "You have selected {0} of data." msgstr "" -#: src/ui/bigtext/bigtext.py:401 +#: src/ui/bigtext/bigtext.py:416 msgid "Copy {0} to Clipboard" msgstr "" -#: src/ui/bigtext/bigtext.py:403 +#: src/ui/bigtext/bigtext.py:420 msgid "Write to File" msgstr "" -#: src/ui/bigtext/bigtext.py:425 +#: src/ui/bigtext/bigtext.py:444 msgid "Save File" msgstr "" -#: src/ui/bigtext/bigtext.py:459 +#: src/ui/bigtext/bigtext.py:481 msgid "selected {0} - {1:,.0f}:{2:,.0f}" msgstr "" +#: src/ui/bigtext/bigtext.py:484 +msgid "" +msgstr "" + #: src/ui/bigtext/newhighlightingdialog.py:20 msgid "Manage Highlighting" msgstr "" @@ -264,67 +292,67 @@ msgstr "" msgid "Regular Expression" msgstr "" -#: src/ui/colorbutton.py:19 +#: src/ui/colorbutton.py:20 msgid "Strawberry Cream" msgstr "" -#: src/ui/colorbutton.py:20 +#: src/ui/colorbutton.py:21 msgid "Pale Crimson" msgstr "" -#: src/ui/colorbutton.py:22 +#: src/ui/colorbutton.py:23 msgid "Broken Buttercup" msgstr "" -#: src/ui/colorbutton.py:23 +#: src/ui/colorbutton.py:24 msgid "Passion Fruit Sugar" msgstr "" -#: src/ui/colorbutton.py:25 +#: src/ui/colorbutton.py:26 msgid "Sunrise Yellow" msgstr "" -#: src/ui/colorbutton.py:26 +#: src/ui/colorbutton.py:27 msgid "Magical Mustard" msgstr "" -#: src/ui/colorbutton.py:28 +#: src/ui/colorbutton.py:29 msgid "Trendy Green" msgstr "" -#: src/ui/colorbutton.py:29 +#: src/ui/colorbutton.py:30 msgid "Garden Of Sweden" msgstr "" -#: src/ui/colorbutton.py:31 +#: src/ui/colorbutton.py:32 msgid "Light Sky Blue" msgstr "" -#: src/ui/colorbutton.py:32 +#: src/ui/colorbutton.py:33 msgid "True Blue" msgstr "" -#: src/ui/colorbutton.py:34 +#: src/ui/colorbutton.py:35 msgid "Fairy Topia" msgstr "" -#: src/ui/colorbutton.py:35 +#: src/ui/colorbutton.py:36 msgid "Magenta Bachiego" msgstr "" -#: src/ui/colorbutton.py:37 +#: src/ui/colorbutton.py:38 msgid "Breeze of Mist" msgstr "" -#: src/ui/colorbutton.py:38 +#: src/ui/colorbutton.py:39 msgid "Light Grey" msgstr "" -#: src/ui/colorbutton.py:39 +#: src/ui/colorbutton.py:40 msgid "Grey" msgstr "" -#: src/ui/colorbutton.py:45 +#: src/ui/colorbutton.py:46 msgid "transparent" msgstr "" diff --git a/src/plugins/krowlog/aboutdialog.py b/src/plugins/krowlog/aboutdialog.py index 49aaf34..0eb6dc8 100644 --- a/src/plugins/krowlog/aboutdialog.py +++ b/src/plugins/krowlog/aboutdialog.py @@ -23,6 +23,7 @@ class AboutDialog(QDialog): self.setWindowTitle(_("About KrowLog")) self.setModal(True) self.setMinimumWidth(650) + self.setFixedHeight(300) self.layout = QVBoxLayout(self) @@ -61,8 +62,8 @@ class AboutDialog(QDialog): result = QWidget() result.layout = QVBoxLayout(result) label = Label("{0}
{1}
{2}".format( - _("Log file viewer"), - _("(c) 2022-2023 Andreas Huber"), + _("KrowLog is a viewer for log files of arbitrary size."), + _("(c) 2022-2024 Andreas Huber"), _("License: LGPL v3") )) result.layout.addWidget(label) diff --git a/translate.sh b/translate.sh index ec827e7..1cd78f5 100755 --- a/translate.sh +++ b/translate.sh @@ -3,4 +3,4 @@ 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 -echo "edit with poedit" \ No newline at end of file +echo "edit with: poedit locales/de_DE/LC_MESSAGES/messages.po" \ No newline at end of file