From 6bc6b37d9c0eb0add42682e439c7e329b4ad70fb Mon Sep 17 00:00:00 2001 From: chaneylc Date: Wed, 11 Oct 2023 10:25:21 -0500 Subject: [PATCH] Fixed trait editor delete all traits cancel string --- .../com/fieldbook/tracker/activities/TraitEditorActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/fieldbook/tracker/activities/TraitEditorActivity.java b/app/src/main/java/com/fieldbook/tracker/activities/TraitEditorActivity.java index 387a61012..b2a716ae9 100644 --- a/app/src/main/java/com/fieldbook/tracker/activities/TraitEditorActivity.java +++ b/app/src/main/java/com/fieldbook/tracker/activities/TraitEditorActivity.java @@ -773,7 +773,7 @@ private void showDeleteTraitDialog(@Nullable DialogInterface.OnClickListener onP builder.setMessage(getString(R.string.dialog_delete_traits_message)); builder.setPositiveButton(getString(android.R.string.yes), onPositive); - builder.setNegativeButton(getString(android.R.string.no), onNegative); + builder.setNegativeButton(getString(R.string.dialog_no), onNegative); builder.setOnDismissListener(onDismiss); AlertDialog alert = builder.create();