From 9810435456d01d83848a352760038505bf921ba5 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Mon, 23 Sep 2024 18:18:56 +0200 Subject: [PATCH] Updating usages --- LogarithmPlotter/i18n/lp_de.ts | 142 +++++++++--------- LogarithmPlotter/i18n/lp_en.ts | 142 +++++++++--------- LogarithmPlotter/i18n/lp_es.ts | 142 +++++++++--------- LogarithmPlotter/i18n/lp_fr.ts | 142 +++++++++--------- LogarithmPlotter/i18n/lp_hu.ts | 142 +++++++++--------- LogarithmPlotter/i18n/lp_nb_NO.ts | 142 +++++++++--------- LogarithmPlotter/i18n/lp_template.ts | 142 +++++++++--------- .../LogarithmPlotter/js/module/expreval.mjs | 10 +- 8 files changed, 514 insertions(+), 490 deletions(-) diff --git a/LogarithmPlotter/i18n/lp_de.ts b/LogarithmPlotter/i18n/lp_de.ts index 1b73dd9..cf2597e 100644 --- a/LogarithmPlotter/i18n/lp_de.ts +++ b/LogarithmPlotter/i18n/lp_de.ts @@ -824,24 +824,24 @@ Diese Einstellungen können jederzeit über das Menü "Einstellungen" bodemagnitude - + Bode Magnitude Bode-Magnitude - + Bode Magnitudes Bode-Magnituden - - + + low-pass Tiefpass - - + + high-pass Hochpass @@ -880,12 +880,12 @@ Diese Einstellungen können jederzeit über das Menü "Einstellungen" changelog - + Could not fetch changelog: Server error {}. Changelog konnte nicht geholt werden: Server-Fehler {}. - + Could not fetch update: {}. Changelog konnte nicht geholt werden: {}. @@ -1251,17 +1251,17 @@ Ausdruck analysiert: %3 general - + Check for updates on startup Beim Starten auf Updates prüfen - + Reset redo stack automaticly Wiederherstellen-Stapel automatisch zurücksetzen - + Enable LaTeX rendering LaTeX-Rendering aktivieren @@ -1308,32 +1308,32 @@ Ausdruck analysiert: %3 Verlauf - + Saved plot to '%1'. Gespeicherte Grafik auf '%1'. - + Loading file '%1'. Laden der Datei '%1'. - + Unknown object type: %1. Unbekannter Objekttyp: %1. - + Invalid file provided. Ungültige Datei angegeben. - + Could not save file: Die Datei konnte nicht gespeichert werden: - + Loaded file '%1'. Geladene Datei '%1'. @@ -1416,114 +1416,114 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde parameters - + above ↑ Über - + below ↓ Unter - - + + left ← Links - - + + right → Rechts - + above-left ↖ Oben links - + above-right ↗ Oben rechts - + below-left ↙ Unten links - + below-right ↘ Unten rechts - + center >|< Zentrum - + top ↑ Über - + bottom ↓ Unter - + top-left ↖ Oben links - + top-right ↗ Oben rechts - + bottom-left ↙ Unten links - + bottom-right ↘ Unten rechts - + application Anwendung - + function Funktion - + high Hoch - + low Tief - + Next to target Neben dem Ziel - + With label Mit Etikett - + Hidden Versteckt @@ -1583,7 +1583,7 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde Reichweite - + @@ -1602,7 +1602,7 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde Anzeigemodus - + @@ -1625,23 +1625,23 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde Gestrichelte Linien anzeigen - + om_0 ω₀ - + pass Pass - + gain Größenordnung - + omGraduation Teilung auf ω zeigen @@ -1755,17 +1755,17 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde settingCategory - + default Standardeinstellungen - + general Allgemeine - + editor Ausdruckseditor @@ -1823,37 +1823,41 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde usage - - - Usage: %1 - Verwendung: %1 - - - - - - Usage: %1 or -%2 - Verwendung: %1 oder -%2 - - - + integral(<from: number>, <to: number>, <f: ExecutableObject>) integral(<von: Zahl>, <bis: Zahl>, <f: ExecutableObject>) - + + + Usage: +%1 + Verwendung: +%1 + + + + + + Usage: +%1 +%2 + Verwendung: +%1 +%2 + + + integral(<from: number>, <to: number>, <f: string>, <variable: string>) integral(<von: Zahl>, <bis: Zahl>, <f: String>, <Variablen: String>) - + derivative(<f: ExecutableObject>, <x: number>) derivative(<f: ExecutableObject>, <x: Zahl>) - + derivative(<f: string>, <variable: string>, <x: number>) derivative(<f: String>, <Variablen: String>, <x: Zahl>) diff --git a/LogarithmPlotter/i18n/lp_en.ts b/LogarithmPlotter/i18n/lp_en.ts index fe1d018..c7fd439 100644 --- a/LogarithmPlotter/i18n/lp_en.ts +++ b/LogarithmPlotter/i18n/lp_en.ts @@ -824,24 +824,24 @@ These settings can be changed at any time from the "Settings" menu. bodemagnitude - + Bode Magnitude Bode Magnitude - + Bode Magnitudes Bode Magnitudes - - + + low-pass low-pass - - + + high-pass high-pass @@ -880,12 +880,12 @@ These settings can be changed at any time from the "Settings" menu. changelog - + Could not fetch changelog: Server error {}. Could not fetch changelog: Server error {}. - + Could not fetch update: {}. Could not fetch changelog: {}. @@ -1251,17 +1251,17 @@ Evaluated expression: %3 general - + Check for updates on startup Check for updates on startup - + Reset redo stack automaticly Reset redo stack automatically - + Enable LaTeX rendering Enable LaTeX rendering @@ -1308,32 +1308,32 @@ Evaluated expression: %3 History - + Saved plot to '%1'. Saved plot to '%1'. - + Loading file '%1'. Loading file '%1'. - + Unknown object type: %1. Unknown object type: %1. - + Invalid file provided. Invalid file provided. - + Could not save file: Could not save file: - + Loaded file '%1'. Loaded file '%1'. @@ -1416,114 +1416,114 @@ Please make sure your LaTeX installation is correct and report a bug if so. parameters - + above ↑ Above - + below ↓ Below - - + + left ← Left - - + + right → Right - + above-left ↖ Above left - + above-right ↗ Above right - + below-left ↙ Below left - + below-right ↘ Below right - + center >|< Center - + top ↑ Top - + bottom ↓ Bottom - + top-left ↖ Top left - + top-right ↗ Top right - + bottom-left ↙ Bottom left - + bottom-right ↘ Bottom right - + application Application - + function Function - + high High - + low Low - + Next to target Next to target - + With label With label - + Hidden Hidden @@ -1583,7 +1583,7 @@ Please make sure your LaTeX installation is correct and report a bug if so.Range - + @@ -1602,7 +1602,7 @@ Please make sure your LaTeX installation is correct and report a bug if so.Display mode - + @@ -1625,23 +1625,23 @@ Please make sure your LaTeX installation is correct and report a bug if so.Show dashed lines - + om_0 ω₀ - + pass Pass - + gain Magnitude gain - + omGraduation Show graduation on ω₀ @@ -1755,17 +1755,17 @@ Please make sure your LaTeX installation is correct and report a bug if so. settingCategory - + general General - + editor Expression Editor - + default Default settings @@ -1823,37 +1823,41 @@ Please make sure your LaTeX installation is correct and report a bug if so. usage - - - Usage: %1 - Usage: %1 - - - - - - Usage: %1 or -%2 - Usage: %1 or -%2 - - - + integral(<from: number>, <to: number>, <f: ExecutableObject>) integral(<from: number>, <to: number>, <f: ExecutableObject>) - + + + Usage: +%1 + Usage: +%1 + + + + + + Usage: +%1 +%2 + Usage: +%1 +%2 + + + integral(<from: number>, <to: number>, <f: string>, <variable: string>) integral(<from: number>, <to: number>, <f: string>, <variable: string>) - + derivative(<f: ExecutableObject>, <x: number>) derivative(<f: ExecutableObject>, <x: number>) - + derivative(<f: string>, <variable: string>, <x: number>) derivative(<f: string>, <variable: string>, <x: number>) diff --git a/LogarithmPlotter/i18n/lp_es.ts b/LogarithmPlotter/i18n/lp_es.ts index 2df288e..04db0ae 100644 --- a/LogarithmPlotter/i18n/lp_es.ts +++ b/LogarithmPlotter/i18n/lp_es.ts @@ -824,24 +824,24 @@ Estos ajustes se pueden cambiar en cualquier momento desde el menú “Ajustes bodemagnitude - + Bode Magnitude Magnitud de Bode - + Bode Magnitudes Magnitudes de Bode - - + + low-pass Filtro paso bajo - - + + high-pass Filtro paso alto @@ -880,12 +880,12 @@ Estos ajustes se pueden cambiar en cualquier momento desde el menú “Ajustes changelog - + Could not fetch changelog: Server error {}. No se ha podido recuperar el registro de cambios: Error del servidor {}. - + Could not fetch update: {}. No se pudo obtener el registro de cambios: {}. @@ -1251,17 +1251,17 @@ Expresión evaluada: %3 general - + Check for updates on startup Comprobación de las actualizaciones al arrancar - + Reset redo stack automaticly Restablecer la pila de rehacer automáticamente - + Enable LaTeX rendering Activar el renderizado de LaTeX @@ -1320,32 +1320,32 @@ Expresión evaluada: %3 Objetos - + Saved plot to '%1'. Gráfico guardado en '%1'. - + Loading file '%1'. Cargando el archivo '%1'. - + Unknown object type: %1. Tipo de objeto desconocido: %1 . - + Invalid file provided. Se ha proporcionado un archivo no válido. - + Could not save file: No se ha podido guardar el archivo: - + Loaded file '%1'. Archivo cargado '%1'. @@ -1416,114 +1416,114 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u parameters - + below ↓ Abajo - - + + left ← Izquierda - + above-left ↖ Arriba a la izquierda - + below-left ↙ Abajo a la izquierda - + below-right ↘ Arriba a la derecha - + center >|< Centro - + top ↑ Arriba - + above ↑ Arriba - - + + right → Derecha - + above-right ↗ Arriba a la derecha - + bottom ↓ Bajar - + top-right ↗ Arriba a la derecha - + application Aplicación - + Next to target Próximo al objetivo - + top-left ↖ Arriba a la izquierda - + bottom-left ↙ Abajo a la izquierda - + bottom-right ↘ Abajo a la derecha - + function Función - + high Alto - + low Bajo - + With label Con etiqueta - + Hidden Oculto @@ -1578,7 +1578,7 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u Dominio - + om_0 ω₀ @@ -1594,7 +1594,7 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u Redondeo - + @@ -1622,7 +1622,7 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u Rango - + @@ -1641,12 +1641,12 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u Modo de visualización - + pass Pasar - + gain Incremento de magnitud @@ -1662,7 +1662,7 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u Y - + omGraduation Mostrar la graduación en ω₀ @@ -1755,17 +1755,17 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u settingCategory - + general General - + editor Editor de expresiones - + default Ajustes por defecto @@ -1823,37 +1823,41 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u usage - - - Usage: %1 - Uso: %1 - - - - - - Usage: %1 or -%2 - Uso: %1 o -%2 - - - + integral(<from: number>, <to: number>, <f: ExecutableObject>) integral(<desde: número>, <hasta: número>, <f: objeto ejecutable>) - + + + Usage: +%1 + Uso: +%1 + + + + + + Usage: +%1 +%2 + Uso: +%1 +%2 + + + integral(<from: number>, <to: number>, <f: string>, <variable: string>) integral(<from: number>, <to: number>, <f: string>, <variable: string>) - + derivative(<f: ExecutableObject>, <x: number>) derivada(<f: ExecutableObject>, <x: number>) - + derivative(<f: string>, <variable: string>, <x: number>) derivada(<f: string>, <variable: string>, <x: number>) diff --git a/LogarithmPlotter/i18n/lp_fr.ts b/LogarithmPlotter/i18n/lp_fr.ts index 35d38c4..4b07050 100644 --- a/LogarithmPlotter/i18n/lp_fr.ts +++ b/LogarithmPlotter/i18n/lp_fr.ts @@ -826,24 +826,24 @@ Ces paramètres peuvent être modifiés à tout moment à partir du menu "P bodemagnitude - + Bode Magnitude Gain de Bode - + Bode Magnitudes Gains de Bode - - + + low-pass passe-bas - - + + high-pass passe-haut @@ -882,12 +882,12 @@ Ces paramètres peuvent être modifiés à tout moment à partir du menu "P changelog - + Could not fetch changelog: Server error {}. Impossible de récupérer l'historique des modifications : Erreur de serveur {}. - + Could not fetch update: {}. Impossible de récupérer l'historique des modifications : {}. @@ -1254,17 +1254,17 @@ Formule analysée : %3 general - + Check for updates on startup Vérifier la présence de mise à jour au démarrage - + Reset redo stack automaticly Réinitialiser la pile d'action "Rétablir" automatiquement - + Enable LaTeX rendering Activer le rendu LaTeX @@ -1323,32 +1323,32 @@ Formule analysée : %3 &Mettre à jour LogarithmPlotter - + Saved plot to '%1'. Graphe sauvegardé dans '%1'. - + Loading file '%1'. Chargement du fichier '%1'. - + Unknown object type: %1. Type d'objet inconnu : %1. - + Invalid file provided. Fichier fourni invalide. - + Could not save file: Impossible de sauvegarder le fichier : - + Loaded file '%1'. Fichier '%1' chargé. @@ -1419,114 +1419,114 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c parameters - + above ↑ Au dessus - + below ↓ En dessous - - + + left ← À gauche - - + + right → À droite - + above-left ↖ Au dessus à gauche - + above-right ↗ Au dessus à droite - + below-left ↙ En dessous à gauche - + below-right ↘ En dessous à droite - + center >|< Centré - + top ↑ Au dessus - + bottom ↓ En dessous - + top-left ↖ Au dessus à gauche - + top-right ↗ Au dessus à droite - + bottom-left ↙ En dessous à gauche - + bottom-right ↘ En dessous à droite - + application Application - + function Fonction - + high Haut - + low Bas - + Next to target A côté de la cible - + With label Avec l'étiquette - + Hidden Caché @@ -1586,7 +1586,7 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c Portée - + @@ -1605,7 +1605,7 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c Mode d'affichage - + @@ -1628,23 +1628,23 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c Afficher les pointillés - + om_0 ω₀ - + pass Passe - + gain Gain - + omGraduation Afficher la graduation sur ω₀ @@ -1758,17 +1758,17 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c settingCategory - + general Général - + editor Éditeur de formule - + default Paramètres par défaut @@ -1826,37 +1826,41 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c usage - - - Usage: %1 - Emploi : %1 - - - - - - Usage: %1 or -%2 - Emploi : %1 ou -%2 - - - + integral(<from: number>, <to: number>, <f: ExecutableObject>) integral(<de : nombre>, <à : nombre>, <f : Objet exécutable>) - + + + Usage: +%1 + Emploi : +%1 + + + + + + Usage: +%1 +%2 + Emploi : +%1 +%2 + + + integral(<from: number>, <to: number>, <f: string>, <variable: string>) integral(<de : nombre>, <à : nombre>, <f : fonction chaîne>, <variable>) - + derivative(<f: ExecutableObject>, <x: number>) derivative(<f : Objet exécutable>, <x : nombre>) - + derivative(<f: string>, <variable: string>, <x: number>) derivative(<f : fonction chaîne>, <variable>, <x : nombre>) diff --git a/LogarithmPlotter/i18n/lp_hu.ts b/LogarithmPlotter/i18n/lp_hu.ts index c0b4924..2536de6 100644 --- a/LogarithmPlotter/i18n/lp_hu.ts +++ b/LogarithmPlotter/i18n/lp_hu.ts @@ -824,24 +824,24 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben. bodemagnitude - + Bode Magnitude Bode-nagyságrend - + Bode Magnitudes Bode-nagyságrendek - - + + low-pass aluláteresztő - - + + high-pass felüláteresztő @@ -880,12 +880,12 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben. changelog - + Could not fetch changelog: Server error {}. Nem sikerült lekérni a változásnaplót: Kiszolgálóhiba: {}. - + Could not fetch update: {}. Nem sikerült lekérni a változásnaplót: {}. @@ -1251,17 +1251,17 @@ Kiértékelt kifejezés: %3 general - + Check for updates on startup Frissítések keresése indításkor - + Reset redo stack automaticly Ismétlési verem önműködő visszaállítása - + Enable LaTeX rendering LaTeX-megjelenítés engedélyezése @@ -1304,32 +1304,32 @@ Kiértékelt kifejezés: %3 Előzmények - + Saved plot to '%1'. Ábra mentve ide: „%1”. - + Loading file '%1'. A(z) „%1” fájl betöltése folyamatban van. - + Unknown object type: %1. Ismeretlen objektumtípus: %1. - + Invalid file provided. A megadott fájl érvénytelen. - + Could not save file: A fájl mentése nem sikerült: - + Loaded file '%1'. A(z) „%1” fájl betöltve. @@ -1412,114 +1412,114 @@ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelents parameters - + above ↑ Felett - + below ↓ Alatt - - + + left ← Balra - - + + right → Jobbra - + above-left ↖ Felett, balra - + above-right ↗ Felett, jobbra - + below-left ↙ Alatt, balra - + below-right ↘ Alatt, jobbra - + center >|< Középre - + top ↑ Felső - + bottom ↓ Alsó - + top-left ↖ Bal felső - + top-right ↗ Jobb felső - + bottom-left ↙ Bal alsó - + bottom-right ↘ Jobb alsó - + application Alkalmazás - + function Függvény - + high Magas - + low Alul - + Next to target Cél mellé - + With label Címkével - + Hidden Rejtett @@ -1579,7 +1579,7 @@ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelents Ordináta tartomány - + @@ -1598,7 +1598,7 @@ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelents Megjelenítési mód - + @@ -1621,23 +1621,23 @@ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelents Szaggatott vonalak megjelenítése - + om_0 ω₀ - + pass Áteresztő - + gain Nagyságrend nyeresége - + omGraduation ω₀ érettségi megjelenítése @@ -1751,17 +1751,17 @@ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelents settingCategory - + general - + editor Kifejezésszerkesztő - + default Alapértelmezett ábra @@ -1819,37 +1819,41 @@ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelents usage - - - Usage: %1 - Használat: %1 - - - - - - Usage: %1 or -%2 - Használat: %1 vagy -%2 - - - + integral(<from: number>, <to: number>, <f: ExecutableObject>) integrál(<alsó korlát: szám>, <felső korlát: szám>, <függvény: végrehajtható objektum>) - + + + Usage: +%1 + Használat: +%1 + + + + + + Usage: +%1 +%2 + Használat: +%1 +%2 + + + integral(<from: number>, <to: number>, <f: string>, <variable: string>) integrál(<alsó korlát: szám>, <felső korlát: szám>, <függvény: karakterlánc>, <változó: karakterlánc>) - + derivative(<f: ExecutableObject>, <x: number>) derivált(<függvény: VégrehajthatóObjektum>, <x: szám>) - + derivative(<f: string>, <variable: string>, <x: number>) derivált(<függvény: karakterlánc>, <változó: karakterlánc>, <x: szám>) diff --git a/LogarithmPlotter/i18n/lp_nb_NO.ts b/LogarithmPlotter/i18n/lp_nb_NO.ts index 904af86..5e94d77 100644 --- a/LogarithmPlotter/i18n/lp_nb_NO.ts +++ b/LogarithmPlotter/i18n/lp_nb_NO.ts @@ -776,24 +776,24 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen. bodemagnitude - + Bode Magnitude Bode-magnitude - + Bode Magnitudes Bode-magnituder - - + + low-pass lavpass - - + + high-pass høypass @@ -832,12 +832,12 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen. changelog - + Could not fetch changelog: Server error {}. - + Could not fetch update: {}. @@ -1182,17 +1182,17 @@ Evaluated expression: %3 general - + Check for updates on startup Se etter nye versjoner ved programstart - + Reset redo stack automaticly Tilbakestill angrehistorikk automatisk - + Enable LaTeX rendering @@ -1235,32 +1235,32 @@ Evaluated expression: %3 Historikk - + Saved plot to '%1'. Lagret plott i «%1». - + Loading file '%1'. Laster inn «%1»-fil. - + Unknown object type: %1. Ukjent objekttype: %1. - + Invalid file provided. Ugyldig fil angitt. - + Could not save file: Kunne ikke lagre fil: - + Loaded file '%1'. Lastet inn filen «%1». @@ -1330,114 +1330,114 @@ Please make sure your latex installation is correct and report a bug if so. parameters - + above - - - below - - - - left + below - right + left - above-left + + right - above-right + above-left - below-left + above-right + below-left + + + + below-right - + center - + top - + bottom - + top-left - + top-right - + bottom-left - + bottom-right - + application - + function - + high - + low - + Next to target - + With label - + Hidden @@ -1502,7 +1502,7 @@ Please make sure your latex installation is correct and report a bug if so. - + @@ -1516,7 +1516,7 @@ Please make sure your latex installation is correct and report a bug if so. - + @@ -1539,23 +1539,23 @@ Please make sure your latex installation is correct and report a bug if so. - + om_0 - + pass - + gain - + omGraduation @@ -1665,17 +1665,17 @@ Please make sure your latex installation is correct and report a bug if so. settingCategory - + general - + editor - + default @@ -1733,36 +1733,38 @@ Please make sure your latex installation is correct and report a bug if so. usage - - - Usage: %1 - - - - - - - Usage: %1 or -%2 - - - - + integral(<from: number>, <to: number>, <f: ExecutableObject>) - + + + Usage: +%1 + + + + + + + Usage: +%1 +%2 + + + + integral(<from: number>, <to: number>, <f: string>, <variable: string>) - + derivative(<f: ExecutableObject>, <x: number>) - + derivative(<f: string>, <variable: string>, <x: number>) diff --git a/LogarithmPlotter/i18n/lp_template.ts b/LogarithmPlotter/i18n/lp_template.ts index 511c6c2..7626f7b 100644 --- a/LogarithmPlotter/i18n/lp_template.ts +++ b/LogarithmPlotter/i18n/lp_template.ts @@ -664,24 +664,24 @@ bodemagnitude - + Bode Magnitude - + Bode Magnitudes - - + + low-pass - - + + high-pass @@ -720,12 +720,12 @@ changelog - + Could not fetch changelog: Server error {}. - + Could not fetch update: {}. @@ -1051,17 +1051,17 @@ Evaluated expression: %3 general - + Check for updates on startup - + Reset redo stack automaticly - + Enable LaTeX rendering @@ -1069,32 +1069,32 @@ Evaluated expression: %3 io - + Saved plot to '%1'. - + Loading file '%1'. - + Unknown object type: %1. - + Invalid file provided. - + Could not save file: - + Loaded file '%1'. @@ -1152,114 +1152,114 @@ Please make sure your latex installation is correct and report a bug if so. parameters - + above - - - below - - - - left + below - right + left - above-left + + right - above-right + above-left - below-left + above-right + below-left + + + + below-right - + center - + top - + bottom - + top-left - + top-right - + bottom-left - + bottom-right - + application - + function - + high - + low - + Next to target - + With label - + Hidden @@ -1313,7 +1313,7 @@ Please make sure your latex installation is correct and report a bug if so. - + @@ -1327,7 +1327,7 @@ Please make sure your latex installation is correct and report a bug if so. - + @@ -1350,23 +1350,23 @@ Please make sure your latex installation is correct and report a bug if so. - + om_0 - + pass - + gain - + omGraduation @@ -1465,17 +1465,17 @@ Please make sure your latex installation is correct and report a bug if so. settingCategory - + general - + editor - + default @@ -1519,36 +1519,38 @@ Please make sure your latex installation is correct and report a bug if so. usage - - - Usage: %1 - - - - - - - Usage: %1 or -%2 - - - - + integral(<from: number>, <to: number>, <f: ExecutableObject>) - + + + Usage: +%1 + + + + + + + Usage: +%1 +%2 + + + + integral(<from: number>, <to: number>, <f: string>, <variable: string>) - + derivative(<f: ExecutableObject>, <x: number>) - + derivative(<f: string>, <variable: string>, <x: number>) diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/module/expreval.mjs b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/module/expreval.mjs index 9ad06d5..f936541 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/module/expreval.mjs +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/module/expreval.mjs @@ -63,17 +63,17 @@ export class ExprParserAPI extends Module { // Parse object f = args[0] if(typeof f !== "object" || !f.execute) - throw EvalError(qsTranslate("usage", "Usage: %1").arg(usage1)) + throw EvalError(qsTranslate("usage", "Usage:\n%1").arg(usage1)) let target = f f = (x) => target.execute(x) } else if(args.length === 2) { // Parse variable [f, variable] = args if(typeof f !== "string" || typeof variable !== "string") - throw EvalError(qsTranslate("usage", "Usage: %1").arg(usage2)) + throw EvalError(qsTranslate("usage", "Usage:\n%1").arg(usage2)) f = this._parser.parse(f).toJSFunction(variable, this.currentVars) } else - throw EvalError(qsTranslate("usage", "Usage: %1 or\n%2").arg(usage1).arg(usage2)) + throw EvalError(qsTranslate("usage", "Usage:\n%1\n%2").arg(usage1).arg(usage2)) return f } @@ -89,7 +89,7 @@ export class ExprParserAPI extends Module { let usage2 = qsTranslate("usage", "integral(, , , )") let f = this.parseArgumentsForFunction(args, usage1, usage2) if(a == null || b == null) - throw EvalError(qsTranslate("usage", "Usage: %1 or\n%2").arg(usage1).arg(usage2)) + throw EvalError(qsTranslate("usage", "Usage:\n%1\n%2").arg(usage1).arg(usage2)) // https://en.wikipedia.org/wiki/Simpson%27s_rule // Simpler, faster than tokenizing the expression @@ -102,7 +102,7 @@ export class ExprParserAPI extends Module { let x = args.pop() let f = this.parseArgumentsForFunction(args, usage1, usage2) if(x == null) - throw EvalError(qsTranslate("usage", "Usage: %1 or\n%2").arg(usage1).arg(usage2)) + throw EvalError(qsTranslate("usage", "Usage:\n%1\n%2").arg(usage1).arg(usage2)) let derivative_precision = x / 10 return (f(x + derivative_precision / 2) - f(x - derivative_precision / 2)) / derivative_precision