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

@ -167,13 +167,13 @@ void ImageWriter::startWrite()
if (_devLen && _extrLen > _devLen)
{
emit error(tr("Storage capacity is not large enough.\nNeeds to be at least %1 GB").arg(QString::number(_extrLen/1000000000.0, 'f', 1)));
emit error(tr("Storage capacity is not large enough.<br>Needs to be at least %1 GB.").arg(QString::number(_extrLen/1000000000.0, 'f', 1)));
return;
}
if (_extrLen && !_multipleFilesInZip && _extrLen % 512 != 0)
{
emit error(tr("Input file is not a valid disk image.\nFile size %1 bytes is not a multiple of 512 bytes.").arg(_extrLen));
emit error(tr("Input file is not a valid disk image.<br>File size %1 bytes is not a multiple of 512 bytes.").arg(_extrLen));
return;
}