Remove $0 suffixes from some property keys in PyBundle
authorMikhail Golubev <mikhail.golubev@jetbrains.com>
Wed, 19 Oct 2016 11:39:03 +0000 (14:39 +0300)
committerMikhail Golubev <mikhail.golubev@jetbrains.com>
Mon, 24 Oct 2016 21:03:49 +0000 (00:03 +0300)
Apparently, they couldn't have been resolved because of them.

python/src/com/jetbrains/python/PyBundle.properties
python/src/com/jetbrains/python/refactoring/move/moduleMembers/PyMoveModuleMembersDialog.java

index d4c998f56d1b634a53d04872767d5e9a088ee1c0..2053d60c3710a9c0453c8de076a3abfbc1f1c874 100644 (file)
@@ -654,9 +654,9 @@ refactoring.move.error.cannot.use.module.name.$0=Cannot use module name ''{0}''
 refactoring.move.module.members=Move module members
 refactoring.move.module.members.dialog.title=Move Module Members
 refactoring.move.module.members.dialog.table.title=Bulk &move
-refactoring.move.module.members.dialog.description.class.$0=Move class {0}
-refactoring.move.module.members.dialog.description.function.$0=Move function {0}
-refactoring.move.module.members.dialog.description.variable.$0=Move global variable {0}
+refactoring.move.module.members.dialog.description.class=Move class {0}
+refactoring.move.module.members.dialog.description.function=Move function {0}
+refactoring.move.module.members.dialog.description.variable=Move global variable {0}
 refactoring.move.module.members.dialog.description.selection=Move selected elements
 refactoring.move.module.members.error.cannot.place.elements.into.nonpython.file=Cannot place elements into a non-Python file
 refactoring.move.module.members.error.selection=Cannot perform refactoring using selected element(s)
index e994dd2b6e47af892527fa2368d81658ac483e20..e3606b50fccfbc4e4d3542712940d8b4c2261d3c 100644 (file)
@@ -95,13 +95,13 @@ public class PyMoveModuleMembersDialog extends PyBaseMoveDialog {
     if (!tableIsVisible && elements.size() == 1) {
       final String name = PyMoveRefactoringUtil.getPresentableName(firstElement);
       if (firstElement instanceof PyFunction) {
-        description =  PyBundle.message("refactoring.move.module.members.dialog.description.function.$0", name);
+        description =  PyBundle.message("refactoring.move.module.members.dialog.description.function", name);
       }
       else if (firstElement instanceof PyClass) {
-        description = PyBundle.message("refactoring.move.module.members.dialog.description.class.$0", name);
+        description = PyBundle.message("refactoring.move.module.members.dialog.description.class", name);
       }
       else {
-        description = PyBundle.message("refactoring.move.module.members.dialog.description.variable.$0", name);
+        description = PyBundle.message("refactoring.move.module.members.dialog.description.variable", name);
       }
     }
     else {