string + german translation update

This commit is contained in:
Rafael 2016-03-28 17:49:23 +02:00
parent 24f51f3af8
commit d04d3aca55
3 changed files with 12 additions and 4 deletions

View file

@ -47,7 +47,7 @@ void SavegameWidget::setSavegameData(SavegameData *savegame, QString savegamePat
void SavegameWidget::on_cmdDelete_clicked() void SavegameWidget::on_cmdDelete_clicked()
{ {
int uchoice = QMessageBox::question(this, tr("Delete savegame"), tr("Are you sure to delete %1 from your Savegames?").arg("\""+sgdStr+"\""), QMessageBox::No | QMessageBox::Yes, QMessageBox::No); int uchoice = QMessageBox::question(this, tr("Delete savegame"), tr("Are you sure to delete %1 from your savegames?").arg("\""+sgdStr+"\""), QMessageBox::No | QMessageBox::Yes, QMessageBox::No);
if (uchoice == QMessageBox::Yes) if (uchoice == QMessageBox::Yes)
{ {
if (!QFile::exists(sgdPath)) if (!QFile::exists(sgdPath))
@ -60,7 +60,7 @@ void SavegameWidget::on_cmdDelete_clicked()
} }
else else
{ {
QMessageBox::warning(this, tr("Delete savegame"), tr("Failed at deleting %1 from your Savegames").arg("\""+sgdStr+"\"")); QMessageBox::warning(this, tr("Delete savegame"), tr("Failed at deleting %1 from your savegames").arg("\""+sgdStr+"\""));
} }
} }
} }

Binary file not shown.

View file

@ -178,14 +178,22 @@
</message> </message>
<message> <message>
<location filename="SavegameWidget.cpp" line="50"/> <location filename="SavegameWidget.cpp" line="50"/>
<source>Are you sure to delete %1 from your Savegames?</source> <source>Are you sure to delete %1 from your savegames?</source>
<translation>Bist du sicher %1 von deinen Spielständen zu löschen?</translation> <translation>Bist du sicher %1 von deinen Spielständen zu löschen?</translation>
</message> </message>
<message> <message>
<location filename="SavegameWidget.cpp" line="63"/> <location filename="SavegameWidget.cpp" line="63"/>
<source>Failed at deleting %1 from your Savegames</source> <source>Failed at deleting %1 from your savegames</source>
<translation>Fehlgeschlagen beim Löschen %1 von deinen Spielständen</translation> <translation>Fehlgeschlagen beim Löschen %1 von deinen Spielständen</translation>
</message> </message>
<message>
<source>Are you sure to delete %1 from your Savegames?</source>
<translation type="obsolete">Bist du sicher %1 von deinen Spielständen zu löschen?</translation>
</message>
<message>
<source>Failed at deleting %1 from your Savegames</source>
<translation type="obsolete">Fehlgeschlagen beim Löschen %1 von deinen Spielständen</translation>
</message>
</context> </context>
<context> <context>
<name>SnapmaticWidget</name> <name>SnapmaticWidget</name>