Feature #14937 » precode-v3.diff
lib/redmine/wiki_formatting/textile/helper.rb (working copy) | ||
---|---|---|
33 | 33 |
def heads_for_wiki_formatter |
34 | 34 |
unless @heads_for_wiki_formatter_included |
35 | 35 |
content_for :header_tags do |
36 |
javascript_include_tag('jstoolbar/jstoolbar-textile.min') + |
|
36 |
javascript_include_tag('jstoolbar/jstoolbar') + |
|
37 |
javascript_include_tag('jstoolbar/textile') + |
|
37 | 38 |
javascript_include_tag("jstoolbar/lang/jstoolbar-#{current_language.to_s.downcase}") + |
38 | 39 |
stylesheet_link_tag('jstoolbar') |
39 | 40 |
end |
public/javascripts/jstoolbar/lang/jstoolbar-ar.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings ['Heading 1'] = 'عنوان 1'; |
8 | 8 |
jsToolBar.strings ['Heading 2'] = 'عنوان 2'; |
9 | 9 |
jsToolBar.strings ['Heading 3'] = 'عنوان 3'; |
10 |
jsToolBar.strings ['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings ['Unordered list'] = 'قائمة غير مرتبة'; |
11 | 12 |
jsToolBar.strings ['Ordered list'] = 'قائمة مرتبة'; |
12 | 13 |
jsToolBar.strings ['Quote'] = 'اقتباس'; |
public/javascripts/jstoolbar/lang/jstoolbar-az.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Heading 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Heading 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Heading 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Unordered list'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Ordered list'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Quote'; |
public/javascripts/jstoolbar/lang/jstoolbar-bg.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Заглавие 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Заглавие 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Заглавие 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Неподреден списък'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Подреден списък'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Цитат'; |
public/javascripts/jstoolbar/lang/jstoolbar-bs.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Heading 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Heading 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Heading 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Unordered list'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Ordered list'; |
12 | 13 |
jsToolBar.strings['Preformatted text'] = 'Preformatted text'; |
public/javascripts/jstoolbar/lang/jstoolbar-ca.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Encapçalament 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Encapçalament 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Encapçalament 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Llista sense ordre'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Llista ordenada'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Cometes'; |
public/javascripts/jstoolbar/lang/jstoolbar-cs.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Záhlaví 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Záhlaví 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Záhlaví 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Seznam'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Uspořádaný seznam'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Quote'; |
public/javascripts/jstoolbar/lang/jstoolbar-da.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Overskrift 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Overskrift 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Overskrift 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Unummereret liste'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Nummereret liste'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Citér'; |
public/javascripts/jstoolbar/lang/jstoolbar-de.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Überschrift 1. Ordnung'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Überschrift 2. Ordnung'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Überschrift 3. Ordnung'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Aufzählungsliste'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Nummerierte Liste'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Quote'; |
public/javascripts/jstoolbar/lang/jstoolbar-en-gb.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Heading 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Heading 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Heading 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Unordered list'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Ordered list'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Quote'; |
public/javascripts/jstoolbar/lang/jstoolbar-en.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Heading 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Heading 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Heading 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
11 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 12 |
jsToolBar.strings['Unordered list'] = 'Unordered list'; |
11 | 13 |
jsToolBar.strings['Ordered list'] = 'Ordered list'; |
12 | 14 |
jsToolBar.strings['Quote'] = 'Quote'; |
public/javascripts/jstoolbar/lang/jstoolbar-es.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Encabezado 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Encabezado 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Encabezado 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Lista sin ordenar'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Lista ordenada'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Citar'; |
public/javascripts/jstoolbar/lang/jstoolbar-et.js (working copy) | ||
---|---|---|
24 | 24 |
jsToolBar.strings['Heading 1'] = '1. taseme pealkiri'; |
25 | 25 |
jsToolBar.strings['Heading 2'] = '2. taseme pealkiri'; |
26 | 26 |
jsToolBar.strings['Heading 3'] = '3. taseme pealkiri'; |
27 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
27 | 28 |
jsToolBar.strings['Unordered list'] = 'Täpitud nimekiri'; |
28 | 29 |
jsToolBar.strings['Ordered list'] = 'Nummerdatud nimekiri'; |
29 | 30 |
jsToolBar.strings['Quote'] = 'Tsitaat: aste juurde'; |
public/javascripts/jstoolbar/lang/jstoolbar-eu.js (working copy) | ||
---|---|---|
11 | 11 |
jsToolBar.strings['Heading 1'] = '1 Goiburua'; |
12 | 12 |
jsToolBar.strings['Heading 2'] = '2 Goiburua'; |
13 | 13 |
jsToolBar.strings['Heading 3'] = '3 Goiburua'; |
14 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
14 | 15 |
jsToolBar.strings['Unordered list'] = 'Ordenatu gabeko zerrenda'; |
15 | 16 |
jsToolBar.strings['Ordered list'] = 'Ordenatutako zerrenda'; |
16 | 17 |
jsToolBar.strings['Quote'] = 'Aipamena'; |
public/javascripts/jstoolbar/lang/jstoolbar-fa.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'سربرگ ۱'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'سربرگ ۲'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'سربرگ ۳'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'فهرست بدون شماره'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'فهرست با شماره'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'تو بردن'; |
public/javascripts/jstoolbar/lang/jstoolbar-fi.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Otsikko 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Otsikko 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Otsikko 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Järjestämätön lista'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Järjestetty lista'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Quote'; |
public/javascripts/jstoolbar/lang/jstoolbar-fr.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Titre niveau 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Titre niveau 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Titre niveau 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Liste à puces'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Liste numérotée'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Citer'; |
public/javascripts/jstoolbar/lang/jstoolbar-gl.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Encabezado 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Encabezado 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Encabezado 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Lista sen ordenar'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Lista ordenada'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Citar'; |
public/javascripts/jstoolbar/lang/jstoolbar-he.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Heading 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Heading 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Heading 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Unordered list'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Ordered list'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Quote'; |
public/javascripts/jstoolbar/lang/jstoolbar-hr.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Naslov 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Naslov 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Naslov 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Graficke oznake'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Numeriranje'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Citat'; |
public/javascripts/jstoolbar/lang/jstoolbar-hu.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Fejléc 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Fejléc 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Fejléc 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Felsorolás'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Számozott lista'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Quote'; |
public/javascripts/jstoolbar/lang/jstoolbar-id.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Judul 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Judul 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Judul 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Daftar tak terurut'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Daftar terurut'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Kutipan'; |
public/javascripts/jstoolbar/lang/jstoolbar-it.js (working copy) | ||
---|---|---|
10 | 10 |
jsToolBar.strings['Heading 1'] = 'Titolo 1'; |
11 | 11 |
jsToolBar.strings['Heading 2'] = 'Titolo 2'; |
12 | 12 |
jsToolBar.strings['Heading 3'] = 'Titolo 3'; |
13 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
13 | 14 |
jsToolBar.strings['Unordered list'] = 'Elenco puntato'; |
14 | 15 |
jsToolBar.strings['Ordered list'] = 'Elenco numerato'; |
15 | 16 |
jsToolBar.strings['Quote'] = 'Aumenta rientro'; |
public/javascripts/jstoolbar/lang/jstoolbar-ja.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = '見出し 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = '見出し 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = '見出し 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = '順不同リスト'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = '番号つきリスト'; |
12 | 13 |
jsToolBar.strings['Quote'] = '引用'; |
public/javascripts/jstoolbar/lang/jstoolbar-ko.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = '제목 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = '제목 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = '제목 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = '글머리 기호'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = '번호 매기기'; |
12 | 13 |
jsToolBar.strings['Quote'] = '인용'; |
public/javascripts/jstoolbar/lang/jstoolbar-lt.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Heading 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Heading 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Heading 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Nenumeruotas sąrašas'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Numeruotas sąrašas'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Cituoti'; |
public/javascripts/jstoolbar/lang/jstoolbar-lv.js (working copy) | ||
---|---|---|
8 | 8 |
jsToolBar.strings['Heading 1'] = 'Virsraksts 1'; |
9 | 9 |
jsToolBar.strings['Heading 2'] = 'Virsraksts 2'; |
10 | 10 |
jsToolBar.strings['Heading 3'] = 'Virsraksts 3'; |
11 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
11 | 12 |
jsToolBar.strings['Unordered list'] = 'Nesakārtots saraksts'; |
12 | 13 |
jsToolBar.strings['Ordered list'] = 'Sakārtots saraksts'; |
13 | 14 |
jsToolBar.strings['Quote'] = 'Citēt'; |
public/javascripts/jstoolbar/lang/jstoolbar-mk.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Заглавје 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Заглавје 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Заглавје 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Неподредена листа'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Подредена листа'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Цитат'; |
public/javascripts/jstoolbar/lang/jstoolbar-mn.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Гарчиг 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Гарчиг 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Гарчиг 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Эрэмбэгүй жагсаалт'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Эрэмбэтэй жагсаалт'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Ишлэл'; |
public/javascripts/jstoolbar/lang/jstoolbar-nl.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Kop 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Kop 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Kop 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Ongeordende lijst'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Geordende lijst'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Citaat'; |
public/javascripts/jstoolbar/lang/jstoolbar-no.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Overskrift 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Overskrift 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Overskrift 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Punktliste'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Nummerert liste'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Sitat'; |
public/javascripts/jstoolbar/lang/jstoolbar-pl.js (working copy) | ||
---|---|---|
8 | 8 |
jsToolBar.strings['Heading 1'] = 'Nagłowek 1'; |
9 | 9 |
jsToolBar.strings['Heading 2'] = 'Nagłówek 2'; |
10 | 10 |
jsToolBar.strings['Heading 3'] = 'Nagłówek 3'; |
11 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
11 | 12 |
jsToolBar.strings['Unordered list'] = 'Nieposortowana lista'; |
12 | 13 |
jsToolBar.strings['Ordered list'] = 'Posortowana lista'; |
13 | 14 |
jsToolBar.strings['Quote'] = 'Cytat'; |
public/javascripts/jstoolbar/lang/jstoolbar-pt-br.js (working copy) | ||
---|---|---|
9 | 9 |
jsToolBar.strings['Heading 1'] = 'Cabeçalho 1'; |
10 | 10 |
jsToolBar.strings['Heading 2'] = 'Cabeçalho 2'; |
11 | 11 |
jsToolBar.strings['Heading 3'] = 'Cabeçalho 3'; |
12 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
12 | 13 |
jsToolBar.strings['Unordered list'] = 'Lista não ordenada'; |
13 | 14 |
jsToolBar.strings['Ordered list'] = 'Lista ordenada'; |
14 | 15 |
jsToolBar.strings['Quote'] = 'Quote'; |
public/javascripts/jstoolbar/lang/jstoolbar-pt.js (working copy) | ||
---|---|---|
8 | 8 |
jsToolBar.strings['Heading 1'] = 'Cabeçalho 1'; |
9 | 9 |
jsToolBar.strings['Heading 2'] = 'Cabeçalho 2'; |
10 | 10 |
jsToolBar.strings['Heading 3'] = 'Cabeçalho 3'; |
11 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
11 | 12 |
jsToolBar.strings['Unordered list'] = 'Lista não ordenada'; |
12 | 13 |
jsToolBar.strings['Ordered list'] = 'Lista ordenada'; |
13 | 14 |
jsToolBar.strings['Quote'] = 'Citação'; |
public/javascripts/jstoolbar/lang/jstoolbar-ro.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Heading 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Heading 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Heading 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Listă pe puncte'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Listă ordonată'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Citează'; |
public/javascripts/jstoolbar/lang/jstoolbar-ru.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Заголовок 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Заголовок 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Заголовок 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Маркированный список'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Нумерованный список'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Цитата'; |
public/javascripts/jstoolbar/lang/jstoolbar-sk.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Nadpis 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Nadpis 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Nadpis 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Odrážkový zoznam'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Číslovaný zoznam'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Odsadenie'; |
public/javascripts/jstoolbar/lang/jstoolbar-sl.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Naslov 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Naslov 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Naslov 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Neurejen seznam'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Urejen seznam'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Citat'; |
public/javascripts/jstoolbar/lang/jstoolbar-sq.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Heading 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Heading 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Heading 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Unordered list'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Ordered list'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Quote'; |
public/javascripts/jstoolbar/lang/jstoolbar-sr-yu.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Naslov 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Naslov 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Naslov 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Lista nabrajanja'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Uređena lista'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Pod navodnicima'; |
public/javascripts/jstoolbar/lang/jstoolbar-sr.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Наслов 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Наслов 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Наслов 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Листа набрајања'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Уређена листа'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Под наводницима'; |
public/javascripts/jstoolbar/lang/jstoolbar-sv.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Rubrik 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Rubrik 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Rubrik 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Osorterad lista'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Sorterad lista'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Citat'; |
public/javascripts/jstoolbar/lang/jstoolbar-th.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'หัวข้อ 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'หัวข้อ 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'หัวข้อ 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'รายการ'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'ลำดับเลข'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Quote'; |
public/javascripts/jstoolbar/lang/jstoolbar-tr.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Başlık 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Başlık 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Başlık 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Sırasız liste'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Sıralı liste'; |
12 | 13 |
jsToolBar.strings['Preformatted text'] = 'Preformatted text'; |
public/javascripts/jstoolbar/lang/jstoolbar-uk.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Heading 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Heading 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Heading 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Unordered list'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Ordered list'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Quote'; |
public/javascripts/jstoolbar/lang/jstoolbar-vi.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = 'Tiêu đề 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = 'Tiêu đề 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = 'Tiêu đề 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = 'Danh sách không thứ tự'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = 'Danh sách có thứ tự'; |
12 | 13 |
jsToolBar.strings['Quote'] = 'Trích dẫn'; |
public/javascripts/jstoolbar/lang/jstoolbar-zh-tw.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = '標題 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = '標題 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = '標題 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = '項目清單'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = '編號清單'; |
12 | 13 |
jsToolBar.strings['Quote'] = '引文'; |
public/javascripts/jstoolbar/lang/jstoolbar-zh.js (working copy) | ||
---|---|---|
7 | 7 |
jsToolBar.strings['Heading 1'] = '标题 1'; |
8 | 8 |
jsToolBar.strings['Heading 2'] = '标题 2'; |
9 | 9 |
jsToolBar.strings['Heading 3'] = '标题 3'; |
10 |
jsToolBar.strings['Highlighted code'] = 'Highlighted code'; |
|
10 | 11 |
jsToolBar.strings['Unordered list'] = '无序列表'; |
11 | 12 |
jsToolBar.strings['Ordered list'] = '排序列表'; |
12 | 13 |
jsToolBar.strings['Quote'] = '引用'; |
public/javascripts/jstoolbar/markdown.js (working copy) | ||
---|---|---|
170 | 170 |
} |
171 | 171 |
} |
172 | 172 | |
173 |
// Code highlighting |
|
174 |
jsToolBar.prototype.elements.precode = { |
|
175 |
type: 'button', |
|
176 |
title: 'Highlighted code', |
|
177 |
fn: { |
|
178 |
wiki: function() { |
|
179 |
precodeTextField = this; |
|
180 | ||
181 |
var codeRayLanguages = ["c", "clojure", "cpp", "css", "delphi", "diff", "erb", "go", "groovy", "haml", "html", "java", "javascript", "json", "lua", "php", "python", "ruby", "sass", "sql", "text", "xml", "yaml"]; |
|
182 | ||
183 |
var languageOptions = []; |
|
184 |
for (var i = 0; i < codeRayLanguages.length; i++) { |
|
185 |
languageOptions[i] = "<option>" + codeRayLanguages[i] + "</option>"; |
|
186 |
} |
|
187 |
var languageSelect = "<select>" + languageOptions.join("") + "</select>"; |
|
188 |
var hideJs = "hideModal(this);$('#toolbar-code-options').remove();return false;"; |
|
189 |
var questionBox = '<div id="toolbar-code-options" style="display: none"><form action="#"><h3 class="title">Highlight code for</h3><p><label>Language ' + languageSelect + '</label></p><p class="buttons"><input onclick="precodeTextField.encloseLineSelection(\'~~~ \' + $(this).closest(\'div\').find(\'select\').first().val() + \'\\n\', \'\\n~~~\');'+hideJs+'" type="submit" value="Insert code"><input onclick="'+hideJs+'" type="button" value="Cancel"></p></form></div>'; |
|
190 | ||
191 |
$('#main').append(questionBox); |
|
192 |
showModal('toolbar-code-options', '200px'); |
|
193 |
$('#toolbar-code-options select').focus(); |
|
194 |
} |
|
195 |
} |
|
196 |
} |
|
197 | ||
173 | 198 |
// spacer |
174 | 199 |
jsToolBar.prototype.elements.space4 = {type: 'space'} |
175 | 200 |
public/javascripts/jstoolbar/textile.js (working copy) | ||
---|---|---|
179 | 179 |
} |
180 | 180 |
} |
181 | 181 | |
182 |
// Code highlighting |
|
183 |
jsToolBar.prototype.elements.precode = { |
|
184 |
type: 'button', |
|
185 |
title: 'Highlighted code', |
|
186 |
fn: { |
|
187 |
wiki: function() { |
|
188 |
precodeTextField = this; |
|
189 | ||
190 |
var codeRayLanguages = ["c", "clojure", "cpp", "css", "delphi", "diff", "erb", "go", "groovy", "haml", "html", "java", "javascript", "json", "lua", "php", "python", "ruby", "sass", "sql", "text", "xml", "yaml"]; |
|
191 | ||
192 |
var languageOptions = []; |
|
193 |
for (var i = 0; i < codeRayLanguages.length; i++) { |
|
194 |
languageOptions[i] = "<option>" + codeRayLanguages[i] + "</option>"; |
|
195 |
} |
|
196 |
var languageSelect = "<select>" + languageOptions.join("") + "</select>"; |
|
197 |
var hideJs = "hideModal(this);$('#toolbar-code-options').remove();return false;"; |
|
198 |
var questionBox = '<div id="toolbar-code-options" style="display: none"><form action="#"><h3 class="title">Highlight code for</h3><p><label>Language ' + languageSelect + '</label></p><p class="buttons"><input onclick="precodeTextField.encloseLineSelection(\'<pre><code class="\' + $(this).closest(\'div\').find(\'select\').first().val() + \'">\\n\', \'\\n</code></pre>\');'+hideJs+'" type="submit" value="Insert code"><input onclick="'+hideJs+'" type="button" value="Cancel"></p></form></div>'; |
|
199 | ||
200 |
$('#main').append(questionBox); |
|
201 |
showModal('toolbar-code-options', '200px'); |
|
202 |
$('#toolbar-code-options select').focus(); |
|
203 |
} |
|
204 |
} |
|
205 |
} |
|
206 | ||
182 | 207 |
// spacer |
183 | 208 |
jsToolBar.prototype.elements.space4 = {type: 'space'} |
184 | 209 |
public/stylesheets/jstoolbar.css (working copy) | ||
---|---|---|
89 | 89 |
.jstb_pre { |
90 | 90 |
background-image: url(../images/jstoolbar/bt_pre.png); |
91 | 91 |
} |
92 |
.jstb_precode { |
|
93 |
background-image: url(../images/jstoolbar/bt_precode.png); |
|
94 |
} |
|
92 | 95 |
.jstb_link { |
93 | 96 |
background-image: url(../images/jstoolbar/bt_link.png); |
94 | 97 |
} |