From e4316747e49c8bee94f0248c36c41945624d55fc Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Sat, 22 Jan 2022 22:42:10 +0100 Subject: [PATCH] Translating greet screen done button, adding new menu items. --- LogarithmPlotter/i18n/lp_de.ts | 20 +++++++++++++++++++ LogarithmPlotter/i18n/lp_en.ts | 20 +++++++++++++++++++ LogarithmPlotter/i18n/lp_es.ts | 20 +++++++++++++++++++ LogarithmPlotter/i18n/lp_fr.ts | 20 +++++++++++++++++++ LogarithmPlotter/i18n/lp_nb_NO.ts | 20 +++++++++++++++++++ LogarithmPlotter/i18n/lp_template.ts | 20 +++++++++++++++++++ .../eu/ad5001/LogarithmPlotter/AppMenuBar.qml | 16 +++++++++++++++ .../ad5001/LogarithmPlotter/GreetScreen.qml | 6 +++--- 8 files changed, 139 insertions(+), 3 deletions(-) diff --git a/LogarithmPlotter/i18n/lp_de.ts b/LogarithmPlotter/i18n/lp_de.ts index ff476da..a660405 100644 --- a/LogarithmPlotter/i18n/lp_de.ts +++ b/LogarithmPlotter/i18n/lp_de.ts @@ -99,6 +99,21 @@ + &Source code + + + + + &Report a bug + + + + + &Help translating! + + + + &About &Übrigens @@ -184,6 +199,11 @@ Diese Einstellungen können jederzeit über das Menü "Einstellungen" Reset redo stack when a new action is added to history Redo-Stapel zurücksetzen, wenn eine neue Aktion zur Historie hinzugefügt wird + + + Done + + HistoryBrowser diff --git a/LogarithmPlotter/i18n/lp_en.ts b/LogarithmPlotter/i18n/lp_en.ts index 7190b18..0fb63e6 100644 --- a/LogarithmPlotter/i18n/lp_en.ts +++ b/LogarithmPlotter/i18n/lp_en.ts @@ -99,6 +99,21 @@ + &Source code + + + + + &Report a bug + + + + + &Help translating! + + + + &About &About @@ -184,6 +199,11 @@ These settings can be changed at any time from the "Settings" menu.Reset redo stack when a new action is added to history Reset redo stack when a new action is added to history + + + Done + + HistoryBrowser diff --git a/LogarithmPlotter/i18n/lp_es.ts b/LogarithmPlotter/i18n/lp_es.ts index 1c58ecf..23732d7 100644 --- a/LogarithmPlotter/i18n/lp_es.ts +++ b/LogarithmPlotter/i18n/lp_es.ts @@ -99,6 +99,21 @@ + &Source code + + + + + &Report a bug + + + + + &Help translating! + + + + &About @@ -183,6 +198,11 @@ These settings can be changed at any time from the "Settings" menu.Reset redo stack when a new action is added to history + + + Done + + HistoryBrowser diff --git a/LogarithmPlotter/i18n/lp_fr.ts b/LogarithmPlotter/i18n/lp_fr.ts index 70bfe3a..ba1c56e 100644 --- a/LogarithmPlotter/i18n/lp_fr.ts +++ b/LogarithmPlotter/i18n/lp_fr.ts @@ -100,6 +100,21 @@ + &Source code + + + + + &Report a bug + + + + + &Help translating! + + + + &About &À propos @@ -176,6 +191,11 @@ 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". + + + Done + + Take a few seconds to configure LogarithmPlotter. These settings can always be changed at any time from the "Settings" menu. diff --git a/LogarithmPlotter/i18n/lp_nb_NO.ts b/LogarithmPlotter/i18n/lp_nb_NO.ts index 3de8d79..2e52427 100644 --- a/LogarithmPlotter/i18n/lp_nb_NO.ts +++ b/LogarithmPlotter/i18n/lp_nb_NO.ts @@ -99,6 +99,21 @@ + &Source code + + + + + &Report a bug + + + + + &Help translating! + + + + &About &Om @@ -184,6 +199,11 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.Reset redo stack when a new action is added to history Tilbakesitll angrehistorikk når en ny handling legges til + + + Done + + HistoryBrowser diff --git a/LogarithmPlotter/i18n/lp_template.ts b/LogarithmPlotter/i18n/lp_template.ts index 502174f..041b785 100644 --- a/LogarithmPlotter/i18n/lp_template.ts +++ b/LogarithmPlotter/i18n/lp_template.ts @@ -99,6 +99,21 @@ + &Source code + + + + + &Report a bug + + + + + &Help translating! + + + + &About @@ -183,6 +198,11 @@ These settings can be changed at any time from the "Settings" menu.Reset redo stack when a new action is added to history + + + Done + + HistoryBrowser diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml index 75632ff..7bcca41 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml @@ -126,6 +126,22 @@ MenuBar { Menu { title: qsTr("&Help") + Action { + text: qsTr("&Source code") + icon.name: 'code' + onTriggered: Helper.openUrl("https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues") + } + Action { + text: qsTr("&Report a bug") + icon.name: 'bug' + onTriggered: Helper.openUrl("https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues") + } + Action { + text: qsTr("&Help translating!") + icon.name: 'translator' + onTriggered: Helper.openUrl("https://hosted.weblate.org/engage/logarithmplotter/") + } + MenuSeparator { } Action { text: qsTr("&About") shortcut: StandardKey.HelpContents diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/GreetScreen.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/GreetScreen.qml index 5211a30..b6579a1 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/GreetScreen.qml +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/GreetScreen.qml @@ -24,7 +24,7 @@ Popup { id: greetingPopup x: (parent.width-width)/2 y: Math.max(20, (parent.height-height)/2) - width: 600 + width: Math.max(welcome.width, checkForUpdatesSetting.width, resetRedoStackSetting.width)+20 height: Math.min(parent.height-40, 500) modal: true focus: true @@ -110,7 +110,7 @@ Popup { } Button { - text: "Done" + text: qsTr("Done") font.pixelSize: 20 anchors.bottom: parent.bottom anchors.bottomMargin: 10 @@ -119,7 +119,7 @@ Popup { } Timer { - running: Helper.getSetting("last_install_greet") != Helper.getVersion() + running: true//Helper.getSetting("last_install_greet") != Helper.getVersion() repeat: false interval: 50 onTriggered: greetingPopup.open()