From 7e0d13529af9d18b993497c0644cc06105d5f27b Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Sun, 21 Aug 2022 16:12:53 +0200 Subject: [PATCH] translate --- locales/de_DE/LC_MESSAGES/messages.mo | Bin 4207 -> 4553 bytes locales/de_DE/LC_MESSAGES/messages.po | 106 ++++++++++++------- locales/messages.pot | 102 ++++++++++++------ src/plugins/findInFiles/findinfileswidget.py | 5 +- 4 files changed, 136 insertions(+), 77 deletions(-) diff --git a/locales/de_DE/LC_MESSAGES/messages.mo b/locales/de_DE/LC_MESSAGES/messages.mo index 917c4b88da2b27cc7f599e8172232cf3b5030916..8532273d78d545de036fb7b39d6cec4f1a7fd413 100644 GIT binary patch delta 2020 zcmZA1TWl0n9LMof+TGH<&{{8CiZDTwE};zjG{7~uR0F2fnD z##!6`8%8+)6GIr_B2`m|%u_PUsnpQmAV0I2!v>7uZTJvsfeDP_6Ih8yQ41c!Iy`}z z_zbGw6yAy-qVDBO)I8s!#{GcRtZ%MS(SSct1FA@is#%4acs*)@INpq%Sd05Gj1Qyw zkD~gI+w-UG`7zX;pF}Nu%C^6OwXAPGRt2x17Wf&pBY&Z`u96cCtV6Z0<*))bp|1C$ z#tor%Ac=ZZhwS-b-(JBdA24#dY`!D!~s>^M8c5;APai@+01avn48PsNAp@8c0jevJv&tb)cU0 zPTPI}wLls*(Q~MYeAI%cPk*JvRdE2ieA1RLZ4F; zp{-Tvp2zI9cA)NRhdtM$Q_-W*b8R8?@2ET0Zfqg;5V~WPy9qurb33t#D6hYk3Y$=V zQ}wL${1?jRg$ni&`ajUOzKc+C2)!o*gtoVxP)QK?6P-GtG|#i>c!xGspWAxdyx+PU zTZu+uA8`*6C;Ewi9}RXy`_tJGXHVAYPmj3;zc;wCaxho)Q$f$a8g%2d7TtW8S=7t) z=aOE*$z`3Sm(RP|qLX4Utz#qf_4ii)UelM(yUAiMKRMmG^n69AF#NddOn7d7(!XBw zXtZ-{tj%fN(beAB+#2&A2_5&>g`54^P&^QCX>Doq2g1ASNvWxCxag+ctn+}E9Cfq) zi{UK+l1o47zZ-td&qNOQETl*0#eGe}OF6@tqUVl{x%1bYR4(Hc3Tc;&%}{)W^C!;5w^FI>bi=ZSCA9@D=oH4?H0HB@dtKLmuV&)9 delta 1676 zcmX}sSx8h-9LMo9YU4KJ)@E8ZscAK8j+&-vrj|m|1`$P47#c2+*g^}|P#LsXWS1xj zq=G1-2h$#V2?;8~hyd-8G+kt} zdC-k>@Bym9Vf5m249784L+>ySKVbs?LN4Q`HGS{J*_eu&LjcuYF{)lUs$PBQebAT& zGBbJ5i1By`WAO}fnO<(H&}Yl{ZFvwipkY+QBlh_?s-17vDOCG$OkXokN3Beb%Jgqa z$s}WqebIob(2APban#ax+wwJ3L;a|M-a`%W5o#b$@hFa>I@-v``hF)jcGonc+HJw0 zKIkB$rR&1Qcpm5B0P4dRsD@voI-Ec)=~r9+ftv9Ys+~BNCEvw)Le<+qrBrM{J~2m- zv6)k`?7up=U>{sTm2aRLyp5_bh+O6|H#PVS)xa1Q;{@vL%w;wjK%TW6d1cn)EZkkn${T=c5vDX98+$hMo!n26g^ z?X{sM)`=R}$sieZe9?LnQz#FiW;%lEU>sH9H)<)vcuC(T4J*-a%k8Lv96@#1W6KU| zqIXdPc!=sZ_=JoO&nRl7AF&N5Q6KK%rjGZcW_$t}gE@^FKrgCZKc?XTX5%YVy-8HZ z;dG*v@uCK{9C;r!#bi{m8r5(ka(2v8LeDk30wRZ~AvEf0;(y8{vzpL>)fv!vP}1_N zW37f#9>JWZ)3Q)bzdw>jtdn0$_zC^t)Dg>xTtbP7Os7(E8my8pbpQ8@P?kdHQqn$^Id|M8&KGxTx$f~h hFFk$HYN7R5^FE)m!+UNhBd*vr)DoW@=3GuJ{R`E%jlKW? diff --git a/locales/de_DE/LC_MESSAGES/messages.po b/locales/de_DE/LC_MESSAGES/messages.po index 5f01a04..06879f5 100644 --- a/locales/de_DE/LC_MESSAGES/messages.po +++ b/locales/de_DE/LC_MESSAGES/messages.po @@ -5,80 +5,104 @@ msgid "" msgstr "" "Project-Id-Version: RavenLog\n" -"POT-Creation-Date: 2022-02-12 10:14+0100\n" -"PO-Revision-Date: 2022-02-12 10:17+0100\n" +"POT-Creation-Date: 2022-08-21 09:51+0200\n" +"PO-Revision-Date: 2022-08-21 09:58+0200\n" "Last-Translator: \n" "Language-Team: \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: pygettext.py 1.5\n" -"X-Generator: Poedit 2.3\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Generated-By: pygettext.py 1.5\n" +"X-Generator: Poedit 3.0.1\n" -#: src/mainwindow.py:39 src/plugins/krowlog/aboutdialog.py:23 +#: src/mainwindow.py:34 src/plugins/krowlog/aboutdialog.py:24 #: src/plugins/krowlogplugin.py:85 msgid "KrowLog" msgstr "KrowLog" -#: src/mainwindow.py:47 src/plugins/openfileplugin.py:29 +#: src/mainwindow.py:42 src/plugins/openfileplugin.py:30 msgid "Open &Recent" msgstr "Zu&letzt geöffnete Dateien" -#: src/mainwindow.py:66 +#: src/mainwindow.py:64 msgid "&File" msgstr "&Datei" -#: src/mainwindow.py:67 +#: src/mainwindow.py:65 msgid "&Settings" msgstr "&Einstellungen" -#: src/mainwindow.py:68 +#: src/mainwindow.py:66 msgid "&Window" msgstr "&Fenster" -#: src/mainwindow.py:69 +#: src/mainwindow.py:67 msgid "&Help" msgstr "&Hilfe" -#: src/mainwindow.py:101 src/ui/bigtext/bigtext.py:187 +#: src/mainwindow.py:99 src/ui/bigtext/bigtext.py:188 msgid "&Highlighter" msgstr "&Hervorhebungen" -#: src/mainwindow.py:108 +#: src/mainwindow.py:106 msgid "Highlight &Searches" msgstr "&Suchtreffer Hervorheben" -#: src/mainwindow.py:116 +#: src/mainwindow.py:114 msgid "Open Tab on Save As File" msgstr "Öffne neues Tab wenn Selektion als neue Datei gespeichert wird" -#: src/plugins/krowlog/aboutdialog.py:18 +#: src/plugins/findInFiles/findinfileswidget.py:37 +msgid "Focus on current file" +msgstr "Auf aktuelle Datei fokussieren" + +#: src/plugins/findInFiles/findinfileswidget.py:40 +msgid "Folder:" +msgstr "Ordner:" + +#: src/plugins/findInFiles/findinfileswidget.py:45 +msgid "Filter:" +msgstr "Filter:" + +#: src/plugins/findInFiles/findinfileswidget.py:83 +msgid "Open Directory" +msgstr "Ordner öffnen" + +#: src/plugins/findinfilesplugin.py:31 +msgid "&Find In Files" +msgstr "In &Dateien Suchen" + +#: src/plugins/findinfilesplugin.py:37 +msgid "Find In Files" +msgstr "In Dateien Suchen" + +#: src/plugins/krowlog/aboutdialog.py:19 msgid "About KrowLog" msgstr "Über KrowLog" -#: src/plugins/krowlog/aboutdialog.py:28 +#: src/plugins/krowlog/aboutdialog.py:29 msgid "Version: {0}" msgstr "Version: {0}" -#: src/plugins/krowlog/aboutdialog.py:43 +#: src/plugins/krowlog/aboutdialog.py:44 msgid "About" msgstr "Über KrowLog" -#: src/plugins/krowlog/aboutdialog.py:44 +#: src/plugins/krowlog/aboutdialog.py:45 msgid "License" msgstr "Lizenz" -#: src/plugins/krowlog/aboutdialog.py:57 +#: src/plugins/krowlog/aboutdialog.py:58 msgid "Log file viewer" msgstr "Betrachter für Logdateien" -#: src/plugins/krowlog/aboutdialog.py:58 +#: src/plugins/krowlog/aboutdialog.py:59 msgid "(c) 2022 Andreas Huber" msgstr "(c) 2022 Andreas Huber" -#: src/plugins/krowlog/aboutdialog.py:59 +#: src/plugins/krowlog/aboutdialog.py:60 msgid "License: LGPL v3" msgstr "Lizenz: LGPL v3" @@ -122,71 +146,75 @@ msgstr "&Über KrowLog" msgid "E&xit" msgstr "&Beenden" -#: src/plugins/logfile/filterwidget.py:134 +#: src/plugins/logfile/filterwidget.py:137 msgid "Cancel" msgstr "Abbrechen" -#: src/plugins/logfile/filterwidget.py:138 +#: src/plugins/logfile/filterwidget.py:143 +msgid "save query" +msgstr "suche speichern" + +#: src/plugins/logfile/filterwidget.py:148 msgid "ignore case" msgstr "Groß-/Kleinschreibung ignorieren" -#: src/plugins/logfile/filterwidget.py:142 +#: src/plugins/logfile/filterwidget.py:152 msgid "regex" msgstr "RegExp" -#: src/plugins/logfileplugin.py:25 +#: src/plugins/logfileplugin.py:26 msgid "File not found" msgstr "Datei nicht gefunden" -#: src/plugins/logfileplugin.py:26 +#: src/plugins/logfileplugin.py:27 msgid "'{0}' is not a file or cannot be opened" msgstr "'{0}' ist keine Datei oder kann nicht geöffnet werden" -#: src/plugins/notesplugin.py:25 -msgid "Add &Notes" -msgstr "&Notizen Hinzufügen" +#: src/plugins/notesplugin.py:24 +msgid "&Notes" +msgstr "&Notizen" -#: src/plugins/notesplugin.py:33 +#: src/plugins/notesplugin.py:32 msgid "Notes {0}" msgstr "Notizen {0}" -#: src/plugins/openfileplugin.py:24 +#: src/plugins/openfileplugin.py:25 msgid "&Open..." msgstr "&Öffnen..." -#: src/plugins/openfileplugin.py:45 +#: src/plugins/openfileplugin.py:46 msgid "Open File" msgstr "Öffne Datei" -#: src/ui/bigtext/bigtext.py:170 +#: src/ui/bigtext/bigtext.py:171 msgid "&Copy to Clipboard" msgstr "In Zwischenablage &Kopieren" -#: src/ui/bigtext/bigtext.py:176 +#: src/ui/bigtext/bigtext.py:177 msgid "Copy to &File" msgstr "In &Datei Kopieren" -#: src/ui/bigtext/bigtext.py:181 +#: src/ui/bigtext/bigtext.py:182 msgid "Select &All" msgstr "&Alles Selektieren" -#: src/ui/bigtext/bigtext.py:331 +#: src/ui/bigtext/bigtext.py:332 msgid "data selection" msgstr "selektion" -#: src/ui/bigtext/bigtext.py:332 +#: src/ui/bigtext/bigtext.py:333 msgid "You have selected {0} of data." msgstr "Du hast {0} selektiert." -#: src/ui/bigtext/bigtext.py:335 +#: src/ui/bigtext/bigtext.py:336 msgid "Copy {0} to Clipboard" msgstr "Kopiere {0} in die Zwischenablage" -#: src/ui/bigtext/bigtext.py:337 +#: src/ui/bigtext/bigtext.py:338 msgid "Write to File" msgstr "Schreibe in Datei" -#: src/ui/bigtext/bigtext.py:359 +#: src/ui/bigtext/bigtext.py:360 msgid "Save File" msgstr "Speichere Datei" diff --git a/locales/messages.pot b/locales/messages.pot index e865184..ddc0bb6 100644 --- a/locales/messages.pot +++ b/locales/messages.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2022-02-12 10:14+0100\n" +"POT-Creation-Date: 2022-08-21 09:51+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -15,68 +15,92 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" -#: src/mainwindow.py:39 src/plugins/krowlog/aboutdialog.py:23 +#: src/mainwindow.py:34 src/plugins/krowlog/aboutdialog.py:24 #: src/plugins/krowlogplugin.py:85 msgid "KrowLog" msgstr "" -#: src/mainwindow.py:47 src/plugins/openfileplugin.py:29 +#: src/mainwindow.py:42 src/plugins/openfileplugin.py:30 msgid "Open &Recent" msgstr "" -#: src/mainwindow.py:66 +#: src/mainwindow.py:64 msgid "&File" msgstr "" -#: src/mainwindow.py:67 +#: src/mainwindow.py:65 msgid "&Settings" msgstr "" -#: src/mainwindow.py:68 +#: src/mainwindow.py:66 msgid "&Window" msgstr "" -#: src/mainwindow.py:69 +#: src/mainwindow.py:67 msgid "&Help" msgstr "" -#: src/mainwindow.py:101 src/ui/bigtext/bigtext.py:187 +#: src/mainwindow.py:99 src/ui/bigtext/bigtext.py:188 msgid "&Highlighter" msgstr "" -#: src/mainwindow.py:108 +#: src/mainwindow.py:106 msgid "Highlight &Searches" msgstr "" -#: src/mainwindow.py:116 +#: src/mainwindow.py:114 msgid "Open Tab on Save As File" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:18 +#: src/plugins/findInFiles/findinfileswidget.py:37 +msgid "Focus on current file" +msgstr "" + +#: src/plugins/findInFiles/findinfileswidget.py:40 +msgid "Folder:" +msgstr "" + +#: src/plugins/findInFiles/findinfileswidget.py:45 +msgid "Filter:" +msgstr "" + +#: src/plugins/findInFiles/findinfileswidget.py:83 +msgid "Open Directory" +msgstr "" + +#: src/plugins/findinfilesplugin.py:31 +msgid "&Find In Files" +msgstr "" + +#: src/plugins/findinfilesplugin.py:37 +msgid "Find In Files" +msgstr "" + +#: src/plugins/krowlog/aboutdialog.py:19 msgid "About KrowLog" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:28 +#: src/plugins/krowlog/aboutdialog.py:29 msgid "Version: {0}" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:43 +#: src/plugins/krowlog/aboutdialog.py:44 msgid "About" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:44 +#: src/plugins/krowlog/aboutdialog.py:45 msgid "License" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:57 +#: src/plugins/krowlog/aboutdialog.py:58 msgid "Log file viewer" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:58 +#: src/plugins/krowlog/aboutdialog.py:59 msgid "(c) 2022 Andreas Huber" msgstr "" -#: src/plugins/krowlog/aboutdialog.py:59 +#: src/plugins/krowlog/aboutdialog.py:60 msgid "License: LGPL v3" msgstr "" @@ -116,71 +140,79 @@ msgstr "" msgid "E&xit" msgstr "" -#: src/plugins/logfile/filterwidget.py:134 +#: src/plugins/logfile/filterwidget.py:137 msgid "Cancel" msgstr "" -#: src/plugins/logfile/filterwidget.py:138 +#: src/plugins/logfile/filterwidget.py:143 +msgid "save query" +msgstr "" + +#: src/plugins/logfile/filterwidget.py:148 msgid "ignore case" msgstr "" -#: src/plugins/logfile/filterwidget.py:142 +#: src/plugins/logfile/filterwidget.py:152 msgid "regex" msgstr "" -#: src/plugins/logfileplugin.py:25 +#: src/plugins/logfileplugin.py:26 msgid "File not found" msgstr "" -#: src/plugins/logfileplugin.py:26 +#: src/plugins/logfileplugin.py:27 msgid "'{0}' is not a file or cannot be opened" msgstr "" -#: src/plugins/notesplugin.py:25 -msgid "Add &Notes" +#: src/plugins/notesplugin.py:24 +msgid "&Notes" msgstr "" -#: src/plugins/notesplugin.py:33 +#: src/plugins/notesplugin.py:32 msgid "Notes {0}" msgstr "" -#: src/plugins/openfileplugin.py:24 +#: src/plugins/openfileplugin.py:25 msgid "&Open..." msgstr "" -#: src/plugins/openfileplugin.py:45 +#: src/plugins/openfileplugin.py:46 msgid "Open File" msgstr "" -#: src/ui/bigtext/bigtext.py:170 +#: src/plugins/timediffplugin.py:17 +msgid "" +msgstr "" + +#: src/ui/bigtext/bigtext.py:171 msgid "&Copy to Clipboard" msgstr "" -#: src/ui/bigtext/bigtext.py:176 +#: src/ui/bigtext/bigtext.py:177 msgid "Copy to &File" msgstr "" -#: src/ui/bigtext/bigtext.py:181 +#: src/ui/bigtext/bigtext.py:182 msgid "Select &All" msgstr "" -#: src/ui/bigtext/bigtext.py:331 +#: src/ui/bigtext/bigtext.py:332 msgid "data selection" msgstr "" -#: src/ui/bigtext/bigtext.py:332 +#: src/ui/bigtext/bigtext.py:333 msgid "You have selected {0} of data." msgstr "" -#: src/ui/bigtext/bigtext.py:335 +#: src/ui/bigtext/bigtext.py:336 msgid "Copy {0} to Clipboard" msgstr "" -#: src/ui/bigtext/bigtext.py:337 +#: src/ui/bigtext/bigtext.py:338 msgid "Write to File" msgstr "" -#: src/ui/bigtext/bigtext.py:359 +#: src/ui/bigtext/bigtext.py:360 msgid "Save File" msgstr "" diff --git a/src/plugins/findInFiles/findinfileswidget.py b/src/plugins/findInFiles/findinfileswidget.py index 1c033dd..8805d13 100644 --- a/src/plugins/findInFiles/findinfileswidget.py +++ b/src/plugins/findInFiles/findinfileswidget.py @@ -1,14 +1,13 @@ -import glob import os import sys from pathlib import Path from PySide6.QtCore import QDir, QModelIndex -from PySide6.QtGui import QIcon, QStandardItemModel, QStandardItem +from PySide6.QtGui import QIcon from src.pluginregistry import PluginRegistry from src.plugins.krowlog.Tab import Tab -from PySide6.QtWidgets import QTextEdit, QVBoxLayout, QLabel, QLineEdit, QPushButton, QFileDialog, QTreeView, \ +from PySide6.QtWidgets import QVBoxLayout, QLabel, QLineEdit, QPushButton, QFileDialog, QTreeView, \ QFileSystemModel from src.i18n import _ from src.settings.settings import Settings