spree_summernote 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/.rspec +1 -0
  4. data/Gemfile +7 -0
  5. data/LICENSE +21 -0
  6. data/README.md +32 -0
  7. data/Rakefile +46 -0
  8. data/app/assets/javascripts/spree/backend/spree_summernote.js +3 -0
  9. data/app/assets/javascripts/spree_summernote/locales/summernote-ar-AR.js +97 -0
  10. data/app/assets/javascripts/spree_summernote/locales/summernote-ca-ES.js +95 -0
  11. data/app/assets/javascripts/spree_summernote/locales/summernote-cs-CZ.js +96 -0
  12. data/app/assets/javascripts/spree_summernote/locales/summernote-da-DK.js +107 -0
  13. data/app/assets/javascripts/spree_summernote/locales/summernote-de-DE.js +97 -0
  14. data/app/assets/javascripts/spree_summernote/locales/summernote-es-ES.js +98 -0
  15. data/app/assets/javascripts/spree_summernote/locales/summernote-es-EU.js +96 -0
  16. data/app/assets/javascripts/spree_summernote/locales/summernote-fa-IR.js +98 -0
  17. data/app/assets/javascripts/spree_summernote/locales/summernote-fi-FI.js +97 -0
  18. data/app/assets/javascripts/spree_summernote/locales/summernote-fr-FR.js +100 -0
  19. data/app/assets/javascripts/spree_summernote/locales/summernote-he-IL.js +100 -0
  20. data/app/assets/javascripts/spree_summernote/locales/summernote-hu-HU.js +98 -0
  21. data/app/assets/javascripts/spree_summernote/locales/summernote-id-ID.js +96 -0
  22. data/app/assets/javascripts/spree_summernote/locales/summernote-it-IT.js +97 -0
  23. data/app/assets/javascripts/spree_summernote/locales/summernote-ja-JP.js +97 -0
  24. data/app/assets/javascripts/spree_summernote/locales/summernote-ko-KR.js +103 -0
  25. data/app/assets/javascripts/spree_summernote/locales/summernote-nb-NO.js +97 -0
  26. data/app/assets/javascripts/spree_summernote/locales/summernote-nl-NL.js +97 -0
  27. data/app/assets/javascripts/spree_summernote/locales/summernote-pl-PL.js +105 -0
  28. data/app/assets/javascripts/spree_summernote/locales/summernote-pt-BR.js +96 -0
  29. data/app/assets/javascripts/spree_summernote/locales/summernote-pt-PT.js +96 -0
  30. data/app/assets/javascripts/spree_summernote/locales/summernote-ro-RO.js +95 -0
  31. data/app/assets/javascripts/spree_summernote/locales/summernote-ru-RU.js +100 -0
  32. data/app/assets/javascripts/spree_summernote/locales/summernote-sk-SK.js +95 -0
  33. data/app/assets/javascripts/spree_summernote/locales/summernote-sl-SI.js +99 -0
  34. data/app/assets/javascripts/spree_summernote/locales/summernote-sr-RS-Latin.js +97 -0
  35. data/app/assets/javascripts/spree_summernote/locales/summernote-sr-RS.js +97 -0
  36. data/app/assets/javascripts/spree_summernote/locales/summernote-sv-SE.js +97 -0
  37. data/app/assets/javascripts/spree_summernote/locales/summernote-th-TH.js +99 -0
  38. data/app/assets/javascripts/spree_summernote/locales/summernote-tr-TR.js +104 -0
  39. data/app/assets/javascripts/spree_summernote/locales/summernote-uk-UA.js +99 -0
  40. data/app/assets/javascripts/spree_summernote/locales/summernote-vi-VN.js +97 -0
  41. data/app/assets/javascripts/spree_summernote/locales/summernote-zh-CN.js +96 -0
  42. data/app/assets/javascripts/spree_summernote/locales/summernote-zh-TW.js +95 -0
  43. data/app/assets/javascripts/spree_summernote/summernote.js +7006 -0
  44. data/app/assets/javascripts/spree_summernote/summernote_locales.js +2 -0
  45. data/app/assets/javascripts/spree_summernote/summernote_settings.js +50 -0
  46. data/app/assets/stylesheets/spree/backend/spree_summernote.css +5 -0
  47. data/app/assets/stylesheets/spree_summernote/summernote-bs3.css +5442 -0
  48. data/app/assets/stylesheets/spree_summernote/summernote.css +1 -0
  49. data/bin/rails +7 -0
  50. data/config/locales/en.yml +5 -0
  51. data/config/routes.rb +3 -0
  52. data/lib/generators/spree_summernote/install/install_generator.rb +15 -0
  53. data/lib/spree_summernote/engine.rb +20 -0
  54. data/lib/spree_summernote/factories.rb +6 -0
  55. data/lib/spree_summernote.rb +2 -0
  56. data/spec/spec_helper.rb +87 -0
  57. data/spree_summernote.gemspec +32 -0
  58. metadata +268 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b2000c4cf521e7f3ddc05b473709fcd8bb4cc1db
4
+ data.tar.gz: 53d77f0631c228cf51e59d9c6a123352b215d0e1
5
+ SHA512:
6
+ metadata.gz: 673ba5a7668a8f8b325dc7d09f9ac5883ceff3778e6082cdda74e5d98bce870d726a83726778ba99ed130ec6bbbd9c8c53131d127e1042c429ce0d259d4011db
7
+ data.tar.gz: 7bbef436c8876ec17f65cfdd78b1e30130113de08c452387ff09ebf18d5a7ec2de7bbaa18f70a75961ce06b5b41cf64a34f5d35493484b302c46f321adf6de50
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ \#*
2
+ *~
3
+ .#*
4
+ .DS_Store
5
+ .idea
6
+ .project
7
+ .sass-cache
8
+ coverage
9
+ Gemfile.lock
10
+ tmp
11
+ nbproject
12
+ pkg
13
+ *.swp
14
+ spec/dummy
15
+ Guardfile
16
+ .ruby-version
17
+ .ruby-gemset
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'spree', github: 'spree/spree', branch: '3-0-stable'
4
+ # Provides basic authentication functionality for testing parts of your engine
5
+ gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '3-0-stable'
6
+
7
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Dominic Stockdale
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,32 @@
1
+ SpreeSummernote
2
+ ===============
3
+
4
+ This extention for Spree will add Summernote http://summernote.org/ the rich text editor to Spree Commerce backend. It's rough around the edges and not configurable at the moment but it suits my purposes. I'm using it in a couple of extensions and need to be able to share this between them. I'll probably extend it quite a bit as I'm already seeing a need to (like what's in the toolbar).
5
+
6
+ Installation
7
+ ------------
8
+
9
+ Add spree_summernote to your Gemfile:
10
+
11
+ ```ruby
12
+ gem 'spree_summernote'
13
+ ```
14
+
15
+ Bundle your dependencies and run the installation generator:
16
+
17
+ ```shell
18
+ bundle
19
+ bundle exec rails g spree_summernote:install
20
+ ```
21
+
22
+ Testing
23
+ -------
24
+
25
+ First bundle your dependencies, then run `rake`. `rake` will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using `rake test_app`.
26
+
27
+ ```shell
28
+ bundle
29
+ bundle exec rake
30
+ ```
31
+
32
+ Copyright (c) 2015 Dominic Stockdlae, released under the MIT License
data/Rakefile ADDED
@@ -0,0 +1,46 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'rdoc/task'
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'SpreeContent'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.rdoc')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
15
+ end
16
+
17
+ Bundler::GemHelper.install_tasks
18
+
19
+ require 'rspec/core/rake_task'
20
+ require 'spree/testing_support/extension_rake'
21
+
22
+ RSpec::Core::RakeTask.new
23
+
24
+ task :default do
25
+ if Dir["spec/dummy"].empty?
26
+ Rake::Task[:test_app].invoke
27
+ Dir.chdir("../../")
28
+ end
29
+ Rake::Task[:spec].invoke
30
+ end
31
+
32
+ desc 'Generates a dummy app for testing'
33
+ task :test_app do
34
+ ENV['LIB_NAME'] = 'spree_summernote'
35
+ Rake::Task['extension:test_app'].invoke
36
+ end
37
+
38
+ begin
39
+ APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
40
+ load 'rails/tasks/engine.rake'
41
+ rescue LoadError
42
+ if Dir["spec/dummy"].empty?
43
+ Rake::Task[:test_app].invoke
44
+ Dir.chdir("../../")
45
+ end
46
+ end
@@ -0,0 +1,3 @@
1
+ //= require spree_summernote/summernote
2
+ //= require spree_summernote/summernote_locales
3
+ //= require spree_summernote/summernote_settings
@@ -0,0 +1,97 @@
1
+ (function ($) {
2
+ $.extend($.summernote.lang, {
3
+ 'ar-AR': {
4
+ font: {
5
+ bold: 'عريض',
6
+ italic: 'مائل',
7
+ underline: 'تحته خط',
8
+ clear: 'مسح التنسيق',
9
+ height: 'إرتفاع السطر',
10
+ name: 'الخط',
11
+ strikethrough: 'فى وسطه خط',
12
+ size: 'الحجم'
13
+ },
14
+ image: {
15
+ image: 'صورة',
16
+ insert: 'إضافة صورة',
17
+ resizeFull: 'الحجم بالكامل',
18
+ resizeHalf: 'تصغير للنصف',
19
+ resizeQuarter: 'تصغير للربع',
20
+ floatLeft: 'تطيير لليسار',
21
+ floatRight: 'تطيير لليمين',
22
+ floatNone: 'ثابته',
23
+ dragImageHere: 'إدرج الصورة هنا',
24
+ selectFromFiles: 'حدد ملف',
25
+ url: 'رابط الصورة',
26
+ remove: 'حذف الصورة'
27
+ },
28
+ link: {
29
+ link: 'رابط رابط',
30
+ insert: 'إدراج',
31
+ unlink: 'حذف الرابط',
32
+ edit: 'تعديل',
33
+ textToDisplay: 'النص',
34
+ url: 'مسار الرابط',
35
+ openInNewWindow: 'فتح في نافذة جديدة'
36
+ },
37
+ table: {
38
+ table: 'جدول'
39
+ },
40
+ hr: {
41
+ insert: 'إدراج خط أفقي'
42
+ },
43
+ style: {
44
+ style: 'تنسيق',
45
+ normal: 'عادي',
46
+ blockquote: 'إقتباس',
47
+ pre: 'شفيرة',
48
+ h1: 'عنوان رئيسي 1',
49
+ h2: 'عنوان رئيسي 2',
50
+ h3: 'عنوان رئيسي 3',
51
+ h4: 'عنوان رئيسي 4',
52
+ h5: 'عنوان رئيسي 5',
53
+ h6: 'عنوان رئيسي 6'
54
+ },
55
+ lists: {
56
+ unordered: 'قائمة مُنقطة',
57
+ ordered: 'قائمة مُرقمة'
58
+ },
59
+ options: {
60
+ help: 'مساعدة',
61
+ fullscreen: 'حجم الشاشة بالكامل',
62
+ codeview: 'شفيرة المصدر'
63
+ },
64
+ paragraph: {
65
+ paragraph: 'فقرة',
66
+ outdent: 'محاذاة للخارج',
67
+ indent: 'محاذاة للداخل',
68
+ left: 'محاذاة لليسار',
69
+ center: 'توسيط',
70
+ right: 'محاذاة لليمين',
71
+ justify: 'ملئ السطر'
72
+ },
73
+ color: {
74
+ recent: 'تم إستخدامه',
75
+ more: 'المزيد',
76
+ background: 'لون الخلفية',
77
+ foreground: 'لون النص',
78
+ transparent: 'شفاف',
79
+ setTransparent: 'بدون خلفية',
80
+ reset: 'إعادة الضبط',
81
+ resetToDefault: 'إعادة الضبط'
82
+ },
83
+ shortcut: {
84
+ shortcuts: 'إختصارات',
85
+ close: 'غلق',
86
+ textFormatting: 'تنسيق النص',
87
+ action: 'Action',
88
+ paragraphFormatting: 'تنسيق الفقرة',
89
+ documentStyle: 'تنسيق المستند'
90
+ },
91
+ history: {
92
+ undo: 'تراجع',
93
+ redo: 'إعادة'
94
+ }
95
+ }
96
+ });
97
+ })(jQuery);
@@ -0,0 +1,95 @@
1
+ (function ($) {
2
+ $.extend($.summernote.lang, {
3
+ 'ca-ES': {
4
+ font: {
5
+ bold: 'Negreta',
6
+ italic: 'Cursiva',
7
+ underline: 'Subratllat',
8
+ clear: 'Treure estil de lletra',
9
+ height: 'Alçada de línia',
10
+ strikethrough: 'Ratllat',
11
+ size: 'Mida de lletra'
12
+ },
13
+ image: {
14
+ image: 'Imatge',
15
+ insert: 'Inserir imatge',
16
+ resizeFull: 'Redimensionar a mida completa',
17
+ resizeHalf: 'Redimensionar a la meitat',
18
+ resizeQuarter: 'Redimensionar a un quart',
19
+ floatLeft: 'Surar a l%27esquerra',
20
+ floatRight: 'Surar a la dreta',
21
+ floatNone: 'No surar',
22
+ dragImageHere: 'Arrossegueu una imatge aquí',
23
+ selectFromFiles: 'Seleccioneu des dels arxius',
24
+ url: 'URL de la imatge'
25
+ },
26
+ link: {
27
+ link: 'Enllaç',
28
+ insert: 'Inserir enllaç',
29
+ unlink: 'Treure enllaç',
30
+ edit: 'Editar',
31
+ textToDisplay: 'Text per mostrar',
32
+ url: 'Cap a quina URL porta l\'enllaç?',
33
+ openInNewWindow: 'Obrir en una finestra nova'
34
+ },
35
+ table: {
36
+ table: 'Taula'
37
+ },
38
+ hr: {
39
+ insert: 'Inserir línia horitzontal'
40
+ },
41
+ style: {
42
+ style: 'Estil',
43
+ normal: 'Normal',
44
+ blockquote: 'Cita',
45
+ pre: 'Codi',
46
+ h1: 'Títol 1',
47
+ h2: 'Títol 2',
48
+ h3: 'Títol 3',
49
+ h4: 'Títol 4',
50
+ h5: 'Títol 5',
51
+ h6: 'Títol 6'
52
+ },
53
+ lists: {
54
+ unordered: 'Llista desendreçada',
55
+ ordered: 'Llista endreçada'
56
+ },
57
+ options: {
58
+ help: 'Ajut',
59
+ fullscreen: 'Pantalla sencera',
60
+ codeview: 'Veure codi font'
61
+ },
62
+ paragraph: {
63
+ paragraph: 'Paràgraf',
64
+ outdent: 'Menys tabulació',
65
+ indent: 'Més tabulació',
66
+ left: 'Alinear a l\'esquerra',
67
+ center: 'Alinear al mig',
68
+ right: 'Alinear a la dreta',
69
+ justify: 'Justificar'
70
+ },
71
+ color: {
72
+ recent: 'Últim color',
73
+ more: 'Més colors',
74
+ background: 'Color de fons',
75
+ foreground: 'Color de lletra',
76
+ transparent: 'Transparent',
77
+ setTransparent: 'Establir transparent',
78
+ reset: 'Restablir',
79
+ resetToDefault: 'Restablir per defecte'
80
+ },
81
+ shortcut: {
82
+ shortcuts: 'Dreceres de teclat',
83
+ close: 'Tancar',
84
+ textFormatting: 'Format de text',
85
+ action: 'Acció',
86
+ paragraphFormatting: 'Format de paràgraf',
87
+ documentStyle: 'Estil del document'
88
+ },
89
+ history: {
90
+ undo: 'Desfer',
91
+ redo: 'Refer'
92
+ }
93
+ }
94
+ });
95
+ })(jQuery);
@@ -0,0 +1,96 @@
1
+ (function ($) {
2
+ $.extend($.summernote.lang, {
3
+ 'cs-CZ': {
4
+ font: {
5
+ bold: 'Tučné',
6
+ italic: 'Kurzíva',
7
+ underline: 'Podtržené',
8
+ clear: 'Odstranit styl písma',
9
+ height: 'Výška řádku',
10
+ strikethrough: 'Přeškrtnuté',
11
+ size: 'Velikost písma'
12
+ },
13
+ image: {
14
+ image: 'Obrázek',
15
+ insert: 'Vložit obrázek',
16
+ resizeFull: 'Původní velikost',
17
+ resizeHalf: 'Poloviční velikost',
18
+ resizeQuarter: 'Čtvrteční velikost',
19
+ floatLeft: 'Umístit doleva',
20
+ floatRight: 'Umístit doprava',
21
+ floatNone: 'Neobtékat textem',
22
+ dragImageHere: 'Přetáhnout sem obrázek',
23
+ selectFromFiles: 'Vybrat soubor',
24
+ url: 'URL obrázku'
25
+ },
26
+ link: {
27
+ link: 'Odkaz',
28
+ insert: 'Vytvořit odkaz',
29
+ unlink: 'Zrušit odkaz',
30
+ edit: 'Upravit',
31
+ textToDisplay: 'Zobrazovaný text',
32
+ url: 'Na jaké URL má tento odkaz vést?',
33
+ openInNewWindow: 'Otevřít v novém okně'
34
+ },
35
+ table: {
36
+ table: 'Tabulka'
37
+ },
38
+ hr: {
39
+ insert: 'Vložit vodorovnou čáru'
40
+ },
41
+ style: {
42
+ style: 'Styl',
43
+ normal: 'Normální',
44
+ blockquote: 'Citace',
45
+ pre: 'Kód',
46
+ h1: 'Nadpis 1',
47
+ h2: 'Nadpis 2',
48
+ h3: 'Nadpis 3',
49
+ h4: 'Nadpis 4',
50
+ h5: 'Nadpis 5',
51
+ h6: 'Nadpis 6'
52
+ },
53
+ lists: {
54
+ unordered: 'Odrážkový seznam',
55
+ ordered: 'Číselný seznam'
56
+ },
57
+ options: {
58
+ help: 'Nápověda',
59
+ fullscreen: 'Celá obrazovka',
60
+ codeview: 'HTML kód'
61
+ },
62
+ paragraph: {
63
+ paragraph: 'Odstavec',
64
+ outdent: 'Zvětšit odsazení',
65
+ indent: 'Zmenšit odsazení',
66
+ left: 'Zarovnat doleva',
67
+ center: 'Zarovnat na střed',
68
+ right: 'Zarovnat doprava',
69
+ justify: 'Zarovnat oboustranně'
70
+ },
71
+ color: {
72
+ recent: 'Aktuální barva',
73
+ more: 'Další barvy',
74
+ background: 'Barva pozadí',
75
+ foreground: 'Barva písma',
76
+ transparent: 'Průhlednost',
77
+ setTransparent: 'Nastavit průhlednost',
78
+ reset: 'Obnovit',
79
+ resetToDefault: 'Obnovit výchozí'
80
+ },
81
+ shortcut: {
82
+ shortcuts: 'Klávesové zkratky',
83
+ close: 'Zavřít',
84
+ textFormatting: 'Formátování textu',
85
+ action: 'Akce',
86
+ paragraphFormatting: 'Formátování odstavce',
87
+ documentStyle: 'Styl dokumentu'
88
+ },
89
+ history: {
90
+ undo: 'Krok vzad',
91
+ redo: 'Krok vpřed'
92
+ }
93
+
94
+ }
95
+ });
96
+ })(jQuery);
@@ -0,0 +1,107 @@
1
+ (function ($) {
2
+ $.extend($.summernote.lang, {
3
+ 'da-DK': {
4
+ font: {
5
+ bold: 'Fed',
6
+ italic: 'Kursiv',
7
+ underline: 'Understreget',
8
+ clear: 'Fjern formatering',
9
+ height: 'Højde',
10
+ name: 'Skrifttype',
11
+ strikethrough: 'Gennemstreget',
12
+ subscript: 'Sænket skrift',
13
+ superscript: 'Hævet skrift',
14
+ size: 'Skriftstørrelse'
15
+ },
16
+ image: {
17
+ image: 'Billede',
18
+ insert: 'Indsæt billede',
19
+ resizeFull: 'Original størrelse',
20
+ resizeHalf: 'Halv størrelse',
21
+ resizeQuarter: 'Kvart størrelse',
22
+ floatLeft: 'Venstrestillet',
23
+ floatRight: 'Højrestillet',
24
+ floatNone: 'Fjern formatering',
25
+ shapeRounded: 'Form: Runde kanter',
26
+ shapeCircle: 'Form: Cirkel',
27
+ shapeThumbnail: 'Form: Miniature',
28
+ shapeNone: 'Form: Ingen',
29
+ dragImageHere: 'Træk billede hertil',
30
+ dropImage: 'Slip billede',
31
+ selectFromFiles: 'Vælg billed-fil',
32
+ maximumFileSize: 'Maks fil størrelse',
33
+ maximumFileSizeError: 'Filen er større end maks tilladte fil størrelse!',
34
+ url: 'Billede URL',
35
+ remove: 'Fjern billede'
36
+ },
37
+ link: {
38
+ link: 'Link',
39
+ insert: 'Indsæt link',
40
+ unlink: 'Fjern link',
41
+ edit: 'Rediger',
42
+ textToDisplay: 'Visningstekst',
43
+ url: 'Hvor skal linket pege hen?',
44
+ openInNewWindow: 'Åbn i nyt vindue'
45
+ },
46
+ table: {
47
+ table: 'Tabel'
48
+ },
49
+ hr: {
50
+ insert: 'Indsæt horisontal linje'
51
+ },
52
+ style: {
53
+ style: 'Stil',
54
+ normal: 'Normal',
55
+ blockquote: 'Citat',
56
+ pre: 'Kode',
57
+ h1: 'Overskrift 1',
58
+ h2: 'Overskrift 2',
59
+ h3: 'Overskrift 3',
60
+ h4: 'Overskrift 4',
61
+ h5: 'Overskrift 5',
62
+ h6: 'Overskrift 6'
63
+ },
64
+ lists: {
65
+ unordered: 'Punktopstillet liste',
66
+ ordered: 'Nummereret liste'
67
+ },
68
+ options: {
69
+ help: 'Hjælp',
70
+ fullscreen: 'Fuld skærm',
71
+ codeview: 'HTML-Visning'
72
+ },
73
+ paragraph: {
74
+ paragraph: 'Afsnit',
75
+ outdent: 'Formindsk indryk',
76
+ indent: 'Forøg indryk',
77
+ left: 'Venstrestillet',
78
+ center: 'Centreret',
79
+ right: 'Højrestillet',
80
+ justify: 'Blokjuster'
81
+ },
82
+ color: {
83
+ recent: 'Nyligt valgt farve',
84
+ more: 'Flere farver',
85
+ background: 'Baggrund',
86
+ foreground: 'Forgrund',
87
+ transparent: 'Transparent',
88
+ setTransparent: 'Sæt transparent',
89
+ reset: 'Nulstil',
90
+ resetToDefault: 'Gendan standardindstillinger'
91
+ },
92
+ shortcut: {
93
+ shortcuts: 'Genveje',
94
+ close: 'Luk',
95
+ textFormatting: 'Tekstformatering',
96
+ action: 'Handling',
97
+ paragraphFormatting: 'Afsnitsformatering',
98
+ documentStyle: 'Dokumentstil'
99
+ },
100
+ history: {
101
+ undo: 'Fortryd',
102
+ redo: 'Annuller fortryd'
103
+ }
104
+
105
+ }
106
+ });
107
+ })(jQuery);
@@ -0,0 +1,97 @@
1
+ (function ($) {
2
+ $.extend($.summernote.lang, {
3
+ 'de-DE': {
4
+ font: {
5
+ bold: 'Fett',
6
+ italic: 'Kursiv',
7
+ underline: 'Unterstreichen',
8
+ clear: 'Zurücksetzen',
9
+ height: 'Zeilenhöhe',
10
+ strikethrough: 'Durchgestrichen',
11
+ size: 'Schriftgröße'
12
+ },
13
+ image: {
14
+ image: 'Grafik',
15
+ insert: 'Grafik einfügen',
16
+ resizeFull: 'Originalgröße',
17
+ resizeHalf: 'Größe 1/2',
18
+ resizeQuarter: 'Größe 1/4',
19
+ floatLeft: 'Linksbündig',
20
+ floatRight: 'Rechtsbündig',
21
+ floatNone: 'Kein Textfluss',
22
+ dragImageHere: 'Ziehen Sie ein Bild mit der Maus hierher',
23
+ selectFromFiles: 'Wählen Sie eine Datei aus',
24
+ url: 'Grafik URL',
25
+ remove: 'Grafik entfernen'
26
+ },
27
+ link: {
28
+ link: 'Link',
29
+ insert: 'Link einfügen',
30
+ unlink: 'Link entfernen',
31
+ edit: 'Editieren',
32
+ textToDisplay: 'Anzeigetext',
33
+ url: 'Ziel des Links?',
34
+ openInNewWindow: 'In einem neuen Fenster öffnen'
35
+ },
36
+ table: {
37
+ table: 'Tabelle'
38
+ },
39
+ hr: {
40
+ insert: 'Eine horizontale Linie einfügen'
41
+ },
42
+ style: {
43
+ style: 'Stil',
44
+ normal: 'Normal',
45
+ blockquote: 'Zitat',
46
+ pre: 'Quellcode',
47
+ h1: 'Überschrift 1',
48
+ h2: 'Überschrift 2',
49
+ h3: 'Überschrift 3',
50
+ h4: 'Überschrift 4',
51
+ h5: 'Überschrift 5',
52
+ h6: 'Überschrift 6'
53
+ },
54
+ lists: {
55
+ unordered: 'Aufzählung',
56
+ ordered: 'Nummerierung'
57
+ },
58
+ options: {
59
+ help: 'Hilfe',
60
+ fullscreen: 'Vollbild',
61
+ codeview: 'HTML-Code anzeigen'
62
+ },
63
+ paragraph: {
64
+ paragraph: 'Absatz',
65
+ outdent: 'Einzug vergrößern',
66
+ indent: 'Einzug verkleinern',
67
+ left: 'Links ausrichten',
68
+ center: 'Zentriert ausrichten',
69
+ right: 'Rechts ausrichten',
70
+ justify: 'Blocksatz'
71
+ },
72
+ color: {
73
+ recent: 'Letzte Farbe',
74
+ more: 'Mehr Farben',
75
+ background: 'Hintergrundfarbe',
76
+ foreground: 'Schriftfarbe',
77
+ transparent: 'Transparenz',
78
+ setTransparent: 'Transparenz setzen',
79
+ reset: 'Zurücksetzen',
80
+ resetToDefault: 'Auf Standard zurücksetzen'
81
+ },
82
+ shortcut: {
83
+ shortcuts: 'Tastenkürzel',
84
+ close: 'Schließen',
85
+ textFormatting: 'Textformatierung',
86
+ action: 'Aktion',
87
+ paragraphFormatting: 'Absatzformatierung',
88
+ documentStyle: 'Dokumentenstil'
89
+ },
90
+ history: {
91
+ undo: 'Rückgängig',
92
+ redo: 'Wiederholen'
93
+ }
94
+
95
+ }
96
+ });
97
+ })(jQuery);