Compare commits

..

3 commits

Author SHA1 Message Date
719d56127d
Enhanced overall readability of history through usage
All checks were successful
continuous-integration/drone/push Build is passing
+ Using bold and 1 space padding for object names (for long actions)
+ Using color blocs for colors
+ Removed verbose object type from property edition (still accessible from tooltip)
+ Property edition values are now monospaced and have a slight shade as background
+ Using "rename" for name changing verbs.
2022-01-31 23:07:00 +01:00
2d12291075
Using some qt method instead of helper when possible 2022-01-31 21:39:51 +01:00
3119c3f9dc
A lot of history changes
+ History item labels are now RichText which allows for better representation of certain items.
+ History item labels are now multiline
+ History item labels now have a very small separator to distinguish them from each other.
+ Separating history actions into components
2022-01-31 20:17:24 +01:00
25 changed files with 1210 additions and 687 deletions

View file

@ -24,7 +24,6 @@ from PySide2 import __version__ as PySide2_version
from os import chdir, path
from json import loads
from webbrowser import open as openWeb
from sys import version as sys_version
from urllib.request import urlopen
from urllib.error import HTTPError, URLError
@ -142,10 +141,6 @@ class Helper(QObject):
"""
return QCoreApplication.translate('main',"Built with PySide2 (Qt) v{} and python v{}").format(PySide2_version, sys_version.split("\n")[0])
@Slot(str)
def openUrl(self, url):
openWeb(url)
@Slot()
def fetchChangelog(self):
changelog_cache_path = path.join(path.dirname(path.realpath(__file__)), "CHANGELOG.md")

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="111"/>
<location filename="../logarithmplotter.py" line="112"/>
<source>About LogarithmPlotter</source>
<translation>Über LogarithmPlotter</translation>
</message>
@ -28,107 +28,107 @@
<context>
<name>AppMenuBar</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="38"/>
<source>&amp;File</source>
<translation>&amp;Datei</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="40"/>
<source>&amp;Load...</source>
<translation>&amp;Laden</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="47"/>
<source>&amp;Save</source>
<translation>&amp;Speichern</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="52"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="53"/>
<source>Save &amp;As...</source>
<translation>Speichern &amp;Unter</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="60"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="61"/>
<source>&amp;Quit</source>
<translation>&amp;Ausfahrt</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="74"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="75"/>
<source>&amp;Edit</source>
<translation>&amp;Bearbeiten</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="76"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="77"/>
<source>&amp;Undo</source>
<translation>&amp;Lösen</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="84"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="85"/>
<source>&amp;Redo</source>
<translation>&amp;Wiederherstellen</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="93"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="94"/>
<source>&amp;Copy plot</source>
<translation>Grafik &amp;Kopieren</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="101"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="102"/>
<source>&amp;Create</source>
<translation>&amp;Erstellen</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="123"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="124"/>
<source>&amp;Settings</source>
<translation>&amp;Einstellungen</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="126"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="127"/>
<source>Check for updates on startup</source>
<translation>Beim Starten auf Updates prüfen</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="136"/>
<source>Reset redo stack automaticly</source>
<translation>Wiederherstellen-Stapel automatisch zurücksetzen</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="144"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="145"/>
<source>&amp;Help</source>
<translation>&amp;Hilfe</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="147"/>
<source>&amp;Source code</source>
<translation>&amp;Quellcode</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="151"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="152"/>
<source>&amp;Report a bug</source>
<translation>Fehler &amp;Melden</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="156"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="157"/>
<source>&amp;Changelog</source>
<translation>&amp;Changelog</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="161"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>&amp;Help translating!</source>
<translation>&amp;Hilfe beim Übersetzen!</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="167"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="168"/>
<source>&amp;About</source>
<translation>&amp;Übrigens</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="176"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="177"/>
<source>Save unsaved changes?</source>
<translation>Änderungen speichern?</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="178"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="179"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation>Diese Grafik enthält ungespeicherte Änderungen. Dadurch gehen alle ungespeicherten Daten verloren. Fortfahren?</translation>
</message>
@ -179,8 +179,8 @@
<translation>Name + Wert</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="211"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="231"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="212"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="233"/>
<source>+ Create new %1</source>
<translation>+ Neues %1objekt erstellen</translation>
</message>
@ -241,17 +241,17 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>HistoryBrowser</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="84"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="81"/>
<source>Redo &gt;</source>
<translation>Wiederherstellen &gt;</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="103"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="100"/>
<source>&gt; Now</source>
<translation>&gt; Aktueller Stand</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="132"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="129"/>
<source>&lt; Undo</source>
<translation>&lt; Rückgängig</translation>
</message>
@ -330,7 +330,7 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>ObjectCreationGrid</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml" line="41"/>
<source>+ Create new:</source>
<translation>+ Neu erstellen:</translation>
</message>
@ -338,37 +338,37 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>ObjectLists</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="73"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="74"/>
<source>Hide all %1</source>
<translation>Alle %1 ausblenden</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="73"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="74"/>
<source>Show all %1</source>
<translation>Alle %1 anzeigen</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="110"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="111"/>
<source>Hide %1 %2</source>
<translation>Ausblenden %1 %2</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="111"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="112"/>
<source>Show %1 %2</source>
<translation>Anzeigen %1 %2</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="149"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="158"/>
<source>Set %1 %2 position</source>
<translation>Position von %1 %2 einstellen</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="174"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="183"/>
<source>Delete %1 %2</source>
<translation>%1 %2 löschen</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="207"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="216"/>
<source>Pick new color for %1 %2</source>
<translation>Neue Farbe für %1 %2 auswählen</translation>
</message>
@ -487,16 +487,25 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>changelog</name>
<message>
<location filename="../helper.py" line="49"/>
<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="../helper.py" line="51"/>
<location filename="../helper.py" line="50"/>
<source>Could not fetch update: {}.</source>
<translation>Changelog konnte nicht geholt werden: {}.</translation>
</message>
</context>
<context>
<name>color</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.js" line="43"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.js" line="53"/>
<source>%1 %2&apos;s color changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>comment</name>
<message>
@ -530,6 +539,37 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<translation>%1: </translation>
</message>
</context>
<context>
<name>create</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.js" line="57"/>
<source>New %1 %2 created.</source>
<translation type="unfinished">Neu %1 %2 erstellt.</translation>
</message>
</context>
<context>
<name>delete</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/delete.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/delete.js" line="46"/>
<source>%1 %2 deleted.</source>
<translation type="unfinished">%1 %2 gelöscht.</translation>
</message>
</context>
<context>
<name>editproperty</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/editproperty.js" line="106"/>
<source>%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</source>
<translation type="unfinished">%1 von %2 %3 wurde von &quot;%4&quot; auf &quot;%5&quot; geändert.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/editproperty.js" line="113"/>
<source>%1 of %2 changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>function</name>
<message>
@ -569,35 +609,37 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<context>
<name>historylib</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="89"/>
<source>New %1 %2 created.</source>
<translation>Neu %1 %2 erstellt.</translation>
<translation type="vanished">Neu %1 %2 erstellt.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="110"/>
<source>%1 %2 deleted.</source>
<translation>%1 %2 gelöscht.</translation>
<translation type="vanished">%1 %2 gelöscht.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="188"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="266"/>
<source>%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</source>
<translation>%1 von %2 %3 wurde von &quot;%4&quot; auf &quot;%5&quot; geändert.</translation>
<translation type="vanished">%1 von %2 %3 wurde von &quot;%4&quot; auf &quot;%5&quot; geändert.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="217"/>
<source>%1 %2 shown.</source>
<translation>%1 %2 angezeigt.</translation>
<translation type="vanished">%1 %2 angezeigt.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="219"/>
<source>%1 %2 hidden.</source>
<translation>%1 %2 ausgeblendet.</translation>
<translation type="vanished">%1 %2 ausgeblendet.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="250"/>
<source>Name of %1 %2 changed to %3.</source>
<translation>Der Name von %1 %2 wurde in %3 geändert.</translation>
<translation type="vanished">Der Name von %1 %2 wurde in %3 geändert.</translation>
</message>
</context>
<context>
<name>name</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.js" line="51"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.js" line="57"/>
<source>%1 %2 renamed to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@ -895,9 +937,8 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<translation>Initialisierungswerte</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="267"/>
<source>color</source>
<translation>Farbe</translation>
<translation type="vanished">Farbe</translation>
</message>
</context>
<context>
@ -980,6 +1021,21 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<translation>Es konnten keine Aktualisierungsinformationen abgerufen werden:{}.</translation>
</message>
</context>
<context>
<name>visibility</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="52"/>
<source>%1 %2 shown.</source>
<translation type="unfinished">%1 %2 angezeigt.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="52"/>
<source>%1 %2 hidden.</source>
<translation type="unfinished">%1 %2 ausgeblendet.</translation>
</message>
</context>
<context>
<name>xcursor</name>
<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="111"/>
<location filename="../logarithmplotter.py" line="112"/>
<source>About LogarithmPlotter</source>
<translation>About LogarithmPlotter</translation>
</message>
@ -28,107 +28,107 @@
<context>
<name>AppMenuBar</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="38"/>
<source>&amp;File</source>
<translation>&amp;File</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="40"/>
<source>&amp;Load...</source>
<translation>&amp;Load</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="47"/>
<source>&amp;Save</source>
<translation>&amp;Save</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="52"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="53"/>
<source>Save &amp;As...</source>
<translation>Save &amp;As</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="60"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="61"/>
<source>&amp;Quit</source>
<translation>&amp;Quit</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="74"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="75"/>
<source>&amp;Edit</source>
<translation>&amp;Edit</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="76"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="77"/>
<source>&amp;Undo</source>
<translation>&amp;Undo</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="84"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="85"/>
<source>&amp;Redo</source>
<translation>&amp;Redo</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="93"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="94"/>
<source>&amp;Copy plot</source>
<translation>&amp;Copy plot</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="101"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="102"/>
<source>&amp;Create</source>
<translation>&amp;Create</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="123"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="124"/>
<source>&amp;Settings</source>
<translation>&amp;Settings</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="126"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="127"/>
<source>Check for updates on startup</source>
<translation>Check for updates on startup</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="136"/>
<source>Reset redo stack automaticly</source>
<translation>Reset redo stack automatically</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="144"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="145"/>
<source>&amp;Help</source>
<translation>&amp;Help</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="147"/>
<source>&amp;Source code</source>
<translation>&amp;Source code</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="151"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="152"/>
<source>&amp;Report a bug</source>
<translation>&amp;Report a bug</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="156"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="157"/>
<source>&amp;Changelog</source>
<translation>&amp;Changelog</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="161"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>&amp;Help translating!</source>
<translation>&amp;Help translating!</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="167"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="168"/>
<source>&amp;About</source>
<translation>&amp;About</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="176"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="177"/>
<source>Save unsaved changes?</source>
<translation>Save unsaved changes?</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="178"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="179"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</translation>
</message>
@ -179,8 +179,8 @@
<translation>name + value</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="211"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="231"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="212"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="233"/>
<source>+ Create new %1</source>
<translation>+ Create new %1</translation>
</message>
@ -241,17 +241,17 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>HistoryBrowser</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="84"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="81"/>
<source>Redo &gt;</source>
<translation>Redo &gt;</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="103"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="100"/>
<source>&gt; Now</source>
<translation>&gt; Now</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="132"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="129"/>
<source>&lt; Undo</source>
<translation>&lt; Undo</translation>
</message>
@ -330,7 +330,7 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>ObjectCreationGrid</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml" line="41"/>
<source>+ Create new:</source>
<translation>+ Create new:</translation>
</message>
@ -338,37 +338,37 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>ObjectLists</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="73"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="74"/>
<source>Hide all %1</source>
<translation>Hide all %1</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="73"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="74"/>
<source>Show all %1</source>
<translation>Show all %1</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="110"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="111"/>
<source>Hide %1 %2</source>
<translation>Hide %1 %2</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="111"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="112"/>
<source>Show %1 %2</source>
<translation>Show %1 %2</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="149"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="158"/>
<source>Set %1 %2 position</source>
<translation>Set %1 %2 position</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="174"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="183"/>
<source>Delete %1 %2</source>
<translation>Delete %1 %2</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="207"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="216"/>
<source>Pick new color for %1 %2</source>
<translation>Pick new color for %1 %2</translation>
</message>
@ -487,16 +487,25 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>changelog</name>
<message>
<location filename="../helper.py" line="49"/>
<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="../helper.py" line="51"/>
<location filename="../helper.py" line="50"/>
<source>Could not fetch update: {}.</source>
<translation>Could not fetch changelog: {}.</translation>
</message>
</context>
<context>
<name>color</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.js" line="43"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.js" line="53"/>
<source>%1 %2&apos;s color changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>comment</name>
<message>
@ -530,6 +539,37 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<translation>%1: </translation>
</message>
</context>
<context>
<name>create</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.js" line="57"/>
<source>New %1 %2 created.</source>
<translation type="unfinished">New %1 %2 created.</translation>
</message>
</context>
<context>
<name>delete</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/delete.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/delete.js" line="46"/>
<source>%1 %2 deleted.</source>
<translation type="unfinished">%1 %2 deleted.</translation>
</message>
</context>
<context>
<name>editproperty</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/editproperty.js" line="106"/>
<source>%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</source>
<translation type="unfinished">%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/editproperty.js" line="113"/>
<source>%1 of %2 changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>function</name>
<message>
@ -569,35 +609,37 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<context>
<name>historylib</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="89"/>
<source>New %1 %2 created.</source>
<translation>New %1 %2 created.</translation>
<translation type="vanished">New %1 %2 created.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="110"/>
<source>%1 %2 deleted.</source>
<translation>%1 %2 deleted.</translation>
<translation type="vanished">%1 %2 deleted.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="188"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="266"/>
<source>%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</source>
<translation>%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</translation>
<translation type="vanished">%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="217"/>
<source>%1 %2 shown.</source>
<translation>%1 %2 shown.</translation>
<translation type="vanished">%1 %2 shown.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="219"/>
<source>%1 %2 hidden.</source>
<translation>%1 %2 hidden.</translation>
<translation type="vanished">%1 %2 hidden.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="250"/>
<source>Name of %1 %2 changed to %3.</source>
<translation>Name of %1 %2 changed to %3.</translation>
<translation type="vanished">Name of %1 %2 changed to %3.</translation>
</message>
</context>
<context>
<name>name</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.js" line="51"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.js" line="57"/>
<source>%1 %2 renamed to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@ -895,9 +937,8 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<translation>Initialisation values</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="267"/>
<source>color</source>
<translation>Color</translation>
<translation type="vanished">Color</translation>
</message>
</context>
<context>
@ -980,6 +1021,21 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<translation>Could not fetch update information: {}.</translation>
</message>
</context>
<context>
<name>visibility</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="52"/>
<source>%1 %2 shown.</source>
<translation type="unfinished">%1 %2 shown.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="52"/>
<source>%1 %2 hidden.</source>
<translation type="unfinished">%1 %2 hidden.</translation>
</message>
</context>
<context>
<name>xcursor</name>
<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="111"/>
<location filename="../logarithmplotter.py" line="112"/>
<source>About LogarithmPlotter</source>
<translation>Sobre LogarithmPlotter</translation>
</message>
@ -28,107 +28,107 @@
<context>
<name>AppMenuBar</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="38"/>
<source>&amp;File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="40"/>
<source>&amp;Load...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="47"/>
<source>&amp;Save</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="52"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="53"/>
<source>Save &amp;As...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="60"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="61"/>
<source>&amp;Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="74"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="75"/>
<source>&amp;Edit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="76"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="77"/>
<source>&amp;Undo</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="84"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="85"/>
<source>&amp;Redo</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="93"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="94"/>
<source>&amp;Copy plot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="101"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="102"/>
<source>&amp;Create</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="123"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="124"/>
<source>&amp;Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="126"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="127"/>
<source>Check for updates on startup</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="136"/>
<source>Reset redo stack automaticly</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="144"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="145"/>
<source>&amp;Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="147"/>
<source>&amp;Source code</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="151"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="152"/>
<source>&amp;Report a bug</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="156"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="157"/>
<source>&amp;Changelog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="161"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>&amp;Help translating!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="167"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="168"/>
<source>&amp;About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="176"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="177"/>
<source>Save unsaved changes?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="178"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="179"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation type="unfinished"></translation>
</message>
@ -179,8 +179,8 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="211"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="231"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="212"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="233"/>
<source>+ Create new %1</source>
<translation type="unfinished"></translation>
</message>
@ -240,17 +240,17 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>HistoryBrowser</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="84"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="81"/>
<source>Redo &gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="103"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="100"/>
<source>&gt; Now</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="132"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="129"/>
<source>&lt; Undo</source>
<translation type="unfinished"></translation>
</message>
@ -329,7 +329,7 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>ObjectCreationGrid</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml" line="41"/>
<source>+ Create new:</source>
<translation type="unfinished"></translation>
</message>
@ -337,37 +337,37 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>ObjectLists</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="73"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="74"/>
<source>Hide all %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="73"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="74"/>
<source>Show all %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="110"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="111"/>
<source>Hide %1 %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="111"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="112"/>
<source>Show %1 %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="149"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="158"/>
<source>Set %1 %2 position</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="174"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="183"/>
<source>Delete %1 %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="207"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="216"/>
<source>Pick new color for %1 %2</source>
<translation type="unfinished"></translation>
</message>
@ -486,16 +486,25 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>changelog</name>
<message>
<location filename="../helper.py" line="49"/>
<location filename="../helper.py" line="48"/>
<source>Could not fetch changelog: Server error {}.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helper.py" line="51"/>
<location filename="../helper.py" line="50"/>
<source>Could not fetch update: {}.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>color</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.js" line="43"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.js" line="53"/>
<source>%1 %2&apos;s color changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>comment</name>
<message>
@ -529,6 +538,37 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>create</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.js" line="57"/>
<source>New %1 %2 created.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>delete</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/delete.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/delete.js" line="46"/>
<source>%1 %2 deleted.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>editproperty</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/editproperty.js" line="106"/>
<source>%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/editproperty.js" line="113"/>
<source>%1 of %2 changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>function</name>
<message>
@ -566,36 +606,11 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
</message>
</context>
<context>
<name>historylib</name>
<name>name</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="89"/>
<source>New %1 %2 created.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="110"/>
<source>%1 %2 deleted.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="188"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="266"/>
<source>%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="217"/>
<source>%1 %2 shown.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="219"/>
<source>%1 %2 hidden.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="250"/>
<source>Name of %1 %2 changed to %3.</source>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.js" line="51"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.js" line="57"/>
<source>%1 %2 renamed to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -893,11 +908,6 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<source>baseValues</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="267"/>
<source>color</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>repartition</name>
@ -979,6 +989,21 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>visibility</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="52"/>
<source>%1 %2 shown.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="52"/>
<source>%1 %2 hidden.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>xcursor</name>
<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="111"/>
<location filename="../logarithmplotter.py" line="112"/>
<source>About LogarithmPlotter</source>
<translation>À propos de LogarithmPlotter</translation>
</message>
@ -28,108 +28,108 @@
<context>
<name>AppMenuBar</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="38"/>
<source>&amp;File</source>
<translation>&amp;Fichier</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="40"/>
<source>&amp;Load...</source>
<translation>&amp;Ouvrir</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="47"/>
<source>&amp;Save</source>
<translation>&amp;Sauvegarder</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="52"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="53"/>
<source>Save &amp;As...</source>
<translation>Sauvegarde &amp;Sous</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="60"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="61"/>
<source>&amp;Quit</source>
<translation>&amp;Quitter</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="74"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="75"/>
<source>&amp;Edit</source>
<translation>&amp;Édition</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="76"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="77"/>
<source>&amp;Undo</source>
<translation>&amp;Annuler</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="84"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="85"/>
<source>&amp;Redo</source>
<translation>&amp;Rétablir</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="93"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="94"/>
<source>&amp;Copy plot</source>
<translation>&amp;Copier le graphe</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="101"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="102"/>
<source>&amp;Create</source>
<translation>&amp;Créer</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="123"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="124"/>
<source>&amp;Settings</source>
<translation>&amp;Paramètres</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="126"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="127"/>
<source>Check for updates on startup</source>
<translation>Vérifier la présence de mise à jour au démarrage</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="136"/>
<source>Reset redo stack automaticly</source>
<translatorcomment>Légèrement long, et pas forcément très compréhensible.</translatorcomment>
<translation>Réinitialiser la pile d&apos;action &quot;Rétablir&quot; automatiquement</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="144"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="145"/>
<source>&amp;Help</source>
<translation>&amp;Aide</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="147"/>
<source>&amp;Source code</source>
<translation>&amp;Code source</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="151"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="152"/>
<source>&amp;Report a bug</source>
<translation>&amp;Rapport de bug</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="156"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="157"/>
<source>&amp;Changelog</source>
<translation>&amp;Historique des modifications</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="161"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>&amp;Help translating!</source>
<translation>&amp;Aider à la traduction !</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="167"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="168"/>
<source>&amp;About</source>
<translation>&amp;À propos</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="176"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="177"/>
<source>Save unsaved changes?</source>
<translation>Sauvegarder les modifications ?</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="178"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="179"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation>Ce graphe contient des modifications non sauvegardées. En faisant cela, toutes les données non sauvegardées seront perdues. Continuer ?</translation>
</message>
@ -180,8 +180,8 @@
<translation>nom + valeur</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="211"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="231"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="212"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="233"/>
<source>+ Create new %1</source>
<translatorcomment>Traduction non litéralle pour éviter les problèmes de genre.</translatorcomment>
<translation>+ Créer un nouvel objet %1</translation>
@ -249,17 +249,17 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>HistoryBrowser</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="84"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="81"/>
<source>Redo &gt;</source>
<translation>Rétablir &gt;</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="103"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="100"/>
<source>&gt; Now</source>
<translation>&gt; État actuel</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="132"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="129"/>
<source>&lt; Undo</source>
<translation>&lt; Annuler</translation>
</message>
@ -338,7 +338,7 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>ObjectCreationGrid</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml" line="41"/>
<source>+ Create new:</source>
<translation>+ Créer :</translation>
</message>
@ -346,37 +346,37 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>ObjectLists</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="73"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="74"/>
<source>Hide all %1</source>
<translation>Cacher tous les %1</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="73"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="74"/>
<source>Show all %1</source>
<translation>Montrer tous les %1</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="110"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="111"/>
<source>Hide %1 %2</source>
<translation>Cacher l&apos;objet %1 %2</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="111"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="112"/>
<source>Show %1 %2</source>
<translation>Montrer l&apos;objet %1 %2</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="149"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="158"/>
<source>Set %1 %2 position</source>
<translation>Définir la position de l&apos;objet %1 %2</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="174"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="183"/>
<source>Delete %1 %2</source>
<translation>Supprimer l&apos;objet %1 %2</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="207"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="216"/>
<source>Pick new color for %1 %2</source>
<translation>Choisissez une nouvelle couleur pour %1 %2</translation>
</message>
@ -495,16 +495,25 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>changelog</name>
<message>
<location filename="../helper.py" line="49"/>
<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="../helper.py" line="51"/>
<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>
</context>
<context>
<name>color</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.js" line="43"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.js" line="53"/>
<source>%1 %2&apos;s color changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>comment</name>
<message>
@ -539,6 +548,37 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<translation>%1 : </translation>
</message>
</context>
<context>
<name>create</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.js" line="57"/>
<source>New %1 %2 created.</source>
<translation type="unfinished">Nouvel objet %1 %2 créé.</translation>
</message>
</context>
<context>
<name>delete</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/delete.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/delete.js" line="46"/>
<source>%1 %2 deleted.</source>
<translation type="unfinished">%1 %2 supprimé(e).</translation>
</message>
</context>
<context>
<name>editproperty</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/editproperty.js" line="106"/>
<source>%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</source>
<translation type="unfinished">%1 de %2 %3 modifiée de &quot;%4&quot; à &quot;%5&quot;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/editproperty.js" line="113"/>
<source>%1 of %2 changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>function</name>
<message>
@ -578,35 +618,37 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<context>
<name>historylib</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="89"/>
<source>New %1 %2 created.</source>
<translation>Nouvel objet %1 %2 créé.</translation>
<translation type="vanished">Nouvel objet %1 %2 créé.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="110"/>
<source>%1 %2 deleted.</source>
<translation>%1 %2 supprimé(e).</translation>
<translation type="vanished">%1 %2 supprimé(e).</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="188"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="266"/>
<source>%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</source>
<translation>%1 de %2 %3 modifiée de &quot;%4&quot; à &quot;%5&quot;.</translation>
<translation type="vanished">%1 de %2 %3 modifiée de &quot;%4&quot; à &quot;%5&quot;.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="217"/>
<source>%1 %2 shown.</source>
<translation>%1 %2 affiché(e).</translation>
<translation type="vanished">%1 %2 affiché(e).</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="219"/>
<source>%1 %2 hidden.</source>
<translation>%1 %2 cachée(e).</translation>
<translation type="vanished">%1 %2 cachée(e).</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="250"/>
<source>Name of %1 %2 changed to %3.</source>
<translation>Le nom de %1 %2 a é changé en %3.</translation>
<translation type="vanished">Le nom de %1 %2 a é changé en %3.</translation>
</message>
</context>
<context>
<name>name</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.js" line="51"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.js" line="57"/>
<source>%1 %2 renamed to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@ -904,9 +946,8 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<translation>Valeurs d&apos;initialisation</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="267"/>
<source>color</source>
<translation>Couleur</translation>
<translation type="vanished">Couleur</translation>
</message>
</context>
<context>
@ -989,6 +1030,21 @@ These settings can always be changed at any time from the &quot;Settings&quot; m
<translation>Impossible de récupérer les informations de mise à jour. {}.</translation>
</message>
</context>
<context>
<name>visibility</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="52"/>
<source>%1 %2 shown.</source>
<translation type="unfinished">%1 %2 affiché(e).</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="52"/>
<source>%1 %2 hidden.</source>
<translation type="unfinished">%1 %2 cachée(e).</translation>
</message>
</context>
<context>
<name>xcursor</name>
<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="111"/>
<location filename="../logarithmplotter.py" line="112"/>
<source>About LogarithmPlotter</source>
<translation>LogarithmPlotter névjegye</translation>
</message>
@ -28,107 +28,107 @@
<context>
<name>AppMenuBar</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="38"/>
<source>&amp;File</source>
<translation>&amp;Fájl</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="40"/>
<source>&amp;Load...</source>
<translation>&amp;Betöltés</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="47"/>
<source>&amp;Save</source>
<translation>&amp;Mentés</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="52"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="53"/>
<source>Save &amp;As...</source>
<translation>Me&amp;ntés másként</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="60"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="61"/>
<source>&amp;Quit</source>
<translation>&amp;Kilépés</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="74"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="75"/>
<source>&amp;Edit</source>
<translation>S&amp;zerkesztés</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="76"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="77"/>
<source>&amp;Undo</source>
<translation>&amp;Visszavonás</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="84"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="85"/>
<source>&amp;Redo</source>
<translation>&amp;Ismétlés</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="93"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="94"/>
<source>&amp;Copy plot</source>
<translation>Ábra &amp;solása</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="101"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="102"/>
<source>&amp;Create</source>
<translation>&amp;Létrehozás</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="123"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="124"/>
<source>&amp;Settings</source>
<translation>&amp;Beállítások</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="126"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="127"/>
<source>Check for updates on startup</source>
<translation>Frissítések keresése indításkor</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="136"/>
<source>Reset redo stack automaticly</source>
<translation>Ismétlési verem önműködő visszaállítása</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="144"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="145"/>
<source>&amp;Help</source>
<translation>&amp;Súgó</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="147"/>
<source>&amp;Source code</source>
<translation>&amp;Forráskód</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="151"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="152"/>
<source>&amp;Report a bug</source>
<translation>&amp;Hiba bejelentése</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="156"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="157"/>
<source>&amp;Changelog</source>
<translation>&amp;Változásnapló</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="161"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>&amp;Help translating!</source>
<translation>&amp;Segítség a fordításban!</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="167"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="168"/>
<source>&amp;About</source>
<translation>&amp;Névjegy</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="176"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="177"/>
<source>Save unsaved changes?</source>
<translation>Menti a változtatásokat?</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="178"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="179"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation>Ez az ábra nem mentett változtatásokat tartalmaz. Ezzel az összes nem mentett adat elveszik. Folytatja?</translation>
</message>
@ -179,8 +179,8 @@
<translation>név + érték</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="211"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="231"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="212"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="233"/>
<source>+ Create new %1</source>
<translation>+ Új %1 létrehozása</translation>
</message>
@ -241,17 +241,17 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<context>
<name>HistoryBrowser</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="84"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="81"/>
<source>Redo &gt;</source>
<translation>Ismétlés &gt;</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="103"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="100"/>
<source>&gt; Now</source>
<translation>&gt; Most</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="132"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="129"/>
<source>&lt; Undo</source>
<translation>&lt; Visszavonás</translation>
</message>
@ -330,7 +330,7 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<context>
<name>ObjectCreationGrid</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml" line="41"/>
<source>+ Create new:</source>
<translation>+ Új létrehozása:</translation>
</message>
@ -338,37 +338,37 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<context>
<name>ObjectLists</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="73"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="74"/>
<source>Hide all %1</source>
<translation>Összes %1 elrejtése</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="73"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="74"/>
<source>Show all %1</source>
<translation>Összes %1 megjelenítése</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="110"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="111"/>
<source>Hide %1 %2</source>
<translation>%1 %2 elrejtése</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="111"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="112"/>
<source>Show %1 %2</source>
<translation>%1 %2 megjelenítése</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="149"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="158"/>
<source>Set %1 %2 position</source>
<translation>%1 %2 helye beállítása</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="174"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="183"/>
<source>Delete %1 %2</source>
<translation>%1 %2 törlése</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="207"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="216"/>
<source>Pick new color for %1 %2</source>
<translation>Válasszon új színt a következőhöz: %1 %2</translation>
</message>
@ -487,16 +487,25 @@ 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="../helper.py" line="49"/>
<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="../helper.py" line="51"/>
<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>
</context>
<context>
<name>color</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.js" line="43"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.js" line="53"/>
<source>%1 %2&apos;s color changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>comment</name>
<message>
@ -530,6 +539,37 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<translation>%1: </translation>
</message>
</context>
<context>
<name>create</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.js" line="57"/>
<source>New %1 %2 created.</source>
<translation type="unfinished">Új %1 %2 létrehozva.</translation>
</message>
</context>
<context>
<name>delete</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/delete.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/delete.js" line="46"/>
<source>%1 %2 deleted.</source>
<translation type="unfinished">%1 %2 törölve.</translation>
</message>
</context>
<context>
<name>editproperty</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/editproperty.js" line="106"/>
<source>%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</source>
<translation type="unfinished">%1/%2 %3 megváltozott. Régi érték: %4, új érték: %5.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/editproperty.js" line="113"/>
<source>%1 of %2 changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>function</name>
<message>
@ -569,34 +609,32 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<context>
<name>historylib</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="89"/>
<source>New %1 %2 created.</source>
<translation>Új %1 %2 létrehozva.</translation>
<translation type="vanished">Új %1 %2 létrehozva.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="110"/>
<source>%1 %2 deleted.</source>
<translation>%1 %2 törölve.</translation>
<translation type="vanished">%1 %2 törölve.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="188"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="266"/>
<source>%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</source>
<translation>%1/%2 %3 megváltozott. Régi érték: %4, új érték: %5.</translation>
<translation type="vanished">%1/%2 %3 megváltozott. Régi érték: %4, új érték: %5.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="217"/>
<source>%1 %2 shown.</source>
<translation>%1 %2 megjelenítve.</translation>
<translation type="vanished">%1 %2 megjelenítve.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="219"/>
<source>%1 %2 hidden.</source>
<translation>%1 %2 rejtve.</translation>
<translation type="vanished">%1 %2 rejtve.</translation>
</message>
</context>
<context>
<name>name</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="250"/>
<source>Name of %1 %2 changed to %3.</source>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.js" line="51"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.js" line="57"/>
<source>%1 %2 renamed to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -894,11 +932,6 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<source>baseValues</source>
<translation>Kezdeményezési értékek</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="267"/>
<source>color</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>repartition</name>
@ -980,6 +1013,21 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
<translation>Nem sikerült lekérni a frissítési adatokat: {}.</translation>
</message>
</context>
<context>
<name>visibility</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="52"/>
<source>%1 %2 shown.</source>
<translation type="unfinished">%1 %2 megjelenítve.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="52"/>
<source>%1 %2 hidden.</source>
<translation type="unfinished">%1 %2 rejtve.</translation>
</message>
</context>
<context>
<name>xcursor</name>
<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="111"/>
<location filename="../logarithmplotter.py" line="112"/>
<source>About LogarithmPlotter</source>
<translation>Om</translation>
</message>
@ -28,107 +28,107 @@
<context>
<name>AppMenuBar</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="38"/>
<source>&amp;File</source>
<translation>&amp;Fil</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="40"/>
<source>&amp;Load...</source>
<translation>&amp;Last inn </translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="47"/>
<source>&amp;Save</source>
<translation>&amp;Lagre</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="52"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="53"/>
<source>Save &amp;As...</source>
<translation>Lagre &amp;som </translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="60"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="61"/>
<source>&amp;Quit</source>
<translation>&amp;Avslutt</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="74"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="75"/>
<source>&amp;Edit</source>
<translation>&amp;Rediger</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="76"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="77"/>
<source>&amp;Undo</source>
<translation>&amp;Angre</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="84"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="85"/>
<source>&amp;Redo</source>
<translation>&amp;Gjenta</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="93"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="94"/>
<source>&amp;Copy plot</source>
<translation>&amp;Kopier plott</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="101"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="102"/>
<source>&amp;Create</source>
<translation>&amp;Opprett</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="123"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="124"/>
<source>&amp;Settings</source>
<translation>&amp;Innstillinger</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="126"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="127"/>
<source>Check for updates on startup</source>
<translation>Se etter nye versjoner ved programstart</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="136"/>
<source>Reset redo stack automaticly</source>
<translation type="unfinished">Tilbakestill angrehistorikk automatisk</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="144"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="145"/>
<source>&amp;Help</source>
<translation>&amp;Hjelp</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="147"/>
<source>&amp;Source code</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="151"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="152"/>
<source>&amp;Report a bug</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="156"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="157"/>
<source>&amp;Changelog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="161"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>&amp;Help translating!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="167"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="168"/>
<source>&amp;About</source>
<translation>&amp;Om</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="176"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="177"/>
<source>Save unsaved changes?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="178"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="179"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation type="unfinished"></translation>
</message>
@ -179,8 +179,8 @@
<translation>navn + veri</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="211"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="231"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="212"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="233"/>
<source>+ Create new %1</source>
<translation>+ Opprett nytt %1</translation>
</message>
@ -241,17 +241,17 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context>
<name>HistoryBrowser</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="84"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="81"/>
<source>Redo &gt;</source>
<translation>Angre &gt;</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="103"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="100"/>
<source>&gt; Now</source>
<translation>&gt; </translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="132"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="129"/>
<source>&lt; Undo</source>
<translation>&lt; Angre</translation>
</message>
@ -330,7 +330,7 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context>
<name>ObjectCreationGrid</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml" line="41"/>
<source>+ Create new:</source>
<translation>+ Opprett ny:</translation>
</message>
@ -338,37 +338,37 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context>
<name>ObjectLists</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="73"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="74"/>
<source>Hide all %1</source>
<translation>Skjul alle %1</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="73"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="74"/>
<source>Show all %1</source>
<translation>Vis alle %1</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="110"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="111"/>
<source>Hide %1 %2</source>
<translation>Skjul %1 %2</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="111"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="112"/>
<source>Show %1 %2</source>
<translation>Vis %1 %2</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="149"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="158"/>
<source>Set %1 %2 position</source>
<translation type="unfinished">Sett %1 %2 posisjon</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="174"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="183"/>
<source>Delete %1 %2</source>
<translation>Slett %1 %2</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="207"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="216"/>
<source>Pick new color for %1 %2</source>
<translation>Velg ny farge for %1 %2</translation>
</message>
@ -487,16 +487,25 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context>
<name>changelog</name>
<message>
<location filename="../helper.py" line="49"/>
<location filename="../helper.py" line="48"/>
<source>Could not fetch changelog: Server error {}.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helper.py" line="51"/>
<location filename="../helper.py" line="50"/>
<source>Could not fetch update: {}.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>color</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.js" line="43"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.js" line="53"/>
<source>%1 %2&apos;s color changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>comment</name>
<message>
@ -530,6 +539,37 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>create</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.js" line="57"/>
<source>New %1 %2 created.</source>
<translation type="unfinished">Ny %1 %2 opprettet.</translation>
</message>
</context>
<context>
<name>delete</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/delete.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/delete.js" line="46"/>
<source>%1 %2 deleted.</source>
<translation type="unfinished">%1 %2 slettet.</translation>
</message>
</context>
<context>
<name>editproperty</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/editproperty.js" line="106"/>
<source>%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</source>
<translation type="unfinished">%1 av %2 %3 endret fra «%4» til «%5».</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/editproperty.js" line="113"/>
<source>%1 of %2 changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>function</name>
<message>
@ -569,34 +609,32 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<context>
<name>historylib</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="89"/>
<source>New %1 %2 created.</source>
<translation>Ny %1 %2 opprettet.</translation>
<translation type="vanished">Ny %1 %2 opprettet.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="110"/>
<source>%1 %2 deleted.</source>
<translation>%1 %2 slettet.</translation>
<translation type="vanished">%1 %2 slettet.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="188"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="266"/>
<source>%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</source>
<translation>%1 av %2 %3 endret fra «%4» til «%5».</translation>
<translation type="vanished">%1 av %2 %3 endret fra «%4» til «%5».</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="217"/>
<source>%1 %2 shown.</source>
<translation>%1 %2 vist.</translation>
<translation type="vanished">%1 %2 vist.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="219"/>
<source>%1 %2 hidden.</source>
<translation>%1 %2 skjult.</translation>
<translation type="vanished">%1 %2 skjult.</translation>
</message>
</context>
<context>
<name>name</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="250"/>
<source>Name of %1 %2 changed to %3.</source>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.js" line="51"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.js" line="57"/>
<source>%1 %2 renamed to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -894,11 +932,6 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<source>baseValues</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="267"/>
<source>color</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>repartition</name>
@ -980,6 +1013,21 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<translation>Kunne ikke hente info om hvorvidt det er nye versjoner: {}.</translation>
</message>
</context>
<context>
<name>visibility</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="52"/>
<source>%1 %2 shown.</source>
<translation type="unfinished">%1 %2 vist.</translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="52"/>
<source>%1 %2 hidden.</source>
<translation type="unfinished">%1 %2 skjult.</translation>
</message>
</context>
<context>
<name>xcursor</name>
<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="111"/>
<location filename="../logarithmplotter.py" line="112"/>
<source>About LogarithmPlotter</source>
<translation type="unfinished"></translation>
</message>
@ -28,107 +28,107 @@
<context>
<name>AppMenuBar</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="38"/>
<source>&amp;File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="40"/>
<source>&amp;Load...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="47"/>
<source>&amp;Save</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="52"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="53"/>
<source>Save &amp;As...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="60"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="61"/>
<source>&amp;Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="74"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="75"/>
<source>&amp;Edit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="76"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="77"/>
<source>&amp;Undo</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="84"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="85"/>
<source>&amp;Redo</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="93"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="94"/>
<source>&amp;Copy plot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="101"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="102"/>
<source>&amp;Create</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="123"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="124"/>
<source>&amp;Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="126"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="127"/>
<source>Check for updates on startup</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="136"/>
<source>Reset redo stack automaticly</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="144"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="145"/>
<source>&amp;Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="147"/>
<source>&amp;Source code</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="151"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="152"/>
<source>&amp;Report a bug</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="156"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="157"/>
<source>&amp;Changelog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="161"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="162"/>
<source>&amp;Help translating!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="167"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="168"/>
<source>&amp;About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="176"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="177"/>
<source>Save unsaved changes?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="178"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="179"/>
<source>This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue?</source>
<translation type="unfinished"></translation>
</message>
@ -179,8 +179,8 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="211"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="231"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="212"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/EditorDialog.qml" line="233"/>
<source>+ Create new %1</source>
<translation type="unfinished"></translation>
</message>
@ -240,17 +240,17 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>HistoryBrowser</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="84"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="81"/>
<source>Redo &gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="103"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="100"/>
<source>&gt; Now</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="132"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="129"/>
<source>&lt; Undo</source>
<translation type="unfinished"></translation>
</message>
@ -329,7 +329,7 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>ObjectCreationGrid</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml" line="41"/>
<source>+ Create new:</source>
<translation type="unfinished"></translation>
</message>
@ -337,37 +337,37 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>ObjectLists</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="73"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="74"/>
<source>Hide all %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="73"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="74"/>
<source>Show all %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="110"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="111"/>
<source>Hide %1 %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="111"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="112"/>
<source>Show %1 %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="149"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="158"/>
<source>Set %1 %2 position</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="174"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="183"/>
<source>Delete %1 %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="207"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml" line="216"/>
<source>Pick new color for %1 %2</source>
<translation type="unfinished"></translation>
</message>
@ -486,16 +486,25 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<context>
<name>changelog</name>
<message>
<location filename="../helper.py" line="49"/>
<location filename="../helper.py" line="48"/>
<source>Could not fetch changelog: Server error {}.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../helper.py" line="51"/>
<location filename="../helper.py" line="50"/>
<source>Could not fetch update: {}.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>color</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.js" line="43"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.js" line="53"/>
<source>%1 %2&apos;s color changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>comment</name>
<message>
@ -529,6 +538,37 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>create</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.js" line="53"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.js" line="57"/>
<source>New %1 %2 created.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>delete</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/delete.js" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/delete.js" line="46"/>
<source>%1 %2 deleted.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>editproperty</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/editproperty.js" line="106"/>
<source>%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/editproperty.js" line="113"/>
<source>%1 of %2 changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>function</name>
<message>
@ -566,36 +606,11 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
</message>
</context>
<context>
<name>historylib</name>
<name>name</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="89"/>
<source>New %1 %2 created.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="110"/>
<source>%1 %2 deleted.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="188"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="266"/>
<source>%1 of %2 %3 changed from &quot;%4&quot; to &quot;%5&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="217"/>
<source>%1 %2 shown.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="219"/>
<source>%1 %2 hidden.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="250"/>
<source>Name of %1 %2 changed to %3.</source>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.js" line="51"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.js" line="57"/>
<source>%1 %2 renamed to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -893,11 +908,6 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<source>baseValues</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/historylib.js" line="267"/>
<source>color</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>repartition</name>
@ -979,6 +989,21 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>visibility</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="52"/>
<source>%1 %2 shown.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.js" line="52"/>
<source>%1 %2 hidden.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>xcursor</name>
<message>

View file

@ -146,12 +146,12 @@ MenuBar {
Action {
text: qsTr("&Source code")
icon.name: 'software-sources'
onTriggered: Helper.openUrl("https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues")
onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues")
}
Action {
text: qsTr("&Report a bug")
icon.name: 'tools-report-bug'
onTriggered: Helper.openUrl("https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues")
onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues")
}
Action {
text: qsTr("&Changelog")
@ -161,7 +161,7 @@ MenuBar {
Action {
text: qsTr("&Help translating!")
icon.name: 'translator'
onTriggered: Helper.openUrl("https://hosted.weblate.org/engage/logarithmplotter/")
onTriggered: Qt.openUrlExternally("https://hosted.weblate.org/engage/logarithmplotter/")
}
MenuSeparator { }
Action {

View file

@ -20,6 +20,7 @@ import QtQuick 2.12
import QtQml 2.12
import "../js/objects.js" as Objects
import "../js/historylib.js" as HistoryLib
import "../js/history/common.js" as HistoryCommon
/*!
\qmltype History
@ -209,5 +210,6 @@ Item {
Component.onCompleted: {
HistoryLib.history = historyObj
HistoryCommon.themeTextColor = sysPalette.windowText
}
}

View file

@ -43,11 +43,6 @@ ScrollView {
*/
property int actionWidth: width-20
/*!
\qmlproperty int HistoryBrowser::actionHeight
Height of the actions.
*/
property int actionHeight: 40
/*!
\qmlproperty int HistoryBrowser::darkTheme
true when the system is running with a dark theme, false otherwise.
@ -72,7 +67,7 @@ ScrollView {
HistoryItem {
id: redoButton
width: actionWidth
height: actionHeight
//height: actionHeight
isRedo: true
idx: index
darkTheme: historyBrowser.darkTheme
@ -96,7 +91,7 @@ ScrollView {
anchors.right: parent.right
anchors.top: redoColumn.bottom
width: actionWidth
height: actionHeight
height: 40
color: sysPalette.highlight
Text {
anchors.verticalCenter: parent.verticalCenter
@ -120,7 +115,7 @@ ScrollView {
HistoryItem {
id: undoButton
width: actionWidth
height: actionHeight
//height: actionHeight
isRedo: false
idx: index
darkTheme: historyBrowser.darkTheme

View file

@ -59,13 +59,27 @@ Button {
*/
readonly property var historyAction: isRedo ? history.redoStack[idx] : history.undoStack[history.undoCount-idx-1]
/*!
\qmlproperty int HistoryItem::actionHeight
Base height of the action.
*/
readonly property int actionHeight: 40
/*!
\qmlproperty color HistoryItem::clr
Color of the history action.
*/
readonly property color clr: historyAction.color(darkTheme)
height: Math.max(actionHeight, label.height + 15)
LinearGradient {
anchors.fill: parent
start: Qt.point(0, 0)
end: Qt.point(parent.width, 0)
gradient: Gradient {
GradientStop { position: 0.1; color: "transparent" }
GradientStop { position: 1.5; color: historyAction.color(darkTheme) }
GradientStop { position: 1.5; color: clr }
}
}
@ -74,7 +88,7 @@ Button {
width: 18
height: 18
anchors.left: parent.left
anchors.leftMargin: (parent.height-height)/2
anchors.leftMargin: 6
anchors.verticalCenter: parent.verticalCenter
color: sysPalette.windowText
@ -85,19 +99,21 @@ Button {
id: label
anchors.left: icon.right
anchors.right: parent.right
anchors.leftMargin: 4
anchors.rightMargin: (parent.height-height)/2
anchors.leftMargin: 6
anchors.rightMargin: 20
anchors.verticalCenter: parent.verticalCenter
font.pixelSize: 14
text: historyAction.getReadableString()
text: historyAction.getHTMLString().replace(/\$\{tag_color\}/g, clr)
textFormat: Text.RichText
clip: true
wrapMode: Text.WordWrap
}
//text: historyAction.getReadableString()
ToolTip.visible: hovered
ToolTip.delay: 200
ToolTip.text: label.text
ToolTip.text: historyAction.getReadableString()
onClicked: {
if(isRedo)
@ -105,6 +121,14 @@ Button {
else
history.undoMultipleDefered(+idx+1)
}
Rectangle {
color: sysPalette. window
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
height: 1
}
}

View file

@ -334,7 +334,7 @@ ApplicationWindow {
Action {
text: qsTr("&Update LogarithmPlotter")
icon.name: 'update'
onTriggered: Helper.openUrl("https://dev.apps.ad5001.eu/logarithmplotter")
onTriggered: Qt.openUrlExternally("https://dev.apps.ad5001.eu/logarithmplotter")
}
}

View file

@ -215,9 +215,8 @@ ListView {
color: obj.color
title: qsTr("Pick new color for %1 %2").arg(Objects.types[objType].displayType()).arg(obj.name)
onAccepted: {
history.addToHistory(new HistoryLib.EditedProperty(
obj.name, objType, "color",
obj.color, color.toString()
history.addToHistory(new HistoryLib.ColorChanged(
obj.name, objType, obj.color, color.toString()
))
obj.color = color.toString()
controlRow.obj = Objects.currentObjects[objType][index]

View file

@ -98,7 +98,7 @@ This program is free software: you can redistribute it and/or modify it under th
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<br>
<br>
You should have received a copy of the GNU General Public License along with this program. If not, see <a href='http://www.gnu.org/licenses/'>http://www.gnu.org/licenses/</a>."
onLinkActivated: Helper.openUrl(link)
onLinkActivated: Qt.openUrlExternally(link)
}
Button {
@ -108,6 +108,6 @@ You should have received a copy of the GNU General Public License along with thi
anchors.topMargin: 10
text: qsTr('Report a bug')
icon.name: 'bug'
onClicked: Helper.openUrl('https://git.ad5001.eu/Ad5001/LogarithmPlotter')
onClicked: Qt.openUrlExternally('https://git.ad5001.eu/Ad5001/LogarithmPlotter')
}
}

View file

@ -69,7 +69,7 @@ Popup {
textFormat: TextEdit.MarkdownText
text: qsTr("Fetching changelog...")
onLinkActivated: Helper.openUrl(link)
onLinkActivated: Qt.openUrlExternally(link)
}
}

View file

@ -137,11 +137,8 @@ Popup {
}
}
Timer {
running: Helper.getSetting("last_install_greet") != Helper.getVersion()
repeat: false
interval: 50
onTriggered: greetingPopup.open()
Component.onCompleted: if(Helper.getSetting("last_install_greet") != Helper.getVersion()) {
greetingPopup.open()
}
onClosed: Helper.setSetting("last_install_greet", Helper.getVersion())

View file

@ -0,0 +1,62 @@
/**
* LogarithmPlotter - 2D plotter software to make BODE plots, sequences and repartition functions.
* Copyright (C) 2022 Ad5001
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
.pragma library
.import "editproperty.js" as EP
.import "../objects.js" as Objects
class ColorChanged extends EP.EditedProperty {
// Action used everytime when an object's color is changed
type(){return 'ColorChanged'}
icon(){return 'appearance'}
constructor(targetName = "", targetType = "Point", oldColor = "black", newColor = "white") {
super(targetName, targetType, "color", oldColor, newColor)
}
export() {
return [this.targetName, this.targetType, this.previousValue, this.newValue]
}
color(darkVer=false){return darkVer ? 'purple' : 'plum'}
getReadableString() {
return qsTr("%1 %2's color changed from %3 to %4.")
.arg(Objects.types[this.targetType].displayType()).arg(this.targetName)
.arg(this.previousValue).arg(this.newValue)
}
formatColor(color) {
return `<span style="color: ${color}; font-family: monospace; padding: 2px;">██</span>`
}
getHTMLString() {
return qsTr("%1 %2's color changed from %3 to %4.")
.arg(Objects.types[this.targetType].displayType())
.arg('<b style="font-size: 15px;">&nbsp;' + this.targetName + "&nbsp;</b>")
.arg(this.formatColor(this.previousValue)).arg(this.formatColor(this.newValue))
}
}

View file

@ -18,6 +18,8 @@
.pragma library
var themeTextColor;
class Action {
// Type of the action done.
@ -39,7 +41,18 @@ class Action {
return [this.targetName, this.targetType]
}
// String used in the toolkit
getReadableString() {
return 'Unknown action'
}
// Returns an HTML tag containing the icon of a type
getIconRichText(type) {
return `<img source="../icons/objects/${type}.svg" style="color: ${themeTextColor};" width=18 height=18></img>`
}
// String used in the preview
getHTMLString() {
return this.getReadableString()
}
}

View file

@ -0,0 +1,62 @@
/**
* LogarithmPlotter - 2D plotter software to make BODE plots, sequences and repartition functions.
* Copyright (C) 2022 Ad5001
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
.pragma library
.import "../objects.js" as Objects
.import "common.js" as C
class CreateNewObject extends C.Action {
// Action used for the creation of an object
type(){return 'CreateNewObject'}
icon(){return 'create'}
color(darkVer=false){return darkVer ? 'green' : 'lime'}
constructor(targetName = "", targetType = "Point", properties = []) {
super(targetName, targetType)
this.targetProperties = properties
}
undo() {
var targetIndex = Objects.getObjectsName(this.targetType).indexOf(this.targetName)
Objects.currentObjects[this.targetType][targetIndex].delete()
Objects.currentObjects[this.targetType].splice(targetIndex, 1)
}
redo() {
Objects.createNewRegisteredObject(this.targetType, this.targetProperties)
}
export() {
return [this.targetName, this.targetType, this.targetProperties]
}
getReadableString() {
return qsTr("New %1 %2 created.").arg(Objects.types[this.targetType].displayType()).arg(this.targetName)
}
getHTMLString() {
return qsTr("New %1 %2 created.")
.arg(Objects.types[this.targetType].displayType())
.arg('<b style="font-size: 15px;">' + this.targetName + "</b>")
}
}

View file

@ -0,0 +1,50 @@
/**
* LogarithmPlotter - 2D plotter software to make BODE plots, sequences and repartition functions.
* Copyright (C) 2022 Ad5001
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
.pragma library
.import "../objects.js" as Objects
.import "create.js" as Create
class DeleteObject extends Create.CreateNewObject {
// Action used at the deletion of an object. Basicly the same thing as creating a new object, except Redo & Undo are reversed.
type(){return 'DeleteObject'}
icon(){return 'delete'}
color(darkVer=false){return darkVer ? 'darkred' : 'salmon'}
undo() {
super.redo()
}
redo() {
super.undo()
}
getReadableString() {
return qsTr("%1 %2 deleted.").arg(Objects.types[this.targetType].displayType()).arg(this.targetName)
}
getHTMLString() {
return qsTr("%1 %2 deleted.")
.arg(Objects.types[this.targetType].displayType())
.arg('<b style="font-size: 15px;">' + this.targetName + "</b>")
}
}

View file

@ -0,0 +1,121 @@
/**
* LogarithmPlotter - 2D plotter software to make BODE plots, sequences and repartition functions.
* Copyright (C) 2022 Ad5001
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
.pragma library
.import "../objects.js" as Objects
.import "../mathlib.js" as MathLib
.import "../objs/common.js" as Common
.import "common.js" as C
class EditedProperty extends C.Action {
// Action used everytime an object's property has been changed
type(){return 'EditedProperty'}
icon(){return 'modify'}
color(darkVer=false){
return darkVer ? 'darkslateblue' : 'cyan';
}
constructor(targetName = "", targetType = "Point", targetProperty = "visible", previousValue = false, newValue = true, valueIsExpressionNeedingImport = false) {
super(targetName, targetType)
this.targetProperty = targetProperty
this.targetPropertyReadable = qsTranslate("prop", this.targetProperty)
this.previousValue = previousValue
this.newValue = newValue
this.propertyType = Objects.types[targetType].properties()[targetProperty]
if(valueIsExpressionNeedingImport) {
if(this.propertyType == "Expression") {
this.previousValue = new MathLib.Expression(this.previousValue);
this.newValue = new MathLib.Expression(this.newValue);
} else if(this.propertyType == "Domain") {
this.previousValue = MathLib.parseDomain(this.previousValue);
this.newValue = MathLib.parseDomain(this.newValue);
} else {
// Objects
this.previousValue = Objects.getObjectByName(this.previousValue);
this.newValue = Objects.getObjectByName(this.newValue);
}
}
this.setReadableValues()
}
undo() {
Objects.getObjectByName(this.targetName, this.targetType)[this.targetProperty] = this.previousValue
}
redo() {
Objects.getObjectByName(this.targetName, this.targetType)[this.targetProperty] = this.newValue
}
export() {
if(this.previousValue instanceof MathLib.Expression) {
return [this.targetName, this.targetType, this.targetProperty, this.previousValue.toEditableString(), this.newValue.toEditableString(), true]
} else if(this.previousValue instanceof Common.DrawableObject) {
return [this.targetName, this.targetType, this.targetProperty, this.previousValue.name, this.newValue.name, true]
} else {
return [this.targetName, this.targetType, this.targetProperty, this.previousValue, this.newValue, false]
}
}
setReadableValues() {
this.prev = "";
this.next = "";
if(this.propertyType instanceof Object) {
switch(this.propertyType.type) {
case "Enum":
this.prev = this.propertyType.translatedValues[this.propertyType.values.indexOf(this.previousValue)]
this.next = this.propertyType.translatedValues[this.propertyType.values.indexOf(this.newValue)]
break;
case "ObjectType":
this.prev = this.previousValue.name
this.next = this.newValue.name
break;
case "List":
this.prev = this.previousValue.join(",")
this.next = this.newValue.name.join(",")
break;
case "Dict":
this.prev = JSON.stringify(this.previousValue).replace("'", "\\'").replace('"', "'")
this.next = JSON.stringify(this.newValue).replace("'", "\\'").replace('"', "'")
break;
}
} else {
this.prev = this.previousValue == null ? "null" : this.previousValue.toString()
this.next = this.newValue == null ? "null" : this.newValue.toString()
}
}
getReadableString() {
return qsTr('%1 of %2 %3 changed from "%4" to "%5".')
.arg(this.targetPropertyReadable)
.arg(Objects.types[this.targetType].displayType())
.arg(this.targetName).arg(this.prev).arg(this.next)
}
getHTMLString() {
return qsTr('%1 of %2 changed from %3 to %4.')
.arg(this.targetPropertyReadable)
.arg('<b style="font-size: 15px;">&nbsp;' + this.targetName + '&nbsp;</b>')
.arg('<tt style="background: rgba(128,128,128,0.1);">&nbsp;'+this.prev+'&nbsp;</tt>')
.arg('<tt style="background: rgba(128,128,128,0.1);">&nbsp;'+this.next+'</tt>')
// .arg('<b style="font-size: 15px;">' + Objects.types[this.targetType].displayType())
}
}

View file

@ -0,0 +1,63 @@
/**
* LogarithmPlotter - 2D plotter software to make BODE plots, sequences and repartition functions.
* Copyright (C) 2022 Ad5001
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
.pragma library
.import "editproperty.js" as EP
.import "../objects.js" as Objects
class NameChanged extends EP.EditedProperty {
// Action used everytime an object's property has been changed
type(){return 'NameChanged'}
icon(){return 'name'}
color(darkVer=false){return darkVer ? 'darkorange' : 'orange'}
constructor(targetName = "", targetType = "Point", newName = "") {
super(targetName, targetType, "name", targetName, newName)
}
export() {
return [this.targetName, this.targetType, this.newValue]
}
undo() {
Objects.getObjectByName(this.newValue, this.targetType)['name'] = this.previousValue
}
redo() {
Objects.getObjectByName(this.previousValue, this.targetType)['name'] = this.newValue
}
getReadableString() {
return qsTr('%1 %2 renamed to %3.')
.arg(Objects.types[this.targetType].displayType())
.arg(this.targetName).arg(this.newValue)
}
getHTMLString() {
return qsTr('%1 %2 renamed to %3.')
.arg(Objects.types[this.targetType].displayType())
.arg('<b style="font-size: 15px;">' + this.targetName + "</b>").arg('<b>'+this.newValue+'</b>')
}
}

View file

@ -0,0 +1,57 @@
/**
* LogarithmPlotter - 2D plotter software to make BODE plots, sequences and repartition functions.
* Copyright (C) 2022 Ad5001
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
.pragma library
.import "editproperty.js" as EP
.import "../objects.js" as Objects
class EditedVisibility extends EP.EditedProperty {
// Action used when an object's shown or hidden.
type(){return 'EditedVisibility'}
icon(){return 'visibility'}
color(darkVer=false){
return this.newValue ?
(darkVer ? 'darkgray' : 'whitesmoke') :
(darkVer ? 'dimgray' : 'lightgray')
}
constructor(targetName = "", targetType = "Point", newValue = true) {
super(targetName, targetType, "visible", !newValue, newValue)
}
export() {
return [this.targetName, this.targetType, this.newValue]
}
getReadableString() {
return (this.newValue ? qsTr('%1 %2 shown.') : qsTr('%1 %2 hidden.'))
.arg(Objects.types[this.targetType].displayType())
.arg(this.targetName)
}
getHTMLString() {
return (this.newValue ? qsTr('%1 %2 shown.') : qsTr('%1 %2 hidden.'))
.arg(Objects.types[this.targetType].displayType())
.arg('<b style="font-size: 15px;">' + this.targetName + "</b>")
}
}

View file

@ -20,255 +20,24 @@
// Each type of event is repertoried as an action that can be listed for everything that's undoable.
.pragma library
.import "objects.js" as Objects
.import "parameters.js" as P
.import "objs/common.js" as Common
.import "utils.js" as Utils
.import "mathlib.js" as MathLib
.import "history/common.js" as Common
.import "history/create.js" as Create
.import "history/delete.js" as Delete
.import "history/editproperty.js" as EP
.import "history/visibility.js" as V
.import "history/name.js" as Name
.import "history/color.js" as Color
var history = null;
class Action {
// Type of the action done.
type(){return 'Unknown'}
// Icon of the action to be used in history browser.
icon(){return 'unknown'}
// Color associated with the action.
color(darkVer=false){return darkVer ? 'black' : 'white'}
// TargetName is the name of the object that's targeted by the event.
constructor(targetName = "", targetType = "Point") {
this.targetName = targetName
this.targetType = targetType
}
undo() {}
redo() {}
export() {
return [this.targetName, this.targetType]
}
getReadableString() {
return 'Unknown action'
}
}
class CreateNewObject extends Action {
// Action used for the creation of an object
type(){return 'CreateNewObject'}
icon(){return 'create'}
color(darkVer=false){return darkVer ? 'green' : 'lime'}
constructor(targetName = "", targetType = "Point", properties = []) {
super(targetName, targetType)
this.targetProperties = properties
}
undo() {
var targetIndex = Objects.getObjectsName(this.targetType).indexOf(this.targetName)
Objects.currentObjects[this.targetType][targetIndex].delete()
Objects.currentObjects[this.targetType].splice(targetIndex, 1)
}
redo() {
Objects.createNewRegisteredObject(this.targetType, this.targetProperties)
}
export() {
return [this.targetName, this.targetType, this.targetProperties]
}
getReadableString() {
return qsTr("New %1 %2 created.").arg(Objects.types[this.targetType].displayType()).arg(this.targetName)
}
}
class DeleteObject extends CreateNewObject {
// Action used at the deletion of an object. Basicly the same thing as creating a new object, except Redo & Undo are reversed.
type(){return 'DeleteObject'}
icon(){return 'delete'}
color(darkVer=false){return darkVer ? 'darkred' : 'salmon'}
undo() {
super.redo()
}
redo() {
super.undo()
}
getReadableString() {
return qsTr("%1 %2 deleted.").arg(Objects.types[this.targetType].displayType()).arg(this.targetName)
}
}
class EditedProperty extends Action {
// Action used everytime an object's property has been changed
type(){return 'EditedProperty'}
icon(){return 'modify'}
color(darkVer=false){return darkVer ? 'darkslateblue' : 'cyan'}
constructor(targetName = "", targetType = "Point", targetProperty = "visible", previousValue = false, newValue = true, valueIsExpressionNeedingImport = false) {
super(targetName, targetType)
this.targetProperty = targetProperty
this.targetPropertyReadable = qsTranslate("prop", this.targetProperty)
this.previousValue = previousValue
this.newValue = newValue
this.propertyType = Objects.types[targetType].properties()[targetProperty]
if(valueIsExpressionNeedingImport) {
if(this.propertyType == "Expression") {
this.previousValue = new MathLib.Expression(this.previousValue);
this.newValue = new MathLib.Expression(this.newValue);
} else if(this.propertyType == "Domain") {
this.previousValue = MathLib.parseDomain(this.previousValue);
this.newValue = MathLib.parseDomain(this.newValue);
} else {
// Objects
this.previousValue = Objects.getObjectByName(this.previousValue);
this.newValue = Objects.getObjectByName(this.newValue);
}
}
}
undo() {
Objects.getObjectByName(this.targetName, this.targetType)[this.targetProperty] = this.previousValue
}
redo() {
Objects.getObjectByName(this.targetName, this.targetType)[this.targetProperty] = this.newValue
}
export() {
if(this.previousValue instanceof MathLib.Expression) {
return [this.targetName, this.targetType, this.targetProperty, this.previousValue.toEditableString(), this.newValue.toEditableString(), true]
} else if(this.previousValue instanceof Common.DrawableObject) {
return [this.targetName, this.targetType, this.targetProperty, this.previousValue.name, this.newValue.name, true]
} else {
return [this.targetName, this.targetType, this.targetProperty, this.previousValue, this.newValue, false]
}
}
getReadableString() {
let prev = "";
let next = "";
if(this.propertyType instanceof Object) {
switch(this.propertyType.type) {
case "Enum":
prev = this.propertyType.translatedValues[this.propertyType.values.indexOf(this.previousValue)]
next = this.propertyType.translatedValues[this.propertyType.values.indexOf(this.newValue)]
break;
case "ObjectType":
prev = this.previousValue.name
next = this.newValue.name
break;
case "List":
prev = this.previousValue.join(",")
next = this.newValue.name.join(",")
break;
case "Dict":
prev = JSON.stringify(this.previousValue).replace("'", "\\'").replace('"', "'")
next = JSON.stringify(this.newValue).replace("'", "\\'").replace('"', "'")
break;
}
} else {
prev = this.previousValue == null ? "null" : this.previousValue.toString()
next = this.newValue == null ? "null" : this.newValue.toString()
}
return qsTr('%1 of %2 %3 changed from "%4" to "%5".')
.arg(this.targetPropertyReadable)
.arg(Objects.types[this.targetType].displayType())
.arg(this.targetName).arg(prev).arg(next)
}
}
class EditedVisibility extends EditedProperty {
// Action used everytime an object's property has been changed
type(){return 'EditedVisibility'}
icon(){return 'visibility'}
color(darkVer=false){
return this.newValue ?
(darkVer ? 'darkgray' : 'whitesmoke') :
(darkVer ? 'dimgray' : 'lightgray')
}
constructor(targetName = "", targetType = "Point", newValue = true) {
super(targetName, targetType, "visible", !newValue, newValue)
}
export() {
return [this.targetName, this.targetType, this.newValue]
}
getReadableString() {
if(this.newValue) {
return qsTr('%1 %2 shown.').arg(this.targetType).arg(this.targetName)
} else {
return qsTr('%1 %2 hidden.').arg(this.targetType).arg(this.targetName)
}
}
}
class NameChanged extends EditedProperty {
// Action used everytime an object's property has been changed
type(){return 'NameChanged'}
icon(){return 'name'}
color(darkVer=false){return darkVer ? 'darkorange' : 'orange'}
constructor(targetName = "", targetType = "Point", newName = "") {
super(targetName, targetType, "name", targetName, newName)
}
export() {
return [this.targetName, this.targetType, this.newValue]
}
undo() {
Objects.getObjectByName(this.newValue, this.targetType)['name'] = this.previousValue
}
redo() {
Objects.getObjectByName(this.previousValue, this.targetType)['name'] = this.newValue
}
getReadableString() {
return qsTr('Name of %1 %2 changed to %3.')
.arg(Objects.types[this.targetType].displayType())
.arg(this.targetName).arg(this.newValue)
}
}
class ColorChanged extends EditedProperty {
// Action used everytime an object's property has been changed
type(){return 'ColorChanged'}
icon(){return 'appearance'}
color(darkVer=false){return darkVer ? 'purple' : 'plum'}
getReadableString() {
return qsTr('%1 of %2 %3 changed from "%4" to "%5".')
.arg(QT_TRANSLATE_NOOP('prop','color'))
.arg(Objects.types[this.targetType].displayType())
.arg(this.targetName).arg(this.previousValue).arg(this.newValue)
}
}
var Action = Common.Action
var CreateNewObject = Create.CreateNewObject
var DeleteObject = Delete.DeleteObject
var EditedProperty = EP.EditedProperty
var EditedVisibility = V.EditedVisibility
var NameChanged = Name.NameChanged
var ColorChanged = Color.ColorChanged
var Actions = {
"Action": Action,