Compare commits

...

3 commits

Author SHA1 Message Date
997a1645a0
Removing Settings submenu.
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-02 22:50:43 +02:00
fefb0f92b0
New, rewamped Greet Screen. 2024-04-02 22:49:56 +02:00
665906ecb3
New preferences panel. 2024-04-02 22:11:54 +02:00
24 changed files with 1676 additions and 1229 deletions

View file

@ -5,7 +5,7 @@
<name>About</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="31"/>
<location filename="../logarithmplotter.py" line="124"/>
<location filename="../logarithmplotter.py" line="123"/>
<source>About LogarithmPlotter</source>
<translation>Über LogarithmPlotter</translation>
</message>
@ -186,6 +186,14 @@
<translation>Schließen</translation>
</message>
</context>
<context>
<name>BoolSetting</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/setting/general.mjs" line="23"/>
<source>Check for updates on startup</source>
<translation>Beim Starten auf Updates prüfen</translation>
</message>
</context>
<context>
<name>Changelog</name>
<message>
@ -195,7 +203,7 @@
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/Changelog.qml" line="99"/>
<source>Done</source>
<source>Close</source>
<translation>Schließen</translation>
</message>
</context>
@ -399,7 +407,7 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/GreetScreen.qml" line="224"/>
<source>Done</source>
<source>Close</source>
<translation>Schließen</translation>
</message>
</context>
@ -437,14 +445,17 @@ 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="91"/>
<source>Objects</source>
<translation>Objekte</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="97"/>
<source>Settings</source>
<translation>Einstellungen</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="103"/>
<source>History</source>
<translation>Verlauf</translation>
</message>
@ -473,14 +484,17 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<translation>Geladene Datei &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="232"/>
<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="247"/>
<source>&amp;Update</source>
<translation>&amp;Aktualisieren</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="249"/>
<source>&amp;Update LogarithmPlotter</source>
<translation>LogarithmPlotter &amp;aktualisieren</translation>
</message>
@ -599,100 +613,105 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>Settings</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="157"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="161"/>
<source>X Zoom</source>
<translation>Zoom auf X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="172"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="176"/>
<source>Y Zoom</source>
<translation>Zoom auf Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="188"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="192"/>
<source>Min X</source>
<translation>Minimum X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="207"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="211"/>
<source>Max Y</source>
<translation>Maximum Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="222"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="226"/>
<source>Max X</source>
<translation>Maximum X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="241"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="245"/>
<source>Min Y</source>
<translation>Minimum Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="259"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="263"/>
<source>X Axis Step</source>
<translation>X-Achsen-Schritt</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="274"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="278"/>
<source>Y Axis Step</source>
<translation>Y-Achsen-Schritt</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="288"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="292"/>
<source>Line width</source>
<translation>Linienbreite</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="303"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="307"/>
<source>Text size (px)</source>
<translation>Textgröße (px)</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="318"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="322"/>
<source>X Label</source>
<translation>Etikett der X-Achse</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="344"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="348"/>
<source>Y Label</source>
<translation>Etikett der Y-Achse</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="372"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="376"/>
<source>X Log scale</source>
<translation>Logarithmische Skala in X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="382"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="386"/>
<source>Show X graduation</source>
<translation>X-Teilung anzeigen</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="392"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="396"/>
<source>Show Y graduation</source>
<translation>Y-Teilung anzeigen</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="403"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="407"/>
<source>Copy to clipboard</source>
<translation>Kopieren in die Zwischenablage</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="412"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="416"/>
<source>Save plot</source>
<translation>Grafik speichern</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="421"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="425"/>
<source>Save plot as</source>
<translation>Grafik speichern unter</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="430"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="434"/>
<source>Load plot</source>
<translation>Grafik laden</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/Settings.qml" line="119"/>
<source>Close</source>
<translation>Schließen</translation>
</message>
</context>
<context>
<name>ThanksTo</name>
@ -790,12 +809,12 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>changelog</name>
<message>
<location filename="../util/helper.py" line="48"/>
<location filename="../util/helper.py" line="49"/>
<source>Could not fetch changelog: Server error {}.</source>
<translation>Changelog konnte nicht geholt werden: Server-Fehler {}.</translation>
</message>
<message>
<location filename="../util/helper.py" line="50"/>
<location filename="../util/helper.py" line="52"/>
<source>Could not fetch update: {}.</source>
<translation>Changelog konnte nicht geholt werden: {}.</translation>
</message>
@ -1075,6 +1094,22 @@ Ausdruck analysiert: %3</translation>
<source>LogarithmPlotter - Drawing error</source>
<translation>LogarithmPlotter - Fehler</translation>
</message>
<message>
<source>Automatically close parenthesises and brackets</source>
<translation type="obsolete">Klammern automatisch schließen</translation>
</message>
<message>
<source>Enable syntax highlighting</source>
<translation type="obsolete">Syntaxhervorhebung einschalten</translation>
</message>
<message>
<source>Enable autocompletion</source>
<translation type="obsolete">Automatische Vervollständigung einschalten</translation>
</message>
<message>
<source>Color Scheme</source>
<translation type="obsolete">Syntaktische Färbung</translation>
</message>
</context>
<context>
<name>function</name>
@ -1106,6 +1141,21 @@ Ausdruck analysiert: %3</translation>
<translation>Hochpass</translation>
</message>
</context>
<context>
<name>general</name>
<message>
<source>Check for updates on startup</source>
<translation type="obsolete">Beim Starten auf Updates prüfen</translation>
</message>
<message>
<source>Reset redo stack automaticly</source>
<translation type="obsolete">Wiederherstellen-Stapel automatisch zurücksetzen</translation>
</message>
<message>
<source>Enable LaTeX rendering</source>
<translation type="obsolete">LaTeX-Rendering aktivieren</translation>
</message>
</context>
<context>
<name>historylib</name>
<message>
@ -1136,64 +1186,52 @@ Ausdruck analysiert: %3</translation>
<context>
<name>io</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="89"/>
<source>Objects</source>
<translation type="unfinished">Objekte</translation>
<translation>Objekte</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="95"/>
<source>Settings</source>
<translation type="unfinished">Einstellungen</translation>
<translation>Einstellungen</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="101"/>
<source>History</source>
<translation type="unfinished">Verlauf</translation>
<translation>Verlauf</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="220"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation type="unfinished">Gespeicherte Grafik auf &apos;%1&apos;.</translation>
<translation type="obsolete">Gespeicherte Grafik auf &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="230"/>
<source>Loading file &apos;%1&apos;.</source>
<translation type="unfinished">Laden der Datei &apos;%1&apos;.</translation>
<translation type="obsolete">Laden der Datei &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="273"/>
<source>Unknown object type: %1.</source>
<translation type="unfinished">Unbekannter Objekttyp: %1.</translation>
<translation type="obsolete">Unbekannter Objekttyp: %1.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="296"/>
<source>Invalid file provided.</source>
<translation type="unfinished">Ungültige Datei angegeben.</translation>
<translation type="obsolete">Ungültige Datei angegeben.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="300"/>
<source>Could not save file: </source>
<translation type="unfinished">Die Datei konnte nicht gespeichert werden: </translation>
<translation type="obsolete">Die Datei konnte nicht gespeichert werden: </translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="305"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation type="unfinished">Geladene Datei &apos;%1&apos;.</translation>
<translation type="obsolete">Geladene Datei &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="354"/>
<source>Copied plot screenshot to clipboard!</source>
<translation type="unfinished">Grafik in die Zwischenablage kopiert!</translation>
<translation>Grafik in die Zwischenablage kopiert!</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="369"/>
<source>&amp;Update</source>
<translation type="unfinished">&amp;Aktualisieren</translation>
<translation>&amp;Aktualisieren</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="371"/>
<source>&amp;Update LogarithmPlotter</source>
<translation type="unfinished">LogarithmPlotter &amp;aktualisieren</translation>
<translation>LogarithmPlotter &amp;aktualisieren</translation>
</message>
</context>
<context>
@ -1226,7 +1264,7 @@ Der Prozess &apos;{}&apos; wurde mit einem Rückgabecode ungleich Null beendet {
Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melden Sie einen Fehler, falls dies der Fall ist.</translation>
</message>
<message>
<location filename="../util/latex.py" line="172"/>
<location filename="../util/latex.py" line="169"/>
<source>An exception occured within the creation of the latex formula.
Process &apos;{}&apos; took too long to finish:
{}
@ -1505,6 +1543,14 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde
<translation>Folgen</translation>
</message>
</context>
<context>
<name>settingCategory</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/Settings.qml" line="152"/>
<source>general</source>
<translation></translation>
</message>
</context>
<context>
<name>sommegainsbode</name>
<message>
@ -1533,22 +1579,22 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde
<context>
<name>update</name>
<message>
<location filename="../util/update.py" line="54"/>
<location filename="../util/update.py" line="56"/>
<source>An update for LogarithPlotter (v{}) is available.</source>
<translation>Ein Aktualisierung für LogarithmPlotter (v{}) ist verfügbar.</translation>
</message>
<message>
<location filename="../util/update.py" line="58"/>
<location filename="../util/update.py" line="62"/>
<source>No update available.</source>
<translation>Keine Aktualisierung verfügbar.</translation>
</message>
<message>
<location filename="../util/update.py" line="61"/>
<location filename="../util/update.py" line="65"/>
<source>Could not fetch update information: Server error {}.</source>
<translation>Es konnten keine Aktualisierungsinformationen abgerufen werden: Server-Fehler {}.</translation>
</message>
<message>
<location filename="../util/update.py" line="63"/>
<location filename="../util/update.py" line="69"/>
<source>Could not fetch update information: {}.</source>
<translation>Es konnten keine Aktualisierungsinformationen abgerufen werden:{}.</translation>
</message>

View file

@ -5,7 +5,7 @@
<name>About</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="31"/>
<location filename="../logarithmplotter.py" line="124"/>
<location filename="../logarithmplotter.py" line="123"/>
<source>About LogarithmPlotter</source>
<translation>About LogarithmPlotter</translation>
</message>
@ -186,6 +186,14 @@
<translation>Close</translation>
</message>
</context>
<context>
<name>BoolSetting</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/setting/general.mjs" line="23"/>
<source>Check for updates on startup</source>
<translation>Check for updates on startup</translation>
</message>
</context>
<context>
<name>Changelog</name>
<message>
@ -195,8 +203,8 @@
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/Changelog.qml" line="99"/>
<source>Done</source>
<translation>Done</translation>
<source>Close</source>
<translation>Close</translation>
</message>
</context>
<context>
@ -399,8 +407,8 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/GreetScreen.qml" line="224"/>
<source>Done</source>
<translation>Done</translation>
<source>Close</source>
<translation>Close</translation>
</message>
</context>
<context>
@ -437,14 +445,17 @@ 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="91"/>
<source>Objects</source>
<translation>Objects</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="97"/>
<source>Settings</source>
<translation>Settings</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="103"/>
<source>History</source>
<translation>History</translation>
</message>
@ -473,14 +484,17 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<translation>Loaded file &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="232"/>
<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="247"/>
<source>&amp;Update</source>
<translation>&amp;Update</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="249"/>
<source>&amp;Update LogarithmPlotter</source>
<translation>&amp;Update LogarithmPlotter</translation>
</message>
@ -599,100 +613,105 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>Settings</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="157"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="161"/>
<source>X Zoom</source>
<translation>X Zoom</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="172"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="176"/>
<source>Y Zoom</source>
<translation>Y Zoom</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="188"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="192"/>
<source>Min X</source>
<translation>Min X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="207"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="211"/>
<source>Max Y</source>
<translation>Max Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="222"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="226"/>
<source>Max X</source>
<translation>Max X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="241"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="245"/>
<source>Min Y</source>
<translation>Min Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="259"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="263"/>
<source>X Axis Step</source>
<translation>X Axis Step</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="274"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="278"/>
<source>Y Axis Step</source>
<translation>Y Axis Step</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="288"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="292"/>
<source>Line width</source>
<translation>Line width</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="303"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="307"/>
<source>Text size (px)</source>
<translation>Text size (px)</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="318"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="322"/>
<source>X Label</source>
<translation>X Label</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="344"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="348"/>
<source>Y Label</source>
<translation>Y Label</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="372"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="376"/>
<source>X Log scale</source>
<translation>X Log scale</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="382"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="386"/>
<source>Show X graduation</source>
<translation>Show X graduation</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="392"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="396"/>
<source>Show Y graduation</source>
<translation>Show Y graduation</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="403"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="407"/>
<source>Copy to clipboard</source>
<translation>Copy to clipboard</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="412"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="416"/>
<source>Save plot</source>
<translation>Save plot</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="421"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="425"/>
<source>Save plot as</source>
<translation>Save plot as</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="430"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="434"/>
<source>Load plot</source>
<translation>Open plot</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/Settings.qml" line="119"/>
<source>Close</source>
<translation>Close</translation>
</message>
</context>
<context>
<name>ThanksTo</name>
@ -790,12 +809,12 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>changelog</name>
<message>
<location filename="../util/helper.py" line="48"/>
<location filename="../util/helper.py" line="49"/>
<source>Could not fetch changelog: Server error {}.</source>
<translation>Could not fetch changelog: Server error {}.</translation>
</message>
<message>
<location filename="../util/helper.py" line="50"/>
<location filename="../util/helper.py" line="52"/>
<source>Could not fetch update: {}.</source>
<translation>Could not fetch changelog: {}.</translation>
</message>
@ -1075,6 +1094,22 @@ Evaluated expression: %3</translation>
<source>LogarithmPlotter - Drawing error</source>
<translation>LogarithmPlotter - Drawing error</translation>
</message>
<message>
<source>Automatically close parenthesises and brackets</source>
<translation type="obsolete">Automatically close parentheses and brackets</translation>
</message>
<message>
<source>Enable syntax highlighting</source>
<translation type="obsolete">Enable syntax highlighting</translation>
</message>
<message>
<source>Enable autocompletion</source>
<translation type="obsolete">Enable autocompletion</translation>
</message>
<message>
<source>Color Scheme</source>
<translation type="obsolete">Color Scheme</translation>
</message>
</context>
<context>
<name>function</name>
@ -1106,6 +1141,21 @@ Evaluated expression: %3</translation>
<translation>high-pass</translation>
</message>
</context>
<context>
<name>general</name>
<message>
<source>Check for updates on startup</source>
<translation type="obsolete">Check for updates on startup</translation>
</message>
<message>
<source>Reset redo stack automaticly</source>
<translation type="obsolete">Reset redo stack automatically</translation>
</message>
<message>
<source>Enable LaTeX rendering</source>
<translation type="obsolete">Enable LaTeX rendering</translation>
</message>
</context>
<context>
<name>historylib</name>
<message>
@ -1136,64 +1186,52 @@ Evaluated expression: %3</translation>
<context>
<name>io</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="89"/>
<source>Objects</source>
<translation type="unfinished">Objects</translation>
<translation>Objects</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="95"/>
<source>Settings</source>
<translation type="unfinished">Settings</translation>
<translation>Settings</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="101"/>
<source>History</source>
<translation type="unfinished">History</translation>
<translation>History</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="220"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation type="unfinished">Saved plot to &apos;%1&apos;.</translation>
<translation type="obsolete">Saved plot to &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="230"/>
<source>Loading file &apos;%1&apos;.</source>
<translation type="unfinished">Loading file &apos;%1&apos;.</translation>
<translation type="obsolete">Loading file &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="273"/>
<source>Unknown object type: %1.</source>
<translation type="unfinished">Unknown object type: %1.</translation>
<translation type="obsolete">Unknown object type: %1.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="296"/>
<source>Invalid file provided.</source>
<translation type="unfinished">Invalid file provided.</translation>
<translation type="obsolete">Invalid file provided.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="300"/>
<source>Could not save file: </source>
<translation type="unfinished">Could not save file: </translation>
<translation type="obsolete">Could not save file: </translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="305"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation type="unfinished">Loaded file &apos;%1&apos;.</translation>
<translation type="obsolete">Loaded file &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="354"/>
<source>Copied plot screenshot to clipboard!</source>
<translation type="unfinished">Copied plot screenshot to clipboard!</translation>
<translation>Copied plot screenshot to clipboard!</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="369"/>
<source>&amp;Update</source>
<translation type="unfinished">&amp;Update</translation>
<translation>&amp;Update</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="371"/>
<source>&amp;Update LogarithmPlotter</source>
<translation type="unfinished">&amp;Update LogarithmPlotter</translation>
<translation>&amp;Update LogarithmPlotter</translation>
</message>
</context>
<context>
@ -1226,7 +1264,7 @@ Process &apos;{}&apos; ended with a non-zero return code {}:
Please make sure your LaTeX installation is correct and report a bug if so.</translation>
</message>
<message>
<location filename="../util/latex.py" line="172"/>
<location filename="../util/latex.py" line="169"/>
<source>An exception occured within the creation of the latex formula.
Process &apos;{}&apos; took too long to finish:
{}
@ -1505,6 +1543,22 @@ Please make sure your LaTeX installation is correct and report a bug if so.</tra
<translation>Sequences</translation>
</message>
</context>
<context>
<name>settingCategory</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/Settings.qml" line="152"/>
<source>general</source>
<translation>General</translation>
</message>
<message>
<source>editor</source>
<translation>Expression Editor</translation>
</message>
<message>
<source>default</source>
<translation>Default Graph</translation>
</message>
</context>
<context>
<name>sommegainsbode</name>
<message>
@ -1533,22 +1587,22 @@ Please make sure your LaTeX installation is correct and report a bug if so.</tra
<context>
<name>update</name>
<message>
<location filename="../util/update.py" line="54"/>
<location filename="../util/update.py" line="56"/>
<source>An update for LogarithPlotter (v{}) is available.</source>
<translation>An update for LogarithmPlotter (v{}) is available.</translation>
</message>
<message>
<location filename="../util/update.py" line="58"/>
<location filename="../util/update.py" line="62"/>
<source>No update available.</source>
<translation>No update available.</translation>
</message>
<message>
<location filename="../util/update.py" line="61"/>
<location filename="../util/update.py" line="65"/>
<source>Could not fetch update information: Server error {}.</source>
<translation>Could not fetch update information: Server error {}.</translation>
</message>
<message>
<location filename="../util/update.py" line="63"/>
<location filename="../util/update.py" line="69"/>
<source>Could not fetch update information: {}.</source>
<translation>Could not fetch update information: {}.</translation>
</message>

File diff suppressed because it is too large Load diff

View file

@ -5,7 +5,7 @@
<name>About</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="31"/>
<location filename="../logarithmplotter.py" line="124"/>
<location filename="../logarithmplotter.py" line="123"/>
<source>About LogarithmPlotter</source>
<translation>À propos de LogarithmPlotter</translation>
</message>
@ -187,6 +187,14 @@
<translation>Fermer</translation>
</message>
</context>
<context>
<name>BoolSetting</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/setting/general.mjs" line="23"/>
<source>Check for updates on startup</source>
<translation>Vérifier la présence de mise à jour au démarrage</translation>
</message>
</context>
<context>
<name>Changelog</name>
<message>
@ -196,7 +204,7 @@
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/Changelog.qml" line="99"/>
<source>Done</source>
<source>Close</source>
<translation>Fermer</translation>
</message>
</context>
@ -391,7 +399,7 @@ Ces paramètres peuvent être modifiés à tout moment à partir du menu &quot;P
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/GreetScreen.qml" line="224"/>
<source>Done</source>
<source>Close</source>
<translation>Fermer</translation>
</message>
<message>
@ -445,14 +453,17 @@ 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="91"/>
<source>Objects</source>
<translation>Objets</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="97"/>
<source>Settings</source>
<translation>Paramètres</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="103"/>
<source>History</source>
<translation>Historique</translation>
</message>
@ -481,14 +492,17 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<translation>Fichier &apos;%1&apos; chargé.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="232"/>
<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="247"/>
<source>&amp;Update</source>
<translation>&amp;Mise à jour</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="249"/>
<source>&amp;Update LogarithmPlotter</source>
<translation>&amp;Mettre à jour LogarithmPlotter</translation>
</message>
@ -607,100 +621,105 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>Settings</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="157"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="161"/>
<source>X Zoom</source>
<translation>Zoom en X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="172"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="176"/>
<source>Y Zoom</source>
<translation>Zoom en Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="188"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="192"/>
<source>Min X</source>
<translation>Min X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="207"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="211"/>
<source>Max Y</source>
<translation>Max Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="222"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="226"/>
<source>Max X</source>
<translation>Max X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="241"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="245"/>
<source>Min Y</source>
<translation>Min Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="259"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="263"/>
<source>X Axis Step</source>
<translation>Pas de l&apos;axe X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="274"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="278"/>
<source>Y Axis Step</source>
<translation>Pas de l&apos;axe Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="288"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="292"/>
<source>Line width</source>
<translation>Taille des lignes</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="303"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="307"/>
<source>Text size (px)</source>
<translation>Taille du texte (px)</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="318"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="322"/>
<source>X Label</source>
<translation>Label de l&apos;axe X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="344"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="348"/>
<source>Y Label</source>
<translation>Label de l&apos;axe Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="372"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="376"/>
<source>X Log scale</source>
<translation>Échelle logarithmique en X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="382"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="386"/>
<source>Show X graduation</source>
<translation>Montrer la graduation de l&apos;axe X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="392"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="396"/>
<source>Show Y graduation</source>
<translation>Montrer la graduation de l&apos;axe Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="403"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="407"/>
<source>Copy to clipboard</source>
<translation>Copier vers le presse-papiers</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="412"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="416"/>
<source>Save plot</source>
<translation>Sauvegarder le graphe</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="421"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="425"/>
<source>Save plot as</source>
<translation>Sauvegarder le graphe sous</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="430"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="434"/>
<source>Load plot</source>
<translation>Ouvrir un graphe</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/Settings.qml" line="119"/>
<source>Close</source>
<translation>Fermer</translation>
</message>
</context>
<context>
<name>ThanksTo</name>
@ -798,12 +817,12 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>changelog</name>
<message>
<location filename="../util/helper.py" line="48"/>
<location filename="../util/helper.py" line="49"/>
<source>Could not fetch changelog: Server error {}.</source>
<translation>Impossible de récupérer l&apos;historique des modifications : Erreur de serveur {}.</translation>
</message>
<message>
<location filename="../util/helper.py" line="50"/>
<location filename="../util/helper.py" line="52"/>
<source>Could not fetch update: {}.</source>
<translation>Impossible de récupérer l&apos;historique des modifications : {}.</translation>
</message>
@ -1084,6 +1103,22 @@ Formule analysée : %3</translation>
<source>LogarithmPlotter - Drawing error</source>
<translation>LogarithmPlotter - Erreur</translation>
</message>
<message>
<source>Automatically close parenthesises and brackets</source>
<translation type="obsolete">Fermer automatiquement les parenthèses et les crochets</translation>
</message>
<message>
<source>Enable syntax highlighting</source>
<translation type="obsolete">Activer la coloration syntaxique</translation>
</message>
<message>
<source>Enable autocompletion</source>
<translation type="obsolete">Activer l&apos;autocomplétion</translation>
</message>
<message>
<source>Color Scheme</source>
<translation type="obsolete">Coloration Syntaxique</translation>
</message>
</context>
<context>
<name>function</name>
@ -1115,6 +1150,21 @@ Formule analysée : %3</translation>
<translation>passe-haut</translation>
</message>
</context>
<context>
<name>general</name>
<message>
<source>Check for updates on startup</source>
<translation type="obsolete">Vérifier la présence de mise à jour au démarrage</translation>
</message>
<message>
<source>Reset redo stack automaticly</source>
<translation type="obsolete">Réinitialiser la pile d&apos;action &quot;Rétablir&quot; automatiquement</translation>
</message>
<message>
<source>Enable LaTeX rendering</source>
<translation type="obsolete">Activer le rendu LaTeX</translation>
</message>
</context>
<context>
<name>historylib</name>
<message>
@ -1145,64 +1195,52 @@ Formule analysée : %3</translation>
<context>
<name>io</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="89"/>
<source>Objects</source>
<translation type="unfinished">Objets</translation>
<translation>Objets</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="95"/>
<source>Settings</source>
<translation type="unfinished">Paramètres</translation>
<translation>Paramètres</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="101"/>
<source>History</source>
<translation type="unfinished">Historique</translation>
<translation>Historique</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="220"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation type="unfinished">Graphe sauvegardé dans &apos;%1&apos;.</translation>
<translation type="obsolete">Graphe sauvegardé dans &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="230"/>
<source>Loading file &apos;%1&apos;.</source>
<translation type="unfinished">Chargement du fichier &apos;%1&apos;.</translation>
<translation type="obsolete">Chargement du fichier &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="273"/>
<source>Unknown object type: %1.</source>
<translation type="unfinished">Type d&apos;objet inconnu : %1.</translation>
<translation type="obsolete">Type d&apos;objet inconnu : %1.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="296"/>
<source>Invalid file provided.</source>
<translation type="unfinished">Fichier fourni invalide.</translation>
<translation type="obsolete">Fichier fourni invalide.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="300"/>
<source>Could not save file: </source>
<translation type="unfinished">Impossible de sauvegarder le fichier : </translation>
<translation type="obsolete">Impossible de sauvegarder le fichier : </translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="305"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation type="unfinished">Fichier &apos;%1&apos; chargé.</translation>
<translation type="obsolete">Fichier &apos;%1&apos; chargé.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="354"/>
<source>Copied plot screenshot to clipboard!</source>
<translation type="unfinished">Image du graphe copiée dans le presse-papiers !</translation>
<translation>Image du graphe copiée dans le presse-papiers !</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="369"/>
<source>&amp;Update</source>
<translation type="unfinished">&amp;Mise à jour</translation>
<translation>&amp;Mise à jour</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="371"/>
<source>&amp;Update LogarithmPlotter</source>
<translation type="unfinished">&amp;Mettre à jour LogarithmPlotter</translation>
<translation>&amp;Mettre à jour LogarithmPlotter</translation>
</message>
</context>
<context>
@ -1235,7 +1273,7 @@ Le processus &apos;{}&apos; s&apos;est terminé par un code de retour non nul {}
Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c&apos;est le cas.</translation>
</message>
<message>
<location filename="../util/latex.py" line="172"/>
<location filename="../util/latex.py" line="169"/>
<source>An exception occured within the creation of the latex formula.
Process &apos;{}&apos; took too long to finish:
{}
@ -1514,6 +1552,14 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c
<translation>Suites</translation>
</message>
</context>
<context>
<name>settingCategory</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/Settings.qml" line="152"/>
<source>general</source>
<translation></translation>
</message>
</context>
<context>
<name>sommegainsbode</name>
<message>
@ -1542,22 +1588,22 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c
<context>
<name>update</name>
<message>
<location filename="../util/update.py" line="54"/>
<location filename="../util/update.py" line="56"/>
<source>An update for LogarithPlotter (v{}) is available.</source>
<translation>Une mise à jour de LogarithmPlotter (v{}) est disponible.</translation>
</message>
<message>
<location filename="../util/update.py" line="58"/>
<location filename="../util/update.py" line="62"/>
<source>No update available.</source>
<translation>À jour.</translation>
</message>
<message>
<location filename="../util/update.py" line="61"/>
<location filename="../util/update.py" line="65"/>
<source>Could not fetch update information: Server error {}.</source>
<translation>Impossible de récupérer les informations de mise à jour. Erreur du serveur {}.</translation>
</message>
<message>
<location filename="../util/update.py" line="63"/>
<location filename="../util/update.py" line="69"/>
<source>Could not fetch update information: {}.</source>
<translation>Impossible de récupérer les informations de mise à jour. {}.</translation>
</message>

View file

@ -5,7 +5,7 @@
<name>About</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="31"/>
<location filename="../logarithmplotter.py" line="124"/>
<location filename="../logarithmplotter.py" line="123"/>
<source>About LogarithmPlotter</source>
<translation>LogarithmPlotter névjegye</translation>
</message>
@ -186,6 +186,14 @@
<translation>Bezárás</translation>
</message>
</context>
<context>
<name>BoolSetting</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/setting/general.mjs" line="23"/>
<source>Check for updates on startup</source>
<translation>Frissítések keresése indításkor</translation>
</message>
</context>
<context>
<name>Changelog</name>
<message>
@ -195,7 +203,7 @@
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/Changelog.qml" line="99"/>
<source>Done</source>
<source>Close</source>
<translation>Kész</translation>
</message>
</context>
@ -399,7 +407,7 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/GreetScreen.qml" line="224"/>
<source>Done</source>
<source>Close</source>
<translation>Kész</translation>
</message>
</context>
@ -437,14 +445,17 @@ 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="91"/>
<source>Objects</source>
<translation>Tárgyak</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="97"/>
<source>Settings</source>
<translation>Beállítások</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="103"/>
<source>History</source>
<translation>Előzmények</translation>
</message>
@ -473,14 +484,17 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<translation>A(z) %1 fájl betöltve.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="232"/>
<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="247"/>
<source>&amp;Update</source>
<translation>&amp;Frissítés</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="249"/>
<source>&amp;Update LogarithmPlotter</source>
<translation>A LogarithmPlotter &amp;frissítése</translation>
</message>
@ -599,100 +613,105 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<context>
<name>Settings</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="157"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="161"/>
<source>X Zoom</source>
<translation>X-nagyítás</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="172"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="176"/>
<source>Y Zoom</source>
<translation>Y-nagyítás</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="188"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="192"/>
<source>Min X</source>
<translation>Legkisebb X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="207"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="211"/>
<source>Max Y</source>
<translation>Legnagyobb Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="222"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="226"/>
<source>Max X</source>
<translation>Legnagyobb X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="241"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="245"/>
<source>Min Y</source>
<translation>Legkisebb Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="259"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="263"/>
<source>X Axis Step</source>
<translation>X tengely lépésköze</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="274"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="278"/>
<source>Y Axis Step</source>
<translation>Y tengely lépésköze</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="288"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="292"/>
<source>Line width</source>
<translation>Vonalvastagság</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="303"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="307"/>
<source>Text size (px)</source>
<translation>Szövegméret (képpont)</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="318"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="322"/>
<source>X Label</source>
<translation>X címke</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="344"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="348"/>
<source>Y Label</source>
<translation>Y címke</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="372"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="376"/>
<source>X Log scale</source>
<translation>X tengely logaritmikus skálával</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="382"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="386"/>
<source>Show X graduation</source>
<translation>X érettségi megjelenítése</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="392"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="396"/>
<source>Show Y graduation</source>
<translation>Y érettségi megjelenítése</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="403"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="407"/>
<source>Copy to clipboard</source>
<translation>Másolás a vágólapra</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="412"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="416"/>
<source>Save plot</source>
<translation>Ábra mentése</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="421"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="425"/>
<source>Save plot as</source>
<translation>Ábra mentése másként</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="430"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="434"/>
<source>Load plot</source>
<translation>Ábra betöltése</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/Settings.qml" line="119"/>
<source>Close</source>
<translation>Kész</translation>
</message>
</context>
<context>
<name>ThanksTo</name>
@ -790,12 +809,12 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<context>
<name>changelog</name>
<message>
<location filename="../util/helper.py" line="48"/>
<location filename="../util/helper.py" line="49"/>
<source>Could not fetch changelog: Server error {}.</source>
<translation>Nem sikerült lekérni a változásnaplót: Kiszolgálóhiba: {}.</translation>
</message>
<message>
<location filename="../util/helper.py" line="50"/>
<location filename="../util/helper.py" line="52"/>
<source>Could not fetch update: {}.</source>
<translation>Nem sikerült lekérni a változásnaplót: {}.</translation>
</message>
@ -1075,6 +1094,22 @@ Kiértékelt kifejezés: %3</translation>
<source>LogarithmPlotter - Drawing error</source>
<translation>LogarithmPlotter - Rajzolási hiba</translation>
</message>
<message>
<source>Automatically close parenthesises and brackets</source>
<translation type="obsolete">Zárójelek automatikus bezárása</translation>
</message>
<message>
<source>Enable syntax highlighting</source>
<translation type="obsolete">Mondattani kiemelés engedélyezése</translation>
</message>
<message>
<source>Enable autocompletion</source>
<translation type="obsolete">Automatikus befejezés engedélyezése</translation>
</message>
<message>
<source>Color Scheme</source>
<translation type="obsolete">Színséma</translation>
</message>
</context>
<context>
<name>function</name>
@ -1106,6 +1141,21 @@ Kiértékelt kifejezés: %3</translation>
<translation>felüláteresztő</translation>
</message>
</context>
<context>
<name>general</name>
<message>
<source>Check for updates on startup</source>
<translation type="obsolete">Frissítések keresése indításkor</translation>
</message>
<message>
<source>Reset redo stack automaticly</source>
<translation type="obsolete">Ismétlési verem önműködő visszaállítása</translation>
</message>
<message>
<source>Enable LaTeX rendering</source>
<translation type="obsolete">LaTeX-megjelenítés engedélyezése</translation>
</message>
</context>
<context>
<name>historylib</name>
<message>
@ -1132,64 +1182,48 @@ Kiértékelt kifejezés: %3</translation>
<context>
<name>io</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="89"/>
<source>Objects</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="95"/>
<source>Settings</source>
<translation type="unfinished">Beállítások</translation>
<translation>Beállítások</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="101"/>
<source>History</source>
<translation type="unfinished">Előzmények</translation>
<translation>Előzmények</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="220"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation type="unfinished">Ábra mentve ide: %1.</translation>
<translation type="obsolete">Ábra mentve ide: %1.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="230"/>
<source>Loading file &apos;%1&apos;.</source>
<translation type="unfinished">A(z) %1 fájl betöltése folyamatban van.</translation>
<translation type="obsolete">A(z) %1 fájl betöltése folyamatban van.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="273"/>
<source>Unknown object type: %1.</source>
<translation type="unfinished">Ismeretlen objektumtípus: %1.</translation>
<translation type="obsolete">Ismeretlen objektumtípus: %1.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="296"/>
<source>Invalid file provided.</source>
<translation type="unfinished">A megadott fájl érvénytelen.</translation>
<translation type="obsolete">A megadott fájl érvénytelen.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="300"/>
<source>Could not save file: </source>
<translation type="unfinished">A fájl mentése nem sikerült: </translation>
<translation type="obsolete">A fájl mentése nem sikerült: </translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="305"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation type="unfinished">A(z) %1 fájl betöltve.</translation>
<translation type="obsolete">A(z) %1 fájl betöltve.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="354"/>
<source>Copied plot screenshot to clipboard!</source>
<translation type="unfinished">Ábra képernyőkép vágólapra másolva!</translation>
<translation>Ábra képernyőkép vágólapra másolva!</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="369"/>
<source>&amp;Update</source>
<translation type="unfinished">&amp;Frissítés</translation>
<translation>&amp;Frissítés</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml" line="371"/>
<source>&amp;Update LogarithmPlotter</source>
<translation type="unfinished">A LogarithmPlotter &amp;frissítése</translation>
<translation>A LogarithmPlotter &amp;frissítése</translation>
</message>
</context>
<context>
@ -1222,7 +1256,7 @@ A(z) „{}” folyamat nullától eltérő visszatérési kóddal ({}) végződ
Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelentse a hibát.</translation>
</message>
<message>
<location filename="../util/latex.py" line="172"/>
<location filename="../util/latex.py" line="169"/>
<source>An exception occured within the creation of the latex formula.
Process &apos;{}&apos; took too long to finish:
{}
@ -1497,6 +1531,14 @@ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelents
<translation>Sorozatok</translation>
</message>
</context>
<context>
<name>settingCategory</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/Settings.qml" line="152"/>
<source>general</source>
<translation></translation>
</message>
</context>
<context>
<name>sommegainsbode</name>
<message>
@ -1525,22 +1567,22 @@ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelents
<context>
<name>update</name>
<message>
<location filename="../util/update.py" line="54"/>
<location filename="../util/update.py" line="56"/>
<source>An update for LogarithPlotter (v{}) is available.</source>
<translation>Elérhető a Logaritmus-ábrázoló ({} verzió) frissítése.</translation>
</message>
<message>
<location filename="../util/update.py" line="58"/>
<location filename="../util/update.py" line="62"/>
<source>No update available.</source>
<translation>Nincs telepíthető frissítés.</translation>
</message>
<message>
<location filename="../util/update.py" line="61"/>
<location filename="../util/update.py" line="65"/>
<source>Could not fetch update information: Server error {}.</source>
<translation>Nem sikerült lekérni a frissítési adatokat: Kiszolgálóhiba: {}.</translation>
</message>
<message>
<location filename="../util/update.py" line="63"/>
<location filename="../util/update.py" line="69"/>
<source>Could not fetch update information: {}.</source>
<translation>Nem sikerült lekérni a frissítési adatokat: {}.</translation>
</message>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -90,13 +90,19 @@ MenuBar {
icon.color: enabled ? sysPalette.windowText : sysPaletteIn.windowText
enabled: history.redoCount > 0
}
MenuSeparator { }
Action {
text: qsTr("&Copy plot")
shortcut: StandardKey.Copy
onTriggered: root.copyDiagramToClipboard()
icon.name: 'edit-copy'
}
MenuSeparator { }
Action {
text: qsTr("&Preferences")
shortcut: StandardKey.Copy
onTriggered: preferences.open()
icon.name: 'settings'
}
}
Menu {
@ -121,105 +127,6 @@ MenuBar {
}
}
Menu {
id: settingsSubMenu
title: qsTr("&Settings")
Action {
id: checkForUpdatesMenuSetting
text: qsTr("Check for updates on startup")
checkable: true
checked: Helper.getSettingBool("check_for_updates")
onTriggered: Helper.setSettingBool("check_for_updates", checked)
icon.name: 'update'
icon.color: sysPalette.buttonText
}
Action {
id: resetRedoStackMenuSetting
text: qsTr("Reset redo stack automaticly")
checkable: true
checked: Helper.getSettingBool("reset_redo_stack")
onTriggered: Helper.setSettingBool("reset_redo_stack", checked)
icon.name: 'timeline'
icon.color: sysPalette.buttonText
}
Action {
id: enableLatexJSSetting
text: qsTr("Enable LaTeX rendering")
checkable: true
checked: Helper.getSettingBool("enable_latex")
onTriggered: {
Helper.setSettingBool("enable_latex", checked)
Modules.Latex.enabled = checked
drawCanvas.requestPaint()
}
icon.name: 'Expression'
icon.color: sysPalette.buttonText
}
Menu {
title: qsTr("Expression editor")
Action {
id: autocloseFormulaSetting
text: qsTr("Automatically close parenthesises and brackets")
checkable: true
checked: Helper.getSettingBool("expression_editor.autoclose")
onTriggered: {
Helper.setSettingBool("expression_editor.autoclose", checked)
}
icon.name: 'Text'
icon.color: sysPalette.buttonText
}
Action {
id: colorizeFormulaSetting
text: qsTr("Enable syntax highlighting")
checkable: true
checked: Helper.getSettingBool("expression_editor.colorize")
onTriggered: {
Helper.setSettingBool("expression_editor.colorize", checked)
}
icon.name: 'appearance'
icon.color: sysPalette.buttonText
}
Action {
id: autocompleteFormulaSetting
text: qsTr("Enable autocompletion")
checkable: true
checked: Helper.getSettingBool("autocompletion.enabled")
onTriggered: {
Helper.setSettingBool("autocompletion.enabled", checked)
}
icon.name: 'label'
icon.color: sysPalette.buttonText
}
Menu {
id: colorSchemeSetting
title: qsTr("Color Scheme")
property var schemes: ["Breeze Light", "Breeze Dark", "Solarized", "Github Light", "Github Dark", "Nord", "Monokai"]
Repeater {
model: colorSchemeSetting.schemes
MenuItem {
text: modelData
checkable: true
checked: Helper.getSettingInt("expression_editor.color_scheme") == index
onTriggered: {
parent.children[Helper.getSettingInt("expression_editor.color_scheme")].checked = false
checked = true
Helper.setSettingInt("expression_editor.color_scheme", index)
}
}
}
}
}
}
Menu {
title: qsTr("&Help")
Action {

View file

@ -55,6 +55,8 @@ ApplicationWindow {
Popup.GreetScreen {}
Popup.Preferences {id: preferences}
Popup.Changelog {id: changelog}
Popup.About {id: about}
@ -86,19 +88,19 @@ ApplicationWindow {
width: parent.width
anchors.top: parent.top
TabButton {
text: qsTranslate('io', "Objects")
text: qsTr("Objects")
icon.name: 'polygon-add-nodes'
icon.color: sysPalette.windowText
//height: 24
}
TabButton {
text: qsTranslate('io', "Settings")
text: qsTr("Settings")
icon.name: 'preferences-system-symbolic'
icon.color: sysPalette.windowText
//height: 24
}
TabButton {
text: qsTranslate('io', "History")
text: qsTr("History")
icon.name: 'view-history'
icon.color: sysPalette.windowText
//height: 24
@ -227,7 +229,7 @@ ApplicationWindow {
var file = Helper.gettmpfile()
drawCanvas.save(file)
Helper.copyImageToClipboard()
alert.show(qsTranslate('io', "Copied plot screenshot to clipboard!"))
alert.show(qsTr("Copied plot screenshot to clipboard!"))
}
/*!
@ -242,9 +244,9 @@ ApplicationWindow {
Menu {
id: updateMenu
title: qsTranslate('io', "&Update")
title: qsTr("&Update")
Action {
text: qsTranslate('io', "&Update LogarithmPlotter")
text: qsTr("&Update LogarithmPlotter")
icon.name: 'update'
onTriggered: Qt.openUrlExternally("https://apps.ad5001.eu/logarithmplotter/")
}

View file

@ -96,7 +96,7 @@ Popup {
Button {
id: doneBtn
text: qsTr("Done")
text: qsTr("Close")
font.pixelSize: 18
anchors.bottom: parent.bottom
anchors.bottomMargin: 7

View file

@ -18,6 +18,7 @@
import QtQuick
import QtQuick.Controls
import eu.ad5001.LogarithmPlotter.Setting 1.0 as Setting
/*!
\qmltype GreetScreen
@ -32,202 +33,122 @@ Popup {
id: greetingPopup
x: (parent.width-width)/2
y: Math.max(20, (parent.height-height)/2)
width: Math.max(welcome.width+70, checkForUpdatesSetting.width, resetRedoStackSetting.width)+20
width: greetingLayout.width+20
height: Math.min(parent.height-40, 700)
modal: true
focus: true
clip: true
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
ScrollView {
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.bottomMargin: bottomButtons.height + 20
clip: true
Column {
width: greetingPopup.width - 25
spacing: 10
clip: true
topPadding: 35
Row {
id: welcome
height: logo.height
spacing: 10
anchors.horizontalCenter: parent.horizontalCenter
Image {
id: logo
source: "../icons/logarithmplotter.svg"
sourceSize.width: 48
sourceSize.height: 48
width: 48
height: 48
}
Label {
id: welcomeText
anchors.verticalCenter: parent.verticalCenter
wrapMode: Text.WordWrap
font.pixelSize: 32
text: qsTr("Welcome to LogarithmPlotter")
}
}
Label {
id: versionText
anchors.horizontalCenter: parent.horizontalCenter
wrapMode: Text.WordWrap
width: implicitWidth
font.pixelSize: 18
font.italic: true
text: qsTr("Version %1").arg(Helper.getVersion())
}
Label {
id: helpText
anchors.horizontalCenter: parent.horizontalCenter
wrapMode: Text.WordWrap
font.pixelSize: 14
width: parent.width - 50
text: qsTr("Take a few seconds to configure LogarithmPlotter.\nThese settings can be changed at any time from the \"Settings\" menu.")
}
CheckBox {
id: checkForUpdatesSetting
anchors.left: parent.left
checked: Helper.getSettingBool("check_for_updates")
text: qsTr('Check for updates on startup (requires online connectivity)')
onClicked: {
Helper.setSettingBool("check_for_updates", checked)
// Set in the menu bar
appMenu.settingsMenu.children[0].checked = checked
}
}
CheckBox {
id: resetRedoStackSetting
anchors.left: parent.left
checked: Helper.getSettingBool("reset_redo_stack")
text: qsTr('Reset redo stack when a new action is added to history')
onClicked: {
Helper.setSettingBool("reset_redo_stack", checked)
appMenu.settingsMenu.children[1].checked = checked
}
}
CheckBox {
id: enableLatexSetting
anchors.left: parent.left
checked: Helper.getSettingBool("enable_latex")
text: qsTr('Enable LaTeX rendering')
onClicked: {
Helper.setSettingBool("enable_latex", checked)
appMenu.settingsMenu.children[2].checked = checked
}
}
CheckBox {
id: autocloseFormulaSetting
anchors.left: parent.left
checked: Helper.getSettingBool("expression_editor.autoclose")
text: qsTr('Automatically close parenthesises and brackets in expressions')
onClicked: {
Helper.setSettingBool("expression_editor.autoclose", checked)
appMenu.settingsMenu.children[3].children[0].checked = checked
}
}
CheckBox {
id: colorizeFormulaSetting
anchors.left: parent.left
checked: Helper.getSettingBool("expression_editor.colorize")
text: qsTr('Enable syntax highlighting for expressions')
onClicked: {
Helper.setSettingBool("expression_editor.colorize", checked)
appMenu.settingsMenu.children[3].children[1].checked = checked
}
}
CheckBox {
id: autocompleteFormulaSetting
anchors.left: parent.left
checked: Helper.getSettingBool("autocompletion.enabled")
text: qsTr('Enable autocompletion interface in expression editor')
onClicked: {
Helper.setSettingBool("autocompletion.enabled", checked)
appMenu.settingsMenu.children[3].children[2].checked = checked
}
}
Row {
anchors.left: parent.left
anchors.leftMargin: 10
spacing: 10
Label {
id: colorSchemeLabel
anchors.verticalCenter: parent.verticalCenter
wrapMode: Text.WordWrap
text: qsTr("Color scheme:")
}
ComboBox {
model: ["Breeze Light", "Breeze Dark", "Solarized", "Github Light", "Github Dark", "Nord", "Monokai"]
currentIndex: Helper.getSettingInt("expression_editor.color_scheme")
onActivated: function(index) {
Helper.setSettingInt("expression_editor.color_scheme", index)
}
}
}
}
}
Rectangle {
id: bottomSeparator
opacity: 0.3
color: sysPalette.windowText
width: parent.width * 2 / 3
height: 1
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: bottomButtons.top
anchors.bottomMargin: 9
}
Row {
id: bottomButtons
anchors.bottom: parent.bottom
anchors.bottomMargin: 7
Column {
id: greetingLayout
width: 600
spacing: 10
anchors.horizontalCenter: parent.horizontalCenter
clip: true
topPadding: 35
Button {
id: userManualBtn
text: qsTr("User manual")
font.pixelSize: 18
onClicked: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter/wiki/_Sidebar")
Row {
id: welcome
height: logo.height
spacing: 10
anchors.horizontalCenter: parent.horizontalCenter
Image {
id: logo
source: "../icons/logarithmplotter.svg"
sourceSize.width: 48
sourceSize.height: 48
width: 48
height: 48
}
Label {
id: welcomeText
anchors.verticalCenter: parent.verticalCenter
wrapMode: Text.WordWrap
font.pixelSize: 32
text: qsTr("Welcome to LogarithmPlotter")
}
}
Button {
id: changelogBtn
text: qsTr("Changelog")
Label {
id: versionText
anchors.horizontalCenter: parent.horizontalCenter
wrapMode: Text.WordWrap
width: implicitWidth
font.pixelSize: 18
onClicked: changelog.open()
}
Button {
id: doneBtn
text: qsTr("Done")
font.pixelSize: 18
onClicked: greetingPopup.close()
font.italic: true
text: qsTr("Version %1").arg(Helper.getVersion())
}
}
Component.onCompleted: if(Helper.getSetting("last_install_greet") != Helper.getVersion()) {
Grid {
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: greetingLayout.bottom
anchors.topMargin: 50
columns: 2
spacing: 10
Repeater {
model: [{
name: qsTr("Changelog"),
icon: 'common/new.svg',
onClicked: () => changelog.open()
},{
name: qsTr("Preferences"),
icon: 'common/settings.svg',
onClicked: () => preferences.open()
},{
name: qsTr("User manual"),
icon: 'common/manual.svg',
onClicked: () => Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter/wiki/_Sidebar")
},{
name: qsTr("Close"),
icon: 'common/close.svg',
onClicked: () => greetingPopup.close()
}]
Button {
id: createBtn
width: 96
height: 96
onClicked: modelData.onClicked()
Setting.Icon {
id: icon
width: 24
height: 24
anchors {
left: parent.left
leftMargin: (parent.width-width)/2
top: parent.top
topMargin: (label.y-height)/2
}
color: sysPalette.windowText
source: '../icons/' + modelData.icon
}
Label {
id: label
anchors {
bottom: parent.bottom
bottomMargin: 5
left: parent.left
leftMargin: 4
right: parent.right
rightMargin: 4
}
horizontalAlignment: Text.AlignHCenter
font.pixelSize: 14
text: modelData.name
wrapMode: Text.WordWrap
clip: true
}
}
}
}
Component.onCompleted: if(Helper.getSetting("last_install_greet") != Helper.getVersion()+1) {
greetingPopup.open()
}

View file

@ -0,0 +1,187 @@
/**
* LogarithmPlotter - 2D plotter software to make BODE plots, sequences and distribution functions.
* Copyright (C) 2021-2024 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/>.
*/
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import eu.ad5001.LogarithmPlotter.Setting 1.0 as Setting
import "../js/setting/common.mjs" as S
/*!
\qmltype Preferences
\inqmlmodule eu.ad5001.LogarithmPlotter.Popup
\brief Popup to change global application preferences.
\sa LogarithmPlotter, GreetScreen
*/
Popup {
id: preferencesPopup
x: (parent.width-width)/2
y: Math.max(20, (parent.height-height)/2)
width: settingPopupRow.width + 30
height: settingPopupRow.height + 20
modal: true
focus: true
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
// Components for the preferences
Component {
id: boolSettingComponent
CheckBox {
height: 20
text: setting.displayName
checked: setting.value()
onClicked: setting.set(this.checked)
}
}
Component {
id: enumIntSettingComponent
// Setting when selecting data from an enum, or an object of a certain type.
Setting.ComboBoxSetting {
height: 30
label: setting.displayName
icon: `settings/${setting.icon}.svg`
currentIndex: setting.value()
model: setting.values()
onActivated: function(newIndex) { setting.set(newIndex) }
}
}
Row {
id: settingPopupRow
height: 300
width: categories.width + categorySeparator.width + settingView.width + 70
spacing: 15
anchors {
top: parent.top
bottom: parent.bottom
left: parent.left
right: parent.right
topMargin: 10
bottomMargin: 10
rightMargin: 15
leftMargin: 15
}
ColumnLayout {
id: categories
width: 150
height: parent.height
spacing: 0
clip: true
Repeater {
model: Object.keys(Modules.Settings.categories)
Button {
// width: 150
Layout.fillWidth: true
text: qsTranslate('settingCategory', modelData)
onClicked: {
settingList.model = Modules.Settings.categories[modelData]
settingCategoryName.text = text
}
}
}
Item {
Layout.fillHeight: true
Layout.fillWidth: true
Button {
id: closeButton
anchors {
left: parent.left
right: parent.right
bottom: parent.bottom
}
text: qsTr('Close')
onClicked: preferencesPopup.close()
}
}
}
Rectangle {
id: categorySeparator
anchors {
top: parent.top
topMargin: 5
}
opacity: 0.3
color: sysPalette.windowText
height: parent.height - 10
width: 1
}
ScrollView {
id: settingView
clip: true
width: 500
height: parent.height
Column {
spacing: 10
clip: true
width: settingView.width
Text {
id: settingCategoryName
font.pixelSize: 32
color: sysPalette.windowText
text: qsTranslate('settingCategory', 'general')
Rectangle {
id: bottomSeparator
anchors.top: parent.bottom
opacity: 0.3
color: sysPalette.windowText
width: settingView.width
height: 1
}
}
Repeater {
id: settingList
model: Modules.Settings.categories.general
delegate: Component {
Loader {
width: settingView.width
property var setting: modelData
sourceComponent: {
if(setting instanceof S.BoolSetting)
return boolSettingComponent
else if(setting instanceof S.EnumIntSetting)
return enumIntSettingComponent
else
console.log('Unknown setting type!', modelData.constructor)
}
}
}
}
}
}
}
// Component.onCompleted: open()
}

View file

@ -8,3 +8,4 @@ GreetScreen 1.0 GreetScreen.qml
Changelog 1.0 Changelog.qml
ThanksTo 1.0 ThanksTo.qml
InsertCharacter 1.0 InsertCharacter.qml
Preferences 1.0 Preferences.qml

View file

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="24"
height="24"
version="1.1"
id="svg6"
sodipodi:docname="remove.svg"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs10" />
<sodipodi:namedview
id="namedview8"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="true"
inkscape:zoom="34.458333"
inkscape:cx="12"
inkscape:cy="10.505441"
inkscape:window-width="1920"
inkscape:window-height="1007"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg6">
<inkscape:grid
type="xygrid"
id="grid822" />
</sodipodi:namedview>
<path
id="rect2"
style="fill-rule:evenodd;stroke-width:3.16228"
transform="rotate(135)"
d="M -1.4142136,-26.870058 H 1.4142136 V -7.0710678 H -1.4142136 Z"
sodipodi:nodetypes="ccccc" />
<path
style="fill:#000000;fill-rule:evenodd;stroke-width:3.16228"
d="M 20,6 6,20 4,18 18,4 Z"
id="path4"
sodipodi:nodetypes="ccccc" />
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -0,0 +1 @@
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd"><path d="M14 0v10l2-1.518 2 1.518v-10h4v24h-17c-1.657 0-3-1.343-3-3v-18c0-1.657 1.343-3 3-3h9zm6 20h-14.505c-1.375 0-1.375 2 0 2h14.505v-2z"/></svg>

After

Width:  |  Height:  |  Size: 251 B

View file

@ -0,0 +1 @@
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd"><path d="M12 0l-2.138 2.63-3.068-1.441-.787 3.297-3.389.032.722 3.312-3.039 1.5 2.088 2.671-2.088 2.67 3.039 1.499-.722 3.312 3.389.033.787 3.296 3.068-1.441 2.138 2.63 2.139-2.63 3.068 1.441.786-3.296 3.39-.033-.722-3.312 3.038-1.499-2.087-2.67 2.087-2.671-3.038-1.5.722-3.312-3.39-.032-.786-3.297-3.068 1.441-2.139-2.63zm0 15.5c.69 0 1.25.56 1.25 1.25s-.56 1.25-1.25 1.25-1.25-.56-1.25-1.25.56-1.25 1.25-1.25zm1-1.038v-7.462h-2v7.462h2z"/></svg>

After

Width:  |  Height:  |  Size: 550 B

View file

@ -1,48 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="24"
height="24"
version="1.1"
id="svg6"
sodipodi:docname="remove.svg"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs10" />
<sodipodi:namedview
id="namedview8"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="true"
inkscape:zoom="34.458333"
inkscape:cx="12"
inkscape:cy="10.505441"
inkscape:window-width="1920"
inkscape:window-height="1007"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg6">
<inkscape:grid
type="xygrid"
id="grid822" />
</sodipodi:namedview>
<path
id="rect2"
style="fill-rule:evenodd;stroke-width:3.16228"
transform="rotate(135)"
d="M -1.4142136,-26.870058 H 1.4142136 V -7.0710678 H -1.4142136 Z"
sodipodi:nodetypes="ccccc" />
<path
style="fill:#000000;fill-rule:evenodd;stroke-width:3.16228"
d="M 20,6 6,20 4,18 18,4 Z"
id="path4"
sodipodi:nodetypes="ccccc" />
</svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 19 B

View file

@ -0,0 +1 @@
../common/close.svg

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 19 B

View file

@ -0,0 +1 @@
../common/appearance.svg

View file

@ -7,3 +7,4 @@
.import "history/common.mjs" as HistoryCommon
.import "canvas.mjs" as CanvasAPI
.import "io.mjs" as IOAPI
.import "settings.mjs" as SettingsAPI

View file

@ -144,6 +144,10 @@ class CanvasAPI extends Module {
// Methods to draw the canvas
//
requestPaint() {
this._canvas.requestPaint()
}
/**
* Redraws the entire canvas
*/

View file

@ -0,0 +1,67 @@
/**
* LogarithmPlotter - 2D plotter software to make BODE plots, sequences and distribution functions.
* Copyright (C) 2021-2024 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/>.
*/
class Setting {
constructor(name, nameInConfig, icon) {
this.name = name
this.displayName = qsTr(name)
this.nameInConfig = nameInConfig
this.icon = icon
}
/**
* Returns the value of the setting.
* @returns {string|boolean|number}
*/
value() {
throw new TypeError(`value of ${this.constructor} not implemented.`)
}
/**
* Sets the value of the setting
* @param {string|boolean|number} value
*/
set(value) {
throw new TypeError(`value of ${this.constructor} not implemented.`)
}
}
export class BoolSetting extends Setting {
value() {
return Helper.getSettingBool(this.nameInConfig)
}
set(value) {
Helper.setSettingBool(this.nameInConfig, value)
}
}
export class IntSetting extends Setting {
value() {
return Helper.getSettingInt(this.nameInConfig)
}
set(value) {
Helper.setSettingInt(this.nameInConfig, value)
}
}
export class EnumIntSetting extends IntSetting {
values() {
throw new TypeError(`enumerations of ${this.constructor} not implemented.`)
}
}

View file

@ -0,0 +1,54 @@
/**
* LogarithmPlotter - 2D plotter software to make BODE plots, sequences and distribution functions.
* Copyright (C) 2021-2024 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/>.
*/
import {BoolSetting, EnumIntSetting} from "common.mjs"
class AutocloseFormula extends BoolSetting {
constructor() {
super(qsTr("Automatically close parenthesises and brackets"), 'expression_editor.autoclose', 'Text')
}
}
class EnableSyntaxHighlighting extends BoolSetting {
constructor() {
super(qsTr("Enable syntax highlighting"), 'expression_editor.colorize', 'appearance')
}
}
class EnableAutocomplete extends BoolSetting {
constructor() {
super(qsTr("Enable autocompletion"), 'autocompletion.enabled', 'label')
}
}
class PickColorScheme extends EnumIntSetting {
constructor() {
super(qsTr("Color Scheme"), 'expression_editor.color_scheme', 'color')
}
values() {
return ["Breeze Light", "Breeze Dark", "Solarized", "Github Light", "Github Dark", "Nord", "Monokai"]
}
}
export default [
new AutocloseFormula(),
new EnableAutocomplete(),
new EnableSyntaxHighlighting(),
new PickColorScheme()
]

View file

@ -0,0 +1,49 @@
/**
* LogarithmPlotter - 2D plotter software to make BODE plots, sequences and distribution functions.
* Copyright (C) 2021-2024 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/>.
*/
import {BoolSetting} from "common.mjs"
class CheckForUpdates extends BoolSetting {
constructor() {
super(QT_TR_NOOP("Check for updates on startup"), 'check_for_updates', 'update')
}
}
class ResetRedoStack extends BoolSetting {
constructor() {
super(qsTr("Reset redo stack automaticly"), 'reset_redo_stack', 'timeline')
}
}
class EnableLatex extends BoolSetting {
constructor() {
super(qsTr("Enable LaTeX rendering"), 'enable_latex', 'Expression')
}
set(value) {
super.set(value)
Modules.Latex.enabled = value
Modules.Canvas.requestPaint()
}
}
export default [
new CheckForUpdates(),
new ResetRedoStack(),
new EnableLatex()
]

View file

@ -0,0 +1,39 @@
/**
* LogarithmPlotter - 2D plotter software to make BODE plots, sequences and distribution functions.
* Copyright (C) 2021-2024 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/>.
*/
import {Module} from "modules.mjs"
import General from "setting/general.mjs"
import Editor from "setting/expression.mjs"
class SettingsAPI extends Module {
constructor() {
super('Settings', [
Modules.Canvas,
Modules.Latex
])
this.categories = {
[QT_TRANSLATE_NOOP('settingCategory', 'general')]: General,
[QT_TRANSLATE_NOOP('settingCategory', 'editor')]: Editor,
[QT_TRANSLATE_NOOP('settingCategory', 'default')]: [],
}
}
}
/** @type {CanvasAPI} */
Modules.Settings = Modules.Settings || new SettingsAPI()
export const API = Modules.Settings