use localized strings at dialogs

This commit is contained in:
tibbi 2016-07-24 18:13:23 +02:00
parent 2d4913a673
commit 28b3cf2ffc
1 changed files with 2 additions and 2 deletions

View File

@ -120,8 +120,8 @@ public class MainActivity extends SimpleActivity implements MyCanvas.PathsChange
fileNameET.setText(curFileName);
builder.setView(saveFileView);
builder.setPositiveButton("OK", null);
builder.setNegativeButton("Cancel", null);
builder.setPositiveButton(android.R.string.ok, null);
builder.setNegativeButton(android.R.string.cancel, null);
final AlertDialog alertDialog = builder.create();
alertDialog.show();