fix: missing tr() and update donate message
This commit is contained in:
parent
22e0527502
commit
5e17d53c7f
@ -216,7 +216,7 @@ void ModPage::updateUi()
|
||||
}
|
||||
|
||||
if(!current.extraData.donate.isEmpty()) {
|
||||
text += "<br><br>Donation information:<br>";
|
||||
text += tr("<br><br>Donate information:<br>");
|
||||
auto donateToStr = [](ModPlatform::DonationData& donate) -> QString {
|
||||
return QString("<a href=\"%1\">%2</a>").arg(donate.url, donate.platform);
|
||||
};
|
||||
|
@ -225,7 +225,7 @@ void ModrinthPage::updateUI()
|
||||
text += "<br>" + tr(" by ") + QString("<a href=%1>%2</a>").arg(std::get<1>(current.author).toString(), std::get<0>(current.author));
|
||||
|
||||
if(!current.extra.donate.isEmpty()) {
|
||||
text += "<br><br>Donation information:<br>";
|
||||
text += tr("<br><br>Donate information:<br>");
|
||||
auto donateToStr = [](Modrinth::DonationData& donate) -> QString {
|
||||
return QString("<a href=\"%1\">%2</a>").arg(donate.url, donate.platform);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user