diff --git a/python/src/com/jetbrains/python/PyBundle.properties b/python/src/com/jetbrains/python/PyBundle.properties index 62188a456219..61a2b4948728 100644 --- a/python/src/com/jetbrains/python/PyBundle.properties +++ b/python/src/com/jetbrains/python/PyBundle.properties @@ -221,7 +221,7 @@ surround.with.try.except.template=try / except ########################################################################################################################## unwrap.if=Unwrap if... unwrap.while=Unwrap while... -unwrap.try=Unwrap while... +unwrap.try=Unwrap try... unwrap.else=Unwrap else... unwrap.elif=Unwrap elif... remove.else=Remove else... diff --git a/python/src/com/jetbrains/python/refactoring/unwrap/PyTryUnwrapper.java b/python/src/com/jetbrains/python/refactoring/unwrap/PyTryUnwrapper.java index 02ae1f9ae35f..9dce67c3be79 100644 --- a/python/src/com/jetbrains/python/refactoring/unwrap/PyTryUnwrapper.java +++ b/python/src/com/jetbrains/python/refactoring/unwrap/PyTryUnwrapper.java @@ -10,7 +10,7 @@ import com.jetbrains.python.psi.*; */ public class PyTryUnwrapper extends PyUnwrapper { public PyTryUnwrapper() { - super(PyBundle.message("unwrap.while")); + super(PyBundle.message("unwrap.try")); } public boolean isApplicableTo(PsiElement e) {