Skip to content

Commit

Permalink
Help > About... Replace link to donate page, change it`s text, say GP…
Browse files Browse the repository at this point in the history
…L version

Fixes issue musescore#7970 for the 3.x branch
  • Loading branch information
Jojo-Schmitz committed Apr 17, 2021
1 parent 69c4be0 commit c5a16ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions mscore/aboutbox.ui
Expand Up @@ -157,11 +157,11 @@
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Arial'; font-size:10pt;">Visit</span><span style=" font-family:'Arial'; font-size:10pt; color:#0000ff;"> </span><a href="http://www.musescore.org/en/"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">www.musescore.org</span></a><span style=" font-family:'Arial'; font-size:10pt;"> for new versions and more information.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Arial'; font-size:10pt;">Support MuseScore with </span><a href="http://www.musescore.org/en/donate"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">your donation</span></a>.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Arial'; font-size:10pt;">Visit</span><span style=" font-family:'Arial'; font-size:10pt; color:#0000ff;"> </span><a href="http://www.musescore.org/"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">www.musescore.org</span></a><span style=" font-family:'Arial'; font-size:10pt;"> for new versions and more information.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Arial'; font-size:10pt;">Help with MuseScore's </span><a href="http://www.musescore.org/contribute"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">development</span></a>.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Arial'; font-size:10pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Arial'; font-size:10pt;">Copyright </span><span style=" font-size:10pt;">©</span><span style=" font-family:'Arial'; font-size:10pt;"> 1999-2021 MuseScore BVBA and others. </span></p>
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Arial'; font-size:10pt;&quot;&gt;Published under the GNU General Public License.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Arial'; font-size:10pt;&quot;&gt;Published under the GNU General Public License Version 2.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="openExternalLinks">
<bool>true</bool>
Expand Down
6 changes: 3 additions & 3 deletions mscore/musescoredialogs.cpp
Expand Up @@ -147,14 +147,14 @@ AboutBoxDialog::AboutBoxDialog()

QString visitAndDonateString;
#if !defined(FOR_WINSTORE)
visitAndDonateString = tr("Visit %1www.musescore.org%2 for new versions and more information.\nSupport MuseScore with your %3donation%4.")
visitAndDonateString = tr("Visit %1www.musescore.org%2 for new versions and more information.\nHelp with MuseScore's %3development%4.")
.arg("<a href=\"https://www.musescore.org/\">")
.arg("</a>")
.arg("<a href=\"https://www.musescore.org/donate\">")
.arg("<a href=\"https://www.musescore.org/contribute\">")
.arg("</a>");
visitAndDonateString += "\n\n";
#endif
QString finalString = visitAndDonateString + tr("Copyright &copy; 1999-2021 MuseScore BVBA and others.\nPublished under the GNU General Public License.");
QString finalString = visitAndDonateString + tr("Copyright &copy; 1999-2021 MuseScore BVBA and others.\nPublished under the GNU General Public License version 2.");
finalString.replace("\n", "<br/>");
copyrightLabel->setText(QString("<span style=\"font-size:10pt;\">%1</span>").arg(finalString));
connect(copyRevisionButton, SIGNAL(clicked()), this, SLOT(copyRevisionToClipboard()));
Expand Down

0 comments on commit c5a16ac

Please sign in to comment.