158 else |
160 else |
159 { |
161 { |
160 QString mailLink = QString("<a href=\"mailto:%1\">%1</a>").arg(mail); |
162 QString mailLink = QString("<a href=\"mailto:%1\">%1</a>").arg(mail); |
161 if(task.isEmpty() && mail.isEmpty()) |
163 if(task.isEmpty() && mail.isEmpty()) |
162 { |
164 { |
|
165 // Name only |
163 out = out + "<li>" + name + "</li>\n"; |
166 out = out + "<li>" + name + "</li>\n"; |
164 } |
167 } |
165 else if(task.isEmpty()) |
168 else if(task.isEmpty()) |
166 { |
169 { |
|
170 // Name and e-mail |
|
171 //: Part of credits. %1: Contribution name. %2: E-mail address |
167 out = out + "<li>" + tr("%1 <%2>").arg(name).arg(mailLink) + "</li>\n"; |
172 out = out + "<li>" + tr("%1 <%2>").arg(name).arg(mailLink) + "</li>\n"; |
168 } |
173 } |
169 else if(mail.isEmpty()) |
174 else if(mail.isEmpty()) |
170 { |
175 { |
171 out = out + "<li>" + tr("%1: %2").arg(task).arg(name) + "</li>\n"; |
176 // Contribution and name |
|
177 //: Part of credits. %1: Description of contribution. %2: Contributor name |
|
178 out = out + "<li>" + tr("%1: %2") |
|
179 .arg(HWApplication::translate("credits", task.toLatin1().constData())) |
|
180 .arg(name) |
|
181 + "</li>\n"; |
172 } |
182 } |
173 else |
183 else |
174 { |
184 { |
175 out = out + "<li>" + tr("%1: %2 <%3>").arg(task).arg(name).arg(mailLink) + "</li>\n"; |
185 // Contribution, name and e-mail |
|
186 //: Part of credits. %1: Description of contribution. %2: Contributor name. %3: E-mail address |
|
187 out = out + "<li>" + tr("%1: %2 <%3>") |
|
188 .arg(HWApplication::translate("credits", task.toLatin1().constData())) |
|
189 .arg(name) |
|
190 .arg(mailLink) |
|
191 + "</li>\n"; |
176 } |
192 } |
177 } |
193 } |
178 lineComplete = false; |
194 lineComplete = false; |
179 column = 0; |
195 column = 0; |
180 cells[0] = ""; |
196 cells[0] = ""; |