Improving MJS lupdate hacky script to take private fields into account.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2024-10-10 05:33:01 +02:00
parent 934dd3ea1b
commit 9663c33563
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
8 changed files with 131 additions and 127 deletions

View file

@ -1308,27 +1308,27 @@ Ausdruck analysiert: %3</translation>
<translation type="vanished">Verlauf</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="92"/>
<location filename="../../common/src/module/io.mjs" line="98"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation>Gespeicherte Grafik auf &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="104"/>
<location filename="../../common/src/module/io.mjs" line="110"/>
<source>Loading file &apos;%1&apos;.</source>
<translation>Laden der Datei &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="148"/>
<location filename="../../common/src/module/io.mjs" line="154"/>
<source>Unknown object type: %1.</source>
<translation>Unbekannter Objekttyp: %1.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="163"/>
<location filename="../../common/src/module/io.mjs" line="169"/>
<source>Invalid file provided.</source>
<translation>Ungültige Datei angegeben.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="167"/>
<location filename="../../common/src/module/io.mjs" line="173"/>
<source>Could not load file: </source>
<translation>Datei konnte nicht geladen werden: </translation>
</message>
@ -1337,7 +1337,7 @@ Ausdruck analysiert: %3</translation>
<translation type="vanished">Die Datei konnte nicht gespeichert werden: </translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="172"/>
<location filename="../../common/src/module/io.mjs" line="178"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation>Geladene Datei &apos;%1&apos;.</translation>
</message>
@ -1759,17 +1759,17 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde
<context>
<name>settingCategory</name>
<message>
<location filename="../../common/src/module/preferences.mjs" line="30"/>
<location filename="../../common/src/module/preferences.mjs" line="33"/>
<source>default</source>
<translation>Standardeinstellungen</translation>
</message>
<message>
<location filename="../../common/src/module/preferences.mjs" line="28"/>
<location filename="../../common/src/module/preferences.mjs" line="31"/>
<source>general</source>
<translation>Allgemeine</translation>
</message>
<message>
<location filename="../../common/src/module/preferences.mjs" line="29"/>
<location filename="../../common/src/module/preferences.mjs" line="32"/>
<source>editor</source>
<translation>Ausdruckseditor</translation>
</message>
@ -1827,22 +1827,22 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde
<context>
<name>usage</name>
<message>
<location filename="../../common/src/module/expreval.mjs" line="86"/>
<location filename="../../common/src/module/expreval.mjs" line="88"/>
<source>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: ExecutableObject&gt;)</source>
<translation>integral(&lt;von: Zahl&gt;, &lt;bis: Zahl&gt;, &lt;f: Funktionsähnliches Objekt&gt;)</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="63"/>
<location filename="../../common/src/module/expreval.mjs" line="70"/>
<location filename="../../common/src/module/expreval.mjs" line="65"/>
<location filename="../../common/src/module/expreval.mjs" line="72"/>
<source>Usage:
%1</source>
<translation>Verwendung:
%1</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="73"/>
<location filename="../../common/src/module/expreval.mjs" line="90"/>
<location filename="../../common/src/module/expreval.mjs" line="103"/>
<location filename="../../common/src/module/expreval.mjs" line="75"/>
<location filename="../../common/src/module/expreval.mjs" line="92"/>
<location filename="../../common/src/module/expreval.mjs" line="105"/>
<source>Usage:
%1
%2</source>
@ -1851,17 +1851,17 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde
%2</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="87"/>
<location filename="../../common/src/module/expreval.mjs" line="89"/>
<source>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: string&gt;, &lt;variable: string&gt;)</source>
<translation>integral(&lt;von: Zahl&gt;, &lt;bis: Zahl&gt;, &lt;f: String&gt;, &lt;Variablen: String&gt;)</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="98"/>
<location filename="../../common/src/module/expreval.mjs" line="100"/>
<source>derivative(&lt;f: ExecutableObject&gt;, &lt;x: number&gt;)</source>
<translation>derivative(&lt;f: Funktionsähnliches Objekt&gt;, &lt;x: Zahl&gt;)</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="99"/>
<location filename="../../common/src/module/expreval.mjs" line="101"/>
<source>derivative(&lt;f: string&gt;, &lt;variable: string&gt;, &lt;x: number&gt;)</source>
<translation>derivative(&lt;f: String&gt;, &lt;Variablen: String&gt;, &lt;x: Zahl&gt;)</translation>
</message>

View file

@ -1308,27 +1308,27 @@ Evaluated expression: %3</translation>
<translation type="vanished">History</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="92"/>
<location filename="../../common/src/module/io.mjs" line="98"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation>Saved plot to &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="104"/>
<location filename="../../common/src/module/io.mjs" line="110"/>
<source>Loading file &apos;%1&apos;.</source>
<translation>Loading file &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="148"/>
<location filename="../../common/src/module/io.mjs" line="154"/>
<source>Unknown object type: %1.</source>
<translation>Unknown object type: %1.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="163"/>
<location filename="../../common/src/module/io.mjs" line="169"/>
<source>Invalid file provided.</source>
<translation>Invalid file provided.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="167"/>
<location filename="../../common/src/module/io.mjs" line="173"/>
<source>Could not load file: </source>
<translation>Could not load file: </translation>
</message>
@ -1337,7 +1337,7 @@ Evaluated expression: %3</translation>
<translation type="vanished">Could not save file: </translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="172"/>
<location filename="../../common/src/module/io.mjs" line="178"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation>Loaded file &apos;%1&apos;.</translation>
</message>
@ -1759,17 +1759,17 @@ Please make sure your LaTeX installation is correct and report a bug if so.</tra
<context>
<name>settingCategory</name>
<message>
<location filename="../../common/src/module/preferences.mjs" line="28"/>
<location filename="../../common/src/module/preferences.mjs" line="31"/>
<source>general</source>
<translation>General</translation>
</message>
<message>
<location filename="../../common/src/module/preferences.mjs" line="29"/>
<location filename="../../common/src/module/preferences.mjs" line="32"/>
<source>editor</source>
<translation>Expression Editor</translation>
</message>
<message>
<location filename="../../common/src/module/preferences.mjs" line="30"/>
<location filename="../../common/src/module/preferences.mjs" line="33"/>
<source>default</source>
<translation>Default settings</translation>
</message>
@ -1827,22 +1827,22 @@ Please make sure your LaTeX installation is correct and report a bug if so.</tra
<context>
<name>usage</name>
<message>
<location filename="../../common/src/module/expreval.mjs" line="86"/>
<location filename="../../common/src/module/expreval.mjs" line="88"/>
<source>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: ExecutableObject&gt;)</source>
<translation>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: Function-like object&gt;)</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="63"/>
<location filename="../../common/src/module/expreval.mjs" line="70"/>
<location filename="../../common/src/module/expreval.mjs" line="65"/>
<location filename="../../common/src/module/expreval.mjs" line="72"/>
<source>Usage:
%1</source>
<translation>Usage:
%1</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="73"/>
<location filename="../../common/src/module/expreval.mjs" line="90"/>
<location filename="../../common/src/module/expreval.mjs" line="103"/>
<location filename="../../common/src/module/expreval.mjs" line="75"/>
<location filename="../../common/src/module/expreval.mjs" line="92"/>
<location filename="../../common/src/module/expreval.mjs" line="105"/>
<source>Usage:
%1
%2</source>
@ -1851,17 +1851,17 @@ Please make sure your LaTeX installation is correct and report a bug if so.</tra
%2</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="87"/>
<location filename="../../common/src/module/expreval.mjs" line="89"/>
<source>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: string&gt;, &lt;variable: string&gt;)</source>
<translation>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: string&gt;, &lt;variable: string&gt;)</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="98"/>
<location filename="../../common/src/module/expreval.mjs" line="100"/>
<source>derivative(&lt;f: ExecutableObject&gt;, &lt;x: number&gt;)</source>
<translation>derivative(&lt;f: Function-like object&gt;, &lt;x: number&gt;)</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="99"/>
<location filename="../../common/src/module/expreval.mjs" line="101"/>
<source>derivative(&lt;f: string&gt;, &lt;variable: string&gt;, &lt;x: number&gt;)</source>
<translation>derivative(&lt;f: string&gt;, &lt;variable: string&gt;, &lt;x: number&gt;)</translation>
</message>

View file

@ -1320,27 +1320,27 @@ Expresión evaluada: %3</translation>
<translation type="vanished">Objetos</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="92"/>
<location filename="../../common/src/module/io.mjs" line="98"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation>Gráfico guardado en &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="104"/>
<location filename="../../common/src/module/io.mjs" line="110"/>
<source>Loading file &apos;%1&apos;.</source>
<translation>Cargando el archivo &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="148"/>
<location filename="../../common/src/module/io.mjs" line="154"/>
<source>Unknown object type: %1.</source>
<translation>Tipo de objeto desconocido: %1 .</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="163"/>
<location filename="../../common/src/module/io.mjs" line="169"/>
<source>Invalid file provided.</source>
<translation>Se ha proporcionado un archivo no válido.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="167"/>
<location filename="../../common/src/module/io.mjs" line="173"/>
<source>Could not load file: </source>
<translation type="unfinished"></translation>
</message>
@ -1349,7 +1349,7 @@ Expresión evaluada: %3</translation>
<translation type="vanished">No se ha podido guardar el archivo: </translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="172"/>
<location filename="../../common/src/module/io.mjs" line="178"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation>Archivo cargado &apos;%1&apos;.</translation>
</message>
@ -1759,17 +1759,17 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u
<context>
<name>settingCategory</name>
<message>
<location filename="../../common/src/module/preferences.mjs" line="28"/>
<location filename="../../common/src/module/preferences.mjs" line="31"/>
<source>general</source>
<translation>General</translation>
</message>
<message>
<location filename="../../common/src/module/preferences.mjs" line="29"/>
<location filename="../../common/src/module/preferences.mjs" line="32"/>
<source>editor</source>
<translation>Editor de expresiones</translation>
</message>
<message>
<location filename="../../common/src/module/preferences.mjs" line="30"/>
<location filename="../../common/src/module/preferences.mjs" line="33"/>
<source>default</source>
<translation>Ajustes por defecto</translation>
</message>
@ -1827,22 +1827,22 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u
<context>
<name>usage</name>
<message>
<location filename="../../common/src/module/expreval.mjs" line="86"/>
<location filename="../../common/src/module/expreval.mjs" line="88"/>
<source>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: ExecutableObject&gt;)</source>
<translation>integral(&lt;desde: número&gt;, &lt;hasta: número&gt;, &lt;f: Objeto similar a una función&gt;)</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="63"/>
<location filename="../../common/src/module/expreval.mjs" line="70"/>
<location filename="../../common/src/module/expreval.mjs" line="65"/>
<location filename="../../common/src/module/expreval.mjs" line="72"/>
<source>Usage:
%1</source>
<translation>Uso:
%1</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="73"/>
<location filename="../../common/src/module/expreval.mjs" line="90"/>
<location filename="../../common/src/module/expreval.mjs" line="103"/>
<location filename="../../common/src/module/expreval.mjs" line="75"/>
<location filename="../../common/src/module/expreval.mjs" line="92"/>
<location filename="../../common/src/module/expreval.mjs" line="105"/>
<source>Usage:
%1
%2</source>
@ -1851,17 +1851,17 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u
%2</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="87"/>
<location filename="../../common/src/module/expreval.mjs" line="89"/>
<source>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: string&gt;, &lt;variable: string&gt;)</source>
<translation>integral(&lt;desde: número&gt;, &lt;hasta: número&gt;, &lt;f: cadena&gt;, &lt;variable: cadena&gt;)</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="98"/>
<location filename="../../common/src/module/expreval.mjs" line="100"/>
<source>derivative(&lt;f: ExecutableObject&gt;, &lt;x: number&gt;)</source>
<translation>derivative(&lt;f: objeto similar a una función&gt;, &lt;x: número&gt;)</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="99"/>
<location filename="../../common/src/module/expreval.mjs" line="101"/>
<source>derivative(&lt;f: string&gt;, &lt;variable: string&gt;, &lt;x: number&gt;)</source>
<translation>derivative(&lt;f: cadena&gt;, &lt;variable: cadena&gt;, &lt;x: número&gt;)</translation>
</message>

View file

@ -1323,27 +1323,27 @@ Formule analysée : %3</translation>
<translation type="vanished">&amp;Mettre à jour LogarithmPlotter</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="92"/>
<location filename="../../common/src/module/io.mjs" line="98"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation>Graphe sauvegardé dans &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="104"/>
<location filename="../../common/src/module/io.mjs" line="110"/>
<source>Loading file &apos;%1&apos;.</source>
<translation>Chargement du fichier &apos;%1&apos;.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="148"/>
<location filename="../../common/src/module/io.mjs" line="154"/>
<source>Unknown object type: %1.</source>
<translation>Type d&apos;objet inconnu&#x202f;: %1.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="163"/>
<location filename="../../common/src/module/io.mjs" line="169"/>
<source>Invalid file provided.</source>
<translation>Fichier fourni invalide.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="167"/>
<location filename="../../common/src/module/io.mjs" line="173"/>
<source>Could not load file: </source>
<translation>Impossible de charger le fichier&#xa0;: </translation>
</message>
@ -1352,7 +1352,7 @@ Formule analysée : %3</translation>
<translation type="vanished">Impossible de sauvegarder le fichier&#x202f;: </translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="172"/>
<location filename="../../common/src/module/io.mjs" line="178"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation>Fichier &apos;%1&apos; chargé.</translation>
</message>
@ -1762,17 +1762,17 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c
<context>
<name>settingCategory</name>
<message>
<location filename="../../common/src/module/preferences.mjs" line="28"/>
<location filename="../../common/src/module/preferences.mjs" line="31"/>
<source>general</source>
<translation>Général</translation>
</message>
<message>
<location filename="../../common/src/module/preferences.mjs" line="29"/>
<location filename="../../common/src/module/preferences.mjs" line="32"/>
<source>editor</source>
<translation>Éditeur de formule</translation>
</message>
<message>
<location filename="../../common/src/module/preferences.mjs" line="30"/>
<location filename="../../common/src/module/preferences.mjs" line="33"/>
<source>default</source>
<translation>Paramètres par défaut</translation>
</message>
@ -1830,22 +1830,22 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c
<context>
<name>usage</name>
<message>
<location filename="../../common/src/module/expreval.mjs" line="86"/>
<location filename="../../common/src/module/expreval.mjs" line="88"/>
<source>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: ExecutableObject&gt;)</source>
<translation>integral(&lt;de&#xa0;: nombre&gt;, &lt;à&#xa0;: nombre&gt;, &lt;f&#xa0;: Objet fonction&gt;)</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="63"/>
<location filename="../../common/src/module/expreval.mjs" line="70"/>
<location filename="../../common/src/module/expreval.mjs" line="65"/>
<location filename="../../common/src/module/expreval.mjs" line="72"/>
<source>Usage:
%1</source>
<translation>Emploi :
%1</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="73"/>
<location filename="../../common/src/module/expreval.mjs" line="90"/>
<location filename="../../common/src/module/expreval.mjs" line="103"/>
<location filename="../../common/src/module/expreval.mjs" line="75"/>
<location filename="../../common/src/module/expreval.mjs" line="92"/>
<location filename="../../common/src/module/expreval.mjs" line="105"/>
<source>Usage:
%1
%2</source>
@ -1854,17 +1854,17 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c
%2</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="87"/>
<location filename="../../common/src/module/expreval.mjs" line="89"/>
<source>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: string&gt;, &lt;variable: string&gt;)</source>
<translation>integral(&lt;de : nombre&gt;, &lt;à : nombre&gt;, &lt;f : fonction chaîne&gt;, &lt;variable&gt;)</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="98"/>
<location filename="../../common/src/module/expreval.mjs" line="100"/>
<source>derivative(&lt;f: ExecutableObject&gt;, &lt;x: number&gt;)</source>
<translation>derivative(&lt;f&#xa0;: Objet fonction&gt;, &lt;x&#xa0;: nombre&gt;)</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="99"/>
<location filename="../../common/src/module/expreval.mjs" line="101"/>
<source>derivative(&lt;f: string&gt;, &lt;variable: string&gt;, &lt;x: number&gt;)</source>
<translation>derivative(&lt;f : fonction chaîne&gt;, &lt;variable&gt;, &lt;x : nombre&gt;)</translation>
</message>

View file

@ -1304,27 +1304,27 @@ Kiértékelt kifejezés: %3</translation>
<translation type="vanished">Előzmények</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="92"/>
<location filename="../../common/src/module/io.mjs" line="98"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation>Ábra mentve ide: %1.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="104"/>
<location filename="../../common/src/module/io.mjs" line="110"/>
<source>Loading file &apos;%1&apos;.</source>
<translation>A(z) %1 fájl betöltése folyamatban van.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="148"/>
<location filename="../../common/src/module/io.mjs" line="154"/>
<source>Unknown object type: %1.</source>
<translation>Ismeretlen objektumtípus: %1.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="163"/>
<location filename="../../common/src/module/io.mjs" line="169"/>
<source>Invalid file provided.</source>
<translation>A megadott fájl érvénytelen.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="167"/>
<location filename="../../common/src/module/io.mjs" line="173"/>
<source>Could not load file: </source>
<translation type="unfinished"></translation>
</message>
@ -1333,7 +1333,7 @@ Kiértékelt kifejezés: %3</translation>
<translation type="vanished">A fájl mentése nem sikerült: </translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="172"/>
<location filename="../../common/src/module/io.mjs" line="178"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation>A(z) %1 fájl betöltve.</translation>
</message>
@ -1759,17 +1759,17 @@ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelents
<context>
<name>settingCategory</name>
<message>
<location filename="../../common/src/module/preferences.mjs" line="28"/>
<location filename="../../common/src/module/preferences.mjs" line="31"/>
<source>general</source>
<translation>Általános</translation>
</message>
<message>
<location filename="../../common/src/module/preferences.mjs" line="29"/>
<location filename="../../common/src/module/preferences.mjs" line="32"/>
<source>editor</source>
<translation>Kifejezésszerkesztő</translation>
</message>
<message>
<location filename="../../common/src/module/preferences.mjs" line="30"/>
<location filename="../../common/src/module/preferences.mjs" line="33"/>
<source>default</source>
<translation>Alapértelmezett ábra</translation>
</message>
@ -1827,22 +1827,22 @@ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelents
<context>
<name>usage</name>
<message>
<location filename="../../common/src/module/expreval.mjs" line="86"/>
<location filename="../../common/src/module/expreval.mjs" line="88"/>
<source>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: ExecutableObject&gt;)</source>
<translation>integral(&lt;alsó korlát: szám&gt;, &lt;felső korlát: szám&gt;, &lt;f: függvényszerű objektum&gt;)</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="63"/>
<location filename="../../common/src/module/expreval.mjs" line="70"/>
<location filename="../../common/src/module/expreval.mjs" line="65"/>
<location filename="../../common/src/module/expreval.mjs" line="72"/>
<source>Usage:
%1</source>
<translation>Használat:
%1</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="73"/>
<location filename="../../common/src/module/expreval.mjs" line="90"/>
<location filename="../../common/src/module/expreval.mjs" line="103"/>
<location filename="../../common/src/module/expreval.mjs" line="75"/>
<location filename="../../common/src/module/expreval.mjs" line="92"/>
<location filename="../../common/src/module/expreval.mjs" line="105"/>
<source>Usage:
%1
%2</source>
@ -1851,17 +1851,17 @@ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelents
%2</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="87"/>
<location filename="../../common/src/module/expreval.mjs" line="89"/>
<source>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: string&gt;, &lt;variable: string&gt;)</source>
<translation>integral(&lt;alsó korlát: szám&gt;, &lt;felső korlát: szám&gt;, &lt;függvény: karakterlánc&gt;, &lt;változó: karakterlánc&gt;)</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="98"/>
<location filename="../../common/src/module/expreval.mjs" line="100"/>
<source>derivative(&lt;f: ExecutableObject&gt;, &lt;x: number&gt;)</source>
<translation>derivative(&lt;f: függvényszerű objektum&gt;, &lt;x: szám&gt;)</translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="99"/>
<location filename="../../common/src/module/expreval.mjs" line="101"/>
<source>derivative(&lt;f: string&gt;, &lt;variable: string&gt;, &lt;x: number&gt;)</source>
<translation>derivált(&lt;függvény: karakterlánc&gt;, &lt;változó: karakterlánc&gt;, &lt;x: szám&gt;)</translation>
</message>

View file

@ -1235,27 +1235,27 @@ Evaluated expression: %3</source>
<translation type="vanished">Historikk</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="92"/>
<location filename="../../common/src/module/io.mjs" line="98"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation>Lagret plott i «%1».</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="104"/>
<location filename="../../common/src/module/io.mjs" line="110"/>
<source>Loading file &apos;%1&apos;.</source>
<translation>Laster inn «%1»-fil.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="148"/>
<location filename="../../common/src/module/io.mjs" line="154"/>
<source>Unknown object type: %1.</source>
<translation>Ukjent objekttype: %1.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="163"/>
<location filename="../../common/src/module/io.mjs" line="169"/>
<source>Invalid file provided.</source>
<translation>Ugyldig fil angitt.</translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="167"/>
<location filename="../../common/src/module/io.mjs" line="173"/>
<source>Could not load file: </source>
<translation type="unfinished"></translation>
</message>
@ -1264,7 +1264,7 @@ Evaluated expression: %3</source>
<translation type="vanished">Kunne ikke lagre fil: </translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="172"/>
<location filename="../../common/src/module/io.mjs" line="178"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation>Lastet inn filen «%1».</translation>
</message>
@ -1669,17 +1669,17 @@ Please make sure your latex installation is correct and report a bug if so.</sou
<context>
<name>settingCategory</name>
<message>
<location filename="../../common/src/module/preferences.mjs" line="28"/>
<location filename="../../common/src/module/preferences.mjs" line="31"/>
<source>general</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/preferences.mjs" line="29"/>
<location filename="../../common/src/module/preferences.mjs" line="32"/>
<source>editor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/preferences.mjs" line="30"/>
<location filename="../../common/src/module/preferences.mjs" line="33"/>
<source>default</source>
<translation type="unfinished"></translation>
</message>
@ -1737,38 +1737,38 @@ Please make sure your latex installation is correct and report a bug if so.</sou
<context>
<name>usage</name>
<message>
<location filename="../../common/src/module/expreval.mjs" line="86"/>
<location filename="../../common/src/module/expreval.mjs" line="88"/>
<source>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: ExecutableObject&gt;)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="63"/>
<location filename="../../common/src/module/expreval.mjs" line="70"/>
<location filename="../../common/src/module/expreval.mjs" line="65"/>
<location filename="../../common/src/module/expreval.mjs" line="72"/>
<source>Usage:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="73"/>
<location filename="../../common/src/module/expreval.mjs" line="90"/>
<location filename="../../common/src/module/expreval.mjs" line="103"/>
<location filename="../../common/src/module/expreval.mjs" line="75"/>
<location filename="../../common/src/module/expreval.mjs" line="92"/>
<location filename="../../common/src/module/expreval.mjs" line="105"/>
<source>Usage:
%1
%2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="87"/>
<location filename="../../common/src/module/expreval.mjs" line="89"/>
<source>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: string&gt;, &lt;variable: string&gt;)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="98"/>
<location filename="../../common/src/module/expreval.mjs" line="100"/>
<source>derivative(&lt;f: ExecutableObject&gt;, &lt;x: number&gt;)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="99"/>
<location filename="../../common/src/module/expreval.mjs" line="101"/>
<source>derivative(&lt;f: string&gt;, &lt;variable: string&gt;, &lt;x: number&gt;)</source>
<translation type="unfinished"></translation>
</message>

View file

@ -1069,32 +1069,32 @@ Evaluated expression: %3</source>
<context>
<name>io</name>
<message>
<location filename="../../common/src/module/io.mjs" line="92"/>
<location filename="../../common/src/module/io.mjs" line="98"/>
<source>Saved plot to &apos;%1&apos;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="104"/>
<location filename="../../common/src/module/io.mjs" line="110"/>
<source>Loading file &apos;%1&apos;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="148"/>
<location filename="../../common/src/module/io.mjs" line="154"/>
<source>Unknown object type: %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="163"/>
<location filename="../../common/src/module/io.mjs" line="169"/>
<source>Invalid file provided.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="167"/>
<location filename="../../common/src/module/io.mjs" line="173"/>
<source>Could not load file: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/io.mjs" line="172"/>
<location filename="../../common/src/module/io.mjs" line="178"/>
<source>Loaded file &apos;%1&apos;.</source>
<translation type="unfinished"></translation>
</message>
@ -1465,17 +1465,17 @@ Please make sure your latex installation is correct and report a bug if so.</sou
<context>
<name>settingCategory</name>
<message>
<location filename="../../common/src/module/preferences.mjs" line="28"/>
<location filename="../../common/src/module/preferences.mjs" line="31"/>
<source>general</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/preferences.mjs" line="29"/>
<location filename="../../common/src/module/preferences.mjs" line="32"/>
<source>editor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/preferences.mjs" line="30"/>
<location filename="../../common/src/module/preferences.mjs" line="33"/>
<source>default</source>
<translation type="unfinished"></translation>
</message>
@ -1519,38 +1519,38 @@ Please make sure your latex installation is correct and report a bug if so.</sou
<context>
<name>usage</name>
<message>
<location filename="../../common/src/module/expreval.mjs" line="86"/>
<location filename="../../common/src/module/expreval.mjs" line="88"/>
<source>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: ExecutableObject&gt;)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="63"/>
<location filename="../../common/src/module/expreval.mjs" line="70"/>
<location filename="../../common/src/module/expreval.mjs" line="65"/>
<location filename="../../common/src/module/expreval.mjs" line="72"/>
<source>Usage:
%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="73"/>
<location filename="../../common/src/module/expreval.mjs" line="90"/>
<location filename="../../common/src/module/expreval.mjs" line="103"/>
<location filename="../../common/src/module/expreval.mjs" line="75"/>
<location filename="../../common/src/module/expreval.mjs" line="92"/>
<location filename="../../common/src/module/expreval.mjs" line="105"/>
<source>Usage:
%1
%2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="87"/>
<location filename="../../common/src/module/expreval.mjs" line="89"/>
<source>integral(&lt;from: number&gt;, &lt;to: number&gt;, &lt;f: string&gt;, &lt;variable: string&gt;)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="98"/>
<location filename="../../common/src/module/expreval.mjs" line="100"/>
<source>derivative(&lt;f: ExecutableObject&gt;, &lt;x: number&gt;)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../common/src/module/expreval.mjs" line="99"/>
<location filename="../../common/src/module/expreval.mjs" line="101"/>
<source>derivative(&lt;f: string&gt;, &lt;variable: string&gt;, &lt;x: number&gt;)</source>
<translation type="unfinished"></translation>
</message>

View file

@ -33,6 +33,8 @@ for file in $files; do
replace "${file%.*}.js" "^export" "/*export*/"
replace "${file%.*}.js" "async " "/*async */"
replace "${file%.*}.js" "await" "/*await */"
replace "${file%.*}.js" " #" "// #"
replace "${file%.*}.js" "this.#" "/*this.#*/"
done
echo "----------------------------"
@ -55,7 +57,9 @@ for file in $files; do
replace "$file" "/*async */" "async "
replace "$file" "^/*export*/" "export"
replace "$file" "^/*export default*/" "export default"
replace "$file" '.mjs"*/' '.mjs"'
replace "$file" "^/*import" "import"
replace "$file" "^/*export" "export"
replace "$file" '.mjs"*/$' '.mjs"'
replace "$file" "// #" " #"
replace "$file" "/*this.#*/" "this.#"
done