mirror of
https://github.com/OMGeeky/andors-trail.git
synced 2026-02-23 15:38:29 +01:00
Changed wording on the confirmation dialog box when overwriting a previous savegame. (thanks ctnbeh13)
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user