Translating greet screen done button, adding new menu items.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2022-01-22 22:42:10 +01:00
parent 7de0323e9f
commit e4316747e4
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
8 changed files with 139 additions and 3 deletions

View file

@ -99,6 +99,21 @@
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/>
<source>&amp;Source code</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<source>&amp;Report a bug</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="140"/>
<source>&amp;Help translating!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;Übrigens</translation> <translation>&amp;Übrigens</translation>
</message> </message>
@ -184,6 +199,11 @@ Diese Einstellungen können jederzeit über das Menü &quot;Einstellungen&quot;
<source>Reset redo stack when a new action is added to history</source> <source>Reset redo stack when a new action is added to history</source>
<translation>Redo-Stapel zurücksetzen, wenn eine neue Aktion zur Historie hinzugefügt wird</translation> <translation>Redo-Stapel zurücksetzen, wenn eine neue Aktion zur Historie hinzugefügt wird</translation>
</message> </message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/GreetScreen.qml" line="113"/>
<source>Done</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>HistoryBrowser</name> <name>HistoryBrowser</name>

View file

@ -99,6 +99,21 @@
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/>
<source>&amp;Source code</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<source>&amp;Report a bug</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="140"/>
<source>&amp;Help translating!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;About</translation> <translation>&amp;About</translation>
</message> </message>
@ -184,6 +199,11 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</t
<source>Reset redo stack when a new action is added to history</source> <source>Reset redo stack when a new action is added to history</source>
<translation>Reset redo stack when a new action is added to history</translation> <translation>Reset redo stack when a new action is added to history</translation>
</message> </message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/GreetScreen.qml" line="113"/>
<source>Done</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>HistoryBrowser</name> <name>HistoryBrowser</name>

View file

@ -99,6 +99,21 @@
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/>
<source>&amp;Source code</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<source>&amp;Report a bug</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="140"/>
<source>&amp;Help translating!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -183,6 +198,11 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<source>Reset redo stack when a new action is added to history</source> <source>Reset redo stack when a new action is added to history</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/GreetScreen.qml" line="113"/>
<source>Done</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>HistoryBrowser</name> <name>HistoryBrowser</name>

View file

@ -100,6 +100,21 @@
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/>
<source>&amp;Source code</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<source>&amp;Report a bug</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="140"/>
<source>&amp;Help translating!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;À propos</translation> <translation>&amp;À propos</translation>
</message> </message>
@ -176,6 +191,11 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<translation>Prenez quelques secondes pour configurer LogarithmPlotter. <translation>Prenez quelques secondes pour configurer LogarithmPlotter.
Ces paramètres peuvent être modifiés à tout moment à partir du menu &quot;Paramètres&quot;.</translation> Ces paramètres peuvent être modifiés à tout moment à partir du menu &quot;Paramètres&quot;.</translation>
</message> </message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/GreetScreen.qml" line="113"/>
<source>Done</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<source>Take a few seconds to configure LogarithmPlotter. <source>Take a few seconds to configure LogarithmPlotter.
These settings can always be changed at any time from the &quot;Settings&quot; menu.</source> These settings can always be changed at any time from the &quot;Settings&quot; menu.</source>

View file

@ -99,6 +99,21 @@
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/>
<source>&amp;Source code</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<source>&amp;Report a bug</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="140"/>
<source>&amp;Help translating!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;Om</translation> <translation>&amp;Om</translation>
</message> </message>
@ -184,6 +199,11 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.</tr
<source>Reset redo stack when a new action is added to history</source> <source>Reset redo stack when a new action is added to history</source>
<translation>Tilbakesitll angrehistorikk når en ny handling legges til</translation> <translation>Tilbakesitll angrehistorikk når en ny handling legges til</translation>
</message> </message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/GreetScreen.qml" line="113"/>
<source>Done</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>HistoryBrowser</name> <name>HistoryBrowser</name>

View file

@ -99,6 +99,21 @@
</message> </message>
<message> <message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/> <location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="130"/>
<source>&amp;Source code</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="135"/>
<source>&amp;Report a bug</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="140"/>
<source>&amp;Help translating!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml" line="146"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -183,6 +198,11 @@ These settings can be changed at any time from the &quot;Settings&quot; menu.</s
<source>Reset redo stack when a new action is added to history</source> <source>Reset redo stack when a new action is added to history</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="../qml/eu/ad5001/LogarithmPlotter/GreetScreen.qml" line="113"/>
<source>Done</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>HistoryBrowser</name> <name>HistoryBrowser</name>

View file

@ -126,6 +126,22 @@ MenuBar {
Menu { Menu {
title: qsTr("&Help") 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 { Action {
text: qsTr("&About") text: qsTr("&About")
shortcut: StandardKey.HelpContents shortcut: StandardKey.HelpContents

View file

@ -24,7 +24,7 @@ Popup {
id: greetingPopup id: greetingPopup
x: (parent.width-width)/2 x: (parent.width-width)/2
y: Math.max(20, (parent.height-height)/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) height: Math.min(parent.height-40, 500)
modal: true modal: true
focus: true focus: true
@ -110,7 +110,7 @@ Popup {
} }
Button { Button {
text: "Done" text: qsTr("Done")
font.pixelSize: 20 font.pixelSize: 20
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.bottomMargin: 10 anchors.bottomMargin: 10
@ -119,7 +119,7 @@ Popup {
} }
Timer { Timer {
running: Helper.getSetting("last_install_greet") != Helper.getVersion() running: true//Helper.getSetting("last_install_greet") != Helper.getVersion()
repeat: false repeat: false
interval: 50 interval: 50
onTriggered: greetingPopup.open() onTriggered: greetingPopup.open()