summaryrefslogtreecommitdiffstats
path: root/application/dialogs/UpdateDialog.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-12-28 06:00:36 +0100
committerPetr Mrázek <peterix@gmail.com>2015-12-28 06:00:36 +0100
commit07449e514af441f964a57b764de7fae67c9d5135 (patch)
tree2c4a73b64146889ec15db9383cc55e07b8e05cee /application/dialogs/UpdateDialog.cpp
parentbd2843952a234a8b748f150f71613aff1df6900b (diff)
downloadMultiMC-07449e514af441f964a57b764de7fae67c9d5135.tar
MultiMC-07449e514af441f964a57b764de7fae67c9d5135.tar.gz
MultiMC-07449e514af441f964a57b764de7fae67c9d5135.tar.lz
MultiMC-07449e514af441f964a57b764de7fae67c9d5135.tar.xz
MultiMC-07449e514af441f964a57b764de7fae67c9d5135.zip
GH-1360 fix some typos
Diffstat (limited to 'application/dialogs/UpdateDialog.cpp')
-rw-r--r--application/dialogs/UpdateDialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/dialogs/UpdateDialog.cpp b/application/dialogs/UpdateDialog.cpp
index ff9513d1..31220e50 100644
--- a/application/dialogs/UpdateDialog.cpp
+++ b/application/dialogs/UpdateDialog.cpp
@@ -170,7 +170,7 @@ QString reprocessCommits(QByteArray json)
if(status == "identical")
{
- return QObject::tr("<p>There is are no code changes between your current version and %1 HEAD.</p>").arg(channel);
+ return QObject::tr("<p>There are no code changes between your current version and latest %1.</p>").arg(channel);
}
else if(status == "ahead")
{
@@ -181,7 +181,7 @@ QString reprocessCommits(QByteArray json)
{
auto commit_ahead = Json::requireInteger(rootobject, "ahead_by");
auto commit_behind = Json::requireInteger(rootobject, "behind_by");
- result += QObject::tr("<p>The update removes %1 commits and adds the following %2:</p>").arg(commit_behind, commit_ahead);
+ result += QObject::tr("<p>The update removes %1 commits and adds the following %2:</p>").arg(commit_behind).arg(commit_ahead);
print_commits();
}
result += QObject::tr("<p>You can <a href=\"%1\">look at the changes on github</a>.</p>").arg(diff_url);