Fix \n -> <br> in translations

Closes #119
This commit is contained in:
Floris Bos 2020-11-19 19:05:09 +01:00
parent a6e80eb8a0
commit e4d99008fe
10 changed files with 638 additions and 396 deletions

View file

@ -292,8 +292,8 @@ bool DownloadThread::_openAndPrepareDevice()
|| !_file.flush()
|| !::fsync(_file.handle()))
{
emit error(tr("Write error while trying to zero out last part of card.\n"
"Card could be advertising wrong capacity (possible counterfeit)"));
emit error(tr("Write error while trying to zero out last part of card.<br>"
"Card could be advertising wrong capacity (possible counterfeit)."));
return false;
}
}
@ -733,7 +733,7 @@ bool DownloadThread::_verify()
qint64 lenRead = _file.read(verifyBuf, qMin((qint64) IMAGEWRITER_VERIFY_BLOCKSIZE, (qint64) (_verifyTotal-_lastVerifyNow) ));
if (lenRead == -1)
{
DownloadThread::_onDownloadError(tr("Error reading from storage.\n"
DownloadThread::_onDownloadError(tr("Error reading from storage.<br>"
"SD card may be broken."));
return false;
}