Implemented workaround for QTBUG-123819 (lupdate not parsing *.mjs files)
All checks were successful
continuous-integration/drone/push Build is passing

Woohoo! No longer any duplicate and vanished translations (might cause a few that need to be checked, but translations should be properlerly reused).
This commit is contained in:
Adsooi 2024-09-20 23:44:29 +02:00
parent 2fc9bdee86
commit dd2ae7a2c8
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
8 changed files with 2372 additions and 431 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -5,7 +5,6 @@
<name>About</name> <name>About</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="31"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="31"/>
<location filename="../logarithmplotter.py" line="137"/>
<source>About LogarithmPlotter</source> <source>About LogarithmPlotter</source>
<translation></translation> <translation></translation>
</message> </message>
@ -162,13 +161,13 @@
<context> <context>
<name>CustomPropertyList</name> <name>CustomPropertyList</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/CustomPropertyList.qml" line="192"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/CustomPropertyList.qml" line="196"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/CustomPropertyList.qml" line="210"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/CustomPropertyList.qml" line="214"/>
<source>+ Create new %1</source> <source>+ Create new %1</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/CustomPropertyList.qml" line="311"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/CustomPropertyList.qml" line="315"/>
<source>Pick on graph</source> <source>Pick on graph</source>
<translation></translation> <translation></translation>
</message> </message>
@ -457,21 +456,25 @@
<context> <context>
<name>Settings</name> <name>Settings</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs" line="23"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="161"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="161"/>
<source>X Zoom</source> <source>X Zoom</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="177"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="177"/>
<source>Y Zoom</source> <source>Y Zoom</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="193"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="193"/>
<source>Min X</source> <source>Min X</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs" line="44"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="212"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="212"/>
<source>Max Y</source> <source>Max Y</source>
<translation></translation> <translation></translation>
@ -487,46 +490,55 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs" line="50"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="264"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="264"/>
<source>X Axis Step</source> <source>X Axis Step</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs" line="56"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="279"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="279"/>
<source>Y Axis Step</source> <source>Y Axis Step</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs" line="62"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="293"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="293"/>
<source>Line width</source> <source>Line width</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs" line="69"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="308"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="308"/>
<source>Text size (px)</source> <source>Text size (px)</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs" line="75"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="323"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="323"/>
<source>X Label</source> <source>X Label</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs" line="82"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="349"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="349"/>
<source>Y Label</source> <source>Y Label</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs" line="89"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="377"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="377"/>
<source>X Log scale</source> <source>X Log scale</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs" line="95"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="387"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="387"/>
<source>Show X graduation</source> <source>Show X graduation</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs" line="101"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="397"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Settings.qml" line="397"/>
<source>Show Y graduation</source> <source>Show Y graduation</source>
<translation></translation> <translation></translation>
@ -662,6 +674,43 @@
<translation></translation> <translation></translation>
</message> </message>
</context> </context>
<context>
<name>color</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.mjs" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/color.mjs" line="50"/>
<source>%1 %2&apos;s color changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>comment</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.mjs" line="35"/>
<source>Ex: R+* (*), N (), Z-* (*), ]0;1[, {3;4;5}</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.mjs" line="42"/>
<source>The following parameters are used when the definition domain is a non-continuous set. (Ex: , , sets like {0;3}...)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.mjs" line="31"/>
<source>Note: Specify the probability for each value.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.mjs" line="37"/>
<source>Note: Use %1[n] to refer to %1, %1[n+1] for %1...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.mjs" line="36"/>
<source>If you have latex enabled, you can use use latex markup in between $$ to create equations.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>control</name> <name>control</name>
<message> <message>
@ -674,6 +723,37 @@
<translation></translation> <translation></translation>
</message> </message>
</context> </context>
<context>
<name>create</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.mjs" line="50"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/create.mjs" line="54"/>
<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.mjs" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/delete.mjs" 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.mjs" line="131"/>
<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.mjs" line="139"/>
<source>%1 of %2 changed from %3 to %4.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>error</name> <name>error</name>
<message> <message>
@ -759,41 +839,49 @@
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1610"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1610"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parsing/polyfill.mjs" line="93"/>
<source>First argument to map is not a function.</source> <source>First argument to map is not a function.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1613"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1613"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parsing/polyfill.mjs" line="95"/>
<source>Second argument to map is not an array.</source> <source>Second argument to map is not an array.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1622"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1622"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parsing/polyfill.mjs" line="101"/>
<source>First argument to fold is not a function.</source> <source>First argument to fold is not a function.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1625"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1625"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parsing/polyfill.mjs" line="103"/>
<source>Second argument to fold is not an array.</source> <source>Second argument to fold is not an array.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1634"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1634"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parsing/polyfill.mjs" line="109"/>
<source>First argument to filter is not a function.</source> <source>First argument to filter is not a function.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1637"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1637"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parsing/polyfill.mjs" line="111"/>
<source>Second argument to filter is not an array.</source> <source>Second argument to filter is not an array.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1646"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1646"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parsing/polyfill.mjs" line="123"/>
<source>Second argument to indexOf is not a string or array.</source> <source>Second argument to indexOf is not a string or array.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1654"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/expr-eval.js" line="1654"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parsing/polyfill.mjs" line="117"/>
<source>Second argument to join is not an array.</source> <source>Second argument to join is not an array.</source>
<translation></translation> <translation></translation>
</message> </message>
@ -828,7 +916,7 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/CustomPropertyList.qml" line="144"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/CustomPropertyList.qml" line="148"/>
<source>Error while parsing expression for property %1: <source>Error while parsing expression for property %1:
%2 %2
@ -847,7 +935,7 @@ Undoing last change.</source>
<context> <context>
<name>expression</name> <name>expression</name>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/CustomPropertyList.qml" line="141"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/Editor/CustomPropertyList.qml" line="145"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ExpressionEditor.qml" line="202"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/Setting/ExpressionEditor.qml" line="202"/>
<source>LogarithmPlotter - Parsing error</source> <source>LogarithmPlotter - Parsing error</source>
<translation></translation> <translation></translation>
@ -865,6 +953,115 @@ Evaluated expression: %3</source>
<source>LogarithmPlotter - Drawing error</source> <source>LogarithmPlotter - Drawing error</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/expression.mjs" line="22"/>
<source>Automatically close parenthesises and brackets</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/expression.mjs" line="28"/>
<source>Enable syntax highlighting</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/expression.mjs" line="34"/>
<source>Enable autocompletion</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/expression.mjs" line="40"/>
<source>Color Scheme</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>function</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.mjs" line="29"/>
<source>Function</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.mjs" line="30"/>
<source>Functions</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>gainbode</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.mjs" line="33"/>
<source>Bode Magnitude</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.mjs" line="34"/>
<source>Bode Magnitudes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.mjs" line="72"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.mjs" line="77"/>
<source>low-pass</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.mjs" line="72"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.mjs" line="77"/>
<source>high-pass</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>general</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/general.mjs" line="22"/>
<source>Check for updates on startup</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/general.mjs" line="28"/>
<source>Reset redo stack automaticly</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences/general.mjs" line="35"/>
<source>Enable LaTeX rendering</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>io</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/io.mjs" line="84"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/io.mjs" line="94"/>
<source>Loading file &apos;%1&apos;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/io.mjs" line="138"/>
<source>Unknown object type: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/io.mjs" line="153"/>
<source>Invalid file provided.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/io.mjs" line="157"/>
<source>Could not save file: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/io.mjs" line="162"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>latex</name> <name>latex</name>
@ -907,6 +1104,403 @@ Please make sure your latex installation is correct and report a bug if so.</sou
<translation></translation> <translation></translation>
</message> </message>
</context> </context>
<context>
<name>name</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.mjs" line="48"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/name.mjs" line="54"/>
<source>%1 %2 renamed to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>parameters</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="249"/>
<source>above</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="250"/>
<source>below</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="251"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="271"/>
<source>left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="252"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="272"/>
<source>right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="253"/>
<source>above-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="254"/>
<source>above-right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="255"/>
<source>below-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="256"/>
<source>below-right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="268"/>
<source>center</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="269"/>
<source>top</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="270"/>
<source>bottom</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="273"/>
<source>top-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="274"/>
<source>top-right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="275"/>
<source>bottom-left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="276"/>
<source>bottom-right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="280"/>
<source>application</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="281"/>
<source>function</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="285"/>
<source>high</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="286"/>
<source>low</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="291"/>
<source>Next to target</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="292"/>
<source>With label</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/parameters.mjs" line="293"/>
<source>Hidden</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>phasebode</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.mjs" line="31"/>
<source>Bode Phase</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.mjs" line="32"/>
<source>Bode Phases</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>point</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.mjs" line="29"/>
<source>Point</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.mjs" line="30"/>
<source>Points</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>position</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.mjs" line="87"/>
<source>Position of %1 %2 set from &quot;%3&quot; to &quot;%4&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/position.mjs" line="94"/>
<source>Position of %1 set from %2 to %3.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>prop</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.mjs" line="32"/>
<source>expression</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.mjs" line="33"/>
<source>definitionDomain</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.mjs" line="34"/>
<source>destinationDomain</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.mjs" line="39"/>
<source>displayMode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.mjs" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.mjs" line="39"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.mjs" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.mjs" line="35"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.mjs" line="36"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.mjs" line="42"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.mjs" line="34"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.mjs" line="32"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.mjs" line="34"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.mjs" line="34"/>
<source>labelPosition</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.mjs" line="41"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.mjs" line="40"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.mjs" line="38"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.mjs" line="37"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.mjs" line="43"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.mjs" line="35"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.mjs" line="33"/>
<source>labelX</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.mjs" line="46"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.mjs" line="34"/>
<source>drawPoints</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/function.mjs" line="47"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.mjs" line="35"/>
<source>drawDashedLines</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.mjs" line="36"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.mjs" line="34"/>
<source>om_0</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.mjs" line="37"/>
<source>pass</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.mjs" line="38"/>
<source>gain</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/gainbode.mjs" line="41"/>
<source>omGraduation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.mjs" line="35"/>
<source>phase</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/phasebode.mjs" line="36"/>
<source>unit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.mjs" line="33"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.mjs" line="32"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.mjs" line="32"/>
<source>x</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.mjs" line="34"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.mjs" line="33"/>
<source>y</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/point.mjs" line="36"/>
<source>pointStyle</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.mjs" line="35"/>
<source>probabilities</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.mjs" line="36"/>
<source>defaultExpression</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.mjs" line="41"/>
<source>baseValues</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.mjs" line="35"/>
<source>text</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.mjs" line="40"/>
<source>disableLatex</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.mjs" line="33"/>
<source>targetElement</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.mjs" line="35"/>
<source>approximate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.mjs" line="36"/>
<source>rounding</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.mjs" line="37"/>
<source>displayStyle</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.mjs" line="42"/>
<source>targetValuePosition</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>repartition</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.mjs" line="28"/>
<source>Repartition</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/repartition.mjs" line="29"/>
<source>Repartition functions</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>sequence</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.mjs" line="30"/>
<source>Sequence</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sequence.mjs" line="31"/>
<source>Sequences</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>settingCategory</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences.mjs" line="31"/>
<source>general</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences.mjs" line="32"/>
<source>editor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/preferences.mjs" line="33"/>
<source>default</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>sommegainsbode</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.mjs" line="30"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommegainsbode.mjs" line="31"/>
<source>Bode Magnitudes Sum</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>sommephasesbode</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.mjs" line="28"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/sommephasesbode.mjs" line="29"/>
<source>Bode Phases Sum</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>text</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.mjs" line="29"/>
<source>Text</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/text.mjs" line="30"/>
<source>Texts</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>update</name> <name>update</name>
<message> <message>
@ -967,4 +1561,32 @@ Please make sure your latex installation is correct and report a bug if so.</sou
<translation></translation> <translation></translation>
</message> </message>
</context> </context>
<context>
<name>visibility</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.mjs" line="44"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.mjs" line="50"/>
<source>%1 %2 shown.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.mjs" line="44"/>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/history/visibility.mjs" line="50"/>
<source>%1 %2 hidden.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>xcursor</name>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.mjs" line="29"/>
<source>X Cursor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/js/objs/xcursor.mjs" line="30"/>
<source>X Cursors</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS> </TS>

View file

@ -1,2 +1,39 @@
#!/bin/bash #!/bin/bash
lupdate -extensions mjs,js,qs,qml,py -recursive .. -ts lp_*.ts #
# This file automatically renames .mjs files to js, and (tries) to fix most common ECMAScript
# specificities so that lupdate doesn't cry out in pain.
# See also: https://bugreports.qt.io/browse/QTBUG-123819
#
files=$(find .. -name *.mjs)
for file in $files; do
echo "Moving '$file' to '${file%.*}.js'..."
mv "$file" "${file%.*}.js"
# Replacements to make it valid js
sed -i 's/^import/\/\/import/g' "${file%.*}.js"
sed -i 's/^export default/\/*export default*\//g' "${file%.*}.js"
sed -i 's/^export/\/*export*\//g' "${file%.*}.js"
done
echo "------------------------"
echo "Updating translations..."
echo "------------------------"
lupdate -extensions js,qs,qml,py -recursive .. -ts lp_*.ts
# Updating locations in files
for lp in *.ts; do
echo "Replacing locations in $lp..."
for file in $files; do
echo " > Replacing for file $file..."
f="${file//\//\\/}" # Escape slashes
sed -i "s/${f%.*}.js/$f/g" "$lp"
done
done
for file in $files; do
echo "Moving '${file%.*}.js' to '$file'..."
mv "${file%.*}.js" "$file"
# Resetting changes
sed -i 's/^\/\/import/import/g' "$file"
sed -i 's/^\/\*export default\*\//export default/g' "$file"
sed -i 's/^\/\*export\*\//export/g' "$file"
done