From 28b3cf2ffc8412bee0371852a44b62ad0f5edd1c Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 24 Jul 2016 18:13:23 +0200 Subject: [PATCH] use localized strings at dialogs --- .../com/simplemobiletools/draw/activities/MainActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/simplemobiletools/draw/activities/MainActivity.java b/app/src/main/java/com/simplemobiletools/draw/activities/MainActivity.java index 7ed046d..7da1661 100644 --- a/app/src/main/java/com/simplemobiletools/draw/activities/MainActivity.java +++ b/app/src/main/java/com/simplemobiletools/draw/activities/MainActivity.java @@ -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();