Signed-off-by: Alex Coles <alex@alexbcoles.com> Conflicts: app/assets/stylesheets/layout/_split_view.sasspull/1768/head
commit
098012e8ed
@ -0,0 +1,63 @@ |
||||
//-- copyright
|
||||
// OpenProject is a project management system.
|
||||
// Copyright (C) 2012-2014 the OpenProject Foundation (OPF)
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License version 3.
|
||||
//
|
||||
// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
|
||||
// Copyright (C) 2006-2013 Jean-Philippe Lang
|
||||
// Copyright (C) 2010-2013 the ChiliProject Team
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
// See doc/COPYRIGHT.rdoc for more details.
|
||||
//++
|
||||
|
||||
// TODO move to UI components
|
||||
angular.module('openproject.uiComponents') |
||||
|
||||
.constant('DOUBLE_CLICK_DELAY', 300) |
||||
|
||||
// Thanks to http://stackoverflow.com/a/20445344
|
||||
.directive('singleClick', [ |
||||
'DOUBLE_CLICK_DELAY', |
||||
'$parse', |
||||
'$timeout', |
||||
function(DOUBLE_CLICK_DELAY, $parse, $timeout) { |
||||
|
||||
return { |
||||
restrict: 'A', |
||||
link: function(scope, element, attrs) { |
||||
var fn = $parse(attrs.singleClick); |
||||
var clicks = 0, timer = null; |
||||
|
||||
if (fn) { |
||||
element.on('click', function (event) { |
||||
clicks++; //count clicks
|
||||
if(clicks === 1) { |
||||
timer = $timeout(function() { |
||||
fn(scope, { $event: event }); |
||||
clicks = 0; //after action performed, reset counter
|
||||
}, DOUBLE_CLICK_DELAY); |
||||
} else { |
||||
$timeout.cancel(timer); //prevent single-click action
|
||||
clicks = 0; //after action performed, reset counter
|
||||
} |
||||
}); |
||||
} |
||||
} |
||||
}; |
||||
}]); |
@ -0,0 +1,62 @@ |
||||
//-- copyright
|
||||
// OpenProject is a project management system.
|
||||
// Copyright (C) 2012-2014 the OpenProject Foundation (OPF)
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License version 3.
|
||||
//
|
||||
// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
|
||||
// Copyright (C) 2006-2013 Jean-Philippe Lang
|
||||
// Copyright (C) 2010-2013 the ChiliProject Team
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
// See doc/COPYRIGHT.rdoc for more details.
|
||||
//++
|
||||
|
||||
angular.module('openproject.services') |
||||
|
||||
.service('HookService', [function() { |
||||
var hooks = { }; |
||||
|
||||
HookService = { |
||||
register: function(id, callback) { |
||||
if (callback && typeof(callback) == "function") { |
||||
if (!hooks[id]) { |
||||
hooks[id] = []; |
||||
} |
||||
|
||||
hooks[id].push(callback); |
||||
} |
||||
}, |
||||
call: function(id, params) { |
||||
var results = []; |
||||
|
||||
if (hooks[id]) { |
||||
for (var x = 0; x < hooks[id].length; x++) { |
||||
var result = hooks[id][x](params); |
||||
|
||||
if (result) { |
||||
results.push(result); |
||||
} |
||||
} |
||||
} |
||||
|
||||
return results; |
||||
} |
||||
}; |
||||
|
||||
return HookService; |
||||
}]); |
@ -0,0 +1,45 @@ |
||||
//-- copyright
|
||||
// OpenProject is a project management system.
|
||||
// Copyright (C) 2012-2014 the OpenProject Foundation (OPF)
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License version 3.
|
||||
//
|
||||
// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
|
||||
// Copyright (C) 2006-2013 Jean-Philippe Lang
|
||||
// Copyright (C) 2010-2013 the ChiliProject Team
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
// See doc/COPYRIGHT.rdoc for more details.
|
||||
//++
|
||||
|
||||
angular.module('openproject.workPackages.directives') |
||||
|
||||
.directive('workPackageDynamicAttribute', ['$compile', function($compile){ |
||||
return { |
||||
restrict: 'EA', |
||||
scope: { |
||||
htmlElement: '=', |
||||
workPackage: '=' |
||||
}, |
||||
link: function(scope, element, attributes) { |
||||
var html = '<' + scope.htmlElement + '></' + scope.htmlElement +'>' |
||||
|
||||
element.html(html); |
||||
$compile(element.contents())(scope); |
||||
} |
||||
}; |
||||
}]); |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,14 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,20 +0,0 @@ |
||||
// 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['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'; |
@ -1,16 +0,0 @@ |
||||
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['Unordered list'] = 'فهرست بدون شماره'; |
||||
jsToolBar.strings['Ordered list'] = 'فهرست با شماره'; |
||||
jsToolBar.strings['Quote'] = 'تو بردن'; |
||||
jsToolBar.strings['Unquote'] = 'بیرون آوردن'; |
||||
jsToolBar.strings['Preformatted text'] = 'نوشته قالب بندی شده'; |
||||
jsToolBar.strings['Wiki link'] = 'پیوند به برگ ویکی'; |
||||
jsToolBar.strings['Image'] = 'عکس'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['Unordered list'] = 'Liste à puces'; |
||||
jsToolBar.strings['Ordered list'] = 'Liste numérotée'; |
||||
jsToolBar.strings['Quote'] = 'Citer'; |
||||
jsToolBar.strings['Unquote'] = 'Supprimer citation'; |
||||
jsToolBar.strings['Preformatted text'] = 'Texte préformaté'; |
||||
jsToolBar.strings['Wiki link'] = 'Lien vers une page Wiki'; |
||||
jsToolBar.strings['Image'] = 'Image'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,19 +0,0 @@ |
||||
// 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['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'; |
@ -1,16 +0,0 @@ |
||||
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['Unordered list'] = '順不同リスト'; |
||||
jsToolBar.strings['Ordered list'] = '番号つきリスト'; |
||||
jsToolBar.strings['Quote'] = '引用'; |
||||
jsToolBar.strings['Unquote'] = '引用解除'; |
||||
jsToolBar.strings['Preformatted text'] = '整形済みテキスト'; |
||||
jsToolBar.strings['Wiki link'] = 'Wikiページへのリンク'; |
||||
jsToolBar.strings['Image'] = '画像'; |
@ -1,16 +0,0 @@ |
||||
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['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'] = '그림'; |
@ -1,16 +0,0 @@ |
||||
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['Unordered list'] = 'Nenumeruotas sąrašas'; |
||||
jsToolBar.strings['Ordered list'] = 'Numeruotas sąrašas'; |
||||
jsToolBar.strings['Quote'] = 'Quote'; |
||||
jsToolBar.strings['Unquote'] = 'Remove Quote'; |
||||
jsToolBar.strings['Preformatted text'] = 'Preformatuotas tekstas'; |
||||
jsToolBar.strings['Wiki link'] = 'Nuoroda į Wiki puslapį'; |
||||
jsToolBar.strings['Image'] = 'Paveikslas'; |
@ -1,17 +0,0 @@ |
||||
// 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['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'; |
@ -1,17 +0,0 @@ |
||||
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['Unordered list'] = 'Неподредена листа'; |
||||
jsToolBar.strings['Ordered list'] = 'Подредена листа'; |
||||
jsToolBar.strings['Quote'] = 'Цитат'; |
||||
jsToolBar.strings['Unquote'] = 'Отстрани цитат'; |
||||
jsToolBar.strings['Preformatted text'] = 'Форматиран текст'; |
||||
jsToolBar.strings['Wiki link'] = 'Врска до вики страна'; |
||||
jsToolBar.strings['Image'] = 'Слика'; |
||||
|
@ -1,16 +0,0 @@ |
||||
jsToolBar.strings = {}; |
||||
jsToolBar.strings['Strong'] = 'Extra nadruk'; |
||||
jsToolBar.strings['Italic'] = 'Cursief'; |
||||
jsToolBar.strings['Underline'] = 'Onderstreept'; |
||||
jsToolBar.strings['Deleted'] = 'Verwijderd'; |
||||
jsToolBar.strings['Code'] = 'Computercode'; |
||||
jsToolBar.strings['Heading 1'] = 'Kop 1'; |
||||
jsToolBar.strings['Heading 2'] = 'Kop 2'; |
||||
jsToolBar.strings['Heading 3'] = 'Kop 3'; |
||||
jsToolBar.strings['Unordered list'] = 'Ongeordende lijst'; |
||||
jsToolBar.strings['Ordered list'] = 'Geordende lijst'; |
||||
jsToolBar.strings['Quote'] = 'Citaat'; |
||||
jsToolBar.strings['Unquote'] = 'Verwijder citaat'; |
||||
jsToolBar.strings['Preformatted text'] = 'Voor-geformateerde tekst'; |
||||
jsToolBar.strings['Wiki link'] = 'Link naar een Wiki pagina'; |
||||
jsToolBar.strings['Image'] = 'Afbeelding'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,18 +0,0 @@ |
||||
// 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['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'; |
@ -1,17 +0,0 @@ |
||||
// 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['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'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['Unordered list'] = 'Маркированный список'; |
||||
jsToolBar.strings['Ordered list'] = 'Нумерованный список'; |
||||
jsToolBar.strings['Quote'] = 'Цитата'; |
||||
jsToolBar.strings['Unquote'] = 'Удалить цитату'; |
||||
jsToolBar.strings['Preformatted text'] = 'Заранее форматированный текст'; |
||||
jsToolBar.strings['Wiki link'] = 'Ссылка на страницу в Wiki'; |
||||
jsToolBar.strings['Image'] = 'Вставка изображения'; |
@ -1,16 +0,0 @@ |
||||
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'] = 'Záhlavie 1'; |
||||
jsToolBar.strings['Heading 2'] = 'Záhlavie 2'; |
||||
jsToolBar.strings['Heading 3'] = 'Záhlavie 3'; |
||||
jsToolBar.strings['Unordered list'] = 'Zoznam'; |
||||
jsToolBar.strings['Ordered list'] = 'Zoradený zoznam'; |
||||
jsToolBar.strings['Quote'] = 'Citácia'; |
||||
jsToolBar.strings['Unquote'] = 'Odstránenie citácie'; |
||||
jsToolBar.strings['Preformatted text'] = 'Predformátovaný text'; |
||||
jsToolBar.strings['Wiki link'] = 'Link na Wiki stránku'; |
||||
jsToolBar.strings['Image'] = 'Obrázok'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['Unordered list'] = 'Листа набрајања'; |
||||
jsToolBar.strings['Ordered list'] = 'Уређена листа'; |
||||
jsToolBar.strings['Quote'] = 'Под наводницима'; |
||||
jsToolBar.strings['Unquote'] = 'Уклони наводнике'; |
||||
jsToolBar.strings['Preformatted text'] = 'Претходно форматиран текст'; |
||||
jsToolBar.strings['Wiki link'] = 'Веза према Wiki страни'; |
||||
jsToolBar.strings['Image'] = 'Слика'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,14 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['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'; |
@ -1,16 +0,0 @@ |
||||
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['Unordered list'] = '項目清單'; |
||||
jsToolBar.strings['Ordered list'] = '編號清單'; |
||||
jsToolBar.strings['Quote'] = '引文'; |
||||
jsToolBar.strings['Unquote'] = '取消引文'; |
||||
jsToolBar.strings['Preformatted text'] = '已格式文字'; |
||||
jsToolBar.strings['Wiki link'] = '連結至 Wiki 頁面'; |
||||
jsToolBar.strings['Image'] = '圖片'; |
@ -1,16 +0,0 @@ |
||||
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['Unordered list'] = '无序列表'; |
||||
jsToolBar.strings['Ordered list'] = '排序列表'; |
||||
jsToolBar.strings['Quote'] = '引用'; |
||||
jsToolBar.strings['Unquote'] = '删除引用'; |
||||
jsToolBar.strings['Preformatted text'] = '格式化文本'; |
||||
jsToolBar.strings['Wiki link'] = '连接到 Wiki 页面'; |
||||
jsToolBar.strings['Image'] = '图片'; |
@ -0,0 +1,20 @@ |
||||
jQuery(function() { |
||||
jsToolBar.strings = { |
||||
'Strong': I18n.t('js.wiki_formatting.strong'), |
||||
'Italic': I18n.t('js.wiki_formatting.italic'), |
||||
'Underline': I18n.t('js.wiki_formatting.underline'), |
||||
'Deleted': I18n.t('js.wiki_formatting.deleted'), |
||||
'Code': I18n.t('js.wiki_formatting.code'), |
||||
'Heading 1': I18n.t('js.wiki_formatting.heading1'), |
||||
'Heading 2': I18n.t('js.wiki_formatting.heading2'), |
||||
'Heading 3': I18n.t('js.wiki_formatting.heading3'), |
||||
'Unordered list': I18n.t('js.wiki_formatting.unordered_list'), |
||||
'Ordered list': I18n.t('js.wiki_formatting.ordered_list'), |
||||
'Quote': I18n.t('js.wiki_formatting.quote'), |
||||
'Unquote': I18n.t('js.wiki_formatting.unquote'), |
||||
'Preformatted text': I18n.t('js.wiki_formatting.preformatted_text'), |
||||
'Wiki link': I18n.t('js.wiki_formatting.wiki_link'), |
||||
'Image': I18n.t('js.wiki_formatting.image') |
||||
} |
||||
}); |
||||
|
@ -0,0 +1,18 @@ |
||||
# [Form elements] - Input, Textarea |
||||
|
||||
``` |
||||
<div id="work-packages-index"> |
||||
|
||||
<input class="wide"></input> |
||||
<br /><br /> |
||||
<input class="small"></input> |
||||
<br /><br / > |
||||
<textarea rows="4"></textarea> |
||||
<br /><br /> |
||||
<input placeholder="with placeholder text"></input> |
||||
<br /><br /> |
||||
<textarea rows="4" placeholder="with placeholder text"></textarea> |
||||
|
||||
</div> |
||||
|
||||
``` |
@ -0,0 +1,34 @@ |
||||
/* Please use these styles for future purposes! The idea is to use these as global styles for form elements, after we finalised the work-packages view. The width of the elements may vary in different views */ |
||||
|
||||
#work-packages-index |
||||
input |
||||
border: 1px solid #cacaca |
||||
background: #ffffff |
||||
border-radius: 2px |
||||
padding: 8px |
||||
font-family: $font_family_normal |
||||
font-size: $global_font_size |
||||
box-sizing: border-box |
||||
&:hover |
||||
border: 1px solid #aaaaaa |
||||
&:focus |
||||
box-shadow: 1px 1px 1px #dddddd inset |
||||
.wide |
||||
width: 180px |
||||
.small |
||||
width: 90px |
||||
.form-textarea |
||||
margin: 0 0 10px 0 |
||||
textarea |
||||
border: 1px solid #cacaca |
||||
background: #ffffff |
||||
border-radius: 2px |
||||
padding: 8px |
||||
font-family: $font_family_normal |
||||
font-size: $global_font_size |
||||
width: 100% |
||||
box-sizing: border-box |
||||
&:hover |
||||
border: 1px solid #aaaaaa |
||||
&:focus |
||||
box-shadow: 1px 1px 1px #dddddd inset |
@ -0,0 +1,176 @@ |
||||
//-- copyright
|
||||
// OpenProject is a project management system.
|
||||
// Copyright (C) 2012-2014 the OpenProject Foundation (OPF)
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License version 3.
|
||||
//
|
||||
// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
|
||||
// Copyright (C) 2006-2013 Jean-Philippe Lang
|
||||
// Copyright (C) 2010-2013 the ChiliProject Team
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
// See doc/COPYRIGHT.rdoc for more details.
|
||||
//++
|
||||
|
||||
/*jshint expr: true*/ |
||||
|
||||
describe('HookService', function() { |
||||
|
||||
var HookService; |
||||
var validId = 'myValidCallbacks'; |
||||
|
||||
beforeEach(module('openproject.services')); |
||||
|
||||
beforeEach(inject(function(_HookService_){ |
||||
HookService = _HookService_; |
||||
})); |
||||
|
||||
var shouldBehaveLikeEmptyResult = function(id) { |
||||
it('returns empty results', function() { |
||||
expect(HookService.call(id)).to.be.empty; |
||||
}); |
||||
}; |
||||
|
||||
var shouldBehaveLikeResultWithElements = function(id, count) { |
||||
it('returns #count results', function() { |
||||
expect(HookService.call(id).length).to.eq(count); |
||||
}); |
||||
}; |
||||
|
||||
var shouldBehaveLikeCalledCallback = function(id) { |
||||
beforeEach(function() { |
||||
HookService.call(id); |
||||
}); |
||||
|
||||
it('is called', function() { |
||||
expect(callback.called).to.be.true; |
||||
}); |
||||
}; |
||||
|
||||
var shouldBehaveLikeUncalledCallback = function(id) { |
||||
beforeEach(function() { |
||||
HookService.call(id); |
||||
}); |
||||
|
||||
it('is not called', function() { |
||||
expect(invalidCallback.called).to.be.false; |
||||
}); |
||||
}; |
||||
|
||||
describe('register', function() { |
||||
var invalidId = 'myInvalidCallbacks'; |
||||
|
||||
describe('no callback registered', function() { |
||||
shouldBehaveLikeEmptyResult(invalidId); |
||||
}); |
||||
|
||||
describe('undefined callback registered', function() { |
||||
beforeEach(function() { |
||||
HookService.register('myInvalidCallbacks'); |
||||
}); |
||||
|
||||
shouldBehaveLikeEmptyResult(invalidId); |
||||
}); |
||||
|
||||
describe('non function callback registered', function() { |
||||
beforeEach(function() { |
||||
HookService.register('myInvalidCallbacks', 'eeek'); |
||||
}); |
||||
|
||||
shouldBehaveLikeEmptyResult(invalidId); |
||||
}); |
||||
|
||||
describe('valid function callback registered', function() { |
||||
beforeEach(function() { |
||||
callback = sinon.spy(); |
||||
HookService.register('myValidCallbacks', callback); |
||||
}); |
||||
|
||||
shouldBehaveLikeEmptyResult(validId); |
||||
|
||||
shouldBehaveLikeCalledCallback(validId); |
||||
}); |
||||
}); |
||||
|
||||
describe('call', function() { |
||||
describe('function that returns undefined', function() { |
||||
beforeEach(function() { |
||||
callback = sinon.spy(); |
||||
HookService.register('myValidCallbacks', callback); |
||||
}); |
||||
|
||||
shouldBehaveLikeCalledCallback(validId); |
||||
|
||||
shouldBehaveLikeEmptyResult(validId); |
||||
}); |
||||
|
||||
describe('function that returns something that is not undefined', function() { |
||||
beforeEach(function() { |
||||
callback = sinon.stub(); |
||||
callback.returns(new Object()); |
||||
|
||||
HookService.register('myValidCallbacks', callback); |
||||
}); |
||||
|
||||
shouldBehaveLikeCalledCallback(validId); |
||||
|
||||
shouldBehaveLikeResultWithElements(validId, 1); |
||||
}); |
||||
|
||||
describe('function that returns something that is not undefined', function() { |
||||
beforeEach(function() { |
||||
callback = sinon.stub(); |
||||
callback.returns(new Object()); |
||||
|
||||
HookService.register('myValidCallbacks', callback); |
||||
}); |
||||
|
||||
shouldBehaveLikeCalledCallback(validId); |
||||
|
||||
shouldBehaveLikeResultWithElements(validId, 1); |
||||
}); |
||||
|
||||
describe('function that returns something that is not undefined', function() { |
||||
beforeEach(function() { |
||||
callback = sinon.spy(); |
||||
invalidCallback = sinon.spy(); |
||||
|
||||
HookService.register('myValidCallbacks', callback); |
||||
|
||||
HookService.register('myInvalidCallbacks', invalidCallback); |
||||
}); |
||||
|
||||
shouldBehaveLikeCalledCallback(validId); |
||||
|
||||
shouldBehaveLikeUncalledCallback(validId); |
||||
}); |
||||
|
||||
describe('function that returns something that is not undefined', function() { |
||||
beforeEach(function() { |
||||
callback1 = sinon.stub(); |
||||
callback1.returns(new Object()); |
||||
callback2 = sinon.stub(); |
||||
callback2.returns(new Object()); |
||||
|
||||
HookService.register('myValidCallbacks', callback1); |
||||
HookService.register('myValidCallbacks', callback2); |
||||
}); |
||||
|
||||
shouldBehaveLikeResultWithElements(validId, 2); |
||||
}); |
||||
}); |
||||
}); |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue