Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Summernote updated to v0.8.18 #217

Open
wants to merge 3 commits into
base: ocStore2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions upload/admin/controller/catalog/category.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,12 @@ protected function getForm() {
$this->document->addScript('view/javascript/ckeditor/ckeditor.js');
$this->document->addScript('view/javascript/ckeditor/ckeditor_init.js');
} else {
$this->document->addScript('view/javascript/summernote/summernote.js');
$this->document->addScript('view/javascript/summernote/lang/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/summernote.min.js');
$this->document->addScript('view/javascript/summernote/summernote-image-attributes.js');
$this->document->addScript('view/javascript/summernote/lang/summernote/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/lang/image-attributes/' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/opencart.js');
$this->document->addStyle('view/javascript/summernote/summernote.css');
$this->document->addStyle('view/javascript/summernote/summernote.min.css');
}

$data['heading_title'] = $this->language->get('heading_title');
Expand Down
8 changes: 5 additions & 3 deletions upload/admin/controller/catalog/information.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,12 @@ protected function getForm() {
$this->document->addScript('view/javascript/ckeditor/ckeditor.js');
$this->document->addScript('view/javascript/ckeditor/ckeditor_init.js');
} else {
$this->document->addScript('view/javascript/summernote/summernote.js');
$this->document->addScript('view/javascript/summernote/lang/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/summernote.min.js');
$this->document->addScript('view/javascript/summernote/summernote-image-attributes.js');
$this->document->addScript('view/javascript/summernote/lang/summernote/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/lang/image-attributes/' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/opencart.js');
$this->document->addStyle('view/javascript/summernote/summernote.css');
$this->document->addStyle('view/javascript/summernote/summernote.min.css');
}

$data['heading_title'] = $this->language->get('heading_title');
Expand Down
8 changes: 5 additions & 3 deletions upload/admin/controller/catalog/manufacturer.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,12 @@ protected function getForm() {
$this->document->addScript('view/javascript/ckeditor/ckeditor.js');
$this->document->addScript('view/javascript/ckeditor/ckeditor_init.js');
} else {
$this->document->addScript('view/javascript/summernote/summernote.js');
$this->document->addScript('view/javascript/summernote/lang/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/summernote.min.js');
$this->document->addScript('view/javascript/summernote/summernote-image-attributes.js');
$this->document->addScript('view/javascript/summernote/lang/summernote/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/lang/image-attributes/' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/opencart.js');
$this->document->addStyle('view/javascript/summernote/summernote.css');
$this->document->addStyle('view/javascript/summernote/summernote.min.css');
}

$data['heading_title'] = $this->language->get('heading_title');
Expand Down
8 changes: 5 additions & 3 deletions upload/admin/controller/catalog/product.php
Original file line number Diff line number Diff line change
Expand Up @@ -597,10 +597,12 @@ protected function getForm() {
$this->document->addScript('view/javascript/ckeditor/ckeditor.js');
$this->document->addScript('view/javascript/ckeditor/ckeditor_init.js');
} else {
$this->document->addScript('view/javascript/summernote/summernote.js');
$this->document->addScript('view/javascript/summernote/lang/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/summernote.min.js');
$this->document->addScript('view/javascript/summernote/summernote-image-attributes.js');
$this->document->addScript('view/javascript/summernote/lang/summernote/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/lang/image-attributes/' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/opencart.js');
$this->document->addStyle('view/javascript/summernote/summernote.css');
$this->document->addStyle('view/javascript/summernote/summernote.min.css');
}

$data['heading_title'] = $this->language->get('heading_title');
Expand Down
8 changes: 5 additions & 3 deletions upload/admin/controller/extension/module/html.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ public function index() {
$this->document->addScript('view/javascript/ckeditor/ckeditor.js');
$this->document->addScript('view/javascript/ckeditor/ckeditor_init.js');
} else {
$this->document->addScript('view/javascript/summernote/summernote.js');
$this->document->addScript('view/javascript/summernote/lang/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/summernote.min.js');
$this->document->addScript('view/javascript/summernote/summernote-image-attributes.js');
$this->document->addScript('view/javascript/summernote/lang/summernote/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/lang/image-attributes/' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/opencart.js');
$this->document->addStyle('view/javascript/summernote/summernote.css');
$this->document->addStyle('view/javascript/summernote/summernote.min.css');
}

$data['heading_title'] = $this->language->get('heading_title');
Expand Down
8 changes: 5 additions & 3 deletions upload/admin/controller/extension/openbay/ebay.php
Original file line number Diff line number Diff line change
Expand Up @@ -1275,10 +1275,12 @@ public function create() {
$this->document->addScript('view/javascript/ckeditor/ckeditor.js');
$this->document->addScript('view/javascript/ckeditor/ckeditor_init.js');
} else {
$this->document->addScript('view/javascript/summernote/summernote.js');
$this->document->addScript('view/javascript/summernote/lang/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/summernote.min.js');
$this->document->addScript('view/javascript/summernote/summernote-image-attributes.js');
$this->document->addScript('view/javascript/summernote/lang/summernote/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/lang/image-attributes/' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/opencart.js');
$this->document->addStyle('view/javascript/summernote/summernote.css');
$this->document->addStyle('view/javascript/summernote/summernote.min.css');
}

if ($this->checkConfig() == true) {
Expand Down
8 changes: 5 additions & 3 deletions upload/admin/controller/extension/payment/ocstore_payeer.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@ public function index() {
$this->document->addScript('view/javascript/ckeditor/ckeditor.js');
$this->document->addScript('view/javascript/ckeditor/ckeditor_init.js');
} else {
$this->document->addScript('view/javascript/summernote/summernote.js');
$this->document->addScript('view/javascript/summernote/lang/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/summernote.min.js');
$this->document->addScript('view/javascript/summernote/summernote-image-attributes.js');
$this->document->addScript('view/javascript/summernote/lang/summernote/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/lang/image-attributes/' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/opencart.js');
$this->document->addStyle('view/javascript/summernote/summernote.css');
$this->document->addStyle('view/javascript/summernote/summernote.min.css');
}

$data = $this->_setData(array(
Expand Down
8 changes: 5 additions & 3 deletions upload/admin/controller/marketing/contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ public function index() {
$this->document->addScript('view/javascript/ckeditor/ckeditor.js');
$this->document->addScript('view/javascript/ckeditor/ckeditor_init.js');
} else {
$this->document->addScript('view/javascript/summernote/summernote.js');
$this->document->addScript('view/javascript/summernote/lang/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/summernote.min.js');
$this->document->addScript('view/javascript/summernote/summernote-image-attributes.js');
$this->document->addScript('view/javascript/summernote/lang/summernote/summernote-' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/lang/image-attributes/' . $this->language->get('lang') . '.js');
$this->document->addScript('view/javascript/summernote/opencart.js');
$this->document->addStyle('view/javascript/summernote/summernote.css');
$this->document->addStyle('view/javascript/summernote/summernote.min.css');
}

$data['heading_title'] = $this->language->get('heading_title');
Expand Down
Binary file modified upload/admin/view/javascript/summernote/font/summernote.eot
Binary file not shown.
Binary file modified upload/admin/view/javascript/summernote/font/summernote.ttf
Binary file not shown.
Binary file modified upload/admin/view/javascript/summernote/font/summernote.woff
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
$.extend(true,$.summernote.lang,{
'ar-Ar':{ /* Arabic */
imageAttributes: {
dialogTitle: 'خصائص الصورة',
tooltip: 'خصائص الصورة',
tabImage: 'صورة',
src: 'المصدر',
browse: 'تصفح',
title: 'العنوان',
alt: 'العنوان البديل',
dimensions: 'الأبعاد',
tabAttributes: 'الخصائص',
class: 'Class',
style: 'Style',
role: 'الدور',
tabLink: 'اللينك',
linkHref: 'الرابط',
linkTarget: 'الهدف',
linkTargetInfo: 'الخيارات: _self, _blank, _top, _parent',
linkClass: 'Class',
linkStyle: 'Style',
linkRel: 'Rel',
linkRelInfo: 'الخيارات: alternate, author, bookmark, help, license, next, nofollow, noreferrer, prefetch, prev, search, tag',
linkRole: 'Role',
tabUpload: 'رفع',
upload: 'رفع',
tabBrowse: 'تصفح',
editBtn: 'موافق'
}
}
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
$.extend(true,$.summernote.lang,{
'cs-CZ':{ /* Czech */
imageAttributes:{
dialogTitle: 'Vlastnosti obrázku',
tooltip: 'Vlastnosti obrázku',
tabImage: 'Obrázek',
src: 'Zdroj (src)',
browse: 'Hledat',
title: 'Nadpis (title)',
alt: 'Alternativní text (alt)',
dimensions: 'Rozměry',
tabAttributes: 'Atributy',
class: 'CSS class',
style: 'Styl',
role: 'Role',
tabLink: 'Odkaz',
linkHref: 'URL',
linkTarget: 'Cíl (target)',
linkTargetInfo: 'Možnosti: _self, _blank, _top, _parent',
linkClass: 'CSS class',
linkStyle: 'Styl',
linkRel: 'Rel',
linkRelInfo: 'Možnosti: alternate, author, bookmark, help, license, next, nofollow, noreferrer, prefetch, prev, search, tag',
linkRole: 'Role',
tabUpload: 'Nahrát',
upload: 'Nahrát',
tabBrowse: 'Hledat',
editBtn: 'OK'
}
}
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
$.extend(true,$.summernote.lang,{
'de-DE':{ /* German */
imageAttributes:{
dialogTitle: 'Bild Eigenschaften',
tooltip: 'Bild Eigenschaften',
tabImage: 'Bild',
src: 'Quelle',
browse: 'Durchsuche',
title: 'Titel',
alt: 'Alt Tag',
dimensions: 'Maße',
tabAttributes: 'Eigenschaften',
class: 'CSS Klasse',
style: 'Stil',
role: 'Rolle',
tabLink: 'Verknüpfung',
linkHref: 'URL',
linkTarget: 'Ziel (target)',
linkTargetInfo: 'Optionen: _self, _blank, _top, _parent',
linkClass: 'CSS Klasse',
linkStyle: 'Stil',
linkRel: 'Verknüpfung Beziehung (Relation)',
linkRelInfo: 'Optionen: alternate, author, bookmark, help, license, next, nofollow, noreferrer, prefetch, prev, search, tag',
linkRole: 'Ruolo',
tabUpload: 'Hochladen',
upload: 'Hochladen',
tabBrowse: 'Durchsuche',
editBtn: 'OK'
}
}
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
$.extend(true,$.summernote.lang,{
'es-ES':{ /* Spanish */
imageAttributes:{
dialogTitle: 'Propiedades de la Imagen',
tooltip: 'Propiedades de la Imagen',
tabImage: 'Imagen',
src: 'Fuente',
browse: 'Vistazo',
title: 'Titulo',
alt: 'Alternativo',
dimensions: 'Dimensiones',
tabAttributes: 'Atributos',
class: 'Clases',
style: 'Estilo',
role: 'Papel',
tabLink: 'Enlazar',
linkHref: 'URL',
linkTarget: 'Destino',
linkTargetInfo: 'Opciones: _self, _blank, _top, _parent',
linkClass: 'Clases',
linkStyle: 'Estilo',
linkRel: 'Rel',
linkRelInfo: 'Opciones: alternate, author, bookmark, help, license, next, nofollow, noreferrer, prefetch, prev, search, tag',
linkRole: 'Papel',
tabUpload: 'Subir',
upload: 'Subir',
tabBrowse: 'Vistazo',
editBtn: 'DE ACUERDO'
}
}
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
$.extend(true,$.summernote.lang,{
'fa-IR':{ /* Persian */
imageAttributes:{
dialogTitle: 'جزئیات تصویر',
tooltip: 'جزئیات تصویر',
tabImage: 'تصویر',
src: 'منبع',
browse: 'بارگزاری',
title: 'عنوان',
alt: 'متن جایزگین',
dimensions: 'ابعاد',
tabAttributes: 'ویژگی ها',
class: 'کلاس',
style: 'استایل',
role: 'نقش',
tabLink: 'پیوند',
linkHref: 'آدرس',
linkTarget: 'نحوه باز شدن',
linkTargetInfo: 'موارد قابل قبول: _self, _blank, _top, _parent',
linkClass: 'کلاس',
linkStyle: 'استایل',
linkRel: 'رابطه',
linkRelInfo: 'موارد قابل قبول: alternate, author, bookmark, help, license, next, nofollow, noreferrer, prefetch, prev, search, tag',
linkRole: 'نقش',
tabUpload: 'آپلود',
upload: 'آپلود',
tabBrowse: 'بارگذاری',
editBtn: 'تائید'
}
}
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
$.extend(true,$.summernote.lang,{
'fr-FR':{ /* French */
imageAttributes:{
dialogTitle: 'Attributs de l\'image',
tooltip: 'Attributs de l\'image',
tabImage: 'Image',
src: 'La source',
browse: 'Feuilleter',
title: 'Titre',
alt: 'Alt',
dimensions: 'Dimensions',
tabAttributes: 'Les attributs',
class: 'Class',
style: 'Style',
role: 'Rôle',
tabLink: 'Link',
linkHref: 'URL',
linkTarget: 'Cible',
linkTargetInfo: 'Options: _self, _blank, _top, _parent',
linkClass: 'Class',
linkStyle: 'Style',
linkRel: 'Rel',
linkRelInfo: 'Options: alternate, author, bookmark, help, license, next, nofollow, noreferrer, prefetch, prev, search, tag',
linkRole: 'Rôle',
tabUpload: 'Télécharger',
upload: 'Télécharger',
tabBrowse: 'Feuilleter',
editBtn: 'D\'accord'
}
}
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
$.extend(true,$.summernote.lang,{
'it-IT':{ /* Italian */
imageAttributes:{
dialogTitle: 'Attributi Immagine',
tooltip: 'Attributi Immagine',
tabImage: 'Immagine',
src: 'Fonte',
browse: 'Navigare',
title: 'Titolo',
alt: 'Alt',
dimensions: 'Dimensioni',
tabAttributes: 'attributi',
class: 'Classe',
style: 'Stile',
role: 'Ruolo',
tabLink: 'collegamento',
linkHref: 'URL',
linkTarget: 'Bersaglio',
linkTargetInfo: 'Opzioni: _self, _blank, _top, _parent',
linkClass: 'Classe',
linkStyle: 'Stile',
linkRel: 'Rel',
linkRelInfo: 'Opzioni: alternate, author, bookmark, help, license, next, nofollow, noreferrer, prefetch, prev, search, tag',
linkRole: 'Ruolo',
tabUpload: 'Caricare',
upload: 'Caricare',
tabBrowse: 'Navigare',
editBtn: 'OK'
}
}
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
$.extend(true,$.summernote.lang,{
'ja-JP':{ /* Japanese */
imageAttributes:{
dialogTitle: '画像編集',
tooltip: '画像を編集する',
tabImage: '画像',
src: '引用元URL',
browse: 'browse',
title: 'title',
alt: 'alt',
dimensions: 'サイズ(横×縦)',
tabAttributes: '属性',
class: 'class',
style: 'style',
role: 'role',
tabLink: 'リンク',
linkHref: 'URL',
linkTarget: 'target',
linkTargetInfo: 'オプション: _self, _blank, _top, _parent',
linkClass: 'class',
linkStyle: 'style',
linkRel: 'rel',
linkRelInfo: 'オプション: alternate, author, bookmark, help, license, next, nofollow, noreferrer, prefetch, prev, search, tag',
linkRole: 'role',
tabUpload: 'アップロード',
upload: 'アップロード',
tabBrowse: '属性',
editBtn: '完了'
}
}
});

Loading