QTfrontend/ui/widget/about.cpp
changeset 14433 a88c61d8976a
parent 14431 6f6d9fe79830
child 14436 3f679f2fb45a
equal deleted inserted replaced
14432:05ca0057d71f 14433:a88c61d8976a
   170             }
   170             }
   171             else if(type == "E")
   171             else if(type == "E")
   172             {
   172             {
   173                 // credits list entry
   173                 // credits list entry
   174                 QString mailLink = QString("<a href=\"mailto:%1\">%1</a>").arg(mail);
   174                 QString mailLink = QString("<a href=\"mailto:%1\">%1</a>").arg(mail);
   175                 if(task.isEmpty() && mail.isEmpty())
   175                 if(task.isEmpty() && mail.isEmpty() && !name.isEmpty())
   176                 {
   176                 {
   177                     // Name only
   177                     // Name only
   178                     out = out + "<li>" + name + "</li>\n";
   178                     out = out + "<li>" + name + "</li>\n";
       
   179                 }
       
   180                 else if(name.isEmpty() && mail.isEmpty() && !task.isEmpty())
       
   181                 {
       
   182                     // Task only
       
   183                     out = out + "<li>" + HWApplication::translate("credits", task.toLatin1().constData()) + "</li>\n";
   179                 }
   184                 }
   180                 else if(task.isEmpty())
   185                 else if(task.isEmpty())
   181                 {
   186                 {
   182                     // Name and e-mail
   187                     // Name and e-mail
   183                     //: Part of credits. %1: Contribution name. %2: E-mail address
   188                     //: Part of credits. %1: Contribution name. %2: E-mail address