Unsaved changes dialog, trying to start translating properties (not working yet).
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2022-01-23 17:31:34 +01:00
parent d8aede3b91
commit 8925eb58a8
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
16 changed files with 823 additions and 387 deletions

View file

@ -5,7 +5,7 @@
<name>About</name> <name>About</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/About.qml" line="26"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/About.qml" line="26"/>
<location filename="../logarithmplotter.py" line="197"/> <location filename="../logarithmplotter.py" line="201"/>
<source>About LogarithmPlotter</source> <source>About LogarithmPlotter</source>
<translation>Über LogarithmPlotter</translation> <translation>Über LogarithmPlotter</translation>
</message> </message>
@ -28,95 +28,105 @@
<context> <context>
<name>AppMenuBar</name> <name>AppMenuBar</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="27"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="28"/>
<source>&amp;File</source> <source>&amp;File</source>
<translation>&amp;Datei</translation> <translation>&amp;Datei</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="29"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="30"/>
<source>&amp;Load...</source> <source>&amp;Load...</source>
<translation>&amp;Laden</translation> <translation>&amp;Laden</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="36"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="37"/>
<source>&amp;Save</source> <source>&amp;Save</source>
<translation>&amp;Speichern</translation> <translation>&amp;Speichern</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="42"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="43"/>
<source>Save &amp;As...</source> <source>Save &amp;As...</source>
<translation>Speichern &amp;Unter</translation> <translation>Speichern &amp;Unter</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="50"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="51"/>
<source>&amp;Quit</source> <source>&amp;Quit</source>
<translation>&amp;Ausfahrt</translation> <translation>&amp;Ausfahrt</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="58"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="65"/>
<source>&amp;Edit</source> <source>&amp;Edit</source>
<translation>&amp;Bearbeiten</translation> <translation>&amp;Bearbeiten</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="60"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="67"/>
<source>&amp;Undo</source> <source>&amp;Undo</source>
<translation>&amp;Lösen</translation> <translation>&amp;Lösen</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="68"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="75"/>
<source>&amp;Redo</source> <source>&amp;Redo</source>
<translation>&amp;Wiederherstellen</translation> <translation>&amp;Wiederherstellen</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="77"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="84"/>
<source>&amp;Copy plot</source> <source>&amp;Copy plot</source>
<translation>Grafik &amp;Kopieren</translation> <translation>Grafik &amp;Kopieren</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="85"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="92"/>
<source>&amp;Create</source> <source>&amp;Create</source>
<translation>&amp;Erstellen</translation> <translation>&amp;Erstellen</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="107"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="114"/>
<source>&amp;Settings</source> <source>&amp;Settings</source>
<translation>&amp;Einstellungen</translation> <translation>&amp;Einstellungen</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="110"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="117"/>
<source>Check for updates on startup</source> <source>Check for updates on startup</source>
<translation>Beim Starten auf Updates prüfen</translation> <translation>Beim Starten auf Updates prüfen</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="119"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="126"/>
<source>Reset redo stack automaticly</source> <source>Reset redo stack automaticly</source>
<translation>Wiederherstellen-Stapel automatisch zurücksetzen</translation> <translation>Wiederherstellen-Stapel automatisch zurücksetzen</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="128"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>&amp;Hilfe</translation> <translation>&amp;Hilfe</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="137"/>
<source>&amp;Source code</source> <source>&amp;Source code</source>
<translation>&amp;Quellcode</translation> <translation>&amp;Quellcode</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="142"/>
<source>&amp;Report a bug</source> <source>&amp;Report a bug</source>
<translation>Fehler &amp;Melden</translation> <translation>Fehler &amp;Melden</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="140"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="147"/>
<source>&amp;Help translating!</source> <source>&amp;Help translating!</source>
<translation>&amp;Hilfe beim Übersetzen!</translation> <translation>&amp;Hilfe beim Übersetzen!</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="153"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;Übrigens</translation> <translation>&amp;Übrigens</translation>
</message> </message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>Save unsaved changes?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="164"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>EditorDialog</name> <name>EditorDialog</name>
@ -131,28 +141,28 @@
<translation>Name</translation> <translation>Name</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="84"/>
<source>Label content</source> <source>Label content</source>
<translation>Etikett</translation> <translation>Etikett</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>null</source> <source>null</source>
<translation>leer</translation> <translation>leer</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>name</source> <source>name</source>
<translation>Name</translation> <translation>Name</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>name + value</source> <source>name + value</source>
<translation>Name + Wert</translation> <translation>Name + Wert</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="185"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="184"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="199"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="200"/>
<source>+ Create new %1</source> <source>+ Create new %1</source>
<translation>+ Neues %1objekt erstellen</translation> <translation>+ Neues %1objekt erstellen</translation>
</message> </message>
@ -246,42 +256,42 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<translation>Gespeicherte Grafik auf &apos;%1&apos;.</translation> <translation>Gespeicherte Grafik auf &apos;%1&apos;.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="202"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="203"/>
<source>Loading file &apos;%1&apos;.</source> <source>Loading file &apos;%1&apos;.</source>
<translation>Laden der Datei &apos;%1&apos;.</translation> <translation>Laden der Datei &apos;%1&apos;.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="241"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="242"/>
<source>Unknown object type: %1.</source> <source>Unknown object type: %1.</source>
<translation>Unbekannter Objekttyp: %1.</translation> <translation>Unbekannter Objekttyp: %1.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="255"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="256"/>
<source>Invalid file provided.</source> <source>Invalid file provided.</source>
<translation>Ungültige Datei angegeben.</translation> <translation>Ungültige Datei angegeben.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="259"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="260"/>
<source>Could not save file: </source> <source>Could not save file: </source>
<translation>Die Datei konnte nicht gespeichert werden: </translation> <translation>Die Datei konnte nicht gespeichert werden: </translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="263"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="265"/>
<source>Loaded file &apos;%1&apos;.</source> <source>Loaded file &apos;%1&apos;.</source>
<translation>Geladene Datei &apos;%1&apos;.</translation> <translation>Geladene Datei &apos;%1&apos;.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="284"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="294"/>
<source>Copied plot screenshot to clipboard!</source> <source>Copied plot screenshot to clipboard!</source>
<translation>Grafik in die Zwischenablage kopiert!</translation> <translation>Grafik in die Zwischenablage kopiert!</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="295"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="305"/>
<source>&amp;Update</source> <source>&amp;Update</source>
<translation>&amp;Aktualisieren</translation> <translation>&amp;Aktualisieren</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="297"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="307"/>
<source>&amp;Update LogarithmPlotter</source> <source>&amp;Update LogarithmPlotter</source>
<translation>LogarithmPlotter &amp;aktualisieren</translation> <translation>LogarithmPlotter &amp;aktualisieren</translation>
</message> </message>
@ -348,97 +358,97 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context> <context>
<name>Settings</name> <name>Settings</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="73"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="74"/>
<source>X Zoom</source> <source>X Zoom</source>
<translation>Zoom auf X</translation> <translation>Zoom auf X</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="88"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="89"/>
<source>Y Zoom</source> <source>Y Zoom</source>
<translation>Zoom auf Y</translation> <translation>Zoom auf Y</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="104"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="105"/>
<source>Min X</source> <source>Min X</source>
<translation>Minimum X</translation> <translation>Minimum X</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="123"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="124"/>
<source>Max Y</source> <source>Max Y</source>
<translation>Maximum Y</translation> <translation>Maximum Y</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="138"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="139"/>
<source>Max X</source> <source>Max X</source>
<translation>Maximum X</translation> <translation>Maximum X</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="157"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="158"/>
<source>Min Y</source> <source>Min Y</source>
<translation>Minimum Y</translation> <translation>Minimum Y</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="174"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="175"/>
<source>X Axis Step</source> <source>X Axis Step</source>
<translation>X-Achsen-Schritt</translation> <translation>X-Achsen-Schritt</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="188"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="189"/>
<source>Y Axis Step</source> <source>Y Axis Step</source>
<translation>Y-Achsen-Schritt</translation> <translation>Y-Achsen-Schritt</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="202"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="203"/>
<source>Line width</source> <source>Line width</source>
<translation>Linienbreite</translation> <translation>Linienbreite</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="217"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="218"/>
<source>Text size (px)</source> <source>Text size (px)</source>
<translation>Textgröße (px)</translation> <translation>Textgröße (px)</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="232"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="233"/>
<source>X Label</source> <source>X Label</source>
<translation>Label der X-Achse</translation> <translation>Label der X-Achse</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="258"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="259"/>
<source>Y Label</source> <source>Y Label</source>
<translation>Label der Y-Achse</translation> <translation>Label der Y-Achse</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="286"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="287"/>
<source>X Log scale</source> <source>X Log scale</source>
<translation>Logarithmische Skala in X</translation> <translation>Logarithmische Skala in X</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="296"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="297"/>
<source>Show X graduation</source> <source>Show X graduation</source>
<translation>X-Teilung anzeigen</translation> <translation>X-Teilung anzeigen</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="306"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="307"/>
<source>Show Y graduation</source> <source>Show Y graduation</source>
<translation>Y-Teilung anzeigen</translation> <translation>Y-Teilung anzeigen</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="317"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="318"/>
<source>Copy to clipboard</source> <source>Copy to clipboard</source>
<translation>Kopieren in die Zwischenablage</translation> <translation>Kopieren in die Zwischenablage</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="326"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="327"/>
<source>Save plot</source> <source>Save plot</source>
<translation>Grafik speichern</translation> <translation>Grafik speichern</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="335"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="336"/>
<source>Save plot as</source> <source>Save plot as</source>
<translation>Grafik speichern unter</translation> <translation>Grafik speichern unter</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="344"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="345"/>
<source>Load plot</source> <source>Load plot</source>
<translation>Grafik laden</translation> <translation>Grafik laden</translation>
</message> </message>
@ -507,6 +517,49 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<translation>%1 %2 ausgeblendet.</translation> <translation>%1 %2 ausgeblendet.</translation>
</message> </message>
</context> </context>
<context>
<name>parameters</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="61"/>
<source>above</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="62"/>
<source>below</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="63"/>
<source>left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="64"/>
<source>right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="65"/>
<source>above-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="66"/>
<source>above-right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="67"/>
<source>below-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="68"/>
<source>below-right</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>phasebode</name> <name>phasebode</name>
<message> <message>

View file

@ -5,7 +5,7 @@
<name>About</name> <name>About</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/About.qml" line="26"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/About.qml" line="26"/>
<location filename="../logarithmplotter.py" line="197"/> <location filename="../logarithmplotter.py" line="201"/>
<source>About LogarithmPlotter</source> <source>About LogarithmPlotter</source>
<translation>About LogarithmPlotter</translation> <translation>About LogarithmPlotter</translation>
</message> </message>
@ -28,95 +28,105 @@
<context> <context>
<name>AppMenuBar</name> <name>AppMenuBar</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="27"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="28"/>
<source>&amp;File</source> <source>&amp;File</source>
<translation>&amp;File</translation> <translation>&amp;File</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="29"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="30"/>
<source>&amp;Load...</source> <source>&amp;Load...</source>
<translation>&amp;Load</translation> <translation>&amp;Load</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="36"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="37"/>
<source>&amp;Save</source> <source>&amp;Save</source>
<translation>&amp;Save</translation> <translation>&amp;Save</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="42"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="43"/>
<source>Save &amp;As...</source> <source>Save &amp;As...</source>
<translation>Save &amp;As</translation> <translation>Save &amp;As</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="50"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="51"/>
<source>&amp;Quit</source> <source>&amp;Quit</source>
<translation>&amp;Quit</translation> <translation>&amp;Quit</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="58"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="65"/>
<source>&amp;Edit</source> <source>&amp;Edit</source>
<translation>&amp;Edit</translation> <translation>&amp;Edit</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="60"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="67"/>
<source>&amp;Undo</source> <source>&amp;Undo</source>
<translation>&amp;Undo</translation> <translation>&amp;Undo</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="68"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="75"/>
<source>&amp;Redo</source> <source>&amp;Redo</source>
<translation>&amp;Redo</translation> <translation>&amp;Redo</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="77"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="84"/>
<source>&amp;Copy plot</source> <source>&amp;Copy plot</source>
<translation>&amp;Copy plot</translation> <translation>&amp;Copy plot</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="85"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="92"/>
<source>&amp;Create</source> <source>&amp;Create</source>
<translation>&amp;Create</translation> <translation>&amp;Create</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="107"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="114"/>
<source>&amp;Settings</source> <source>&amp;Settings</source>
<translation>&amp;Settings</translation> <translation>&amp;Settings</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="110"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="117"/>
<source>Check for updates on startup</source> <source>Check for updates on startup</source>
<translation>Check for updates on startup</translation> <translation>Check for updates on startup</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="119"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="126"/>
<source>Reset redo stack automaticly</source> <source>Reset redo stack automaticly</source>
<translation>Reset redo stack automatically</translation> <translation>Reset redo stack automatically</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="128"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>&amp;Help</translation> <translation>&amp;Help</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="137"/>
<source>&amp;Source code</source> <source>&amp;Source code</source>
<translation>&amp;Source code</translation> <translation>&amp;Source code</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="142"/>
<source>&amp;Report a bug</source> <source>&amp;Report a bug</source>
<translation>&amp;Report a bug</translation> <translation>&amp;Report a bug</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="140"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="147"/>
<source>&amp;Help translating!</source> <source>&amp;Help translating!</source>
<translation>&amp;Help translating!</translation> <translation>&amp;Help translating!</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="153"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;About</translation> <translation>&amp;About</translation>
</message> </message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>Save unsaved changes?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="164"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>EditorDialog</name> <name>EditorDialog</name>
@ -131,28 +141,28 @@
<translation>Name</translation> <translation>Name</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="84"/>
<source>Label content</source> <source>Label content</source>
<translation>Label content</translation> <translation>Label content</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>null</source> <source>null</source>
<translation>null</translation> <translation>null</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>name</source> <source>name</source>
<translation>name</translation> <translation>name</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>name + value</source> <source>name + value</source>
<translation>name + value</translation> <translation>name + value</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="185"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="184"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="199"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="200"/>
<source>+ Create new %1</source> <source>+ Create new %1</source>
<translation>+ Create new %1</translation> <translation>+ Create new %1</translation>
</message> </message>
@ -246,42 +256,42 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<translation>Saved plot to &apos;%1&apos;.</translation> <translation>Saved plot to &apos;%1&apos;.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="202"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="203"/>
<source>Loading file &apos;%1&apos;.</source> <source>Loading file &apos;%1&apos;.</source>
<translation>Loading file &apos;%1&apos;.</translation> <translation>Loading file &apos;%1&apos;.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="241"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="242"/>
<source>Unknown object type: %1.</source> <source>Unknown object type: %1.</source>
<translation>Unknown object type: %1.</translation> <translation>Unknown object type: %1.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="255"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="256"/>
<source>Invalid file provided.</source> <source>Invalid file provided.</source>
<translation>Invalid file provided.</translation> <translation>Invalid file provided.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="259"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="260"/>
<source>Could not save file: </source> <source>Could not save file: </source>
<translation>Could not save file: </translation> <translation>Could not save file: </translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="263"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="265"/>
<source>Loaded file &apos;%1&apos;.</source> <source>Loaded file &apos;%1&apos;.</source>
<translation>Loaded file &apos;%1&apos;.</translation> <translation>Loaded file &apos;%1&apos;.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="284"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="294"/>
<source>Copied plot screenshot to clipboard!</source> <source>Copied plot screenshot to clipboard!</source>
<translation>Copied plot screenshot to clipboard!</translation> <translation>Copied plot screenshot to clipboard!</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="295"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="305"/>
<source>&amp;Update</source> <source>&amp;Update</source>
<translation>&amp;Update</translation> <translation>&amp;Update</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="297"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="307"/>
<source>&amp;Update LogarithmPlotter</source> <source>&amp;Update LogarithmPlotter</source>
<translation>&amp;Update LogarithmPlotter</translation> <translation>&amp;Update LogarithmPlotter</translation>
</message> </message>
@ -348,97 +358,97 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context> <context>
<name>Settings</name> <name>Settings</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="73"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="74"/>
<source>X Zoom</source> <source>X Zoom</source>
<translation>X Zoom</translation> <translation>X Zoom</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="88"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="89"/>
<source>Y Zoom</source> <source>Y Zoom</source>
<translation>Y Zoom</translation> <translation>Y Zoom</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="104"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="105"/>
<source>Min X</source> <source>Min X</source>
<translation>Min X</translation> <translation>Min X</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="123"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="124"/>
<source>Max Y</source> <source>Max Y</source>
<translation>Max Y</translation> <translation>Max Y</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="138"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="139"/>
<source>Max X</source> <source>Max X</source>
<translation>Max X</translation> <translation>Max X</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="157"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="158"/>
<source>Min Y</source> <source>Min Y</source>
<translation>Min Y</translation> <translation>Min Y</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="174"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="175"/>
<source>X Axis Step</source> <source>X Axis Step</source>
<translation>X Axis Step</translation> <translation>X Axis Step</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="188"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="189"/>
<source>Y Axis Step</source> <source>Y Axis Step</source>
<translation>Y Axis Step</translation> <translation>Y Axis Step</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="202"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="203"/>
<source>Line width</source> <source>Line width</source>
<translation>Line width</translation> <translation>Line width</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="217"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="218"/>
<source>Text size (px)</source> <source>Text size (px)</source>
<translation>Text size (px)</translation> <translation>Text size (px)</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="232"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="233"/>
<source>X Label</source> <source>X Label</source>
<translation>X Label</translation> <translation>X Label</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="258"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="259"/>
<source>Y Label</source> <source>Y Label</source>
<translation>Y Label</translation> <translation>Y Label</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="286"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="287"/>
<source>X Log scale</source> <source>X Log scale</source>
<translation>X Log scale</translation> <translation>X Log scale</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="296"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="297"/>
<source>Show X graduation</source> <source>Show X graduation</source>
<translation>Show X graduation</translation> <translation>Show X graduation</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="306"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="307"/>
<source>Show Y graduation</source> <source>Show Y graduation</source>
<translation>Show Y graduation</translation> <translation>Show Y graduation</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="317"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="318"/>
<source>Copy to clipboard</source> <source>Copy to clipboard</source>
<translation>Copy to clipboard</translation> <translation>Copy to clipboard</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="326"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="327"/>
<source>Save plot</source> <source>Save plot</source>
<translation>Save plot</translation> <translation>Save plot</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="335"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="336"/>
<source>Save plot as</source> <source>Save plot as</source>
<translation>Save plot as</translation> <translation>Save plot as</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="344"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="345"/>
<source>Load plot</source> <source>Load plot</source>
<translation>Load plot</translation> <translation>Load plot</translation>
</message> </message>
@ -507,6 +517,49 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<translation>%1 %2 hidden.</translation> <translation>%1 %2 hidden.</translation>
</message> </message>
</context> </context>
<context>
<name>parameters</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="61"/>
<source>above</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="62"/>
<source>below</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="63"/>
<source>left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="64"/>
<source>right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="65"/>
<source>above-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="66"/>
<source>above-right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="67"/>
<source>below-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="68"/>
<source>below-right</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>phasebode</name> <name>phasebode</name>
<message> <message>

View file

@ -5,7 +5,7 @@
<name>About</name> <name>About</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/About.qml" line="26"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/About.qml" line="26"/>
<location filename="../logarithmplotter.py" line="197"/> <location filename="../logarithmplotter.py" line="201"/>
<source>About LogarithmPlotter</source> <source>About LogarithmPlotter</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -28,95 +28,105 @@
<context> <context>
<name>AppMenuBar</name> <name>AppMenuBar</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="27"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="28"/>
<source>&amp;File</source> <source>&amp;File</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="29"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="30"/>
<source>&amp;Load...</source> <source>&amp;Load...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="36"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="37"/>
<source>&amp;Save</source> <source>&amp;Save</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="42"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="43"/>
<source>Save &amp;As...</source> <source>Save &amp;As...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="50"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="51"/>
<source>&amp;Quit</source> <source>&amp;Quit</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="58"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="65"/>
<source>&amp;Edit</source> <source>&amp;Edit</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="60"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="67"/>
<source>&amp;Undo</source> <source>&amp;Undo</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="68"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="75"/>
<source>&amp;Redo</source> <source>&amp;Redo</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="77"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="84"/>
<source>&amp;Copy plot</source> <source>&amp;Copy plot</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="85"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="92"/>
<source>&amp;Create</source> <source>&amp;Create</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="107"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="114"/>
<source>&amp;Settings</source> <source>&amp;Settings</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="110"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="117"/>
<source>Check for updates on startup</source> <source>Check for updates on startup</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="119"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="126"/>
<source>Reset redo stack automaticly</source> <source>Reset redo stack automaticly</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="128"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="137"/>
<source>&amp;Source code</source> <source>&amp;Source code</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="142"/>
<source>&amp;Report a bug</source> <source>&amp;Report a bug</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="140"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="147"/>
<source>&amp;Help translating!</source> <source>&amp;Help translating!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="153"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>Save unsaved changes?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="164"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>EditorDialog</name> <name>EditorDialog</name>
@ -131,28 +141,28 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="84"/>
<source>Label content</source> <source>Label content</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>null</source> <source>null</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>name</source> <source>name</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>name + value</source> <source>name + value</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="185"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="184"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="199"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="200"/>
<source>+ Create new %1</source> <source>+ Create new %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -245,42 +255,42 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="202"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="203"/>
<source>Loading file &apos;%1&apos;.</source> <source>Loading file &apos;%1&apos;.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="241"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="242"/>
<source>Unknown object type: %1.</source> <source>Unknown object type: %1.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="255"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="256"/>
<source>Invalid file provided.</source> <source>Invalid file provided.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="259"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="260"/>
<source>Could not save file: </source> <source>Could not save file: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="263"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="265"/>
<source>Loaded file &apos;%1&apos;.</source> <source>Loaded file &apos;%1&apos;.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="284"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="294"/>
<source>Copied plot screenshot to clipboard!</source> <source>Copied plot screenshot to clipboard!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="295"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="305"/>
<source>&amp;Update</source> <source>&amp;Update</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="297"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="307"/>
<source>&amp;Update LogarithmPlotter</source> <source>&amp;Update LogarithmPlotter</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -347,97 +357,97 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context> <context>
<name>Settings</name> <name>Settings</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="73"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="74"/>
<source>X Zoom</source> <source>X Zoom</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="88"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="89"/>
<source>Y Zoom</source> <source>Y Zoom</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="104"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="105"/>
<source>Min X</source> <source>Min X</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="123"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="124"/>
<source>Max Y</source> <source>Max Y</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="138"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="139"/>
<source>Max X</source> <source>Max X</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="157"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="158"/>
<source>Min Y</source> <source>Min Y</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="174"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="175"/>
<source>X Axis Step</source> <source>X Axis Step</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="188"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="189"/>
<source>Y Axis Step</source> <source>Y Axis Step</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="202"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="203"/>
<source>Line width</source> <source>Line width</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="217"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="218"/>
<source>Text size (px)</source> <source>Text size (px)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="232"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="233"/>
<source>X Label</source> <source>X Label</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="258"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="259"/>
<source>Y Label</source> <source>Y Label</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="286"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="287"/>
<source>X Log scale</source> <source>X Log scale</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="296"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="297"/>
<source>Show X graduation</source> <source>Show X graduation</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="306"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="307"/>
<source>Show Y graduation</source> <source>Show Y graduation</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="317"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="318"/>
<source>Copy to clipboard</source> <source>Copy to clipboard</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="326"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="327"/>
<source>Save plot</source> <source>Save plot</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="335"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="336"/>
<source>Save plot as</source> <source>Save plot as</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="344"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="345"/>
<source>Load plot</source> <source>Load plot</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -506,6 +516,49 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>parameters</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="61"/>
<source>above</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="62"/>
<source>below</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="63"/>
<source>left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="64"/>
<source>right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="65"/>
<source>above-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="66"/>
<source>above-right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="67"/>
<source>below-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="68"/>
<source>below-right</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>phasebode</name> <name>phasebode</name>
<message> <message>

View file

@ -5,7 +5,7 @@
<name>About</name> <name>About</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/About.qml" line="26"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/About.qml" line="26"/>
<location filename="../logarithmplotter.py" line="197"/> <location filename="../logarithmplotter.py" line="201"/>
<source>About LogarithmPlotter</source> <source>About LogarithmPlotter</source>
<translation>À propos de LogarithmPlotter</translation> <translation>À propos de LogarithmPlotter</translation>
</message> </message>
@ -28,96 +28,106 @@
<context> <context>
<name>AppMenuBar</name> <name>AppMenuBar</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="27"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="28"/>
<source>&amp;File</source> <source>&amp;File</source>
<translation>&amp;Fichier</translation> <translation>&amp;Fichier</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="29"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="30"/>
<source>&amp;Load...</source> <source>&amp;Load...</source>
<translation>&amp;Ouvrir</translation> <translation>&amp;Ouvrir</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="36"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="37"/>
<source>&amp;Save</source> <source>&amp;Save</source>
<translation>&amp;Sauvegarder</translation> <translation>&amp;Sauvegarder</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="42"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="43"/>
<source>Save &amp;As...</source> <source>Save &amp;As...</source>
<translation>Sauvegarde &amp;Sous</translation> <translation>Sauvegarde &amp;Sous</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="50"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="51"/>
<source>&amp;Quit</source> <source>&amp;Quit</source>
<translation>&amp;Quitter</translation> <translation>&amp;Quitter</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="58"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="65"/>
<source>&amp;Edit</source> <source>&amp;Edit</source>
<translation>&amp;Édition</translation> <translation>&amp;Édition</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="60"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="67"/>
<source>&amp;Undo</source> <source>&amp;Undo</source>
<translation>&amp;Annuler</translation> <translation>&amp;Annuler</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="68"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="75"/>
<source>&amp;Redo</source> <source>&amp;Redo</source>
<translation>&amp;Rétablir</translation> <translation>&amp;Rétablir</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="77"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="84"/>
<source>&amp;Copy plot</source> <source>&amp;Copy plot</source>
<translation>&amp;Copier le graphe</translation> <translation>&amp;Copier le graphe</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="85"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="92"/>
<source>&amp;Create</source> <source>&amp;Create</source>
<translation>&amp;Créer</translation> <translation>&amp;Créer</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="107"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="114"/>
<source>&amp;Settings</source> <source>&amp;Settings</source>
<translation>&amp;Paramètres</translation> <translation>&amp;Paramètres</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="110"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="117"/>
<source>Check for updates on startup</source> <source>Check for updates on startup</source>
<translation>Vérifier la présence de mise à jour au démarrage</translation> <translation>Vérifier la présence de mise à jour au démarrage</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="119"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="126"/>
<source>Reset redo stack automaticly</source> <source>Reset redo stack automaticly</source>
<translatorcomment>Légèrement long, et pas forcément très compréhensible.</translatorcomment> <translatorcomment>Légèrement long, et pas forcément très compréhensible.</translatorcomment>
<translation>Réinitialiser la pile d&apos;action &quot;Rétablir&quot; automatiquement</translation> <translation>Réinitialiser la pile d&apos;action &quot;Rétablir&quot; automatiquement</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="128"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>&amp;Aide</translation> <translation>&amp;Aide</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="137"/>
<source>&amp;Source code</source> <source>&amp;Source code</source>
<translation>&amp;Code source</translation> <translation>&amp;Code source</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="142"/>
<source>&amp;Report a bug</source> <source>&amp;Report a bug</source>
<translation>Rapport de bug</translation> <translation>Rapport de bug</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="140"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="147"/>
<source>&amp;Help translating!</source> <source>&amp;Help translating!</source>
<translation>&amp;Aider à la traduction !</translation> <translation>&amp;Aider à la traduction !</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="153"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;À propos</translation> <translation>&amp;À propos</translation>
</message> </message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>Save unsaved changes?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="164"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>EditorDialog</name> <name>EditorDialog</name>
@ -132,28 +142,28 @@
<translation>Nom</translation> <translation>Nom</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="84"/>
<source>Label content</source> <source>Label content</source>
<translation>Étiquette</translation> <translation>Étiquette</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>null</source> <source>null</source>
<translation>vide</translation> <translation>vide</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>name</source> <source>name</source>
<translation>nom</translation> <translation>nom</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>name + value</source> <source>name + value</source>
<translation>nom + valeur</translation> <translation>nom + valeur</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="185"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="184"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="199"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="200"/>
<source>+ Create new %1</source> <source>+ Create new %1</source>
<translatorcomment>Traduction non litéralle pour éviter les problèmes de genre.</translatorcomment> <translatorcomment>Traduction non litéralle pour éviter les problèmes de genre.</translatorcomment>
<translation>+ Créer un nouvel objet %1</translation> <translation>+ Créer un nouvel objet %1</translation>
@ -254,42 +264,42 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<translation>Graphe sauvegardé dans &apos;%1&apos;.</translation> <translation>Graphe sauvegardé dans &apos;%1&apos;.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="202"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="203"/>
<source>Loading file &apos;%1&apos;.</source> <source>Loading file &apos;%1&apos;.</source>
<translation>Chargement du fichier &apos;%1&apos;.</translation> <translation>Chargement du fichier &apos;%1&apos;.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="241"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="242"/>
<source>Unknown object type: %1.</source> <source>Unknown object type: %1.</source>
<translation>Type d&apos;objet inconnu : %1.</translation> <translation>Type d&apos;objet inconnu : %1.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="255"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="256"/>
<source>Invalid file provided.</source> <source>Invalid file provided.</source>
<translation>Fichier fourni invalide.</translation> <translation>Fichier fourni invalide.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="259"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="260"/>
<source>Could not save file: </source> <source>Could not save file: </source>
<translation>Impossible de sauvegarder le fichier : </translation> <translation>Impossible de sauvegarder le fichier : </translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="263"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="265"/>
<source>Loaded file &apos;%1&apos;.</source> <source>Loaded file &apos;%1&apos;.</source>
<translation>Fichier &apos;%1&apos; chargé.</translation> <translation>Fichier &apos;%1&apos; chargé.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="284"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="294"/>
<source>Copied plot screenshot to clipboard!</source> <source>Copied plot screenshot to clipboard!</source>
<translation>Image du graphe copiée dans le presse-papiers !</translation> <translation>Image du graphe copiée dans le presse-papiers !</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="295"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="305"/>
<source>&amp;Update</source> <source>&amp;Update</source>
<translation>&amp;Mise à jour</translation> <translation>&amp;Mise à jour</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="297"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="307"/>
<source>&amp;Update LogarithmPlotter</source> <source>&amp;Update LogarithmPlotter</source>
<translation>&amp;Mettre à jour LogarithmPlotter</translation> <translation>&amp;Mettre à jour LogarithmPlotter</translation>
</message> </message>
@ -356,97 +366,97 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context> <context>
<name>Settings</name> <name>Settings</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="73"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="74"/>
<source>X Zoom</source> <source>X Zoom</source>
<translation>Zoom en X</translation> <translation>Zoom en X</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="88"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="89"/>
<source>Y Zoom</source> <source>Y Zoom</source>
<translation>Zoom en Y</translation> <translation>Zoom en Y</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="104"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="105"/>
<source>Min X</source> <source>Min X</source>
<translation>Min X</translation> <translation>Min X</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="123"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="124"/>
<source>Max Y</source> <source>Max Y</source>
<translation>Max Y</translation> <translation>Max Y</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="138"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="139"/>
<source>Max X</source> <source>Max X</source>
<translation>Max X</translation> <translation>Max X</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="157"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="158"/>
<source>Min Y</source> <source>Min Y</source>
<translation>Min Y</translation> <translation>Min Y</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="174"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="175"/>
<source>X Axis Step</source> <source>X Axis Step</source>
<translation>Pas de l&apos;axe X</translation> <translation>Pas de l&apos;axe X</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="188"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="189"/>
<source>Y Axis Step</source> <source>Y Axis Step</source>
<translation>Pas de l&apos;axe Y</translation> <translation>Pas de l&apos;axe Y</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="202"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="203"/>
<source>Line width</source> <source>Line width</source>
<translation>Taille des lignes</translation> <translation>Taille des lignes</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="217"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="218"/>
<source>Text size (px)</source> <source>Text size (px)</source>
<translation>Taille du texte (px)</translation> <translation>Taille du texte (px)</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="232"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="233"/>
<source>X Label</source> <source>X Label</source>
<translation>Label de l&apos;axe X</translation> <translation>Label de l&apos;axe X</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="258"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="259"/>
<source>Y Label</source> <source>Y Label</source>
<translation>Label de l&apos;axe Y</translation> <translation>Label de l&apos;axe Y</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="286"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="287"/>
<source>X Log scale</source> <source>X Log scale</source>
<translation>Échelle logarithmique en X</translation> <translation>Échelle logarithmique en X</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="296"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="297"/>
<source>Show X graduation</source> <source>Show X graduation</source>
<translation>Montrer la graduation de l&apos;axe X</translation> <translation>Montrer la graduation de l&apos;axe X</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="306"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="307"/>
<source>Show Y graduation</source> <source>Show Y graduation</source>
<translation>Montrer la graduation de l&apos;axe Y</translation> <translation>Montrer la graduation de l&apos;axe Y</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="317"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="318"/>
<source>Copy to clipboard</source> <source>Copy to clipboard</source>
<translation>Copier vers le presse-papiers</translation> <translation>Copier vers le presse-papiers</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="326"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="327"/>
<source>Save plot</source> <source>Save plot</source>
<translation>Sauvegarder le graphe</translation> <translation>Sauvegarder le graphe</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="335"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="336"/>
<source>Save plot as</source> <source>Save plot as</source>
<translation>Sauvegarder le graphe sous</translation> <translation>Sauvegarder le graphe sous</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="344"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="345"/>
<source>Load plot</source> <source>Load plot</source>
<translation>Charger un graphe</translation> <translation>Charger un graphe</translation>
</message> </message>
@ -515,6 +525,49 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<translation>%1 %2 cachée(e).</translation> <translation>%1 %2 cachée(e).</translation>
</message> </message>
</context> </context>
<context>
<name>parameters</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="61"/>
<source>above</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="62"/>
<source>below</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="63"/>
<source>left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="64"/>
<source>right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="65"/>
<source>above-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="66"/>
<source>above-right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="67"/>
<source>below-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="68"/>
<source>below-right</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>phasebode</name> <name>phasebode</name>
<message> <message>

View file

@ -5,7 +5,7 @@
<name>About</name> <name>About</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/About.qml" line="26"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/About.qml" line="26"/>
<location filename="../logarithmplotter.py" line="197"/> <location filename="../logarithmplotter.py" line="201"/>
<source>About LogarithmPlotter</source> <source>About LogarithmPlotter</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -28,95 +28,105 @@
<context> <context>
<name>AppMenuBar</name> <name>AppMenuBar</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="27"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="28"/>
<source>&amp;File</source> <source>&amp;File</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="29"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="30"/>
<source>&amp;Load...</source> <source>&amp;Load...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="36"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="37"/>
<source>&amp;Save</source> <source>&amp;Save</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="42"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="43"/>
<source>Save &amp;As...</source> <source>Save &amp;As...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="50"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="51"/>
<source>&amp;Quit</source> <source>&amp;Quit</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="58"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="65"/>
<source>&amp;Edit</source> <source>&amp;Edit</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="60"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="67"/>
<source>&amp;Undo</source> <source>&amp;Undo</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="68"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="75"/>
<source>&amp;Redo</source> <source>&amp;Redo</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="77"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="84"/>
<source>&amp;Copy plot</source> <source>&amp;Copy plot</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="85"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="92"/>
<source>&amp;Create</source> <source>&amp;Create</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="107"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="114"/>
<source>&amp;Settings</source> <source>&amp;Settings</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="110"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="117"/>
<source>Check for updates on startup</source> <source>Check for updates on startup</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="119"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="126"/>
<source>Reset redo stack automaticly</source> <source>Reset redo stack automaticly</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="128"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="137"/>
<source>&amp;Source code</source> <source>&amp;Source code</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="142"/>
<source>&amp;Report a bug</source> <source>&amp;Report a bug</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="140"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="147"/>
<source>&amp;Help translating!</source> <source>&amp;Help translating!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="153"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>Save unsaved changes?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="164"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>EditorDialog</name> <name>EditorDialog</name>
@ -131,28 +141,28 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="84"/>
<source>Label content</source> <source>Label content</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>null</source> <source>null</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>name</source> <source>name</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>name + value</source> <source>name + value</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="185"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="184"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="199"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="200"/>
<source>+ Create new %1</source> <source>+ Create new %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -245,42 +255,42 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="202"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="203"/>
<source>Loading file &apos;%1&apos;.</source> <source>Loading file &apos;%1&apos;.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="241"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="242"/>
<source>Unknown object type: %1.</source> <source>Unknown object type: %1.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="255"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="256"/>
<source>Invalid file provided.</source> <source>Invalid file provided.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="259"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="260"/>
<source>Could not save file: </source> <source>Could not save file: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="263"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="265"/>
<source>Loaded file &apos;%1&apos;.</source> <source>Loaded file &apos;%1&apos;.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="284"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="294"/>
<source>Copied plot screenshot to clipboard!</source> <source>Copied plot screenshot to clipboard!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="295"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="305"/>
<source>&amp;Update</source> <source>&amp;Update</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="297"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="307"/>
<source>&amp;Update LogarithmPlotter</source> <source>&amp;Update LogarithmPlotter</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -347,97 +357,97 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context> <context>
<name>Settings</name> <name>Settings</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="73"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="74"/>
<source>X Zoom</source> <source>X Zoom</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="88"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="89"/>
<source>Y Zoom</source> <source>Y Zoom</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="104"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="105"/>
<source>Min X</source> <source>Min X</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="123"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="124"/>
<source>Max Y</source> <source>Max Y</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="138"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="139"/>
<source>Max X</source> <source>Max X</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="157"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="158"/>
<source>Min Y</source> <source>Min Y</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="174"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="175"/>
<source>X Axis Step</source> <source>X Axis Step</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="188"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="189"/>
<source>Y Axis Step</source> <source>Y Axis Step</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="202"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="203"/>
<source>Line width</source> <source>Line width</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="217"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="218"/>
<source>Text size (px)</source> <source>Text size (px)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="232"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="233"/>
<source>X Label</source> <source>X Label</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="258"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="259"/>
<source>Y Label</source> <source>Y Label</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="286"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="287"/>
<source>X Log scale</source> <source>X Log scale</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="296"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="297"/>
<source>Show X graduation</source> <source>Show X graduation</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="306"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="307"/>
<source>Show Y graduation</source> <source>Show Y graduation</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="317"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="318"/>
<source>Copy to clipboard</source> <source>Copy to clipboard</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="326"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="327"/>
<source>Save plot</source> <source>Save plot</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="335"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="336"/>
<source>Save plot as</source> <source>Save plot as</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="344"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="345"/>
<source>Load plot</source> <source>Load plot</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -506,6 +516,49 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>parameters</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="61"/>
<source>above</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="62"/>
<source>below</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="63"/>
<source>left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="64"/>
<source>right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="65"/>
<source>above-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="66"/>
<source>above-right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="67"/>
<source>below-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="68"/>
<source>below-right</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>phasebode</name> <name>phasebode</name>
<message> <message>

View file

@ -5,7 +5,7 @@
<name>About</name> <name>About</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/About.qml" line="26"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/About.qml" line="26"/>
<location filename="../logarithmplotter.py" line="197"/> <location filename="../logarithmplotter.py" line="201"/>
<source>About LogarithmPlotter</source> <source>About LogarithmPlotter</source>
<translation>Om</translation> <translation>Om</translation>
</message> </message>
@ -28,95 +28,105 @@
<context> <context>
<name>AppMenuBar</name> <name>AppMenuBar</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="27"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="28"/>
<source>&amp;File</source> <source>&amp;File</source>
<translation>&amp;Fil</translation> <translation>&amp;Fil</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="29"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="30"/>
<source>&amp;Load...</source> <source>&amp;Load...</source>
<translation>&amp;Last inn </translation> <translation>&amp;Last inn </translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="36"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="37"/>
<source>&amp;Save</source> <source>&amp;Save</source>
<translation>&amp;Lagre</translation> <translation>&amp;Lagre</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="42"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="43"/>
<source>Save &amp;As...</source> <source>Save &amp;As...</source>
<translation>Lagre &amp;som </translation> <translation>Lagre &amp;som </translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="50"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="51"/>
<source>&amp;Quit</source> <source>&amp;Quit</source>
<translation>&amp;Avslutt</translation> <translation>&amp;Avslutt</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="58"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="65"/>
<source>&amp;Edit</source> <source>&amp;Edit</source>
<translation>&amp;Rediger</translation> <translation>&amp;Rediger</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="60"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="67"/>
<source>&amp;Undo</source> <source>&amp;Undo</source>
<translation>&amp;Angre</translation> <translation>&amp;Angre</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="68"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="75"/>
<source>&amp;Redo</source> <source>&amp;Redo</source>
<translation>&amp;Gjenta</translation> <translation>&amp;Gjenta</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="77"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="84"/>
<source>&amp;Copy plot</source> <source>&amp;Copy plot</source>
<translation>&amp;Kopier plott</translation> <translation>&amp;Kopier plott</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="85"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="92"/>
<source>&amp;Create</source> <source>&amp;Create</source>
<translation>&amp;Opprett</translation> <translation>&amp;Opprett</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="107"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="114"/>
<source>&amp;Settings</source> <source>&amp;Settings</source>
<translation>&amp;Innstillinger</translation> <translation>&amp;Innstillinger</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="110"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="117"/>
<source>Check for updates on startup</source> <source>Check for updates on startup</source>
<translation>Se etter nye versjoner ved programstart</translation> <translation>Se etter nye versjoner ved programstart</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="119"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="126"/>
<source>Reset redo stack automaticly</source> <source>Reset redo stack automaticly</source>
<translation type="unfinished">Tilbakestill angrehistorikk automatisk</translation> <translation type="unfinished">Tilbakestill angrehistorikk automatisk</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="128"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>&amp;Hjelp</translation> <translation>&amp;Hjelp</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="137"/>
<source>&amp;Source code</source> <source>&amp;Source code</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="142"/>
<source>&amp;Report a bug</source> <source>&amp;Report a bug</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="140"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="147"/>
<source>&amp;Help translating!</source> <source>&amp;Help translating!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="153"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;Om</translation> <translation>&amp;Om</translation>
</message> </message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>Save unsaved changes?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="164"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>EditorDialog</name> <name>EditorDialog</name>
@ -131,28 +141,28 @@
<translation>Navn</translation> <translation>Navn</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="84"/>
<source>Label content</source> <source>Label content</source>
<translation>Etikett-innhold</translation> <translation>Etikett-innhold</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>null</source> <source>null</source>
<translation>NULL</translation> <translation>NULL</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>name</source> <source>name</source>
<translation>navn</translation> <translation>navn</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>name + value</source> <source>name + value</source>
<translation>navn + veri</translation> <translation>navn + veri</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="185"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="184"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="199"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="200"/>
<source>+ Create new %1</source> <source>+ Create new %1</source>
<translation>+ Opprett nytt %1</translation> <translation>+ Opprett nytt %1</translation>
</message> </message>
@ -246,42 +256,42 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<translation>Lagret plott i «%1».</translation> <translation>Lagret plott i «%1».</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="202"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="203"/>
<source>Loading file &apos;%1&apos;.</source> <source>Loading file &apos;%1&apos;.</source>
<translation>Laster inn «%1»-fil.</translation> <translation>Laster inn «%1»-fil.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="241"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="242"/>
<source>Unknown object type: %1.</source> <source>Unknown object type: %1.</source>
<translation>Ukjent objekttype: %1.</translation> <translation>Ukjent objekttype: %1.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="255"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="256"/>
<source>Invalid file provided.</source> <source>Invalid file provided.</source>
<translation>Ugyldig fil angitt.</translation> <translation>Ugyldig fil angitt.</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="259"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="260"/>
<source>Could not save file: </source> <source>Could not save file: </source>
<translation>Kunne ikke lagre fil: </translation> <translation>Kunne ikke lagre fil: </translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="263"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="265"/>
<source>Loaded file &apos;%1&apos;.</source> <source>Loaded file &apos;%1&apos;.</source>
<translation>Lastet inn filen «%1».</translation> <translation>Lastet inn filen «%1».</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="284"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="294"/>
<source>Copied plot screenshot to clipboard!</source> <source>Copied plot screenshot to clipboard!</source>
<translation>Kopierte plott-skjermavbildning til utklippstavlen!</translation> <translation>Kopierte plott-skjermavbildning til utklippstavlen!</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="295"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="305"/>
<source>&amp;Update</source> <source>&amp;Update</source>
<translation>&amp;Oppdater</translation> <translation>&amp;Oppdater</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="297"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="307"/>
<source>&amp;Update LogarithmPlotter</source> <source>&amp;Update LogarithmPlotter</source>
<translation>&amp;Installer ny versjon av LogartimePlotter</translation> <translation>&amp;Installer ny versjon av LogartimePlotter</translation>
</message> </message>
@ -348,97 +358,97 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context> <context>
<name>Settings</name> <name>Settings</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="73"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="74"/>
<source>X Zoom</source> <source>X Zoom</source>
<translation>X-forstørrelse</translation> <translation>X-forstørrelse</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="88"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="89"/>
<source>Y Zoom</source> <source>Y Zoom</source>
<translation>Y-forstørrelse</translation> <translation>Y-forstørrelse</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="104"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="105"/>
<source>Min X</source> <source>Min X</source>
<translation>Min. X</translation> <translation>Min. X</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="123"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="124"/>
<source>Max Y</source> <source>Max Y</source>
<translation>Maks. Y</translation> <translation>Maks. Y</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="138"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="139"/>
<source>Max X</source> <source>Max X</source>
<translation>Maks. X</translation> <translation>Maks. X</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="157"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="158"/>
<source>Min Y</source> <source>Min Y</source>
<translation>Min. Y</translation> <translation>Min. Y</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="174"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="175"/>
<source>X Axis Step</source> <source>X Axis Step</source>
<translation>X-aksesteg</translation> <translation>X-aksesteg</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="188"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="189"/>
<source>Y Axis Step</source> <source>Y Axis Step</source>
<translation>Y-aksesteg</translation> <translation>Y-aksesteg</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="202"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="203"/>
<source>Line width</source> <source>Line width</source>
<translation>Linjebredde</translation> <translation>Linjebredde</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="217"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="218"/>
<source>Text size (px)</source> <source>Text size (px)</source>
<translation>Tekststørrelse (piksler)</translation> <translation>Tekststørrelse (piksler)</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="232"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="233"/>
<source>X Label</source> <source>X Label</source>
<translation>Navn X-akse</translation> <translation>Navn X-akse</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="258"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="259"/>
<source>Y Label</source> <source>Y Label</source>
<translation>Navn Y-akse</translation> <translation>Navn Y-akse</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="286"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="287"/>
<source>X Log scale</source> <source>X Log scale</source>
<translation>Logaritmisk skala i x</translation> <translation>Logaritmisk skala i x</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="296"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="297"/>
<source>Show X graduation</source> <source>Show X graduation</source>
<translation type="unfinished">Vis X-inndeling</translation> <translation type="unfinished">Vis X-inndeling</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="306"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="307"/>
<source>Show Y graduation</source> <source>Show Y graduation</source>
<translation type="unfinished">Vis Y-inndeling</translation> <translation type="unfinished">Vis Y-inndeling</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="317"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="318"/>
<source>Copy to clipboard</source> <source>Copy to clipboard</source>
<translation>Kopier til utklippstavle</translation> <translation>Kopier til utklippstavle</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="326"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="327"/>
<source>Save plot</source> <source>Save plot</source>
<translation>Lagre plott</translation> <translation>Lagre plott</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="335"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="336"/>
<source>Save plot as</source> <source>Save plot as</source>
<translation>Lagre plott som</translation> <translation>Lagre plott som</translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="344"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="345"/>
<source>Load plot</source> <source>Load plot</source>
<translation>Last inn plott</translation> <translation>Last inn plott</translation>
</message> </message>
@ -507,6 +517,49 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<translation>%1 %2 skjult.</translation> <translation>%1 %2 skjult.</translation>
</message> </message>
</context> </context>
<context>
<name>parameters</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="61"/>
<source>above</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="62"/>
<source>below</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="63"/>
<source>left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="64"/>
<source>right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="65"/>
<source>above-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="66"/>
<source>above-right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="67"/>
<source>below-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="68"/>
<source>below-right</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>phasebode</name> <name>phasebode</name>
<message> <message>

View file

@ -5,7 +5,7 @@
<name>About</name> <name>About</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/About.qml" line="26"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/About.qml" line="26"/>
<location filename="../logarithmplotter.py" line="197"/> <location filename="../logarithmplotter.py" line="201"/>
<source>About LogarithmPlotter</source> <source>About LogarithmPlotter</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -28,95 +28,105 @@
<context> <context>
<name>AppMenuBar</name> <name>AppMenuBar</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="27"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="28"/>
<source>&amp;File</source> <source>&amp;File</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="29"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="30"/>
<source>&amp;Load...</source> <source>&amp;Load...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="36"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="37"/>
<source>&amp;Save</source> <source>&amp;Save</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="42"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="43"/>
<source>Save &amp;As...</source> <source>Save &amp;As...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="50"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="51"/>
<source>&amp;Quit</source> <source>&amp;Quit</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="58"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="65"/>
<source>&amp;Edit</source> <source>&amp;Edit</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="60"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="67"/>
<source>&amp;Undo</source> <source>&amp;Undo</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="68"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="75"/>
<source>&amp;Redo</source> <source>&amp;Redo</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="77"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="84"/>
<source>&amp;Copy plot</source> <source>&amp;Copy plot</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="85"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="92"/>
<source>&amp;Create</source> <source>&amp;Create</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="107"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="114"/>
<source>&amp;Settings</source> <source>&amp;Settings</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="110"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="117"/>
<source>Check for updates on startup</source> <source>Check for updates on startup</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="119"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="126"/>
<source>Reset redo stack automaticly</source> <source>Reset redo stack automaticly</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="128"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="137"/>
<source>&amp;Source code</source> <source>&amp;Source code</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="142"/>
<source>&amp;Report a bug</source> <source>&amp;Report a bug</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="140"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="147"/>
<source>&amp;Help translating!</source> <source>&amp;Help translating!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="153"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>Save unsaved changes?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="164"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>EditorDialog</name> <name>EditorDialog</name>
@ -131,28 +141,28 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="84"/>
<source>Label content</source> <source>Label content</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>null</source> <source>null</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>name</source> <source>name</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="86"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="85"/>
<source>name + value</source> <source>name + value</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="185"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="184"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="199"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="200"/>
<source>+ Create new %1</source> <source>+ Create new %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -245,42 +255,42 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="202"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="203"/>
<source>Loading file &apos;%1&apos;.</source> <source>Loading file &apos;%1&apos;.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="241"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="242"/>
<source>Unknown object type: %1.</source> <source>Unknown object type: %1.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="255"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="256"/>
<source>Invalid file provided.</source> <source>Invalid file provided.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="259"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="260"/>
<source>Could not save file: </source> <source>Could not save file: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="263"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="265"/>
<source>Loaded file &apos;%1&apos;.</source> <source>Loaded file &apos;%1&apos;.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="284"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="294"/>
<source>Copied plot screenshot to clipboard!</source> <source>Copied plot screenshot to clipboard!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="295"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="305"/>
<source>&amp;Update</source> <source>&amp;Update</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="297"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="307"/>
<source>&amp;Update LogarithmPlotter</source> <source>&amp;Update LogarithmPlotter</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -347,97 +357,97 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context> <context>
<name>Settings</name> <name>Settings</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="73"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="74"/>
<source>X Zoom</source> <source>X Zoom</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="88"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="89"/>
<source>Y Zoom</source> <source>Y Zoom</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="104"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="105"/>
<source>Min X</source> <source>Min X</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="123"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="124"/>
<source>Max Y</source> <source>Max Y</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="138"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="139"/>
<source>Max X</source> <source>Max X</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="157"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="158"/>
<source>Min Y</source> <source>Min Y</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="174"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="175"/>
<source>X Axis Step</source> <source>X Axis Step</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="188"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="189"/>
<source>Y Axis Step</source> <source>Y Axis Step</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="202"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="203"/>
<source>Line width</source> <source>Line width</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="217"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="218"/>
<source>Text size (px)</source> <source>Text size (px)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="232"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="233"/>
<source>X Label</source> <source>X Label</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="258"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="259"/>
<source>Y Label</source> <source>Y Label</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="286"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="287"/>
<source>X Log scale</source> <source>X Log scale</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="296"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="297"/>
<source>Show X graduation</source> <source>Show X graduation</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="306"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="307"/>
<source>Show Y graduation</source> <source>Show Y graduation</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="317"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="318"/>
<source>Copy to clipboard</source> <source>Copy to clipboard</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="326"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="327"/>
<source>Save plot</source> <source>Save plot</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="335"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="336"/>
<source>Save plot as</source> <source>Save plot as</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="344"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="345"/>
<source>Load plot</source> <source>Load plot</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -506,6 +516,49 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>parameters</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="61"/>
<source>above</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="62"/>
<source>below</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="63"/>
<source>left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="64"/>
<source>right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="65"/>
<source>above-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="66"/>
<source>above-right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="67"/>
<source>below-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.js" line="68"/>
<source>below-right</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>phasebode</name> <name>phasebode</name>
<message> <message>

View file

@ -103,7 +103,7 @@ class Helper(QObject):
QMessageBox.warning(None, 'LogarithmPlotter', QCoreApplication.translate('main','Could not open file: "{}"\nFile does not exist.').format(filename), QMessageBox.Ok) # Cannot parse file QMessageBox.warning(None, 'LogarithmPlotter', QCoreApplication.translate('main','Could not open file: "{}"\nFile does not exist.').format(filename), QMessageBox.Ok) # Cannot parse file
chdir(path.dirname(path.realpath(__file__))) chdir(path.dirname(path.realpath(__file__)))
return data return data
@Slot(result=str) @Slot(result=str)
def gettmpfile(self): def gettmpfile(self):
global tmpfile global tmpfile

View file

@ -17,6 +17,7 @@
*/ */
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Dialogs 1.3
import eu.ad5001.MixedMenu 1.1 import eu.ad5001.MixedMenu 1.1
import "js/objects.js" as Objects import "js/objects.js" as Objects
import "js/historylib.js" as HistoryLib import "js/historylib.js" as HistoryLib
@ -49,7 +50,13 @@ MenuBar {
Action { Action {
text: qsTr("&Quit") text: qsTr("&Quit")
shortcut: StandardKey.Quit shortcut: StandardKey.Quit
onTriggered: Qt.quit() onTriggered: {
if(settings.saved)
Qt.quit()
else
saveUnsavedChangesDialog.visible = true;
}
icon.name: 'application-exit' icon.name: 'application-exit'
} }
} }
@ -149,4 +156,17 @@ MenuBar {
onTriggered: about.open() onTriggered: about.open()
} }
} }
MessageDialog {
id: saveUnsavedChangesDialog
title: qsTr("Save unsaved changes?")
icon: StandardIcon.Question
text: qsTr("This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?")
standardButtons: StandardButton.Yes | StandardButton.No
onYes: Qt.quit()
}
function showSaveUnsavedChangesDialog() {
saveUnsavedChangesDialog.visible = true
}
} }

View file

@ -28,5 +28,4 @@ D.FileDialog {
folder: shortcuts.documents folder: shortcuts.documents
selectExisting: !exportMode selectExisting: !exportMode
} }

View file

@ -29,6 +29,8 @@ Item {
property int redoCount: 0 property int redoCount: 0
property var undoStack: [] property var undoStack: []
property var redoStack: [] property var redoStack: []
// Only true when no modification was done to the current working file.
property bool saved: true
function clear() { function clear() {
undoStack = [] undoStack = []
@ -71,6 +73,7 @@ Item {
redoStack = [] redoStack = []
redoCount = 0 redoCount = 0
} }
saved = false
} }
} }
@ -82,6 +85,7 @@ Item {
redoStack.push(action) redoStack.push(action)
undoCount--; undoCount--;
redoCount++; redoCount++;
saved = false
} }
} }
@ -93,17 +97,22 @@ Item {
undoStack.push(action) undoStack.push(action)
undoCount++; undoCount++;
redoCount--; redoCount--;
saved = false
} }
} }
function undoMultipleDefered(toUndoCount) { function undoMultipleDefered(toUndoCount) {
undoTimer.toUndoCount = toUndoCount; undoTimer.toUndoCount = toUndoCount;
undoTimer.start() undoTimer.start()
if(toUndoCount > 0)
saved = false
} }
function redoMultipleDefered(toRedoCount) { function redoMultipleDefered(toRedoCount) {
redoTimer.toRedoCount = toRedoCount; redoTimer.toRedoCount = toRedoCount;
redoTimer.start() redoTimer.start()
if(toRedoCount > 0)
saved = false
} }
Timer { Timer {

View file

@ -34,7 +34,7 @@ ApplicationWindow {
width: 1000 width: 1000
height: 500 height: 500
color: sysPalette.window color: sysPalette.window
title: "LogarithmPlotter " + (settings.saveFilename != "" ? " - " + settings.saveFilename.split('/').pop() : "") title: "LogarithmPlotter " + (settings.saveFilename != "" ? " - " + settings.saveFilename.split('/').pop() : "") + (history.saved ? "" : "*")
SystemPalette { id: sysPalette; colorGroup: SystemPalette.Active } SystemPalette { id: sysPalette; colorGroup: SystemPalette.Active }
SystemPalette { id: sysPaletteIn; colorGroup: SystemPalette.Disabled } SystemPalette { id: sysPaletteIn; colorGroup: SystemPalette.Disabled }
@ -195,6 +195,7 @@ ApplicationWindow {
"type": "logplotv1" "type": "logplotv1"
})) }))
alert.show(qsTr("Saved plot to '%1'.").arg(filename.split("/").pop())) alert.show(qsTr("Saved plot to '%1'.").arg(filename.split("/").pop()))
history.saved = true
} }
function loadDiagram(filename) { function loadDiagram(filename) {
@ -258,9 +259,11 @@ ApplicationWindow {
console.log(error) console.log(error)
alert.show(qsTr("Could not save file: ") + error) alert.show(qsTr("Could not save file: ") + error)
// TODO: Error handling // TODO: Error handling
return
} }
drawCanvas.requestPaint() drawCanvas.requestPaint()
alert.show(qsTr("Loaded file '%1'.").arg(basename)) alert.show(qsTr("Loaded file '%1'.").arg(basename))
history.saved = true
} }
Timer { Timer {
@ -277,6 +280,13 @@ ApplicationWindow {
onTriggered: Qt.quit() // Quit after paint on test build onTriggered: Qt.quit() // Quit after paint on test build
} }
onClosing: {
if(!history.saved) {
close.accepted = false
appMenu.showSaveUnsavedChangesDialog()
}
}
function copyDiagramToClipboard() { function copyDiagramToClipboard() {
var file = Helper.gettmpfile() var file = Helper.gettmpfile()
drawCanvas.save(file) drawCanvas.save(file)

View file

@ -65,7 +65,6 @@ D.Dialog {
var newName = Utils.parseName(newValue) var newName = Utils.parseName(newValue)
if(newName != '' && objEditor.obj.name != newName) { if(newName != '' && objEditor.obj.name != newName) {
if(Objects.getObjectByName(newName) != null) { if(Objects.getObjectByName(newName) != null) {
console.log(Objects.getObjectByName(newName).name, newName)
newName = ObjectsCommons.getNewName(newName) newName = ObjectsCommons.getNewName(newName)
} }
history.addToHistory(new HistoryLib.NameChanged( history.addToHistory(new HistoryLib.NameChanged(
@ -181,23 +180,25 @@ D.Dialog {
// True to select an object of type, false for enums. // True to select an object of type, false for enums.
property bool selectObjMode: paramTypeIn(modelData[1], ['ObjectType']) property bool selectObjMode: paramTypeIn(modelData[1], ['ObjectType'])
model: visible ? property var baseModel: visible ?
(selectObjMode ? Objects.getObjectsName(modelData[1].objType).concat([qsTr("+ Create new %1").arg(Objects.types[modelData[1].objType].displayType())]) : modelData[1].values) (selectObjMode ? Objects.getObjectsName(modelData[1].objType).concat([qsTr("+ Create new %1").arg(Objects.types[modelData[1].objType].displayType())]) : modelData[1].values)
: [] : []
// Translate the model if necessary.
model: selectObjMode ? baseModel : baseModel.map(x => qsTr(x))
visible: paramTypeIn(modelData[1], ['ObjectType', 'Enum']) visible: paramTypeIn(modelData[1], ['ObjectType', 'Enum'])
currentIndex: model.indexOf(selectObjMode ? objEditor.obj[modelData[0]].name : objEditor.obj[modelData[0]]) currentIndex: baseModel.indexOf(selectObjMode ? objEditor.obj[modelData[0]].name : objEditor.obj[modelData[0]])
onActivated: function(newIndex) { onActivated: function(newIndex) {
if(selectObjMode) { if(selectObjMode) {
// This is only done when what we're selecting are Objects. // This is only done when what we're selecting are Objects.
// Setting object property. // Setting object property.
var selectedObj = Objects.getObjectByName(model[newIndex], modelData[1].objType) var selectedObj = Objects.getObjectByName(baseModel[newIndex], modelData[1].objType)
if(selectedObj == null) { if(selectedObj == null) {
// Creating new object. // Creating new object.
selectedObj = Objects.createNewRegisteredObject(modelData[1].objType) selectedObj = Objects.createNewRegisteredObject(modelData[1].objType)
history.addToHistory(new HistoryLib.CreateNewObject(selectedObj.name, modelData[1].objType, selectedObj.export())) history.addToHistory(new HistoryLib.CreateNewObject(selectedObj.name, modelData[1].objType, selectedObj.export()))
model = Objects.getObjectsName(modelData[1].objType).concat([qsTr("+ Create new %1").arg(Objects.types[modelData[1].objType].displayType())]) baseModel = Objects.getObjectsName(modelData[1].objType).concat([qsTr("+ Create new %1").arg(Objects.types[modelData[1].objType].displayType())])
currentIndex = model.indexOf(selectedObj.name) currentIndex = baseModel.indexOf(selectedObj.name)
} }
//Objects.currentObjects[objEditor.objType][objEditor.objIndex].requiredBy = objEditor.obj[modelData[0]].filter((obj) => objEditor.obj.name != obj.name) //Objects.currentObjects[objEditor.objType][objEditor.objIndex].requiredBy = objEditor.obj[modelData[0]].filter((obj) => objEditor.obj.name != obj.name)
objEditor.obj.requiredBy = objEditor.obj.requiredBy.filter((obj) => objEditor.obj.name != obj.name) objEditor.obj.requiredBy = objEditor.obj.requiredBy.filter((obj) => objEditor.obj.name != obj.name)
@ -207,13 +208,13 @@ D.Dialog {
objEditor.obj[modelData[0]], selectedObj objEditor.obj[modelData[0]], selectedObj
)) ))
objEditor.obj[modelData[0]] = selectedObj objEditor.obj[modelData[0]] = selectedObj
} else if(model[newIndex] != objEditor.obj[modelData[0]]) { } else if(baseModel[newIndex] != objEditor.obj[modelData[0]]) {
// Ensuring new property is different to not add useless history entries. // Ensuring new property is different to not add useless history entries.
history.addToHistory(new HistoryLib.EditedProperty( history.addToHistory(new HistoryLib.EditedProperty(
objEditor.obj.name, objEditor.objType, modelData[0], objEditor.obj.name, objEditor.objType, modelData[0],
objEditor.obj[modelData[0]], model[newIndex] objEditor.obj[modelData[0]], baseModel[newIndex]
)) ))
objEditor.obj[modelData[0]] = model[newIndex] objEditor.obj[modelData[0]] = baseModel[newIndex]
} }
// Refreshing // Refreshing
Objects.currentObjects[objEditor.objType][objEditor.objIndex].update() Objects.currentObjects[objEditor.objType][objEditor.objIndex].update()

View file

@ -18,6 +18,7 @@
import QtQuick.Controls 2.12 import QtQuick.Controls 2.12
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Dialogs 1.1
import "js/utils.js" as Utils import "js/utils.js" as Utils
ScrollView { ScrollView {

View file

@ -29,17 +29,29 @@ class Function extends Common.ExecutableObject {
static displayType(){return qsTr('Function')} static displayType(){return qsTr('Function')}
static displayTypeMultiple(){return qsTr('Functions')} static displayTypeMultiple(){return qsTr('Functions')}
static properties() {return { static properties() {return {
'expression': 'Expression', 'expression': 'Expression',
'definitionDomain': 'Domain', 'definitionDomain': 'Domain',
'destinationDomain': 'Domain', 'destinationDomain': 'Domain',
'comment1': 'Ex: R+* (ℝ⁺*), N (), Z-* (ℤ⁻*), ]0;1[, {3;4;5}', 'comment1': 'Ex: R+* (ℝ⁺*), N (), Z-* (ℤ⁻*), ]0;1[, {3;4;5}',
'labelPosition': new P.Enum('above', 'below', 'left', 'right', 'above-left', 'above-right', 'below-left', 'below-right'), 'labelPosition': P.Enum.Position,
'displayMode': new P.Enum('application', 'function'), 'displayMode': new P.Enum('application', 'function'),
'labelX': 'number', 'labelX': 'number',
'comment2': 'The following parameters are used when the definition domain is a non-continuous set. (Ex: , , sets like {0;3}...)', 'comment2': 'The following parameters are used when the definition domain is a non-continuous set. (Ex: , , sets like {0;3}...)',
'drawPoints': 'boolean', 'drawPoints': 'boolean',
'drawDashedLines': 'boolean' 'drawDashedLines': 'boolean'
}} }}
/*static properties() {return {
[QT_TR_NOOP('expression')]: 'Expression',
[QT_TR_NOOP('definitionDomain')]: 'Domain',
[QT_TR_NOOP('destinationDomain')]: 'Domain',
'comment1': 'Ex: R+* (ℝ⁺*), N (), Z-* (ℤ⁻*), ]0;1[, {3;4;5}',
[QT_TR_NOOP('labelPosition')]: P.Enum.Position,
[QT_TR_NOOP('displayMode')]: new P.Enum('application', 'function'),
[QT_TR_NOOP('labelX')]: 'number',
'comment2': 'The following parameters are used when the definition domain is a non-continuous set. (Ex: , , sets like {0;3}...)',
[QT_TR_NOOP('drawPoints')]: 'boolean',
[QT_TR_NOOP('drawDashedLines')]: 'boolean'
}}*/
constructor(name = null, visible = true, color = null, labelContent = 'name + value', constructor(name = null, visible = true, color = null, labelContent = 'name + value',
expression = 'x', definitionDomain = 'RPE', destinationDomain = 'R', expression = 'x', definitionDomain = 'RPE', destinationDomain = 'R',

View file

@ -54,3 +54,16 @@ class Dictionary {
this.forbidAdding = forbidAdding this.forbidAdding = forbidAdding
} }
} }
// Common parameters of them:
Enum.Position = new Enum(
QT_TR_NOOP('above'),
QT_TR_NOOP('below'),
QT_TR_NOOP('left'),
QT_TR_NOOP('right'),
QT_TR_NOOP('above-left'),
QT_TR_NOOP('above-right'),
QT_TR_NOOP('below-left'),
QT_TR_NOOP('below-right')
)