New preferences panel.

This commit is contained in:
Ad5001 2024-04-02 22:11:54 +02:00
parent 781a0f4aae
commit 665906ecb3
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
18 changed files with 1504 additions and 882 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>
@ -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>Done</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>
@ -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>Done</source>
<translation>Done</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>
@ -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>Done</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>
@ -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>Done</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 {

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

@ -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('Done')
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 @@
../common/appearance.svg

View file

@ -6,4 +6,5 @@
.import "math/latex.mjs" as Latex
.import "history/common.mjs" as HistoryCommon
.import "canvas.mjs" as CanvasAPI
.import "io.mjs" as IOAPI
.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