From 8f95479689cef694132426c3c9166b77ce67b914 Mon Sep 17 00:00:00 2001 From: Ad5001 <mail@ad5001.eu> Date: Wed, 18 Sep 2024 23:26:07 +0200 Subject: [PATCH 1/2] Making pyinstaller command multiline. --- scripts/build-wine.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/build-wine.sh b/scripts/build-wine.sh index 062e471..39b2312 100644 --- a/scripts/build-wine.sh +++ b/scripts/build-wine.sh @@ -11,7 +11,13 @@ cd "LogarithmPlotter/i18n/" bash release.sh cd ../../ -wine pyinstaller --add-data "logplotter.svg;." --add-data "LogarithmPlotter/qml;qml" --add-data "LogarithmPlotter/i18n;i18n" --noconsole LogarithmPlotter/logarithmplotter.py --icon=win/logarithmplotter.ico -n logarithmplotter +wine pyinstaller --add-data "logplotter.svg;." \ + --add-data "LogarithmPlotter/qml;qml" \ + --add-data "LogarithmPlotter/i18n;i18n" \ + --noconsole \ + LogarithmPlotter/logarithmplotter.py \ + --icon=win/logarithmplotter.ico \ + -n logarithmplotter # Copy Qt6ShaderTools, a required library for for Qt5Compat PYSIDE6PATH="$(wine python -c "import PySide6; from os import path; print(path.dirname(PySide6.__file__));")" From 7dd64c8e31abb0ed08ea6ae97d861001a3faf9fe Mon Sep 17 00:00:00 2001 From: Ad5001 <mail@ad5001.eu> Date: Thu, 19 Sep 2024 00:22:03 +0200 Subject: [PATCH 2/2] Fixing issue with Settings no longer being translated. --- LogarithmPlotter/i18n/lp_de.ts | 72 +++--- LogarithmPlotter/i18n/lp_en.ts | 42 ++-- LogarithmPlotter/i18n/lp_es.ts | 216 +++++++++--------- LogarithmPlotter/i18n/lp_fr.ts | 100 ++++---- LogarithmPlotter/i18n/lp_hu.ts | 44 ++-- LogarithmPlotter/i18n/lp_nb_NO.ts | 44 ++-- LogarithmPlotter/i18n/lp_template.ts | 40 ++-- .../LogarithmPlotter/Popup/Preferences.qml | 4 +- .../js/preferences/default.mjs | 26 +-- .../js/preferences/expression.mjs | 10 +- .../js/preferences/general.mjs | 6 +- linux/logplotter.desktop | 20 -- 12 files changed, 314 insertions(+), 310 deletions(-) delete mode 100644 linux/logplotter.desktop diff --git a/LogarithmPlotter/i18n/lp_de.ts b/LogarithmPlotter/i18n/lp_de.ts index de3c10c..c158a4d 100644 --- a/LogarithmPlotter/i18n/lp_de.ts +++ b/LogarithmPlotter/i18n/lp_de.ts @@ -5,7 +5,7 @@ <name>About</name> <message> <location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="31"/> - <location filename="../logarithmplotter.py" line="123"/> + <location filename="../logarithmplotter.py" line="137"/> <source>About LogarithmPlotter</source> <translation>Über LogarithmPlotter</translation> </message> @@ -406,22 +406,22 @@ Diese Einstellungen können jederzeit über das Menü "Einstellungen" <context> <name>HistoryBrowser</name> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="56"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="57"/> <source>Filter...</source> <translation>Filtern…</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="99"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="100"/> <source>Redo ></source> <translation>Wiederherstellen ></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="118"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="119"/> <source>> Now</source> <translation>> Aktueller Stand</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="148"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="149"/> <source>< Undo</source> <translation>< Rückgängig</translation> </message> @@ -545,17 +545,17 @@ Diese Einstellungen können jederzeit über das Menü "Einstellungen" <translation>Anzeigen %1 %2</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="143"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="159"/> <source>Set %1 %2 position</source> <translation>Position von %1 %2 einstellen</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="168"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="184"/> <source>Delete %1 %2</source> <translation>%1 %2 löschen</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="197"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="213"/> <source>Pick new color for %1 %2</source> <translation>Neue Farbe für %1 %2 auswählen</translation> </message> @@ -812,12 +812,12 @@ Diese Einstellungen können jederzeit über das Menü "Einstellungen" <context> <name>changelog</name> <message> - <location filename="../util/helper.py" line="49"/> + <location filename="../util/helper.py" line="52"/> <source>Could not fetch changelog: Server error {}.</source> <translation>Changelog konnte nicht geholt werden: Server-Fehler {}.</translation> </message> <message> - <location filename="../util/helper.py" line="52"/> + <location filename="../util/helper.py" line="55"/> <source>Could not fetch update: {}.</source> <translation>Changelog konnte nicht geholt werden: {}.</translation> </message> @@ -1240,7 +1240,7 @@ Ausdruck analysiert: %3</translation> <context> <name>latex</name> <message> - <location filename="../util/latex.py" line="82"/> + <location filename="../util/latex.py" line="94"/> <source>No Latex installation found. If you already have a latex distribution installed, make sure it's installed on your path. Otherwise, you can download a Latex distribution like TeX Live at https://tug.org/texlive/.</source> @@ -1249,12 +1249,12 @@ Wenn Sie bereits eine LaTeX-Distribution installiert haben, vergewissern Sie sic Andernfalls können Sie eine LaTeX-Distribution wie TeX Live unter https://tug.org/texlive/ herunterladen.</translation> </message> <message> - <location filename="../util/latex.py" line="87"/> + <location filename="../util/latex.py" line="100"/> <source>DVIPNG was not found. Make sure you include it from your Latex distribution.</source> <translation>DVIPNG wurde nicht gefunden. Stellen Sie sicher, dass Sie es aus Ihrer LaTeX-Distribution einbinden.</translation> </message> <message> - <location filename="../util/latex.py" line="173"/> + <location filename="../util/latex.py" line="202"/> <source>An exception occured within the creation of the latex formula. Process '{}' ended with a non-zero return code {}: @@ -1267,7 +1267,7 @@ Der Prozess '{}' wurde mit einem Rückgabecode ungleich Null beendet { Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melden Sie einen Fehler, falls dies der Fall ist.</translation> </message> <message> - <location filename="../util/latex.py" line="186"/> + <location filename="../util/latex.py" line="216"/> <source>Your LaTeX installation does not include some required packages: - {} (https://ctan.org/pkg/{}) @@ -1280,7 +1280,7 @@ Make sure said package is installed, or disable the LaTeX rendering in Logarithm Stellen Sie sicher, dass diese Pakete installiert sind, oder deaktivieren Sie das LaTeX-Rendering in LogarithmPlotter.</translation> </message> <message> - <location filename="../util/latex.py" line="190"/> + <location filename="../util/latex.py" line="220"/> <source>An exception occured within the creation of the latex formula. Process '{}' took too long to finish: {} @@ -1559,6 +1559,21 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde <translation>Folgen</translation> </message> </context> +<context> + <name>settingCategory</name> + <message> + <source>default</source> + <translation>Standardeinstellungen</translation> + </message> + <message> + <source>general</source> + <translation>Allgemeine</translation> + </message> + <message> + <source>editor</source> + <translation>Ausdruckseditor</translation> + </message> +</context> <context> <name>sommegainsbode</name> <message> @@ -1587,22 +1602,26 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde <context> <name>update</name> <message> - <location filename="../util/update.py" line="56"/> <source>An update for LogarithPlotter (v{}) is available.</source> <translation>Ein Aktualisierung für LogarithmPlotter (v{}) ist verfügbar.</translation> </message> <message> - <location filename="../util/update.py" line="62"/> + <location filename="../util/update.py" line="56"/> + <source>An update for LogarithmPlotter (v{}) is available.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../util/update.py" line="61"/> <source>No update available.</source> <translation>Keine Aktualisierung verfügbar.</translation> </message> <message> - <location filename="../util/update.py" line="65"/> + <location filename="../util/update.py" line="64"/> <source>Could not fetch update information: Server error {}.</source> <translation>Es konnten keine Aktualisierungsinformationen abgerufen werden: Server-Fehler {}.</translation> </message> <message> - <location filename="../util/update.py" line="69"/> + <location filename="../util/update.py" line="68"/> <source>Could not fetch update information: {}.</source> <translation>Es konnten keine Aktualisierungsinformationen abgerufen werden:{}.</translation> </message> @@ -1667,19 +1686,4 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde <translation>X Zeiger</translation> </message> </context> -<context> - <name>settingCategory</name> - <message> - <source>default</source> - <translation>Standardeinstellungen</translation> - </message> - <message> - <source>general</source> - <translation>Allgemeine</translation> - </message> - <message> - <source>editor</source> - <translation>Ausdruckseditor</translation> - </message> -</context> </TS> diff --git a/LogarithmPlotter/i18n/lp_en.ts b/LogarithmPlotter/i18n/lp_en.ts index c7faea3..4ce11d3 100644 --- a/LogarithmPlotter/i18n/lp_en.ts +++ b/LogarithmPlotter/i18n/lp_en.ts @@ -5,7 +5,7 @@ <name>About</name> <message> <location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="31"/> - <location filename="../logarithmplotter.py" line="123"/> + <location filename="../logarithmplotter.py" line="137"/> <source>About LogarithmPlotter</source> <translation>About LogarithmPlotter</translation> </message> @@ -406,22 +406,22 @@ These settings can be changed at any time from the "Settings" menu.</t <context> <name>HistoryBrowser</name> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="56"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="57"/> <source>Filter...</source> <translation>Filter…</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="99"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="100"/> <source>Redo ></source> <translation>Redo ></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="118"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="119"/> <source>> Now</source> <translation>> Now</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="148"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="149"/> <source>< Undo</source> <translation>< Undo</translation> </message> @@ -545,17 +545,17 @@ These settings can be changed at any time from the "Settings" menu.</t <translation>Show %1 %2</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="143"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="159"/> <source>Set %1 %2 position</source> <translation>Set %1 %2 position</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="168"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="184"/> <source>Delete %1 %2</source> <translation>Delete %1 %2</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="197"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="213"/> <source>Pick new color for %1 %2</source> <translation>Pick new color for %1 %2</translation> </message> @@ -812,12 +812,12 @@ These settings can be changed at any time from the "Settings" menu.</t <context> <name>changelog</name> <message> - <location filename="../util/helper.py" line="49"/> + <location filename="../util/helper.py" line="52"/> <source>Could not fetch changelog: Server error {}.</source> <translation>Could not fetch changelog: Server error {}.</translation> </message> <message> - <location filename="../util/helper.py" line="52"/> + <location filename="../util/helper.py" line="55"/> <source>Could not fetch update: {}.</source> <translation>Could not fetch changelog: {}.</translation> </message> @@ -1240,7 +1240,7 @@ Evaluated expression: %3</translation> <context> <name>latex</name> <message> - <location filename="../util/latex.py" line="82"/> + <location filename="../util/latex.py" line="94"/> <source>No Latex installation found. If you already have a latex distribution installed, make sure it's installed on your path. Otherwise, you can download a Latex distribution like TeX Live at https://tug.org/texlive/.</source> @@ -1249,12 +1249,12 @@ If you already have a LaTeX distribution installed, make sure it's installe Otherwise, you can download a LaTeX distribution like TeX Live at https://tug.org/texlive/.</translation> </message> <message> - <location filename="../util/latex.py" line="87"/> + <location filename="../util/latex.py" line="100"/> <source>DVIPNG was not found. Make sure you include it from your Latex distribution.</source> <translation>DVIPNG was not found. Make sure you include it from your LaTeX distribution.</translation> </message> <message> - <location filename="../util/latex.py" line="173"/> + <location filename="../util/latex.py" line="202"/> <source>An exception occured within the creation of the latex formula. Process '{}' ended with a non-zero return code {}: @@ -1267,7 +1267,7 @@ Process '{}' ended with a non-zero return code {}: Please make sure your LaTeX installation is correct and report a bug if so.</translation> </message> <message> - <location filename="../util/latex.py" line="186"/> + <location filename="../util/latex.py" line="216"/> <source>Your LaTeX installation does not include some required packages: - {} (https://ctan.org/pkg/{}) @@ -1280,7 +1280,7 @@ Make sure said package is installed, or disable the LaTeX rendering in Logarithm Make sure said package is installed, or disable the LaTeX rendering in LogarithmPlotter.</translation> </message> <message> - <location filename="../util/latex.py" line="190"/> + <location filename="../util/latex.py" line="220"/> <source>An exception occured within the creation of the latex formula. Process '{}' took too long to finish: {} @@ -1602,22 +1602,26 @@ Please make sure your LaTeX installation is correct and report a bug if so.</tra <context> <name>update</name> <message> - <location filename="../util/update.py" line="56"/> <source>An update for LogarithPlotter (v{}) is available.</source> <translation>An update for LogarithmPlotter (v{}) is available.</translation> </message> <message> - <location filename="../util/update.py" line="62"/> + <location filename="../util/update.py" line="56"/> + <source>An update for LogarithmPlotter (v{}) is available.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../util/update.py" line="61"/> <source>No update available.</source> <translation>No update available.</translation> </message> <message> - <location filename="../util/update.py" line="65"/> + <location filename="../util/update.py" line="64"/> <source>Could not fetch update information: Server error {}.</source> <translation>Could not fetch update information: Server error {}.</translation> </message> <message> - <location filename="../util/update.py" line="69"/> + <location filename="../util/update.py" line="68"/> <source>Could not fetch update information: {}.</source> <translation>Could not fetch update information: {}.</translation> </message> diff --git a/LogarithmPlotter/i18n/lp_es.ts b/LogarithmPlotter/i18n/lp_es.ts index c26b7db..ae2702e 100644 --- a/LogarithmPlotter/i18n/lp_es.ts +++ b/LogarithmPlotter/i18n/lp_es.ts @@ -5,7 +5,7 @@ <name>About</name> <message> <location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="31"/> - <location filename="../logarithmplotter.py" line="123"/> + <location filename="../logarithmplotter.py" line="137"/> <source>About LogarithmPlotter</source> <translation>Sobre LogarithmPlotter</translation> </message> @@ -406,22 +406,22 @@ Estos ajustes se pueden cambiar en cualquier momento desde el menú “Ajustes <context> <name>HistoryBrowser</name> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="56"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="57"/> <source>Filter...</source> <translation></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="99"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="100"/> <source>Redo ></source> <translation>Rehacer ></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="118"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="119"/> <source>> Now</source> <translation>> Ahora</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="148"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="149"/> <source>< Undo</source> <translation>< Deshacer</translation> </message> @@ -545,17 +545,17 @@ Estos ajustes se pueden cambiar en cualquier momento desde el menú “Ajustes <translation>Mostrar %1 %2</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="143"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="159"/> <source>Set %1 %2 position</source> <translation></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="168"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="184"/> <source>Delete %1 %2</source> <translation></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="197"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="213"/> <source>Pick new color for %1 %2</source> <translation>Elegir nuevo color para %1 %2</translation> </message> @@ -812,12 +812,12 @@ Estos ajustes se pueden cambiar en cualquier momento desde el menú “Ajustes <context> <name>changelog</name> <message> - <location filename="../util/helper.py" line="49"/> + <location filename="../util/helper.py" line="52"/> <source>Could not fetch changelog: Server error {}.</source> <translation>No se ha podido recuperar el registro de cambios: Error del servidor {}.</translation> </message> <message> - <location filename="../util/helper.py" line="52"/> + <location filename="../util/helper.py" line="55"/> <source>Could not fetch update: {}.</source> <translation>No se pudo obtener el registro de cambios: {}.</translation> </message> @@ -1200,7 +1200,7 @@ Expresión evaluada: %3</translation> <context> <name>latex</name> <message> - <location filename="../util/latex.py" line="82"/> + <location filename="../util/latex.py" line="94"/> <source>No Latex installation found. If you already have a latex distribution installed, make sure it's installed on your path. Otherwise, you can download a Latex distribution like TeX Live at https://tug.org/texlive/.</source> @@ -1209,12 +1209,12 @@ Si ya tiene instalada una distribución de LaTeX, asegúrese de que está instal De lo contrario, puede descargar una distribución de LaTeX como TeX Live en https://tug.org/texlive/.</translation> </message> <message> - <location filename="../util/latex.py" line="87"/> + <location filename="../util/latex.py" line="100"/> <source>DVIPNG was not found. Make sure you include it from your Latex distribution.</source> <translation>No se ha encontrado DVIPNG. Asegúrese de incluirlo en tu distribución LaTeX.</translation> </message> <message> - <location filename="../util/latex.py" line="173"/> + <location filename="../util/latex.py" line="202"/> <source>An exception occured within the creation of the latex formula. Process '{}' ended with a non-zero return code {}: @@ -1227,7 +1227,7 @@ El proceso '{}' terminó con un código de retorno distinto de cero {} Por favor, asegúrate de que tu instalación de LaTeX es correcta e informe de un error si es así.</translation> </message> <message> - <location filename="../util/latex.py" line="186"/> + <location filename="../util/latex.py" line="216"/> <source>Your LaTeX installation does not include some required packages: - {} (https://ctan.org/pkg/{}) @@ -1240,7 +1240,7 @@ Make sure said package is installed, or disable the LaTeX rendering in Logarithm Asegúrate de que dicho paquete está instalado, o desactive el renderizado LaTeX en LogarithmPlotter.</translation> </message> <message> - <location filename="../util/latex.py" line="190"/> + <location filename="../util/latex.py" line="220"/> <source>An exception occured within the creation of the latex formula. Process '{}' took too long to finish: {} @@ -1350,64 +1350,25 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u </message> </context> <context> - <name>update</name> + <name>phasebode</name> <message> - <location filename="../util/update.py" line="56"/> - <source>An update for LogarithPlotter (v{}) is available.</source> - <translation>Una actualización para LogarithmPlotter (v{}) está disponible.</translation> + <source>Bode Phase</source> + <translation>Fase de Bode</translation> </message> <message> - <location filename="../util/update.py" line="62"/> - <source>No update available.</source> - <translation>No hay ninguna actualización disponible.</translation> - </message> - <message> - <location filename="../util/update.py" line="65"/> - <source>Could not fetch update information: Server error {}.</source> - <translation>No se ha podido obtener la información de la actualización: Error del servidor {}.</translation> - </message> - <message> - <location filename="../util/update.py" line="69"/> - <source>Could not fetch update information: {}.</source> - <translation>No se pudo obtener información de la actualización: {}.</translation> + <source>Bode Phases</source> + <translation>Fases de Bode</translation> </message> </context> <context> - <name>usage</name> + <name>point</name> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="69"/> - <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="76"/> - <source>Usage: %1</source> - <translation>Uso: %1</translation> + <source>Point</source> + <translation>Punto</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="79"/> - <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="95"/> - <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="108"/> - <source>Usage: %1 or -%2</source> - <translation>Uso: %1 o -%2</translation> - </message> - <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="91"/> - <source>integral(<from: number>, <to: number>, <f: ExecutableObject>)</source> - <translation>integral(<desde: número>, <hasta: número>, <f: objeto ejecutable>)</translation> - </message> - <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="92"/> - <source>integral(<from: number>, <to: number>, <f: string>, <variable: string>)</source> - <translation>integral(<from: number>, <to: number>, <f: string>, <variable: string>)</translation> - </message> - <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="103"/> - <source>derivative(<f: ExecutableObject>, <x: number>)</source> - <translation>derivada(<f: ExecutableObject>, <x: number>)</translation> - </message> - <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="104"/> - <source>derivative(<f: string>, <variable: string>, <x: number>)</source> - <translation>derivada(<f: string>, <variable: string>, <x: number>)</translation> + <source>Points</source> + <translation>Puntos</translation> </message> </context> <context> @@ -1536,43 +1497,6 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u <translation>Valores de inicialización</translation> </message> </context> -<context> - <name>phasebode</name> - <message> - <source>Bode Phase</source> - <translation>Fase de Bode</translation> - </message> - <message> - <source>Bode Phases</source> - <translation>Fases de Bode</translation> - </message> -</context> -<context> - <name>point</name> - <message> - <source>Point</source> - <translation>Punto</translation> - </message> - <message> - <source>Points</source> - <translation>Puntos</translation> - </message> -</context> -<context> - <name>settingCategory</name> - <message> - <source>general</source> - <translation>General</translation> - </message> - <message> - <source>editor</source> - <translation>Editor de expresiones</translation> - </message> - <message> - <source>default</source> - <translation>Ajustes por defecto</translation> - </message> -</context> <context> <name>repartition</name> <message> @@ -1595,6 +1519,21 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u <translation>Secuencia</translation> </message> </context> +<context> + <name>settingCategory</name> + <message> + <source>general</source> + <translation>General</translation> + </message> + <message> + <source>editor</source> + <translation>Editor de expresiones</translation> + </message> + <message> + <source>default</source> + <translation>Ajustes por defecto</translation> + </message> +</context> <context> <name>sommegainsbode</name> <message> @@ -1621,14 +1560,68 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u </message> </context> <context> - <name>xcursor</name> + <name>update</name> <message> - <source>X Cursor</source> - <translation>Cursor X</translation> + <source>An update for LogarithPlotter (v{}) is available.</source> + <translation>Una actualización para LogarithmPlotter (v{}) está disponible.</translation> </message> <message> - <source>X Cursors</source> - <translation>Cursores X</translation> + <location filename="../util/update.py" line="56"/> + <source>An update for LogarithmPlotter (v{}) is available.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../util/update.py" line="61"/> + <source>No update available.</source> + <translation>No hay ninguna actualización disponible.</translation> + </message> + <message> + <location filename="../util/update.py" line="64"/> + <source>Could not fetch update information: Server error {}.</source> + <translation>No se ha podido obtener la información de la actualización: Error del servidor {}.</translation> + </message> + <message> + <location filename="../util/update.py" line="68"/> + <source>Could not fetch update information: {}.</source> + <translation>No se pudo obtener información de la actualización: {}.</translation> + </message> +</context> +<context> + <name>usage</name> + <message> + <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="69"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="76"/> + <source>Usage: %1</source> + <translation>Uso: %1</translation> + </message> + <message> + <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="79"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="95"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="108"/> + <source>Usage: %1 or +%2</source> + <translation>Uso: %1 o +%2</translation> + </message> + <message> + <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="91"/> + <source>integral(<from: number>, <to: number>, <f: ExecutableObject>)</source> + <translation>integral(<desde: número>, <hasta: número>, <f: objeto ejecutable>)</translation> + </message> + <message> + <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="92"/> + <source>integral(<from: number>, <to: number>, <f: string>, <variable: string>)</source> + <translation>integral(<from: number>, <to: number>, <f: string>, <variable: string>)</translation> + </message> + <message> + <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="103"/> + <source>derivative(<f: ExecutableObject>, <x: number>)</source> + <translation>derivada(<f: ExecutableObject>, <x: number>)</translation> + </message> + <message> + <location filename="../qml/eu/ad5001/LogarithmPlotter/js/lib/expr-eval/integration.js" line="104"/> + <source>derivative(<f: string>, <variable: string>, <x: number>)</source> + <translation>derivada(<f: string>, <variable: string>, <x: number>)</translation> </message> </context> <context> @@ -1642,4 +1635,15 @@ Por favor, asegúrese de que su instalación de LaTeX es correcta e informe de u <translation>Se oculta %1 %2.</translation> </message> </context> +<context> + <name>xcursor</name> + <message> + <source>X Cursor</source> + <translation>Cursor X</translation> + </message> + <message> + <source>X Cursors</source> + <translation>Cursores X</translation> + </message> +</context> </TS> diff --git a/LogarithmPlotter/i18n/lp_fr.ts b/LogarithmPlotter/i18n/lp_fr.ts index 86d982b..145c89e 100644 --- a/LogarithmPlotter/i18n/lp_fr.ts +++ b/LogarithmPlotter/i18n/lp_fr.ts @@ -5,7 +5,7 @@ <name>About</name> <message> <location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="31"/> - <location filename="../logarithmplotter.py" line="123"/> + <location filename="../logarithmplotter.py" line="137"/> <source>About LogarithmPlotter</source> <translation>À propos de LogarithmPlotter</translation> </message> @@ -399,7 +399,7 @@ Ces paramètres peuvent être modifiés à tout moment à partir du menu "P <message> <source>Take a few seconds to configure LogarithmPlotter. These settings can always be changed at any time from the "Settings" menu.</source> - <translation type="obsolete">Take a few seconds to configure LogarithmPlotter. + <translation>Take a few seconds to configure LogarithmPlotter. These settings can always be changed at any time from the "Settings" menu.</translation> </message> <message> @@ -414,22 +414,22 @@ These settings can always be changed at any time from the "Settings" m <context> <name>HistoryBrowser</name> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="56"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="57"/> <source>Filter...</source> <translation>Filtrer…</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="99"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="100"/> <source>Redo ></source> <translation>Rétablir ></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="118"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="119"/> <source>> Now</source> <translation>> État actuel</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="148"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="149"/> <source>< Undo</source> <translation>< Annuler</translation> </message> @@ -553,17 +553,17 @@ These settings can always be changed at any time from the "Settings" m <translation>Montrer l'objet %1 %2</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="143"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="159"/> <source>Set %1 %2 position</source> <translation>Définir la position de l'objet %1 %2</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="168"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="184"/> <source>Delete %1 %2</source> <translation>Supprimer l'objet %1 %2</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="197"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="213"/> <source>Pick new color for %1 %2</source> <translation>Choisissez une nouvelle couleur pour %1 %2</translation> </message> @@ -820,12 +820,12 @@ These settings can always be changed at any time from the "Settings" m <context> <name>changelog</name> <message> - <location filename="../util/helper.py" line="49"/> + <location filename="../util/helper.py" line="52"/> <source>Could not fetch changelog: Server error {}.</source> <translation>Impossible de récupérer l'historique des modifications : Erreur de serveur {}.</translation> </message> <message> - <location filename="../util/helper.py" line="52"/> + <location filename="../util/helper.py" line="55"/> <source>Could not fetch update: {}.</source> <translation>Impossible de récupérer l'historique des modifications : {}.</translation> </message> @@ -1108,19 +1108,19 @@ Formule analysée : %3</translation> </message> <message> <source>Automatically close parenthesises and brackets</source> - <translation type="obsolete">Fermer automatiquement les parenthèses et les crochets</translation> + <translation>Fermer automatiquement les parenthèses et les crochets</translation> </message> <message> <source>Enable syntax highlighting</source> - <translation type="obsolete">Activer la coloration syntaxique</translation> + <translation>Activer la coloration syntaxique</translation> </message> <message> <source>Enable autocompletion</source> - <translation type="obsolete">Activer l'autocomplétion</translation> + <translation>Activer l'autocomplétion</translation> </message> <message> <source>Color Scheme</source> - <translation type="obsolete">Coloration Syntaxique</translation> + <translation>Coloration Syntaxique</translation> </message> </context> <context> @@ -1157,15 +1157,15 @@ Formule analysée : %3</translation> <name>general</name> <message> <source>Check for updates on startup</source> - <translation type="obsolete">Vérifier la présence de mise à jour au démarrage</translation> + <translation>Vérifier la présence de mise à jour au démarrage</translation> </message> <message> <source>Reset redo stack automaticly</source> - <translation type="obsolete">Réinitialiser la pile d'action "Rétablir" automatiquement</translation> + <translation>Réinitialiser la pile d'action "Rétablir" automatiquement</translation> </message> <message> <source>Enable LaTeX rendering</source> - <translation type="obsolete">Activer le rendu LaTeX</translation> + <translation>Activer le rendu LaTeX</translation> </message> </context> <context> @@ -1211,27 +1211,27 @@ Formule analysée : %3</translation> </message> <message> <source>Saved plot to '%1'.</source> - <translation type="obsolete">Graphe sauvegardé dans '%1'.</translation> + <translation>Graphe sauvegardé dans '%1'.</translation> </message> <message> <source>Loading file '%1'.</source> - <translation type="obsolete">Chargement du fichier '%1'.</translation> + <translation>Chargement du fichier '%1'.</translation> </message> <message> <source>Unknown object type: %1.</source> - <translation type="obsolete">Type d'objet inconnu : %1.</translation> + <translation>Type d'objet inconnu : %1.</translation> </message> <message> <source>Invalid file provided.</source> - <translation type="obsolete">Fichier fourni invalide.</translation> + <translation>Fichier fourni invalide.</translation> </message> <message> <source>Could not save file: </source> - <translation type="obsolete">Impossible de sauvegarder le fichier : </translation> + <translation>Impossible de sauvegarder le fichier : </translation> </message> <message> <source>Loaded file '%1'.</source> - <translation type="obsolete">Fichier '%1' chargé.</translation> + <translation>Fichier '%1' chargé.</translation> </message> <message> <source>Copied plot screenshot to clipboard!</source> @@ -1249,7 +1249,7 @@ Formule analysée : %3</translation> <context> <name>latex</name> <message> - <location filename="../util/latex.py" line="82"/> + <location filename="../util/latex.py" line="94"/> <source>No Latex installation found. If you already have a latex distribution installed, make sure it's installed on your path. Otherwise, you can download a Latex distribution like TeX Live at https://tug.org/texlive/.</source> @@ -1258,12 +1258,12 @@ Si vous avez déjà installé une distribution LaTeX, assurez-vous qu'elle Sinon, vous pouvez télécharger une distribution LaTeX comme TeX Live à l'adresse https://tug.org/texlive/.</translation> </message> <message> - <location filename="../util/latex.py" line="87"/> + <location filename="../util/latex.py" line="100"/> <source>DVIPNG was not found. Make sure you include it from your Latex distribution.</source> <translation>DVIPNG n'a pas été trouvé. Assurez-vous de l'inclure dans votre distribution LaTeX.</translation> </message> <message> - <location filename="../util/latex.py" line="173"/> + <location filename="../util/latex.py" line="202"/> <source>An exception occured within the creation of the latex formula. Process '{}' ended with a non-zero return code {}: @@ -1276,7 +1276,7 @@ Le processus '{}' s'est terminé par un code de retour non nul {} Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c'est le cas.</translation> </message> <message> - <location filename="../util/latex.py" line="186"/> + <location filename="../util/latex.py" line="216"/> <source>Your LaTeX installation does not include some required packages: - {} (https://ctan.org/pkg/{}) @@ -1289,7 +1289,7 @@ Make sure said package is installed, or disable the LaTeX rendering in Logarithm Assurez-vous que ce paquetage est installé, ou désactivez le rendu LaTeX dans LogarithmPlotter.</translation> </message> <message> - <location filename="../util/latex.py" line="190"/> + <location filename="../util/latex.py" line="220"/> <source>An exception occured within the creation of the latex formula. Process '{}' took too long to finish: {} @@ -1568,6 +1568,21 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c <translation>Suites</translation> </message> </context> +<context> + <name>settingCategory</name> + <message> + <source>general</source> + <translation>Général</translation> + </message> + <message> + <source>editor</source> + <translation>Éditeur de formule</translation> + </message> + <message> + <source>default</source> + <translation>Paramètres par défaut</translation> + </message> +</context> <context> <name>sommegainsbode</name> <message> @@ -1596,22 +1611,26 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c <context> <name>update</name> <message> - <location filename="../util/update.py" line="56"/> <source>An update for LogarithPlotter (v{}) is available.</source> <translation>Une mise à jour de LogarithmPlotter (v{}) est disponible.</translation> </message> <message> - <location filename="../util/update.py" line="62"/> + <location filename="../util/update.py" line="56"/> + <source>An update for LogarithmPlotter (v{}) is available.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../util/update.py" line="61"/> <source>No update available.</source> <translation>À jour.</translation> </message> <message> - <location filename="../util/update.py" line="65"/> + <location filename="../util/update.py" line="64"/> <source>Could not fetch update information: Server error {}.</source> <translation>Impossible de récupérer les informations de mise à jour. Erreur du serveur {}.</translation> </message> <message> - <location filename="../util/update.py" line="69"/> + <location filename="../util/update.py" line="68"/> <source>Could not fetch update information: {}.</source> <translation>Impossible de récupérer les informations de mise à jour. {}.</translation> </message> @@ -1676,19 +1695,4 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c <translation>Curseurs X</translation> </message> </context> -<context> - <name>settingCategory</name> - <message> - <source>general</source> - <translation>Général</translation> - </message> - <message> - <source>editor</source> - <translation>Éditeur de formule</translation> - </message> - <message> - <source>default</source> - <translation>Paramètres par défaut</translation> - </message> -</context> </TS> diff --git a/LogarithmPlotter/i18n/lp_hu.ts b/LogarithmPlotter/i18n/lp_hu.ts index dfdbcaf..e21aa92 100644 --- a/LogarithmPlotter/i18n/lp_hu.ts +++ b/LogarithmPlotter/i18n/lp_hu.ts @@ -5,7 +5,7 @@ <name>About</name> <message> <location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="31"/> - <location filename="../logarithmplotter.py" line="123"/> + <location filename="../logarithmplotter.py" line="137"/> <source>About LogarithmPlotter</source> <translation>LogarithmPlotter névjegye</translation> </message> @@ -406,22 +406,22 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben. <context> <name>HistoryBrowser</name> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="56"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="57"/> <source>Filter...</source> <translation>Szűrő…</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="99"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="100"/> <source>Redo ></source> <translation>Ismétlés ></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="118"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="119"/> <source>> Now</source> <translation>> Most</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="148"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="149"/> <source>< Undo</source> <translation>< Visszavonás</translation> </message> @@ -545,17 +545,17 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben. <translation>%1 %2 megjelenítése</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="143"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="159"/> <source>Set %1 %2 position</source> <translation>%1 %2 helye beállítása</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="168"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="184"/> <source>Delete %1 %2</source> <translation>%1 %2 törlése</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="197"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="213"/> <source>Pick new color for %1 %2</source> <translation>Válasszon új színt a következőhöz: %1 %2</translation> </message> @@ -812,12 +812,12 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben. <context> <name>changelog</name> <message> - <location filename="../util/helper.py" line="49"/> + <location filename="../util/helper.py" line="52"/> <source>Could not fetch changelog: Server error {}.</source> <translation>Nem sikerült lekérni a változásnaplót: Kiszolgálóhiba: {}.</translation> </message> <message> - <location filename="../util/helper.py" line="52"/> + <location filename="../util/helper.py" line="55"/> <source>Could not fetch update: {}.</source> <translation>Nem sikerült lekérni a változásnaplót: {}.</translation> </message> @@ -1240,7 +1240,7 @@ Kiértékelt kifejezés: %3</translation> <context> <name>latex</name> <message> - <location filename="../util/latex.py" line="82"/> + <location filename="../util/latex.py" line="94"/> <source>No Latex installation found. If you already have a latex distribution installed, make sure it's installed on your path. Otherwise, you can download a Latex distribution like TeX Live at https://tug.org/texlive/.</source> @@ -1249,12 +1249,12 @@ Ha már telepítve van egy LaTeX disztribúció, győződjön meg arról, hogy a Egyébként letölthet egy LaTeX disztribúciót, például a TeX Live-t a https://tug.org/texlive/ címről.</translation> </message> <message> - <location filename="../util/latex.py" line="87"/> + <location filename="../util/latex.py" line="100"/> <source>DVIPNG was not found. Make sure you include it from your Latex distribution.</source> <translation>DVIPNG nem található. Ügyeljen arra, hogy a LaTeX disztribúciójából tartalmazza.</translation> </message> <message> - <location filename="../util/latex.py" line="173"/> + <location filename="../util/latex.py" line="202"/> <source>An exception occured within the creation of the latex formula. Process '{}' ended with a non-zero return code {}: @@ -1267,7 +1267,7 @@ A(z) „{}” folyamat nullától eltérő visszatérési kóddal ({}) végződ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelentse a hibát.</translation> </message> <message> - <location filename="../util/latex.py" line="186"/> + <location filename="../util/latex.py" line="216"/> <source>Your LaTeX installation does not include some required packages: - {} (https://ctan.org/pkg/{}) @@ -1276,7 +1276,7 @@ Make sure said package is installed, or disable the LaTeX rendering in Logarithm <translation type="unfinished"></translation> </message> <message> - <location filename="../util/latex.py" line="190"/> + <location filename="../util/latex.py" line="220"/> <source>An exception occured within the creation of the latex formula. Process '{}' took too long to finish: {} @@ -1563,7 +1563,7 @@ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelents </message> <message> <source>default</source> - <translation type="unfinished">Alapértelmezett ábra</translation> + <translation type="obsolete">Alapértelmezett ábra</translation> </message> </context> <context> @@ -1594,22 +1594,26 @@ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelents <context> <name>update</name> <message> - <location filename="../util/update.py" line="56"/> <source>An update for LogarithPlotter (v{}) is available.</source> <translation>Elérhető a Logaritmus-ábrázoló ({} verzió) frissítése.</translation> </message> <message> - <location filename="../util/update.py" line="62"/> + <location filename="../util/update.py" line="56"/> + <source>An update for LogarithmPlotter (v{}) is available.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../util/update.py" line="61"/> <source>No update available.</source> <translation>Nincs telepíthető frissítés.</translation> </message> <message> - <location filename="../util/update.py" line="65"/> + <location filename="../util/update.py" line="64"/> <source>Could not fetch update information: Server error {}.</source> <translation>Nem sikerült lekérni a frissítési adatokat: Kiszolgálóhiba: {}.</translation> </message> <message> - <location filename="../util/update.py" line="69"/> + <location filename="../util/update.py" line="68"/> <source>Could not fetch update information: {}.</source> <translation>Nem sikerült lekérni a frissítési adatokat: {}.</translation> </message> diff --git a/LogarithmPlotter/i18n/lp_nb_NO.ts b/LogarithmPlotter/i18n/lp_nb_NO.ts index 3b84451..ca36bf7 100644 --- a/LogarithmPlotter/i18n/lp_nb_NO.ts +++ b/LogarithmPlotter/i18n/lp_nb_NO.ts @@ -5,7 +5,7 @@ <name>About</name> <message> <location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="31"/> - <location filename="../logarithmplotter.py" line="123"/> + <location filename="../logarithmplotter.py" line="137"/> <source>About LogarithmPlotter</source> <translation>Om</translation> </message> @@ -362,22 +362,22 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr <context> <name>HistoryBrowser</name> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="56"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="57"/> <source>Filter...</source> <translation></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="99"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="100"/> <source>Redo ></source> <translation>Angre ></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="118"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="119"/> <source>> Now</source> <translation>> Nå</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="148"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="149"/> <source>< Undo</source> <translation>< Angre</translation> </message> @@ -501,17 +501,17 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr <translation>Vis %1 %2</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="143"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="159"/> <source>Set %1 %2 position</source> <translation>Sett %1 %2 posisjon</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="168"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="184"/> <source>Delete %1 %2</source> <translation>Slett %1 %2</translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="197"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="213"/> <source>Pick new color for %1 %2</source> <translation>Velg ny farge for %1 %2</translation> </message> @@ -563,7 +563,7 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr <message> <location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/Preferences.qml" line="182"/> <source>Close</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Lukk</translation> </message> </context> <context> @@ -764,12 +764,12 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr <context> <name>changelog</name> <message> - <location filename="../util/helper.py" line="49"/> + <location filename="../util/helper.py" line="52"/> <source>Could not fetch changelog: Server error {}.</source> <translation></translation> </message> <message> - <location filename="../util/helper.py" line="52"/> + <location filename="../util/helper.py" line="55"/> <source>Could not fetch update: {}.</source> <translation></translation> </message> @@ -1117,19 +1117,19 @@ Evaluated expression: %3</source> <context> <name>latex</name> <message> - <location filename="../util/latex.py" line="82"/> + <location filename="../util/latex.py" line="94"/> <source>No Latex installation found. If you already have a latex distribution installed, make sure it's installed on your path. Otherwise, you can download a Latex distribution like TeX Live at https://tug.org/texlive/.</source> <translation></translation> </message> <message> - <location filename="../util/latex.py" line="87"/> + <location filename="../util/latex.py" line="100"/> <source>DVIPNG was not found. Make sure you include it from your Latex distribution.</source> <translation></translation> </message> <message> - <location filename="../util/latex.py" line="173"/> + <location filename="../util/latex.py" line="202"/> <source>An exception occured within the creation of the latex formula. Process '{}' ended with a non-zero return code {}: @@ -1138,7 +1138,7 @@ Please make sure your latex installation is correct and report a bug if so.</sou <translation></translation> </message> <message> - <location filename="../util/latex.py" line="186"/> + <location filename="../util/latex.py" line="216"/> <source>Your LaTeX installation does not include some required packages: - {} (https://ctan.org/pkg/{}) @@ -1147,7 +1147,7 @@ Make sure said package is installed, or disable the LaTeX rendering in Logarithm <translation type="unfinished"></translation> </message> <message> - <location filename="../util/latex.py" line="190"/> + <location filename="../util/latex.py" line="220"/> <source>An exception occured within the creation of the latex formula. Process '{}' took too long to finish: {} @@ -1227,22 +1227,26 @@ Please make sure your latex installation is correct and report a bug if so.</sou <context> <name>update</name> <message> - <location filename="../util/update.py" line="56"/> <source>An update for LogarithPlotter (v{}) is available.</source> <translation>En ny versjon av LogartimePlotter (v{}) er tilgjengelig</translation> </message> <message> - <location filename="../util/update.py" line="62"/> + <location filename="../util/update.py" line="56"/> + <source>An update for LogarithmPlotter (v{}) is available.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../util/update.py" line="61"/> <source>No update available.</source> <translation>Ingen nye versjoner.</translation> </message> <message> - <location filename="../util/update.py" line="65"/> + <location filename="../util/update.py" line="64"/> <source>Could not fetch update information: Server error {}.</source> <translation>Fant ikke ut om det er noen nye versjoner. Tjenerfeil {}.</translation> </message> <message> - <location filename="../util/update.py" line="69"/> + <location filename="../util/update.py" line="68"/> <source>Could not fetch update information: {}.</source> <translation>Kunne ikke hente info om hvorvidt det er nye versjoner: {}.</translation> </message> diff --git a/LogarithmPlotter/i18n/lp_template.ts b/LogarithmPlotter/i18n/lp_template.ts index 92ee723..3d31e6b 100644 --- a/LogarithmPlotter/i18n/lp_template.ts +++ b/LogarithmPlotter/i18n/lp_template.ts @@ -5,7 +5,7 @@ <name>About</name> <message> <location filename="../qml/eu/ad5001/LogarithmPlotter/Popup/About.qml" line="31"/> - <location filename="../logarithmplotter.py" line="123"/> + <location filename="../logarithmplotter.py" line="137"/> <source>About LogarithmPlotter</source> <translation></translation> </message> @@ -298,22 +298,22 @@ <context> <name>HistoryBrowser</name> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="56"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="57"/> <source>Filter...</source> <translation></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="99"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="100"/> <source>Redo ></source> <translation></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="118"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="119"/> <source>> Now</source> <translation></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="148"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/History/HistoryBrowser.qml" line="149"/> <source>< Undo</source> <translation></translation> </message> @@ -393,17 +393,17 @@ <translation></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="143"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="159"/> <source>Set %1 %2 position</source> <translation></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="168"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="184"/> <source>Delete %1 %2</source> <translation></translation> </message> <message> - <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="197"/> + <location filename="../qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectRow.qml" line="213"/> <source>Pick new color for %1 %2</source> <translation></translation> </message> @@ -652,12 +652,12 @@ <context> <name>changelog</name> <message> - <location filename="../util/helper.py" line="49"/> + <location filename="../util/helper.py" line="52"/> <source>Could not fetch changelog: Server error {}.</source> <translation></translation> </message> <message> - <location filename="../util/helper.py" line="52"/> + <location filename="../util/helper.py" line="55"/> <source>Could not fetch update: {}.</source> <translation></translation> </message> @@ -869,19 +869,19 @@ Evaluated expression: %3</source> <context> <name>latex</name> <message> - <location filename="../util/latex.py" line="82"/> + <location filename="../util/latex.py" line="94"/> <source>No Latex installation found. If you already have a latex distribution installed, make sure it's installed on your path. Otherwise, you can download a Latex distribution like TeX Live at https://tug.org/texlive/.</source> <translation></translation> </message> <message> - <location filename="../util/latex.py" line="87"/> + <location filename="../util/latex.py" line="100"/> <source>DVIPNG was not found. Make sure you include it from your Latex distribution.</source> <translation></translation> </message> <message> - <location filename="../util/latex.py" line="173"/> + <location filename="../util/latex.py" line="202"/> <source>An exception occured within the creation of the latex formula. Process '{}' ended with a non-zero return code {}: @@ -890,7 +890,7 @@ Please make sure your latex installation is correct and report a bug if so.</sou <translation></translation> </message> <message> - <location filename="../util/latex.py" line="186"/> + <location filename="../util/latex.py" line="216"/> <source>Your LaTeX installation does not include some required packages: - {} (https://ctan.org/pkg/{}) @@ -899,7 +899,7 @@ Make sure said package is installed, or disable the LaTeX rendering in Logarithm <translation type="unfinished"></translation> </message> <message> - <location filename="../util/latex.py" line="190"/> + <location filename="../util/latex.py" line="220"/> <source>An exception occured within the creation of the latex formula. Process '{}' took too long to finish: {} @@ -911,21 +911,21 @@ Please make sure your latex installation is correct and report a bug if so.</sou <name>update</name> <message> <location filename="../util/update.py" line="56"/> - <source>An update for LogarithPlotter (v{}) is available.</source> - <translation></translation> + <source>An update for LogarithmPlotter (v{}) is available.</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../util/update.py" line="62"/> + <location filename="../util/update.py" line="61"/> <source>No update available.</source> <translation></translation> </message> <message> - <location filename="../util/update.py" line="65"/> + <location filename="../util/update.py" line="64"/> <source>Could not fetch update information: Server error {}.</source> <translation></translation> </message> <message> - <location filename="../util/update.py" line="69"/> + <location filename="../util/update.py" line="68"/> <source>Could not fetch update information: {}.</source> <translation></translation> </message> diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/Preferences.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/Preferences.qml index 9d7b9c0..7d801ca 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/Preferences.qml +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/Preferences.qml @@ -231,7 +231,7 @@ Popup { delegate: Component { Loader { - width: settingView.width * 2 / 3 + width: settingView.width - 20 property var setting: Modules.Preferences.categories[settingView.modelName][index] sourceComponent: { if(setting.type === "bool") @@ -245,7 +245,7 @@ Popup { else if(setting.type === "string") return stringSettingComponent else - console.log('Unknown setting type!', setting.constructor.name, setting.constructor) + console.log('Unknown setting type!', setting.constructor.nameInConfig, setting.constructor) } } } diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs index 1546729..230c71a 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/preferences/default.mjs @@ -20,85 +20,85 @@ import {BoolSetting, ExpressionSetting, NumberSetting, StringSetting} from "comm const XZOOM = new NumberSetting( - QT_TR_NOOP("X Zoom"), + qsTranslate("Settings", "X Zoom"), "default_graph.xzoom", "xzoom", 0.1 ) const YZOOM = new NumberSetting( - QT_TR_NOOP("Y Zoom"), + qsTranslate("Settings", "Y Zoom"), "default_graph.xzoom", "yzoom", 0.1 ) const XMIN = new NumberSetting( - QT_TR_NOOP("Min X"), + qsTranslate("Settings", "Min X"), "default_graph.xmin", "xmin", () => Helper.getSettingBool("default_graph.logscalex") ? 1e-100 : -Infinity ) const YMAX = new NumberSetting( - QT_TR_NOOP("Max Y"), + qsTranslate("Settings", "Max Y"), "default_graph.ymax", "ymax" ) const XAXISSTEP = new ExpressionSetting( - QT_TR_NOOP("X Axis Step"), + qsTranslate("Settings", "X Axis Step"), "default_graph.xaxisstep", "xaxisstep", ) const YAXISSTEP = new ExpressionSetting( - QT_TR_NOOP("Y Axis Step"), + qsTranslate("Settings", "Y Axis Step"), "default_graph.yaxisstep", "yaxisstep", ) const LINE_WIDTH = new NumberSetting( - QT_TR_NOOP("Line width"), + qsTranslate("Settings", "Line width"), "default_graph.linewidth", "linewidth", 1 ) const TEXT_SIZE = new NumberSetting( - QT_TR_NOOP("Text size (px)"), + qsTranslate("Settings", "Text size (px)"), "default_graph.textsize", "textsize" ) const X_LABEL = new StringSetting( - QT_TR_NOOP('X Label'), + qsTranslate("Settings", 'X Label'), "default_graph.xlabel", "xlabel", ["", "x", "ω (rad/s)"] ) const Y_LABEL = new StringSetting( - QT_TR_NOOP('Y Label'), + qsTranslate("Settings", 'Y Label'), "default_graph.ylabel", "xlabel", ["", "y", "G (dB)", "φ (°)", "φ (deg)", "φ (rad)"] ) const LOG_SCALE_X = new BoolSetting( - QT_TR_NOOP('X Log scale'), + qsTranslate("Settings", 'X Log scale'), "default_graph.logscalex", "logscalex" ) const SHOW_X_GRAD = new BoolSetting( - QT_TR_NOOP('Show X graduation'), + qsTranslate("Settings", 'Show X graduation'), "default_graph.showxgrad", "showxgrad" ) const SHOW_Y_GRAD = new BoolSetting( - QT_TR_NOOP('Show Y graduation'), + qsTranslate("Settings", 'Show Y graduation'), "default_graph.showygrad", "showygrad" ) diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/preferences/expression.mjs b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/preferences/expression.mjs index 92990b8..4493c77 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/preferences/expression.mjs +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/preferences/expression.mjs @@ -19,25 +19,25 @@ import {BoolSetting, EnumIntSetting} from "common.mjs" const AUTOCLOSE_FORMULA = new BoolSetting( - QT_TR_NOOP("Automatically close parenthesises and brackets"), + qsTranslate("expression", "Automatically close parenthesises and brackets"), 'expression_editor.autoclose', 'text' ) const ENABLE_SYNTAX_HIGHLIGHTING = new BoolSetting( - QT_TR_NOOP("Enable syntax highlighting"), + qsTranslate("expression", "Enable syntax highlighting"), 'expression_editor.colorize', 'appearance' ) const ENABLE_AUTOCOMPLETE = new BoolSetting( - QT_TR_NOOP("Enable autocompletion"), + qsTranslate("expression", "Enable autocompletion"), 'autocompletion.enabled', 'label' ) const PICK_COLOR_SCHEME = new EnumIntSetting( - QT_TR_NOOP("Color Scheme"), + qsTranslate("expression", "Color Scheme"), 'expression_editor.color_scheme', 'color', ["Breeze Light", "Breeze Dark", "Solarized", "Github Light", "Github Dark", "Nord", "Monokai"] @@ -48,4 +48,4 @@ export default [ ENABLE_AUTOCOMPLETE, ENABLE_SYNTAX_HIGHLIGHTING, PICK_COLOR_SCHEME -] \ No newline at end of file +] diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/preferences/general.mjs b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/preferences/general.mjs index 3d2b7cf..eb47e4a 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/preferences/general.mjs +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/preferences/general.mjs @@ -19,20 +19,20 @@ import {BoolSetting} from "common.mjs" const CHECK_FOR_UPDATES = new BoolSetting( - QT_TR_NOOP("Check for updates on startup"), + qsTranslate("general", "Check for updates on startup"), 'check_for_updates', 'update' ) const RESET_REDO_STACK = new BoolSetting( - QT_TR_NOOP("Reset redo stack automaticly"), + qsTranslate("general", "Reset redo stack automaticly"), 'reset_redo_stack', 'timeline' ) class EnableLatex extends BoolSetting { constructor() { - super(qsTr("Enable LaTeX rendering"), 'enable_latex', 'Expression') + super(qsTranslate("general","Enable LaTeX rendering"), 'enable_latex', 'Expression') } set(value) { diff --git a/linux/logplotter.desktop b/linux/logplotter.desktop deleted file mode 100644 index 1c46f8f..0000000 --- a/linux/logplotter.desktop +++ /dev/null @@ -1,20 +0,0 @@ -[Desktop Entry] -Version=1.0 -Type=Application -Name=LogarithmPlotter -GenericName=2D plotter software -GenericName[fr]=Logiciel de traçage 2D -GenericName[de]=2D-Grafiksoftware -GenericName[no]=2D-plotterprogramvare -GenericName[hu]=Síkbeli ábrázolásszoftver -Comment=Create BODE diagrams, sequences and distribution functions -Comment[fr]=Créer des diagrammes de BODE, des suites et des fonctions de répartition -Comment[de]=Erstellung von Bode-Diagramms, Folgen und Verteilungsfunktionen -Comment[hu]=Bode-ábrák, sorozatok és újraosztási függvények létrehozása - -Exec=/usr/bin/python3 ROOTFOLDER/run.py %f -Icon=logarithmplotter -MimeType=application/x-logarithm-plot; -Terminal=false -StartupNotify=false -Categories=Science