Skip to content

Commit

Permalink
Merge pull request #71 from psyafter/patch-1
Browse files Browse the repository at this point in the history
use $root.t for "Switch between global and block level styles editing"
  • Loading branch information
bago committed Dec 5, 2015
2 parents c932969 + 7bb8616 commit de692cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/converter/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ var _propEditor = function(withBindingProvider, widgets, basePath, model, themeM
if (hasCustomStyle) {
html += '<label class="data-boolean blockCheck" data-bind="tooltips: { }">';
html += '<input type="checkbox" value="nothing" data-bind="focusable: true, checked: customStyle" />';
html += '<span title="Switch between global and block level styles editing" data-bind="attr: { title: \'Switch between global and block level styles editing\' }" class="checkbox-replacer checkbox-replacer-onoff"></span>'; // data-bind="tooltip: { content: \'personalizza tutti\' }"
html += '<span title="Switch between global and block level styles editing" data-bind="attr: { title: $root.t(\'Switch between global and block level styles editing\') }" class="checkbox-replacer checkbox-replacer-onoff"></span>'; // data-bind="tooltip: { content: \'personalizza tutti\' }"
html += '</label>';
html += '<!-- ko template: { name: \'customstyle\', if: customStyle } --><!-- /ko -->';
}
Expand Down Expand Up @@ -404,4 +404,4 @@ var generateEditors = function(templateDef, widgets, basePath, templateCreator,
return blockDefs;
};

module.exports = generateEditors;
module.exports = generateEditors;

0 comments on commit de692cf

Please sign in to comment.