mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-06-14 20:16:05 +00:00
Initial commit
This commit is contained in:
102
app/static/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.css
vendored
Normal file
102
app/static/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.css
vendored
Normal file
@ -0,0 +1,102 @@
|
||||
ul.wysihtml5-toolbar {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar:after {
|
||||
clear: both;
|
||||
display: table;
|
||||
content: "";
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar > li {
|
||||
float: left;
|
||||
display: list-item;
|
||||
list-style: none;
|
||||
margin: 0 5px 10px 0;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar a[data-wysihtml5-command=bold] {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar a[data-wysihtml5-command=italic] {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar a[data-wysihtml5-command=underline] {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar a.btn.wysihtml5-command-active {
|
||||
background-image: none;
|
||||
-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
background-color: #E6E6E6;
|
||||
background-color: #D9D9D9;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
ul.wysihtml5-commands-disabled .dropdown-menu {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar div.wysihtml5-colors {
|
||||
display:block;
|
||||
width: 50px;
|
||||
height: 20px;
|
||||
margin-top: 2px;
|
||||
margin-left: 5px;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar a.wysihtml5-colors-title {
|
||||
padding-left: 70px;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="black"] {
|
||||
background: black !important;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="silver"] {
|
||||
background: silver !important;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="gray"] {
|
||||
background: gray !important;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="maroon"] {
|
||||
background: maroon !important;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="red"] {
|
||||
background: red !important;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="purple"] {
|
||||
background: purple !important;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="green"] {
|
||||
background: green !important;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="olive"] {
|
||||
background: olive !important;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="navy"] {
|
||||
background: navy !important;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="blue"] {
|
||||
background: blue !important;
|
||||
}
|
||||
|
||||
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="orange"] {
|
||||
background: orange !important;
|
||||
}
|
520
app/static/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.js
vendored
Normal file
520
app/static/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.js
vendored
Normal file
@ -0,0 +1,520 @@
|
||||
!function($, wysi) {
|
||||
"use strict";
|
||||
|
||||
var tpl = {
|
||||
"font-styles": function(locale, options) {
|
||||
var size = (options && options.size) ? ' btn-'+options.size : '';
|
||||
return "<li class='dropdown'>" +
|
||||
"<a class='btn default dropdown-toggle" + size + "' data-toggle='dropdown' href='#'>" +
|
||||
"<i class='icon-font'></i> <span class='current-font'>" + locale.font_styles.normal + "</span> <b class='caret'></b>" +
|
||||
"</a>" +
|
||||
"<ul class='dropdown-menu'>" +
|
||||
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='div' tabindex='-1'>" + locale.font_styles.normal + "</a></li>" +
|
||||
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h1' tabindex='-1'>" + locale.font_styles.h1 + "</a></li>" +
|
||||
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h2' tabindex='-1'>" + locale.font_styles.h2 + "</a></li>" +
|
||||
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h3' tabindex='-1'>" + locale.font_styles.h3 + "</a></li>" +
|
||||
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h4'>" + locale.font_styles.h4 + "</a></li>" +
|
||||
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h5'>" + locale.font_styles.h5 + "</a></li>" +
|
||||
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h6'>" + locale.font_styles.h6 + "</a></li>" +
|
||||
"</ul>" +
|
||||
"</li>";
|
||||
},
|
||||
|
||||
"emphasis": function(locale, options) {
|
||||
var size = (options && options.size) ? ' btn-'+options.size : '';
|
||||
return "<li>" +
|
||||
"<div class='btn-group'>" +
|
||||
"<a class='btn default" + size + "' data-wysihtml5-command='bold' title='CTRL+B' tabindex='-1'>" + locale.emphasis.bold + "</a>" +
|
||||
"<a class='btn default" + size + "' data-wysihtml5-command='italic' title='CTRL+I' tabindex='-1'>" + locale.emphasis.italic + "</a>" +
|
||||
"<a class='btn default" + size + "' data-wysihtml5-command='underline' title='CTRL+U' tabindex='-1'>" + locale.emphasis.underline + "</a>" +
|
||||
"</div>" +
|
||||
"</li>";
|
||||
},
|
||||
|
||||
"lists": function(locale, options) {
|
||||
var size = (options && options.size) ? ' btn-'+options.size : '';
|
||||
return "<li>" +
|
||||
"<div class='btn-group'>" +
|
||||
"<a class='btn default" + size + "' data-wysihtml5-command='insertUnorderedList' title='" + locale.lists.unordered + "' tabindex='-1'><i class='fa fa-list'></i></a>" +
|
||||
"<a class='btn default" + size + "' data-wysihtml5-command='insertOrderedList' title='" + locale.lists.ordered + "' tabindex='-1'><i class='fa fa-th-list'></i></a>" +
|
||||
"<a class='btn default" + size + "' data-wysihtml5-command='Outdent' title='" + locale.lists.outdent + "' tabindex='-1'><i class='fa fa-outdent'></i></a>" +
|
||||
"<a class='btn default" + size + "' data-wysihtml5-command='Indent' title='" + locale.lists.indent + "' tabindex='-1'><i class='fa fa-indent'></i></a>" +
|
||||
"</div>" +
|
||||
"</li>";
|
||||
},
|
||||
|
||||
"link": function(locale, options) {
|
||||
var size = (options && options.size) ? ' btn-'+options.size : '';
|
||||
return "<li>" +
|
||||
"<div class='bootstrap-wysihtml5-insert-link-modal modal fade'>" +
|
||||
($.fn.modalmanager ? "" : "<div class='modal-dialog'>") +
|
||||
" <div class='modal-content'>" +
|
||||
"<div class='modal-header'>" +
|
||||
"<a class='close' data-dismiss='modal'>×</a>" +
|
||||
"<h3>" + locale.link.insert + "</h3>" +
|
||||
"</div>" +
|
||||
"<div class='modal-body'>" +
|
||||
"<input value='http://' class='bootstrap-wysihtml5-insert-link-url form-control input-xlarge'>" +
|
||||
"<label style='margin-top:5px;'> <input type='checkbox' class='bootstrap-wysihtml5-insert-link-target' checked>" + locale.link.target + "</label>" +
|
||||
"</div>" +
|
||||
"<div class='modal-footer'>" +
|
||||
"<a href='#' class='btn default' data-dismiss='modal'>" + locale.link.cancel + "</a>" +
|
||||
"<a href='#' class='btn btn-primary' data-dismiss='modal'>" + locale.link.insert + "</a>" +
|
||||
"</div>" +
|
||||
"</div>" +
|
||||
($.fn.modalmanager ? "" : "</div>") +
|
||||
"</div>" +
|
||||
"<a class='btn default" + size + "' data-wysihtml5-command='createLink' title='" + locale.link.insert + "' tabindex='-1'><i class='fa fa-share'></i></a>" +
|
||||
"</li>";
|
||||
},
|
||||
|
||||
"image": function(locale, options) {
|
||||
var size = (options && options.size) ? ' btn-'+options.size : '';
|
||||
return "<li>" +
|
||||
"<div class='bootstrap-wysihtml5-insert-image-modal modal fade'>" +
|
||||
($.fn.modalmanager ? "" : "<div class='modal-dialog'>") +
|
||||
" <div class='modal-content'>" +
|
||||
"<div class='modal-header'>" +
|
||||
"<a class='close' data-dismiss='modal'>×</a>" +
|
||||
"<h3>" + locale.image.insert + "</h3>" +
|
||||
"</div>" +
|
||||
"<div class='modal-body'>" +
|
||||
"<input value='http://' class='bootstrap-wysihtml5-insert-image-url form-control input-xlarge'>" +
|
||||
"</div>" +
|
||||
"<div class='modal-footer'>" +
|
||||
"<a href='#' class='btn default' data-dismiss='modal'>" + locale.image.cancel + "</a>" +
|
||||
"<a href='#' class='btn btn-primary' data-dismiss='modal'>" + locale.image.insert + "</a>" +
|
||||
"</div>" +
|
||||
"</div>" +
|
||||
($.fn.modalmanager ? "" : "</div>") +
|
||||
"</div>" +
|
||||
"<a class='btn default" + size + "' data-wysihtml5-command='insertImage' title='" + locale.image.insert + "' tabindex='-1'><i class='fa fa-picture-o'></i></a>" +
|
||||
"</li>";
|
||||
},
|
||||
|
||||
"html": function(locale, options) {
|
||||
var size = (options && options.size) ? ' btn-'+options.size : '';
|
||||
return "<li>" +
|
||||
"<div class='btn-group'>" +
|
||||
"<a class='btn default" + size + "' data-wysihtml5-action='change_view' title='" + locale.html.edit + "' tabindex='-1'><i class='fa fa-pencil'></i></a>" +
|
||||
"</div>" +
|
||||
"</li>";
|
||||
},
|
||||
|
||||
"color": function(locale, options) {
|
||||
var size = (options && options.size) ? ' btn-'+options.size : '';
|
||||
return "<li class='dropdown'>" +
|
||||
"<a class='btn default dropdown-toggle" + size + "' data-toggle='dropdown' href='#' tabindex='-1'>" +
|
||||
"<span class='current-color'>" + locale.colours.black + "</span> <b class='caret'></b>" +
|
||||
"</a>" +
|
||||
"<ul class='dropdown-menu'>" +
|
||||
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='black'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='black'>" + locale.colours.black + "</a></li>" +
|
||||
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='silver'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='silver'>" + locale.colours.silver + "</a></li>" +
|
||||
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='gray'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='gray'>" + locale.colours.gray + "</a></li>" +
|
||||
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='maroon'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='maroon'>" + locale.colours.maroon + "</a></li>" +
|
||||
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='red'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='red'>" + locale.colours.red + "</a></li>" +
|
||||
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='purple'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='purple'>" + locale.colours.purple + "</a></li>" +
|
||||
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='green'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='green'>" + locale.colours.green + "</a></li>" +
|
||||
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='olive'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='olive'>" + locale.colours.olive + "</a></li>" +
|
||||
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='navy'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='navy'>" + locale.colours.navy + "</a></li>" +
|
||||
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='blue'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='blue'>" + locale.colours.blue + "</a></li>" +
|
||||
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='orange'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='orange'>" + locale.colours.orange + "</a></li>" +
|
||||
"</ul>" +
|
||||
"</li>";
|
||||
}
|
||||
};
|
||||
|
||||
var templates = function(key, locale, options) {
|
||||
return tpl[key](locale, options);
|
||||
};
|
||||
|
||||
|
||||
var Wysihtml5 = function(el, options) {
|
||||
this.el = el;
|
||||
var toolbarOpts = options || defaultOptions;
|
||||
for(var t in toolbarOpts.customTemplates) {
|
||||
tpl[t] = toolbarOpts.customTemplates[t];
|
||||
}
|
||||
this.toolbar = this.createToolbar(el, toolbarOpts);
|
||||
this.editor = this.createEditor(options);
|
||||
|
||||
window.editor = this.editor;
|
||||
|
||||
$('iframe.wysihtml5-sandbox').each(function(i, el){
|
||||
$(el.contentWindow).off('focus.wysihtml5').on({
|
||||
'focus.wysihtml5' : function(){
|
||||
$('li.dropdown').removeClass('open');
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Wysihtml5.prototype = {
|
||||
|
||||
constructor: Wysihtml5,
|
||||
|
||||
createEditor: function(options) {
|
||||
options = options || {};
|
||||
|
||||
// Add the toolbar to a clone of the options object so multiple instances
|
||||
// of the WYISYWG don't break because "toolbar" is already defined
|
||||
options = $.extend(true, {}, options);
|
||||
options.toolbar = this.toolbar[0];
|
||||
|
||||
var editor = new wysi.Editor(this.el[0], options);
|
||||
|
||||
if(options && options.events) {
|
||||
for(var eventName in options.events) {
|
||||
editor.on(eventName, options.events[eventName]);
|
||||
}
|
||||
}
|
||||
return editor;
|
||||
},
|
||||
|
||||
createToolbar: function(el, options) {
|
||||
var self = this;
|
||||
var toolbar = $("<ul/>", {
|
||||
'class' : "wysihtml5-toolbar",
|
||||
'style': "display:none"
|
||||
});
|
||||
var culture = options.locale || defaultOptions.locale || "en";
|
||||
for(var key in defaultOptions) {
|
||||
var value = false;
|
||||
|
||||
if(options[key] !== undefined) {
|
||||
if(options[key] === true) {
|
||||
value = true;
|
||||
}
|
||||
} else {
|
||||
value = defaultOptions[key];
|
||||
}
|
||||
|
||||
if(value === true) {
|
||||
toolbar.append(templates(key, locale[culture], options));
|
||||
|
||||
if(key === "html") {
|
||||
this.initHtml(toolbar);
|
||||
}
|
||||
|
||||
if(key === "link") {
|
||||
this.initInsertLink(toolbar);
|
||||
}
|
||||
|
||||
if(key === "image") {
|
||||
this.initInsertImage(toolbar);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(options.toolbar) {
|
||||
for(key in options.toolbar) {
|
||||
toolbar.append(options.toolbar[key]);
|
||||
}
|
||||
}
|
||||
|
||||
toolbar.find("a[data-wysihtml5-command='formatBlock']").click(function(e) {
|
||||
var target = e.target || e.srcElement;
|
||||
var el = $(target);
|
||||
self.toolbar.find('.current-font').text(el.html());
|
||||
});
|
||||
|
||||
toolbar.find("a[data-wysihtml5-command='foreColor']").click(function(e) {
|
||||
var target = e.target || e.srcElement;
|
||||
var el = $(target);
|
||||
self.toolbar.find('.current-color').text(el.html());
|
||||
});
|
||||
|
||||
this.el.before(toolbar);
|
||||
|
||||
return toolbar;
|
||||
},
|
||||
|
||||
initHtml: function(toolbar) {
|
||||
var changeViewSelector = "a[data-wysihtml5-action='change_view']";
|
||||
toolbar.find(changeViewSelector).click(function(e) {
|
||||
toolbar.find('a.btn').not(changeViewSelector).toggleClass('disabled');
|
||||
});
|
||||
},
|
||||
|
||||
initInsertImage: function(toolbar) {
|
||||
var self = this;
|
||||
var insertImageModal = toolbar.find('.bootstrap-wysihtml5-insert-image-modal');
|
||||
var urlInput = insertImageModal.find('.bootstrap-wysihtml5-insert-image-url');
|
||||
var insertButton = insertImageModal.find('a.btn-primary');
|
||||
var initialValue = urlInput.val();
|
||||
var caretBookmark;
|
||||
|
||||
var insertImage = function() {
|
||||
var url = urlInput.val();
|
||||
urlInput.val(initialValue);
|
||||
self.editor.currentView.element.focus();
|
||||
if (caretBookmark) {
|
||||
self.editor.composer.selection.setBookmark(caretBookmark);
|
||||
caretBookmark = null;
|
||||
}
|
||||
self.editor.composer.commands.exec("insertImage", url);
|
||||
};
|
||||
|
||||
urlInput.keypress(function(e) {
|
||||
if(e.which == 13) {
|
||||
insertImage();
|
||||
insertImageModal.modal('hide');
|
||||
}
|
||||
});
|
||||
|
||||
insertButton.click(insertImage);
|
||||
|
||||
insertImageModal.on('shown', function() {
|
||||
urlInput.focus();
|
||||
});
|
||||
|
||||
insertImageModal.on('hide', function() {
|
||||
self.editor.currentView.element.focus();
|
||||
});
|
||||
|
||||
toolbar.find('a[data-wysihtml5-command=insertImage]').click(function() {
|
||||
var activeButton = $(this).hasClass("wysihtml5-command-active");
|
||||
|
||||
if (!activeButton) {
|
||||
self.editor.currentView.element.focus(false);
|
||||
caretBookmark = self.editor.composer.selection.getBookmark();
|
||||
insertImageModal.appendTo('body').modal('show');
|
||||
insertImageModal.on('click.dismiss.modal', '[data-dismiss="modal"]', function(e) {
|
||||
e.stopPropagation();
|
||||
});
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
initInsertLink: function(toolbar) {
|
||||
var self = this;
|
||||
var insertLinkModal = toolbar.find('.bootstrap-wysihtml5-insert-link-modal');
|
||||
var urlInput = insertLinkModal.find('.bootstrap-wysihtml5-insert-link-url');
|
||||
var targetInput = insertLinkModal.find('.bootstrap-wysihtml5-insert-link-target');
|
||||
var insertButton = insertLinkModal.find('a.btn-primary');
|
||||
var initialValue = urlInput.val();
|
||||
var caretBookmark;
|
||||
|
||||
var insertLink = function() {
|
||||
var url = urlInput.val();
|
||||
urlInput.val(initialValue);
|
||||
self.editor.currentView.element.focus();
|
||||
if (caretBookmark) {
|
||||
self.editor.composer.selection.setBookmark(caretBookmark);
|
||||
caretBookmark = null;
|
||||
}
|
||||
|
||||
var newWindow = targetInput.prop("checked");
|
||||
self.editor.composer.commands.exec("createLink", {
|
||||
'href' : url,
|
||||
'target' : (newWindow ? '_blank' : '_self'),
|
||||
'rel' : (newWindow ? 'nofollow' : '')
|
||||
});
|
||||
};
|
||||
var pressedEnter = false;
|
||||
|
||||
urlInput.keypress(function(e) {
|
||||
if(e.which == 13) {
|
||||
insertLink();
|
||||
insertLinkModal.modal('hide');
|
||||
}
|
||||
});
|
||||
|
||||
insertButton.click(insertLink);
|
||||
|
||||
insertLinkModal.on('shown', function() {
|
||||
urlInput.focus();
|
||||
});
|
||||
|
||||
insertLinkModal.on('hide', function() {
|
||||
self.editor.currentView.element.focus();
|
||||
});
|
||||
|
||||
toolbar.find('a[data-wysihtml5-command=createLink]').click(function() {
|
||||
var activeButton = $(this).hasClass("wysihtml5-command-active");
|
||||
|
||||
if (!activeButton) {
|
||||
self.editor.currentView.element.focus(false);
|
||||
caretBookmark = self.editor.composer.selection.getBookmark();
|
||||
insertLinkModal.appendTo('body').modal('show');
|
||||
Metronic.initUniform(); //initialize uniform checkboxes
|
||||
insertLinkModal.on('click.dismiss.modal', '[data-dismiss="modal"]', function(e) {
|
||||
e.stopPropagation();
|
||||
});
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
// these define our public api
|
||||
var methods = {
|
||||
resetDefaults: function() {
|
||||
$.fn.wysihtml5.defaultOptions = $.extend(true, {}, $.fn.wysihtml5.defaultOptionsCache);
|
||||
},
|
||||
bypassDefaults: function(options) {
|
||||
return this.each(function () {
|
||||
var $this = $(this);
|
||||
$this.data('wysihtml5', new Wysihtml5($this, options));
|
||||
});
|
||||
},
|
||||
shallowExtend: function (options) {
|
||||
var settings = $.extend({}, $.fn.wysihtml5.defaultOptions, options || {}, $(this).data());
|
||||
var that = this;
|
||||
return methods.bypassDefaults.apply(that, [settings]);
|
||||
},
|
||||
deepExtend: function(options) {
|
||||
var settings = $.extend(true, {}, $.fn.wysihtml5.defaultOptions, options || {});
|
||||
var that = this;
|
||||
return methods.bypassDefaults.apply(that, [settings]);
|
||||
},
|
||||
init: function(options) {
|
||||
var that = this;
|
||||
return methods.shallowExtend.apply(that, [options]);
|
||||
}
|
||||
};
|
||||
|
||||
$.fn.wysihtml5 = function ( method ) {
|
||||
if ( methods[method] ) {
|
||||
return methods[method].apply( this, Array.prototype.slice.call( arguments, 1 ));
|
||||
} else if ( typeof method === 'object' || ! method ) {
|
||||
return methods.init.apply( this, arguments );
|
||||
} else {
|
||||
$.error( 'Method ' + method + ' does not exist on jQuery.wysihtml5' );
|
||||
}
|
||||
};
|
||||
|
||||
$.fn.wysihtml5.Constructor = Wysihtml5;
|
||||
|
||||
var defaultOptions = $.fn.wysihtml5.defaultOptions = {
|
||||
"font-styles": true,
|
||||
"color": false,
|
||||
"emphasis": true,
|
||||
"lists": true,
|
||||
"html": true,
|
||||
"link": true,
|
||||
"image": true,
|
||||
events: {},
|
||||
parserRules: {
|
||||
classes: {
|
||||
// (path_to_project/lib/css/wysiwyg-color.css)
|
||||
"wysiwyg-color-silver" : 1,
|
||||
"wysiwyg-color-gray" : 1,
|
||||
"wysiwyg-color-white" : 1,
|
||||
"wysiwyg-color-maroon" : 1,
|
||||
"wysiwyg-color-red" : 1,
|
||||
"wysiwyg-color-purple" : 1,
|
||||
"wysiwyg-color-fuchsia" : 1,
|
||||
"wysiwyg-color-green" : 1,
|
||||
"wysiwyg-color-lime" : 1,
|
||||
"wysiwyg-color-olive" : 1,
|
||||
"wysiwyg-color-yellow" : 1,
|
||||
"wysiwyg-color-navy" : 1,
|
||||
"wysiwyg-color-blue" : 1,
|
||||
"wysiwyg-color-teal" : 1,
|
||||
"wysiwyg-color-aqua" : 1,
|
||||
"wysiwyg-color-orange" : 1
|
||||
},
|
||||
tags: {
|
||||
"b": {},
|
||||
"i": {},
|
||||
"br": {},
|
||||
"ol": {},
|
||||
"ul": {},
|
||||
"li": {},
|
||||
"h1": {},
|
||||
"h2": {},
|
||||
"h3": {},
|
||||
"h4": {},
|
||||
"h5": {},
|
||||
"h6": {},
|
||||
"blockquote": {},
|
||||
"u": 1,
|
||||
"img": {
|
||||
"check_attributes": {
|
||||
"width": "numbers",
|
||||
"alt": "alt",
|
||||
"src": "url",
|
||||
"height": "numbers"
|
||||
}
|
||||
},
|
||||
"a": {
|
||||
check_attributes: {
|
||||
'href': "url", // important to avoid XSS
|
||||
'target': 'alt',
|
||||
'rel': 'alt'
|
||||
}
|
||||
},
|
||||
"span": 1,
|
||||
"div": 1,
|
||||
// to allow save and edit files with code tag hacks
|
||||
"code": 1,
|
||||
"pre": 1
|
||||
}
|
||||
},
|
||||
stylesheets: ["wysiwyg-color.css"], // (path_to_project/lib/css/wysiwyg-color.css)
|
||||
locale: "en"
|
||||
};
|
||||
|
||||
if (typeof $.fn.wysihtml5.defaultOptionsCache === 'undefined') {
|
||||
$.fn.wysihtml5.defaultOptionsCache = $.extend(true, {}, $.fn.wysihtml5.defaultOptions);
|
||||
}
|
||||
|
||||
var locale = $.fn.wysihtml5.locale = {
|
||||
en: {
|
||||
font_styles: {
|
||||
normal: "Normal text",
|
||||
h1: "Heading 1",
|
||||
h2: "Heading 2",
|
||||
h3: "Heading 3",
|
||||
h4: "Heading 4",
|
||||
h5: "Heading 5",
|
||||
h6: "Heading 6"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Bold",
|
||||
italic: "Italic",
|
||||
underline: "Underline"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Unordered list",
|
||||
ordered: "Ordered list",
|
||||
outdent: "Outdent",
|
||||
indent: "Indent"
|
||||
},
|
||||
link: {
|
||||
insert: "Insert link",
|
||||
cancel: "Cancel",
|
||||
target: "Open link in new window"
|
||||
},
|
||||
image: {
|
||||
insert: "Insert image",
|
||||
cancel: "Cancel"
|
||||
},
|
||||
html: {
|
||||
edit: "Edit HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Black",
|
||||
silver: "Silver",
|
||||
gray: "Grey",
|
||||
maroon: "Maroon",
|
||||
red: "Red",
|
||||
purple: "Purple",
|
||||
green: "Green",
|
||||
olive: "Olive",
|
||||
navy: "Navy",
|
||||
blue: "Blue",
|
||||
orange: "Orange"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
}(window.jQuery, window.wysihtml5);
|
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.ar-AR.js
vendored
Normal file
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.ar-AR.js
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
/**
|
||||
* Arabic translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["mo-MD"] = {
|
||||
font_styles: {
|
||||
normal: "نص عادي",
|
||||
h1: "عنوان رئيسي 1",
|
||||
h2: "عنوان رئيسي 2",
|
||||
h3: "عنوان رئيسي 3",
|
||||
},
|
||||
emphasis: {
|
||||
bold: "عريض",
|
||||
italic: "مائل",
|
||||
underline: "تحته خط"
|
||||
},
|
||||
lists: {
|
||||
unordered: "قائمة منقطة",
|
||||
ordered: "قائمة مرقمة",
|
||||
outdent: "محاذاه للخارج",
|
||||
indent: "محاذاه للداخل"
|
||||
},
|
||||
link: {
|
||||
insert: "إضافة رابط",
|
||||
cancel: "إلغاء"
|
||||
},
|
||||
image: {
|
||||
insert: "إضافة صورة",
|
||||
cancel: "إلغاء"
|
||||
},
|
||||
html: {
|
||||
edit: "تعديل HTML"
|
||||
},
|
||||
|
||||
colours: {
|
||||
black: "أسود",
|
||||
silver: "فضي",
|
||||
gray: "رمادي",
|
||||
maroon: "بني",
|
||||
red: "أحمر",
|
||||
purple: "بنفسجي",
|
||||
green: "أخضر",
|
||||
olive: "زيتوني",
|
||||
navy: "أزرق قاتم",
|
||||
blue: "أزرق نيلي",
|
||||
orange: "برتقالي"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.bg-BG.js
vendored
Normal file
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.bg-BG.js
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
/**
|
||||
* Bulgarian translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["bg-BG"] = {
|
||||
font_styles: {
|
||||
normal: "Нормален текст",
|
||||
h1: "Заглавие 1",
|
||||
h2: "Заглавие 2",
|
||||
h3: "Заглавие 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Удебелен",
|
||||
italic: "Курсив",
|
||||
underline: "Подчертан"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Неподреден списък",
|
||||
ordered: "Подреден списък",
|
||||
outdent: "Намали отстояние",
|
||||
indent: "Увеличи отстояние"
|
||||
},
|
||||
link: {
|
||||
insert: "Вмъкни връзка",
|
||||
cancel: "Отмени"
|
||||
},
|
||||
image: {
|
||||
insert: "Вмъкни картинка",
|
||||
cancel: "Отмени"
|
||||
},
|
||||
html: {
|
||||
edit: "Редакртирай HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Черен",
|
||||
silver: "Сребърен",
|
||||
gray: "Сив",
|
||||
maroon: "Коричневый",
|
||||
red: "Червен",
|
||||
purple: "Виолетов",
|
||||
green: "Зелен",
|
||||
olive: "Маслинен",
|
||||
navy: "Морско син",
|
||||
blue: "Син",
|
||||
orange: "Оранжев"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
||||
|
47
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.ca-CT.js
vendored
Normal file
47
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.ca-CT.js
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
/**
|
||||
* Catalan translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["ca-CT"] = {
|
||||
font_styles: {
|
||||
normal: "Text normal",
|
||||
h1: "Títol 1",
|
||||
h2: "Títol 2"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Negreta",
|
||||
italic: "Cursiva",
|
||||
underline: "Subratllat"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Llista desordenada",
|
||||
ordered: "Llista ordenada",
|
||||
outdent: "Esborrar tabulació",
|
||||
indent: "Afegir tabulació"
|
||||
},
|
||||
link: {
|
||||
insert: "Afegir enllaç",
|
||||
cancel: "Cancelar"
|
||||
},
|
||||
image: {
|
||||
insert: "Afegir imatge",
|
||||
cancel: "Cancelar"
|
||||
},
|
||||
html: {
|
||||
edit: "Editar HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Negre",
|
||||
silver: "Plata",
|
||||
gray: "Gris",
|
||||
maroon: "Marró",
|
||||
red: "Vermell",
|
||||
purple: "Porpre",
|
||||
green: "Verd",
|
||||
olive: "Oliva",
|
||||
navy: "Blau marí",
|
||||
blue: "Blau",
|
||||
orange: "Taronja"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.cs-CZ.js
vendored
Normal file
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.cs-CZ.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Czech translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["cs-CZ"] = {
|
||||
font_styles: {
|
||||
normal: "Normální text",
|
||||
h1: "Nadpis úrovně 1",
|
||||
h2: "Nadpis úrovně 2",
|
||||
h3: "Nadpis úrovně 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Tučné",
|
||||
italic: "Kurzíva",
|
||||
underline: "Podtržení"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Seznam s odrážkami",
|
||||
ordered: "Číslovaný seznam",
|
||||
outdent: "Zvětšit odsazení",
|
||||
indent: "Zmenšit odsazení"
|
||||
},
|
||||
link: {
|
||||
insert: "Vložit odkaz",
|
||||
cancel: "Zrušit"
|
||||
},
|
||||
image: {
|
||||
insert: "Vložit obrázek",
|
||||
cancel: "Zrušit"
|
||||
},
|
||||
html: {
|
||||
edit: "Upravit HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Černá",
|
||||
silver: "Stříbrná",
|
||||
gray: "Šedá",
|
||||
maroon: "Vínová",
|
||||
red: "Červená",
|
||||
purple: "Fialová",
|
||||
green: "Zelená",
|
||||
olive: "Olivová",
|
||||
navy: "Tmavomodrá",
|
||||
blue: "Modrá",
|
||||
orange: "Oranžová"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.da-DK.js
vendored
Normal file
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.da-DK.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Danish translations
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["da-DK"] = {
|
||||
font_styles: {
|
||||
normal: "Normal tekst",
|
||||
h1: "Overskrift 1",
|
||||
h2: "Overskrift 2",
|
||||
h3: "Overskrift 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Fed",
|
||||
italic: "Kursiv",
|
||||
underline: "Understreget"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Uordnet liste",
|
||||
ordered: "Ordnet liste",
|
||||
outdent: "Udryk",
|
||||
indent: "Indryk"
|
||||
},
|
||||
link: {
|
||||
insert: "Indsæt Link",
|
||||
cancel: "Annuler"
|
||||
},
|
||||
image: {
|
||||
insert: "Indsæt billede",
|
||||
cancel: "Annuler"
|
||||
},
|
||||
html: {
|
||||
edit: "Rediger HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Sort",
|
||||
silver: "Sølv",
|
||||
gray: "Grå",
|
||||
maroon: "Mørkerød",
|
||||
red: "Rød",
|
||||
purple: "Lilla",
|
||||
green: "Grøn",
|
||||
olive: "Lysegrøn",
|
||||
navy: "Mørkeblå",
|
||||
blue: "Blå",
|
||||
orange: "Orange"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.de-DE.js
vendored
Normal file
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.de-DE.js
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
/**
|
||||
* German translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["de-DE"] = {
|
||||
font_styles: {
|
||||
normal: "Normaler Text",
|
||||
h1: "Überschrift 1",
|
||||
h2: "Überschrift 2",
|
||||
h3: "Überschrift 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Fett",
|
||||
italic: "Kursiv",
|
||||
underline: "Unterstrichen"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Ungeordnete Liste",
|
||||
ordered: "Geordnete Liste",
|
||||
outdent: "Einzug verkleinern",
|
||||
indent: "Einzug vergrößern"
|
||||
},
|
||||
link: {
|
||||
insert: "Link einfügen",
|
||||
cancel: "Abbrechen",
|
||||
target: "Link in neuen Fenster öffnen"
|
||||
},
|
||||
image: {
|
||||
insert: "Bild einfügen",
|
||||
cancel: "Abbrechen"
|
||||
},
|
||||
html: {
|
||||
edit: "HTML bearbeiten"
|
||||
},
|
||||
colours: {
|
||||
black: "Schwarz",
|
||||
silver: "Silber",
|
||||
gray: "Grau",
|
||||
maroon: "Kastanienbraun",
|
||||
red: "Rot",
|
||||
purple: "Violett",
|
||||
green: "Grün",
|
||||
olive: "Olivgrün",
|
||||
navy: "Marineblau",
|
||||
blue: "Blau",
|
||||
orange: "Orange"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.el-GR.js
vendored
Normal file
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.el-GR.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Greek translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["el-GR"] = {
|
||||
font_styles: {
|
||||
normal: "Απλό κείμενο",
|
||||
h1: "Κεφαλίδα 1",
|
||||
h2: "Κεφαλίδα 2",
|
||||
h3: "Κεφαλίδα 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "B",
|
||||
italic: "I",
|
||||
underline: "U"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Λίστα με κουκκίδες",
|
||||
ordered: "Αριθμημένη λίστα",
|
||||
outdent: "Μείωση εσοχής",
|
||||
indent: "Αύξηση εσοχής"
|
||||
},
|
||||
link: {
|
||||
insert: "Εισαγωγή Συνδέσμου",
|
||||
cancel: "Άκυρο"
|
||||
},
|
||||
image: {
|
||||
insert: "Εισαγωγή Εικόνας",
|
||||
cancel: "Άκυρο"
|
||||
},
|
||||
html: {
|
||||
edit: "Επεξεργασία HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Μαύρο",
|
||||
silver: "Ασημί",
|
||||
gray: "Γκρι",
|
||||
maroon: "Καφέ",
|
||||
red: "Κόκκινο",
|
||||
purple: "Μωβ",
|
||||
green: "Πράσινο",
|
||||
olive: "Λαδί",
|
||||
navy: "Βαθύ Μπλε",
|
||||
blue: "Μπλε",
|
||||
orange: "Πορτοκαλί"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.es-AR.js
vendored
Normal file
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.es-AR.js
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
/**
|
||||
* Spanish Argenina translation for bootstrap-wysihtml5
|
||||
*/
|
||||
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["es-AR"] = {
|
||||
font_styles: {
|
||||
normal: "Texto normal",
|
||||
h1: "Título 1",
|
||||
h2: "Título 2",
|
||||
h3: "Título 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Negrita",
|
||||
italic: "Itálica",
|
||||
underline: "Subrayado"
|
||||
},
|
||||
lists: {
|
||||
ordered: "Lista ordenada",
|
||||
unordered: "Lista desordenada",
|
||||
indent: "Agregar sangría",
|
||||
outdent: "Eliminar sangría"
|
||||
},
|
||||
link: {
|
||||
insert: "Insertar enlace",
|
||||
cancel: "Cancelar"
|
||||
},
|
||||
image: {
|
||||
insert: "Insertar imágen",
|
||||
cancel: "Cancelar"
|
||||
},
|
||||
html: {
|
||||
edit: "Editar HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Negro",
|
||||
silver: "Plata",
|
||||
gray: "Gris",
|
||||
maroon: "Marrón",
|
||||
red: "Rojo",
|
||||
purple: "Púrpura",
|
||||
green: "Verde",
|
||||
olive: "Oliva",
|
||||
navy: "Azul Marino",
|
||||
blue: "Azul",
|
||||
orange: "Naranja"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.es-ES.js
vendored
Normal file
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.es-ES.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Uruguayan spanish translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["es-ES"] = {
|
||||
font_styles: {
|
||||
normal: "Texto normal",
|
||||
h1: "Título 1",
|
||||
h2: "Título 2",
|
||||
h3: "Título 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Negrita",
|
||||
italic: "Itálica",
|
||||
underline: "Subrayado"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Lista desordenada",
|
||||
ordered: "Lista ordenada",
|
||||
outdent: "Eliminar sangría",
|
||||
indent: "Agregar sangría"
|
||||
},
|
||||
link: {
|
||||
insert: "Insertar enlace",
|
||||
cancel: "Cancelar"
|
||||
},
|
||||
image: {
|
||||
insert: "Insertar imágen",
|
||||
cancel: "Cancelar"
|
||||
},
|
||||
html: {
|
||||
edit: "Editar HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Negro",
|
||||
silver: "Plata",
|
||||
gray: "Gris",
|
||||
maroon: "Marrón",
|
||||
red: "Rojo",
|
||||
purple: "Púrpura",
|
||||
green: "Verde",
|
||||
olive: "Oliva",
|
||||
navy: "Azul Marino",
|
||||
blue: "Azul",
|
||||
orange: "Naranja"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.fr-FR.js
vendored
Normal file
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.fr-FR.js
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
/**
|
||||
* French translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["fr-FR"] = {
|
||||
font_styles: {
|
||||
normal: "Texte normal",
|
||||
h1: "Titre 1",
|
||||
h2: "Titre 2",
|
||||
h3: "Titre 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Gras",
|
||||
italic: "Italique",
|
||||
underline: "Souligné"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Liste à puces",
|
||||
ordered: "Liste numérotée",
|
||||
outdent: "Diminuer le retrait",
|
||||
indent: "Augmenter le retrait",
|
||||
indered: "Augmenter le retrait"
|
||||
},
|
||||
link: {
|
||||
insert: "Insérer un lien",
|
||||
cancel: "Annuler"
|
||||
},
|
||||
image: {
|
||||
insert: "Insérer une image",
|
||||
cancel: "Annuler"
|
||||
},
|
||||
html: {
|
||||
edit: "Editer en HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Noir",
|
||||
silver: "Gris clair",
|
||||
gray: "Gris",
|
||||
maroon: "Marron",
|
||||
red: "Rouge",
|
||||
purple: "Pourpre",
|
||||
green: "Vert",
|
||||
olive: "Olive",
|
||||
navy: "Bleu marine",
|
||||
blue: "Bleu",
|
||||
orange: "Orange"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.hr-HR.js
vendored
Normal file
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.hr-HR.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Croatian localisation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["hr-HR"] = {
|
||||
font_styles: {
|
||||
normal: "Normalan tekst",
|
||||
h1: "Naslov 1",
|
||||
h2: "Naslov 2",
|
||||
h3: "Naslov 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Podebljano",
|
||||
italic: "Nakrivljeno",
|
||||
underline: "Podcrtano"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Nesortirana lista",
|
||||
ordered: "Sortirana lista",
|
||||
outdent: "Izdubi",
|
||||
indent: "Udubi"
|
||||
},
|
||||
link: {
|
||||
insert: "Umetni poveznicu",
|
||||
cancel: "Otkaži"
|
||||
},
|
||||
image: {
|
||||
insert: "Umetni sliku",
|
||||
cancel: "Otkaži"
|
||||
},
|
||||
html: {
|
||||
edit: "Izmjeni HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Crna",
|
||||
silver: "Srebrna",
|
||||
gray: "Siva",
|
||||
maroon: "Kestenjasta",
|
||||
red: "Crvena",
|
||||
purple: "Ljubičasta",
|
||||
green: "Zelena",
|
||||
olive: "Maslinasta",
|
||||
navy: "Mornarska",
|
||||
blue: "Plava",
|
||||
orange: "Narandžasta"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
47
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.it-IT.js
vendored
Normal file
47
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.it-IT.js
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
/**
|
||||
* Italian translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["it-IT"] = {
|
||||
font_styles: {
|
||||
normal: "Testo normale",
|
||||
h1: "Titolo 1",
|
||||
h2: "Titolo 2"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Grassetto",
|
||||
italic: "Corsivo",
|
||||
underline: "Sottolineato"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Lista non ordinata",
|
||||
ordered: "Lista ordinata",
|
||||
outdent: "Elimina rientro",
|
||||
indent: "Aggiungi rientro"
|
||||
},
|
||||
link: {
|
||||
insert: "Inserisci link",
|
||||
cancel: "Annulla"
|
||||
},
|
||||
image: {
|
||||
insert: "Inserisci immagine",
|
||||
cancel: "Annulla"
|
||||
},
|
||||
html: {
|
||||
edit: "Modifica HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Nero",
|
||||
silver: "Argento",
|
||||
gray: "Grigio",
|
||||
maroon: "Marrone",
|
||||
red: "Rosso",
|
||||
purple: "Viola",
|
||||
green: "Verde",
|
||||
olive: "Oliva",
|
||||
navy: "Blu Marino",
|
||||
blue: "Blu",
|
||||
orange: "Arancio"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.ja-JP.js
vendored
Normal file
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.ja-JP.js
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
/**
|
||||
* Japanese translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["ja-JP"] = {
|
||||
font_styles: {
|
||||
normal: "通常の文字",
|
||||
h1: "見出し1",
|
||||
h2: "見出し2",
|
||||
h3: "見出し3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "太字",
|
||||
italic: "斜体",
|
||||
underline: "下線"
|
||||
},
|
||||
lists: {
|
||||
unordered: "点字リスト",
|
||||
ordered: "数字リスト",
|
||||
outdent: "左寄せ",
|
||||
indent: "右寄せ"
|
||||
},
|
||||
link: {
|
||||
insert: "リンクの挿入",
|
||||
cancel: "キャンセル"
|
||||
},
|
||||
image: {
|
||||
insert: "画像の挿入",
|
||||
cancel: "キャンセル"
|
||||
},
|
||||
html: {
|
||||
edit: "HTMLを編集"
|
||||
},
|
||||
colours: {
|
||||
black: "黒色",
|
||||
silver: "シルバー",
|
||||
gray: "グレー",
|
||||
maroon: "栗色",
|
||||
red: "赤色",
|
||||
purple: "紫色",
|
||||
green: "緑色",
|
||||
olive: "オリーブ",
|
||||
navy: "ネイビー",
|
||||
blue: "青色",
|
||||
orange: "オレンジ"
|
||||
}
|
||||
|
||||
};
|
||||
}(jQuery));
|
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.ko-KR.js
vendored
Normal file
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.ko-KR.js
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
/**
|
||||
* Korean translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["ko-KR"] = {
|
||||
font_styles: {
|
||||
normal: "일반",
|
||||
h1: "헤드라인 1",
|
||||
h2: "헤드라인 2",
|
||||
h3: "헤드라인 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "굵게",
|
||||
italic: "기울게",
|
||||
underline: "밑줄"
|
||||
},
|
||||
lists: {
|
||||
unordered: "기호목록",
|
||||
ordered: "숫자목록",
|
||||
outdent: "내어쓰기",
|
||||
indent: "들여쓰기"
|
||||
},
|
||||
link: {
|
||||
insert: "링크 삽입",
|
||||
cancel: "취소"
|
||||
},
|
||||
image: {
|
||||
insert: "이미지 삽입",
|
||||
cancel: "취소"
|
||||
},
|
||||
html: {
|
||||
edit: "HTML 편집"
|
||||
},
|
||||
colours: {
|
||||
black: "검은색",
|
||||
silver: "은색",
|
||||
gray: "회색",
|
||||
maroon: "고동색",
|
||||
red: "빨간색",
|
||||
purple: "보라색",
|
||||
green: "초록색",
|
||||
olive: "올리브",
|
||||
navy: "네이비",
|
||||
blue: "파란색",
|
||||
orange: "주황색"
|
||||
}
|
||||
|
||||
};
|
||||
}(jQuery));
|
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.lt-LT.js
vendored
Normal file
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.lt-LT.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Lithuanian translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["lt-LT"] = {
|
||||
font_styles: {
|
||||
normal: "Normalus",
|
||||
h1: "Antraštė 1",
|
||||
h2: "Antraštė 2",
|
||||
h3: "Antraštė 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Pastorintas",
|
||||
italic: "Kursyvas",
|
||||
underline: "Pabrauktas"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Suženklintas sąrašas",
|
||||
ordered: "Numeruotas sąrašas",
|
||||
outdent: "Padidinti įtrauką",
|
||||
indent: "Sumažinti įtrauką"
|
||||
},
|
||||
link: {
|
||||
insert: "Įterpti nuorodą",
|
||||
cancel: "Atšaukti"
|
||||
},
|
||||
image: {
|
||||
insert: "Įterpti atvaizdą",
|
||||
cancel: "Atšaukti"
|
||||
},
|
||||
html: {
|
||||
edit: "Redaguoti HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Juoda",
|
||||
silver: "Sidabrinė",
|
||||
gray: "Pilka",
|
||||
maroon: "Kaštoninė",
|
||||
red: "Raudona",
|
||||
purple: "Violetinė",
|
||||
green: "Žalia",
|
||||
olive: "Gelsvai žalia",
|
||||
navy: "Tamsiai mėlyna",
|
||||
blue: "Mėlyna",
|
||||
orange: "Oranžinė"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.mo-MD.js
vendored
Normal file
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.mo-MD.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Moldavian translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["mo-MD"] = {
|
||||
font_styles: {
|
||||
normal: "Normal",
|
||||
h1: "Titlu 1",
|
||||
h2: "Titlu 2"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Bold",
|
||||
italic: "Cursiv",
|
||||
underline: "Accentuat"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Neordonata",
|
||||
ordered: "Ordonata",
|
||||
outdent: "Margine",
|
||||
indent: "zimțuire"
|
||||
},
|
||||
link: {
|
||||
insert: "Indroduce link-ul",
|
||||
cancel: "Anula"
|
||||
},
|
||||
image: {
|
||||
insert: "Insera imagina",
|
||||
cancel: "Anula"
|
||||
},
|
||||
html: {
|
||||
edit: "Editare HTML"
|
||||
},
|
||||
|
||||
colours: {
|
||||
black: "Negru",
|
||||
silver: "Argint",
|
||||
gray: "Gri",
|
||||
maroon: "Castaniu",
|
||||
red: "Roșu",
|
||||
purple: "Violet",
|
||||
green: "Verde",
|
||||
olive: "Oliv",
|
||||
navy: "Marin",
|
||||
blue: "Albastru",
|
||||
orange: "Portocaliu"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.nb-NB.js
vendored
Normal file
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.nb-NB.js
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
/**
|
||||
* Norwegian translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["nb-NB"] = {
|
||||
font_styles: {
|
||||
normal: "Normal tekst",
|
||||
h1: "Tittel 1",
|
||||
h2: "Tittel 2",
|
||||
h3: "Tittel 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Fet",
|
||||
italic: "Kursiv",
|
||||
underline: "Understrekning"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Usortert",
|
||||
ordered: "Sortert",
|
||||
outdent: "Detabuler",
|
||||
indent: "Tabuler",
|
||||
indered: "Tabuler"
|
||||
},
|
||||
link: {
|
||||
insert: "Sett inn lenke",
|
||||
cancel: "Avbryt"
|
||||
},
|
||||
image: {
|
||||
insert: "Sett inn bilde",
|
||||
cancel: "Avbryt"
|
||||
},
|
||||
html: {
|
||||
edit: "Rediger HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Svart",
|
||||
silver: "Sølv",
|
||||
gray: "Grå",
|
||||
maroon: "Brun",
|
||||
red: "Rød",
|
||||
purple: "Lilla",
|
||||
green: "Grønn",
|
||||
olive: "Oliven",
|
||||
navy: "Marineblå",
|
||||
blue: "Blå",
|
||||
orange: "Oransj"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.nl-NL.js
vendored
Normal file
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.nl-NL.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Dutch translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["nl-NL"] = {
|
||||
font_styles: {
|
||||
normal: "Normale Tekst",
|
||||
h1: "Kop 1",
|
||||
h2: "Kop 2",
|
||||
h3: "Kop 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Vet",
|
||||
italic: "Cursief",
|
||||
underline: "Onderstrepen"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Ongeordende lijst",
|
||||
ordered: "Geordende lijst",
|
||||
outdent: "Inspringen verkleinen",
|
||||
indent: "Inspringen vergroten"
|
||||
},
|
||||
link: {
|
||||
insert: "Link invoegen",
|
||||
cancel: "Annuleren"
|
||||
},
|
||||
image: {
|
||||
insert: "Afbeelding invoegen",
|
||||
cancel: "Annuleren"
|
||||
},
|
||||
html: {
|
||||
edit: "HTML bewerken"
|
||||
},
|
||||
colours: {
|
||||
black: "Zwart",
|
||||
silver: "Zilver",
|
||||
gray: "Grijs",
|
||||
maroon: "Kastanjebruin",
|
||||
red: "Rood",
|
||||
purple: "Paars",
|
||||
green: "Groen",
|
||||
olive: "Olijfgroen",
|
||||
navy: "Donkerblauw",
|
||||
blue: "Blauw",
|
||||
orange: "Oranje"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.pl-PL.js
vendored
Normal file
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.pl-PL.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Polish translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["pl-PL"] = {
|
||||
font_styles: {
|
||||
normal: "Tekst podstawowy",
|
||||
h1: "Nagłówek 1",
|
||||
h2: "Nagłówek 2",
|
||||
h3: "Nagłówek 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Pogrubienie",
|
||||
italic: "Kursywa",
|
||||
underline: "Podkreślenie"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Lista wypunktowana",
|
||||
ordered: "Lista numerowana",
|
||||
outdent: "Zwiększ wcięcie",
|
||||
indent: "Zmniejsz wcięcie"
|
||||
},
|
||||
link: {
|
||||
insert: "Wstaw odnośnik",
|
||||
cancel: "Anuluj"
|
||||
},
|
||||
image: {
|
||||
insert: "Wstaw obrazek",
|
||||
cancel: "Anuluj"
|
||||
},
|
||||
html: {
|
||||
edit: "Edycja HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Czarny",
|
||||
silver: "Srebrny",
|
||||
gray: "Szary",
|
||||
maroon: "Kasztanowy",
|
||||
red: "Czerwony",
|
||||
purple: "Fioletowy",
|
||||
green: "Zielony",
|
||||
olive: "Oliwkowy",
|
||||
navy: "Granatowy",
|
||||
blue: "Niebieski",
|
||||
orange: "Pomarańczowy"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.pt-BR.js
vendored
Normal file
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.pt-BR.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Brazilian portuguese translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["pt-BR"] = {
|
||||
font_styles: {
|
||||
normal: "Texto normal",
|
||||
h1: "Título 1",
|
||||
h2: "Título 2",
|
||||
h3: "Título 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Negrito",
|
||||
italic: "Itálico",
|
||||
underline: "Sublinhado"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Lista",
|
||||
ordered: "Lista numerada",
|
||||
outdent: "Remover indentação",
|
||||
indent: "Indentar"
|
||||
},
|
||||
link: {
|
||||
insert: "Inserir link",
|
||||
cancel: "Cancelar"
|
||||
},
|
||||
image: {
|
||||
insert: "Inserir imagem",
|
||||
cancel: "Cancelar"
|
||||
},
|
||||
html: {
|
||||
edit: "Editar HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Preto",
|
||||
silver: "Prata",
|
||||
gray: "Cinza",
|
||||
maroon: "Marrom",
|
||||
red: "Vermelho",
|
||||
purple: "Roxo",
|
||||
green: "Verde",
|
||||
olive: "Oliva",
|
||||
navy: "Marinho",
|
||||
blue: "Azul",
|
||||
orange: "Laranja"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.ru-RU.js
vendored
Normal file
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.ru-RU.js
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
/**
|
||||
* Russian translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["ru-RU"] = {
|
||||
font_styles: {
|
||||
normal: "Обычный текст",
|
||||
h1: "Заголовок 1",
|
||||
h2: "Заголовок 2",
|
||||
h3: "Заголовок 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Полужирный",
|
||||
italic: "Курсив",
|
||||
underline: "Подчёркнутый"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Маркированный список",
|
||||
ordered: "Нумерованный список",
|
||||
outdent: "Уменьшить отступ",
|
||||
indent: "Увеличить отступ"
|
||||
},
|
||||
link: {
|
||||
insert: "Вставить ссылку",
|
||||
cancel: "Отмена"
|
||||
},
|
||||
image: {
|
||||
insert: "Вставить изображение",
|
||||
cancel: "Отмена"
|
||||
},
|
||||
html: {
|
||||
edit: "HTML код"
|
||||
},
|
||||
colours: {
|
||||
black: "Чёрный",
|
||||
silver: "Серебряный",
|
||||
gray: "Серый",
|
||||
maroon: "Коричневый",
|
||||
red: "Красный",
|
||||
purple: "Фиолетовый",
|
||||
green: "Зелёный",
|
||||
olive: "Оливковый",
|
||||
navy: "Тёмно-синий",
|
||||
blue: "Синий",
|
||||
orange: "Оранжевый"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
||||
|
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.sk-SK.js
vendored
Normal file
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.sk-SK.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Slovak translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["sk-SK"] = {
|
||||
font_styles: {
|
||||
normal: "Normálny text",
|
||||
h1: "Nadpis úrovne 1",
|
||||
h2: "Nadpis úrovne 2",
|
||||
h3: "Nadpis úrovne 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Tučné",
|
||||
italic: "Kurzíva",
|
||||
underline: "Podčiarknuté"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Neusporiadaný zoznam",
|
||||
ordered: "Číslovaný zoznam",
|
||||
outdent: "Zväčšiť odsadenie",
|
||||
indent: "Zmenšiť odsadenie"
|
||||
},
|
||||
link: {
|
||||
insert: "Vložiť odkaz",
|
||||
cancel: "Zrušiť"
|
||||
},
|
||||
image: {
|
||||
insert: "Vložiť obrázok",
|
||||
cancel: "Zrušiť"
|
||||
},
|
||||
html: {
|
||||
edit: "Editovať HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Čierna",
|
||||
silver: "Strieborná",
|
||||
gray: "Šedá",
|
||||
maroon: "Bordová",
|
||||
red: "Červená",
|
||||
purple: "Fialová",
|
||||
green: "Zelená",
|
||||
olive: "Olivová",
|
||||
navy: "Tmavomodrá",
|
||||
blue: "Modrá",
|
||||
orange: "Oranžová"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.sv-SE.js
vendored
Normal file
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.sv-SE.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Swedish translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["sv-SE"] = {
|
||||
font_styles: {
|
||||
normal: "Normal Text",
|
||||
h1: "Rubrik 1",
|
||||
h2: "Rubrik 2",
|
||||
h3: "Rubrik 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Fet",
|
||||
italic: "Kursiv",
|
||||
underline: "Understruken"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Osorterad lista",
|
||||
ordered: "Sorterad lista",
|
||||
outdent: "Minska indrag",
|
||||
indent: "Öka indrag"
|
||||
},
|
||||
link: {
|
||||
insert: "Lägg till länk",
|
||||
cancel: "Avbryt"
|
||||
},
|
||||
image: {
|
||||
insert: "Lägg till Bild",
|
||||
cancel: "Avbryt"
|
||||
},
|
||||
html: {
|
||||
edit: "Redigera HTML"
|
||||
},
|
||||
colours: {
|
||||
black: "Svart",
|
||||
silver: "Silver",
|
||||
gray: "Grå",
|
||||
maroon: "Kastaniebrun",
|
||||
red: "Röd",
|
||||
purple: "Lila",
|
||||
green: "Grön",
|
||||
olive: "Olivgrön",
|
||||
navy: "Marinblå",
|
||||
blue: "Blå",
|
||||
orange: "Orange"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.tr-TR.js
vendored
Normal file
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.tr-TR.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Turkish translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["tr-TR"] = {
|
||||
font_styles: {
|
||||
normal: "Normal",
|
||||
h1: "Başlık 1",
|
||||
h2: "Başlık 2",
|
||||
h3: "Başlık 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Kalın",
|
||||
italic: "İtalik",
|
||||
underline: "Altı Çizili"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Sırasız Liste",
|
||||
ordered: "Sıralı Liste",
|
||||
outdent: "Girintiyi Azalt",
|
||||
indent: "Girintiyi Arttır"
|
||||
},
|
||||
link: {
|
||||
insert: "Ekle",
|
||||
cancel: "Vazgeç"
|
||||
},
|
||||
image: {
|
||||
insert: "Ekle",
|
||||
cancel: "Vazgeç"
|
||||
},
|
||||
html: {
|
||||
edit: "HTML Göster"
|
||||
},
|
||||
colours: {
|
||||
black: "Siyah",
|
||||
silver: "Gümüş",
|
||||
gray: "Gri",
|
||||
maroon: "Vişne Çürüğü",
|
||||
red: "Kırmızı",
|
||||
purple: "Pembe",
|
||||
green: "Yeşil",
|
||||
olive: "Zeytin Yeşili",
|
||||
navy: "Lacivert",
|
||||
blue: "Mavi",
|
||||
orange: "Turuncu"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.ua-UA.js
vendored
Normal file
49
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.ua-UA.js
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
/**
|
||||
* Ukrainian translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["ua-UA"] = {
|
||||
font_styles: {
|
||||
normal: "Звичайний текст",
|
||||
h1: "Заголовок 1",
|
||||
h2: "Заголовок 2",
|
||||
h3: "Заголовок 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "Напівжирний",
|
||||
italic: "Курсив",
|
||||
underline: "Підкреслений"
|
||||
},
|
||||
lists: {
|
||||
unordered: "Маркований список",
|
||||
ordered: "Нумерований список",
|
||||
outdent: "Зменшити відступ",
|
||||
indent: "Збільшити відступ"
|
||||
},
|
||||
link: {
|
||||
insert: "Вставити посилання",
|
||||
cancel: "Відміна"
|
||||
},
|
||||
image: {
|
||||
insert: "Вставити зображення",
|
||||
cancel: "Відміна"
|
||||
},
|
||||
html: {
|
||||
edit: "HTML код"
|
||||
},
|
||||
colours: {
|
||||
black: "Чорний",
|
||||
silver: "Срібний",
|
||||
gray: "Сірий",
|
||||
maroon: "Коричневий",
|
||||
red: "Червоний",
|
||||
purple: "Фіолетовий",
|
||||
green: "Зелений",
|
||||
olive: "Оливковий",
|
||||
navy: "Темно-синій",
|
||||
blue: "Синій",
|
||||
orange: "Помаранчевий"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
||||
|
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.zh-CN.js
vendored
Normal file
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.zh-CN.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Chinese translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["zh-CN"] = {
|
||||
font_styles: {
|
||||
normal: "正文",
|
||||
h1: "标题 1",
|
||||
h2: "标题 2",
|
||||
h3: "标题 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "粗体",
|
||||
italic: "斜体",
|
||||
underline: "下划线"
|
||||
},
|
||||
lists: {
|
||||
unordered: "项目符号",
|
||||
ordered: "编号",
|
||||
outdent: "减少缩进",
|
||||
indent: "增加缩进"
|
||||
},
|
||||
link: {
|
||||
insert: "插入链接",
|
||||
cancel: "取消"
|
||||
},
|
||||
image: {
|
||||
insert: "插入图片",
|
||||
cancel: "取消"
|
||||
},
|
||||
html: {
|
||||
edit: "HTML代码"
|
||||
},
|
||||
colours: {
|
||||
black: "黑色",
|
||||
silver: "银色",
|
||||
gray: "灰色",
|
||||
maroon: "赤红色",
|
||||
red: "红色",
|
||||
purple: "紫色",
|
||||
green: "绿色",
|
||||
olive: "橄榄色",
|
||||
navy: "深蓝色",
|
||||
blue: "蓝色",
|
||||
orange: "橙色"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.zh-TW.js
vendored
Normal file
48
app/static/global/plugins/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.zh-TW.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Chinese Traditional translation for bootstrap-wysihtml5
|
||||
*/
|
||||
(function($){
|
||||
$.fn.wysihtml5.locale["zh-TW"] = {
|
||||
font_styles: {
|
||||
normal: "內文",
|
||||
h1: "標題 1",
|
||||
h2: "標題 2",
|
||||
h3: "標題 3"
|
||||
},
|
||||
emphasis: {
|
||||
bold: "粗體",
|
||||
italic: "斜體",
|
||||
underline: "底線"
|
||||
},
|
||||
lists: {
|
||||
unordered: "項目符號",
|
||||
ordered: "編號列表",
|
||||
outdent: "減少縮排",
|
||||
indent: "增加縮排"
|
||||
},
|
||||
link: {
|
||||
insert: "插入超連結",
|
||||
cancel: "取消"
|
||||
},
|
||||
image: {
|
||||
insert: "插入圖片連結",
|
||||
cancel: "取消"
|
||||
},
|
||||
html: {
|
||||
edit: "HTML原始碼"
|
||||
},
|
||||
colours: {
|
||||
black: "黑色",
|
||||
silver: "銀色",
|
||||
gray: "灰色",
|
||||
maroon: "栗色",
|
||||
red: "红色",
|
||||
purple: "紫色",
|
||||
green: "綠色",
|
||||
olive: "橄欖色",
|
||||
navy: "深藍色",
|
||||
blue: "藍色",
|
||||
orange: "橙色"
|
||||
}
|
||||
};
|
||||
}(jQuery));
|
9521
app/static/global/plugins/bootstrap-wysihtml5/wysihtml5-0.3.0.js
Normal file
9521
app/static/global/plugins/bootstrap-wysihtml5/wysihtml5-0.3.0.js
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,86 @@
|
||||
/*used for inbox compose, reply forms*/
|
||||
.inbox-editor {
|
||||
padding: 10px;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
/*used for inbox reply form, for the message blockquote on reply*/
|
||||
blockquote {
|
||||
margin-top: 20px;
|
||||
margin-left: 10px;
|
||||
margin-bottom: 20px;
|
||||
border-left: 1px solid #666 !important;
|
||||
padding-left: 5px;
|
||||
display: block;
|
||||
opacity: 0.7;
|
||||
filter: alpha(opacity=70);
|
||||
}
|
||||
|
||||
/* used by the wysiwyg*/
|
||||
.wysiwyg-color-black {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.wysiwyg-color-silver {
|
||||
color: silver;
|
||||
}
|
||||
|
||||
.wysiwyg-color-gray {
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.wysiwyg-color-white {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.wysiwyg-color-maroon {
|
||||
color: maroon;
|
||||
}
|
||||
|
||||
.wysiwyg-color-red {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.wysiwyg-color-purple {
|
||||
color: purple;
|
||||
}
|
||||
|
||||
.wysiwyg-color-fuchsia {
|
||||
color: fuchsia;
|
||||
}
|
||||
|
||||
.wysiwyg-color-green {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.wysiwyg-color-lime {
|
||||
color: lime;
|
||||
}
|
||||
|
||||
.wysiwyg-color-olive {
|
||||
color: olive;
|
||||
}
|
||||
|
||||
.wysiwyg-color-yellow {
|
||||
color: yellow;
|
||||
}
|
||||
|
||||
.wysiwyg-color-navy {
|
||||
color: navy;
|
||||
}
|
||||
|
||||
.wysiwyg-color-blue {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
.wysiwyg-color-teal {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.wysiwyg-color-aqua {
|
||||
color: aqua;
|
||||
}
|
||||
|
||||
.wysiwyg-color-orange {
|
||||
color: orange;
|
||||
}
|
Reference in New Issue
Block a user