From 32b9bf0ef265355cdb4e10559cfce250af03a30f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 17 Jan 2008 18:39:17 +0000 Subject: [PATCH] Added i18n support to the jstoolbar (only english and french are actually translated). Translations can be found in public/javascripts/jstoolbar/lang/ git-svn-id: http://redmine.rubyforge.org/svn/trunk@1074 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 4 +++- public/javascripts/{ => jstoolbar}/jstoolbar.js | 16 ++++++++++------ .../javascripts/jstoolbar/lang/jstoolbar-bg.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-cs.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-de.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-en.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-es.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-fi.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-fr.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-he.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-it.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-ja.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-ko.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-lt.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-nl.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-pl.js | 15 +++++++++++++++ .../jstoolbar/lang/jstoolbar-pt-br.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-pt.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-ro.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-ru.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-sr.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-sv.js | 15 +++++++++++++++ .../jstoolbar/lang/jstoolbar-zh-tw.js | 15 +++++++++++++++ .../javascripts/jstoolbar/lang/jstoolbar-zh.js | 15 +++++++++++++++ 24 files changed, 343 insertions(+), 7 deletions(-) rename public/javascripts/{ => jstoolbar}/jstoolbar.js (98%) create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-bg.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-cs.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-de.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-en.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-es.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-fi.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-fr.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-he.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-it.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-ja.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-ko.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-lt.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-nl.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-pl.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-pt-br.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-pt.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-ro.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-ru.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-sr.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-sv.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-zh-tw.js create mode 100644 public/javascripts/jstoolbar/lang/jstoolbar-zh.js diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 111709ce4..f0455f3e4 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -433,7 +433,9 @@ module ApplicationHelper def wikitoolbar_for(field_id) return '' unless Setting.text_formatting == 'textile' - javascript_include_tag('jstoolbar') + javascript_tag("var toolbar = new jsToolBar($('#{field_id}')); toolbar.draw();") + javascript_include_tag('jstoolbar/jstoolbar') + + javascript_include_tag("jstoolbar/lang/jstoolbar-#{current_language}") + + javascript_tag("var toolbar = new jsToolBar($('#{field_id}')); toolbar.draw();") end def content_for(name, content = nil, &block) diff --git a/public/javascripts/jstoolbar.js b/public/javascripts/jstoolbar/jstoolbar.js similarity index 98% rename from public/javascripts/jstoolbar.js rename to public/javascripts/jstoolbar/jstoolbar.js index b94a4ed80..65f25bac1 100644 --- a/public/javascripts/jstoolbar.js +++ b/public/javascripts/jstoolbar/jstoolbar.js @@ -67,7 +67,11 @@ function jsToolBar(textarea) { } function jsButton(title, fn, scope, className) { - this.title = title || null; + 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; @@ -368,7 +372,7 @@ jsToolBar.prototype.resizeDragStop = function(event) { // strong jsToolBar.prototype.elements.strong = { type: 'button', - title: 'Strong emphasis', + title: 'Strong', fn: { wiki: function() { this.singleTag('*') } } @@ -377,7 +381,7 @@ jsToolBar.prototype.elements.strong = { // em jsToolBar.prototype.elements.em = { type: 'button', - title: 'Emphasis', + title: 'Italic', fn: { wiki: function() { this.singleTag("_") } } @@ -386,7 +390,7 @@ jsToolBar.prototype.elements.em = { // ins jsToolBar.prototype.elements.ins = { type: 'button', - title: 'Inserted', + title: 'Underline', fn: { wiki: function() { this.singleTag('+') } } @@ -506,7 +510,7 @@ jsToolBar.prototype.elements.space3 = {type: 'space'} // wiki page jsToolBar.prototype.elements.link = { type: 'button', - title: 'Wiki Page Link', + title: 'Wiki link', fn: { wiki: function() { this.encloseSelection("[[", "]]") } } @@ -514,7 +518,7 @@ jsToolBar.prototype.elements.link = { // image jsToolBar.prototype.elements.img = { type: 'button', - title: 'Inline image', + title: 'Image', fn: { wiki: function() { this.encloseSelection("!", "!") } } diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-bg.js b/public/javascripts/jstoolbar/lang/jstoolbar-bg.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-bg.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-cs.js b/public/javascripts/jstoolbar/lang/jstoolbar-cs.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-cs.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-de.js b/public/javascripts/jstoolbar/lang/jstoolbar-de.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-de.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-en.js b/public/javascripts/jstoolbar/lang/jstoolbar-en.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-en.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-es.js b/public/javascripts/jstoolbar/lang/jstoolbar-es.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-es.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-fi.js b/public/javascripts/jstoolbar/lang/jstoolbar-fi.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-fi.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-fr.js b/public/javascripts/jstoolbar/lang/jstoolbar-fr.js new file mode 100644 index 000000000..402c34d29 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-fr.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Gras'; +jsToolBar.strings['Italic'] = 'Italique'; +jsToolBar.strings['Underline'] = 'Souligné'; +jsToolBar.strings['Deleted'] = 'Rayé'; +jsToolBar.strings['Inline quote'] = 'Citation'; +jsToolBar.strings['Code'] = 'Code'; +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['Preformatted text'] = 'Texte préformaté'; +jsToolBar.strings['Wiki link'] = 'Lien vers une page Wiki'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-he.js b/public/javascripts/jstoolbar/lang/jstoolbar-he.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-he.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-it.js b/public/javascripts/jstoolbar/lang/jstoolbar-it.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-it.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-ja.js b/public/javascripts/jstoolbar/lang/jstoolbar-ja.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-ja.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-ko.js b/public/javascripts/jstoolbar/lang/jstoolbar-ko.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-ko.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-lt.js b/public/javascripts/jstoolbar/lang/jstoolbar-lt.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-lt.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-nl.js b/public/javascripts/jstoolbar/lang/jstoolbar-nl.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-nl.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-pl.js b/public/javascripts/jstoolbar/lang/jstoolbar-pl.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-pl.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-pt-br.js b/public/javascripts/jstoolbar/lang/jstoolbar-pt-br.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-pt-br.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-pt.js b/public/javascripts/jstoolbar/lang/jstoolbar-pt.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-pt.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-ro.js b/public/javascripts/jstoolbar/lang/jstoolbar-ro.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-ro.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-ru.js b/public/javascripts/jstoolbar/lang/jstoolbar-ru.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-ru.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-sr.js b/public/javascripts/jstoolbar/lang/jstoolbar-sr.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-sr.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-sv.js b/public/javascripts/jstoolbar/lang/jstoolbar-sv.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-sv.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-zh-tw.js b/public/javascripts/jstoolbar/lang/jstoolbar-zh-tw.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-zh-tw.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; diff --git a/public/javascripts/jstoolbar/lang/jstoolbar-zh.js b/public/javascripts/jstoolbar/lang/jstoolbar-zh.js new file mode 100644 index 000000000..72bab0be3 --- /dev/null +++ b/public/javascripts/jstoolbar/lang/jstoolbar-zh.js @@ -0,0 +1,15 @@ +jsToolBar.strings = {}; +jsToolBar.strings['Strong'] = 'Strong'; +jsToolBar.strings['Italic'] = 'Italic'; +jsToolBar.strings['Underline'] = 'Underline'; +jsToolBar.strings['Deleted'] = 'Deleted'; +jsToolBar.strings['Inline quote'] = 'Inline quote'; +jsToolBar.strings['Code'] = '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 to a Wiki page'; +jsToolBar.strings['Image'] = 'Image'; -- 2.39.5