string bug fixed
This commit is contained in:
parent
bbcbf4e079
commit
86b82125e3
3 changed files with 12 additions and 2 deletions
|
@ -188,7 +188,7 @@ void PictureDialog::setSnapmaticPicture(SnapmaticPicture *picture, QString pictu
|
||||||
}
|
}
|
||||||
else
|
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()));
|
QMessageBox::warning(this,tr("Snapmatic Picture Viewer"),tr("Failed at %1").arg(picture->getLastStep()));
|
||||||
}
|
}
|
||||||
emit newPictureCommited(snapmaticPicture);
|
emit newPictureCommited(snapmaticPicture);
|
||||||
|
@ -248,7 +248,7 @@ void PictureDialog::playerNameUpdated()
|
||||||
plyrsStr.append("</a>");
|
plyrsStr.append("</a>");
|
||||||
}
|
}
|
||||||
plyrsStr.remove(0,2);
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -296,6 +296,11 @@
|
||||||
<source>No crew</source>
|
<source>No crew</source>
|
||||||
<translation>Без группы</translation>
|
<translation>Без группы</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../PictureDialog.cpp" line="191"/>
|
||||||
|
<source>Unknown Location</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureExport.cpp" line="46"/>
|
<location filename="../PictureExport.cpp" line="46"/>
|
||||||
<source>Export as JPG picture...</source>
|
<source>Export as JPG picture...</source>
|
||||||
|
|
|
@ -329,6 +329,11 @@
|
||||||
<source>No crew</source>
|
<source>No crew</source>
|
||||||
<translation>Keine Crew</translation>
|
<translation>Keine Crew</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../PictureDialog.cpp" line="191"/>
|
||||||
|
<source>Unknown Location</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Export picture...</source>
|
<source>Export picture...</source>
|
||||||
<translation type="obsolete">Exportiere Bild...</translation>
|
<translation type="obsolete">Exportiere Bild...</translation>
|
||||||
|
|
Loading…
Reference in a new issue