Changed wording on the confirmation dialog box when overwriting a previous savegame. (thanks ctnbeh13)

This commit is contained in:
Oskar Wiksten
2012-10-18 06:30:53 +00:00
parent cbbc875d40
commit 852d4c8878
2 changed files with 3 additions and 3 deletions

View File

@@ -540,5 +540,7 @@
<string name="iteminfo_effect_decrease_use_cost">Lowers AP cost of using items in combat by %1$d AP</string>
<string name="iteminfo_effect_increase_reequip_cost">Increases AP cost of equipping items in combat by %1$d AP</string>
<string name="iteminfo_effect_decrease_reequip_cost">Lowers AP cost of equipping items in combat by %1$d AP</string>
<string name="loadsave_save_overwrite_confirmation_all">Are you sure you want to overwrite this savegame?</string>
</resources>

View File

@@ -107,12 +107,10 @@ public final class LoadSaveActivity extends Activity implements OnClickListener
public void onClick(View view) {
final int slot = (Integer) view.getTag();
if (requiresConfirmation(slot)) {
final String playerName = model.player.actorTraits.name;
new AlertDialog.Builder(this)
.setIcon(android.R.drawable.ic_dialog_alert)
.setTitle(R.string.loadsave_save_overwrite_confirmation_title)
.setMessage(getString(R.string.loadsave_save_overwrite_confirmation, Savegames.quickload(this, slot).playerName, playerName))
.setMessage(getString(R.string.loadsave_save_overwrite_confirmation_all))
.setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {