app/assets/javascripts/activeadmin/trumbowyg/plugins/indent/trumbowyg.indent.js in activeadmin_trumbowyg-0.2.12 vs app/assets/javascripts/activeadmin/trumbowyg/plugins/indent/trumbowyg.indent.js in activeadmin_trumbowyg-0.2.14
- old
+ new
@@ -13,12 +13,16 @@
$.extend(true, $.trumbowyg, {
langs: {
en: {
indent: 'Indent',
- outdent: 'Outdent'
+ outdent: 'Outdent'
},
+ et: {
+ indent: 'Taande suurendamine',
+ outdent: 'Taande vähendamine'
+ },
fr: {
indent: 'Augmenter le retrait',
outdent: 'Diminuer le retrait'
}
}
@@ -30,20 +34,20 @@
paragraph: {
init: function (trumbowyg) {
var indentBtnDef = {
fn: 'indent',
title: trumbowyg.lang.indent,
- isSupported: function () {
- return !!document.queryCommandSupported && !!document.queryCommandSupported('indent');
+ isSupported: function () {
+ return !!document.queryCommandSupported && !!document.queryCommandSupported('indent');
},
ico: 'indent'
};
var outdentBtnDef = {
fn: 'outdent',
title: trumbowyg.lang.outdent,
- isSupported: function () {
- return !!document.queryCommandSupported && !!document.queryCommandSupported('outdent');
+ isSupported: function () {
+ return !!document.queryCommandSupported && !!document.queryCommandSupported('outdent');
},
ico: 'outdent'
};
trumbowyg.addBtnDef('indent', indentBtnDef);