fix weird selection after delete
[fnpeditor.git] / src / editor / plugins / core / switch.js
index 2c1e8b0..4587318 100644 (file)
@@ -26,7 +26,7 @@ var createSwitchAction = function(createParams) {
             ) {
                 return _.extend(state, {
                     allowed: false,
-                    description: 'wrong or no selection'
+                    description: gettext('wrong or no selection')
                 });
             }