add missing gettext
authorJan Szejko <janek37@gmail.com>
Wed, 22 Feb 2017 11:48:11 +0000 (12:48 +0100)
committerJan Szejko <janek37@gmail.com>
Wed, 22 Feb 2017 11:48:11 +0000 (12:48 +0100)
src/editor/plugins/core/switch.js

index 2c1e8b0..4587318 100644 (file)
@@ -26,7 +26,7 @@ var createSwitchAction = function(createParams) {
             ) {
                 return _.extend(state, {
                     allowed: false,
             ) {
                 return _.extend(state, {
                     allowed: false,
-                    description: 'wrong or no selection'
+                    description: gettext('wrong or no selection')
                 });
             }
 
                 });
             }