redactor-rails 0.4.5 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +43 -19
- data/lib/generators/redactor/config_generator.rb +3 -3
- data/lib/generators/redactor/templates/config.js +17 -12
- data/lib/redactor-rails/version.rb +1 -1
- data/redactor-rails.gemspec +2 -2
- data/vendor/assets/javascripts/redactor-rails/config.js +1 -2
- data/vendor/assets/javascripts/redactor-rails/langs/ar.js +18 -12
- data/vendor/assets/javascripts/redactor-rails/langs/az.js +72 -0
- data/vendor/assets/javascripts/redactor-rails/langs/ba.js +9 -3
- data/vendor/assets/javascripts/redactor-rails/langs/bg.js +8 -2
- data/vendor/assets/javascripts/redactor-rails/langs/by.js +7 -1
- data/vendor/assets/javascripts/redactor-rails/langs/ca.js +72 -0
- data/vendor/assets/javascripts/redactor-rails/langs/cs.js +28 -22
- data/vendor/assets/javascripts/redactor-rails/langs/da.js +18 -12
- data/vendor/assets/javascripts/redactor-rails/langs/de.js +18 -12
- data/vendor/assets/javascripts/redactor-rails/langs/el.js +72 -0
- data/vendor/assets/javascripts/redactor-rails/langs/en.js +23 -18
- data/vendor/assets/javascripts/redactor-rails/langs/eo.js +31 -25
- data/vendor/assets/javascripts/redactor-rails/langs/es.js +18 -12
- data/vendor/assets/javascripts/redactor-rails/langs/es_ar.js +73 -0
- data/vendor/assets/javascripts/redactor-rails/langs/fa.js +19 -13
- data/vendor/assets/javascripts/redactor-rails/langs/fi.js +13 -11
- data/vendor/assets/javascripts/redactor-rails/langs/fr.js +40 -45
- data/vendor/assets/javascripts/redactor-rails/langs/he.js +72 -0
- data/vendor/assets/javascripts/redactor-rails/langs/hr.js +71 -70
- data/vendor/assets/javascripts/redactor-rails/langs/hu.js +19 -13
- data/vendor/assets/javascripts/redactor-rails/langs/id.js +8 -2
- data/vendor/assets/javascripts/redactor-rails/langs/it.js +19 -13
- data/vendor/assets/javascripts/redactor-rails/langs/ja.js +18 -12
- data/vendor/assets/javascripts/redactor-rails/langs/ko.js +21 -15
- data/vendor/assets/javascripts/redactor-rails/langs/lt.js +72 -0
- data/vendor/assets/javascripts/redactor-rails/langs/lv.js +16 -10
- data/vendor/assets/javascripts/redactor-rails/langs/mk.js +72 -0
- data/vendor/assets/javascripts/redactor-rails/langs/nl.js +19 -13
- data/vendor/assets/javascripts/redactor-rails/langs/no_NB.js +72 -0
- data/vendor/assets/javascripts/redactor-rails/langs/pl.js +18 -12
- data/vendor/assets/javascripts/redactor-rails/langs/pt_br.js +30 -24
- data/vendor/assets/javascripts/redactor-rails/langs/pt_pt.js +72 -0
- data/vendor/assets/javascripts/redactor-rails/langs/ro.js +8 -2
- data/vendor/assets/javascripts/redactor-rails/langs/ru.js +19 -13
- data/vendor/assets/javascripts/redactor-rails/langs/sk.js +19 -13
- data/vendor/assets/javascripts/redactor-rails/langs/sl.js +76 -0
- data/vendor/assets/javascripts/redactor-rails/langs/sq.js +19 -13
- data/vendor/assets/javascripts/redactor-rails/langs/sr-cir.js +9 -3
- data/vendor/assets/javascripts/redactor-rails/langs/sr-lat.js +9 -3
- data/vendor/assets/javascripts/redactor-rails/langs/sv.js +19 -13
- data/vendor/assets/javascripts/redactor-rails/langs/th.js +72 -0
- data/vendor/assets/javascripts/redactor-rails/langs/tr.js +18 -12
- data/vendor/assets/javascripts/redactor-rails/langs/ua.js +17 -11
- data/vendor/assets/javascripts/redactor-rails/langs/vi.js +20 -14
- data/vendor/assets/javascripts/redactor-rails/langs/zh_cn.js +10 -11
- data/vendor/assets/javascripts/redactor-rails/langs/zh_tw.js +69 -70
- data/vendor/assets/javascripts/redactor-rails/plugins/clips.js +50 -24
- data/vendor/assets/javascripts/redactor-rails/plugins/fontcolor.js +72 -77
- data/vendor/assets/javascripts/redactor-rails/plugins/fontfamily.js +29 -21
- data/vendor/assets/javascripts/redactor-rails/plugins/fontsize.js +29 -22
- data/vendor/assets/javascripts/redactor-rails/plugins/fullscreen.js +111 -130
- data/vendor/assets/javascripts/redactor-rails/plugins/textdirection.js +26 -19
- data/vendor/assets/javascripts/redactor-rails/redactor.js +6638 -5879
- data/vendor/assets/javascripts/redactor-rails/redactor.min.js +4 -4
- data/vendor/assets/stylesheets/redactor-rails/css/redactor.css +874 -771
- data/vendor/assets/stylesheets/redactor-rails/plugins/clips.css +0 -28
- metadata +17 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 622d40678e93d8765958c9546e252fa4d614cf2b
|
|
4
|
+
data.tar.gz: 2266d92b29dc11a8406fd2c19e888af261d95faf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65515703fee4a7f7e249eb2da7a29f53aaf6834957ec6caaab465fdf657ca8ca03ffcb186adc832c4139c6408d2d8e06cd538ffef7850c1107819e2f3e314c37
|
|
7
|
+
data.tar.gz: 4ad18b06bf4b483daeb5acc8eb739c476a48c493f83a495f81be60d6d89924cd49f9d4c41071fc026f61e0605770fc08ca4acc20ea3b22da1b104a4a8b109fd8
|
data/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
# Rails 3.2 Integration for Redactor (Devise Edition)
|
|
3
3
|
|
|
4
4
|
The redactor-rails gem integrates the [Redactor](http://redactorjs.com/) editor with the Rails 3.2 asset pipeline.
|
|
5
5
|
|
|
6
|
-
This gem bundles Redactor version
|
|
6
|
+
This gem bundles Redactor version 10.0.4 which is the most recent version as of January 9, 2015. Check [Redactor's changelog](http://imperavi.com/redactor/log/) for further updates.
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
@@ -94,6 +94,16 @@ Add to your `application.js`:
|
|
|
94
94
|
|
|
95
95
|
//= require redactor-rails/langs/zh_tw
|
|
96
96
|
|
|
97
|
+
#### Setting a max image size with carrierwave
|
|
98
|
+
|
|
99
|
+
If you want to set a maximum image size used when a user uploads an image via carrierwave, open the uploader file and add add the following:
|
|
100
|
+
|
|
101
|
+
# app/uploaders/redactor_rails_picture_uploader.rb:33
|
|
102
|
+
|
|
103
|
+
process :resize_to_limit => [500, -1]
|
|
104
|
+
|
|
105
|
+
The above example will set the image to have a maximum width of 500px.
|
|
106
|
+
|
|
97
107
|
### Using plugins
|
|
98
108
|
|
|
99
109
|
This gem comes bundled with several Redactor plugins:
|
|
@@ -104,11 +114,11 @@ This gem comes bundled with several Redactor plugins:
|
|
|
104
114
|
- FontSize
|
|
105
115
|
- FontFamily
|
|
106
116
|
- Text direction
|
|
107
|
-
|
|
108
|
-
Full details of these can be found at [Redactor Plugins](http://imperavi.com/redactor/
|
|
117
|
+
|
|
118
|
+
Full details of these can be found at [Redactor Plugins](http://imperavi.com/redactor/plugins/)
|
|
109
119
|
|
|
110
120
|
To include all the plugins just add to your `application.js`:
|
|
111
|
-
|
|
121
|
+
|
|
112
122
|
//= require redactor-rails/plugins
|
|
113
123
|
|
|
114
124
|
and add to your `application.css`:
|
|
@@ -121,9 +131,18 @@ add for example:
|
|
|
121
131
|
//= require redactor-rails/plugins/fontsize
|
|
122
132
|
//= require redactor-rails/plugins/fontfamily
|
|
123
133
|
|
|
124
|
-
After including the desired plugins they can be configured in the
|
|
125
|
-
|
|
134
|
+
After including the desired plugins they can be configured in the redactor config file as normal.
|
|
135
|
+
|
|
136
|
+
To add it into the editor just add 'plugins' attributes to config.js file and specify which ones do you want to use:
|
|
126
137
|
|
|
138
|
+
$('.redactor').redactor(
|
|
139
|
+
{ "plugins": ['fontsize',
|
|
140
|
+
'fontcolor',
|
|
141
|
+
'fontfamily',
|
|
142
|
+
'fullscreen',
|
|
143
|
+
'textdirection',
|
|
144
|
+
'clips']
|
|
145
|
+
});
|
|
127
146
|
|
|
128
147
|
### Defining a Devise User Model
|
|
129
148
|
|
|
@@ -131,20 +150,20 @@ By default redactor-rails uses the `User` model.
|
|
|
131
150
|
|
|
132
151
|
You may use a different model by:
|
|
133
152
|
|
|
134
|
-
1. Run a migration to update the user_id column in the
|
|
153
|
+
1. Run a migration to update the user_id column in the
|
|
135
154
|
2. Overriding the user class in an initializer.
|
|
136
155
|
3. Overriding the authentication helpers in your controller.
|
|
137
156
|
|
|
138
157
|
Create a new Migration: `rails g rename_user_id_to_new_user_id`
|
|
139
|
-
|
|
158
|
+
|
|
140
159
|
```
|
|
141
160
|
# db/migrate/...rename_user_id_to_new_user_id.rb
|
|
142
|
-
|
|
161
|
+
|
|
143
162
|
class RenameUserIdToNewUserId < ActiveRecord::Migration
|
|
144
163
|
def up
|
|
145
164
|
rename_column :redactor_assets, :user_id, :admin_user_id
|
|
146
165
|
end
|
|
147
|
-
|
|
166
|
+
|
|
148
167
|
def down
|
|
149
168
|
rename_column :redactor_assets, :admin_user_id, :user_id
|
|
150
169
|
end
|
|
@@ -154,29 +173,29 @@ You may use a different model by:
|
|
|
154
173
|
```
|
|
155
174
|
# config/initializers/redactor.rb
|
|
156
175
|
# Overrides the user class
|
|
157
|
-
|
|
176
|
+
|
|
158
177
|
module RedactorRails
|
|
159
178
|
def self.devise_user
|
|
160
179
|
%s(admin_user) # name of your user class
|
|
161
180
|
end
|
|
162
|
-
|
|
181
|
+
|
|
163
182
|
# You may override this to support legacy schema.
|
|
164
183
|
# def self.devise_user_key
|
|
165
184
|
# "#{self.devise_user.to_s}_id".to_sym
|
|
166
185
|
# end
|
|
167
186
|
end
|
|
168
187
|
```
|
|
169
|
-
|
|
188
|
+
|
|
170
189
|
```
|
|
171
190
|
# app/controllers/application_controller.rb
|
|
172
|
-
|
|
191
|
+
|
|
173
192
|
class ApplicationController < ActionController::Base
|
|
174
193
|
...
|
|
175
|
-
|
|
194
|
+
|
|
176
195
|
def redactor_authenticate_user!
|
|
177
196
|
authenticate_admin_user! # devise before_filter
|
|
178
197
|
end
|
|
179
|
-
|
|
198
|
+
|
|
180
199
|
def redactor_current_user
|
|
181
200
|
current_admin_user # devise user helper
|
|
182
201
|
end
|
|
@@ -191,9 +210,14 @@ You may use a different model by:
|
|
|
191
210
|
4. Push to the branch (`git push origin my-new-feature`)
|
|
192
211
|
5. Create new Pull Request
|
|
193
212
|
|
|
213
|
+
## Contributors
|
|
214
|
+
|
|
215
|
+
[Sebastian Wilgosz](https://github.com/wilgoszpl)
|
|
216
|
+
|
|
194
217
|
## Special Thanks
|
|
195
218
|
|
|
196
219
|
[wildjcrt (Jerry Lee)](https://github.com/wildjcrt/)
|
|
220
|
+
|
|
197
221
|
## Statement
|
|
198
222
|
|
|
199
223
|
`redactor-rails` part of reference [galetahub/ckeditor](https://github.com/galetahub/ckeditor) project.
|
|
@@ -206,5 +230,5 @@ the `redactor-rails` project is MIT-LICENSE.
|
|
|
206
230
|
|
|
207
231
|
You may use `Redactor` for non-commercial websites for free, however, we do not guarantee any technical support.
|
|
208
232
|
|
|
209
|
-
Redactor has [3 different licenses](http://
|
|
210
|
-
For details please see [License Agreement](http://
|
|
233
|
+
Redactor has [3 different licenses](http://imperavi.com/redactor/download/) for commercial use.
|
|
234
|
+
For details please see [License Agreement](http://imperavi.com/redactor/license/).
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
require 'rails/generators'
|
|
2
|
+
|
|
2
3
|
module Redactor
|
|
3
4
|
module Generators
|
|
4
5
|
class ConfigGenerator < ::Rails::Generators::Base
|
|
5
6
|
desc "Generates redactor-rails config"
|
|
6
7
|
|
|
7
8
|
def self.source_root
|
|
8
|
-
|
|
9
|
+
@source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
|
|
9
10
|
end
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
def create_config
|
|
13
|
-
|
|
14
|
-
File.join('app/assets/javascripts/redactor-rails', "config.js")
|
|
14
|
+
template "config.js", File.join('app/assets/javascripts/redactor-rails', "config.js")
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
end
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
function(){
|
|
1
|
+
window.init_redactor = function(){
|
|
3
2
|
var csrf_token = $('meta[name=csrf-token]').attr('content');
|
|
4
3
|
var csrf_param = $('meta[name=csrf-param]').attr('content');
|
|
5
4
|
var params;
|
|
6
5
|
if (csrf_param !== undefined && csrf_token !== undefined) {
|
|
7
|
-
|
|
6
|
+
params = csrf_param + "=" + encodeURIComponent(csrf_token);
|
|
8
7
|
}
|
|
9
|
-
$('.redactor').redactor(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
$('.redactor').redactor({
|
|
9
|
+
// You can specify, which ones plugins you need.
|
|
10
|
+
// If you want to use plugins, you have add plugins to your
|
|
11
|
+
// application.js and application.css files and uncomment the line below:
|
|
12
|
+
// "plugins": ['fontsize', 'fontcolor', 'fontfamily', 'fullscreen', 'textdirection', 'clips'],
|
|
13
|
+
"imageUpload":"/redactor_rails/pictures?" + params,
|
|
14
|
+
"imageGetJson":"/redactor_rails/pictures",
|
|
15
|
+
"fileUpload":"/redactor_rails/documents?" + params,
|
|
16
|
+
"fileGetJson":"/redactor_rails/documents",
|
|
17
|
+
"path":"/assets/redactor-rails",
|
|
18
|
+
"css":"style.css"
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
$(document).on( 'ready page:load', window.init_redactor );
|
data/redactor-rails.gemspec
CHANGED
|
@@ -6,8 +6,8 @@ Gem::Specification.new do |gem|
|
|
|
6
6
|
gem.email = ["sammylintw@gmail.com"]
|
|
7
7
|
gem.description = "The redactor-rails gem integrates the Redactor editor"
|
|
8
8
|
gem.summary = ""
|
|
9
|
-
gem.homepage = "https://github.com/
|
|
10
|
-
|
|
9
|
+
gem.homepage = "https://github.com/sammylin/redactor-rails"
|
|
10
|
+
gem.license = 'MIT'
|
|
11
11
|
gem.files = `git ls-files`.split($\)
|
|
12
12
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
|
13
13
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
@@ -6,6 +6,7 @@ $.Redactor.opts.langs['ar'] = {
|
|
|
6
6
|
table: 'جدول',
|
|
7
7
|
link: 'رابط',
|
|
8
8
|
link_insert: 'أضف / حرر رابط',
|
|
9
|
+
link_edit: 'Edit link',
|
|
9
10
|
unlink: 'إزالة الرابط',
|
|
10
11
|
formatting: 'التنسيق',
|
|
11
12
|
paragraph: 'فقرة',
|
|
@@ -20,25 +21,25 @@ $.Redactor.opts.langs['ar'] = {
|
|
|
20
21
|
fontcolor: 'لون الخط',
|
|
21
22
|
backcolor: 'لون الخلفية',
|
|
22
23
|
unorderedlist: 'قائمة منقطة',
|
|
23
|
-
orderedlist: 'قائمة رقمية',
|
|
24
|
+
orderedlist: 'قائمة رقمية',
|
|
24
25
|
outdent: 'أزل المسافة البادئة',
|
|
25
26
|
indent: 'أضف المسافة البادئة',
|
|
26
|
-
cancel: 'تراجع',
|
|
27
|
+
cancel: 'تراجع',
|
|
27
28
|
insert: 'أدخل',
|
|
28
|
-
save: 'احفظ',
|
|
29
|
+
save: 'احفظ',
|
|
29
30
|
_delete: 'أحذف',
|
|
30
|
-
insert_table: 'أدخل جدول',
|
|
31
|
+
insert_table: 'أدخل جدول',
|
|
31
32
|
insert_row_above: 'أضف صف فوق',
|
|
32
33
|
insert_row_below: 'أضف صف تحت',
|
|
33
34
|
insert_column_left: 'أضف عمود يسارا',
|
|
34
|
-
insert_column_right: 'أضف عمود يمينا',
|
|
35
|
-
delete_column: 'احذف العمود',
|
|
36
|
-
delete_row: 'احذف الصف',
|
|
35
|
+
insert_column_right: 'أضف عمود يمينا',
|
|
36
|
+
delete_column: 'احذف العمود',
|
|
37
|
+
delete_row: 'احذف الصف',
|
|
37
38
|
delete_table: 'احذف الجدول',
|
|
38
39
|
rows: 'الصفوف',
|
|
39
|
-
columns: 'الأعمدة',
|
|
40
|
+
columns: 'الأعمدة',
|
|
40
41
|
add_head: 'أضف ترويسة',
|
|
41
|
-
delete_head: 'حذف ترويسة',
|
|
42
|
+
delete_head: 'حذف ترويسة',
|
|
42
43
|
title: 'ترويسة',
|
|
43
44
|
image_position: 'الوضعية',
|
|
44
45
|
none: 'بدون',
|
|
@@ -49,19 +50,24 @@ $.Redactor.opts.langs['ar'] = {
|
|
|
49
50
|
mailto: 'بريد الكتروني',
|
|
50
51
|
web: 'رابط',
|
|
51
52
|
video_html_code: 'كود الفيديو',
|
|
52
|
-
file: 'أضف ملف جديد',
|
|
53
|
+
file: 'أضف ملف جديد',
|
|
53
54
|
upload: 'رفع',
|
|
54
55
|
download: 'تحميل',
|
|
55
56
|
choose: 'اختار',
|
|
56
57
|
or_choose: 'أو اختار',
|
|
57
58
|
drop_file_here: 'اسحب الملف هنا',
|
|
58
|
-
align_left: 'محاذاة الى اليسار',
|
|
59
|
+
align_left: 'محاذاة الى اليسار',
|
|
59
60
|
align_center: 'محاذاة الى الوسط',
|
|
60
61
|
align_right: 'محاذاة الى اليمين',
|
|
61
62
|
align_justify: 'محاذاة كاملة',
|
|
62
63
|
horizontalrule: 'أضف خط عمودي',
|
|
63
64
|
fullscreen: 'الشاشة الكاملة',
|
|
64
65
|
deleted: 'خط في الوسط',
|
|
65
|
-
anchor: 'مرساة'
|
|
66
|
+
anchor: 'مرساة',
|
|
67
|
+
link_new_tab: 'Open link in new tab',
|
|
68
|
+
underline: 'Underline',
|
|
69
|
+
alignment: 'Alignment',
|
|
70
|
+
filename: 'Name (optional)',
|
|
71
|
+
edit: 'Edit'
|
|
66
72
|
};
|
|
67
73
|
})( jQuery );
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
(function ($) {
|
|
2
|
+
$.Redactor.opts.langs['az'] = {
|
|
3
|
+
html: 'HTML',
|
|
4
|
+
video: 'Video əlavə...',
|
|
5
|
+
image: 'Şəkil əlavə...',
|
|
6
|
+
table: 'Cədvəl',
|
|
7
|
+
link: 'Link',
|
|
8
|
+
link_insert: 'Link əlavə...',
|
|
9
|
+
link_edit: 'Edit link',
|
|
10
|
+
unlink: 'Linki sil',
|
|
11
|
+
formatting: 'Format',
|
|
12
|
+
paragraph: 'Paraqraf',
|
|
13
|
+
quote: 'Sitat',
|
|
14
|
+
code: 'Kod',
|
|
15
|
+
header1: 'Başlıq 1',
|
|
16
|
+
header2: 'Başlıq 2',
|
|
17
|
+
header3: 'Başlıq 3',
|
|
18
|
+
header4: 'Başlıq 4',
|
|
19
|
+
bold: 'Qalın',
|
|
20
|
+
italic: 'Kursiv',
|
|
21
|
+
fontcolor: 'Yazı Rəngi',
|
|
22
|
+
backcolor: 'Fon rəngi',
|
|
23
|
+
unorderedlist: 'Sırasız List',
|
|
24
|
+
orderedlist: 'Sıralı List',
|
|
25
|
+
outdent: 'Abzası geri al',
|
|
26
|
+
indent: 'Abzas',
|
|
27
|
+
cancel: 'Ləğv et',
|
|
28
|
+
insert: 'Əlavə et',
|
|
29
|
+
save: 'Yadda saxla',
|
|
30
|
+
_delete: 'Sil',
|
|
31
|
+
insert_table: 'Cədvəl əlavə et...',
|
|
32
|
+
insert_row_above: 'Yuxarıya sətir əlavə et',
|
|
33
|
+
insert_row_below: 'Aşağıya sətir əlavə et',
|
|
34
|
+
insert_column_left: 'Sola sütun əlavə et',
|
|
35
|
+
insert_column_right: 'Sağa sütun əlavə et',
|
|
36
|
+
delete_column: 'Sütunu sil',
|
|
37
|
+
delete_row: 'Sətiri sil',
|
|
38
|
+
delete_table: 'Cədvəli sil',
|
|
39
|
+
rows: 'Sətirlər',
|
|
40
|
+
columns: 'Sütunlar',
|
|
41
|
+
add_head: 'Başlıq əlavə et',
|
|
42
|
+
delete_head: 'Başlığı sil',
|
|
43
|
+
title: 'Başlıq',
|
|
44
|
+
image_position: 'Mövqe',
|
|
45
|
+
none: 'Heç biri',
|
|
46
|
+
left: 'Sol',
|
|
47
|
+
right: 'Sağ',
|
|
48
|
+
image_web_link: 'Şəklin Veb Link',
|
|
49
|
+
text: 'Yazı',
|
|
50
|
+
mailto: 'E-poçt',
|
|
51
|
+
web: 'URL',
|
|
52
|
+
video_html_code: 'Video Embed Kodu',
|
|
53
|
+
file: 'Fayl əlavə et...',
|
|
54
|
+
upload: 'Yüklə',
|
|
55
|
+
download: 'Endir',
|
|
56
|
+
choose: 'Seç',
|
|
57
|
+
or_choose: 'Vəya seç',
|
|
58
|
+
drop_file_here: 'Faylı buraya at',
|
|
59
|
+
align_left: 'Yazıyı sola yanaşdır',
|
|
60
|
+
align_center: 'Yazıyı ortala',
|
|
61
|
+
align_right: 'Yazıyı sağa yanaşdır',
|
|
62
|
+
align_justify: 'Yazının kənarlarını düzləşdir',
|
|
63
|
+
horizontalrule: 'Üfuqi xətt əlavə et',
|
|
64
|
+
deleted: 'Silindi',
|
|
65
|
+
anchor: 'Anchor',
|
|
66
|
+
link_new_tab: 'Linki yeni tabda aç',
|
|
67
|
+
underline: 'Altıxətli',
|
|
68
|
+
alignment: 'Düzləndirmə',
|
|
69
|
+
filename: 'Name (optional)',
|
|
70
|
+
edit: 'Edit'
|
|
71
|
+
};
|
|
72
|
+
})( jQuery );
|
|
@@ -6,6 +6,7 @@ $.Redactor.opts.langs['ba'] = {
|
|
|
6
6
|
table: 'Tabela',
|
|
7
7
|
link: 'Veza',
|
|
8
8
|
link_insert: 'Ubaci vezu ...',
|
|
9
|
+
link_edit: 'Edit link',
|
|
9
10
|
unlink: 'Ukloni vezu',
|
|
10
11
|
formatting: 'Stilovi',
|
|
11
12
|
paragraph: 'Paragraf',
|
|
@@ -20,7 +21,7 @@ $.Redactor.opts.langs['ba'] = {
|
|
|
20
21
|
fontcolor: 'Boja slova',
|
|
21
22
|
backcolor: 'Boja pozadine',
|
|
22
23
|
unorderedlist: 'Nesortirana lista',
|
|
23
|
-
orderedlist: 'Sortirana lista',
|
|
24
|
+
orderedlist: 'Sortirana lista',
|
|
24
25
|
outdent: 'Izvuci',
|
|
25
26
|
indent: 'Uvuci',
|
|
26
27
|
redo: 'Korak naprijed',
|
|
@@ -65,6 +66,11 @@ $.Redactor.opts.langs['ba'] = {
|
|
|
65
66
|
horizontalrule: 'Ubaci horizontalnu liniju',
|
|
66
67
|
fullscreen: 'Prikaz preko čitavog ekrana',
|
|
67
68
|
deleted: 'Izbrisano',
|
|
68
|
-
anchor: 'Sidro'
|
|
69
|
+
anchor: 'Sidro',
|
|
70
|
+
link_new_tab: 'Open link in new tab',
|
|
71
|
+
underline: 'Underline',
|
|
72
|
+
alignment: 'Alignment',
|
|
73
|
+
filename: 'Name (optional)',
|
|
74
|
+
edit: 'Edit'
|
|
69
75
|
};
|
|
70
|
-
})( jQuery );
|
|
76
|
+
})( jQuery );
|
|
@@ -6,6 +6,7 @@ $.Redactor.opts.langs['bg'] = {
|
|
|
6
6
|
table: 'Таблица',
|
|
7
7
|
link: 'Връзка',
|
|
8
8
|
link_insert: 'Вкарай връзка ...',
|
|
9
|
+
link_edit: 'Edit link',
|
|
9
10
|
unlink: 'Премахни връзка',
|
|
10
11
|
formatting: 'Стилове',
|
|
11
12
|
paragraph: 'Параграф',
|
|
@@ -63,6 +64,11 @@ $.Redactor.opts.langs['bg'] = {
|
|
|
63
64
|
fullscreen: 'Цял екран',
|
|
64
65
|
deleted: 'Зачеркни',
|
|
65
66
|
none: 'Няма',
|
|
66
|
-
anchor: '
|
|
67
|
+
anchor: 'Котва',
|
|
68
|
+
link_new_tab: 'Отваряне в нов таб',
|
|
69
|
+
underline: 'Подчертай',
|
|
70
|
+
alignment: 'Подравняване',
|
|
71
|
+
filename: 'Name (optional)',
|
|
72
|
+
edit: 'Edit'
|
|
67
73
|
};
|
|
68
|
-
})( jQuery );
|
|
74
|
+
})( jQuery );
|
|
@@ -6,6 +6,7 @@ $.Redactor.opts.langs['by'] = {
|
|
|
6
6
|
table: 'Табліца',
|
|
7
7
|
link: 'Спасылка',
|
|
8
8
|
link_insert: 'Уставіць спасылку ...',
|
|
9
|
+
link_edit: 'Edit link',
|
|
9
10
|
unlink: 'Выдаліць спасылку',
|
|
10
11
|
formatting: 'Стылі',
|
|
11
12
|
paragraph: 'Звычайны тэкст',
|
|
@@ -61,6 +62,11 @@ $.Redactor.opts.langs['by'] = {
|
|
|
61
62
|
horizontalrule: 'Гарызантальная лінейка',
|
|
62
63
|
fullscreen: 'Ва ўвесь экран',
|
|
63
64
|
deleted: 'Закрэслены',
|
|
64
|
-
anchor: 'Anchor'
|
|
65
|
+
anchor: 'Anchor',
|
|
66
|
+
link_new_tab: 'Open link in new tab',
|
|
67
|
+
underline: 'Underline',
|
|
68
|
+
alignment: 'Alignment',
|
|
69
|
+
filename: 'Name (optional)',
|
|
70
|
+
edit: 'Edit'
|
|
65
71
|
};
|
|
66
72
|
})( jQuery );
|