Fixed many issues with new History module, including saved status.

+ Fixed (old) bug that label content wasn't being saved.
This commit is contained in:
Adsooi 2024-10-11 02:03:27 +02:00
parent 2dc9234b22
commit 448d94fee3
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
19 changed files with 479 additions and 459 deletions

View file

@ -67,22 +67,22 @@
<translation>&amp;Lösen</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="85"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="84"/>
<source>&amp;Redo</source>
<translation>&amp;Wiederherstellen</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="93"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="91"/>
<source>&amp;Copy plot</source>
<translation>Grafik &amp;Kopieren</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="100"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="98"/>
<source>&amp;Preferences</source>
<translation>&amp;Einstellung</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="108"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="106"/>
<source>&amp;Create</source>
<translation>&amp;Erstellen</translation>
</message>
@ -123,52 +123,52 @@
<translation type="vanished">Syntaktische Färbung</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="128"/>
<source>&amp;Help</source>
<translation>&amp;Hilfe</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="132"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/>
<source>&amp;Source code</source>
<translation>&amp;Quellcode</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="137"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<source>&amp;Report a bug</source>
<translation>Fehler &amp;Melden</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="142"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="140"/>
<source>&amp;User manual</source>
<translation>&amp;Benutzerhandbuch</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="147"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="145"/>
<source>&amp;Changelog</source>
<translation>&amp;Changelog</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="152"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="150"/>
<source>&amp;Help translating!</source>
<translation>&amp;Hilfe beim Übersetzen!</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="158"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="156"/>
<source>&amp;Thanks</source>
<translation>&amp;Danksagungen</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="163"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="161"/>
<source>&amp;About</source>
<translation>&amp;Übrigens</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="172"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="170"/>
<source>Save unsaved changes?</source>
<translation>Änderungen speichern?</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="173"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="171"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation>Diese Grafik enthält ungespeicherte Änderungen. Dadurch gehen alle ungespeicherten Daten verloren. Fortfahren?</translation>
</message>
@ -205,12 +205,12 @@
<name>CustomPropertyList</name>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/CustomPropertyList.qml" line="196"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/CustomPropertyList.qml" line="214"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/CustomPropertyList.qml" line="216"/>
<source>+ Create new %1</source>
<translation>+ Neues %1objekt erstellen</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/CustomPropertyList.qml" line="314"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/CustomPropertyList.qml" line="316"/>
<source>Pick on graph</source>
<translation>Aufnehmen auf Graph</translation>
</message>
@ -238,9 +238,8 @@
<translation>Name</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/Dialog.qml" line="130"/>
<source>Label content</source>
<translation>Etikett</translation>
<translation type="vanished">Etikett</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/Dialog.qml" line="131"/>
@ -405,24 +404,20 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>HistoryBrowser</name>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="56"/>
<source>Filter...</source>
<translation>Filtern</translation>
<translation type="vanished">Filtern</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="99"/>
<source>Redo &gt;</source>
<translation>Wiederherstellen &gt;</translation>
<translation type="vanished">Wiederherstellen &gt;</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="118"/>
<source>&gt; Now</source>
<translation>&gt; Aktueller Stand</translation>
<translation type="vanished">&gt; Aktueller Stand</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="148"/>
<source>&lt; Undo</source>
<translation>&lt; Rückgängig</translation>
<translation type="vanished">&lt; Rückgängig</translation>
</message>
</context>
<context>
@ -475,17 +470,17 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<translation type="vanished">Geladene Datei &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="232"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="218"/>
<source>Copied plot screenshot to clipboard!</source>
<translation>Grafik in die Zwischenablage kopiert!</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="247"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="233"/>
<source>&amp;Update</source>
<translation>&amp;Aktualisieren</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="249"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="235"/>
<source>&amp;Update LogarithmPlotter</source>
<translation>LogarithmPlotter &amp;aktualisieren</translation>
</message>
@ -613,109 +608,109 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<name>Settings</name>
<message>
<location filename="../../common/src/preferences/default.mjs" line="23"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="157"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="155"/>
<source>X Zoom</source>
<translation>Zoom auf X</translation>
</message>
<message>
<location filename="../../common/src/preferences/default.mjs" line="30"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="173"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="176"/>
<source>Y Zoom</source>
<translation>Zoom auf Y</translation>
</message>
<message>
<location filename="../../common/src/preferences/default.mjs" line="37"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="189"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="197"/>
<source>Min X</source>
<translation>Minimum X</translation>
</message>
<message>
<location filename="../../common/src/preferences/default.mjs" line="44"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="208"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="220"/>
<source>Max Y</source>
<translation>Maximum Y</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="223"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="240"/>
<source>Max X</source>
<translation>Maximum X</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="242"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="268"/>
<source>Min Y</source>
<translation>Minimum Y</translation>
</message>
<message>
<location filename="../../common/src/preferences/default.mjs" line="50"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="260"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="292"/>
<source>X Axis Step</source>
<translation>X-Achsen-Schritt</translation>
</message>
<message>
<location filename="../../common/src/preferences/default.mjs" line="56"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="275"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="311"/>
<source>Y Axis Step</source>
<translation>Y-Achsen-Schritt</translation>
</message>
<message>
<location filename="../../common/src/preferences/default.mjs" line="62"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="289"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="327"/>
<source>Line width</source>
<translation>Linienbreite</translation>
</message>
<message>
<location filename="../../common/src/preferences/default.mjs" line="69"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="304"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="344"/>
<source>Text size (px)</source>
<translation>Textgröße (px)</translation>
</message>
<message>
<location filename="../../common/src/preferences/default.mjs" line="75"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="319"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="361"/>
<source>X Label</source>
<translation>Etikett der X-Achse</translation>
</message>
<message>
<location filename="../../common/src/preferences/default.mjs" line="82"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="345"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="394"/>
<source>Y Label</source>
<translation>Etikett der Y-Achse</translation>
</message>
<message>
<location filename="../../common/src/preferences/default.mjs" line="89"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="373"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="428"/>
<source>X Log scale</source>
<translation>Logarithmische Skala in X</translation>
</message>
<message>
<location filename="../../common/src/preferences/default.mjs" line="95"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="383"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="444"/>
<source>Show X graduation</source>
<translation>X-Teilung anzeigen</translation>
</message>
<message>
<location filename="../../common/src/preferences/default.mjs" line="101"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="393"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="456"/>
<source>Show Y graduation</source>
<translation>Y-Teilung anzeigen</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="404"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="468"/>
<source>Copy to clipboard</source>
<translation>Kopieren in die Zwischenablage</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="413"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="477"/>
<source>Save plot</source>
<translation>Grafik speichern</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="422"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="486"/>
<source>Save plot as</source>
<translation>Grafik speichern unter</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="431"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="495"/>
<source>Load plot</source>
<translation>Grafik laden</translation>
</message>
@ -1160,7 +1155,7 @@ Evaluated expression: %3</source>
Ausdruck analysiert: %3</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogGraphCanvas.qml" line="142"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogGraphCanvas.qml" line="53"/>
<source>Error while attempting to draw %1 %2:
%3
@ -1191,7 +1186,7 @@ Evaluated expression: %3</source>
Ausdruck analysiert: %3</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogGraphCanvas.qml" line="139"/>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogGraphCanvas.qml" line="50"/>
<source>LogarithmPlotter - Drawing error</source>
<translation>LogarithmPlotter - Fehler</translation>
</message>
@ -1308,27 +1303,27 @@ Ausdruck analysiert: %3</translation>
<translation type="vanished">Verlauf</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="98"/>
<location filename="../../common/src/module/io.mjs" line="94"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation>Gespeicherte Grafik auf &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="110"/>
<location filename="../../common/src/module/io.mjs" line="106"/>
<source>Loading file &apos;%1&apos;.</source>
<translation>Laden der Datei &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="154"/>
<location filename="../../common/src/module/io.mjs" line="150"/>
<source>Unknown object type: %1.</source>
<translation>Unbekannter Objekttyp: %1.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="169"/>
<location filename="../../common/src/module/io.mjs" line="165"/>
<source>Invalid file provided.</source>
<translation>Ungültige Datei angegeben.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="173"/>
<location filename="../../common/src/module/io.mjs" line="169"/>
<source>Could not load file: </source>
<translation>Datei konnte nicht geladen werden: </translation>
</message>
@ -1337,7 +1332,7 @@ Ausdruck analysiert: %3</translation>
<translation type="vanished">Die Datei konnte nicht gespeichert werden: </translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="178"/>
<location filename="../../common/src/module/io.mjs" line="174"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation>Geladene Datei &apos;%1&apos;.</translation>
</message>
@ -1731,6 +1726,11 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde
<source>color</source>
<translation type="vanished">Farbe</translation>
</message>
<message>
<location filename="../../runtime-pyside6/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/Dialog.qml" line="130"/>
<source>labelContent</source>
<translation>Etikett</translation>
</message>
</context>
<context>
<name>repartition</name>