diff --git a/android-app-core/res/values/text_wizard.xml b/android-app-core/res/values/text_wizard.xml
index 349a6b59..144cc51f 100644
--- a/android-app-core/res/values/text_wizard.xml
+++ b/android-app-core/res/values/text_wizard.xml
@@ -46,4 +46,5 @@
Drag button is an exclusive feature of Calculator++ which provides
fast access to the secondary functions
+ Do you really want to finish wizard?
diff --git a/android-app/src/main/java/org/solovyev/android/calculator/wizard/FinishWizardConfirmationDialog.java b/android-app/src/main/java/org/solovyev/android/calculator/wizard/FinishWizardConfirmationDialog.java
index b360a186..a4ae6b16 100644
--- a/android-app/src/main/java/org/solovyev/android/calculator/wizard/FinishWizardConfirmationDialog.java
+++ b/android-app/src/main/java/org/solovyev/android/calculator/wizard/FinishWizardConfirmationDialog.java
@@ -27,24 +27,24 @@ import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
+import org.solovyev.android.calculator.R;
+import org.solovyev.android.sherlock.AndroidSherlockUtils;
import javax.annotation.Nonnull;
-import org.solovyev.android.sherlock.AndroidSherlockUtils;
-
public class FinishWizardConfirmationDialog extends DialogFragment {
@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
final AlertDialog.Builder b = new AlertDialog.Builder(getActivity());
- b.setMessage("Do you really want to finish wizard?");
- b.setPositiveButton("Yes", new DialogInterface.OnClickListener() {
+ b.setMessage(R.string.cpp_wizard_finish_confirmation);
+ b.setPositiveButton(R.string.c_yes, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
((CalculatorWizardActivity) getActivity()).finishFlow(true);
}
});
- b.setNegativeButton("No", new DialogInterface.OnClickListener() {
+ b.setNegativeButton(R.string.c_no, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
dismiss();