activeadmin-ckeditor 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. data/.DS_Store +0 -0
  2. data/app/.DS_Store +0 -0
  3. data/app/assets/.DS_Store +0 -0
  4. data/app/assets/javascripts/.DS_Store +0 -0
  5. data/app/assets/javascripts/ckeditor/config.js +118 -0
  6. data/app/assets/stylesheets/.DS_Store +0 -0
  7. data/app/assets/stylesheets/activeadmin-ckeditor.css.sass +3 -0
  8. data/app/assets/stylesheets/ckeditor/.DS_Store +0 -0
  9. data/app/assets/stylesheets/ckeditor/plugins/.DS_Store +0 -0
  10. data/app/assets/stylesheets/ckeditor/plugins/autogrow/plugin.js +187 -0
  11. data/app/assets/stylesheets/ckeditor/plugins/autogrow/samples/autogrow.html +99 -0
  12. data/app/assets/stylesheets/ckeditor/plugins/floating-tools/README.md +20 -0
  13. data/app/assets/stylesheets/ckeditor/plugins/floating-tools/plugin.js +582 -0
  14. data/app/assets/stylesheets/ckeditor/plugins/imagepaste/docs/install.html +64 -0
  15. data/app/assets/stylesheets/ckeditor/plugins/imagepaste/docs/styles.css +59 -0
  16. data/app/assets/stylesheets/ckeditor/plugins/imagepaste/plugin.js +82 -0
  17. data/app/assets/stylesheets/ckeditor/plugins/stylesheetparser/plugin.js +152 -0
  18. data/app/assets/stylesheets/ckeditor/plugins/stylesheetparser/samples/assets/sample.css +70 -0
  19. data/app/assets/stylesheets/ckeditor/plugins/stylesheetparser/samples/stylesheetparser.html +82 -0
  20. data/app/assets/stylesheets/ckeditor/plugins/texttransform/LICENSE.md +28 -0
  21. data/app/assets/stylesheets/ckeditor/plugins/texttransform/README.md +55 -0
  22. data/app/assets/stylesheets/ckeditor/plugins/texttransform/images/transformCapitalize.png +0 -0
  23. data/app/assets/stylesheets/ckeditor/plugins/texttransform/images/transformSwitcher.png +0 -0
  24. data/app/assets/stylesheets/ckeditor/plugins/texttransform/images/transformToLower.png +0 -0
  25. data/app/assets/stylesheets/ckeditor/plugins/texttransform/images/transformToUpper.png +0 -0
  26. data/app/assets/stylesheets/ckeditor/plugins/texttransform/lang/en.js +17 -0
  27. data/app/assets/stylesheets/ckeditor/plugins/texttransform/lang/tr.js +41 -0
  28. data/app/assets/stylesheets/ckeditor/plugins/texttransform/plugin.js +151 -0
  29. data/app/assets/stylesheets/ckeditor/plugins/youtube/images/icon.png +0 -0
  30. data/app/assets/stylesheets/ckeditor/plugins/youtube/lang/de.js +21 -0
  31. data/app/assets/stylesheets/ckeditor/plugins/youtube/lang/en.js +21 -0
  32. data/app/assets/stylesheets/ckeditor/plugins/youtube/lang/fr.js +21 -0
  33. data/app/assets/stylesheets/ckeditor/plugins/youtube/lang/hu.js +21 -0
  34. data/app/assets/stylesheets/ckeditor/plugins/youtube/lang/it.js +21 -0
  35. data/app/assets/stylesheets/ckeditor/plugins/youtube/lang/ja.js +21 -0
  36. data/app/assets/stylesheets/ckeditor/plugins/youtube/lang/pt.js +21 -0
  37. data/app/assets/stylesheets/ckeditor/plugins/youtube/lang/ru.js +21 -0
  38. data/app/assets/stylesheets/ckeditor/plugins/youtube/lang/tr.js +21 -0
  39. data/app/assets/stylesheets/ckeditor/plugins/youtube/plugin.js +321 -0
  40. data/app/assets/stylesheets/ckeditor/skins/.DS_Store +0 -0
  41. data/app/assets/stylesheets/ckeditor/skins/moono/dev/icons16.png +0 -0
  42. data/app/assets/stylesheets/ckeditor/skins/moono/dev/icons16.svg +2106 -0
  43. data/app/assets/stylesheets/ckeditor/skins/moono/dev/icons32.png +0 -0
  44. data/app/assets/stylesheets/ckeditor/skins/moono/dev/icons32.svg +2442 -0
  45. data/app/assets/stylesheets/ckeditor/skins/moono/dev/locations.json +139 -0
  46. data/app/assets/stylesheets/ckeditor/skins/moono/dialog.css.scss +7 -0
  47. data/app/assets/stylesheets/ckeditor/skins/moono/dialog_ie.css.scss +7 -0
  48. data/app/assets/stylesheets/ckeditor/skins/moono/dialog_ie7.css.scss +7 -0
  49. data/app/assets/stylesheets/ckeditor/skins/moono/dialog_ie8.css.scss +8 -0
  50. data/app/assets/stylesheets/ckeditor/skins/moono/dialog_iequirks.css.scss +8 -0
  51. data/app/assets/stylesheets/ckeditor/skins/moono/dialog_opera.css.scss +8 -0
  52. data/app/assets/stylesheets/ckeditor/skins/moono/editor.css.scss +8 -0
  53. data/app/assets/stylesheets/ckeditor/skins/moono/editor_gecko.css.scss +8 -0
  54. data/app/assets/stylesheets/ckeditor/skins/moono/editor_ie.css.scss +8 -0
  55. data/app/assets/stylesheets/ckeditor/skins/moono/editor_ie7.css.scss +8 -0
  56. data/app/assets/stylesheets/ckeditor/skins/moono/editor_ie8.css.scss +8 -0
  57. data/app/assets/stylesheets/ckeditor/skins/moono/editor_iequirks.css.scss +8 -0
  58. data/app/assets/stylesheets/ckeditor/skins/moono/images/arrow.png +0 -0
  59. data/app/assets/stylesheets/ckeditor/skins/moono/images/close.png +0 -0
  60. data/app/assets/stylesheets/ckeditor/skins/moono/images/hidpi/close.png +0 -0
  61. data/app/assets/stylesheets/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
  62. data/app/assets/stylesheets/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
  63. data/app/assets/stylesheets/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
  64. data/app/assets/stylesheets/ckeditor/skins/moono/images/lock-open.png +0 -0
  65. data/app/assets/stylesheets/ckeditor/skins/moono/images/lock.png +0 -0
  66. data/app/assets/stylesheets/ckeditor/skins/moono/images/refresh.png +0 -0
  67. data/app/assets/stylesheets/ckeditor/skins/moono/readme.md +51 -0
  68. data/app/assets/stylesheets/ckeditor/skins/moono/skin.js +10 -0
  69. data/lib/.DS_Store +0 -0
  70. data/lib/activeadmin-ckeditor.rb +3 -3
  71. data/lib/activeadmin-ckeditor/engine.rb +9 -0
  72. data/lib/activeadmin-ckeditor/version.rb +1 -1
  73. data/lib/generators/.DS_Store +0 -0
  74. data/lib/generators/activeadmin/.DS_Store +0 -0
  75. data/lib/generators/activeadmin/ckeditor/install_generator.rb +19 -0
  76. metadata +74 -1
@@ -0,0 +1,28 @@
1
+ Software License Agreement
2
+ ==========================
3
+
4
+ CKEditor Text Transform Plugin - A very simple plugin which provides transforming selected texts to new cases. - http://github.com/onderceylan/ckeditor-texttransform-plugin
5
+ Copyright (c) 2013, Önder Ceylan. All rights reserved.
6
+
7
+ Licensed under the terms of any of the following licenses at your
8
+ choice:
9
+
10
+ - GNU General Public License Version 2 or later (the "GPL")
11
+ http://www.gnu.org/licenses/gpl.html
12
+ (See Appendix A)
13
+
14
+ - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15
+ http://www.gnu.org/licenses/lgpl.html
16
+ (See Appendix B)
17
+
18
+ - Mozilla Public License Version 1.1 or later (the "MPL")
19
+ http://www.mozilla.org/MPL/MPL-1.1.html
20
+ (See Appendix C)
21
+
22
+ You are not required to, but if you want to explicitly declare the
23
+ license you have chosen to be bound to when using, reproducing,
24
+ modifying and distributing this software, just include a text file
25
+ titled "legal.txt" in your version of this software, indicating your
26
+ license choice. In any case, your choice will not restrict any
27
+ recipient of your version of this software to use, reproduce, modify
28
+ and distribute this software under any of the above licenses.
@@ -0,0 +1,55 @@
1
+ Text Transform Plugin for CKEditor
2
+ ================================
3
+
4
+ A very simple plugin which provides transforming selected text to new cases. You can transform selected text to uppercase, lowercase or simply capitalize it.
5
+
6
+ Available Transform Cases
7
+ -------------------------
8
+
9
+ * Transform Text to Uppercase: Convert letters to uppercase
10
+ * Transform Text to Lowercase: Convert letters to lowercase
11
+ * Transform Capitalize: Capitalize each word of selected text
12
+ * Transform Switcher: Loop through all cases
13
+
14
+ Internationalization
15
+ -------------------------
16
+
17
+ Currently plugin supports 2 languages.
18
+
19
+ * en
20
+ * tr
21
+
22
+ *Translations are welcomed.*
23
+
24
+ Usage
25
+ -------------------------
26
+
27
+ 1. Download source files and place them on to be created "texttransform" folder under the CKEditor's plugin base.
28
+
29
+ 2. Define plugin in CKEDITOR config object.
30
+
31
+ CKEDITOR.config.extraPlugins = 'texttransform';
32
+
33
+ 3. Add transform buttons to your editor toolbar.
34
+
35
+ CKEDITOR.config.toolbar = [
36
+ { name: 'texttransform', items: [ 'TransformTextToUppercase', 'TransformTextToLowercase', 'TransformTextCapitalize', 'TransformTextSwitcher' ] }
37
+ ];
38
+
39
+ 4. Set your CKEDITOR language if you did not set it yet.
40
+
41
+ CKEDITOR.config.language = 'en';
42
+
43
+ Demo
44
+ -------------------------
45
+
46
+ [View the live demo](http://jsfiddle.net/t99kV/5/) on jsFiddle.
47
+
48
+
49
+ Cheers
50
+ --------------------
51
+
52
+ Thanks to [CKEditor] [1] and [jsFiddle] [2] for their good work.
53
+
54
+ [1]: http://ckeditor.com "CKEditor"
55
+ [2]: http://jsfiddle.net "jsFiddle"
@@ -0,0 +1,17 @@
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
+ // set CKeditor lang
12
+ CKEDITOR.plugins.setLang( 'texttransform', 'en', {
13
+ transformTextSwitchLabel: 'Transform Text Switcher',
14
+ transformTextToLowercaseLabel: 'Transform Text to Lowercase',
15
+ transformTextToUppercaseLabel: 'Transform Text to Uppercase',
16
+ transformTextCapitalizeLabel: 'Capitalize Text'
17
+ });
@@ -0,0 +1,41 @@
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
+ });
@@ -0,0 +1,151 @@
1
+ /**
2
+ * @authors: Önder Ceylan <onderceylan@gmail.com>, PPKRAUSS https://github.com/ppKrauss
3
+ * @license Licensed under the terms of GPL, LGPL and MPL licenses.
4
+ * @version 1.1
5
+ * @history v1.0 at 2013-05-09 by onderceylan, v1.1 at 2013-08-27 by ppkrauss.
6
+ */
7
+
8
+ CKEDITOR.plugins.add('texttransform',
9
+ {
10
+
11
+ // define lang codes for available lang files here
12
+ lang: 'en,tr',
13
+
14
+ // plugin initialise
15
+ init: function(editor)
16
+ {
17
+ // set num for switcher loop
18
+ var num = 0;
19
+
20
+ // add transformTextSwitch command to be used with button
21
+ editor.addCommand('transformTextSwitch',
22
+ {
23
+ exec : function()
24
+ {
25
+ var selection = editor.getSelection();
26
+ var commandArray = ['transformTextToUppercase', 'transformTextToLowercase', 'transformTextCapitalize'];
27
+
28
+ if (selection.getSelectedText().length > 0) {
29
+
30
+ selection.lock();
31
+
32
+ editor.execCommand( commandArray[num] );
33
+
34
+ selection.unlock(true);
35
+
36
+ if (num < commandArray.length - 1) {
37
+ num++;
38
+ } else {
39
+ num = 0;
40
+ }
41
+
42
+ }
43
+ }
44
+ });
45
+
46
+ // add transformTextToUppercase command to be used with buttons and 'execCommand' method
47
+ editor.addCommand('transformTextToUppercase',
48
+ {
49
+ exec : function()
50
+ {
51
+ var selection = editor.getSelection();
52
+ if (selection.getSelectedText().length > 0) {
53
+ var ranges = selection.getRanges(),
54
+ walker = new CKEDITOR.dom.walker( ranges[0] ),
55
+ node;
56
+ while ( ( node = walker.next() ) )
57
+ if ( node.type == CKEDITOR.NODE_TEXT && node.getText() )
58
+ if (editor.langCode == "tr") {
59
+ node.$.textContent = node.$.textContent.trToUpperCase();
60
+ } else {
61
+ node.$.textContent = node.$.textContent.toLocaleUpperCase();
62
+ }
63
+ }//if
64
+ } //func
65
+ });
66
+
67
+ // add transformTextToUppercase command to be used with buttons and 'execCommand' method
68
+ editor.addCommand('transformTextToLowercase',
69
+ {
70
+ exec : function()
71
+ {
72
+ var selection = editor.getSelection();
73
+ if (selection.getSelectedText().length > 0) {
74
+ var ranges = selection.getRanges(),
75
+ walker = new CKEDITOR.dom.walker( ranges[0] ),
76
+ node;
77
+ while ( ( node = walker.next() ) )
78
+ if ( node.type == CKEDITOR.NODE_TEXT && node.getText() )
79
+ if (editor.langCode == "tr") {
80
+ node.$.textContent = node.$.textContent.trToLowerCase();
81
+ } else {
82
+ node.$.textContent = node.$.textContent.toLocaleLowerCase();
83
+ }
84
+
85
+ }//if
86
+
87
+ }
88
+ });
89
+
90
+ // add transformTextCapitalize command to be used with buttons and 'execCommand' method
91
+ editor.addCommand( 'transformTextCapitalize',
92
+ {
93
+ exec : function()
94
+ {
95
+ var selection = editor.getSelection();
96
+ if (selection.getSelectedText().length > 0) {
97
+ var ranges = selection.getRanges(),
98
+ walker = new CKEDITOR.dom.walker( ranges[0] ),
99
+ node;
100
+ while ( ( node = walker.next() ) )
101
+ if ( node.type == CKEDITOR.NODE_TEXT && node.getText() )
102
+ node.$.textContent = node.$.textContent.replace(
103
+ /[^\s]\S*/g,
104
+ function(txt){
105
+ if (editor.langCode == "tr") {
106
+ return txt.charAt(0).trToUpperCase() +
107
+ txt.substr(1).trToLowerCase();
108
+ } else {
109
+ return txt.charAt(0).toLocaleUpperCase() +
110
+ txt.substr(1).toLocaleLowerCase();
111
+ }
112
+
113
+ }
114
+ );
115
+ }//if
116
+ }
117
+ });
118
+
119
+ // add TransformTextSwitcher button to editor
120
+ editor.ui.addButton('TransformTextSwitcher',
121
+ {
122
+ label: editor.lang.texttransform.transformTextSwitchLabel,
123
+ command: 'transformTextSwitch',
124
+ icon: this.path + 'images/transformSwitcher.png'
125
+ } );
126
+
127
+ // add TransformTextToLowercase button to editor
128
+ editor.ui.addButton('TransformTextToLowercase',
129
+ {
130
+ label: editor.lang.texttransform.transformTextToLowercaseLabel,
131
+ command: 'transformTextToLowercase',
132
+ icon: this.path + 'images/transformToLower.png'
133
+ } );
134
+
135
+ // add TransformTextToUppercase button to editor
136
+ editor.ui.addButton('TransformTextToUppercase',
137
+ {
138
+ label: editor.lang.texttransform.transformTextToUppercaseLabel,
139
+ command: 'transformTextToUppercase',
140
+ icon: this.path + 'images/transformToUpper.png'
141
+ } );
142
+
143
+ // add TransformTextCapitalize button to editor
144
+ editor.ui.addButton('TransformTextCapitalize',
145
+ {
146
+ label: editor.lang.texttransform.transformTextCapitalizeLabel,
147
+ command: 'transformTextCapitalize',
148
+ icon: this.path + 'images/transformCapitalize.png'
149
+ } );
150
+ }
151
+ } );
@@ -0,0 +1,21 @@
1
+ CKEDITOR.plugins.setLang('youtube', 'de', {
2
+ button : 'Youtube Video einbinden',
3
+ title : 'Youtube Video einbinden',
4
+ txtEmbed : 'Embed Code hier einfügen',
5
+ txtUrl : 'Youtube Video URL hier einfügen',
6
+ txtWidth : 'Breite',
7
+ txtHeight : 'Höhe',
8
+ chkRelated : 'Video Vorschläge am Video Ende einblenden',
9
+ txtStartAt : 'Start bei Position (ss oder mm:ss oder hh:mm:ss)',
10
+ chkPrivacy : 'Aktiviere die erweiterte Privatsphäre',
11
+ chkOlderCode : 'Benutzer alten Embed Code',
12
+ noCode : 'Sie müssen einen Embed Code oder URL angeben',
13
+ invalidEmbed : 'Der angegebene Embed Code scheint nicht gültig zu sein.',
14
+ invalidUrl : 'Die angegebene URL scheint nicht gültig zu sein.',
15
+ or : 'oder',
16
+ noWidth : 'Geben Sie eine Breite an',
17
+ invalidWidth : 'Geben Sie eine gültige Breite an',
18
+ noHeight : 'Geben Sie eine Höhe an',
19
+ invalidHeight : 'Geben Sie eine gültige Höhe an',
20
+ invalidTime : 'Geben Sie eine gültige Startzeit an'
21
+ });
@@ -0,0 +1,21 @@
1
+ CKEDITOR.plugins.setLang('youtube', 'en', {
2
+ button : 'Embed Youtube Video',
3
+ title : 'Embed Youtube Video',
4
+ txtEmbed : 'Paste Embed Code Here',
5
+ txtUrl : 'Paste Youtube Video URL',
6
+ txtWidth : 'Width',
7
+ txtHeight : 'Height',
8
+ chkRelated : 'Show suggested videos at the video\'s end',
9
+ txtStartAt : 'Start at (ss or mm:ss or hh:mm:ss)',
10
+ chkPrivacy : 'Enable privacy-enhanced mode',
11
+ chkOlderCode : 'Use old embed code',
12
+ noCode : 'You must input an embed code or URL',
13
+ invalidEmbed : 'The embed code you\'ve entered doesn\'t appear to be valid',
14
+ invalidUrl : 'The URL you\'ve entered doesn\'t appear to be valid',
15
+ or : 'or',
16
+ noWidth : 'You must inform the width',
17
+ invalidWidth : 'Inform a valid width',
18
+ noHeight : 'You must inform the height',
19
+ invalidHeight : 'Inform a valid height',
20
+ invalidTime : 'Inform a valid start time'
21
+ });
@@ -0,0 +1,21 @@
1
+ CKEDITOR.plugins.setLang('youtube', 'fr', {
2
+ button : 'Ins�rer une vid�o Youtube',
3
+ title : 'Ins�rer une vid�o youtube',
4
+ txtEmbed : 'Coller le code embed ici',
5
+ txtUrl : 'Coller l\'url de la vid�o ici',
6
+ txtWidth : 'Largeur',
7
+ txtHeight : 'Hauteur',
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
+ chkOlderCode : 'Utiliser l\'ancien code embed',
12
+ noCode : 'Vous devez entrer un code embed ou une url',
13
+ invalidEmbed : 'Le code embed est invalide',
14
+ invalidUrl : 'L\'url est invalide',
15
+ or : 'ou',
16
+ noWidth : 'Vous devez saisir une largeur',
17
+ invalidWidth : 'La largeur saisie est invalide',
18
+ noHeight : 'Vous devez saisir une hauteur',
19
+ invalidHeight : 'La hauteur saisie est invalide',
20
+ invalidTime : 'Le temps de d�part de la vid�o est invalide'
21
+ });
@@ -0,0 +1,21 @@
1
+ CKEDITOR.plugins.setLang('youtube', 'hu', {
2
+ button : 'Youtube videó beillesztése',
3
+ title : 'Youtube videó beillesztése',
4
+ txtEmbed : 'Illessze be a beágyazott kódot',
5
+ txtUrl : 'Illessze be a Youtube videó URL-jét',
6
+ txtWidth : 'Szélesség',
7
+ txtHeight : 'Magasság',
8
+ txtStartAt : 'Kezdő időpont (ss vagy mm:ss vagy hh:mm:ss)',
9
+ chkRelated : 'Ajánlott videók megjelenítése, amikor a videó befejeződik',
10
+ chkPrivacy : 'Fokozott adatvédelmi mód engedélyezése',
11
+ chkOlderCode : 'Régi beágyazott kód használata',
12
+ noCode : 'A beágyazott kód, vagy az URL megadása kötelező',
13
+ invalidEmbed : 'A beágyazott kód érvénytelen',
14
+ invalidUrl : 'A megadott URL érvénytelen',
15
+ or : 'vagy',
16
+ noWidth : 'A szélesség megadása kötelező',
17
+ invalidWidth : 'Érvényes szélességet adjon meg',
18
+ noHeight : 'A magasság megadása kötelező',
19
+ invalidHeight : 'Érvényes magasságot adjon meg',
20
+ invalidTime : 'Érvényes kezdő időpontot adjon meg'
21
+ });
@@ -0,0 +1,21 @@
1
+ CKEDITOR.plugins.setLang('youtube', 'it', {
2
+ button : 'Incorpora video Youtube',
3
+ title : 'Incorpora video Youtube',
4
+ txtEmbed : 'Incolla qui il codice di incorporamento',
5
+ txtUrl : 'Incolla l\'URL del video Youtube',
6
+ txtWidth : 'Larghezza',
7
+ txtHeight : 'Altezza',
8
+ chkRelated : 'Mostra i video suggeriti dopo il video',
9
+ txtStartAt : 'Inizia a (ss o mm:ss o hh:mm:ss)',
10
+ chkPrivacy : 'Abilita la protezione della privacy',
11
+ chkOlderCode : 'Usa il vecchio codice di incorporamento',
12
+ noCode : 'Devi inserire un codice di incorporamento o un URL',
13
+ invalidEmbed : 'Il codice di incorporamento inserito non sembra valido',
14
+ invalidUrl : 'L\'URL inserito non sembra valido',
15
+ or : 'o',
16
+ noWidth : 'Devi indicare la larghezza',
17
+ invalidWidth : 'Indica una larghezza valida',
18
+ noHeight : 'Devi indicare l\'altezza',
19
+ invalidHeight : 'Indica un\'altezza valida',
20
+ invalidTime : 'Indica un tempo di inizio valido'
21
+ });
@@ -0,0 +1,21 @@
1
+ CKEDITOR.plugins.setLang('youtube', 'ja', {
2
+ button : 'Youtube動画埋め込み',
3
+ title : 'Youtube動画埋め込み',
4
+ txtEmbed : '埋め込みコードを貼り付けてください',
5
+ txtUrl : 'URLを貼り付けてください',
6
+ txtWidth : '幅',
7
+ txtHeight : '高さ',
8
+ chkRelated : '動画が終わったら関連動画を表示する',
9
+ txtStartAt : 'Start at',
10
+ chkPrivacy : 'プライバシー強化モードを有効にする',
11
+ chkOlderCode : '以前の埋め込みコードを使用する',
12
+ noCode : '埋め込みコードまたはURLを入力してください',
13
+ invalidEmbed : '不適切な埋め込みコードが入力されました',
14
+ invalidUrl : '不適切なURLが入力されました',
15
+ or : 'または',
16
+ noWidth : '幅を指定してください',
17
+ invalidWidth : '幅指定に誤りがあります',
18
+ noHeight : '高さを指定してください',
19
+ invalidHeight : '高さ指定に誤りがあります',
20
+ invalidTime : 'Inform a valid start time'
21
+ });