bootstrap-wysihtml5-rails 0.3.1.7 → 0.3.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module BootstrapWysihtml5Rails
2
2
  module Rails
3
- VERSION = "0.3.1.7"
3
+ VERSION = "0.3.1.8"
4
4
  end
5
5
  end
@@ -287,7 +287,7 @@
287
287
  var activeButton = $(this).hasClass("wysihtml5-command-active");
288
288
 
289
289
  if (!activeButton) {
290
- insertLinkModal.append('body').modal('show');
290
+ insertLinkModal.appendTo('body').modal('show');
291
291
  insertLinkModal.on('click.dismiss.modal', '[data-dismiss="modal"]', function(e) {
292
292
  e.stopPropagation();
293
293
  });
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Russian translation for bootstrap-wysihtml5
3
+ */
4
+ (function($){
5
+ $.fn.wysihtml5.locale["ru-RU"] = {
6
+ font_styles: {
7
+ normal: "Обычный текст",
8
+ h1: "Заголовок 1",
9
+ h2: "Заголовок 2",
10
+ h3: "Заголовок 3"
11
+ },
12
+ emphasis: {
13
+ bold: "Полужирный",
14
+ italic: "Курсив",
15
+ underline: "Подчёркнутый"
16
+ },
17
+ lists: {
18
+ unordered: "Маркированный список",
19
+ ordered: "Нумерованный список",
20
+ outdent: "Уменьшить отступ",
21
+ indent: "Увеличить отступ"
22
+ },
23
+ link: {
24
+ insert: "Вставить ссылку",
25
+ cancel: "Отмена"
26
+ },
27
+ image: {
28
+ insert: "Вставить изображение",
29
+ cancel: "Отмена"
30
+ },
31
+ html: {
32
+ edit: "HTML код"
33
+ },
34
+ colours: {
35
+ black: "Чёрный",
36
+ silver: "Серебряный",
37
+ gray: "Серый",
38
+ maroon: "Коричневый",
39
+ red: "Красный",
40
+ purple: "Фиолетовый",
41
+ green: "Зелёный",
42
+ olive: "Оливковый",
43
+ navy: "Тёмно-синий",
44
+ blue: "Синий",
45
+ orange: "Оранжевый"
46
+ }
47
+ };
48
+ }(jQuery));
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-wysihtml5-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1.7
4
+ version: 0.3.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-12 00:00:00.000000000 Z
12
+ date: 2012-10-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -84,6 +84,7 @@ files:
84
84
  - vendor/assets/javascripts/bootstrap-wysihtml5/locales/fr-NL.js
85
85
  - vendor/assets/javascripts/bootstrap-wysihtml5/locales/index.js
86
86
  - vendor/assets/javascripts/bootstrap-wysihtml5/locales/pt-BR.js
87
+ - vendor/assets/javascripts/bootstrap-wysihtml5/locales/ru-RU.js
87
88
  - vendor/assets/javascripts/bootstrap-wysihtml5/locales/sv-SE.js
88
89
  - vendor/assets/javascripts/bootstrap-wysihtml5/wysihtml5.js
89
90
  - vendor/assets/stylesheets/bootstrap-wysihtml5/core.css
@@ -103,7 +104,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
104
  version: '0'
104
105
  segments:
105
106
  - 0
106
- hash: 4572557464909679415
107
+ hash: 3694576364886163070
107
108
  required_rubygems_version: !ruby/object:Gem::Requirement
108
109
  none: false
109
110
  requirements:
@@ -112,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
113
  version: '0'
113
114
  segments:
114
115
  - 0
115
- hash: 4572557464909679415
116
+ hash: 3694576364886163070
116
117
  requirements: []
117
118
  rubyforge_project:
118
119
  rubygems_version: 1.8.24