activeadmin-ckeditor 0.0.16 → 0.0.17
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.
@@ -20,6 +20,8 @@ CKEDITOR.editorConfig = function( config )
|
|
20
20
|
{ name: 'others', items: [ 'Maximize', 'ShowBlocks' ] }
|
21
21
|
];
|
22
22
|
|
23
|
+
config.format_tags = 'p;h2;h3;h4;h5;h6'
|
24
|
+
|
23
25
|
config.floatingtools = 'Basic';
|
24
26
|
config.floatingtools_Basic = [
|
25
27
|
['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link']
|
@@ -1,13 +1,13 @@
|
|
1
1
|
CKEDITOR.plugins.setLang('youtube', 'fr', {
|
2
|
-
button : '
|
3
|
-
title : '
|
2
|
+
button : 'Insérer une vidéo Youtube',
|
3
|
+
title : 'Insérer une vidéo youtube',
|
4
4
|
txtEmbed : 'Coller le code embed ici',
|
5
|
-
txtUrl : 'Coller l\'url de la
|
5
|
+
txtUrl : 'Coller l\'url de la vidéo ici',
|
6
6
|
txtWidth : 'Largeur',
|
7
7
|
txtHeight : 'Hauteur',
|
8
|
-
chkRelated : 'Montrer les suggestions de
|
9
|
-
txtStartAt : 'Commencer
|
10
|
-
chkPrivacy : 'Activer la protection de la vie
|
8
|
+
chkRelated : 'Montrer les suggestions de vidéo à la fin',
|
9
|
+
txtStartAt : 'Commencer à (ss ou mm:ss ou hh:mm:ss)',
|
10
|
+
chkPrivacy : 'Activer la protection de la vie privée',
|
11
11
|
chkOlderCode : 'Utiliser l\'ancien code embed',
|
12
12
|
noCode : 'Vous devez entrer un code embed ou une url',
|
13
13
|
invalidEmbed : 'Le code embed est invalide',
|
@@ -17,5 +17,5 @@ CKEDITOR.plugins.setLang('youtube', 'fr', {
|
|
17
17
|
invalidWidth : 'La largeur saisie est invalide',
|
18
18
|
noHeight : 'Vous devez saisir une hauteur',
|
19
19
|
invalidHeight : 'La hauteur saisie est invalide',
|
20
|
-
invalidTime : 'Le temps de
|
20
|
+
invalidTime : 'Le temps de départ de la vidéo est invalide'
|
21
21
|
});
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin-ckeditor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.17
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -98,7 +98,6 @@ files:
|
|
98
98
|
- app/assets/stylesheets/ckeditor/plugins/texttransform/images/transformToLower.png
|
99
99
|
- app/assets/stylesheets/ckeditor/plugins/texttransform/images/transformToUpper.png
|
100
100
|
- app/assets/stylesheets/ckeditor/plugins/texttransform/lang/en.js
|
101
|
-
- app/assets/stylesheets/ckeditor/plugins/texttransform/lang/tr.js
|
102
101
|
- app/assets/stylesheets/ckeditor/plugins/texttransform/plugin.js
|
103
102
|
- app/assets/stylesheets/ckeditor/plugins/youtube/images/icon.png
|
104
103
|
- app/assets/stylesheets/ckeditor/plugins/youtube/lang/de.js
|
@@ -1,41 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @author: Önder Ceylan <onderceylan@gmail.com>
|
3
|
-
* @copyright Copyright (c) 2013 - Önder Ceylan. All rights reserved.
|
4
|
-
* @license Licensed under the terms of GPL, LGPL and MPL licenses.
|
5
|
-
* @version 1.0
|
6
|
-
*
|
7
|
-
* Date: 5/10/13
|
8
|
-
* Time: 9:45 AM
|
9
|
-
*/
|
10
|
-
|
11
|
-
// define a prototype toUpperCase fn for Turkish character recognization
|
12
|
-
String.prototype.trToUpperCase = function(){
|
13
|
-
var string = this;
|
14
|
-
var letters = { "i": "İ", "ş": "Ş", "ğ": "Ğ", "ü": "Ü", "ö": "Ö", "ç": "Ç", "ı": "I" };
|
15
|
-
string = string.replace(/(([iışğüçö]))/g, function(letter){ return letters[letter]; });
|
16
|
-
if (typeof(String.prototype.toLocaleUpperCase()) != 'undefined') {
|
17
|
-
return string.toLocaleUpperCase();
|
18
|
-
} else {
|
19
|
-
return string.toUpperCase();
|
20
|
-
}
|
21
|
-
};
|
22
|
-
|
23
|
-
// define prototype toLowerCase fn for Turkish character recognization
|
24
|
-
String.prototype.trToLowerCase = function(){
|
25
|
-
var string = this;
|
26
|
-
var letters = { "İ": "i", "I": "ı", "Ş": "ş", "Ğ": "ğ", "Ü": "ü", "Ö": "ö", "Ç": "ç" };
|
27
|
-
string = string.replace(/(([İIŞĞÜÇÖ]))/g, function(letter){ return letters[letter]; });
|
28
|
-
if (typeof(String.prototype.toLocaleLowerCase()) != 'undefined') {
|
29
|
-
return string.toLocaleLowerCase();
|
30
|
-
} else {
|
31
|
-
return string.toLowerCase();
|
32
|
-
}
|
33
|
-
};
|
34
|
-
|
35
|
-
// set CKeditor lang
|
36
|
-
CKEDITOR.plugins.setLang( 'texttransform', 'tr', {
|
37
|
-
transformTextSwitchLabel: 'Harf Düzenini Değiştir',
|
38
|
-
transformTextToLowercaseLabel: 'Küçük Harfe Dönüştür',
|
39
|
-
transformTextToUppercaseLabel: 'Büyük Harfe Dönüştür',
|
40
|
-
transformTextCapitalizeLabel: 'Baş Harfleri Büyüt'
|
41
|
-
});
|