string bug fixed

This commit is contained in:
Rafael 2016-04-23 20:28:55 +02:00
parent bbcbf4e079
commit 86b82125e3
3 changed files with 12 additions and 2 deletions

View file

@ -188,7 +188,7 @@ void PictureDialog::setSnapmaticPicture(SnapmaticPicture *picture, QString pictu
}
else
{
ui->labJSON->setText(jsonDrawString.arg("0.0", "0.0", "0.0", tr("No player"), tr("No crew")));
ui->labJSON->setText(jsonDrawString.arg("0.0", "0.0", "0.0", tr("No player"), tr("No crew"), tr("Unknown Location")));
QMessageBox::warning(this,tr("Snapmatic Picture Viewer"),tr("Failed at %1").arg(picture->getLastStep()));
}
emit newPictureCommited(snapmaticPicture);
@ -248,7 +248,7 @@ void PictureDialog::playerNameUpdated()
plyrsStr.append("</a>");
}
plyrsStr.remove(0,2);
ui->labJSON->setText(jsonDrawString.arg(locX, locY, locZ, plyrsStr, crewID, picTitl));
ui->labJSON->setText(jsonDrawString.arg(locX, locY, locZ, plyrsStr, crewID, picTitl, picAreaStr));
}
}

View file

@ -296,6 +296,11 @@
<source>No crew</source>
<translation>Без группы</translation>
</message>
<message>
<location filename="../PictureDialog.cpp" line="191"/>
<source>Unknown Location</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../PictureExport.cpp" line="46"/>
<source>Export as JPG picture...</source>

View file

@ -329,6 +329,11 @@
<source>No crew</source>
<translation>Keine Crew</translation>
</message>
<message>
<location filename="../PictureDialog.cpp" line="191"/>
<source>Unknown Location</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Export picture...</source>
<translation type="obsolete">Exportiere Bild...</translation>