Adding new 'Position setting' history action.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ad5001 2022-10-19 17:11:54 +02:00
parent de1be925b0
commit c5851e6d95
Signed by: Ad5001
GPG key ID: 7251B1AF90B960F9
15 changed files with 470 additions and 205 deletions

View file

@ -103,52 +103,52 @@
<translation>LaTeX-Rendering aktivieren</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Hilfe</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="164"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>&amp;Source code</source>
<translation>&amp;Quellcode</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="169"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="167"/>
<source>&amp;Report a bug</source>
<translation>Fehler &amp;Melden</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="174"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="172"/>
<source>&amp;User manual</source>
<translation>&amp;Benutzerhandbuch</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="179"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="177"/>
<source>&amp;Changelog</source>
<translation>&amp;Changelog</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="184"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="182"/>
<source>&amp;Help translating!</source>
<translation>&amp;Hilfe beim Übersetzen!</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="190"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="188"/>
<source>&amp;Thanks</source>
<translation>&amp;Danksagungen</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="195"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="193"/>
<source>&amp;About</source>
<translation>&amp;Übrigens</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="204"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="202"/>
<source>Save unsaved changes?</source>
<translation>Änderungen speichern?</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="206"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="204"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation>Diese Grafik enthält ungespeicherte Änderungen. Dadurch gehen alle ungespeicherten Daten verloren. Fortfahren?</translation>
</message>
@ -346,62 +346,62 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>LogarithmPlotter</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="89"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="99"/>
<source>Objects</source>
<translation>Objekte</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="95"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="105"/>
<source>Settings</source>
<translation>Einstellungen</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="101"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="111"/>
<source>History</source>
<translation>Verlauf</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="213"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="223"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation>Gespeicherte Grafik auf &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="223"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="233"/>
<source>Loading file &apos;%1&apos;.</source>
<translation>Laden der Datei &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="266"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="276"/>
<source>Unknown object type: %1.</source>
<translation>Unbekannter Objekttyp: %1.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="289"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="299"/>
<source>Invalid file provided.</source>
<translation>Ungültige Datei angegeben.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="293"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="303"/>
<source>Could not save file: </source>
<translation>Die Datei konnte nicht gespeichert werden: </translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="298"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="308"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation>Geladene Datei &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="331"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="341"/>
<source>Copied plot screenshot to clipboard!</source>
<translation>Grafik in die Zwischenablage kopiert!</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="346"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="356"/>
<source>&amp;Update</source>
<translation>&amp;Aktualisieren</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="348"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="358"/>
<source>&amp;Update LogarithmPlotter</source>
<translation>LogarithmPlotter &amp;aktualisieren</translation>
</message>
@ -478,12 +478,12 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>PickLocationOverlay</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="131"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="126"/>
<source>Pointer precision:</source>
<translation>Genauigkeit des Zeigers:</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="151"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="146"/>
<source>Snap to grid</source>
<translation>Am Gitter einrasten</translation>
</message>
@ -1190,6 +1190,19 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde
<translation>Punkte</translation>
</message>
</context>
<context>
<name>position</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.js" line="84"/>
<source>Position of %1 %2 set from &quot;%3&quot; to &quot;%4&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.js" line="90"/>
<source>Position of %1 set from %2 to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>prop</name>
<message>

View file

@ -103,52 +103,52 @@
<translation>Enable LaTeX rendering</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Help</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="164"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>&amp;Source code</source>
<translation>&amp;Source code</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="169"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="167"/>
<source>&amp;Report a bug</source>
<translation>&amp;Report a bug</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="174"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="172"/>
<source>&amp;User manual</source>
<translation>&amp;User manual</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="179"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="177"/>
<source>&amp;Changelog</source>
<translation>&amp;Changelog</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="184"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="182"/>
<source>&amp;Help translating!</source>
<translation>&amp;Help translating!</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="190"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="188"/>
<source>&amp;Thanks</source>
<translation>&amp;Thanks</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="195"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="193"/>
<source>&amp;About</source>
<translation>&amp;About</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="204"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="202"/>
<source>Save unsaved changes?</source>
<translation>Save unsaved changes?</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="206"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="204"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</translation>
</message>
@ -346,62 +346,62 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>LogarithmPlotter</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="89"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="99"/>
<source>Objects</source>
<translation>Objects</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="95"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="105"/>
<source>Settings</source>
<translation>Settings</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="101"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="111"/>
<source>History</source>
<translation>History</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="213"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="223"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation>Saved plot to &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="223"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="233"/>
<source>Loading file &apos;%1&apos;.</source>
<translation>Loading file &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="266"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="276"/>
<source>Unknown object type: %1.</source>
<translation>Unknown object type: %1.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="289"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="299"/>
<source>Invalid file provided.</source>
<translation>Invalid file provided.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="293"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="303"/>
<source>Could not save file: </source>
<translation>Could not save file: </translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="298"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="308"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation>Loaded file &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="331"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="341"/>
<source>Copied plot screenshot to clipboard!</source>
<translation>Copied plot screenshot to clipboard!</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="346"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="356"/>
<source>&amp;Update</source>
<translation>&amp;Update</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="348"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="358"/>
<source>&amp;Update LogarithmPlotter</source>
<translation>&amp;Update LogarithmPlotter</translation>
</message>
@ -478,12 +478,12 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>PickLocationOverlay</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="131"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="126"/>
<source>Pointer precision:</source>
<translation>Pointer precision:</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="151"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="146"/>
<source>Snap to grid</source>
<translation>Snap to grid</translation>
</message>
@ -1190,6 +1190,19 @@ Please make sure your LaTeX installation is correct and report a bug if so.</tra
<translation>Points</translation>
</message>
</context>
<context>
<name>position</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.js" line="84"/>
<source>Position of %1 %2 set from &quot;%3&quot; to &quot;%4&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.js" line="90"/>
<source>Position of %1 set from %2 to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>prop</name>
<message>

View file

@ -103,52 +103,52 @@
<translation>Activar el renderizado de LaTeX</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Ayuda</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="164"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>&amp;Source code</source>
<translation>&amp;Código fuente</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="169"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="167"/>
<source>&amp;Report a bug</source>
<translation>&amp;Informar de un error</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="174"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="172"/>
<source>&amp;User manual</source>
<translation>&amp;Manual del usuario</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="179"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="177"/>
<source>&amp;Changelog</source>
<translation>&amp;Registro de cambios</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="184"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="182"/>
<source>&amp;Help translating!</source>
<translation>&amp;¡Ayuda a la traducción!</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="190"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="188"/>
<source>&amp;Thanks</source>
<translation>&amp;Agradecimientos</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="195"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="193"/>
<source>&amp;About</source>
<translation>&amp;Acerca de</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="204"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="202"/>
<source>Save unsaved changes?</source>
<translation>¿Guardar los cambios no guardados?</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="206"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="204"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation type="unfinished"></translation>
</message>
@ -314,62 +314,62 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>LogarithmPlotter</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="89"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="99"/>
<source>Objects</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="95"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="105"/>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="101"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="111"/>
<source>History</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="213"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="223"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="223"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="233"/>
<source>Loading file &apos;%1&apos;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="266"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="276"/>
<source>Unknown object type: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="289"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="299"/>
<source>Invalid file provided.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="293"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="303"/>
<source>Could not save file: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="298"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="308"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="331"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="341"/>
<source>Copied plot screenshot to clipboard!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="346"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="356"/>
<source>&amp;Update</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="348"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="358"/>
<source>&amp;Update LogarithmPlotter</source>
<translation type="unfinished"></translation>
</message>
@ -426,12 +426,12 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>PickLocationOverlay</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="131"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="126"/>
<source>Pointer precision:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="151"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="146"/>
<source>Snap to grid</source>
<translation type="unfinished"></translation>
</message>
@ -1099,6 +1099,19 @@ Please make sure your latex installation is correct and report a bug if so.</sou
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>position</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.js" line="84"/>
<source>Position of %1 %2 set from &quot;%3&quot; to &quot;%4&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.js" line="90"/>
<source>Position of %1 set from %2 to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>prop</name>
<message>

View file

@ -104,52 +104,52 @@
<translation>Activer le rendu LaTeX</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Aide</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="164"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>&amp;Source code</source>
<translation>&amp;Code source</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="169"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="167"/>
<source>&amp;Report a bug</source>
<translation>&amp;Rapport de bug</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="174"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="172"/>
<source>&amp;User manual</source>
<translation>Manuel d&apos;&amp;utilisation</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="179"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="177"/>
<source>&amp;Changelog</source>
<translation>&amp;Historique des modifications</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="184"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="182"/>
<source>&amp;Help translating!</source>
<translation>&amp;Aider à la traduction !</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="190"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="188"/>
<source>&amp;Thanks</source>
<translation>&amp;Remerciements</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="195"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="193"/>
<source>&amp;About</source>
<translation>&amp;À propos</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="204"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="202"/>
<source>Save unsaved changes?</source>
<translation>Sauvegarder les modifications ?</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="206"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="204"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation>Ce graphe contient des modifications non sauvegardées. En faisant cela, toutes les données non sauvegardées seront perdues. Continuer ?</translation>
</message>
@ -354,62 +354,62 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>LogarithmPlotter</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="89"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="99"/>
<source>Objects</source>
<translation>Objets</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="95"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="105"/>
<source>Settings</source>
<translation>Paramètres</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="101"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="111"/>
<source>History</source>
<translation>Historique</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="213"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="223"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation>Graphe sauvegardé dans &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="223"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="233"/>
<source>Loading file &apos;%1&apos;.</source>
<translation>Chargement du fichier &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="266"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="276"/>
<source>Unknown object type: %1.</source>
<translation>Type d&apos;objet inconnu : %1.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="289"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="299"/>
<source>Invalid file provided.</source>
<translation>Fichier fourni invalide.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="293"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="303"/>
<source>Could not save file: </source>
<translation>Impossible de sauvegarder le fichier : </translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="298"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="308"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation>Fichier &apos;%1&apos; chargé.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="331"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="341"/>
<source>Copied plot screenshot to clipboard!</source>
<translation>Image du graphe copiée dans le presse-papiers !</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="346"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="356"/>
<source>&amp;Update</source>
<translation>&amp;Mise à jour</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="348"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="358"/>
<source>&amp;Update LogarithmPlotter</source>
<translation>&amp;Mettre à jour LogarithmPlotter</translation>
</message>
@ -486,12 +486,12 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>PickLocationOverlay</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="131"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="126"/>
<source>Pointer precision:</source>
<translation>Précision du pointeur :</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="151"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="146"/>
<source>Snap to grid</source>
<translation>Placement sur la grille</translation>
</message>
@ -1199,6 +1199,19 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c
<translation>Points</translation>
</message>
</context>
<context>
<name>position</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.js" line="84"/>
<source>Position of %1 %2 set from &quot;%3&quot; to &quot;%4&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.js" line="90"/>
<source>Position of %1 set from %2 to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>prop</name>
<message>

View file

@ -103,52 +103,52 @@
<translation>LaTeX-megjelenítés engedélyezése</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Súgó</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="164"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>&amp;Source code</source>
<translation>&amp;Forráskód</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="169"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="167"/>
<source>&amp;Report a bug</source>
<translation>&amp;Hiba bejelentése</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="174"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="172"/>
<source>&amp;User manual</source>
<translation>&amp;Használati utasítás</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="179"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="177"/>
<source>&amp;Changelog</source>
<translation>&amp;Változásnapló</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="184"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="182"/>
<source>&amp;Help translating!</source>
<translation>&amp;Segítség a fordításban!</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="190"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="188"/>
<source>&amp;Thanks</source>
<translation>&amp;Köszönjük</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="195"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="193"/>
<source>&amp;About</source>
<translation>&amp;Névjegy</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="204"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="202"/>
<source>Save unsaved changes?</source>
<translation>Menti a változtatásokat?</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="206"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="204"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation>Ez az ábra nem mentett változtatásokat tartalmaz. Ezzel az összes nem mentett adat elveszik. Folytatja?</translation>
</message>
@ -346,62 +346,62 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<context>
<name>LogarithmPlotter</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="89"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="99"/>
<source>Objects</source>
<translation>Tárgyak</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="95"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="105"/>
<source>Settings</source>
<translation>Beállítások</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="101"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="111"/>
<source>History</source>
<translation>Előzmények</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="213"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="223"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation>Ábra mentve ide: %1.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="223"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="233"/>
<source>Loading file &apos;%1&apos;.</source>
<translation>A(z) %1 fájl betöltése folyamatban van.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="266"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="276"/>
<source>Unknown object type: %1.</source>
<translation>Ismeretlen objektumtípus: %1.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="289"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="299"/>
<source>Invalid file provided.</source>
<translation>A megadott fájl érvénytelen.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="293"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="303"/>
<source>Could not save file: </source>
<translation>A fájl mentése nem sikerült: </translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="298"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="308"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation>A(z) %1 fájl betöltve.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="331"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="341"/>
<source>Copied plot screenshot to clipboard!</source>
<translation>Ábra képernyőkép vágólapra másolva!</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="346"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="356"/>
<source>&amp;Update</source>
<translation>&amp;Frissítés</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="348"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="358"/>
<source>&amp;Update LogarithmPlotter</source>
<translation>A LogarithmPlotter &amp;frissítése</translation>
</message>
@ -478,12 +478,12 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<context>
<name>PickLocationOverlay</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="131"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="126"/>
<source>Pointer precision:</source>
<translation>Mutató pontossága:</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="151"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="146"/>
<source>Snap to grid</source>
<translation>Rácshoz illesztés</translation>
</message>
@ -1183,6 +1183,19 @@ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelents
<translation>Pontok</translation>
</message>
</context>
<context>
<name>position</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.js" line="84"/>
<source>Position of %1 %2 set from &quot;%3&quot; to &quot;%4&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.js" line="90"/>
<source>Position of %1 set from %2 to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>prop</name>
<message>

View file

@ -103,52 +103,52 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Hjelp</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="164"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>&amp;Source code</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="169"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="167"/>
<source>&amp;Report a bug</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="174"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="172"/>
<source>&amp;User manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="179"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="177"/>
<source>&amp;Changelog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="184"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="182"/>
<source>&amp;Help translating!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="190"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="188"/>
<source>&amp;Thanks</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="195"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="193"/>
<source>&amp;About</source>
<translation>&amp;Om</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="204"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="202"/>
<source>Save unsaved changes?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="206"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="204"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation type="unfinished"></translation>
</message>
@ -346,62 +346,62 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context>
<name>LogarithmPlotter</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="89"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="99"/>
<source>Objects</source>
<translation>Objekter</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="95"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="105"/>
<source>Settings</source>
<translation>Innstillinger</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="101"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="111"/>
<source>History</source>
<translation>Historikk</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="213"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="223"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation>Lagret plott i «%1».</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="223"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="233"/>
<source>Loading file &apos;%1&apos;.</source>
<translation>Laster inn «%1»-fil.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="266"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="276"/>
<source>Unknown object type: %1.</source>
<translation>Ukjent objekttype: %1.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="289"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="299"/>
<source>Invalid file provided.</source>
<translation>Ugyldig fil angitt.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="293"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="303"/>
<source>Could not save file: </source>
<translation>Kunne ikke lagre fil: </translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="298"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="308"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation>Lastet inn filen «%1».</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="331"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="341"/>
<source>Copied plot screenshot to clipboard!</source>
<translation>Kopierte plott-skjermavbildning til utklippstavlen!</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="346"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="356"/>
<source>&amp;Update</source>
<translation>&amp;Oppdater</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="348"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="358"/>
<source>&amp;Update LogarithmPlotter</source>
<translation>&amp;Installer ny versjon av LogartimePlotter</translation>
</message>
@ -478,12 +478,12 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context>
<name>PickLocationOverlay</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="131"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="126"/>
<source>Pointer precision:</source>
<translation>Peker-presisjon:</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="151"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="146"/>
<source>Snap to grid</source>
<translation>Fest til rutenett</translation>
</message>
@ -1174,6 +1174,19 @@ Please make sure your latex installation is correct and report a bug if so.</sou
<translation>Punkter</translation>
</message>
</context>
<context>
<name>position</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.js" line="84"/>
<source>Position of %1 %2 set from &quot;%3&quot; to &quot;%4&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.js" line="90"/>
<source>Position of %1 set from %2 to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>prop</name>
<message>

View file

@ -103,52 +103,52 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="160"/>
<source>&amp;Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="164"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>&amp;Source code</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="169"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="167"/>
<source>&amp;Report a bug</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="174"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="172"/>
<source>&amp;User manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="179"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="177"/>
<source>&amp;Changelog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="184"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="182"/>
<source>&amp;Help translating!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="190"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="188"/>
<source>&amp;Thanks</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="195"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="193"/>
<source>&amp;About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="204"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="202"/>
<source>Save unsaved changes?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="206"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="204"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation type="unfinished"></translation>
</message>
@ -314,62 +314,62 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>LogarithmPlotter</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="89"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="99"/>
<source>Objects</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="95"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="105"/>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="101"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="111"/>
<source>History</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="213"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="223"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="223"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="233"/>
<source>Loading file &apos;%1&apos;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="266"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="276"/>
<source>Unknown object type: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="289"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="299"/>
<source>Invalid file provided.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="293"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="303"/>
<source>Could not save file: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="298"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="308"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="331"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="341"/>
<source>Copied plot screenshot to clipboard!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="346"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="356"/>
<source>&amp;Update</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="348"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="358"/>
<source>&amp;Update LogarithmPlotter</source>
<translation type="unfinished"></translation>
</message>
@ -426,12 +426,12 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>PickLocationOverlay</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="131"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="126"/>
<source>Pointer precision:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="151"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/PickLocationOverlay.qml" line="146"/>
<source>Snap to grid</source>
<translation type="unfinished"></translation>
</message>
@ -1099,6 +1099,19 @@ Please make sure your latex installation is correct and report a bug if so.</sou
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>position</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.js" line="84"/>
<source>Position of %1 %2 set from &quot;%3&quot; to &quot;%4&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.js" line="90"/>
<source>Position of %1 set from %2 to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>prop</name>
<message>

View file

@ -22,7 +22,7 @@ import QtQuick.Dialogs 1.3
import eu.ad5001.MixedMenu 1.1
import "js/objects.js" as Objects
import "js/historylib.js" as HistoryLib
import "js/math/latex.js" as Latex
import "js/math/latex.js" as LatexJS
/*!
@ -143,18 +143,16 @@ MenuBar {
}
Action {
id: enableLatexSetting
id: enableLatexJSSetting
text: qsTr("Enable LaTeX rendering")
checkable: true
checked: Helper.getSettingBool("enable_latex")
onTriggered: {
Helper.setSettingBool("enable_latex", checked)
Latex.enabled = checked
LatexJS.enabled = checked
drawCanvas.requestPaint()
}
icon.name: 'Expression'
Component.onCompleted: Latex.enabled = checked
}
}

View file

@ -25,6 +25,7 @@ import QtQuick 2.12
import "js/objs/autoload.js" as ALObjects
import "js/objects.js" as Objects
import "js/math/latex.js" as LatexJS
import eu.ad5001.LogarithmPlotter.History 1.0
import eu.ad5001.LogarithmPlotter.ObjectLists 1.0
import eu.ad5001.LogarithmPlotter.Popup 1.0 as Popup
@ -44,7 +45,16 @@ ApplicationWindow {
color: sysPalette.window
title: "LogarithmPlotter " + (settings.saveFilename != "" ? " - " + settings.saveFilename.split('/').pop() : "") + (history.saved ? "" : "*")
SystemPalette { id: sysPalette; colorGroup: SystemPalette.Active }
SystemPalette {
id: sysPalette; colorGroup: SystemPalette.Active
Component.onCompleted: {
// LatexJS initialization.
LatexJS.enabled = Helper.getSettingBool("enable_latex")
LatexJS.Renderer = Latex
LatexJS.defaultColor = sysPalette.windowText
}
}
SystemPalette { id: sysPaletteIn; colorGroup: SystemPalette.Disabled }
menuBar: appMenu.trueItem

View file

@ -92,34 +92,29 @@ Item {
acceptedButtons: Qt.LeftButton | Qt.RightButton
onClicked: {
if(mouse.button == Qt.LeftButton) { // Validate
if(parent.pickX) {
let newValue = picked.mouseX.toString()
newValue = {
'Expression': () => new MathLib.Expression(newValue),
'number': () => parseFloat(newValue)
}[Objects.types[objType].properties()[propertyX]]()
let obj = Objects.currentObjectsByName[objName] // getObjectByName(objName, objType)
history.addToHistory(new HistoryLib.EditedProperty(
objName, objType, propertyX, obj[propertyX], newValue
let newValueX = !parent.pickX ? null : parseValue(picked.mouseX.toString(), objType, propertyX)
let newValueY = !parent.pickY ? null : parseValue(picked.mouseY.toString(), objType, propertyY)
let obj = Objects.currentObjectsByName[objName]
// Set values
if(parent.pickX && parent.pickY) {
history.addToHistory(new HistoryLib.EditedPosition(
objName, objType, obj[propertyX], newValueX, obj[propertyY], newValueY
))
obj[propertyX] = newValue
obj.update()
objectLists.update()
}
if(parent.pickY) {
let newValue = picked.mouseY.toString()
newValue = {
'Expression': () => new MathLib.Expression(newValue),
'number': () => parseFloat(newValue)
}[Objects.types[objType].properties()[propertyY]]()
let obj = Objects.currentObjectsByName[objName] // Objects.getObjectByName(objName, objType)
obj[propertyX] = newValueX
obj[propertyY] = newValueY
} else if(parent.pickX) {
history.addToHistory(new HistoryLib.EditedProperty(
objName, objType, propertyY, obj[propertyY], newValue
objName, objType, propertyX, obj[propertyX], newValueX
))
obj[propertyY] = newValue
obj.update()
objectLists.update()
obj[propertyX] = newValueX
} else if(parent.pickY) {
history.addToHistory(new HistoryLib.EditedProperty(
objName, objType, propertyY, obj[propertyY], newValueY
))
obj[propertyY] = newValueY
}
obj.update()
objectLists.update()
}
pickerRoot.visible = false;
}
@ -214,4 +209,14 @@ Item {
}
/*!
\qmlmethod void History::parseValue(string value, string objType, string propertyName)
Parses a given \c value as an expression or a number depending on the type of \c propertyName of all \c objType.
*/
function parseValue(value, objType, propertyName) {
return {
'Expression': () => new MathLib.Expression(value),
'number': () => parseFloat(value)
}[Objects.types[objType].properties()[propertyName]]()
}
}

View file

@ -18,14 +18,27 @@
.pragma library
.import "../math/latex.js" as Latex
var themeTextColor;
var imageDepth = 2;
var fontSize = 14;
class Action {
// Type of the action done.
/**
* Type of the action.
*
* @returns {string}
*/
type(){return 'Unknown'}
// Icon associated with the item
/**
* Icon associated with the action.
*
* @returns {string}
*/
icon(){return 'position'}
// TargetName is the name of the object that's targeted by the event.
constructor(targetName = "", targetType = "Point") {
@ -33,25 +46,67 @@ class Action {
this.targetType = targetType
}
/**
* Undoes the action.
*
* @returns {string}
*/
undo() {}
/**
* Redoes the action.
*
* @returns {string}
*/
redo() {}
/**
* Export the action to a serializable format.
* NOTE: These arguments will be reinputed in the constructor in this order.
*
* @returns {string}
*/
export() {
return [this.targetName, this.targetType]
}
// String used in the toolkit
/**
* Returns a string with the human readable description of the action.
*
* @returns {string}
*/
getReadableString() {
return 'Unknown action'
}
// Returns an HTML tag containing the icon of a type
/**
* Returns a string containing an HTML tag describing the icon of a type
*
* @param {string} type - Name of the icon to put in rich text.
* @returns {string}
*/
getIconRichText(type) {
return `<img source="../icons/objects/${type}.svg" style="color: ${themeTextColor};" width=18 height=18></img>`
}
// String used in the preview
/**
* Renders a LaTeX-formatted string to an image and wraps it in an HTML tag in a string.
*
* @param {string} latexString - Source string of the latex.
* @returns {string}
*/
renderLatexAsHtml(latexString) {
if(!Latex.enabled)
throw new Error("Cannot render an item as LaTeX when LaTeX is disabled.")
let latexInfo = Latex.Renderer.render(latexString, imageDepth*fontSize+4, themeTextColor).split(",")
return `<img src="${latexInfo[0]}" width="${parseInt(latexInfo[1])/imageDepth}" height="${parseInt(latexInfo[2])/imageDepth}" style="vertical-align: middle"></img>`
}
/**
* Returns a string with the HTML-formated description of the action.
*
* @returns {string}
*/
getHTMLString() {
return this.getReadableString()
}

View file

@ -94,8 +94,8 @@ class EditedProperty extends C.Action {
this.next = this.newValue.name.join(",")
break;
case "Dict":
this.prev = JSON.stringify(this.previousValue).replace("'", "\\'").replace('"', "'")
this.next = JSON.stringify(this.newValue).replace("'", "\\'").replace('"', "'")
this.prev = JSON.stringify(this.previousValue)
this.next = JSON.stringify(this.newValue)
break;
}
} else {

View file

@ -0,0 +1,95 @@
/**
* LogarithmPlotter - 2D plotter software to make BODE plots, sequences and distribution functions.
* Copyright (C) 2022 Ad5001
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
.pragma library
.import "../objects.js" as Objects
.import "../mathlib.js" as MathLib
.import "../math/latex.js" as Latex
.import "../utils.js" as Utils
.import "../objs/common.js" as Common
.import "common.js" as C
class EditedPosition extends C.Action {
// Action used for objects that have a X and Y expression properties (points, texts...)
type(){return 'EditedPosition'}
icon(){return 'position'}
color(darkVer=false){
return darkVer ? 'seagreen' : 'lightseagreen';
}
constructor(targetName = "", targetType = "Point", previousXValue = "", newXValue = "", previousYValue = "", newYValue = "") {
super(targetName, targetType)
let imports = {
'previousXValue': previousXValue,
'previousYValue': previousYValue,
'newXValue': newXValue,
'newYValue': newYValue
}
for(let name in imports)
this[name] = (typeof imports[name]) == 'string' ? new MathLib.Expression(imports[name]) : imports[name]
this.setReadableValues()
}
undo() {
Objects.currentObjectsByName[this.targetName].x = this.previousXValue
Objects.currentObjectsByName[this.targetName].y = this.previousYValue
Objects.currentObjectsByName[this.targetName].update()
}
redo() {
Objects.currentObjectsByName[this.targetName].x = this.newXValue
Objects.currentObjectsByName[this.targetName].y = this.newYValue
Objects.currentObjectsByName[this.targetName].update()
}
setReadableValues() {
this.prevString = `(${this.previousXValue.toString()},${this.previousYValue.toString()})`
this.nextString = `(${this.newXValue.toString()},${this.newYValue.toString()})`
// Render as LaTeX
if(Latex.enabled) {
this.prevHTML = this.renderLatexAsHtml(`\\left(${this.previousXValue.latexMarkup},${this.previousYValue.latexMarkup}\\right)`)
this.nextHTML = this.renderLatexAsHtml(`\\left(${this.newXValue.latexMarkup},${this.newYValue.latexMarkup}\\right)`)
} else {
this.prevHTML = '<tt style="background: rgba(128,128,128,0.1);">&nbsp;'+Utils.escapeHTML(this.prevString)+'&nbsp;</tt>'
this.nextHTML = '<tt style="background: rgba(128,128,128,0.1);">&nbsp;'+Utils.escapeHTML(this.nextString)+'&nbsp;</tt>'
}
}
export() {
return [this.targetName, this.targetType, this.targetProperty,
this.previousXValue.toEditableString(), this.newXValue.toEditableString(),
this.previousYValue.toEditableString(), this.newYValue.toEditableString()]
}
getReadableString() {
return qsTr('Position of %1 %2 set from "%3" to "%4".')
.arg(Objects.types[this.targetType].displayType())
.arg(this.targetName).arg(this.prevString).arg(this.nextString)
}
getHTMLString() {
return qsTr('Position of %1 set from %2 to %3.')
.arg('<b style="font-size: 15px;">&nbsp;' + this.targetName + '&nbsp;</b>')
.arg(this.prevHTML)
.arg(this.nextHTML)
}
}

View file

@ -24,6 +24,7 @@
.import "history/create.js" as Create
.import "history/delete.js" as Delete
.import "history/editproperty.js" as EP
.import "history/position.js" as Pos
.import "history/visibility.js" as V
.import "history/name.js" as Name
.import "history/color.js" as Color
@ -35,6 +36,7 @@ var Action = Common.Action
var CreateNewObject = Create.CreateNewObject
var DeleteObject = Delete.DeleteObject
var EditedProperty = EP.EditedProperty
var EditedPosition = Pos.EditedPosition
var EditedVisibility = V.EditedVisibility
var NameChanged = Name.NameChanged
var ColorChanged = Color.ColorChanged
@ -44,6 +46,7 @@ var Actions = {
"CreateNewObject": CreateNewObject,
"DeleteObject": DeleteObject,
"EditedProperty": EditedProperty,
"EditedPosition": EditedPosition,
"EditedVisibility": EditedVisibility,
"NameChanged": NameChanged,
"ColorChanged": ColorChanged,

View file

@ -25,6 +25,14 @@
* true if latex has been enabled by the user, false otherwise.
*/
var enabled = false
/**
* LaTeX python backend QObject.
*/
var Renderer = null
/**
* Default window color used to render LaTeX formulas.
*/
var defaultColor = "black"
/**
* Puts element within parenthesis.