comparison ui/createinstallerdialog.cpp @ 781:60d3f59f0803

Fix typos in translatable strings.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 14 Jul 2014 11:50:23 +0200
parents aec00847d86d
children 637948e9e32d
comparison
equal deleted inserted replaced
780:9f13c00a2647 781:60d3f59f0803
233 return; 233 return;
234 } 234 }
235 /* Sign the linux installer */ 235 /* Sign the linux installer */
236 QDir linuxDir(binDir.path() + "/linux"); 236 QDir linuxDir(binDir.path() + "/linux");
237 if (!linuxDir.exists()) { 237 if (!linuxDir.exists()) {
238 showErrorMessage(tr("Failed to find the directory for linux binaries: %s") 238 showErrorMessage(tr("Failed to find the directory for linux binaries: %1")
239 .arg(linuxDir.path())); 239 .arg(linuxDir.path()));
240 return; 240 return;
241 } 241 }
242 QStringList nameFilter; 242 QStringList nameFilter;
243 nameFilter << "*.sh"; 243 nameFilter << "*.sh";
244 QStringList candidates = linuxDir.entryList(nameFilter, QDir::Files | QDir::Readable); 244 QStringList candidates = linuxDir.entryList(nameFilter, QDir::Files | QDir::Readable);
245 if (candidates.isEmpty()) { 245 if (candidates.isEmpty()) {
246 showErrorMessage(tr("Failed to find a readable *.sh file in: %s") 246 showErrorMessage(tr("Failed to find a readable *.sh file in: %1")
247 .arg(linuxDir.path())); 247 .arg(linuxDir.path()));
248 return; 248 return;
249 } 249 }
250 if (candidates.size() > 1) { 250 if (candidates.size() > 1) {
251 showErrorMessage(tr("Unexpected additional .sh files in: %s") 251 showErrorMessage(tr("Unexpected additional .sh files in: %1")
252 .arg(linuxDir.path())); 252 .arg(linuxDir.path()));
253 return; 253 return;
254 } 254 }
255 mProgress.setLabelText(tr("Signing Linux package...")); 255 mProgress.setLabelText(tr("Signing Linux package..."));
256 mProgress.cancel(); 256 mProgress.cancel();

http://wald.intevation.org/projects/trustbridge/