Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
1
public/javascripts/jstoolbar/jstoolbar-textile.min.js
vendored
Normal file
1
public/javascripts/jstoolbar/jstoolbar-textile.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
395
public/javascripts/jstoolbar/jstoolbar.js
Normal file
395
public/javascripts/jstoolbar/jstoolbar.js
Normal file
|
@ -0,0 +1,395 @@
|
|||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* This file is part of DotClear.
|
||||
* Copyright (c) 2005 Nicolas Martin & Olivier Meunier and contributors. All
|
||||
* rights reserved.
|
||||
*
|
||||
* DotClear is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* DotClear is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with DotClear; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* ***** END LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
/* Modified by JP LANG for textile formatting */
|
||||
|
||||
function jsToolBar(textarea) {
|
||||
if (!document.createElement) { return; }
|
||||
|
||||
if (!textarea) { return; }
|
||||
|
||||
if ((typeof(document["selection"]) == "undefined")
|
||||
&& (typeof(textarea["setSelectionRange"]) == "undefined")) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.textarea = textarea;
|
||||
|
||||
this.editor = document.createElement('div');
|
||||
this.editor.className = 'jstEditor';
|
||||
|
||||
this.textarea.parentNode.insertBefore(this.editor,this.textarea);
|
||||
this.editor.appendChild(this.textarea);
|
||||
|
||||
this.toolbar = document.createElement("div");
|
||||
this.toolbar.className = 'jstElements';
|
||||
this.editor.parentNode.insertBefore(this.toolbar,this.editor);
|
||||
|
||||
// Dragable resizing
|
||||
if (this.editor.addEventListener && navigator.appVersion.match(/\bMSIE\b/))
|
||||
{
|
||||
this.handle = document.createElement('div');
|
||||
this.handle.className = 'jstHandle';
|
||||
var dragStart = this.resizeDragStart;
|
||||
var This = this;
|
||||
this.handle.addEventListener('mousedown',function(event) { dragStart.call(This,event); },false);
|
||||
// fix memory leak in Firefox (bug #241518)
|
||||
window.addEventListener('unload',function() {
|
||||
var del = This.handle.parentNode.removeChild(This.handle);
|
||||
delete(This.handle);
|
||||
},false);
|
||||
|
||||
this.editor.parentNode.insertBefore(this.handle,this.editor.nextSibling);
|
||||
}
|
||||
|
||||
this.context = null;
|
||||
this.toolNodes = {}; // lorsque la toolbar est dessinée , cet objet est garni
|
||||
// de raccourcis vers les éléments DOM correspondants aux outils.
|
||||
}
|
||||
|
||||
function jsButton(title, fn, scope, className) {
|
||||
if(typeof jsToolBar.strings == 'undefined') {
|
||||
this.title = title || null;
|
||||
} else {
|
||||
this.title = jsToolBar.strings[title] || title || null;
|
||||
}
|
||||
this.fn = fn || function(){};
|
||||
this.scope = scope || null;
|
||||
this.className = className || null;
|
||||
}
|
||||
jsButton.prototype.draw = function() {
|
||||
if (!this.scope) return null;
|
||||
|
||||
var button = document.createElement('button');
|
||||
button.setAttribute('type','button');
|
||||
button.tabIndex = 200;
|
||||
if (this.className) button.className = this.className;
|
||||
button.title = this.title;
|
||||
var span = document.createElement('span');
|
||||
span.appendChild(document.createTextNode(this.title));
|
||||
button.appendChild(span);
|
||||
|
||||
if (this.icon != undefined) {
|
||||
button.style.backgroundImage = 'url('+this.icon+')';
|
||||
}
|
||||
if (typeof(this.fn) == 'function') {
|
||||
var This = this;
|
||||
button.onclick = function() { try { This.fn.apply(This.scope, arguments) } catch (e) {} return false; };
|
||||
}
|
||||
return button;
|
||||
}
|
||||
|
||||
function jsSpace(id) {
|
||||
this.id = id || null;
|
||||
this.width = null;
|
||||
}
|
||||
jsSpace.prototype.draw = function() {
|
||||
var span = document.createElement('span');
|
||||
if (this.id) span.id = this.id;
|
||||
span.appendChild(document.createTextNode(String.fromCharCode(160)));
|
||||
span.className = 'jstSpacer';
|
||||
if (this.width) span.style.marginRight = this.width+'px';
|
||||
|
||||
return span;
|
||||
}
|
||||
|
||||
function jsCombo(title, options, scope, fn, className) {
|
||||
this.title = title || null;
|
||||
this.options = options || null;
|
||||
this.scope = scope || null;
|
||||
this.fn = fn || function(){};
|
||||
this.className = className || null;
|
||||
}
|
||||
jsCombo.prototype.draw = function() {
|
||||
if (!this.scope || !this.options) return null;
|
||||
|
||||
var select = document.createElement('select');
|
||||
if (this.className) select.className = className;
|
||||
select.title = this.title;
|
||||
|
||||
for (var o in this.options) {
|
||||
//var opt = this.options[o];
|
||||
var option = document.createElement('option');
|
||||
option.value = o;
|
||||
option.appendChild(document.createTextNode(this.options[o]));
|
||||
select.appendChild(option);
|
||||
}
|
||||
|
||||
var This = this;
|
||||
select.onchange = function() {
|
||||
try {
|
||||
This.fn.call(This.scope, this.value);
|
||||
} catch (e) { alert(e); }
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return select;
|
||||
}
|
||||
|
||||
|
||||
jsToolBar.prototype = {
|
||||
base_url: '',
|
||||
mode: 'wiki',
|
||||
elements: {},
|
||||
help_link: '',
|
||||
|
||||
getMode: function() {
|
||||
return this.mode;
|
||||
},
|
||||
|
||||
setMode: function(mode) {
|
||||
this.mode = mode || 'wiki';
|
||||
},
|
||||
|
||||
switchMode: function(mode) {
|
||||
mode = mode || 'wiki';
|
||||
this.draw(mode);
|
||||
},
|
||||
|
||||
setHelpLink: function(link) {
|
||||
this.help_link = link;
|
||||
},
|
||||
|
||||
button: function(toolName) {
|
||||
var tool = this.elements[toolName];
|
||||
if (typeof tool.fn[this.mode] != 'function') return null;
|
||||
var b = new jsButton(tool.title, tool.fn[this.mode], this, 'jstb_'+toolName);
|
||||
if (tool.icon != undefined) b.icon = tool.icon;
|
||||
return b;
|
||||
},
|
||||
space: function(toolName) {
|
||||
var tool = new jsSpace(toolName)
|
||||
if (this.elements[toolName].width !== undefined)
|
||||
tool.width = this.elements[toolName].width;
|
||||
return tool;
|
||||
},
|
||||
combo: function(toolName) {
|
||||
var tool = this.elements[toolName];
|
||||
var length = tool[this.mode].list.length;
|
||||
|
||||
if (typeof tool[this.mode].fn != 'function' || length == 0) {
|
||||
return null;
|
||||
} else {
|
||||
var options = {};
|
||||
for (var i=0; i < length; i++) {
|
||||
var opt = tool[this.mode].list[i];
|
||||
options[opt] = tool.options[opt];
|
||||
}
|
||||
return new jsCombo(tool.title, options, this, tool[this.mode].fn);
|
||||
}
|
||||
},
|
||||
draw: function(mode) {
|
||||
this.setMode(mode);
|
||||
|
||||
// Empty toolbar
|
||||
while (this.toolbar.hasChildNodes()) {
|
||||
this.toolbar.removeChild(this.toolbar.firstChild)
|
||||
}
|
||||
this.toolNodes = {}; // vide les raccourcis DOM/**/
|
||||
|
||||
// Draw toolbar elements
|
||||
var b, tool, newTool;
|
||||
|
||||
for (var i in this.elements) {
|
||||
b = this.elements[i];
|
||||
|
||||
var disabled =
|
||||
b.type == undefined || b.type == ''
|
||||
|| (b.disabled != undefined && b.disabled)
|
||||
|| (b.context != undefined && b.context != null && b.context != this.context);
|
||||
|
||||
if (!disabled && typeof this[b.type] == 'function') {
|
||||
tool = this[b.type](i);
|
||||
if (tool) newTool = tool.draw();
|
||||
if (newTool) {
|
||||
this.toolNodes[i] = newTool; //mémorise l'accès DOM pour usage éventuel ultérieur
|
||||
this.toolbar.appendChild(newTool);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
singleTag: function(stag,etag) {
|
||||
stag = stag || null;
|
||||
etag = etag || stag;
|
||||
|
||||
if (!stag || !etag) { return; }
|
||||
|
||||
this.encloseSelection(stag,etag);
|
||||
},
|
||||
|
||||
encloseLineSelection: function(prefix, suffix, fn) {
|
||||
this.textarea.focus();
|
||||
|
||||
prefix = prefix || '';
|
||||
suffix = suffix || '';
|
||||
|
||||
var start, end, sel, scrollPos, subst, res;
|
||||
|
||||
if (typeof(document["selection"]) != "undefined") {
|
||||
sel = document.selection.createRange().text;
|
||||
} else if (typeof(this.textarea["setSelectionRange"]) != "undefined") {
|
||||
start = this.textarea.selectionStart;
|
||||
end = this.textarea.selectionEnd;
|
||||
scrollPos = this.textarea.scrollTop;
|
||||
// go to the start of the line
|
||||
start = this.textarea.value.substring(0, start).replace(/[^\r\n]*$/g,'').length;
|
||||
// go to the end of the line
|
||||
end = this.textarea.value.length - this.textarea.value.substring(end, this.textarea.value.length).replace(/^[^\r\n]*/, '').length;
|
||||
sel = this.textarea.value.substring(start, end);
|
||||
}
|
||||
|
||||
if (sel.match(/ $/)) { // exclude ending space char, if any
|
||||
sel = sel.substring(0, sel.length - 1);
|
||||
suffix = suffix + " ";
|
||||
}
|
||||
|
||||
if (typeof(fn) == 'function') {
|
||||
res = (sel) ? fn.call(this,sel) : fn('');
|
||||
} else {
|
||||
res = (sel) ? sel : '';
|
||||
}
|
||||
|
||||
subst = prefix + res + suffix;
|
||||
|
||||
if (typeof(document["selection"]) != "undefined") {
|
||||
document.selection.createRange().text = subst;
|
||||
var range = this.textarea.createTextRange();
|
||||
range.collapse(false);
|
||||
range.move('character', -suffix.length);
|
||||
range.select();
|
||||
} else if (typeof(this.textarea["setSelectionRange"]) != "undefined") {
|
||||
this.textarea.value = this.textarea.value.substring(0, start) + subst +
|
||||
this.textarea.value.substring(end);
|
||||
if (sel) {
|
||||
this.textarea.setSelectionRange(start + subst.length, start + subst.length);
|
||||
} else {
|
||||
this.textarea.setSelectionRange(start + prefix.length, start + prefix.length);
|
||||
}
|
||||
this.textarea.scrollTop = scrollPos;
|
||||
}
|
||||
},
|
||||
|
||||
encloseSelection: function(prefix, suffix, fn) {
|
||||
this.textarea.focus();
|
||||
|
||||
prefix = prefix || '';
|
||||
suffix = suffix || '';
|
||||
|
||||
var start, end, sel, scrollPos, subst, res;
|
||||
|
||||
if (typeof(document["selection"]) != "undefined") {
|
||||
sel = document.selection.createRange().text;
|
||||
} else if (typeof(this.textarea["setSelectionRange"]) != "undefined") {
|
||||
start = this.textarea.selectionStart;
|
||||
end = this.textarea.selectionEnd;
|
||||
scrollPos = this.textarea.scrollTop;
|
||||
sel = this.textarea.value.substring(start, end);
|
||||
}
|
||||
|
||||
if (sel.match(/ $/)) { // exclude ending space char, if any
|
||||
sel = sel.substring(0, sel.length - 1);
|
||||
suffix = suffix + " ";
|
||||
}
|
||||
|
||||
if (typeof(fn) == 'function') {
|
||||
res = (sel) ? fn.call(this,sel) : fn('');
|
||||
} else {
|
||||
res = (sel) ? sel : '';
|
||||
}
|
||||
|
||||
subst = prefix + res + suffix;
|
||||
|
||||
if (typeof(document["selection"]) != "undefined") {
|
||||
document.selection.createRange().text = subst;
|
||||
var range = this.textarea.createTextRange();
|
||||
range.collapse(false);
|
||||
range.move('character', -suffix.length);
|
||||
range.select();
|
||||
// this.textarea.caretPos -= suffix.length;
|
||||
} else if (typeof(this.textarea["setSelectionRange"]) != "undefined") {
|
||||
this.textarea.value = this.textarea.value.substring(0, start) + subst +
|
||||
this.textarea.value.substring(end);
|
||||
if (sel) {
|
||||
this.textarea.setSelectionRange(start + subst.length, start + subst.length);
|
||||
} else {
|
||||
this.textarea.setSelectionRange(start + prefix.length, start + prefix.length);
|
||||
}
|
||||
this.textarea.scrollTop = scrollPos;
|
||||
}
|
||||
},
|
||||
|
||||
stripBaseURL: function(url) {
|
||||
if (this.base_url != '') {
|
||||
var pos = url.indexOf(this.base_url);
|
||||
if (pos == 0) {
|
||||
url = url.substr(this.base_url.length);
|
||||
}
|
||||
}
|
||||
|
||||
return url;
|
||||
}
|
||||
};
|
||||
|
||||
/** Resizer
|
||||
-------------------------------------------------------- */
|
||||
jsToolBar.prototype.resizeSetStartH = function() {
|
||||
this.dragStartH = this.textarea.offsetHeight + 0;
|
||||
};
|
||||
jsToolBar.prototype.resizeDragStart = function(event) {
|
||||
var This = this;
|
||||
this.dragStartY = event.clientY;
|
||||
this.resizeSetStartH();
|
||||
document.addEventListener('mousemove', this.dragMoveHdlr=function(event){This.resizeDragMove(event);}, false);
|
||||
document.addEventListener('mouseup', this.dragStopHdlr=function(event){This.resizeDragStop(event);}, false);
|
||||
};
|
||||
|
||||
jsToolBar.prototype.resizeDragMove = function(event) {
|
||||
this.textarea.style.height = (this.dragStartH+event.clientY-this.dragStartY)+'px';
|
||||
};
|
||||
|
||||
jsToolBar.prototype.resizeDragStop = function(event) {
|
||||
document.removeEventListener('mousemove', this.dragMoveHdlr, false);
|
||||
document.removeEventListener('mouseup', this.dragStopHdlr, false);
|
||||
};
|
||||
|
||||
/* Code highlighting menu */
|
||||
jsToolBar.prototype.precodeMenu = function(fn){
|
||||
var codeRayLanguages = ["c", "clojure", "cpp", "css", "delphi", "diff", "erb", "go", "groovy", "haml", "html", "java", "javascript", "json", "lua", "php", "python", "ruby", "sass", "sql", "taskpaper", "text", "xml", "yaml"];
|
||||
var menu = $("<ul style='position:absolute;'></ul>");
|
||||
for (var i = 0; i < codeRayLanguages.length; i++) {
|
||||
$("<li></li>").text(codeRayLanguages[i]).appendTo(menu).mousedown(function(){
|
||||
fn($(this).text());
|
||||
});
|
||||
}
|
||||
$("body").append(menu);
|
||||
menu.menu().width(150).position({
|
||||
my: "left top",
|
||||
at: "left bottom",
|
||||
of: this.toolNodes['precode']
|
||||
});
|
||||
$(document).on("mousedown", function() {
|
||||
menu.remove();
|
||||
});
|
||||
return false;
|
||||
};
|
17
public/javascripts/jstoolbar/lang/jstoolbar-ar.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-ar.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'قوي';
|
||||
jsToolBar.strings['Italic'] = 'مائل';
|
||||
jsToolBar.strings['Underline'] = 'تسطير';
|
||||
jsToolBar.strings['Deleted'] = 'محذوف';
|
||||
jsToolBar.strings['Code'] = 'رمز ضمني';
|
||||
jsToolBar.strings['Heading 1'] = 'عنوان 1';
|
||||
jsToolBar.strings['Heading 2'] = 'عنوان 2';
|
||||
jsToolBar.strings['Heading 3'] = 'عنوان 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'قائمة غير مرتبة';
|
||||
jsToolBar.strings['Ordered list'] = 'قائمة مرتبة';
|
||||
jsToolBar.strings['Quote'] = 'اقتباس';
|
||||
jsToolBar.strings['Unquote'] = 'إزالة الاقتباس';
|
||||
jsToolBar.strings['Preformatted text'] = 'نص مسبق التنسيق';
|
||||
jsToolBar.strings['Wiki link'] = 'رابط الى صفحة ويكي';
|
||||
jsToolBar.strings['Image'] = 'صورة';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-az.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-az.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Strong';
|
||||
jsToolBar.strings['Italic'] = 'Italic';
|
||||
jsToolBar.strings['Underline'] = 'Underline';
|
||||
jsToolBar.strings['Deleted'] = 'Deleted';
|
||||
jsToolBar.strings['Code'] = 'Inline Code';
|
||||
jsToolBar.strings['Heading 1'] = 'Heading 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Heading 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Heading 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Unordered list';
|
||||
jsToolBar.strings['Ordered list'] = 'Ordered list';
|
||||
jsToolBar.strings['Quote'] = 'Quote';
|
||||
jsToolBar.strings['Unquote'] = 'Remove Quote';
|
||||
jsToolBar.strings['Preformatted text'] = 'Preformatted text';
|
||||
jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
|
||||
jsToolBar.strings['Image'] = 'Image';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-bg.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-bg.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Получер';
|
||||
jsToolBar.strings['Italic'] = 'Курсив';
|
||||
jsToolBar.strings['Underline'] = 'Подчертан';
|
||||
jsToolBar.strings['Deleted'] = 'Изтрит';
|
||||
jsToolBar.strings['Code'] = 'Вграден код';
|
||||
jsToolBar.strings['Heading 1'] = 'Заглавие 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Заглавие 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Заглавие 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Вграден код';
|
||||
jsToolBar.strings['Unordered list'] = 'Неподреден списък';
|
||||
jsToolBar.strings['Ordered list'] = 'Подреден списък';
|
||||
jsToolBar.strings['Quote'] = 'Цитат';
|
||||
jsToolBar.strings['Unquote'] = 'Премахване на цитат';
|
||||
jsToolBar.strings['Preformatted text'] = 'Форматиран текст';
|
||||
jsToolBar.strings['Wiki link'] = 'Връзка до Wiki страница';
|
||||
jsToolBar.strings['Image'] = 'Изображение';
|
15
public/javascripts/jstoolbar/lang/jstoolbar-bs.js
Normal file
15
public/javascripts/jstoolbar/lang/jstoolbar-bs.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Strong';
|
||||
jsToolBar.strings['Italic'] = 'Italic';
|
||||
jsToolBar.strings['Underline'] = 'Underline';
|
||||
jsToolBar.strings['Deleted'] = 'Deleted';
|
||||
jsToolBar.strings['Code'] = 'Inline Code';
|
||||
jsToolBar.strings['Heading 1'] = 'Heading 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Heading 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Heading 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Unordered list';
|
||||
jsToolBar.strings['Ordered list'] = 'Ordered list';
|
||||
jsToolBar.strings['Preformatted text'] = 'Preformatted text';
|
||||
jsToolBar.strings['Wiki link'] = 'Link na Wiki stranicu';
|
||||
jsToolBar.strings['Image'] = 'Slika';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-ca.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-ca.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Negreta';
|
||||
jsToolBar.strings['Italic'] = 'Cursiva';
|
||||
jsToolBar.strings['Underline'] = 'Subratllat';
|
||||
jsToolBar.strings['Deleted'] = 'Barrat';
|
||||
jsToolBar.strings['Code'] = 'Codi en línia';
|
||||
jsToolBar.strings['Heading 1'] = 'Encapçalament 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Encapçalament 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Encapçalament 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Llista sense ordre';
|
||||
jsToolBar.strings['Ordered list'] = 'Llista ordenada';
|
||||
jsToolBar.strings['Quote'] = 'Cometes';
|
||||
jsToolBar.strings['Unquote'] = 'Sense cometes';
|
||||
jsToolBar.strings['Preformatted text'] = 'Text formatat';
|
||||
jsToolBar.strings['Wiki link'] = 'Enllaça a una pàgina Wiki';
|
||||
jsToolBar.strings['Image'] = 'Imatge';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-cs.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-cs.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Tučné';
|
||||
jsToolBar.strings['Italic'] = 'Kurzíva';
|
||||
jsToolBar.strings['Underline'] = 'Podtržené';
|
||||
jsToolBar.strings['Deleted'] = 'Přeškrtnuté ';
|
||||
jsToolBar.strings['Code'] = 'Zobrazení kódu';
|
||||
jsToolBar.strings['Heading 1'] = 'Záhlaví 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Záhlaví 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Záhlaví 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Seznam';
|
||||
jsToolBar.strings['Ordered list'] = 'Uspořádaný seznam';
|
||||
jsToolBar.strings['Quote'] = 'Quote';
|
||||
jsToolBar.strings['Unquote'] = 'Remove Quote';
|
||||
jsToolBar.strings['Preformatted text'] = 'Předformátovaný text';
|
||||
jsToolBar.strings['Wiki link'] = 'Vložit odkaz na Wiki stránku';
|
||||
jsToolBar.strings['Image'] = 'Vložit obrázek';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-da.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-da.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Fed';
|
||||
jsToolBar.strings['Italic'] = 'Kursiv';
|
||||
jsToolBar.strings['Underline'] = 'Understreget';
|
||||
jsToolBar.strings['Deleted'] = 'Slettet';
|
||||
jsToolBar.strings['Code'] = 'Inline-kode';
|
||||
jsToolBar.strings['Heading 1'] = 'Overskrift 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Overskrift 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Overskrift 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Unummereret liste';
|
||||
jsToolBar.strings['Ordered list'] = 'Nummereret liste';
|
||||
jsToolBar.strings['Quote'] = 'Citér';
|
||||
jsToolBar.strings['Unquote'] = 'Fjern citér';
|
||||
jsToolBar.strings['Preformatted text'] = 'Præformateret tekst';
|
||||
jsToolBar.strings['Wiki link'] = 'Link til en wiki-side';
|
||||
jsToolBar.strings['Image'] = 'Billede';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-de.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-de.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Fett';
|
||||
jsToolBar.strings['Italic'] = 'Kursiv';
|
||||
jsToolBar.strings['Underline'] = 'Unterstrichen';
|
||||
jsToolBar.strings['Deleted'] = 'Durchgestrichen';
|
||||
jsToolBar.strings['Code'] = 'Quelltext';
|
||||
jsToolBar.strings['Heading 1'] = 'Überschrift 1. Ordnung';
|
||||
jsToolBar.strings['Heading 2'] = 'Überschrift 2. Ordnung';
|
||||
jsToolBar.strings['Heading 3'] = 'Überschrift 3. Ordnung';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Aufzählungsliste';
|
||||
jsToolBar.strings['Ordered list'] = 'Nummerierte Liste';
|
||||
jsToolBar.strings['Quote'] = 'Quote';
|
||||
jsToolBar.strings['Unquote'] = 'Remove Quote';
|
||||
jsToolBar.strings['Preformatted text'] = 'Präformatierter Text';
|
||||
jsToolBar.strings['Wiki link'] = 'Verweis (Link) zu einer Wiki-Seite';
|
||||
jsToolBar.strings['Image'] = 'Grafik';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-en-gb.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-en-gb.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Strong';
|
||||
jsToolBar.strings['Italic'] = 'Italic';
|
||||
jsToolBar.strings['Underline'] = 'Underline';
|
||||
jsToolBar.strings['Deleted'] = 'Deleted';
|
||||
jsToolBar.strings['Code'] = 'Inline Code';
|
||||
jsToolBar.strings['Heading 1'] = 'Heading 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Heading 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Heading 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Unordered list';
|
||||
jsToolBar.strings['Ordered list'] = 'Ordered list';
|
||||
jsToolBar.strings['Quote'] = 'Quote';
|
||||
jsToolBar.strings['Unquote'] = 'Remove Quote';
|
||||
jsToolBar.strings['Preformatted text'] = 'Preformatted text';
|
||||
jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
|
||||
jsToolBar.strings['Image'] = 'Image';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-en.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-en.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Strong';
|
||||
jsToolBar.strings['Italic'] = 'Italic';
|
||||
jsToolBar.strings['Underline'] = 'Underline';
|
||||
jsToolBar.strings['Deleted'] = 'Deleted';
|
||||
jsToolBar.strings['Code'] = 'Inline Code';
|
||||
jsToolBar.strings['Heading 1'] = 'Heading 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Heading 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Heading 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Unordered list';
|
||||
jsToolBar.strings['Ordered list'] = 'Ordered list';
|
||||
jsToolBar.strings['Quote'] = 'Quote';
|
||||
jsToolBar.strings['Unquote'] = 'Remove Quote';
|
||||
jsToolBar.strings['Preformatted text'] = 'Preformatted text';
|
||||
jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
|
||||
jsToolBar.strings['Image'] = 'Image';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-es-pa.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-es-pa.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Negrita';
|
||||
jsToolBar.strings['Italic'] = 'Itálica';
|
||||
jsToolBar.strings['Underline'] = 'Subrayado';
|
||||
jsToolBar.strings['Deleted'] = 'Tachado';
|
||||
jsToolBar.strings['Code'] = 'Código fuente';
|
||||
jsToolBar.strings['Heading 1'] = 'Encabezado 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Encabezado 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Encabezado 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Código resaltado';
|
||||
jsToolBar.strings['Unordered list'] = 'Lista sin ordenar';
|
||||
jsToolBar.strings['Ordered list'] = 'Lista ordenada';
|
||||
jsToolBar.strings['Quote'] = 'Citar';
|
||||
jsToolBar.strings['Unquote'] = 'Quitar cita';
|
||||
jsToolBar.strings['Preformatted text'] = 'Texto con formato';
|
||||
jsToolBar.strings['Wiki link'] = 'Enlace a página Wiki';
|
||||
jsToolBar.strings['Image'] = 'Imagen';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-es.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-es.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Negrita';
|
||||
jsToolBar.strings['Italic'] = 'Itálica';
|
||||
jsToolBar.strings['Underline'] = 'Subrayado';
|
||||
jsToolBar.strings['Deleted'] = 'Tachado';
|
||||
jsToolBar.strings['Code'] = 'Código fuente';
|
||||
jsToolBar.strings['Heading 1'] = 'Encabezado 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Encabezado 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Encabezado 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Código resaltado';
|
||||
jsToolBar.strings['Unordered list'] = 'Lista sin ordenar';
|
||||
jsToolBar.strings['Ordered list'] = 'Lista ordenada';
|
||||
jsToolBar.strings['Quote'] = 'Citar';
|
||||
jsToolBar.strings['Unquote'] = 'Quitar cita';
|
||||
jsToolBar.strings['Preformatted text'] = 'Texto con formato';
|
||||
jsToolBar.strings['Wiki link'] = 'Enlace a página Wiki';
|
||||
jsToolBar.strings['Image'] = 'Imagen';
|
34
public/javascripts/jstoolbar/lang/jstoolbar-et.js
Normal file
34
public/javascripts/jstoolbar/lang/jstoolbar-et.js
Normal file
|
@ -0,0 +1,34 @@
|
|||
/*
|
||||
Copyright (C) 2012 Kaitseministeerium
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Rõhutatult';
|
||||
jsToolBar.strings['Italic'] = 'Kaldkirjas';
|
||||
jsToolBar.strings['Underline'] = 'Allakriipsutatult';
|
||||
jsToolBar.strings['Deleted'] = 'Läbikriipsutatult';
|
||||
jsToolBar.strings['Code'] = 'Koodiblokk';
|
||||
jsToolBar.strings['Heading 1'] = '1. taseme pealkiri';
|
||||
jsToolBar.strings['Heading 2'] = '2. taseme pealkiri';
|
||||
jsToolBar.strings['Heading 3'] = '3. taseme pealkiri';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Täpitud nimekiri';
|
||||
jsToolBar.strings['Ordered list'] = 'Nummerdatud nimekiri';
|
||||
jsToolBar.strings['Quote'] = 'Tsitaat: aste juurde';
|
||||
jsToolBar.strings['Unquote'] = 'Tsitaat: aste madalamaks';
|
||||
jsToolBar.strings['Preformatted text'] = 'Eelvormindatud tekst';
|
||||
jsToolBar.strings['Wiki link'] = 'Vikilehe link';
|
||||
jsToolBar.strings['Image'] = 'Pilt';
|
21
public/javascripts/jstoolbar/lang/jstoolbar-eu.js
Normal file
21
public/javascripts/jstoolbar/lang/jstoolbar-eu.js
Normal file
|
@ -0,0 +1,21 @@
|
|||
// jsToolBar EU language
|
||||
// Author: Ales Zabala Alava (Shagi), <shagi@gisa-elkartea.org>
|
||||
// 2010-01-25
|
||||
// Distributed under the same terms as the jsToolBar itself.
|
||||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Lodia';
|
||||
jsToolBar.strings['Italic'] = 'Etzana';
|
||||
jsToolBar.strings['Underline'] = 'Azpimarra';
|
||||
jsToolBar.strings['Deleted'] = 'Ezabatuta';
|
||||
jsToolBar.strings['Code'] = 'Inline Code';
|
||||
jsToolBar.strings['Heading 1'] = '1 Goiburua';
|
||||
jsToolBar.strings['Heading 2'] = '2 Goiburua';
|
||||
jsToolBar.strings['Heading 3'] = '3 Goiburua';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Ordenatu gabeko zerrenda';
|
||||
jsToolBar.strings['Ordered list'] = 'Ordenatutako zerrenda';
|
||||
jsToolBar.strings['Quote'] = 'Aipamena';
|
||||
jsToolBar.strings['Unquote'] = 'Aipamena kendu';
|
||||
jsToolBar.strings['Preformatted text'] = 'Aurrez formateatutako testua';
|
||||
jsToolBar.strings['Wiki link'] = 'Wiki orri baterako esteka';
|
||||
jsToolBar.strings['Image'] = 'Irudia';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-fa.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-fa.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'پررنگ';
|
||||
jsToolBar.strings['Italic'] = 'کج';
|
||||
jsToolBar.strings['Underline'] = 'زیرخط';
|
||||
jsToolBar.strings['Deleted'] = 'برداشته شده';
|
||||
jsToolBar.strings['Code'] = 'کد درون خطی';
|
||||
jsToolBar.strings['Heading 1'] = 'سربرگ ۱';
|
||||
jsToolBar.strings['Heading 2'] = 'سربرگ ۲';
|
||||
jsToolBar.strings['Heading 3'] = 'سربرگ ۳';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'فهرست بدون شماره';
|
||||
jsToolBar.strings['Ordered list'] = 'فهرست با شماره';
|
||||
jsToolBar.strings['Quote'] = 'تو بردن';
|
||||
jsToolBar.strings['Unquote'] = 'بیرون آوردن';
|
||||
jsToolBar.strings['Preformatted text'] = 'نوشته قالب بندی شده';
|
||||
jsToolBar.strings['Wiki link'] = 'پیوند به برگ ویکی';
|
||||
jsToolBar.strings['Image'] = 'عکس';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-fi.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-fi.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Lihavoitu';
|
||||
jsToolBar.strings['Italic'] = 'Kursivoitu';
|
||||
jsToolBar.strings['Underline'] = 'Alleviivattu';
|
||||
jsToolBar.strings['Deleted'] = 'Yliviivattu';
|
||||
jsToolBar.strings['Code'] = 'Koodi näkymä';
|
||||
jsToolBar.strings['Heading 1'] = 'Otsikko 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Otsikko 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Otsikko 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Järjestämätön lista';
|
||||
jsToolBar.strings['Ordered list'] = 'Järjestetty lista';
|
||||
jsToolBar.strings['Quote'] = 'Quote';
|
||||
jsToolBar.strings['Unquote'] = 'Remove Quote';
|
||||
jsToolBar.strings['Preformatted text'] = 'Ennaltamuotoiltu teksti';
|
||||
jsToolBar.strings['Wiki link'] = 'Linkki Wiki sivulle';
|
||||
jsToolBar.strings['Image'] = 'Kuva';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-fr.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-fr.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Gras';
|
||||
jsToolBar.strings['Italic'] = 'Italique';
|
||||
jsToolBar.strings['Underline'] = 'Souligné';
|
||||
jsToolBar.strings['Deleted'] = 'Rayé';
|
||||
jsToolBar.strings['Code'] = 'Code en ligne';
|
||||
jsToolBar.strings['Heading 1'] = 'Titre niveau 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Titre niveau 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Titre niveau 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Code colorisé';
|
||||
jsToolBar.strings['Unordered list'] = 'Liste à puces';
|
||||
jsToolBar.strings['Ordered list'] = 'Liste numérotée';
|
||||
jsToolBar.strings['Quote'] = 'Indenté';
|
||||
jsToolBar.strings['Unquote'] = 'Supprimer indentation';
|
||||
jsToolBar.strings['Preformatted text'] = 'Texte préformaté';
|
||||
jsToolBar.strings['Wiki link'] = 'Lien vers une page Wiki';
|
||||
jsToolBar.strings['Image'] = 'Image';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-gl.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-gl.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Negriña';
|
||||
jsToolBar.strings['Italic'] = 'Itálica';
|
||||
jsToolBar.strings['Underline'] = 'Suliñado';
|
||||
jsToolBar.strings['Deleted'] = 'Tachado';
|
||||
jsToolBar.strings['Code'] = 'Código fonte';
|
||||
jsToolBar.strings['Heading 1'] = 'Encabezado 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Encabezado 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Encabezado 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Lista sen ordenar';
|
||||
jsToolBar.strings['Ordered list'] = 'Lista ordenada';
|
||||
jsToolBar.strings['Quote'] = 'Citar';
|
||||
jsToolBar.strings['Unquote'] = 'Quitar cita';
|
||||
jsToolBar.strings['Preformatted text'] = 'Texto con formato';
|
||||
jsToolBar.strings['Wiki link'] = 'Enlace a páxina Wiki';
|
||||
jsToolBar.strings['Image'] = 'Imaxe';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-he.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-he.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Strong';
|
||||
jsToolBar.strings['Italic'] = 'Italic';
|
||||
jsToolBar.strings['Underline'] = 'Underline';
|
||||
jsToolBar.strings['Deleted'] = 'Deleted';
|
||||
jsToolBar.strings['Code'] = 'Inline Code';
|
||||
jsToolBar.strings['Heading 1'] = 'Heading 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Heading 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Heading 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Unordered list';
|
||||
jsToolBar.strings['Ordered list'] = 'Ordered list';
|
||||
jsToolBar.strings['Quote'] = 'Quote';
|
||||
jsToolBar.strings['Unquote'] = 'Remove Quote';
|
||||
jsToolBar.strings['Preformatted text'] = 'Preformatted text';
|
||||
jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
|
||||
jsToolBar.strings['Image'] = 'Image';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-hr.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-hr.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Podebljano';
|
||||
jsToolBar.strings['Italic'] = 'Kurziv';
|
||||
jsToolBar.strings['Underline'] = 'Podcrtano';
|
||||
jsToolBar.strings['Deleted'] = 'Obrisano';
|
||||
jsToolBar.strings['Code'] = 'Inline Code';
|
||||
jsToolBar.strings['Heading 1'] = 'Naslov 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Naslov 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Naslov 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Graficke oznake';
|
||||
jsToolBar.strings['Ordered list'] = 'Numeriranje';
|
||||
jsToolBar.strings['Quote'] = 'Citat';
|
||||
jsToolBar.strings['Unquote'] = 'Ukloni citat';
|
||||
jsToolBar.strings['Preformatted text'] = 'Izveden tekst';
|
||||
jsToolBar.strings['Wiki link'] = 'Link na Wiki stranicu';
|
||||
jsToolBar.strings['Image'] = 'Slika';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-hu.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-hu.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Félkövér';
|
||||
jsToolBar.strings['Italic'] = 'Dőlt';
|
||||
jsToolBar.strings['Underline'] = 'Aláhúzott';
|
||||
jsToolBar.strings['Deleted'] = 'Törölt';
|
||||
jsToolBar.strings['Code'] = 'Kód sorok';
|
||||
jsToolBar.strings['Heading 1'] = 'Fejléc 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Fejléc 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Fejléc 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Felsorolás';
|
||||
jsToolBar.strings['Ordered list'] = 'Számozott lista';
|
||||
jsToolBar.strings['Quote'] = 'Quote';
|
||||
jsToolBar.strings['Unquote'] = 'Remove Quote';
|
||||
jsToolBar.strings['Preformatted text'] = 'Előreformázott szöveg';
|
||||
jsToolBar.strings['Wiki link'] = 'Link egy Wiki oldalra';
|
||||
jsToolBar.strings['Image'] = 'Kép';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-id.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-id.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Tebal';
|
||||
jsToolBar.strings['Italic'] = 'Miring';
|
||||
jsToolBar.strings['Underline'] = 'Garis bawah';
|
||||
jsToolBar.strings['Deleted'] = 'Dihapus';
|
||||
jsToolBar.strings['Code'] = 'Inline Code';
|
||||
jsToolBar.strings['Heading 1'] = 'Judul 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Judul 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Judul 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Daftar tak terurut';
|
||||
jsToolBar.strings['Ordered list'] = 'Daftar terurut';
|
||||
jsToolBar.strings['Quote'] = 'Kutipan';
|
||||
jsToolBar.strings['Unquote'] = 'Hapus kutipan';
|
||||
jsToolBar.strings['Preformatted text'] = 'Teks terformat';
|
||||
jsToolBar.strings['Wiki link'] = 'Tautkan ke halaman wiki';
|
||||
jsToolBar.strings['Image'] = 'Gambar';
|
20
public/javascripts/jstoolbar/lang/jstoolbar-it.js
Normal file
20
public/javascripts/jstoolbar/lang/jstoolbar-it.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
// Italian translation
|
||||
// by Diego Pierotto (ita.translations@tiscali.it)
|
||||
|
||||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Grassetto';
|
||||
jsToolBar.strings['Italic'] = 'Corsivo';
|
||||
jsToolBar.strings['Underline'] = 'Sottolineato';
|
||||
jsToolBar.strings['Deleted'] = 'Barrato';
|
||||
jsToolBar.strings['Code'] = 'Codice sorgente';
|
||||
jsToolBar.strings['Heading 1'] = 'Titolo 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Titolo 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Titolo 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Elenco puntato';
|
||||
jsToolBar.strings['Ordered list'] = 'Elenco numerato';
|
||||
jsToolBar.strings['Quote'] = 'Aumenta rientro';
|
||||
jsToolBar.strings['Unquote'] = 'Riduci rientro';
|
||||
jsToolBar.strings['Preformatted text'] = 'Testo preformattato';
|
||||
jsToolBar.strings['Wiki link'] = 'Collegamento a pagina Wiki';
|
||||
jsToolBar.strings['Image'] = 'Immagine';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-ja.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-ja.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = '強調';
|
||||
jsToolBar.strings['Italic'] = '斜体';
|
||||
jsToolBar.strings['Underline'] = '下線';
|
||||
jsToolBar.strings['Deleted'] = '取り消し線';
|
||||
jsToolBar.strings['Code'] = 'コード';
|
||||
jsToolBar.strings['Heading 1'] = '見出し 1';
|
||||
jsToolBar.strings['Heading 2'] = '見出し 2';
|
||||
jsToolBar.strings['Heading 3'] = '見出し 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'コードハイライト';
|
||||
jsToolBar.strings['Unordered list'] = '順不同リスト';
|
||||
jsToolBar.strings['Ordered list'] = '番号つきリスト';
|
||||
jsToolBar.strings['Quote'] = '引用';
|
||||
jsToolBar.strings['Unquote'] = '引用解除';
|
||||
jsToolBar.strings['Preformatted text'] = '整形済みテキスト';
|
||||
jsToolBar.strings['Wiki link'] = 'Wikiページへのリンク';
|
||||
jsToolBar.strings['Image'] = '画像';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-ko.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-ko.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = '굵게';
|
||||
jsToolBar.strings['Italic'] = '기울임';
|
||||
jsToolBar.strings['Underline'] = '밑줄';
|
||||
jsToolBar.strings['Deleted'] = '취소선';
|
||||
jsToolBar.strings['Code'] = '코드';
|
||||
jsToolBar.strings['Heading 1'] = '제목 1';
|
||||
jsToolBar.strings['Heading 2'] = '제목 2';
|
||||
jsToolBar.strings['Heading 3'] = '제목 3';
|
||||
jsToolBar.strings['Highlighted code'] = '색상화한 코드';
|
||||
jsToolBar.strings['Unordered list'] = '글머리 기호';
|
||||
jsToolBar.strings['Ordered list'] = '번호 매기기';
|
||||
jsToolBar.strings['Quote'] = '인용';
|
||||
jsToolBar.strings['Unquote'] = '인용 취소';
|
||||
jsToolBar.strings['Preformatted text'] = '있는 그대로 표현 (Preformatted text)';
|
||||
jsToolBar.strings['Wiki link'] = 'Wiki 페이지에 연결';
|
||||
jsToolBar.strings['Image'] = '그림';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-lt.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-lt.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Pastorinti';
|
||||
jsToolBar.strings['Italic'] = 'Italic';
|
||||
jsToolBar.strings['Underline'] = 'Pabraukti';
|
||||
jsToolBar.strings['Deleted'] = 'Užbraukti';
|
||||
jsToolBar.strings['Code'] = 'Kodas';
|
||||
jsToolBar.strings['Heading 1'] = 'Heading 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Heading 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Heading 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Nenumeruotas sąrašas';
|
||||
jsToolBar.strings['Ordered list'] = 'Numeruotas sąrašas';
|
||||
jsToolBar.strings['Quote'] = 'Cituoti';
|
||||
jsToolBar.strings['Unquote'] = 'Pašalinti citavimą';
|
||||
jsToolBar.strings['Preformatted text'] = 'Preformatuotas tekstas';
|
||||
jsToolBar.strings['Wiki link'] = 'Nuoroda į Wiki puslapį';
|
||||
jsToolBar.strings['Image'] = 'Paveikslas';
|
18
public/javascripts/jstoolbar/lang/jstoolbar-lv.js
Normal file
18
public/javascripts/jstoolbar/lang/jstoolbar-lv.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
// translated by Dzintars Bergs (dzintars.bergs@gmail.com)
|
||||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Treknraksts';
|
||||
jsToolBar.strings['Italic'] = 'Slīpraksts';
|
||||
jsToolBar.strings['Underline'] = 'Pasvītrojums';
|
||||
jsToolBar.strings['Deleted'] = 'Dzēsts';
|
||||
jsToolBar.strings['Code'] = 'Iekļauts kods';
|
||||
jsToolBar.strings['Heading 1'] = 'Virsraksts 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Virsraksts 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Virsraksts 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Nesakārtots saraksts';
|
||||
jsToolBar.strings['Ordered list'] = 'Sakārtots saraksts';
|
||||
jsToolBar.strings['Quote'] = 'Citēt';
|
||||
jsToolBar.strings['Unquote'] = 'Noņemt citātu';
|
||||
jsToolBar.strings['Preformatted text'] = 'Iepriekš formatēts teksts';
|
||||
jsToolBar.strings['Wiki link'] = 'Saite uz Wiki lapu';
|
||||
jsToolBar.strings['Image'] = 'Attēls';
|
18
public/javascripts/jstoolbar/lang/jstoolbar-mk.js
Normal file
18
public/javascripts/jstoolbar/lang/jstoolbar-mk.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Задебелен';
|
||||
jsToolBar.strings['Italic'] = 'Закосен';
|
||||
jsToolBar.strings['Underline'] = 'Подвлечен';
|
||||
jsToolBar.strings['Deleted'] = 'Прецртан';
|
||||
jsToolBar.strings['Code'] = 'Код';
|
||||
jsToolBar.strings['Heading 1'] = 'Заглавје 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Заглавје 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Заглавје 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Неподредена листа';
|
||||
jsToolBar.strings['Ordered list'] = 'Подредена листа';
|
||||
jsToolBar.strings['Quote'] = 'Цитат';
|
||||
jsToolBar.strings['Unquote'] = 'Отстрани цитат';
|
||||
jsToolBar.strings['Preformatted text'] = 'Форматиран текст';
|
||||
jsToolBar.strings['Wiki link'] = 'Врска до вики страна';
|
||||
jsToolBar.strings['Image'] = 'Слика';
|
||||
|
17
public/javascripts/jstoolbar/lang/jstoolbar-mn.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-mn.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Бүдүүн';
|
||||
jsToolBar.strings['Italic'] = 'Налуу';
|
||||
jsToolBar.strings['Underline'] = 'Доогуур зураас';
|
||||
jsToolBar.strings['Deleted'] = 'Устгагдсан';
|
||||
jsToolBar.strings['Code'] = 'Програмын код';
|
||||
jsToolBar.strings['Heading 1'] = 'Гарчиг 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Гарчиг 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Гарчиг 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Эрэмбэгүй жагсаалт';
|
||||
jsToolBar.strings['Ordered list'] = 'Эрэмбэтэй жагсаалт';
|
||||
jsToolBar.strings['Quote'] = 'Ишлэл';
|
||||
jsToolBar.strings['Unquote'] = 'Ишлэлийг устгах';
|
||||
jsToolBar.strings['Preformatted text'] = 'Өмнө нь хэлбэржсэн текст';
|
||||
jsToolBar.strings['Wiki link'] = 'Вики хуудас руу холбох';
|
||||
jsToolBar.strings['Image'] = 'Зураг';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-nl.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-nl.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Vetgedrukt';
|
||||
jsToolBar.strings['Italic'] = 'Cursief';
|
||||
jsToolBar.strings['Underline'] = 'Onderstreept';
|
||||
jsToolBar.strings['Deleted'] = 'Verwijderd';
|
||||
jsToolBar.strings['Code'] = 'Computercode';
|
||||
jsToolBar.strings['Heading 1'] = 'Hoofding 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Hoofding 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Hoofding 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Gemarkeerde code';
|
||||
jsToolBar.strings['Unordered list'] = 'Ongeordende lijst';
|
||||
jsToolBar.strings['Ordered list'] = 'Geordende lijst';
|
||||
jsToolBar.strings['Quote'] = 'Citaat';
|
||||
jsToolBar.strings['Unquote'] = 'Citaat verwijderen';
|
||||
jsToolBar.strings['Preformatted text'] = 'Vooropgemaakte tekst';
|
||||
jsToolBar.strings['Wiki link'] = 'Link naar een Wikipagina';
|
||||
jsToolBar.strings['Image'] = 'Afbeelding';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-no.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-no.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Fet';
|
||||
jsToolBar.strings['Italic'] = 'Kursiv';
|
||||
jsToolBar.strings['Underline'] = 'Understreking';
|
||||
jsToolBar.strings['Deleted'] = 'Slettet';
|
||||
jsToolBar.strings['Code'] = 'Kode';
|
||||
jsToolBar.strings['Heading 1'] = 'Overskrift 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Overskrift 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Overskrift 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Punktliste';
|
||||
jsToolBar.strings['Ordered list'] = 'Nummerert liste';
|
||||
jsToolBar.strings['Quote'] = 'Sitat';
|
||||
jsToolBar.strings['Unquote'] = 'Avslutt sitat';
|
||||
jsToolBar.strings['Preformatted text'] = 'Preformatert tekst';
|
||||
jsToolBar.strings['Wiki link'] = 'Lenke til Wiki-side';
|
||||
jsToolBar.strings['Image'] = 'Bilde';
|
18
public/javascripts/jstoolbar/lang/jstoolbar-pl.js
Normal file
18
public/javascripts/jstoolbar/lang/jstoolbar-pl.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
// Keep this line in order to avoid problems with Windows Notepad UTF-8 EF-BB-BF idea...
|
||||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Pogrubienie';
|
||||
jsToolBar.strings['Italic'] = 'Kursywa';
|
||||
jsToolBar.strings['Underline'] = 'Podkreślenie';
|
||||
jsToolBar.strings['Deleted'] = 'Usunięte';
|
||||
jsToolBar.strings['Code'] = 'Wstawka kodu';
|
||||
jsToolBar.strings['Heading 1'] = 'Nagłowek 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Nagłówek 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Nagłówek 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Nieposortowana lista';
|
||||
jsToolBar.strings['Ordered list'] = 'Posortowana lista';
|
||||
jsToolBar.strings['Quote'] = 'Cytat';
|
||||
jsToolBar.strings['Unquote'] = 'Usuń cytat';
|
||||
jsToolBar.strings['Preformatted text'] = 'Sformatowany tekst';
|
||||
jsToolBar.strings['Wiki link'] = 'Odnośnik do strony Wiki';
|
||||
jsToolBar.strings['Image'] = 'Obraz';
|
19
public/javascripts/jstoolbar/lang/jstoolbar-pt-br.js
Normal file
19
public/javascripts/jstoolbar/lang/jstoolbar-pt-br.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
// Translated by: Alexandre da Silva <simpsomboy@gmail.com>
|
||||
|
||||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Negrito';
|
||||
jsToolBar.strings['Italic'] = 'Itálico';
|
||||
jsToolBar.strings['Underline'] = 'Sublinhado';
|
||||
jsToolBar.strings['Deleted'] = 'Excluído';
|
||||
jsToolBar.strings['Code'] = 'Código Inline';
|
||||
jsToolBar.strings['Heading 1'] = 'Cabeçalho 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Cabeçalho 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Cabeçalho 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Lista não ordenada';
|
||||
jsToolBar.strings['Ordered list'] = 'Lista ordenada';
|
||||
jsToolBar.strings['Quote'] = 'Quote';
|
||||
jsToolBar.strings['Unquote'] = 'Remove Quote';
|
||||
jsToolBar.strings['Preformatted text'] = 'Texto pré-formatado';
|
||||
jsToolBar.strings['Wiki link'] = 'Link para uma página Wiki';
|
||||
jsToolBar.strings['Image'] = 'Imagem';
|
18
public/javascripts/jstoolbar/lang/jstoolbar-pt.js
Normal file
18
public/javascripts/jstoolbar/lang/jstoolbar-pt.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
// Translated by: Pedro Araújo <phcrva19@hotmail.com>
|
||||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Negrito';
|
||||
jsToolBar.strings['Italic'] = 'Itálico';
|
||||
jsToolBar.strings['Underline'] = 'Sublinhado';
|
||||
jsToolBar.strings['Deleted'] = 'Apagado';
|
||||
jsToolBar.strings['Code'] = 'Código Inline';
|
||||
jsToolBar.strings['Heading 1'] = 'Cabeçalho 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Cabeçalho 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Cabeçalho 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Lista não ordenada';
|
||||
jsToolBar.strings['Ordered list'] = 'Lista ordenada';
|
||||
jsToolBar.strings['Quote'] = 'Citação';
|
||||
jsToolBar.strings['Unquote'] = 'Remover citação';
|
||||
jsToolBar.strings['Preformatted text'] = 'Texto pré-formatado';
|
||||
jsToolBar.strings['Wiki link'] = 'Link para uma página da Wiki';
|
||||
jsToolBar.strings['Image'] = 'Imagem';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-ro.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-ro.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Bold';
|
||||
jsToolBar.strings['Italic'] = 'Italic';
|
||||
jsToolBar.strings['Underline'] = 'Subliniat';
|
||||
jsToolBar.strings['Deleted'] = 'Șters';
|
||||
jsToolBar.strings['Code'] = 'Fragment de cod';
|
||||
jsToolBar.strings['Heading 1'] = 'Heading 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Heading 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Heading 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Listă pe puncte';
|
||||
jsToolBar.strings['Ordered list'] = 'Listă ordonată';
|
||||
jsToolBar.strings['Quote'] = 'Citează';
|
||||
jsToolBar.strings['Unquote'] = 'Fără citat';
|
||||
jsToolBar.strings['Preformatted text'] = 'Text preformatat';
|
||||
jsToolBar.strings['Wiki link'] = 'Trimitere către o pagină wiki';
|
||||
jsToolBar.strings['Image'] = 'Imagine';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-ru.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-ru.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Жирный';
|
||||
jsToolBar.strings['Italic'] = 'Курсив';
|
||||
jsToolBar.strings['Underline'] = 'Подчеркнутый';
|
||||
jsToolBar.strings['Deleted'] = 'Зачеркнутый';
|
||||
jsToolBar.strings['Code'] = 'Вставка кода';
|
||||
jsToolBar.strings['Heading 1'] = 'Заголовок 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Заголовок 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Заголовок 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Маркированный список';
|
||||
jsToolBar.strings['Ordered list'] = 'Нумерованный список';
|
||||
jsToolBar.strings['Quote'] = 'Цитата';
|
||||
jsToolBar.strings['Unquote'] = 'Удалить цитату';
|
||||
jsToolBar.strings['Preformatted text'] = 'Заранее форматированный текст';
|
||||
jsToolBar.strings['Wiki link'] = 'Ссылка на страницу в Wiki';
|
||||
jsToolBar.strings['Image'] = 'Вставка изображения';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-sk.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-sk.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Tučné';
|
||||
jsToolBar.strings['Italic'] = 'Kurzíva';
|
||||
jsToolBar.strings['Underline'] = 'Podčiarknuté';
|
||||
jsToolBar.strings['Deleted'] = 'Preškrtnuté';
|
||||
jsToolBar.strings['Code'] = 'Zobrazenie kódu';
|
||||
jsToolBar.strings['Heading 1'] = 'Nadpis 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Nadpis 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Nadpis 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Odrážkový zoznam';
|
||||
jsToolBar.strings['Ordered list'] = 'Číslovaný zoznam';
|
||||
jsToolBar.strings['Quote'] = 'Odsadenie';
|
||||
jsToolBar.strings['Unquote'] = 'Zrušiť odsadenie';
|
||||
jsToolBar.strings['Preformatted text'] = 'Predformátovaný text';
|
||||
jsToolBar.strings['Wiki link'] = 'Odkaz na wikistránku';
|
||||
jsToolBar.strings['Image'] = 'Obrázok';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-sl.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-sl.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Krepko';
|
||||
jsToolBar.strings['Italic'] = 'Poševno';
|
||||
jsToolBar.strings['Underline'] = 'Podčrtano';
|
||||
jsToolBar.strings['Deleted'] = 'Izbrisano';
|
||||
jsToolBar.strings['Code'] = 'Koda med vrsticami';
|
||||
jsToolBar.strings['Heading 1'] = 'Naslov 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Naslov 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Naslov 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Neurejen seznam';
|
||||
jsToolBar.strings['Ordered list'] = 'Urejen seznam';
|
||||
jsToolBar.strings['Quote'] = 'Citat';
|
||||
jsToolBar.strings['Unquote'] = 'Odstrani citat';
|
||||
jsToolBar.strings['Preformatted text'] = 'Predoblikovano besedilo';
|
||||
jsToolBar.strings['Wiki link'] = 'Povezava na Wiki stran';
|
||||
jsToolBar.strings['Image'] = 'Slika';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-sq.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-sq.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Strong';
|
||||
jsToolBar.strings['Italic'] = 'Italic';
|
||||
jsToolBar.strings['Underline'] = 'Underline';
|
||||
jsToolBar.strings['Deleted'] = 'Deleted';
|
||||
jsToolBar.strings['Code'] = 'Inline Code';
|
||||
jsToolBar.strings['Heading 1'] = 'Heading 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Heading 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Heading 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Unordered list';
|
||||
jsToolBar.strings['Ordered list'] = 'Ordered list';
|
||||
jsToolBar.strings['Quote'] = 'Quote';
|
||||
jsToolBar.strings['Unquote'] = 'Remove Quote';
|
||||
jsToolBar.strings['Preformatted text'] = 'Preformatted text';
|
||||
jsToolBar.strings['Wiki link'] = 'Link to a Wiki page';
|
||||
jsToolBar.strings['Image'] = 'Image';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-sr-yu.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-sr-yu.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Podebljano';
|
||||
jsToolBar.strings['Italic'] = 'Kurziv';
|
||||
jsToolBar.strings['Underline'] = 'Podvučeno';
|
||||
jsToolBar.strings['Deleted'] = 'Obrisano';
|
||||
jsToolBar.strings['Code'] = 'Ugrađeni kôd';
|
||||
jsToolBar.strings['Heading 1'] = 'Naslov 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Naslov 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Naslov 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Lista nabrajanja';
|
||||
jsToolBar.strings['Ordered list'] = 'Uređena lista';
|
||||
jsToolBar.strings['Quote'] = 'Pod navodnicima';
|
||||
jsToolBar.strings['Unquote'] = 'Ukloni navodnike';
|
||||
jsToolBar.strings['Preformatted text'] = 'Prethodno formatiran tekst';
|
||||
jsToolBar.strings['Wiki link'] = 'Veza prema Wiki strani';
|
||||
jsToolBar.strings['Image'] = 'Slika';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-sr.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-sr.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Подебљано';
|
||||
jsToolBar.strings['Italic'] = 'Курзив';
|
||||
jsToolBar.strings['Underline'] = 'Подвучено';
|
||||
jsToolBar.strings['Deleted'] = 'Обрисано';
|
||||
jsToolBar.strings['Code'] = 'Уграђени кôд';
|
||||
jsToolBar.strings['Heading 1'] = 'Наслов 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Наслов 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Наслов 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Листа набрајања';
|
||||
jsToolBar.strings['Ordered list'] = 'Уређена листа';
|
||||
jsToolBar.strings['Quote'] = 'Под наводницима';
|
||||
jsToolBar.strings['Unquote'] = 'Уклони наводнике';
|
||||
jsToolBar.strings['Preformatted text'] = 'Претходно форматиран текст';
|
||||
jsToolBar.strings['Wiki link'] = 'Веза према Wiki страни';
|
||||
jsToolBar.strings['Image'] = 'Слика';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-sv.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-sv.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Fet';
|
||||
jsToolBar.strings['Italic'] = 'Kursiv';
|
||||
jsToolBar.strings['Underline'] = 'Understruken';
|
||||
jsToolBar.strings['Deleted'] = 'Genomstruken';
|
||||
jsToolBar.strings['Code'] = 'Kod';
|
||||
jsToolBar.strings['Heading 1'] = 'Rubrik 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Rubrik 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Rubrik 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Osorterad lista';
|
||||
jsToolBar.strings['Ordered list'] = 'Sorterad lista';
|
||||
jsToolBar.strings['Quote'] = 'Citat';
|
||||
jsToolBar.strings['Unquote'] = 'Ta bort citat';
|
||||
jsToolBar.strings['Preformatted text'] = 'Förformaterad text';
|
||||
jsToolBar.strings['Wiki link'] = 'Länk till en wikisida';
|
||||
jsToolBar.strings['Image'] = 'Bild';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-th.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-th.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'หนา';
|
||||
jsToolBar.strings['Italic'] = 'เอียง';
|
||||
jsToolBar.strings['Underline'] = 'ขีดเส้นใต้';
|
||||
jsToolBar.strings['Deleted'] = 'ขีดฆ่า';
|
||||
jsToolBar.strings['Code'] = 'โค๊ดโปรแกรม';
|
||||
jsToolBar.strings['Heading 1'] = 'หัวข้อ 1';
|
||||
jsToolBar.strings['Heading 2'] = 'หัวข้อ 2';
|
||||
jsToolBar.strings['Heading 3'] = 'หัวข้อ 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'รายการ';
|
||||
jsToolBar.strings['Ordered list'] = 'ลำดับเลข';
|
||||
jsToolBar.strings['Quote'] = 'Quote';
|
||||
jsToolBar.strings['Unquote'] = 'Remove Quote';
|
||||
jsToolBar.strings['Preformatted text'] = 'รูปแบบข้อความคงที่';
|
||||
jsToolBar.strings['Wiki link'] = 'เชื่อมโยงไปหน้า Wiki อื่น';
|
||||
jsToolBar.strings['Image'] = 'รูปภาพ';
|
15
public/javascripts/jstoolbar/lang/jstoolbar-tr.js
Normal file
15
public/javascripts/jstoolbar/lang/jstoolbar-tr.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Kalın';
|
||||
jsToolBar.strings['Italic'] = 'İtalik';
|
||||
jsToolBar.strings['Underline'] = 'Altı çizgili';
|
||||
jsToolBar.strings['Deleted'] = 'Silinmiş';
|
||||
jsToolBar.strings['Code'] = 'Satır içi kod';
|
||||
jsToolBar.strings['Heading 1'] = 'Başlık 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Başlık 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Başlık 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Sırasız liste';
|
||||
jsToolBar.strings['Ordered list'] = 'Sıralı liste';
|
||||
jsToolBar.strings['Preformatted text'] = 'Preformatted text';
|
||||
jsToolBar.strings['Wiki link'] = 'Wiki sayfasına bağlantı';
|
||||
jsToolBar.strings['Image'] = 'Resim';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-uk.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-uk.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Жирний';
|
||||
jsToolBar.strings['Italic'] = 'Курсив';
|
||||
jsToolBar.strings['Underline'] = 'Підкреслений';
|
||||
jsToolBar.strings['Deleted'] = 'Закреслений';
|
||||
jsToolBar.strings['Code'] = 'Інлайн код';
|
||||
jsToolBar.strings['Heading 1'] = 'Заголовок 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Заголовок 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Заголовок 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Виділений код';
|
||||
jsToolBar.strings['Unordered list'] = 'Ненумерованний список';
|
||||
jsToolBar.strings['Ordered list'] = 'Нумерований список';
|
||||
jsToolBar.strings['Quote'] = 'Цитування';
|
||||
jsToolBar.strings['Unquote'] = 'Видалити цитування';
|
||||
jsToolBar.strings['Preformatted text'] = 'Попередньо відформатований текст';
|
||||
jsToolBar.strings['Wiki link'] = 'Посилання на сторінку Wiki';
|
||||
jsToolBar.strings['Image'] = 'Зображення';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-vi.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-vi.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = 'Đậm';
|
||||
jsToolBar.strings['Italic'] = 'Nghiêng';
|
||||
jsToolBar.strings['Underline'] = 'Gạch chân';
|
||||
jsToolBar.strings['Deleted'] = 'Xóa';
|
||||
jsToolBar.strings['Code'] = 'Mã chung dòng';
|
||||
jsToolBar.strings['Heading 1'] = 'Tiêu đề 1';
|
||||
jsToolBar.strings['Heading 2'] = 'Tiêu đề 2';
|
||||
jsToolBar.strings['Heading 3'] = 'Tiêu đề 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = 'Danh sách không thứ tự';
|
||||
jsToolBar.strings['Ordered list'] = 'Danh sách có thứ tự';
|
||||
jsToolBar.strings['Quote'] = 'Trích dẫn';
|
||||
jsToolBar.strings['Unquote'] = 'Bỏ trích dẫn';
|
||||
jsToolBar.strings['Preformatted text'] = 'Mã nguồn';
|
||||
jsToolBar.strings['Wiki link'] = 'Liên kết đến trang wiki';
|
||||
jsToolBar.strings['Image'] = 'Ảnh';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-zh-tw.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-zh-tw.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = '粗體';
|
||||
jsToolBar.strings['Italic'] = '斜體';
|
||||
jsToolBar.strings['Underline'] = '底線';
|
||||
jsToolBar.strings['Deleted'] = '刪除線';
|
||||
jsToolBar.strings['Code'] = '程式碼';
|
||||
jsToolBar.strings['Heading 1'] = '標題 1';
|
||||
jsToolBar.strings['Heading 2'] = '標題 2';
|
||||
jsToolBar.strings['Heading 3'] = '標題 3';
|
||||
jsToolBar.strings['Highlighted code'] = '反白程式碼';
|
||||
jsToolBar.strings['Unordered list'] = '項目清單';
|
||||
jsToolBar.strings['Ordered list'] = '編號清單';
|
||||
jsToolBar.strings['Quote'] = '引文';
|
||||
jsToolBar.strings['Unquote'] = '取消引文';
|
||||
jsToolBar.strings['Preformatted text'] = '已格式文字';
|
||||
jsToolBar.strings['Wiki link'] = '連結至 Wiki 頁面';
|
||||
jsToolBar.strings['Image'] = '圖片';
|
17
public/javascripts/jstoolbar/lang/jstoolbar-zh.js
Normal file
17
public/javascripts/jstoolbar/lang/jstoolbar-zh.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
jsToolBar.strings = {};
|
||||
jsToolBar.strings['Strong'] = '粗体';
|
||||
jsToolBar.strings['Italic'] = '斜体';
|
||||
jsToolBar.strings['Underline'] = '下划线';
|
||||
jsToolBar.strings['Deleted'] = '删除线';
|
||||
jsToolBar.strings['Code'] = '程序代码';
|
||||
jsToolBar.strings['Heading 1'] = '标题 1';
|
||||
jsToolBar.strings['Heading 2'] = '标题 2';
|
||||
jsToolBar.strings['Heading 3'] = '标题 3';
|
||||
jsToolBar.strings['Highlighted code'] = 'Highlighted code';
|
||||
jsToolBar.strings['Unordered list'] = '无序列表';
|
||||
jsToolBar.strings['Ordered list'] = '排序列表';
|
||||
jsToolBar.strings['Quote'] = '引用';
|
||||
jsToolBar.strings['Unquote'] = '删除引用';
|
||||
jsToolBar.strings['Preformatted text'] = '格式化文本';
|
||||
jsToolBar.strings['Wiki link'] = '连接到 Wiki 页面';
|
||||
jsToolBar.strings['Image'] = '图片';
|
216
public/javascripts/jstoolbar/markdown.js
Normal file
216
public/javascripts/jstoolbar/markdown.js
Normal file
|
@ -0,0 +1,216 @@
|
|||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* This file is part of DotClear.
|
||||
* Copyright (c) 2005 Nicolas Martin & Olivier Meunier and contributors. All
|
||||
* rights reserved.
|
||||
*
|
||||
* DotClear is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* DotClear is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with DotClear; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* ***** END LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
/* Modified by JP LANG for markdown formatting */
|
||||
|
||||
// strong
|
||||
jsToolBar.prototype.elements.strong = {
|
||||
type: 'button',
|
||||
title: 'Strong',
|
||||
fn: {
|
||||
wiki: function() { this.singleTag('**') }
|
||||
}
|
||||
}
|
||||
|
||||
// em
|
||||
jsToolBar.prototype.elements.em = {
|
||||
type: 'button',
|
||||
title: 'Italic',
|
||||
fn: {
|
||||
wiki: function() { this.singleTag("*") }
|
||||
}
|
||||
}
|
||||
|
||||
// del
|
||||
jsToolBar.prototype.elements.del = {
|
||||
type: 'button',
|
||||
title: 'Deleted',
|
||||
fn: {
|
||||
wiki: function() { this.singleTag('~~') }
|
||||
}
|
||||
}
|
||||
|
||||
// code
|
||||
jsToolBar.prototype.elements.code = {
|
||||
type: 'button',
|
||||
title: 'Code',
|
||||
fn: {
|
||||
wiki: function() { this.singleTag('`') }
|
||||
}
|
||||
}
|
||||
|
||||
// spacer
|
||||
jsToolBar.prototype.elements.space1 = {type: 'space'}
|
||||
|
||||
// headings
|
||||
jsToolBar.prototype.elements.h1 = {
|
||||
type: 'button',
|
||||
title: 'Heading 1',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
this.encloseLineSelection('# ', '',function(str) {
|
||||
str = str.replace(/^#+\s+/, '')
|
||||
return str;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
jsToolBar.prototype.elements.h2 = {
|
||||
type: 'button',
|
||||
title: 'Heading 2',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
this.encloseLineSelection('## ', '',function(str) {
|
||||
str = str.replace(/^#+\s+/, '')
|
||||
return str;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
jsToolBar.prototype.elements.h3 = {
|
||||
type: 'button',
|
||||
title: 'Heading 3',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
this.encloseLineSelection('### ', '',function(str) {
|
||||
str = str.replace(/^#+\s+/, '')
|
||||
return str;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// spacer
|
||||
jsToolBar.prototype.elements.space2 = {type: 'space'}
|
||||
|
||||
// ul
|
||||
jsToolBar.prototype.elements.ul = {
|
||||
type: 'button',
|
||||
title: 'Unordered list',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
this.encloseLineSelection('','',function(str) {
|
||||
str = str.replace(/\r/g,'');
|
||||
return str.replace(/(\n|^)[#-]?\s*/g,"$1* ");
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ol
|
||||
jsToolBar.prototype.elements.ol = {
|
||||
type: 'button',
|
||||
title: 'Ordered list',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
this.encloseLineSelection('','',function(str) {
|
||||
str = str.replace(/\r/g,'');
|
||||
return str.replace(/(\n|^)[*-]?\s*/g,"$11. ");
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// spacer
|
||||
jsToolBar.prototype.elements.space3 = {type: 'space'}
|
||||
|
||||
// bq
|
||||
jsToolBar.prototype.elements.bq = {
|
||||
type: 'button',
|
||||
title: 'Quote',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
this.encloseLineSelection('','',function(str) {
|
||||
str = str.replace(/\r/g,'');
|
||||
return str.replace(/(\n|^) *([^\n]*)/g,"$1> $2");
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// unbq
|
||||
jsToolBar.prototype.elements.unbq = {
|
||||
type: 'button',
|
||||
title: 'Unquote',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
this.encloseLineSelection('','',function(str) {
|
||||
str = str.replace(/\r/g,'');
|
||||
return str.replace(/(\n|^) *[>]? *([^\n]*)/g,"$1$2");
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// pre
|
||||
jsToolBar.prototype.elements.pre = {
|
||||
type: 'button',
|
||||
title: 'Preformatted text',
|
||||
fn: {
|
||||
wiki: function() { this.encloseLineSelection('~~~\n', '\n~~~') }
|
||||
}
|
||||
}
|
||||
|
||||
// Code highlighting
|
||||
jsToolBar.prototype.elements.precode = {
|
||||
type: 'button',
|
||||
title: 'Highlighted code',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
var This = this;
|
||||
this.precodeMenu(function(lang){
|
||||
This.encloseLineSelection('~~~ ' + lang + '\n', '\n~~~\n');
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// spacer
|
||||
jsToolBar.prototype.elements.space4 = {type: 'space'}
|
||||
|
||||
// wiki page
|
||||
jsToolBar.prototype.elements.link = {
|
||||
type: 'button',
|
||||
title: 'Wiki link',
|
||||
fn: {
|
||||
wiki: function() { this.encloseSelection("[[", "]]") }
|
||||
}
|
||||
}
|
||||
// image
|
||||
jsToolBar.prototype.elements.img = {
|
||||
type: 'button',
|
||||
title: 'Image',
|
||||
fn: {
|
||||
wiki: function() { this.encloseSelection("") }
|
||||
}
|
||||
}
|
||||
|
||||
// spacer
|
||||
jsToolBar.prototype.elements.space5 = {type: 'space'}
|
||||
// help
|
||||
jsToolBar.prototype.elements.help = {
|
||||
type: 'button',
|
||||
title: 'Help',
|
||||
fn: {
|
||||
wiki: function() { window.open(this.help_link, '', 'resizable=yes, location=no, width=300, height=640, menubar=no, status=no, scrollbars=yes') }
|
||||
}
|
||||
}
|
225
public/javascripts/jstoolbar/textile.js
Normal file
225
public/javascripts/jstoolbar/textile.js
Normal file
|
@ -0,0 +1,225 @@
|
|||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* This file is part of DotClear.
|
||||
* Copyright (c) 2005 Nicolas Martin & Olivier Meunier and contributors. All
|
||||
* rights reserved.
|
||||
*
|
||||
* DotClear is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* DotClear is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with DotClear; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* ***** END LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
/* Modified by JP LANG for textile formatting */
|
||||
|
||||
// strong
|
||||
jsToolBar.prototype.elements.strong = {
|
||||
type: 'button',
|
||||
title: 'Strong',
|
||||
fn: {
|
||||
wiki: function() { this.singleTag('*') }
|
||||
}
|
||||
}
|
||||
|
||||
// em
|
||||
jsToolBar.prototype.elements.em = {
|
||||
type: 'button',
|
||||
title: 'Italic',
|
||||
fn: {
|
||||
wiki: function() { this.singleTag("_") }
|
||||
}
|
||||
}
|
||||
|
||||
// ins
|
||||
jsToolBar.prototype.elements.ins = {
|
||||
type: 'button',
|
||||
title: 'Underline',
|
||||
fn: {
|
||||
wiki: function() { this.singleTag('+') }
|
||||
}
|
||||
}
|
||||
|
||||
// del
|
||||
jsToolBar.prototype.elements.del = {
|
||||
type: 'button',
|
||||
title: 'Deleted',
|
||||
fn: {
|
||||
wiki: function() { this.singleTag('-') }
|
||||
}
|
||||
}
|
||||
|
||||
// code
|
||||
jsToolBar.prototype.elements.code = {
|
||||
type: 'button',
|
||||
title: 'Code',
|
||||
fn: {
|
||||
wiki: function() { this.singleTag('@') }
|
||||
}
|
||||
}
|
||||
|
||||
// spacer
|
||||
jsToolBar.prototype.elements.space1 = {type: 'space'}
|
||||
|
||||
// headings
|
||||
jsToolBar.prototype.elements.h1 = {
|
||||
type: 'button',
|
||||
title: 'Heading 1',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
this.encloseLineSelection('h1. ', '',function(str) {
|
||||
str = str.replace(/^h\d+\.\s+/, '')
|
||||
return str;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
jsToolBar.prototype.elements.h2 = {
|
||||
type: 'button',
|
||||
title: 'Heading 2',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
this.encloseLineSelection('h2. ', '',function(str) {
|
||||
str = str.replace(/^h\d+\.\s+/, '')
|
||||
return str;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
jsToolBar.prototype.elements.h3 = {
|
||||
type: 'button',
|
||||
title: 'Heading 3',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
this.encloseLineSelection('h3. ', '',function(str) {
|
||||
str = str.replace(/^h\d+\.\s+/, '')
|
||||
return str;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// spacer
|
||||
jsToolBar.prototype.elements.space2 = {type: 'space'}
|
||||
|
||||
// ul
|
||||
jsToolBar.prototype.elements.ul = {
|
||||
type: 'button',
|
||||
title: 'Unordered list',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
this.encloseLineSelection('','',function(str) {
|
||||
str = str.replace(/\r/g,'');
|
||||
return str.replace(/(\n|^)[#-]?\s*/g,"$1* ");
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ol
|
||||
jsToolBar.prototype.elements.ol = {
|
||||
type: 'button',
|
||||
title: 'Ordered list',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
this.encloseLineSelection('','',function(str) {
|
||||
str = str.replace(/\r/g,'');
|
||||
return str.replace(/(\n|^)[*-]?\s*/g,"$1# ");
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// spacer
|
||||
jsToolBar.prototype.elements.space3 = {type: 'space'}
|
||||
|
||||
// bq
|
||||
jsToolBar.prototype.elements.bq = {
|
||||
type: 'button',
|
||||
title: 'Quote',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
this.encloseLineSelection('','',function(str) {
|
||||
str = str.replace(/\r/g,'');
|
||||
return str.replace(/(\n|^) *([^\n]*)/g,"$1> $2");
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// unbq
|
||||
jsToolBar.prototype.elements.unbq = {
|
||||
type: 'button',
|
||||
title: 'Unquote',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
this.encloseLineSelection('','',function(str) {
|
||||
str = str.replace(/\r/g,'');
|
||||
return str.replace(/(\n|^) *[>]? *([^\n]*)/g,"$1$2");
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// pre
|
||||
jsToolBar.prototype.elements.pre = {
|
||||
type: 'button',
|
||||
title: 'Preformatted text',
|
||||
fn: {
|
||||
wiki: function() { this.encloseLineSelection('<pre>\n', '\n</pre>') }
|
||||
}
|
||||
}
|
||||
|
||||
// Code highlighting
|
||||
jsToolBar.prototype.elements.precode = {
|
||||
type: 'button',
|
||||
title: 'Highlighted code',
|
||||
fn: {
|
||||
wiki: function() {
|
||||
var This = this;
|
||||
this.precodeMenu(function(lang){
|
||||
This.encloseLineSelection('<pre><code class="' + lang + '">\n', '\n</code></pre>\n');
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// spacer
|
||||
jsToolBar.prototype.elements.space4 = {type: 'space'}
|
||||
|
||||
// wiki page
|
||||
jsToolBar.prototype.elements.link = {
|
||||
type: 'button',
|
||||
title: 'Wiki link',
|
||||
fn: {
|
||||
wiki: function() { this.encloseSelection("[[", "]]") }
|
||||
}
|
||||
}
|
||||
// image
|
||||
jsToolBar.prototype.elements.img = {
|
||||
type: 'button',
|
||||
title: 'Image',
|
||||
fn: {
|
||||
wiki: function() { this.encloseSelection("!", "!") }
|
||||
}
|
||||
}
|
||||
|
||||
// spacer
|
||||
jsToolBar.prototype.elements.space5 = {type: 'space'}
|
||||
// help
|
||||
jsToolBar.prototype.elements.help = {
|
||||
type: 'button',
|
||||
title: 'Help',
|
||||
fn: {
|
||||
wiki: function() { window.open(this.help_link, '', 'resizable=yes, location=no, width=300, height=640, menubar=no, status=no, scrollbars=yes') }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue