From 86f3399a539b1670913448afb9f45f538fa08be9 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Wed, 9 Mar 2022 00:28:42 +0100 Subject: [PATCH] Fixing a lot of snap issues, updating translations - Files are now properly opened in snapcraft - Added latex dependencies to snapcraft (tho it's buggy atm) - Added changelog to snapcraft --- LogarithmPlotter/i18n/lp_de.ts | 115 ++++++++------ LogarithmPlotter/i18n/lp_en.ts | 115 ++++++++------ LogarithmPlotter/i18n/lp_es.ts | 145 ++++++++++-------- LogarithmPlotter/i18n/lp_fr.ts | 115 ++++++++------ LogarithmPlotter/i18n/lp_hu.ts | 137 +++++++++-------- LogarithmPlotter/i18n/lp_nb_NO.ts | 145 ++++++++++-------- LogarithmPlotter/i18n/lp_template.ts | 145 ++++++++++-------- .../launcher/launch-logarithmplotter | 12 +- setup.py | 2 +- snapcraft.yaml | 10 +- 10 files changed, 531 insertions(+), 410 deletions(-) diff --git a/LogarithmPlotter/i18n/lp_de.ts b/LogarithmPlotter/i18n/lp_de.ts index f6184d1..27f5bca 100644 --- a/LogarithmPlotter/i18n/lp_de.ts +++ b/LogarithmPlotter/i18n/lp_de.ts @@ -33,112 +33,117 @@ AppMenuBar - + &File &Datei - + &Load... &Laden… - + &Save &Speichern - + Save &As... Speichern &Unter… - + &Quit &Ausfahrt - + &Edit &Bearbeiten - + &Undo &Lösen - + &Redo &Wiederherstellen - + &Copy plot Grafik &Kopieren - + &Create &Erstellen - + &Settings &Einstellungen - + Check for updates on startup Beim Starten auf Updates prüfen - + Reset redo stack automaticly Wiederherstellen-Stapel automatisch zurücksetzen - + + Enable LaTeX rendering + + + + &Help &Hilfe - + &Source code &Quellcode - + &Report a bug Fehler &Melden - + &User manual &Benutzerhandbuch - + &Changelog &Changelog - + &Help translating! &Hilfe beim Übersetzen! - + &About &Übrigens - + Save unsaved changes? Änderungen speichern? - + This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue? Diese Grafik enthält ungespeicherte Änderungen. Dadurch gehen alle ungespeicherten Daten verloren. Fortfahren? @@ -211,44 +216,49 @@ GreetScreen - + Welcome to LogarithmPlotter Willkommen bei LogarithmPlotter - + Version %1 Version %1 - + Take a few seconds to configure LogarithmPlotter. These settings can be changed at any time from the "Settings" menu. Nehmen Sie sich ein paar Sekunden Zeit, um LogarithmPlotter zu konfigurieren. Diese Einstellungen können jederzeit über das Menü "Einstellungen" geändert werden. - + Check for updates on startup (requires online connectivity) Beim Start nach Updates suchen (Online-Verbindung erforderlich) - + Reset redo stack when a new action is added to history Redo-Stapel zurücksetzen, wenn eine neue Aktion zur Historie hinzugefügt wird - + + Enable LaTeX rendering + + + + User manual Benutzerhandbuch - + Changelog Changelog - + Done Schließen @@ -548,6 +558,11 @@ Diese Einstellungen können jederzeit über das Menü "Einstellungen" Note: Use %1[n] to refer to %1ₙ, %1[n+1] for %1ₙ₊₁... Hinweis: Verwenden Sie %1[n], um sich auf %1ₙ zu beziehen, %1[n+1] für %1ₙ₊₁… + + + If you have latex enabled, you can use use latex markup in between $$ to create equations. + + control @@ -659,19 +674,19 @@ Diese Einstellungen können jederzeit über das Menü "Einstellungen" latex - + 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/. - + DVIPNG was not found. Make sure you include it from your Latex distribution. - + An exception occured within the creation of the latex formula. Process '{}' ended with a non-zero return code {}: @@ -680,7 +695,7 @@ Please make sure your latex installation is correct and report a bug if so. - + An exception occured within the creation of the latex formula. Process '{}' took too long to finish: {} @@ -864,8 +879,8 @@ Please make sure your latex installation is correct and report a bug if so. - - + + labelPosition Position des Etiketts @@ -930,14 +945,14 @@ Please make sure your latex installation is correct and report a bug if so. - - + + x X - + y Y @@ -952,37 +967,37 @@ Please make sure your latex installation is correct and report a bug if so.Wahrscheinlichkeiten - + text Inhalt - + disableLatex - + targetElement Zielobjekt - + approximate Ungefähren Wert anzeigen - + rounding Rundung - + displayStyle Stil - + targetValuePosition Wertposition des Ziels @@ -1048,12 +1063,12 @@ Please make sure your latex installation is correct and report a bug if so. text - + Text Text - + Texts Texte @@ -1099,12 +1114,12 @@ Please make sure your latex installation is correct and report a bug if so. xcursor - + X Cursor X Zeiger - + X Cursors X Zeiger diff --git a/LogarithmPlotter/i18n/lp_en.ts b/LogarithmPlotter/i18n/lp_en.ts index f74aba6..e7e90ae 100644 --- a/LogarithmPlotter/i18n/lp_en.ts +++ b/LogarithmPlotter/i18n/lp_en.ts @@ -33,112 +33,117 @@ AppMenuBar - + &File &File - + &Load... &Open… - + &Save &Save - + Save &As... Save &As… - + &Quit &Quit - + &Edit &Edit - + &Undo &Undo - + &Redo &Redo - + &Copy plot &Copy plot - + &Create &Create - + &Settings &Settings - + Check for updates on startup Check for updates on startup - + Reset redo stack automaticly Reset redo stack automatically - + + Enable LaTeX rendering + + + + &Help &Help - + &Source code &Source code - + &Report a bug &Report a bug - + &User manual &User manual - + &Changelog &Changelog - + &Help translating! &Help translating! - + &About &About - + Save unsaved changes? Save unsaved changes? - + This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue? This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue? @@ -211,44 +216,49 @@ GreetScreen - + Welcome to LogarithmPlotter Welcome to LogarithmPlotter - + Version %1 Version %1 - + Take a few seconds to configure LogarithmPlotter. These settings can be changed at any time from the "Settings" menu. Take a few seconds to configure LogarithmPlotter. These settings can be changed at any time from the "Settings" menu. - + Check for updates on startup (requires online connectivity) Check for updates on startup (requires online connectivity) - + Reset redo stack when a new action is added to history Reset redo stack when a new action is added to history - + + Enable LaTeX rendering + + + + User manual User manual - + Changelog Changelog - + Done Done @@ -548,6 +558,11 @@ These settings can be changed at any time from the "Settings" menu.Note: Use %1[n] to refer to %1ₙ, %1[n+1] for %1ₙ₊₁... Note: Use %1[n] to refer to %1ₙ, %1[n+1] for %1ₙ₊₁… + + + If you have latex enabled, you can use use latex markup in between $$ to create equations. + + control @@ -659,7 +674,7 @@ These settings can be changed at any time from the "Settings" menu. latex - + 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/. @@ -668,12 +683,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/. - + DVIPNG was not found. Make sure you include it from your Latex distribution. DVIPNG was not found. Make sure you include it from your Latex distribution. - + An exception occured within the creation of the latex formula. Process '{}' ended with a non-zero return code {}: @@ -686,7 +701,7 @@ Process '{}' ended with a non-zero return code {}: Please make sure your latex installation is correct and report a bug if so. - + An exception occured within the creation of the latex formula. Process '{}' took too long to finish: {} @@ -873,8 +888,8 @@ Please make sure your latex installation is correct and report a bug if so. - - + + labelPosition Label position @@ -939,14 +954,14 @@ Please make sure your latex installation is correct and report a bug if so. - - + + x X - + y Y @@ -961,37 +976,37 @@ Please make sure your latex installation is correct and report a bug if so.Probabilities list - + text Content - + disableLatex Disable latex rendering for this text - + targetElement Object to target - + approximate Show approximate value - + rounding Rounding - + displayStyle Display style - + targetValuePosition Target's value position @@ -1057,12 +1072,12 @@ Please make sure your latex installation is correct and report a bug if so. text - + Text Text - + Texts Texts @@ -1108,12 +1123,12 @@ Please make sure your latex installation is correct and report a bug if so. xcursor - + X Cursor X Cursor - + X Cursors X Cursors diff --git a/LogarithmPlotter/i18n/lp_es.ts b/LogarithmPlotter/i18n/lp_es.ts index 4af05f8..d17ef46 100644 --- a/LogarithmPlotter/i18n/lp_es.ts +++ b/LogarithmPlotter/i18n/lp_es.ts @@ -33,112 +33,117 @@ AppMenuBar - + &File &Archivo - + &Load... &Abrir… - + &Save &Guardar - + Save &As... Guardar &como… - + &Quit &Salida - + &Edit &Editar - + &Undo &Cancelar - + &Redo &Reiniciar - + &Copy plot &Copiar el gráfico - + &Create &Crear - + &Settings &Ajustes - + Check for updates on startup - + Reset redo stack automaticly - - - &Help - - - &Source code - - - - - &Report a bug - - - - - &User manual + Enable LaTeX rendering + &Help + + + + + &Source code + + + + + &Report a bug + + + + + &User manual + + + + &Changelog - + &Help translating! - + &About - + Save unsaved changes? - + This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue? @@ -211,43 +216,48 @@ GreetScreen - + Welcome to LogarithmPlotter - + Version %1 - + Take a few seconds to configure LogarithmPlotter. These settings can be changed at any time from the "Settings" menu. - + Check for updates on startup (requires online connectivity) - + Reset redo stack when a new action is added to history - - User manual - - - - - Changelog + + Enable LaTeX rendering + User manual + + + + + Changelog + + + + Done @@ -547,6 +557,11 @@ These settings can be changed at any time from the "Settings" menu.Note: Use %1[n] to refer to %1ₙ, %1[n+1] for %1ₙ₊₁... + + + If you have latex enabled, you can use use latex markup in between $$ to create equations. + + control @@ -631,19 +646,19 @@ These settings can be changed at any time from the "Settings" menu. latex - + 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/. - + DVIPNG was not found. Make sure you include it from your Latex distribution. - + An exception occured within the creation of the latex formula. Process '{}' ended with a non-zero return code {}: @@ -652,7 +667,7 @@ Please make sure your latex installation is correct and report a bug if so. - + An exception occured within the creation of the latex formula. Process '{}' took too long to finish: {} @@ -836,8 +851,8 @@ Please make sure your latex installation is correct and report a bug if so. - - + + labelPosition @@ -902,14 +917,14 @@ Please make sure your latex installation is correct and report a bug if so. - - + + x - + y @@ -924,37 +939,37 @@ Please make sure your latex installation is correct and report a bug if so. - + text - + disableLatex - + targetElement - + approximate - + rounding - + displayStyle - + targetValuePosition @@ -1016,12 +1031,12 @@ Please make sure your latex installation is correct and report a bug if so. text - + Text - + Texts @@ -1067,12 +1082,12 @@ Please make sure your latex installation is correct and report a bug if so. xcursor - + X Cursor - + X Cursors diff --git a/LogarithmPlotter/i18n/lp_fr.ts b/LogarithmPlotter/i18n/lp_fr.ts index 6993ce0..32830c4 100644 --- a/LogarithmPlotter/i18n/lp_fr.ts +++ b/LogarithmPlotter/i18n/lp_fr.ts @@ -33,113 +33,118 @@ AppMenuBar - + &File &Fichier - + &Load... &Ouvrir… - + &Save &Sauvegarder - + Save &As... Sauvegarde &Sous… - + &Quit &Quitter - + &Edit &Édition - + &Undo &Annuler - + &Redo &Rétablir - + &Copy plot &Copier le graphe - + &Create &Créer - + &Settings &Paramètres - + Check for updates on startup Vérifier la présence de mise à jour au démarrage - + Reset redo stack automaticly Légèrement long, et pas forcément très compréhensible. Réinitialiser la pile d'action "Rétablir" automatiquement - + + Enable LaTeX rendering + + + + &Help &Aide - + &Source code &Code source - + &Report a bug &Rapport de bug - + &User manual Manuel d'&utilisation - + &Changelog &Historique des modifications - + &Help translating! &Aider à la traduction ! - + &About &À propos - + Save unsaved changes? Sauvegarder les modifications ? - + This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue? Ce graphe contient des modifications non sauvegardées. En faisant cela, toutes les données non sauvegardées seront perdues. Continuer ? @@ -213,34 +218,39 @@ GreetScreen - + Welcome to LogarithmPlotter Bienvenue sur LogarithmPlotter - + Version %1 Version %1 - + Take a few seconds to configure LogarithmPlotter. These settings can be changed at any time from the "Settings" menu. Prenez quelques secondes pour configurer LogarithmPlotter. Ces paramètres peuvent être modifiés à tout moment à partir du menu "Paramètres". - + + Enable LaTeX rendering + + + + User manual Manuel d'utilisation - + Changelog Historique des modifications - + Done Fermer @@ -251,12 +261,12 @@ These settings can always be changed at any time from the "Settings" m These settings can always be changed at any time from the "Settings" menu. - + Check for updates on startup (requires online connectivity) Vérifier les mises à jour au démarrage (nécessite d'être connecté à internet) - + Reset redo stack when a new action is added to history Réinitialiser la pile d'action "Rétablir" lorsqu'une nouvelle action est ajoutée à l'historique @@ -557,6 +567,11 @@ These settings can always be changed at any time from the "Settings" m Note : Utilisez %1[n] pour faire référence à %1ₙ, %1[n+1] pour %1ₙ₊₁... Note : Utilisez %1[n] pour faire référence à %1ₙ, %1[n+1] pour %1ₙ₊₁… + + + If you have latex enabled, you can use use latex markup in between $$ to create equations. + + control @@ -668,7 +683,7 @@ These settings can always be changed at any time from the "Settings" m latex - + 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/. @@ -677,12 +692,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/. - + DVIPNG was not found. Make sure you include it from your Latex distribution. DVIPNG n'a pas été trouvé. Assurez-vous de l'inclure dans votre distribution Latex. - + An exception occured within the creation of the latex formula. Process '{}' ended with a non-zero return code {}: @@ -695,7 +710,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. - + An exception occured within the creation of the latex formula. Process '{}' took too long to finish: {} @@ -882,8 +897,8 @@ Vérifiez que votre installation de latex est correcte et signalez un bogue si c - - + + labelPosition Position de l'étiquette @@ -948,14 +963,14 @@ Vérifiez que votre installation de latex est correcte et signalez un bogue si c - - + + x X - + y Y @@ -970,37 +985,37 @@ Vérifiez que votre installation de latex est correcte et signalez un bogue si c Liste de probabilités - + text Contenu - + disableLatex Désactiver le rendu latex pour ce texte - + targetElement Objet à cibler - + approximate Afficher la valeur approximative - + rounding Arrondi - + displayStyle Style d'affichage - + targetValuePosition Position de la valeur de la cible @@ -1066,12 +1081,12 @@ Vérifiez que votre installation de latex est correcte et signalez un bogue si c text - + Text Texte - + Texts Textes @@ -1117,12 +1132,12 @@ Vérifiez que votre installation de latex est correcte et signalez un bogue si c xcursor - + X Cursor Curseur X - + X Cursors Curseurs X diff --git a/LogarithmPlotter/i18n/lp_hu.ts b/LogarithmPlotter/i18n/lp_hu.ts index e9d34a2..91ba500 100644 --- a/LogarithmPlotter/i18n/lp_hu.ts +++ b/LogarithmPlotter/i18n/lp_hu.ts @@ -33,112 +33,117 @@ AppMenuBar - + &File &Fájl - + &Load... &Betöltés… - + &Save &Mentés - + Save &As... Me&ntés másként… - + &Quit &Kilépés - + &Edit S&zerkesztés - + &Undo &Visszavonás - + &Redo &Ismétlés - + &Copy plot Ábra má&solása - + &Create &Létrehozás - + &Settings &Beállítások - + 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 - - - &Help - &Súgó - - &Source code - &Forráskód - - - - &Report a bug - &Hiba bejelentése - - - - &User manual + Enable LaTeX rendering + &Help + &Súgó + + + + &Source code + &Forráskód + + + + &Report a bug + &Hiba bejelentése + + + + &User manual + + + + &Changelog &Változásnapló - + &Help translating! &Segítség a fordításban! - + &About &Névjegy - + Save unsaved changes? Menti a változtatásokat? - + This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue? Ez az ábra nem mentett változtatásokat tartalmaz. Ezzel az összes nem mentett adat elveszik. Folytatja? @@ -211,44 +216,49 @@ GreetScreen - + Welcome to LogarithmPlotter Isten hozott a LogarithmPlotter! - + Version %1 %1 verzió - + Take a few seconds to configure LogarithmPlotter. These settings can be changed at any time from the "Settings" menu. Szánjon néhány másodpercet a LogarithmPlotter beállításához. Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben. - + Check for updates on startup (requires online connectivity) Frissítések keresése indításkor (online kapcsolat szükséges) - + Reset redo stack when a new action is added to history Ismétlési verem alaphelyzet visszaállítása, ha új műveletet adnak az előzményekhez - + + Enable LaTeX rendering + + + + User manual - + Changelog Változásnapló - + Done Kész @@ -548,6 +558,11 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben. Note: Use %1[n] to refer to %1ₙ, %1[n+1] for %1ₙ₊₁... Megjegyzés: A(z) %1[n] használatával hivatkozhat erre: %1ₙ, a(z) %1[n+1] használatával hivatkozhat erre: %1ₙ₊₁, … + + + If you have latex enabled, you can use use latex markup in between $$ to create equations. + + control @@ -655,19 +670,19 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben. latex - + 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/. - + DVIPNG was not found. Make sure you include it from your Latex distribution. - + An exception occured within the creation of the latex formula. Process '{}' ended with a non-zero return code {}: @@ -676,7 +691,7 @@ Please make sure your latex installation is correct and report a bug if so. - + An exception occured within the creation of the latex formula. Process '{}' took too long to finish: {} @@ -860,8 +875,8 @@ Please make sure your latex installation is correct and report a bug if so. - - + + labelPosition Címke helyzete @@ -926,14 +941,14 @@ Please make sure your latex installation is correct and report a bug if so. - - + + x X - + y Y @@ -948,37 +963,37 @@ Please make sure your latex installation is correct and report a bug if so.Valószínűségek listája - + text Tartalom - + disableLatex - + targetElement Tárgycél - + approximate Hozzávetőleges érték megjelenítése - + rounding Kerekítés - + displayStyle Megjelenítési stílus - + targetValuePosition Cél értékpozíciója @@ -1040,12 +1055,12 @@ Please make sure your latex installation is correct and report a bug if so. text - + Text Szöveg - + Texts Szövegek @@ -1091,12 +1106,12 @@ Please make sure your latex installation is correct and report a bug if so. xcursor - + X Cursor X kurzor - + X Cursors X kurzorok diff --git a/LogarithmPlotter/i18n/lp_nb_NO.ts b/LogarithmPlotter/i18n/lp_nb_NO.ts index 4426396..85ade3d 100644 --- a/LogarithmPlotter/i18n/lp_nb_NO.ts +++ b/LogarithmPlotter/i18n/lp_nb_NO.ts @@ -33,112 +33,117 @@ AppMenuBar - + &File &Fil - + &Load... &Last inn … - + &Save &Lagre - + Save &As... Lagre &som … - + &Quit &Avslutt - + &Edit &Rediger - + &Undo &Angre - + &Redo &Gjenta - + &Copy plot &Kopier plott - + &Create &Opprett - + &Settings &Innstillinger - + Check for updates on startup Se etter nye versjoner ved programstart - + Reset redo stack automaticly Tilbakestill angrehistorikk automatisk - - - &Help - &Hjelp - - &Source code - - - - - &Report a bug - - - - - &User manual + Enable LaTeX rendering + &Help + &Hjelp + + + + &Source code + + + + + &Report a bug + + + + + &User manual + + + + &Changelog - + &Help translating! - + &About &Om - + Save unsaved changes? - + This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue? @@ -211,44 +216,49 @@ GreetScreen - + Welcome to LogarithmPlotter Velkommen til LogarithmPlotter - + Version %1 Versjon %1 - + Take a few seconds to configure LogarithmPlotter. These settings can be changed at any time from the "Settings" menu. Sett opp LogarithmPlotter. Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen. - + Check for updates on startup (requires online connectivity) Se etter nye versjoner ved programstart. (Krever tilkobling til Internett.) - + Reset redo stack when a new action is added to history Tilbakesitll angrehistorikk når en ny handling legges til - - User manual - - - - - Changelog + + Enable LaTeX rendering + User manual + + + + + Changelog + + + + Done @@ -548,6 +558,11 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.Note: Use %1[n] to refer to %1ₙ, %1[n+1] for %1ₙ₊₁... + + + If you have latex enabled, you can use use latex markup in between $$ to create equations. + + control @@ -655,19 +670,19 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen. latex - + 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/. - + DVIPNG was not found. Make sure you include it from your Latex distribution. - + An exception occured within the creation of the latex formula. Process '{}' ended with a non-zero return code {}: @@ -676,7 +691,7 @@ Please make sure your latex installation is correct and report a bug if so. - + An exception occured within the creation of the latex formula. Process '{}' took too long to finish: {} @@ -860,8 +875,8 @@ Please make sure your latex installation is correct and report a bug if so. - - + + labelPosition @@ -926,14 +941,14 @@ Please make sure your latex installation is correct and report a bug if so. - - + + x - + y @@ -948,37 +963,37 @@ Please make sure your latex installation is correct and report a bug if so. - + text - + disableLatex - + targetElement - + approximate - + rounding - + displayStyle - + targetValuePosition @@ -1040,12 +1055,12 @@ Please make sure your latex installation is correct and report a bug if so. text - + Text Tekst - + Texts Tekster @@ -1091,12 +1106,12 @@ Please make sure your latex installation is correct and report a bug if so. xcursor - + X Cursor X-peker - + X Cursors X-pekere diff --git a/LogarithmPlotter/i18n/lp_template.ts b/LogarithmPlotter/i18n/lp_template.ts index 7099743..aacd4e5 100644 --- a/LogarithmPlotter/i18n/lp_template.ts +++ b/LogarithmPlotter/i18n/lp_template.ts @@ -33,112 +33,117 @@ AppMenuBar - + &File - + &Load... - + &Save - + Save &As... - + &Quit - + &Edit - + &Undo - + &Redo - + &Copy plot - + &Create - + &Settings - + Check for updates on startup - + Reset redo stack automaticly - - - &Help - - - &Source code - - - - - &Report a bug - - - - - &User manual + Enable LaTeX rendering + &Help + + + + + &Source code + + + + + &Report a bug + + + + + &User manual + + + + &Changelog - + &Help translating! - + &About - + Save unsaved changes? - + This plot contains unsaved changes. By doing this, all unsaved data will be lost. Continue? @@ -211,43 +216,48 @@ GreetScreen - + Welcome to LogarithmPlotter - + Version %1 - + Take a few seconds to configure LogarithmPlotter. These settings can be changed at any time from the "Settings" menu. - + Check for updates on startup (requires online connectivity) - + Reset redo stack when a new action is added to history - - User manual - - - - - Changelog + + Enable LaTeX rendering + User manual + + + + + Changelog + + + + Done @@ -547,6 +557,11 @@ These settings can be changed at any time from the "Settings" menu.Note: Use %1[n] to refer to %1ₙ, %1[n+1] for %1ₙ₊₁... + + + If you have latex enabled, you can use use latex markup in between $$ to create equations. + + control @@ -631,19 +646,19 @@ These settings can be changed at any time from the "Settings" menu. latex - + 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/. - + DVIPNG was not found. Make sure you include it from your Latex distribution. - + An exception occured within the creation of the latex formula. Process '{}' ended with a non-zero return code {}: @@ -652,7 +667,7 @@ Please make sure your latex installation is correct and report a bug if so. - + An exception occured within the creation of the latex formula. Process '{}' took too long to finish: {} @@ -836,8 +851,8 @@ Please make sure your latex installation is correct and report a bug if so. - - + + labelPosition @@ -902,14 +917,14 @@ Please make sure your latex installation is correct and report a bug if so. - - + + x - + y @@ -924,37 +939,37 @@ Please make sure your latex installation is correct and report a bug if so. - + text - + disableLatex - + targetElement - + approximate - + rounding - + displayStyle - + targetValuePosition @@ -1016,12 +1031,12 @@ Please make sure your latex installation is correct and report a bug if so. text - + Text - + Texts @@ -1067,12 +1082,12 @@ Please make sure your latex installation is correct and report a bug if so. xcursor - + X Cursor - + X Cursors diff --git a/linux/snapcraft/launcher/launch-logarithmplotter b/linux/snapcraft/launcher/launch-logarithmplotter index 55fc9b4..d23e4ce 100755 --- a/linux/snapcraft/launcher/launch-logarithmplotter +++ b/linux/snapcraft/launcher/launch-logarithmplotter @@ -10,5 +10,13 @@ set \ # GTK theme integration (we have Qt fetch the GTK theme mirroring the host Qt theme...) #export QT_QPA_PLATFORMTHEME=kde -# Finally run the next part of the command chain -${@} --no-check-for-updates +# Check if the last parameter is a file, and if so, add the argument "--no-checks-for-updates" BEFORE it. +last="${@:$#}" # last parameter +length=$(($#-1)) +args=("${@:1:$length}") # all parameters except the last + +if [ -f "$last" ]; then + ${args} --no-check-for-updates "$last" +else + ${@} --no-check-for-updates +fi diff --git a/setup.py b/setup.py index 20568b5..e3fb347 100644 --- a/setup.py +++ b/setup.py @@ -145,7 +145,7 @@ setuptools.setup( classifiers=CLASSIFIERS, zip_safe=False, - packages=["LogarithmPlotter"], + packages=["LogarithmPlotter", "LogarithmPlotter.util"], package_data={ 'LogarithmPlotter':package_data(), diff --git a/snapcraft.yaml b/snapcraft.yaml index fa09925..9124698 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -79,6 +79,9 @@ parts: source: . stage-packages: - breeze-icon-theme + # Latex dependencies + - texlive-latex-base + - dvipng # Additional dependencies - libxcomposite1 - libxcursor1 @@ -131,7 +134,7 @@ parts: - libxcb-render-util0 - libdouble-conversion3 - libpcre2-16-0 - snapcraft-preload: # Fixes error related to multiprocessing on python. + snapcraft-preload: source: https://github.com/sergiusens/snapcraft-preload.git plugin: cmake cmake-parameters: @@ -142,6 +145,11 @@ parts: - g++-multilib stage-packages: - lib32stdc++6 + changelog: + source: . + plugin: dump + organize: + CHANGELOG.md: lib/python3.8/site-packages/LogarithmPlotter/CHANGELOG.md apps: logarithmplotter: