diff -r 9b53b46ede3e -r fbe5e49462aa QTfrontend/ui/widget/about.cpp
--- a/QTfrontend/ui/widget/about.cpp Thu Dec 13 18:55:25 2018 +0100
+++ b/QTfrontend/ui/widget/about.cpp Thu Dec 13 20:24:50 2018 +0100
@@ -32,6 +32,8 @@
#include "SDL.h"
#include "SDL_version.h"
#include "physfs.h"
+#include "creditsmessages.h"
+#include "HWApplication.h"
#ifdef VIDEOREC
extern "C"
@@ -160,19 +162,33 @@
QString mailLink = QString("%1").arg(mail);
if(task.isEmpty() && mail.isEmpty())
{
+ // Name only
out = out + "
" + name + "\n";
}
else if(task.isEmpty())
{
+ // Name and e-mail
+ //: Part of credits. %1: Contribution name. %2: E-mail address
out = out + "" + tr("%1 <%2>").arg(name).arg(mailLink) + "\n";
}
else if(mail.isEmpty())
{
- out = out + "" + tr("%1: %2").arg(task).arg(name) + "\n";
+ // Contribution and name
+ //: Part of credits. %1: Description of contribution. %2: Contributor name
+ out = out + "" + tr("%1: %2")
+ .arg(HWApplication::translate("credits", task.toLatin1().constData()))
+ .arg(name)
+ + "\n";
}
else
{
- out = out + "" + tr("%1: %2 <%3>").arg(task).arg(name).arg(mailLink) + "\n";
+ // Contribution, name and e-mail
+ //: Part of credits. %1: Description of contribution. %2: Contributor name. %3: E-mail address
+ out = out + "" + tr("%1: %2 <%3>")
+ .arg(HWApplication::translate("credits", task.toLatin1().constData()))
+ .arg(name)
+ .arg(mailLink)
+ + "\n";
}
}
lineComplete = false;