Compare commits

..

No commits in common. "650e43894cccba6ccd5edb16c46034cd0442e43b" and "c4ffcdaa3503e31b47c85ecdc2a9ddeb93fe7315" have entirely different histories.

15 changed files with 458 additions and 503 deletions

View file

@ -5,7 +5,7 @@
<name>About</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="32"/>
<location filename="../logarithmplotter.py" line="117"/>
<location filename="../logarithmplotter.py" line="112"/>
<source>About LogarithmPlotter</source>
<translation>Über LogarithmPlotter</translation>
</message>
@ -279,7 +279,7 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>ListSetting</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="233"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="215"/>
<source>+ Add Entry</source>
<translation>+ Neuer Eintrag</translation>
</message>
@ -507,12 +507,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="../helper.py" line="48"/>
<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="../helper.py" line="50"/>
<source>Could not fetch update: {}.</source>
<translation>Changelog konnte nicht geholt werden: {}.</translation>
</message>
@ -529,17 +529,17 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>comment</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="48"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="47"/>
<source>Ex: R+* (*), N (), Z-* (*), ]0;1[, {3;4;5}</source>
<translation>Beispiel: R+* (*), N (), Z-* (-*), ]0;1[, {3;4;5}</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="55"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="54"/>
<source>The following parameters are used when the definition domain is a non-continuous set. (Ex: , , sets like {0;3}...)</source>
<translation>Die folgenden Parameter werden verwendet, wenn der Definitionsbereich eine nicht kontinuierliche Menge ist. (Beispiel: , , Mengen wie {0;3}...)</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="39"/>
<source>Note: Specify the probability for each value.</source>
<translation>Hinweis: Geben Sie die Wahrscheinlichkeit für jeden Wert an.</translation>
</message>
@ -554,7 +554,7 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="87"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ComboBoxSetting.qml" line="119"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="116"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="98"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/TextSetting.qml" line="100"/>
<source>%1: </source>
<translation>%1: </translation>
@ -594,12 +594,12 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>function</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="29"/>
<source>Function</source>
<translation>Funktion</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="31"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="30"/>
<source>Functions</source>
<translation>Funktionen</translation>
</message>
@ -794,12 +794,12 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>point</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="29"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="28"/>
<source>Point</source>
<translation>Punkt</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="29"/>
<source>Points</source>
<translation>Punkte</translation>
</message>
@ -807,26 +807,26 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>prop</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="44"/>
<source>expression</source>
<translation>Ausdruck</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="45"/>
<source>definitionDomain</source>
<translation>Definitionsbereich</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="47"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="46"/>
<source>destinationDomain</source>
<translation>Reichweite</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="52"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="51"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.js" line="43"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.js" line="37"/>
@ -836,15 +836,15 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<translation>Position des Etiketts</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="52"/>
<source>displayMode</source>
<translation>Anzeigemodus</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="54"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.js" line="44"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.js" line="38"/>
@ -852,13 +852,13 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<translation>X-Position des Etiketts</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="59"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="58"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="33"/>
<source>drawPoints</source>
<translation>Unentschiedene Punkte</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="60"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="59"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="34"/>
<source>drawDashedLines</source>
<translation>Gestrichelte Linien anzeigen</translation>
@ -895,25 +895,25 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<translation>Einheit</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.js" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.js" line="47"/>
<source>x</source>
<translation>X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.js" line="38"/>
<source>y</source>
<translation>Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="41"/>
<source>pointStyle</source>
<translation>Punkt-Stil</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="43"/>
<source>probabilities</source>
<translation>Wahrscheinlichkeiten</translation>
</message>
@ -965,12 +965,12 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>repartition</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="28"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="26"/>
<source>Repartition</source>
<translation>Verteilungsfunktion</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="29"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="27"/>
<source>Repartition functions</source>
<translation>Verteilungsfunktionen</translation>
</message>
@ -1022,22 +1022,22 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>update</name>
<message>
<location filename="../util/update.py" line="54"/>
<location filename="../update.py" line="54"/>
<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="../update.py" line="58"/>
<source>No update available.</source>
<translation>Keine Aktualisierung verfügbar.</translation>
</message>
<message>
<location filename="../util/update.py" line="61"/>
<location filename="../update.py" line="61"/>
<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="../update.py" line="63"/>
<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="32"/>
<location filename="../logarithmplotter.py" line="117"/>
<location filename="../logarithmplotter.py" line="112"/>
<source>About LogarithmPlotter</source>
<translation>About LogarithmPlotter</translation>
</message>
@ -279,7 +279,7 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>ListSetting</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="233"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="215"/>
<source>+ Add Entry</source>
<translation>+ Add Entry</translation>
</message>
@ -507,12 +507,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="../helper.py" line="48"/>
<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="../helper.py" line="50"/>
<source>Could not fetch update: {}.</source>
<translation>Could not fetch changelog: {}.</translation>
</message>
@ -529,17 +529,17 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>comment</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="48"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="47"/>
<source>Ex: R+* (*), N (), Z-* (*), ]0;1[, {3;4;5}</source>
<translation>Ex: R+* (*), N (), Z-* (*), ]0;1[, {3;4;5}</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="55"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="54"/>
<source>The following parameters are used when the definition domain is a non-continuous set. (Ex: , , sets like {0;3}...)</source>
<translation>The following parameters are used when the domain is a non-continuous set. (Ex: , , sets like {0;3})</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="39"/>
<source>Note: Specify the probability for each value.</source>
<translation>Note: Specify the probability for each value.</translation>
</message>
@ -554,7 +554,7 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="87"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ComboBoxSetting.qml" line="119"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="116"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="98"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/TextSetting.qml" line="100"/>
<source>%1: </source>
<translation>%1: </translation>
@ -594,12 +594,12 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>function</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="29"/>
<source>Function</source>
<translation>Function</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="31"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="30"/>
<source>Functions</source>
<translation>Functions</translation>
</message>
@ -794,12 +794,12 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>point</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="29"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="28"/>
<source>Point</source>
<translation>Point</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="29"/>
<source>Points</source>
<translation>Points</translation>
</message>
@ -807,26 +807,26 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>prop</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="44"/>
<source>expression</source>
<translation>Expression</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="45"/>
<source>definitionDomain</source>
<translation>Domain</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="47"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="46"/>
<source>destinationDomain</source>
<translation>Range</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="52"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="51"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.js" line="43"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.js" line="37"/>
@ -836,15 +836,15 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<translation>Label position</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="52"/>
<source>displayMode</source>
<translation>Display mode</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="54"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.js" line="44"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.js" line="38"/>
@ -852,13 +852,13 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<translation>Label&apos;s X position</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="59"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="58"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="33"/>
<source>drawPoints</source>
<translation>Show points</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="60"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="59"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="34"/>
<source>drawDashedLines</source>
<translation>Show dashed lines</translation>
@ -895,25 +895,25 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<translation>Unit to use</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.js" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.js" line="47"/>
<source>x</source>
<translation>X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.js" line="38"/>
<source>y</source>
<translation>Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="41"/>
<source>pointStyle</source>
<translation>Point style</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="43"/>
<source>probabilities</source>
<translation>Probabilities list</translation>
</message>
@ -965,12 +965,12 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>repartition</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="28"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="26"/>
<source>Repartition</source>
<translation>Distribution</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="29"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="27"/>
<source>Repartition functions</source>
<translation>Distribution functions</translation>
</message>
@ -1022,22 +1022,22 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>update</name>
<message>
<location filename="../util/update.py" line="54"/>
<location filename="../update.py" line="54"/>
<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="../update.py" line="58"/>
<source>No update available.</source>
<translation>No update available.</translation>
</message>
<message>
<location filename="../util/update.py" line="61"/>
<location filename="../update.py" line="61"/>
<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="../update.py" line="63"/>
<source>Could not fetch update information: {}.</source>
<translation>Could not fetch update information: {}.</translation>
</message>

View file

@ -5,7 +5,7 @@
<name>About</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="32"/>
<location filename="../logarithmplotter.py" line="117"/>
<location filename="../logarithmplotter.py" line="112"/>
<source>About LogarithmPlotter</source>
<translation>Sobre LogarithmPlotter</translation>
</message>
@ -278,7 +278,7 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>ListSetting</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="233"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="215"/>
<source>+ Add Entry</source>
<translation type="unfinished"></translation>
</message>
@ -506,12 +506,12 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>changelog</name>
<message>
<location filename="../util/helper.py" line="48"/>
<location filename="../helper.py" line="48"/>
<source>Could not fetch changelog: Server error {}.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../util/helper.py" line="50"/>
<location filename="../helper.py" line="50"/>
<source>Could not fetch update: {}.</source>
<translation type="unfinished"></translation>
</message>
@ -528,17 +528,17 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>comment</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="48"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="47"/>
<source>Ex: R+* (*), N (), Z-* (*), ]0;1[, {3;4;5}</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="55"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="54"/>
<source>The following parameters are used when the definition domain is a non-continuous set. (Ex: , , sets like {0;3}...)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="39"/>
<source>Note: Specify the probability for each value.</source>
<translation type="unfinished"></translation>
</message>
@ -553,7 +553,7 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="87"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ComboBoxSetting.qml" line="119"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="116"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="98"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/TextSetting.qml" line="100"/>
<source>%1: </source>
<translation type="unfinished"></translation>
@ -593,12 +593,12 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>function</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="29"/>
<source>Function</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="31"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="30"/>
<source>Functions</source>
<translation type="unfinished"></translation>
</message>
@ -766,12 +766,12 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>point</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="29"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="28"/>
<source>Point</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="29"/>
<source>Points</source>
<translation type="unfinished"></translation>
</message>
@ -779,26 +779,26 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>prop</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="44"/>
<source>expression</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="45"/>
<source>definitionDomain</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="47"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="46"/>
<source>destinationDomain</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="52"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="51"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.js" line="43"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.js" line="37"/>
@ -808,15 +808,15 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="52"/>
<source>displayMode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="54"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.js" line="44"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.js" line="38"/>
@ -824,13 +824,13 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="59"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="58"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="33"/>
<source>drawPoints</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="60"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="59"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="34"/>
<source>drawDashedLines</source>
<translation type="unfinished"></translation>
@ -867,25 +867,25 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.js" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.js" line="47"/>
<source>x</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.js" line="38"/>
<source>y</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="41"/>
<source>pointStyle</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="43"/>
<source>probabilities</source>
<translation type="unfinished"></translation>
</message>
@ -933,12 +933,12 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>repartition</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="28"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="26"/>
<source>Repartition</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="29"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="27"/>
<source>Repartition functions</source>
<translation type="unfinished"></translation>
</message>
@ -990,22 +990,22 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>update</name>
<message>
<location filename="../util/update.py" line="54"/>
<location filename="../update.py" line="54"/>
<source>An update for LogarithPlotter (v{}) is available.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../util/update.py" line="58"/>
<location filename="../update.py" line="58"/>
<source>No update available.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../util/update.py" line="61"/>
<location filename="../update.py" line="61"/>
<source>Could not fetch update information: Server error {}.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../util/update.py" line="63"/>
<location filename="../update.py" line="63"/>
<source>Could not fetch update information: {}.</source>
<translation type="unfinished"></translation>
</message>

View file

@ -5,7 +5,7 @@
<name>About</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="32"/>
<location filename="../logarithmplotter.py" line="117"/>
<location filename="../logarithmplotter.py" line="112"/>
<source>About LogarithmPlotter</source>
<translation>À propos de LogarithmPlotter</translation>
</message>
@ -287,7 +287,7 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>ListSetting</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="233"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="215"/>
<source>+ Add Entry</source>
<translation>+ Nouvelle entrée</translation>
</message>
@ -515,12 +515,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="../helper.py" line="48"/>
<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="../helper.py" line="50"/>
<source>Could not fetch update: {}.</source>
<translation>Impossible de récupérer l&apos;historique des modifications : {}.</translation>
</message>
@ -537,17 +537,17 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>comment</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="48"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="47"/>
<source>Ex: R+* (*), N (), Z-* (*), ]0;1[, {3;4;5}</source>
<translation>Par exemple : R+* (*), N (), Z-* (*), ]0;1[, {3;4;5}</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="55"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="54"/>
<source>The following parameters are used when the definition domain is a non-continuous set. (Ex: , , sets like {0;3}...)</source>
<translation>Les paramètres suivants sont utilisés lorsque le domaine de définition est un ensemble non-continu. (Ex : , , des ensembles comme {0;3})</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="39"/>
<source>Note: Specify the probability for each value.</source>
<translation>Note : Spécifiez la probabilité pour chaque valeur.</translation>
</message>
@ -563,7 +563,7 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="87"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ComboBoxSetting.qml" line="119"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="116"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="98"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/TextSetting.qml" line="100"/>
<source>%1: </source>
<translation>%1 : </translation>
@ -603,12 +603,12 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>function</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="29"/>
<source>Function</source>
<translation>Fonction</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="31"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="30"/>
<source>Functions</source>
<translation>Fonctions</translation>
</message>
@ -803,12 +803,12 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>point</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="29"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="28"/>
<source>Point</source>
<translation>Point</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="29"/>
<source>Points</source>
<translation>Points</translation>
</message>
@ -816,26 +816,26 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>prop</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="44"/>
<source>expression</source>
<translation>Expression</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="45"/>
<source>definitionDomain</source>
<translation>Domaine de définition</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="47"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="46"/>
<source>destinationDomain</source>
<translation>Portée</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="52"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="51"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.js" line="43"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.js" line="37"/>
@ -845,15 +845,15 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<translation>Position de l&apos;étiquette</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="52"/>
<source>displayMode</source>
<translation>Mode d&apos;affichage</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="54"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.js" line="44"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.js" line="38"/>
@ -861,13 +861,13 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<translation>Position en X de l&apos;étiquette</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="59"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="58"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="33"/>
<source>drawPoints</source>
<translation>Afficher les points</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="60"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="59"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="34"/>
<source>drawDashedLines</source>
<translation>Afficher les pointillés</translation>
@ -904,25 +904,25 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<translation>Unité de la phase</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.js" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.js" line="47"/>
<source>x</source>
<translation>X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.js" line="38"/>
<source>y</source>
<translation>Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="41"/>
<source>pointStyle</source>
<translation>Style du point</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="43"/>
<source>probabilities</source>
<translation>Liste de probabilités</translation>
</message>
@ -974,12 +974,12 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>repartition</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="28"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="26"/>
<source>Repartition</source>
<translation>Répartition</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="29"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="27"/>
<source>Repartition functions</source>
<translation>Fonctions de répartition</translation>
</message>
@ -1031,22 +1031,22 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>update</name>
<message>
<location filename="../util/update.py" line="54"/>
<location filename="../update.py" line="54"/>
<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="../update.py" line="58"/>
<source>No update available.</source>
<translation>À jour.</translation>
</message>
<message>
<location filename="../util/update.py" line="61"/>
<location filename="../update.py" line="61"/>
<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="../update.py" line="63"/>
<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="32"/>
<location filename="../logarithmplotter.py" line="117"/>
<location filename="../logarithmplotter.py" line="112"/>
<source>About LogarithmPlotter</source>
<translation>LogarithmPlotter névjegye</translation>
</message>
@ -279,7 +279,7 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<context>
<name>ListSetting</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="233"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="215"/>
<source>+ Add Entry</source>
<translation>+ Bejegyzés hozzáadása</translation>
</message>
@ -507,12 +507,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="../helper.py" line="48"/>
<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="../helper.py" line="50"/>
<source>Could not fetch update: {}.</source>
<translation>Nem sikerült lekérni a változásnaplót: {}.</translation>
</message>
@ -529,17 +529,17 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<context>
<name>comment</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="48"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="47"/>
<source>Ex: R+* (*), N (), Z-* (*), ]0;1[, {3;4;5}</source>
<translation>Példák: R+* (*), N (), Z-* (*), ]0;1[, {3;4;5}</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="55"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="54"/>
<source>The following parameters are used when the definition domain is a non-continuous set. (Ex: , , sets like {0;3}...)</source>
<translation>A következő paraméterek használatosak, ha a tartomány nem folytonos halmaz. (Példák: , , olyan halmazok, mint a {0;3})</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="39"/>
<source>Note: Specify the probability for each value.</source>
<translation>Megjegyzés: Adja meg az egyes értékek valószínűségét.</translation>
</message>
@ -554,7 +554,7 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="87"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ComboBoxSetting.qml" line="119"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="116"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="98"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/TextSetting.qml" line="100"/>
<source>%1: </source>
<translation>%1: </translation>
@ -594,12 +594,12 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<context>
<name>function</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="29"/>
<source>Function</source>
<translation>Függvény</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="31"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="30"/>
<source>Functions</source>
<translation>Függvények</translation>
</message>
@ -790,12 +790,12 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<context>
<name>point</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="29"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="28"/>
<source>Point</source>
<translation>Pont</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="29"/>
<source>Points</source>
<translation>Pontok</translation>
</message>
@ -803,26 +803,26 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<context>
<name>prop</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="44"/>
<source>expression</source>
<translation>Kifejezés</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="45"/>
<source>definitionDomain</source>
<translation>Abszcissza tartomány</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="47"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="46"/>
<source>destinationDomain</source>
<translation>Ordináta tartomány</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="52"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="51"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.js" line="43"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.js" line="37"/>
@ -832,15 +832,15 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<translation>Címke helyzete</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="52"/>
<source>displayMode</source>
<translation>Megjelenítési mód</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="54"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.js" line="44"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.js" line="38"/>
@ -848,13 +848,13 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<translation>Címke X helyzete</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="59"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="58"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="33"/>
<source>drawPoints</source>
<translation>Pontok megjelenítése</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="60"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="59"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="34"/>
<source>drawDashedLines</source>
<translation>Szaggatott vonalak megjelenítése</translation>
@ -891,25 +891,25 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<translation>Egység használata</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.js" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.js" line="47"/>
<source>x</source>
<translation>X</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.js" line="38"/>
<source>y</source>
<translation>Y</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="41"/>
<source>pointStyle</source>
<translation>Pontstílus</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="43"/>
<source>probabilities</source>
<translation>Valószínűségek listája</translation>
</message>
@ -957,12 +957,12 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<context>
<name>repartition</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="28"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="26"/>
<source>Repartition</source>
<translation>Elosztás</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="29"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="27"/>
<source>Repartition functions</source>
<translation>Elosztási függvények</translation>
</message>
@ -1014,22 +1014,22 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<context>
<name>update</name>
<message>
<location filename="../util/update.py" line="54"/>
<location filename="../update.py" line="54"/>
<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="../update.py" line="58"/>
<source>No update available.</source>
<translation>Nincs telepíthető frissítés.</translation>
</message>
<message>
<location filename="../util/update.py" line="61"/>
<location filename="../update.py" line="61"/>
<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="../update.py" line="63"/>
<source>Could not fetch update information: {}.</source>
<translation>Nem sikerült lekérni a frissítési adatokat: {}.</translation>
</message>

View file

@ -5,7 +5,7 @@
<name>About</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="32"/>
<location filename="../logarithmplotter.py" line="117"/>
<location filename="../logarithmplotter.py" line="112"/>
<source>About LogarithmPlotter</source>
<translation>Om</translation>
</message>
@ -279,7 +279,7 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context>
<name>ListSetting</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="233"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="215"/>
<source>+ Add Entry</source>
<translation type="unfinished"></translation>
</message>
@ -507,12 +507,12 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context>
<name>changelog</name>
<message>
<location filename="../util/helper.py" line="48"/>
<location filename="../helper.py" line="48"/>
<source>Could not fetch changelog: Server error {}.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../util/helper.py" line="50"/>
<location filename="../helper.py" line="50"/>
<source>Could not fetch update: {}.</source>
<translation type="unfinished"></translation>
</message>
@ -529,17 +529,17 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context>
<name>comment</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="48"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="47"/>
<source>Ex: R+* (*), N (), Z-* (*), ]0;1[, {3;4;5}</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="55"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="54"/>
<source>The following parameters are used when the definition domain is a non-continuous set. (Ex: , , sets like {0;3}...)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="39"/>
<source>Note: Specify the probability for each value.</source>
<translation type="unfinished"></translation>
</message>
@ -554,7 +554,7 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="87"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ComboBoxSetting.qml" line="119"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="116"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="98"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/TextSetting.qml" line="100"/>
<source>%1: </source>
<translation type="unfinished"></translation>
@ -594,12 +594,12 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context>
<name>function</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="29"/>
<source>Function</source>
<translation>Funksjon</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="31"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="30"/>
<source>Functions</source>
<translation>Funksjoner</translation>
</message>
@ -790,12 +790,12 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context>
<name>point</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="29"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="28"/>
<source>Point</source>
<translation>Punkt</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="29"/>
<source>Points</source>
<translation>Punkter</translation>
</message>
@ -803,26 +803,26 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context>
<name>prop</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="44"/>
<source>expression</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="45"/>
<source>definitionDomain</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="47"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="46"/>
<source>destinationDomain</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="52"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="51"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.js" line="43"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.js" line="37"/>
@ -832,15 +832,15 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="52"/>
<source>displayMode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="54"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.js" line="44"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.js" line="38"/>
@ -848,13 +848,13 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="59"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="58"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="33"/>
<source>drawPoints</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="60"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="59"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="34"/>
<source>drawDashedLines</source>
<translation type="unfinished"></translation>
@ -891,25 +891,25 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.js" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.js" line="47"/>
<source>x</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.js" line="38"/>
<source>y</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="41"/>
<source>pointStyle</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="43"/>
<source>probabilities</source>
<translation type="unfinished"></translation>
</message>
@ -957,12 +957,12 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context>
<name>repartition</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="28"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="26"/>
<source>Repartition</source>
<translation>Distribusjon</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="29"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="27"/>
<source>Repartition functions</source>
<translation>Distribusjonsfunksjoner</translation>
</message>
@ -1014,22 +1014,22 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context>
<name>update</name>
<message>
<location filename="../util/update.py" line="54"/>
<location filename="../update.py" line="54"/>
<source>An update for LogarithPlotter (v{}) is available.</source>
<translation>En ny versjon av LogartimePlotter (v{}) er tilgjengelig</translation>
</message>
<message>
<location filename="../util/update.py" line="58"/>
<location filename="../update.py" line="58"/>
<source>No update available.</source>
<translation>Ingen nye versjoner.</translation>
</message>
<message>
<location filename="../util/update.py" line="61"/>
<location filename="../update.py" line="61"/>
<source>Could not fetch update information: Server error {}.</source>
<translation>Fant ikke ut om det er noen nye versjoner. Tjenerfeil {}.</translation>
</message>
<message>
<location filename="../util/update.py" line="63"/>
<location filename="../update.py" line="63"/>
<source>Could not fetch update information: {}.</source>
<translation>Kunne ikke hente info om hvorvidt det er nye versjoner: {}.</translation>
</message>

View file

@ -5,7 +5,7 @@
<name>About</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="32"/>
<location filename="../logarithmplotter.py" line="117"/>
<location filename="../logarithmplotter.py" line="112"/>
<source>About LogarithmPlotter</source>
<translation type="unfinished"></translation>
</message>
@ -278,7 +278,7 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>ListSetting</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="233"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="215"/>
<source>+ Add Entry</source>
<translation type="unfinished"></translation>
</message>
@ -506,12 +506,12 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>changelog</name>
<message>
<location filename="../util/helper.py" line="48"/>
<location filename="../helper.py" line="48"/>
<source>Could not fetch changelog: Server error {}.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../util/helper.py" line="50"/>
<location filename="../helper.py" line="50"/>
<source>Could not fetch update: {}.</source>
<translation type="unfinished"></translation>
</message>
@ -528,17 +528,17 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>comment</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="48"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="47"/>
<source>Ex: R+* (*), N (), Z-* (*), ]0;1[, {3;4;5}</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="55"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="54"/>
<source>The following parameters are used when the definition domain is a non-continuous set. (Ex: , , sets like {0;3}...)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="39"/>
<source>Note: Specify the probability for each value.</source>
<translation type="unfinished"></translation>
</message>
@ -553,7 +553,7 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="87"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ComboBoxSetting.qml" line="119"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="116"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ListSetting.qml" line="98"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/TextSetting.qml" line="100"/>
<source>%1: </source>
<translation type="unfinished"></translation>
@ -593,12 +593,12 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>function</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="29"/>
<source>Function</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="31"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="30"/>
<source>Functions</source>
<translation type="unfinished"></translation>
</message>
@ -766,12 +766,12 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>point</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="29"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="28"/>
<source>Point</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="29"/>
<source>Points</source>
<translation type="unfinished"></translation>
</message>
@ -779,26 +779,26 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>prop</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="44"/>
<source>expression</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="45"/>
<source>definitionDomain</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="47"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="46"/>
<source>destinationDomain</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="52"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="51"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.js" line="43"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.js" line="37"/>
@ -808,15 +808,15 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="52"/>
<source>displayMode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="54"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.js" line="44"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.js" line="38"/>
@ -824,13 +824,13 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="59"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="58"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="33"/>
<source>drawPoints</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="60"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js" line="59"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.js" line="34"/>
<source>drawDashedLines</source>
<translation type="unfinished"></translation>
@ -867,25 +867,25 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.js" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.js" line="47"/>
<source>x</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.js" line="38"/>
<source>y</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.js" line="41"/>
<source>pointStyle</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="45"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="43"/>
<source>probabilities</source>
<translation type="unfinished"></translation>
</message>
@ -933,12 +933,12 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>repartition</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="28"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="26"/>
<source>Repartition</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="29"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.js" line="27"/>
<source>Repartition functions</source>
<translation type="unfinished"></translation>
</message>
@ -990,22 +990,22 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>update</name>
<message>
<location filename="../util/update.py" line="54"/>
<location filename="../update.py" line="54"/>
<source>An update for LogarithPlotter (v{}) is available.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../util/update.py" line="58"/>
<location filename="../update.py" line="58"/>
<source>No update available.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../util/update.py" line="61"/>
<location filename="../update.py" line="61"/>
<source>Could not fetch update information: Server error {}.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../util/update.py" line="63"/>
<location filename="../update.py" line="63"/>
<source>Could not fetch update information: {}.</source>
<translation type="unfinished"></translation>
</message>

View file

@ -22,7 +22,7 @@ start_time = time()
from PySide2.QtWidgets import QApplication
from PySide2.QtQml import QQmlApplicationEngine
from PySide2.QtCore import Qt, QTranslator, QLocale
from PySide2.QtCore import QTranslator, QLocale
from PySide2.QtGui import QIcon
from tempfile import TemporaryDirectory
@ -89,7 +89,6 @@ def run():
app.setApplicationName("LogarithmPlotter")
app.setOrganizationName("Ad5001")
app.styleHints().setShowShortcutsInContextMenus(True)
app.setAttribute(Qt.AA_EnableHighDpiScaling)
app.setWindowIcon(QIcon(path.realpath(path.join(getcwd(), "logarithmplotter.svg"))))
# Installing translators

View file

@ -83,7 +83,7 @@ function functionToLatex(f, args) {
* @param {string} vari - variable to convert
* @returns {string}
*/
function variable(vari) {
function variableToLatex(vari) {
let unicodechars = ["α","β","γ","δ","ε","ζ","η",
"π","θ","κ","λ","μ","ξ","ρ",
"ς","σ","τ","φ","χ","ψ","ω",
@ -185,7 +185,7 @@ function expressionToLatex(tokens) {
break;
case ExprEval.IVAR:
case ExprEval.IVARNAME:
nstack.push(variable(item.value.toString()));
nstack.push(variableToLatex(item.value.toString()));
break;
case ExprEval.IOP1: // Unary operator
n1 = nstack.pop();

View file

@ -20,16 +20,10 @@
.import "../utils.js" as Utils
.import "../objects.js" as Objects
.import "../math/latex.js" as Latex
// This file contains the default data to be imported from all other objects
/**
* Creates a new name for an object, based on the \c allowedLetters.
* If variables with each of the allowedLetters is created, a subscript
* number is added to the name.
* @return {string} New unused name for a new object.
*/
function getNewName(allowedLetters) {
// Allows to get a new name, based on the allowed letters,
// as well as adding a sub number when needs be.
@ -44,70 +38,33 @@ function getNewName(allowedLetters) {
return ret
}
/**
* Class to extend for every type of object that
* can be drawn on the canvas.
*/
class DrawableObject {
/**
* Base name of the object. Needs to be constant over time.
* @return {string} Type of the object.
*/
// Class to extend for every type of object that
// can be drawn on the canvas.
// Base name of the object. Needs to be constant over time.
static type(){return 'Unknown'}
/**
* Translated name of the object to be shown to the user.
* @return {string}
*/
// (Potentially translated) name of the object to be shown to the user.
static displayType(){return 'Unknown'}
/**
* Translated name of the object in plural form to be shown to the user.
* @return {string}
*/
// Label used for the list on the ObjectsList sidebar.
static displayTypeMultiple(){return 'Unknowns'}
/**
* True if this object can be created by the user, false if it can only
* be instantiated by other objects
* @return {bool}
*/
// Whether this object can be created by the user
// or are instantiated by other objects.
static createable() {return true}
/**
* List of properties used in the Object Editor.
*
* Properties are set with key as property name and
* value as it's type name (e.g 'Expression', 'string'...),
* an Enum for enumerations, an ObjectType for DrawableObjects
* with a specific type, a List instance for lists, a
* Dictionary instance for dictionaries...
*
* If the property is to be translated, the key should be passed
* through the QT_TRANSLATE_NOOP macro in that form:
* [QT_TRANSLATE_NOOP('prop','key')]
* Enums that are translated should be indexed in parameters.js and
* then be linked directly here.
*
* @return {Dictionary}
*/
// Properties are set with key as property name and
// value as it's type name (e.g 'Expression', 'string'...),
// an Enum for enumerations, an ObjectType for DrawableObjects
// with a specific type, a List instance for lists, a
// Dictionary instance for dictionaries...
// Used for property modifier in the sidebar.
static properties() {return {}}
/**
* True if this object can be executed, so that an y value might be computed
* for an x value. Only ExecutableObjects have that property set to true.
* @return {bool}
*/
// Whether the object can be executed (instance of ExecutableObject)
static executable() {return false}
/**
* Base constructor for the object.
* @param {string} name - Name of the object
* @param {bool} visible - true if the object is visible, false otherwise.
* @param {color} color - Color of the object (can be string or QColor)
* @param {Enum} labelContent - One of 'null', 'name' or 'name + value' describing the content of the label.
* @constructor()
*/
constructor(name, visible = true, color = null, labelContent = 'name + value') {
if(color == null) color = Utils.getRandomColor()
this.type = 'Unknown'
@ -118,40 +75,19 @@ class DrawableObject {
this.requiredBy = []
}
/**
* Serilizes the object in an array that can be JSON serialized.
* These parameters will be re-entered in the constructor when restored.
* @return {array}
*/
export() {
// Should return what will be inputed as arguments when a file is loaded (serializable form)
return [this.name, this.visible, this.color.toString(), this.labelContent]
}
/**
* String representing the object that will be displayed to the user.
* It allows for 2 lines and translated text, but it shouldn't be too long.
* @return {string}
*/
getReadableString() {
return `${this.name} = Unknown`
}
/**
* Latex markuped version of the readable string.
* Every non latin character should be passed as latex symbols and formulas
* should be in latex form.
* See ../latex.js for helper methods.
* @return {string}
*/
getLatexString() {
toLatexString() {
return this.getReadableString()
}
/**
* Readable string content of the label depending on the value of the \c latexContent.
* @return {string}
*/
getLabel() {
switch(this.labelContent) {
case 'name':
@ -164,37 +100,24 @@ class DrawableObject {
}
}
/**
* Latex markup string content of the label depending on the value of the \c latexContent.
* Every non latin character should be passed as latex symbols and formulas
* should be in latex form.
* See ../latex.js for helper methods.
* @return {string}
*/
getLatexLabel() {
switch(this.labelContent) {
case 'name':
return Latex.variable(this.name)
return this.name
case 'name + value':
return this.getLatexString()
return this.toLatexString()
case 'null':
return ''
}
}
/**
* Callback method when one of the properties of the object is updated.
*/
update() {
for(var req of this.requiredBy) {
req.update()
}
}
/**
* Callback method when the object is about to get deleted.
*/
delete() {
for(var toRemove of this.requiredBy) {
toRemove.delete()
@ -202,164 +125,28 @@ class DrawableObject {
}
}
/**
* Abstract method. Draw the object onto the \c canvas with the 2D context \c ctx.
* @param {Canvas} canvas
* @param {Context2D} ctx
*/
draw(canvas, ctx) {}
/**
* Automaticly draw the label of the object on the \c canvas with the 2D context \c ctx.
* This method takes into account both the \c posX and \c posY of where the label
* should be displayed, including the \c labelPosition relative to it.
* @param {Canvas} canvas
* @param {Context2D} ctx
* @param {string|Enum} labelPosition - Position of the label relative to the marked position
* @param {number} posX - Component of the marked position on the x-axis
* @param {number} posY - Component of the marked position on the y-axis
*/
drawLabel(canvas, ctx, labelPosition, posX, posY) {
if(true) { // TODO: Check for user setting with Latex.
// With latex
let offset = 8
let drawLblCb = function(canvas, ctx, ltxImg) {
switch(this.labelPosition) {
case 'center':
canvas.drawVisibleImage(ctx, ltxImg.source, posX-ltxImg.width/2, posY-ltxImg.height/2, ltxImg.width, ltxImg.height)
break;
case 'top':
case 'above':
canvas.drawVisibleImage(ctx, ltxImg.source, posX-ltxImg.width/2, posY-(ltxImg.height+offset), ltxImg.width, ltxImg.height)
break;
case 'bottom':
case 'below':
canvas.drawVisibleImage(ctx, ltxImg.source, posX-ltxImg.width/2, posY+offset, ltxImg.width, ltxImg.height)
break;
case 'left':
canvas.drawVisibleImage(ctx, ltxImg.source, posX-(ltxImg.width+offset), posY-ltxImg.height/2, ltxImg.width, ltxImg.height)
break;
case 'right':
canvas.drawVisibleImage(ctx, ltxImg.source, posX+offset, posY-ltxImg.height/2, ltxImg.width, ltxImg.height)
break;
case 'top-left':
case 'above-left':
canvas.drawVisibleImage(ctx, ltxImg.source, posX-(ltxImg.width+offset), posY-(ltxImg.height+offset), ltxImg.width, ltxImg.height)
break;
case 'top-right':
case 'above-right':
canvas.drawVisibleImage(ctx, ltxImg.source, posX+offset, posY-(ltxImg.height+offset), ltxImg.width, ltxImg.height)
break;
case 'bottom-left':
case 'below-left':
canvas.drawVisibleImage(ctx, ltxImg.source, posX-(ltxImg.width+offset), posY+offset, ltxImg.width, ltxImg.height)
break;
case 'bottom-right':
case 'below-right':
canvas.drawVisibleImage(ctx, ltxImg.source, posX+offset, posY+offset, ltxImg.width, ltxImg.height)
break;
}
}
let ltxLabel = this.getLatexLabel();
if(ltxLabel != "")
canvas.renderLatexImage(ltxLabel, this.color, drawLblCb.bind(this))
//canvas.drawVisibleImage(ctx, ltxImg.source, posX, posY)
} else {
// Without latex
let text = this.getLabel()
ctx.font = `${canvas.textsize}px sans-serif`
let textSize = canvas.measureText(ctx, text)
let offset = 4
switch(labelPosition) {
case 'center':
canvas.drawVisibleText(ctx, text, posX-textSize.width/2, posY-textSize.height/2)
break;
case 'top':
case 'above':
canvas.drawVisibleText(ctx, text, posX-textSize.width/2, posY-textSize.height-offset)
break;
case 'bottom':
case 'below':
canvas.drawVisibleText(ctx, text, posX-textSize.width/2, posY+offset)
break;
case 'left':
canvas.drawVisibleText(ctx, text, posX-textSize.width-offset, posY-textSize.height/2)
break;
case 'right':
canvas.drawVisibleText(ctx, text, posX+offset, posY-textSize.height/2)
break;
case 'top-left':
case 'above-left':
canvas.drawVisibleText(ctx, text, posX-textSize.width, posY-textSize.height-offset)
break;
case 'top-right':
case 'above-right':
canvas.drawVisibleText(ctx, text, posX+offset, posY-textSize.height-offset)
break;
case 'bottom-left':
case 'below-left':
canvas.drawVisibleText(ctx, text, posX-textSize.width-offset, posY+offset)
break;
case 'bottom-right':
case 'below-right':
canvas.drawVisibleText(ctx, text, posX+offset, posY+offset)
break;
}
}
}
toString() {
return this.name;
}
}
/**
* Class to be extended for every object on which
* an y for a x can be computed with the execute function.
* If a value cannot be found during execute, it will
* return null. However, theses same x values will
* return false when passed to canExecute.
*/
class ExecutableObject extends DrawableObject {
/**
* Returns the corresponding y value for an x value.
* If the object isn't defined on the given x, then
* this function will return null.
*
* @param {number} x
* @returns {number|null}
*/
// Class to be extended for every class upon which we
// calculate an y for a x with the execute function.
// If a value cannot be found during execute, it should
// return null. However, theses values should
// return false when passed to canExecute.
execute(x = 1) {return 0}
/**
* Returns false if the object isn't defined on the given x, true otherwise.
*
* @param {number} x
* @returns {bool}
*/
canExecute(x = 1) {return true}
/**
* Returns the simplified expression string for a given x.
*
* @param {number} x
* @returns {bool}
*/
// Simplify returns the simplified string of the expression.
simplify(x = 1) {return '0'}
/**
* True if this object can be executed, so that an y value might be computed
* for an x value. Only ExecutableObjects have that property set to true.
* @return {bool}
*/
// Whether the object can be executed (instance of ExecutableObject)
static executable() {return true}
}
/**
* Registers the object \c obj in the object list.
* @param {DrawableObject} obj - Object to be registered.
*/
function registerObject(obj) {
// Registers an object to be used in LogarithmPlotter.
// This function is called from autoload.js

View file

@ -29,6 +29,18 @@ class Function extends Common.ExecutableObject {
static type(){return 'Function'}
static displayType(){return qsTr('Function')}
static displayTypeMultiple(){return qsTr('Functions')}
/*static properties() {return {
'expression': 'Expression',
'definitionDomain': 'Domain',
'destinationDomain': 'Domain',
'comment1': 'Ex: R+* (ℝ⁺*), N (), Z-* (ℤ⁻*), ]0;1[, {3;4;5}',
'labelPosition': P.Enum.Position,
'displayMode': new P.Enum('application', 'function'),
'labelX': 'number',
'comment2': 'The following parameters are used when the definition domain is a non-continuous set. (Ex: , , sets like {0;3}...)',
'drawPoints': 'boolean',
'drawDashedLines': 'boolean'
}}*/
static properties() {return {
[QT_TRANSLATE_NOOP('prop','expression')]: 'Expression',
[QT_TRANSLATE_NOOP('prop','definitionDomain')]: 'Domain',
@ -76,11 +88,11 @@ class Function extends Common.ExecutableObject {
}
}
getLatexString() {
toLatexString() {
if(this.displayMode == 'application') {
return `${Latex.variable(this.name)}:\\begin{array}{llll}${this.definitionDomain.latexMarkup} & \\rightarrow & ${this.destinationDomain.latexMarkup}\\\\x & \\mapsto & ${this.expression.latexMarkup}\\end{array}`
return `${Latex.variableToLatex(this.name)}:\\begin{array}{llll}${this.definitionDomain.latexMarkup} & \\rightarrow & ${this.destinationDomain.latexMarkup}\\\\x & \\mapsto & ${this.expression.latexMarkup}\\end{array}`
} else {
return `\\begin{array}{l}${Latex.variable(this.name)}(x) = ${this.expression.latexMarkup}\\\\ D_{${this.name}} = ${this.definitionDomain.latexMarkup}\\end{array}`
return `\\begin{array}{l}${Latex.variableToLatex(this.name)}(x) = ${this.expression.latexMarkup}\\\\ D_{${this.name}} = ${this.definitionDomain.latexMarkup}\\end{array}`
}
}
@ -109,7 +121,71 @@ class Function extends Common.ExecutableObject {
draw(canvas, ctx) {
Function.drawFunction(canvas, ctx, this.expression, this.definitionDomain, this.destinationDomain, this.drawPoints, this.drawDashedLines)
// Label
this.drawLabel(canvas, ctx, this.labelPosition, canvas.x2px(this.labelX), canvas.y2px(this.execute(this.labelX)))
var text = this.getLabel()
ctx.font = `${canvas.textsize}px sans-serif`
var textSize = canvas.measureText(ctx, text)
var posX = canvas.x2px(this.labelX)
var posY = canvas.y2px(this.execute(this.labelX))
let drawLabel = function(canvas, ctx, ltxImg) {
switch(this.labelPosition) {
case 'above':
canvas.drawVisibleImage(ctx, ltxImg.source, posX-ltxImg.width/2, posY-(ltxImg.height+10), ltxImg.width, ltxImg.height)
break;
case 'below':
canvas.drawVisibleImage(ctx, ltxImg.source, posX-ltxImg.width/2, posY+10, ltxImg.width, ltxImg.height)
break;
case 'left':
canvas.drawVisibleImage(ctx, ltxImg.source, posX-(ltxImg.width+10), posY-ltxImg.height/2, ltxImg.width, ltxImg.height)
break;
case 'right':
canvas.drawVisibleImage(ctx, ltxImg.source, posX+10, posY-ltxImg.height/2, ltxImg.width, ltxImg.height)
break;
case 'above-left':
canvas.drawVisibleImage(ctx, ltxImg.source, posX-(ltxImg.width+10), posY-(ltxImg.height+10), ltxImg.width, ltxImg.height)
break;
case 'above-right':
canvas.drawVisibleImage(ctx, ltxImg.source, posX+10, posY-(ltxImg.height+10), ltxImg.width, ltxImg.height)
break;
case 'below-left':
canvas.drawVisibleImage(ctx, ltxImg.source, posX-(ltxImg.width+10), posY+10, ltxImg.width, ltxImg.height)
break;
case 'below-right':
canvas.drawVisibleImage(ctx, ltxImg.source, posX+10, posY+10, ltxImg.width, ltxImg.height)
break;
}
}
let ltxLabel = this.getLatexLabel();
if(ltxLabel != "")
canvas.renderLatexImage(ltxLabel, this.color, drawLabel.bind(this))
//canvas.drawVisibleImage(ctx, ltxImg.source, posX, posY)
/*switch(this.labelPosition) {
case 'above':
canvas.drawVisibleText(ctx, text, posX-textSize.width/2, posY-textSize.height)
break;
case 'below':
canvas.drawVisibleText(ctx, text, posX-textSize.width/2, posY+textSize.height)
break;
case 'left':
canvas.drawVisibleText(ctx, text, posX-textSize.width, posY-textSize.height/2)
break;
case 'right':
canvas.drawVisibleText(ctx, text, posX, posY-textSize.height/2)
break;
case 'above-left':
canvas.drawVisibleText(ctx, text, posX-textSize.width, posY-textSize.height)
break;
case 'above-right':
canvas.drawVisibleText(ctx, text, posX, posY-textSize.height)
break;
case 'below-left':
canvas.drawVisibleText(ctx, text, posX-textSize.width, posY+textSize.height)
break;
case 'below-right':
canvas.drawVisibleText(ctx, text, posX, posY+textSize.height)
break;
}*/
}
static drawFunction(canvas, ctx, expr, definitionDomain, destinationDomain, drawPoints = true, drawDash = true) {

View file

@ -25,13 +25,19 @@
.import "../mathlib.js" as MathLib
.import "../historylib.js" as HistoryLib
.import "../parameters.js" as P
.import "../math/latex.js" as Latex
class GainBode extends Common.ExecutableObject {
static type(){return 'Gain Bode'}
static displayType(){return qsTr('Bode Magnitude')}
static displayTypeMultiple(){return qsTr('Bode Magnitudes')}
/*static properties() {return {
'om_0': new P.ObjectType('Point'),
'pass': new P.Enum('high', 'low'),
'gain': 'Expression',
'labelPosition': new P.Enum('above', 'below', 'left', 'right', 'above-left', 'above-right', 'below-left', 'below-right'),
'labelX': 'number',
'omGraduation': 'boolean'
}}*/
static properties() {return {
[QT_TRANSLATE_NOOP('prop','om_0')]: new P.ObjectType('Point'),
[QT_TRANSLATE_NOOP('prop','pass')]: P.Enum.BodePass,
@ -75,14 +81,6 @@ class GainBode extends Common.ExecutableObject {
return `${this.name}: ${pass}; ${this.om_0.name} = ${this.om_0.x}\n ${' '.repeat(this.name.length)}${this.gain.toString(true)} dB/dec`
}
getLatexString() {
let pass = this.pass == "low" ? qsTr("low-pass") : qsTr("high-pass");
return `\\mathrm{${Latex.variable(this.name)}:}\\begin{array}{l}
\\textrm{${pass}};${Latex.variable(this.om_0.name)} = ${this.om_0.x.latexMarkup} \\\\
${this.gain.latexMarkup}\\textrm{ dB/dec}
\\end{array}`
}
export() {
return [this.name, this.visible, this.color.toString(), this.labelContent,
this.om_0.name, this.pass.toString(), this.gain.toEditableString(), this.labelPosition, this.labelX, this.omGraduation]
@ -133,9 +131,38 @@ class GainBode extends Common.ExecutableObject {
var dashPxSize = 10
for(var i = 0; i < canvas.canvasSize.height && this.omGraduation; i += dashPxSize*2)
canvas.drawLine(ctx, xpos, i, xpos, i+dashPxSize)
// Label
this.drawLabel(canvas, ctx, this.labelPosition, canvas.x2px(this.labelX), canvas.y2px(this.execute(this.labelX)))
var text = this.getLabel()
ctx.font = `${canvas.textsize}px sans-serif`
var textSize = canvas.measureText(ctx, text)
var posX = canvas.x2px(this.labelX)
var posY = canvas.y2px(this.execute(this.labelX))
switch(this.labelPosition) {
case 'above':
canvas.drawVisibleText(ctx, text, posX-textSize.width/2, posY-textSize.height)
break;
case 'below':
canvas.drawVisibleText(ctx, text, posX-textSize.width/2, posY+textSize.height)
break;
case 'left':
canvas.drawVisibleText(ctx, text, posX-textSize.width, posY-textSize.height/2)
break;
case 'right':
canvas.drawVisibleText(ctx, text, posX, posY-textSize.height/2)
break;
case 'above-left':
canvas.drawVisibleText(ctx, text, posX-textSize.width, posY-textSize.height)
break;
case 'above-right':
canvas.drawVisibleText(ctx, text, posX, posY-textSize.height)
break;
case 'below-left':
canvas.drawVisibleText(ctx, text, posX-textSize.width, posY+textSize.height)
break;
case 'below-right':
canvas.drawVisibleText(ctx, text, posX, posY+textSize.height)
break;
}
}
update() {

View file

@ -29,6 +29,12 @@ class Point extends Common.DrawableObject {
static displayType(){return qsTr('Point')}
static displayTypeMultiple(){return qsTr('Points')}
/*static properties() {return {
'x': 'Expression',
'y': 'Expression',
'labelPosition': new P.Enum('above', 'below', 'left', 'right', 'above-left', 'above-right', 'below-left', 'below-right'),
'pointStyle': new P.Enum('●', '✕', ''),
}}*/
static properties() {return {
[QT_TRANSLATE_NOOP('prop','x')]: 'Expression',
[QT_TRANSLATE_NOOP('prop','y')]: 'Expression',
@ -53,8 +59,8 @@ class Point extends Common.DrawableObject {
return `${this.name} = (${this.x}, ${this.y})`
}
getLatexString() {
return `${Latex.variable(this.name)} = \\left(${this.x.latexMarkup}, ${this.y.latexMarkup}\\right)`
toLatexString() {
return `${Latex.variableToLatex(this.name)} = \\left(${this.x.latexMarkup}, ${this.y.latexMarkup}\\right)`
}
export() {
@ -79,6 +85,44 @@ class Point extends Common.DrawableObject {
ctx.fillRect(canvasX-1, canvasY-pointSize/2, 2, pointSize)
break;
}
this.drawLabel(canvas, ctx, this.labelPosition, canvasX, canvasY)
let drawLabel = function(canvas, ctx, ltxImg) {
switch(this.labelPosition) {
case 'top':
case 'above':
canvas.drawVisibleImage(ctx, ltxImg.source, canvasX-ltxImg.width/2, canvasY-(ltxImg.height+10), ltxImg.width, ltxImg.height)
break;
case 'bottom':
case 'below':
canvas.drawVisibleImage(ctx, ltxImg.source, canvasX-ltxImg.width/2, canvasY+10, ltxImg.width, ltxImg.height)
break;
case 'left':
canvas.drawVisibleImage(ctx, ltxImg.source, canvasX-(ltxImg.width+10), canvasY-ltxImg.height/2, ltxImg.width, ltxImg.height)
break;
case 'right':
canvas.drawVisibleImage(ctx, ltxImg.source, canvasX+10, canvasY-ltxImg.height/2, ltxImg.width, ltxImg.height)
break;
case 'top-left':
case 'above-left':
canvas.drawVisibleImage(ctx, ltxImg.source, canvasX-(ltxImg.width+10), canvasY-(ltxImg.height+10), ltxImg.width, ltxImg.height)
break;
case 'top-right':
case 'above-right':
canvas.drawVisibleImage(ctx, ltxImg.source, canvasX+10, canvasY-(ltxImg.height+10), ltxImg.width, ltxImg.height)
break;
case 'bottom-left':
case 'below-left':
canvas.drawVisibleImage(ctx, ltxImg.source, canvasX-(ltxImg.width+10), canvasY+10, ltxImg.width, ltxImg.height)
break;
case 'bottom-right':
case 'below-right':
canvas.drawVisibleImage(ctx, ltxImg.source, canvasX+10, canvasY+10, ltxImg.width, ltxImg.height)
break;
}
}
let ltxLabel = this.getLatexLabel();
if(ltxLabel != "")
canvas.renderLatexImage(ltxLabel, this.color, drawLabel.bind(this))
//canvas.drawVisibleImage(ctx, ltxImg.source, canvasX, canvasY)
}
}

View file

@ -20,8 +20,6 @@
.import "common.js" as Common
.import "../parameters.js" as P
.import "../math/latex.js" as Latex
class RepartitionFunction extends Common.ExecutableObject {
static type(){return 'Repartition'}
@ -68,12 +66,6 @@ class RepartitionFunction extends Common.ExecutableObject {
return `F_${this.name}(x) = P(${this.name} ≤ x)\n` + keys.map(idx => `P(${this.name}=${idx})=${this.probabilities[idx]}`).join("; ")
}
getLatexString() {
let keys = Object.keys(this.probabilities).sort((a,b) => a-b);
let varName = Latex.variable(this.name)
return `\\begin{array}{l}F_{${varName}}(x) = P(${varName} \\le x)\\\\` + keys.map(idx => `P(${varName}=${idx})=${this.probabilities[idx]}`).join("; ") + '\\end{array}'
}
execute(x = 1) {
var ret = 0;
Object.keys(this.probabilities).sort((a,b) => a-b).forEach(idx => {
@ -153,7 +145,37 @@ class RepartitionFunction extends Common.ExecutableObject {
}
// Label
this.drawLabel(canvas, ctx, this.labelPosition, canvas.x2px(this.labelX), canvas.y2px(this.execute(this.labelX)))
var text = this.getLabel()
ctx.font = `${canvas.textsize}px sans-serif`
var textSize = canvas.measureText(ctx, text)
var posX = canvas.x2px(this.labelX)
var posY = canvas.y2px(this.execute(this.labelX))
switch(this.labelPosition) {
case 'above':
canvas.drawVisibleText(ctx, text, posX-textSize.width/2, posY-textSize.height)
break;
case 'below':
canvas.drawVisibleText(ctx, text, posX-textSize.width/2, posY+textSize.height)
break;
case 'left':
canvas.drawVisibleText(ctx, text, posX-textSize.width, posY-textSize.height/2)
break;
case 'right':
canvas.drawVisibleText(ctx, text, posX, posY-textSize.height/2)
break;
case 'above-left':
canvas.drawVisibleText(ctx, text, posX-textSize.width, posY-textSize.height)
break;
case 'above-right':
canvas.drawVisibleText(ctx, text, posX, posY-textSize.height)
break;
case 'below-left':
canvas.drawVisibleText(ctx, text, posX-textSize.width, posY+textSize.height)
break;
case 'below-right':
canvas.drawVisibleText(ctx, text, posX, posY+textSize.height)
break;
}
}
}

View file

@ -1 +1 @@
LPFv1{"xzoom":100,"yzoom":485,"xmin":-1,"ymax":1,"xaxisstep":"1","yaxisstep":"0.1","xaxislabel":"ω (rad/s)","yaxislabel":"G (dB)","logscalex":false,"linewidth":2,"showxgrad":true,"showygrad":true,"textsize":22,"history":[[["EditedProperty",["h","Function","labelX",3,2.5,false]],["EditedProperty",["h","Function","labelPosition","above-left","above",false]],["EditedProperty",["h","Function","labelPosition","above","left",false]],["EditedProperty",["h","Function","labelX",2.5,2,false]],["EditedProperty",["h","Function","labelX",2,2.2,false]],["EditedProperty",["h","Function","labelX",2.2,9,false]],["EditedProperty",["f","Function","labelPosition","left","above-left",false]],["EditedProperty",["f","Function","labelX",7,7.4,false]],["EditedProperty",["A","Point","y","(-0.5)","(-0.6)",true]],["EditedProperty",["X","Repartition","labelX",2.5,5,false]],["EditedProperty",["u","Sequence","labelPosition","above-left","below-right",false]],["EditedProperty",["u","Sequence","labelPosition","below-right","below-left",false]],["EditedProperty",["u","Sequence","labelX",8,6,false]],["EditedProperty",["u","Sequence","baseValues",{"0":"-1"},{"0":"-1"},false]],["EditedProperty",["u","Sequence","labelX",6,7,false]],["EditedProperty",["u","Sequence","labelPosition","below-left","above-right",false]]],[]],"width":1908,"height":1005,"objects":{"Sequence":[["u",true,"#ff5500","name + value",true,true,{"1":"cos(u[n])"},{"0":"-1"},"above-right",7]],"Function":[["f",true,"#2b156d","name + value","integral((x + 1), x, \"cos (t)\", \"t\")","ℝ⁺*","","application","above-left",7.4,true,true],["g",true,"#ac539c","null","0.739083","","","application","below",-1,true,false],["h",true,"#00aa00","name + value","derivative(\"cos t\", \"t\", x)","","","application","left",9,true,true]],"Repartition":[["X",true,"#1E1EAF","name + value",true,true,{"0":"0.2","1":"0.1","2":"0.2"},"above",5]],"Point":[["A",true,"#060759","name + value","4","(-0.6)","top","●"]]},"type":"logplotv1"}
LPFv1{"xzoom":100,"yzoom":485,"xmin":-1,"ymax":1,"xaxisstep":"1","yaxisstep":"0.1","xaxislabel":"ω (rad/s)","yaxislabel":"G (dB)","logscalex":false,"linewidth":2,"showxgrad":true,"showygrad":true,"textsize":22,"history":[[["EditedProperty",["h","Function","labelX",3,2.5,false]],["EditedProperty",["h","Function","labelPosition","above-left","above",false]],["EditedProperty",["h","Function","labelPosition","above","left",false]],["EditedProperty",["h","Function","labelX",2.5,2,false]],["EditedProperty",["h","Function","labelX",2,2.2,false]],["EditedProperty",["h","Function","labelX",2.2,9,false]],["EditedProperty",["f","Function","labelPosition","left","above-left",false]],["EditedProperty",["f","Function","labelX",7,7.4,false]],["EditedProperty",["A","Point","y","(-0.5)","(-0.6)",true]]],[["EditedProperty",["A","Point","labelPosition","top","above",false]]]],"width":1908,"height":1005,"objects":{"Sequence":[["u",true,"#ff5500","name + value",true,true,{"1":"cos(u[n])"},{"0":"-1"},"above-left",8]],"Function":[["f",true,"#2b156d","name + value","integral((x + 1), x, \"cos (t)\", \"t\")","ℝ⁺*","","application","above-left",7.4,true,true],["g",true,"#ac539c","null","0.739083","","","application","below",-1,true,false],["h",true,"#00aa00","name + value","derivative(\"cos t\", \"t\", x)","","","application","left",9,true,true]],"Repartition":[["X",true,"#1E1EAF","name",true,true,{"0":"0.2","1":"0.1","2":"0.2"},"above",2.5]],"Point":[["A",true,"#060759","name + value","4","(-0.6)","top","●"]]},"type":"logplotv1"}