From 317f8f8f0651488f226b5280a8f036c7c135c639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 4 Dec 2017 17:54:04 +0100 Subject: Add oembed --- sources/plugins/link/dialogs/anchor.js | 29 ++- sources/plugins/link/dialogs/link.js | 223 ++++++++++++++++++------ sources/plugins/link/icons/anchor-rtl.png | Bin 764 -> 523 bytes sources/plugins/link/icons/anchor.png | Bin 757 -> 517 bytes sources/plugins/link/icons/hidpi/anchor-rtl.png | Bin 1654 -> 957 bytes sources/plugins/link/icons/hidpi/anchor.png | Bin 1633 -> 917 bytes sources/plugins/link/icons/hidpi/link.png | Bin 1620 -> 935 bytes sources/plugins/link/icons/hidpi/unlink.png | Bin 2209 -> 1317 bytes sources/plugins/link/icons/link.png | Bin 656 -> 533 bytes sources/plugins/link/icons/unlink.png | Bin 812 -> 692 bytes sources/plugins/link/images/anchor.png | Bin 589 -> 752 bytes sources/plugins/link/images/hidpi/anchor.png | Bin 1379 -> 1109 bytes sources/plugins/link/lang/af.js | 4 +- sources/plugins/link/lang/ar.js | 4 +- sources/plugins/link/lang/az.js | 67 +++++++ sources/plugins/link/lang/bg.js | 4 +- sources/plugins/link/lang/bn.js | 6 +- sources/plugins/link/lang/bs.js | 4 +- sources/plugins/link/lang/ca.js | 4 +- sources/plugins/link/lang/cs.js | 4 +- sources/plugins/link/lang/cy.js | 4 +- sources/plugins/link/lang/da.js | 4 +- sources/plugins/link/lang/de-ch.js | 4 +- sources/plugins/link/lang/de.js | 4 +- sources/plugins/link/lang/el.js | 4 +- sources/plugins/link/lang/en-au.js | 4 +- sources/plugins/link/lang/en-ca.js | 4 +- sources/plugins/link/lang/en-gb.js | 4 +- sources/plugins/link/lang/en.js | 4 +- sources/plugins/link/lang/eo.js | 4 +- sources/plugins/link/lang/es-mx.js | 67 +++++++ sources/plugins/link/lang/es.js | 4 +- sources/plugins/link/lang/et.js | 4 +- sources/plugins/link/lang/eu.js | 4 +- sources/plugins/link/lang/fa.js | 4 +- sources/plugins/link/lang/fi.js | 4 +- sources/plugins/link/lang/fo.js | 4 +- sources/plugins/link/lang/fr-ca.js | 4 +- sources/plugins/link/lang/fr.js | 50 +++--- sources/plugins/link/lang/gl.js | 4 +- sources/plugins/link/lang/gu.js | 4 +- sources/plugins/link/lang/he.js | 4 +- sources/plugins/link/lang/hi.js | 4 +- sources/plugins/link/lang/hr.js | 16 +- sources/plugins/link/lang/hu.js | 4 +- sources/plugins/link/lang/id.js | 4 +- sources/plugins/link/lang/is.js | 4 +- sources/plugins/link/lang/it.js | 4 +- sources/plugins/link/lang/ja.js | 4 +- sources/plugins/link/lang/ka.js | 4 +- sources/plugins/link/lang/km.js | 4 +- sources/plugins/link/lang/ko.js | 4 +- sources/plugins/link/lang/ku.js | 4 +- sources/plugins/link/lang/lt.js | 4 +- sources/plugins/link/lang/lv.js | 4 +- sources/plugins/link/lang/mk.js | 4 +- sources/plugins/link/lang/mn.js | 4 +- sources/plugins/link/lang/ms.js | 4 +- sources/plugins/link/lang/nb.js | 14 +- sources/plugins/link/lang/nl.js | 4 +- sources/plugins/link/lang/no.js | 4 +- sources/plugins/link/lang/oc.js | 67 +++++++ sources/plugins/link/lang/pl.js | 4 +- sources/plugins/link/lang/pt-br.js | 4 +- sources/plugins/link/lang/pt.js | 70 ++++---- sources/plugins/link/lang/ro.js | 4 +- sources/plugins/link/lang/ru.js | 4 +- sources/plugins/link/lang/si.js | 4 +- sources/plugins/link/lang/sk.js | 4 +- sources/plugins/link/lang/sl.js | 50 +++--- sources/plugins/link/lang/sq.js | 4 +- sources/plugins/link/lang/sr-latn.js | 4 +- sources/plugins/link/lang/sr.js | 4 +- sources/plugins/link/lang/sv.js | 6 +- sources/plugins/link/lang/th.js | 4 +- sources/plugins/link/lang/tr.js | 4 +- sources/plugins/link/lang/tt.js | 4 +- sources/plugins/link/lang/ug.js | 4 +- sources/plugins/link/lang/uk.js | 4 +- sources/plugins/link/lang/vi.js | 4 +- sources/plugins/link/lang/zh-cn.js | 4 +- sources/plugins/link/lang/zh.js | 4 +- sources/plugins/link/plugin.js | 133 +++++++++++--- 83 files changed, 795 insertions(+), 243 deletions(-) create mode 100644 sources/plugins/link/lang/az.js create mode 100644 sources/plugins/link/lang/es-mx.js create mode 100644 sources/plugins/link/lang/oc.js (limited to 'sources/plugins/link') diff --git a/sources/plugins/link/dialogs/anchor.js b/sources/plugins/link/dialogs/anchor.js index e544275..04a4abe 100644 --- a/sources/plugins/link/dialogs/anchor.js +++ b/sources/plugins/link/dialogs/anchor.js @@ -1,5 +1,5 @@ /** - * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ @@ -18,6 +18,21 @@ CKEDITOR.dialog.add( 'anchor', function( editor ) { } ), 'cke_anchor', 'anchor' ); } + + function getSelectedAnchor( selection ) { + var range = selection.getRanges()[ 0 ], + element = selection.getSelectedElement(); + + // In case of table cell selection, we want to shrink selection from td to a element. + range.shrink( CKEDITOR.SHRINK_ELEMENT ); + element = range.getEnclosedNode(); + + if ( element && element.type === CKEDITOR.NODE_ELEMENT && + ( element.data( 'cke-real-element-type' ) === 'anchor' || element.is( 'a' ) ) ) { + return element; + } + } + return { title: editor.lang.link.anchor.title, minWidth: 300, @@ -35,9 +50,10 @@ CKEDITOR.dialog.add( 'anchor', function( editor ) { var newFake = createFakeAnchor( editor, attributes ); newFake.replace( this._.selectedElement ); - // Selecting fake element for IE. (#11377) - if ( CKEDITOR.env.ie ) + // Selecting fake element for IE. (http://dev.ckeditor.com/ticket/11377) + if ( CKEDITOR.env.ie ) { editor.getSelection().selectElement( newFake ); + } } else { this._.selectedElement.setAttributes( attributes ); } @@ -56,7 +72,7 @@ CKEDITOR.dialog.add( 'anchor', function( editor ) { // Apply style. var style = new CKEDITOR.style( { element: 'a', attributes: attributes } ); style.type = CKEDITOR.STYLE_INLINE; - editor.applyStyle( style ); + style.applyToRange( range ); } } }, @@ -67,7 +83,7 @@ CKEDITOR.dialog.add( 'anchor', function( editor ) { onShow: function() { var sel = editor.getSelection(), - fullySelected = sel.getSelectedElement(), + fullySelected = getSelectedAnchor( sel ), fakeSelected = fullySelected && fullySelected.data( 'cke-realelement' ), linkElement = fakeSelected ? CKEDITOR.plugins.link.tryRestoreFakeAnchor( editor, fullySelected ) : @@ -77,8 +93,9 @@ CKEDITOR.dialog.add( 'anchor', function( editor ) { loadElements.call( this, linkElement ); !fakeSelected && sel.selectElement( linkElement ); - if ( fullySelected ) + if ( fullySelected ) { this._.selectedElement = fullySelected; + } } this.getContentElement( 'info', 'txtName' ).focus(); diff --git a/sources/plugins/link/dialogs/link.js b/sources/plugins/link/dialogs/link.js index 35975c7..4c60928 100644 --- a/sources/plugins/link/dialogs/link.js +++ b/sources/plugins/link/dialogs/link.js @@ -1,5 +1,5 @@ /** - * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ @@ -7,7 +7,112 @@ ( function() { CKEDITOR.dialog.add( 'link', function( editor ) { - var plugin = CKEDITOR.plugins.link; + var plugin = CKEDITOR.plugins.link, + initialLinkText; + + function createRangeForLink( editor, link ) { + var range = editor.createRange(); + + range.setStartBefore( link ); + range.setEndAfter( link ); + + return range; + } + + function insertLinksIntoSelection( editor, data ) { + var attributes = plugin.getLinkAttributes( editor, data ), + ranges = editor.getSelection().getRanges(), + style = new CKEDITOR.style( { + element: 'a', + attributes: attributes.set + } ), + rangesToSelect = [], + range, + text, + nestedLinks, + i, + j; + + style.type = CKEDITOR.STYLE_INLINE; // need to override... dunno why. + + for ( i = 0; i < ranges.length; i++ ) { + range = ranges[ i ]; + + // Use link URL as text with a collapsed cursor. + if ( range.collapsed ) { + // Short mailto link text view (http://dev.ckeditor.com/ticket/5736). + text = new CKEDITOR.dom.text( data.linkText || ( data.type == 'email' ? + data.email.address : attributes.set[ 'data-cke-saved-href' ] ), editor.document ); + range.insertNode( text ); + range.selectNodeContents( text ); + } else if ( initialLinkText !== data.linkText ) { + text = new CKEDITOR.dom.text( data.linkText, editor.document ); + + // Shrink range to preserve block element. + range.shrink( CKEDITOR.SHRINK_TEXT ); + + // Use extractHtmlFromRange to remove markup within the selection. Also this method is a little + // smarter than range#deleteContents as it plays better e.g. with table cells. + editor.editable().extractHtmlFromRange( range ); + + range.insertNode( text ); + } + + // Editable links nested within current range should be removed, so that the link is applied to whole selection. + nestedLinks = range._find( 'a' ); + + for ( j = 0; j < nestedLinks.length; j++ ) { + nestedLinks[ j ].remove( true ); + } + + + // Apply style. + style.applyToRange( range, editor ); + + rangesToSelect.push( range ); + } + + editor.getSelection().selectRanges( rangesToSelect ); + } + + function editLinksInSelection( editor, selectedElements, data ) { + var attributes = plugin.getLinkAttributes( editor, data ), + ranges = [], + element, + href, + textView, + newText, + i; + + for ( i = 0; i < selectedElements.length; i++ ) { + // We're only editing an existing link, so just overwrite the attributes. + element = selectedElements[ i ]; + href = element.data( 'cke-saved-href' ); + textView = element.getHtml(); + + element.setAttributes( attributes.set ); + element.removeAttributes( attributes.removed ); + + + if ( data.linkText && initialLinkText != data.linkText ) { + // Display text has been changed. + newText = data.linkText; + } else if ( href == textView || data.type == 'email' && textView.indexOf( '@' ) != -1 ) { + // Update text view when user changes protocol (http://dev.ckeditor.com/ticket/4612). + // Short mailto link text view (http://dev.ckeditor.com/ticket/5736). + newText = data.type == 'email' ? data.email.address : attributes.set[ 'data-cke-saved-href' ]; + } + + if ( newText ) { + element.setText( newText ); + } + + ranges.push( createRangeForLink( editor, element ) ); + } + + // We changed the content, so need to select it again. + editor.getSelection().selectRanges( ranges ); + } // Handles the event when the "Target" selection box is changed. var targetChanged = function() { @@ -109,13 +214,30 @@ return { title: linkLang.title, - minWidth: 350, - minHeight: 230, + minWidth: ( CKEDITOR.skinName || editor.config.skin ) == 'moono-lisa' ? 450 : 350, + minHeight: 240, contents: [ { id: 'info', label: linkLang.info, title: linkLang.info, elements: [ { + type: 'text', + id: 'linkDisplayText', + label: linkLang.displayText, + setup: function() { + this.enable(); + + this.setValue( editor.getSelection().getSelectedText() ); + + // Keep inner text so that it can be compared in commit function. By obtaining value from getData() + // we get value stripped from new line chars which is important when comparing the value later on. + initialLinkText = this.getValue(); + }, + commit: function( data ) { + data.linkText = this.isEnabled() ? this.getValue() : ''; + } + }, + { id: 'linkType', type: 'select', label: linkLang.type, @@ -145,7 +267,7 @@ label: commonLang.protocol, 'default': 'http://', items: [ - // Force 'ltr' for protocol names in BIDI. (#5433) + // Force 'ltr' for protocol names in BIDI. (http://dev.ckeditor.com/ticket/5433) [ 'http://\u200E', 'http://' ], [ 'https://\u200E', 'https://' ], [ 'ftp://\u200E', 'ftp://' ], @@ -218,7 +340,7 @@ }, commit: function( data ) { // IE will not trigger the onChange event if the mouse has been used - // to carry all the operations #4724 + // to carry all the operations http://dev.ckeditor.com/ticket/4724 this.onChange(); if ( !data.url ) @@ -776,28 +898,55 @@ setup: setupAdvParams, commit: commitAdvParams } ] + }, + { + type: 'hbox', + widths: [ '45%', '55%' ], + children: [ { + type: 'checkbox', + id: 'download', + requiredContent: 'a[download]', + label: linkLang.download, + setup: function( data ) { + if ( data.download !== undefined ) + this.setValue( 'checked', 'checked' ); + }, + commit: function( data ) { + if ( this.getValue() ) { + data.download = this.getValue(); + } + } + } ] } ] } ] } ], onShow: function() { var editor = this.getParentEditor(), selection = editor.getSelection(), - element = null; + displayTextField = this.getContentElement( 'info', 'linkDisplayText' ).getElement().getParent().getParent(), + elements = plugin.getSelectedLink( editor, true ), + firstLink = elements[ 0 ] || null; // Fill in all the relevant fields if there's already one link selected. - if ( ( element = plugin.getSelectedLink( editor ) ) && element.hasAttribute( 'href' ) ) { + if ( firstLink && firstLink.hasAttribute( 'href' ) ) { // Don't change selection if some element is already selected. // For example - don't destroy fake selection. - if ( !selection.getSelectedElement() ) - selection.selectElement( element ); - } else { - element = null; + if ( !selection.getSelectedElement() && !selection.isInTable() ) { + selection.selectElement( firstLink ); + } } - var data = plugin.parseLinkAttributes( editor, element ); + var data = plugin.parseLinkAttributes( editor, firstLink ); + + // Here we'll decide whether or not we want to show Display Text field. + if ( elements.length <= 1 && plugin.showDisplayTextForElement( firstLink, editor ) ) { + displayTextField.show(); + } else { + displayTextField.hide(); + } // Record down the selected element in the dialog. - this._.selectedElement = element; + this._.selectedElements = elements; this.setupContent( data ); }, @@ -807,50 +956,12 @@ // Collect data from fields. this.commitContent( data ); - var selection = editor.getSelection(), - attributes = plugin.getLinkAttributes( editor, data ); - - if ( !this._.selectedElement ) { - var range = selection.getRanges()[ 0 ]; - - // Use link URL as text with a collapsed cursor. - if ( range.collapsed ) { - // Short mailto link text view (#5736). - var text = new CKEDITOR.dom.text( data.type == 'email' ? - data.email.address : attributes.set[ 'data-cke-saved-href' ], editor.document ); - range.insertNode( text ); - range.selectNodeContents( text ); - } - - // Apply style. - var style = new CKEDITOR.style( { - element: 'a', - attributes: attributes.set - } ); - - style.type = CKEDITOR.STYLE_INLINE; // need to override... dunno why. - style.applyToRange( range, editor ); - range.select(); + if ( !this._.selectedElements.length ) { + insertLinksIntoSelection( editor, data ); } else { - // We're only editing an existing link, so just overwrite the attributes. - var element = this._.selectedElement, - href = element.data( 'cke-saved-href' ), - textView = element.getHtml(); - - element.setAttributes( attributes.set ); - element.removeAttributes( attributes.removed ); - - // Update text view when user changes protocol (#4612). - if ( href == textView || data.type == 'email' && textView.indexOf( '@' ) != -1 ) { - // Short mailto link text view (#5736). - element.setHtml( data.type == 'email' ? - data.email.address : attributes.set[ 'data-cke-saved-href' ] ); - - // We changed the content, so need to select it again. - selection.selectElement( element ); - } + editLinksInSelection( editor, this._.selectedElements, data ); - delete this._.selectedElement; + delete this._.selectedElements; } }, onLoad: function() { diff --git a/sources/plugins/link/icons/anchor-rtl.png b/sources/plugins/link/icons/anchor-rtl.png index 87d717d..b068855 100644 Binary files a/sources/plugins/link/icons/anchor-rtl.png and b/sources/plugins/link/icons/anchor-rtl.png differ diff --git a/sources/plugins/link/icons/anchor.png b/sources/plugins/link/icons/anchor.png index 0ca085f..e50d6cd 100644 Binary files a/sources/plugins/link/icons/anchor.png and b/sources/plugins/link/icons/anchor.png differ diff --git a/sources/plugins/link/icons/hidpi/anchor-rtl.png b/sources/plugins/link/icons/hidpi/anchor-rtl.png index cd6d4ea..3533c38 100644 Binary files a/sources/plugins/link/icons/hidpi/anchor-rtl.png and b/sources/plugins/link/icons/hidpi/anchor-rtl.png differ diff --git a/sources/plugins/link/icons/hidpi/anchor.png b/sources/plugins/link/icons/hidpi/anchor.png index c5869db..99eeadd 100644 Binary files a/sources/plugins/link/icons/hidpi/anchor.png and b/sources/plugins/link/icons/hidpi/anchor.png differ diff --git a/sources/plugins/link/icons/hidpi/link.png b/sources/plugins/link/icons/hidpi/link.png index bb8a069..43ce99e 100644 Binary files a/sources/plugins/link/icons/hidpi/link.png and b/sources/plugins/link/icons/hidpi/link.png differ diff --git a/sources/plugins/link/icons/hidpi/unlink.png b/sources/plugins/link/icons/hidpi/unlink.png index 5af59c2..8ace29d 100644 Binary files a/sources/plugins/link/icons/hidpi/unlink.png and b/sources/plugins/link/icons/hidpi/unlink.png differ diff --git a/sources/plugins/link/icons/link.png b/sources/plugins/link/icons/link.png index 95092d0..c2c450f 100644 Binary files a/sources/plugins/link/icons/link.png and b/sources/plugins/link/icons/link.png differ diff --git a/sources/plugins/link/icons/unlink.png b/sources/plugins/link/icons/unlink.png index 33a1599..c2f3f64 100644 Binary files a/sources/plugins/link/icons/unlink.png and b/sources/plugins/link/icons/unlink.png differ diff --git a/sources/plugins/link/images/anchor.png b/sources/plugins/link/images/anchor.png index 6d861a0..d94adb4 100644 Binary files a/sources/plugins/link/images/anchor.png and b/sources/plugins/link/images/anchor.png differ diff --git a/sources/plugins/link/images/hidpi/anchor.png b/sources/plugins/link/images/hidpi/anchor.png index f504843..186c3e9 100644 Binary files a/sources/plugins/link/images/hidpi/anchor.png and b/sources/plugins/link/images/hidpi/anchor.png differ diff --git a/sources/plugins/link/lang/af.js b/sources/plugins/link/lang/af.js index 10991c2..3032beb 100644 --- a/sources/plugins/link/lang/af.js +++ b/sources/plugins/link/lang/af.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'af', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'af', { anchorName: 'Op ankernaam', charset: 'Karakterstel van geskakelde bron', cssClasses: 'CSS klasse', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'E-posadres', emailBody: 'Berig-inhoud', emailSubject: 'Berig-onderwerp', diff --git a/sources/plugins/link/lang/ar.js b/sources/plugins/link/lang/ar.js index 533d527..e0dd0d9 100644 --- a/sources/plugins/link/lang/ar.js +++ b/sources/plugins/link/lang/ar.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'ar', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'ar', { anchorName: 'حسب إسم الإشارة المرجعية', charset: 'ترميز المادة المطلوبة', cssClasses: 'فئات التنسيق', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'البريد الإلكتروني', emailBody: 'محتوى الرسالة', emailSubject: 'موضوع الرسالة', diff --git a/sources/plugins/link/lang/az.js b/sources/plugins/link/lang/az.js new file mode 100644 index 0000000..33588fe --- /dev/null +++ b/sources/plugins/link/lang/az.js @@ -0,0 +1,67 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'link', 'az', { + acccessKey: 'Qısayol düyməsi', + advanced: 'Geniş seçimləri', + advisoryContentType: 'Məsləhətli məzmunun növü', + advisoryTitle: 'Məsləhətli başlıq', + anchor: { + toolbar: 'Xeş', + menu: 'Xeşi redaktə et', + title: 'Xeşin seçimləri', + name: 'Xeşin adı', + errorName: 'Xeşin adı yanlışdır', + remove: 'Xeşin adı sil' + }, + anchorId: 'ID görə', + anchorName: 'Xeşin adına görə', + charset: 'Hədəfin kodlaşdırması', + cssClasses: 'Üslub klası', + download: 'Məcburi yükləmə', + displayText: 'Göstərilən mətn', + emailAddress: 'E-poçt ünvanı', + emailBody: 'Mesajın məzmunu', + emailSubject: 'Mesajın başlığı', + id: 'ID', + info: 'Linkin xüsusiyyətləri', + langCode: 'Dilin kodu', + langDir: 'Yaziların istiqaməti', + langDirLTR: 'Soldan sağa (LTR)', + langDirRTL: 'Sağdan sola (RTL)', + menu: 'Linki redaktə et', + name: 'Ad', + noAnchors: '(heç bir xeş tapılmayıb)', + noEmail: 'E-poçt ünvanı daxil edin', + noUrl: 'Linkin URL-ı daxil edin', + other: '', + popupDependent: 'Asılı (Netscape)', + popupFeatures: 'Pəncərənin xüsusiyyətləri', + popupFullScreen: 'Tam ekran rejimi (IE)', + popupLeft: 'Solda', + popupLocationBar: 'Ünvan paneli', + popupMenuBar: 'Menyu paneli', + popupResizable: 'Olçülər dəyişilir', + popupScrollBars: 'Sürüşdürmələr göstər', + popupStatusBar: 'Bildirişlərin paneli', + popupToolbar: 'Alətlərin paneli', + popupTop: 'Yuxarıda', + rel: 'Münasibət', + selectAnchor: 'Xeşi seçin', + styles: 'Üslub', + tabIndex: 'Tabın nömrəsi', + target: 'Hədəf çərçivə', + targetFrame: '', + targetFrameName: 'Freymin adı', + targetPopup: '', + targetPopupName: 'Pəncərənin adı', + title: 'Link', + toAnchor: 'Xeş', + toEmail: 'E-poçt', + toUrl: 'URL', + toolbar: 'Link', + type: 'Linkin növü', + unlink: 'Linki sil', + upload: 'Serverə yüklə' +} ); diff --git a/sources/plugins/link/lang/bg.js b/sources/plugins/link/lang/bg.js index a8e99a7..ad32915 100644 --- a/sources/plugins/link/lang/bg.js +++ b/sources/plugins/link/lang/bg.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'bg', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'bg', { anchorName: 'По име на котва', charset: 'Тип на свързания ресурс', cssClasses: 'Класове за CSS', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'E-mail aдрес', emailBody: 'Съдържание', emailSubject: 'Тема', diff --git a/sources/plugins/link/lang/bn.js b/sources/plugins/link/lang/bn.js index bd9d05e..c071821 100644 --- a/sources/plugins/link/lang/bn.js +++ b/sources/plugins/link/lang/bn.js @@ -1,9 +1,9 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'bn', { - acccessKey: 'এক্সেস কী', + acccessKey: 'প্রবেশ কী', advanced: 'এডভান্সড', advisoryContentType: 'পরামর্শ কন্টেন্টের প্রকার', advisoryTitle: 'পরামর্শ শীর্ষক', @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'bn', { anchorName: 'নোঙরের নাম দিয়ে', charset: 'লিংক রিসোর্স ক্যারেক্টর সেট', cssClasses: 'স্টাইল-শীট ক্লাস', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'ইমেইল ঠিকানা', emailBody: 'মেসেজের দেহ', emailSubject: 'মেসেজের বিষয়', diff --git a/sources/plugins/link/lang/bs.js b/sources/plugins/link/lang/bs.js index 39a1a84..d23ae35 100644 --- a/sources/plugins/link/lang/bs.js +++ b/sources/plugins/link/lang/bs.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'bs', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'bs', { anchorName: 'Po nazivu sidra', charset: 'Linked Resource Charset', cssClasses: 'Klase CSS stilova', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'E-Mail Adresa', emailBody: 'Poruka', emailSubject: 'Subjekt poruke', diff --git a/sources/plugins/link/lang/ca.js b/sources/plugins/link/lang/ca.js index 8b80e61..44a9ebd 100644 --- a/sources/plugins/link/lang/ca.js +++ b/sources/plugins/link/lang/ca.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'ca', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'ca', { anchorName: 'Per nom d\'àncora', charset: 'Conjunt de caràcters font enllaçat', cssClasses: 'Classes del full d\'estil', + download: 'Force Download', // MISSING + displayText: 'Text a mostrar', emailAddress: 'Adreça de correu electrònic', emailBody: 'Cos del missatge', emailSubject: 'Assumpte del missatge', diff --git a/sources/plugins/link/lang/cs.js b/sources/plugins/link/lang/cs.js index 45106c0..508c133 100644 --- a/sources/plugins/link/lang/cs.js +++ b/sources/plugins/link/lang/cs.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'cs', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'cs', { anchorName: 'Podle jména kotvy', charset: 'Přiřazená znaková sada', cssClasses: 'Třída stylu', + download: 'Force Download', // MISSING + displayText: 'Zobrazit text', emailAddress: 'E-mailová adresa', emailBody: 'Tělo zprávy', emailSubject: 'Předmět zprávy', diff --git a/sources/plugins/link/lang/cy.js b/sources/plugins/link/lang/cy.js index 358ec60..024b669 100644 --- a/sources/plugins/link/lang/cy.js +++ b/sources/plugins/link/lang/cy.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'cy', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'cy', { anchorName: 'Gan Enw\'r Angor', charset: 'Set Nodau\'r Adnodd Cysylltiedig', cssClasses: 'Dosbarthiadau Dalen Arddull', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Cyfeiriad E-Bost', emailBody: 'Corff y Neges', emailSubject: 'Testun y Neges', diff --git a/sources/plugins/link/lang/da.js b/sources/plugins/link/lang/da.js index 7a278c4..47adf58 100644 --- a/sources/plugins/link/lang/da.js +++ b/sources/plugins/link/lang/da.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'da', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'da', { anchorName: 'Efter ankernavn', charset: 'Tegnsæt', cssClasses: 'Typografiark', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'E-mailadresse', emailBody: 'Besked', emailSubject: 'Emne', diff --git a/sources/plugins/link/lang/de-ch.js b/sources/plugins/link/lang/de-ch.js index d386d2a..eba8c7e 100644 --- a/sources/plugins/link/lang/de-ch.js +++ b/sources/plugins/link/lang/de-ch.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'de-ch', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'de-ch', { anchorName: 'Nach Ankername', charset: 'Verknüpfter Ressourcenzeichensatz', cssClasses: 'Formatvorlagenklasse', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'E-Mail-Adresse', emailBody: 'Nachrichtentext', emailSubject: 'Betreffzeile', diff --git a/sources/plugins/link/lang/de.js b/sources/plugins/link/lang/de.js index c8da86f..e73093f 100644 --- a/sources/plugins/link/lang/de.js +++ b/sources/plugins/link/lang/de.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'de', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'de', { anchorName: 'Nach Ankername', charset: 'Verknüpfter Ressourcenzeichensatz', cssClasses: 'Formatvorlagenklasse', + download: 'Herunterladen erzwingen', + displayText: 'Anzeigetext', emailAddress: 'E-Mail-Adresse', emailBody: 'Nachrichtentext', emailSubject: 'Betreffzeile', diff --git a/sources/plugins/link/lang/el.js b/sources/plugins/link/lang/el.js index 53019a5..bf0fbb9 100644 --- a/sources/plugins/link/lang/el.js +++ b/sources/plugins/link/lang/el.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'el', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'el', { anchorName: 'Βάσει του Ονόματος Άγκυρας', charset: 'Κωδικοποίηση Χαρακτήρων Προσαρτημένης Πηγής', cssClasses: 'Κλάσεις Φύλλων Στυλ', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Διεύθυνση E-mail', emailBody: 'Κείμενο Μηνύματος', emailSubject: 'Θέμα Μηνύματος', diff --git a/sources/plugins/link/lang/en-au.js b/sources/plugins/link/lang/en-au.js index 5e18970..f67a6f7 100644 --- a/sources/plugins/link/lang/en-au.js +++ b/sources/plugins/link/lang/en-au.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'en-au', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'en-au', { anchorName: 'By Anchor Name', charset: 'Linked Resource Charset', cssClasses: 'Stylesheet Classes', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'E-Mail Address', emailBody: 'Message Body', emailSubject: 'Message Subject', diff --git a/sources/plugins/link/lang/en-ca.js b/sources/plugins/link/lang/en-ca.js index fb4b6c7..636ee5c 100644 --- a/sources/plugins/link/lang/en-ca.js +++ b/sources/plugins/link/lang/en-ca.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'en-ca', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'en-ca', { anchorName: 'By Anchor Name', charset: 'Linked Resource Charset', cssClasses: 'Stylesheet Classes', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'E-Mail Address', emailBody: 'Message Body', emailSubject: 'Message Subject', diff --git a/sources/plugins/link/lang/en-gb.js b/sources/plugins/link/lang/en-gb.js index a3af24c..f0f3506 100644 --- a/sources/plugins/link/lang/en-gb.js +++ b/sources/plugins/link/lang/en-gb.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'en-gb', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'en-gb', { anchorName: 'By Anchor Name', charset: 'Linked Resource Charset', cssClasses: 'Stylesheet Classes', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'E-Mail Address', emailBody: 'Message Body', emailSubject: 'Message Subject', diff --git a/sources/plugins/link/lang/en.js b/sources/plugins/link/lang/en.js index 1054741..8f613de 100644 --- a/sources/plugins/link/lang/en.js +++ b/sources/plugins/link/lang/en.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'en', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'en', { anchorName: 'By Anchor Name', charset: 'Linked Resource Charset', cssClasses: 'Stylesheet Classes', + download: 'Force Download', + displayText: 'Display Text', emailAddress: 'E-Mail Address', emailBody: 'Message Body', emailSubject: 'Message Subject', diff --git a/sources/plugins/link/lang/eo.js b/sources/plugins/link/lang/eo.js index e0bc952..d2b6faf 100644 --- a/sources/plugins/link/lang/eo.js +++ b/sources/plugins/link/lang/eo.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'eo', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'eo', { anchorName: 'Per Ankronomo', charset: 'Signaro de la Ligita Rimedo', cssClasses: 'Klasoj de Stilfolioj', + download: 'Altrudi Elŝuton', + displayText: 'Vidigi Tekston', emailAddress: 'Retpoŝto', emailBody: 'Mesaĝa korpo', emailSubject: 'Mesaĝa Temo', diff --git a/sources/plugins/link/lang/es-mx.js b/sources/plugins/link/lang/es-mx.js new file mode 100644 index 0000000..1c27060 --- /dev/null +++ b/sources/plugins/link/lang/es-mx.js @@ -0,0 +1,67 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'link', 'es-mx', { + acccessKey: 'Llave de acceso', + advanced: 'Avanzada', + advisoryContentType: 'Tipo de contenido consultivo', + advisoryTitle: 'Título asesor', + anchor: { + toolbar: 'Ancla', + menu: 'Editar ancla', + title: 'Propiedades del ancla', + name: 'Nombre del ancla', + errorName: 'Escriba el nombre del ancla', + remove: 'Remover ancla' + }, + anchorId: 'Por Id del elemento', + anchorName: 'Por nombre del ancla', + charset: 'Recurso relacionado Charset', + cssClasses: 'Clases de estilo de hoja', + download: 'Forzar la descarga', + displayText: 'Mostrar texto', + emailAddress: 'Dirección de correo electrónico', + emailBody: 'Cuerpo del mensaje', + emailSubject: 'Asunto del mensaje', + id: 'Id', + info: 'Información del enlace', + langCode: 'Código del idioma', + langDir: 'Dirección del idioma', + langDirLTR: 'Izquierda a Derecha (LTR)', + langDirRTL: 'Derecha a Izquierda (RTL)', + menu: 'Editar enlace', + name: 'Nombre', + noAnchors: '(No hay anclas disponibles en el documento)', + noEmail: 'Escriba la dirección de correo electrónico', + noUrl: 'Escriba la URL del enlace', + other: '', + popupDependent: 'Dependiente (Netscape)', + popupFeatures: 'Ventana emergente', + popupFullScreen: 'Pantalla completa (IE)', + popupLeft: 'Posición Izquierda', + popupLocationBar: 'Ubicación de la barra', + popupMenuBar: 'Barra de menú', + popupResizable: 'Redimensionable', + popupScrollBars: 'Barras de desplazamiento', + popupStatusBar: 'Barra de estado', + popupToolbar: 'Barra de herramienta', + popupTop: 'Posición superior', + rel: 'Relación', + selectAnchor: 'Selecciona un ancla', + styles: 'Estilo', + tabIndex: 'Indice de tabulación', + target: 'Objetivo', + targetFrame: '', + targetFrameName: 'Nombre del marco de destino', + targetPopup: '', + targetPopupName: 'Nombre de ventana emergente', + title: 'Enlace', + toAnchor: 'Enlace al ancla en el texto', + toEmail: 'Correo electrónico', + toUrl: 'URL', + toolbar: 'Enlace', + type: 'Tipo de enlace', + unlink: 'Desconectar', + upload: 'Subir' +} ); diff --git a/sources/plugins/link/lang/es.js b/sources/plugins/link/lang/es.js index d17edbc..700ad86 100644 --- a/sources/plugins/link/lang/es.js +++ b/sources/plugins/link/lang/es.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'es', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'es', { anchorName: 'Por Nombre de Referencia', charset: 'Fuente de caracteres vinculado', cssClasses: 'Clases de hojas de estilo', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Dirección de E-Mail', emailBody: 'Cuerpo del Mensaje', emailSubject: 'Título del Mensaje', diff --git a/sources/plugins/link/lang/et.js b/sources/plugins/link/lang/et.js index 09db6ca..7e31aa6 100644 --- a/sources/plugins/link/lang/et.js +++ b/sources/plugins/link/lang/et.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'et', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'et', { anchorName: 'Ankru nime järgi', charset: 'Lingitud ressursi märgistik', cssClasses: 'Stiilistiku klassid', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'E-posti aadress', emailBody: 'Sõnumi tekst', emailSubject: 'Sõnumi teema', diff --git a/sources/plugins/link/lang/eu.js b/sources/plugins/link/lang/eu.js index f3415ab..7a2727e 100644 --- a/sources/plugins/link/lang/eu.js +++ b/sources/plugins/link/lang/eu.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'eu', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'eu', { anchorName: 'Aingura-izenaren arabera', charset: 'Estekatutako baliabide karaktere-jokoa', cssClasses: 'Estilo-orriko klaseak', + download: 'Force Download', // MISSING + displayText: 'Bistaratu testua', emailAddress: 'E-posta helbidea', emailBody: 'Mezuaren gorputza', emailSubject: 'Mezuaren gaia', diff --git a/sources/plugins/link/lang/fa.js b/sources/plugins/link/lang/fa.js index fa6dd5a..525d899 100644 --- a/sources/plugins/link/lang/fa.js +++ b/sources/plugins/link/lang/fa.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'fa', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'fa', { anchorName: 'با نام لنگر', charset: 'نویسه​گان منبع پیوند شده', cssClasses: 'کلاس​های شیوه​نامه(Stylesheet)', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'نشانی پست الکترونیکی', emailBody: 'متن پیام', emailSubject: 'موضوع پیام', diff --git a/sources/plugins/link/lang/fi.js b/sources/plugins/link/lang/fi.js index eedf64f..9ab5224 100644 --- a/sources/plugins/link/lang/fi.js +++ b/sources/plugins/link/lang/fi.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'fi', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'fi', { anchorName: 'Ankkurin nimen mukaan', charset: 'Linkitetty kirjaimisto', cssClasses: 'Tyyliluokat', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Sähköpostiosoite', emailBody: 'Viesti', emailSubject: 'Aihe', diff --git a/sources/plugins/link/lang/fo.js b/sources/plugins/link/lang/fo.js index d46eed4..90ab1ed 100644 --- a/sources/plugins/link/lang/fo.js +++ b/sources/plugins/link/lang/fo.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'fo', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'fo', { anchorName: 'Eftir navni á marknasteini', charset: 'Atknýtt teknsett', cssClasses: 'Typografi klassar', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Teldupost-adressa', emailBody: 'Breyðtekstur', emailSubject: 'Evni', diff --git a/sources/plugins/link/lang/fr-ca.js b/sources/plugins/link/lang/fr-ca.js index 816ad2b..ddf2dde 100644 --- a/sources/plugins/link/lang/fr-ca.js +++ b/sources/plugins/link/lang/fr-ca.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'fr-ca', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'fr-ca', { anchorName: 'Par nom', charset: 'Encodage de la cible', cssClasses: 'Classes CSS', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Courriel', emailBody: 'Corps du message', emailSubject: 'Objet du message', diff --git a/sources/plugins/link/lang/fr.js b/sources/plugins/link/lang/fr.js index fe8755d..d40d8d9 100644 --- a/sources/plugins/link/lang/fr.js +++ b/sources/plugins/link/lang/fr.js @@ -1,15 +1,15 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'fr', { acccessKey: 'Touche d\'accessibilité', advanced: 'Avancé', - advisoryContentType: 'Type de contenu (ex: text/html)', - advisoryTitle: 'Description (title)', + advisoryContentType: 'Type de contenu (indicatif)', + advisoryTitle: 'Infobulle', anchor: { toolbar: 'Ancre', - menu: 'Editer l\'ancre', + menu: 'Modifier l\'ancre', title: 'Propriétés de l\'ancre', name: 'Nom de l\'ancre', errorName: 'Veuillez entrer le nom de l\'ancre.', @@ -17,49 +17,51 @@ CKEDITOR.plugins.setLang( 'link', 'fr', { }, anchorId: 'Par ID d\'élément', anchorName: 'Par nom d\'ancre', - charset: 'Charset de la cible', - cssClasses: 'Classe CSS', - emailAddress: 'Adresse E-Mail', + charset: 'Encodage de la ressource liée', + cssClasses: 'Classes de style', + download: 'Forcer le téléchargement', + displayText: 'Afficher le texte', + emailAddress: 'Adresse électronique', emailBody: 'Corps du message', emailSubject: 'Sujet du message', - id: 'Id', - info: 'Infos sur le lien', + id: 'ID', + info: 'Informations sur le lien', langCode: 'Code de langue', langDir: 'Sens d\'écriture', langDirLTR: 'Gauche à droite', - langDirRTL: 'Droite à gauche', - menu: 'Editer le lien', + langDirRTL: 'Droite à gauche (RTL)', + menu: 'Modifier le lien', name: 'Nom', noAnchors: '(Aucune ancre disponible dans ce document)', - noEmail: 'Veuillez entrer l\'adresse e-mail', - noUrl: 'Veuillez entrer l\'adresse du lien', + noEmail: 'Veuillez entrer l\'adresse électronique', + noUrl: 'Veuillez entrer l\'URL du lien', other: '', popupDependent: 'Dépendante (Netscape)', - popupFeatures: 'Options de la fenêtre popup', + popupFeatures: 'Caractéristiques de la fenêtre surgissante', popupFullScreen: 'Plein écran (IE)', - popupLeft: 'Position gauche', + popupLeft: 'À gauche', popupLocationBar: 'Barre d\'adresse', popupMenuBar: 'Barre de menu', popupResizable: 'Redimensionnable', popupScrollBars: 'Barres de défilement', - popupStatusBar: 'Barre de status', + popupStatusBar: 'Barre d\'état', popupToolbar: 'Barre d\'outils', - popupTop: 'Position haute', + popupTop: 'En haut', rel: 'Relation', - selectAnchor: 'Sélectionner l\'ancre', + selectAnchor: 'Sélectionner une ancre', styles: 'Style', - tabIndex: 'Index de tabulation', + tabIndex: 'Indice de tabulation', target: 'Cible', targetFrame: '', - targetFrameName: 'Nom du Cadre destination', - targetPopup: '', - targetPopupName: 'Nom de la fenêtre popup', + targetFrameName: 'Nom du cadre affecté', + targetPopup: '', + targetPopupName: 'Nom de la fenêtre surgissante', title: 'Lien', toAnchor: 'Ancre', - toEmail: 'E-mail', + toEmail: 'Courriel', toUrl: 'URL', toolbar: 'Lien', type: 'Type de lien', unlink: 'Supprimer le lien', - upload: 'Envoyer' + upload: 'Téléverser' } ); diff --git a/sources/plugins/link/lang/gl.js b/sources/plugins/link/lang/gl.js index bf55977..a7d7b0b 100644 --- a/sources/plugins/link/lang/gl.js +++ b/sources/plugins/link/lang/gl.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'gl', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'gl', { anchorName: 'Polo nome da ancoraxe', charset: 'Codificación do recurso ligado', cssClasses: 'Clases da folla de estilos', + download: 'Forzar a descarga', + displayText: 'Amosar o texto', emailAddress: 'Enderezo de correo', emailBody: 'Corpo da mensaxe', emailSubject: 'Asunto da mensaxe', diff --git a/sources/plugins/link/lang/gu.js b/sources/plugins/link/lang/gu.js index c054450..2bbf577 100644 --- a/sources/plugins/link/lang/gu.js +++ b/sources/plugins/link/lang/gu.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'gu', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'gu', { anchorName: 'ઍંકર નામથી પસંદ કરો', charset: 'લિંક રિસૉર્સ કૅરિક્ટર સેટ', cssClasses: 'સ્ટાઇલ-શીટ ક્લાસ', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'ઈ-મેલ સરનામું', emailBody: 'સંદેશ', emailSubject: 'ઈ-મેલ વિષય', diff --git a/sources/plugins/link/lang/he.js b/sources/plugins/link/lang/he.js index d6b67e1..a00f60a 100644 --- a/sources/plugins/link/lang/he.js +++ b/sources/plugins/link/lang/he.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'he', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'he', { anchorName: 'עפ"י שם העוגן', charset: 'קידוד המשאב המקושר', cssClasses: 'גיליונות עיצוב קבוצות', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'כתובת הדוא"ל', emailBody: 'גוף ההודעה', emailSubject: 'נושא ההודעה', diff --git a/sources/plugins/link/lang/hi.js b/sources/plugins/link/lang/hi.js index 7c8939b..88b7df9 100644 --- a/sources/plugins/link/lang/hi.js +++ b/sources/plugins/link/lang/hi.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'hi', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'hi', { anchorName: 'ऐंकर नाम से', charset: 'लिंक रिसोर्स करॅक्टर सॅट', cssClasses: 'स्टाइल-शीट क्लास', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'ई-मेल पता', emailBody: 'संदेश', emailSubject: 'संदेश विषय', diff --git a/sources/plugins/link/lang/hr.js b/sources/plugins/link/lang/hr.js index 1d9f224..5bb1b88 100644 --- a/sources/plugins/link/lang/hr.js +++ b/sources/plugins/link/lang/hr.js @@ -1,12 +1,12 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'hr', { acccessKey: 'Pristupna tipka', advanced: 'Napredno', - advisoryContentType: 'Advisory vrsta sadržaja', - advisoryTitle: 'Advisory naslov', + advisoryContentType: 'Savjetodavna vrsta sadržaja', + advisoryTitle: 'Savjetodavni naslov', anchor: { toolbar: 'Ubaci/promijeni sidro', menu: 'Svojstva sidra', @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'hr', { anchorName: 'Po nazivu sidra', charset: 'Kodna stranica povezanih resursa', cssClasses: 'Stylesheet klase', + download: 'Preuzmi na silu', + displayText: 'Prikaži tekst', emailAddress: 'E-Mail adresa', emailBody: 'Sadržaj poruke', emailSubject: 'Naslov', @@ -54,12 +56,12 @@ CKEDITOR.plugins.setLang( 'link', 'hr', { targetFrameName: 'Ime ciljnog okvira', targetPopup: '', targetPopupName: 'Naziv popup prozora', - title: 'Link', + title: 'Veza', toAnchor: 'Sidro na ovoj stranici', toEmail: 'E-Mail', toUrl: 'URL', - toolbar: 'Ubaci/promijeni link', - type: 'Link vrsta', - unlink: 'Ukloni link', + toolbar: 'Ubaci/promijeni vezu', + type: 'Vrsta veze', + unlink: 'Ukloni vezu', upload: 'Pošalji' } ); diff --git a/sources/plugins/link/lang/hu.js b/sources/plugins/link/lang/hu.js index dd7c7ac..102ca56 100644 --- a/sources/plugins/link/lang/hu.js +++ b/sources/plugins/link/lang/hu.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'hu', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'hu', { anchorName: 'Horgony név szerint', charset: 'Hivatkozott tartalom kódlapja', cssClasses: 'Stíluskészlet', + download: 'Kötelező letöltés', + displayText: 'Megjelenített szöveg', emailAddress: 'E-Mail cím', emailBody: 'Üzenet', emailSubject: 'Üzenet tárgya', diff --git a/sources/plugins/link/lang/id.js b/sources/plugins/link/lang/id.js index ff8e559..e255eb5 100644 --- a/sources/plugins/link/lang/id.js +++ b/sources/plugins/link/lang/id.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'id', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'id', { anchorName: 'By Anchor Name', // MISSING charset: 'Linked Resource Charset', // MISSING cssClasses: 'Kelas Stylesheet', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Alamat E-mail', emailBody: 'Message Body', // MISSING emailSubject: 'Judul Pesan', diff --git a/sources/plugins/link/lang/is.js b/sources/plugins/link/lang/is.js index 3abcded..ccdea0a 100644 --- a/sources/plugins/link/lang/is.js +++ b/sources/plugins/link/lang/is.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'is', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'is', { anchorName: 'Eftir akkerisnafni', charset: 'Táknróf', cssClasses: 'Stílsniðsflokkur', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Netfang', emailBody: 'Meginmál', emailSubject: 'Efni', diff --git a/sources/plugins/link/lang/it.js b/sources/plugins/link/lang/it.js index 8130e3b..b6b93bf 100644 --- a/sources/plugins/link/lang/it.js +++ b/sources/plugins/link/lang/it.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'it', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'it', { anchorName: 'Per Nome', charset: 'Set di caretteri della risorsa collegata', cssClasses: 'Nome classe CSS', + download: 'Forza scaricamento', + displayText: 'Mostra testo', emailAddress: 'Indirizzo E-Mail', emailBody: 'Corpo del messaggio', emailSubject: 'Oggetto del messaggio', diff --git a/sources/plugins/link/lang/ja.js b/sources/plugins/link/lang/ja.js index dc0ca23..342025f 100644 --- a/sources/plugins/link/lang/ja.js +++ b/sources/plugins/link/lang/ja.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'ja', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'ja', { anchorName: 'アンカー名', charset: 'リンク先のcharset', cssClasses: 'スタイルシートクラス', + download: '強制的にダウンロード', + displayText: '表示文字', emailAddress: 'E-Mail アドレス', emailBody: '本文', emailSubject: '件名', diff --git a/sources/plugins/link/lang/ka.js b/sources/plugins/link/lang/ka.js index c461a7f..439c43d 100644 --- a/sources/plugins/link/lang/ka.js +++ b/sources/plugins/link/lang/ka.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'ka', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'ka', { anchorName: 'ღუზის სახელით', charset: 'კოდირება', cssClasses: 'CSS კლასი', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'ელფოსტის მისამართები', emailBody: 'წერილის ტექსტი', emailSubject: 'წერილის სათაური', diff --git a/sources/plugins/link/lang/km.js b/sources/plugins/link/lang/km.js index d801953..5d0be03 100644 --- a/sources/plugins/link/lang/km.js +++ b/sources/plugins/link/lang/km.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'km', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'km', { anchorName: 'តាម​ឈ្មោះ​យុថ្កា', charset: 'លេខកូតអក្សររបស់ឈ្នាប់', cssClasses: 'Stylesheet Classes', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'អាសយដ្ឋាន​អ៊ីមែល', emailBody: 'តួ​អត្ថបទ', emailSubject: 'ប្រធានបទ​សារ', diff --git a/sources/plugins/link/lang/ko.js b/sources/plugins/link/lang/ko.js index 2a83a41..894ac62 100644 --- a/sources/plugins/link/lang/ko.js +++ b/sources/plugins/link/lang/ko.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'ko', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'ko', { anchorName: '책갈피 이름', charset: '링크된 자료 문자열 인코딩', cssClasses: '스타일시트 클래스', + download: '강제 다운로드', + displayText: '보이는 글자', emailAddress: '이메일 주소', emailBody: '메시지 내용', emailSubject: '메시지 제목', diff --git a/sources/plugins/link/lang/ku.js b/sources/plugins/link/lang/ku.js index dbcad9f..ad06cd9 100644 --- a/sources/plugins/link/lang/ku.js +++ b/sources/plugins/link/lang/ku.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'ku', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'ku', { anchorName: 'بەپێی ناوی لەنگەر', charset: 'بەستەری سەرچاوەی نووسە', cssClasses: 'شێوازی چینی پەڕه', + download: 'داگرتنی بەهێز', + displayText: 'پیشاندانی دەق', emailAddress: 'ناونیشانی ئیمەیل', emailBody: 'ناوەڕۆکی نامە', emailSubject: 'بابەتی نامە', diff --git a/sources/plugins/link/lang/lt.js b/sources/plugins/link/lang/lt.js index db2ed72..27aa8b7 100644 --- a/sources/plugins/link/lang/lt.js +++ b/sources/plugins/link/lang/lt.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'lt', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'lt', { anchorName: 'Pagal žymės vardą', charset: 'Susietų išteklių simbolių lentelė', cssClasses: 'Stilių lentelės klasės', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'El.pašto adresas', emailBody: 'Žinutės turinys', emailSubject: 'Žinutės tema', diff --git a/sources/plugins/link/lang/lv.js b/sources/plugins/link/lang/lv.js index 8e3c649..ef8a3f2 100644 --- a/sources/plugins/link/lang/lv.js +++ b/sources/plugins/link/lang/lv.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'lv', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'lv', { anchorName: 'Pēc iezīmes nosaukuma', charset: 'Pievienotā resursa kodējums', cssClasses: 'Stilu saraksta klases', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'E-pasta adrese', emailBody: 'Ziņas saturs', emailSubject: 'Ziņas tēma', diff --git a/sources/plugins/link/lang/mk.js b/sources/plugins/link/lang/mk.js index 502f29c..5fb9655 100644 --- a/sources/plugins/link/lang/mk.js +++ b/sources/plugins/link/lang/mk.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'mk', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'mk', { anchorName: 'By Anchor Name', // MISSING charset: 'Linked Resource Charset', // MISSING cssClasses: 'Stylesheet Classes', // MISSING + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'E-Mail Address', // MISSING emailBody: 'Message Body', // MISSING emailSubject: 'Message Subject', // MISSING diff --git a/sources/plugins/link/lang/mn.js b/sources/plugins/link/lang/mn.js index 8935a8f..ed159c7 100644 --- a/sources/plugins/link/lang/mn.js +++ b/sources/plugins/link/lang/mn.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'mn', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'mn', { anchorName: 'Зангуугийн нэрээр', charset: 'Тэмдэгт оноох нөөцөд холбогдсон', cssClasses: 'Stylesheet классууд', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Э-шуудангийн хаяг', emailBody: 'Зурвасны их бие', emailSubject: 'Зурвасны гарчиг', diff --git a/sources/plugins/link/lang/ms.js b/sources/plugins/link/lang/ms.js index b244ba6..9a2e499 100644 --- a/sources/plugins/link/lang/ms.js +++ b/sources/plugins/link/lang/ms.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'ms', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'ms', { anchorName: 'dengan menggunakan nama pautan', charset: 'Linked Resource Charset', cssClasses: 'Kelas-kelas Stylesheet', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Alamat E-Mail', emailBody: 'Isi Kandungan Mesej', emailSubject: 'Subjek Mesej', diff --git a/sources/plugins/link/lang/nb.js b/sources/plugins/link/lang/nb.js index d9cedf7..7253b4a 100644 --- a/sources/plugins/link/lang/nb.js +++ b/sources/plugins/link/lang/nb.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'nb', { @@ -8,8 +8,8 @@ CKEDITOR.plugins.setLang( 'link', 'nb', { advisoryContentType: 'Type', advisoryTitle: 'Tittel', anchor: { - toolbar: 'Sett inn/Rediger anker', - menu: 'Egenskaper for anker', + toolbar: 'Anker', + menu: 'Rediger anker', title: 'Egenskaper for anker', name: 'Ankernavn', errorName: 'Vennligst skriv inn ankernavnet', @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'nb', { anchorName: 'Anker etter navn', charset: 'Lenket tegnsett', cssClasses: 'Stilarkklasser', + download: 'Tving nedlasting', + displayText: 'Tekst som skal vises', emailAddress: 'E-postadresse', emailBody: 'Melding', emailSubject: 'Meldingsemne', @@ -26,8 +28,8 @@ CKEDITOR.plugins.setLang( 'link', 'nb', { info: 'Lenkeinfo', langCode: 'Språkkode', langDir: 'Språkretning', - langDirLTR: 'Venstre til høyre (VTH)', - langDirRTL: 'Høyre til venstre (HTV)', + langDirLTR: 'Venstre til høyre (LTR)', + langDirRTL: 'Høyre til venstre (RTL)', menu: 'Rediger lenke', name: 'Navn', noAnchors: '(Ingen anker i dokumentet)', @@ -58,7 +60,7 @@ CKEDITOR.plugins.setLang( 'link', 'nb', { toAnchor: 'Lenke til anker i teksten', toEmail: 'E-post', toUrl: 'URL', - toolbar: 'Sett inn/Rediger lenke', + toolbar: 'Lenke', type: 'Lenketype', unlink: 'Fjern lenke', upload: 'Last opp' diff --git a/sources/plugins/link/lang/nl.js b/sources/plugins/link/lang/nl.js index 1c6036b..12cb509 100644 --- a/sources/plugins/link/lang/nl.js +++ b/sources/plugins/link/lang/nl.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'nl', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'nl', { anchorName: 'Op naam interne link', charset: 'Karakterset van gelinkte bron', cssClasses: 'Stylesheet-klassen', + download: 'Download forceren', + displayText: 'Weergavetekst', emailAddress: 'E-mailadres', emailBody: 'Inhoud bericht', emailSubject: 'Onderwerp bericht', diff --git a/sources/plugins/link/lang/no.js b/sources/plugins/link/lang/no.js index 0a4ef05..bdd7fc6 100644 --- a/sources/plugins/link/lang/no.js +++ b/sources/plugins/link/lang/no.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'no', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'no', { anchorName: 'Anker etter navn', charset: 'Lenket tegnsett', cssClasses: 'Stilarkklasser', + download: 'Force Download', // MISSING + displayText: 'Tekst som skal vises', emailAddress: 'E-postadresse', emailBody: 'Melding', emailSubject: 'Meldingsemne', diff --git a/sources/plugins/link/lang/oc.js b/sources/plugins/link/lang/oc.js new file mode 100644 index 0000000..f9e51cd --- /dev/null +++ b/sources/plugins/link/lang/oc.js @@ -0,0 +1,67 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'link', 'oc', { + acccessKey: 'Tòca d\'accessibilitat', + advanced: 'Avançat', + advisoryContentType: 'Tipe de contengut (indicatiu)', + advisoryTitle: 'Infobulla', + anchor: { + toolbar: 'Ancòra', + menu: 'Modificar l\'ancòra', + title: 'Proprietats de l\'ancòra', + name: 'Nom de l\'ancòra', + errorName: 'Entratz lo nom de l\'ancòra', + remove: 'Suprimir l\'ancòra' + }, + anchorId: 'Per ID d\'element', + anchorName: 'Per nom d\'ancòra', + charset: 'Encodatge de la ressorsa ligada', + cssClasses: 'Classas d\'estil', + download: 'Forçar lo telecargament', + displayText: 'Afichar lo tèxte', + emailAddress: 'Adreça electronica', + emailBody: 'Còs del messatge', + emailSubject: 'Subjècte del messatge', + id: 'Id', + info: 'Informacions sul ligam', + langCode: 'Còdi de lenga', + langDir: 'Sens d\'escritura', + langDirLTR: 'Esquèrra a dreita (LTR)', + langDirRTL: 'Dreita a esquèrra (RTL)', + menu: 'Modificar lo ligam', + name: 'Nom', + noAnchors: '(Cap d\'ancòra pas disponibla dins aqueste document)', + noEmail: 'Entratz l\'adreça electronica', + noUrl: 'Entratz l\'URL del ligam', + other: '', + popupDependent: 'Dependenta (Netscape)', + popupFeatures: 'Caracteristicas de la fenèstra sorgissenta', + popupFullScreen: 'Ecran complet (IE)', + popupLeft: 'A esquèrra', + popupLocationBar: 'Barra d\'adreça', + popupMenuBar: 'Barra de menú', + popupResizable: 'Redimensionable', + popupScrollBars: 'Barras de desfilament', + popupStatusBar: 'Barra d\'estat', + popupToolbar: 'Barra d\'aisinas', + popupTop: 'Amont', + rel: 'Relacion', + selectAnchor: 'Seleccionar una ancòra', + styles: 'Estil', + tabIndex: 'Indici de tabulacion', + target: 'Cibla', + targetFrame: '', + targetFrameName: 'Nom del quadre afectat', + targetPopup: '', + targetPopupName: 'Nom de la fenèstra sorgissenta', + title: 'Ligam', + toAnchor: 'Ancòra', + toEmail: 'Corrièl', + toUrl: 'URL', + toolbar: 'Ligam', + type: 'Tipe de ligam', + unlink: 'Suprimir lo ligam', + upload: 'Mandar' +} ); diff --git a/sources/plugins/link/lang/pl.js b/sources/plugins/link/lang/pl.js index f37f856..41858d3 100644 --- a/sources/plugins/link/lang/pl.js +++ b/sources/plugins/link/lang/pl.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'pl', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'pl', { anchorName: 'Wg nazwy', charset: 'Kodowanie znaków obiektu docelowego', cssClasses: 'Nazwa klasy CSS', + download: 'Wymuś pobieranie', + displayText: 'Wyświetlany tekst', emailAddress: 'Adres e-mail', emailBody: 'Treść', emailSubject: 'Temat', diff --git a/sources/plugins/link/lang/pt-br.js b/sources/plugins/link/lang/pt-br.js index 04136f7..0c43149 100644 --- a/sources/plugins/link/lang/pt-br.js +++ b/sources/plugins/link/lang/pt-br.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'pt-br', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'pt-br', { anchorName: 'Nome da âncora', charset: 'Charset do Link', cssClasses: 'Classe de CSS', + download: 'Forçar Download', + displayText: 'Exibir Texto', emailAddress: 'Endereço E-Mail', emailBody: 'Corpo da Mensagem', emailSubject: 'Assunto da Mensagem', diff --git a/sources/plugins/link/lang/pt.js b/sources/plugins/link/lang/pt.js index cd31734..5f45548 100644 --- a/sources/plugins/link/lang/pt.js +++ b/sources/plugins/link/lang/pt.js @@ -1,65 +1,67 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'pt', { - acccessKey: 'Chave de Acesso', + acccessKey: 'Chave de acesso', advanced: 'Avançado', - advisoryContentType: 'Tipo de Conteúdo', + advisoryContentType: 'Tipo de conteúdo', advisoryTitle: 'Título', anchor: { - toolbar: ' Inserir/Editar Âncora', - menu: 'Propriedades da Âncora', - title: 'Propriedades da Âncora', - name: 'Nome da Âncora', + toolbar: ' Inserir/Editar âncora', + menu: 'Propriedades da âncora', + title: 'Propriedades da âncora', + name: 'Nome da âncora', errorName: 'Por favor, introduza o nome da âncora', - remove: 'Remove Anchor' + remove: 'Remover âncora' }, - anchorId: 'Por ID de elemento', + anchorId: 'Por ID do elemento', anchorName: 'Por Nome de Referência', charset: 'Fonte de caracteres vinculado', - cssClasses: 'Classes de Estilo de Folhas Classes', - emailAddress: 'Endereço de E-Mail', - emailBody: 'Corpo da Mensagem', - emailSubject: 'Título de Mensagem', + cssClasses: 'Classes de Estilo', + download: 'Force Download', // MISSING + displayText: 'Mostrar texto', + emailAddress: 'Endereço de email', + emailBody: 'Corpo da mensagem', + emailSubject: 'Título de mensagem', id: 'ID', - info: 'Informação de Hiperligação', - langCode: 'Orientação de idioma', + info: 'Informação da hiperligação', + langCode: 'Código de idioma', langDir: 'Orientação de idioma', - langDirLTR: 'Esquerda à Direita (LTR)', - langDirRTL: 'Direita a Esquerda (RTL)', - menu: 'Editar Hiperligação', + langDirLTR: 'Esquerda para a Direita (EPD)', + langDirRTL: 'Direita para a Esquerda (DPE)', + menu: 'Editar hiperligação', name: 'Nome', - noAnchors: '(Não há referências disponíveis no documento)', - noEmail: 'Por favor introduza o endereço de e-mail', - noUrl: 'Por favor introduza a hiperligação URL', + noAnchors: '(Não existem âncoras no documento)', + noEmail: 'Por favor, escreva o endereço de email', + noUrl: 'Por favor, introduza o endereço URL', other: '', popupDependent: 'Dependente (Netscape)', - popupFeatures: 'Características de Janela de Popup', - popupFullScreen: 'Janela Completa (IE)', - popupLeft: 'Posição Esquerda', + popupFeatures: 'Características de janela flutuante', + popupFullScreen: 'Janela completa (IE)', + popupLeft: 'Posição esquerda', popupLocationBar: 'Barra de localização', - popupMenuBar: 'Barra de Menu', + popupMenuBar: 'Barra de menu', popupResizable: 'Redimensionável', popupScrollBars: 'Barras de deslocamento', - popupStatusBar: 'Barra de Estado', + popupStatusBar: 'Barra de estado', popupToolbar: 'Barra de ferramentas', - popupTop: 'Posição Direita', + popupTop: 'Posição topo', rel: 'Relação', - selectAnchor: 'Seleccionar una referência', + selectAnchor: 'Selecionar âncora', styles: 'Estilo', tabIndex: 'Índice de tabulação', target: 'Alvo', targetFrame: '', - targetFrameName: 'Nome do Frame Destino', + targetFrameName: 'Nome da janela de destino', targetPopup: '', - targetPopupName: 'Nome da Janela de Popup', + targetPopupName: 'Nome da janela flutuante', title: 'Hiperligação', - toAnchor: 'Referência a esta página', + toAnchor: 'Ligar a âncora no texto', toEmail: 'Email', toUrl: 'URL', - toolbar: 'Inserir/Editar Hiperligação', - type: 'Tipo de Hiperligação', - unlink: 'Eliminar Hiperligação', + toolbar: 'Hiperligação', + type: 'Tipo de hiperligação', + unlink: 'Eliminar hiperligação', upload: 'Carregar' } ); diff --git a/sources/plugins/link/lang/ro.js b/sources/plugins/link/lang/ro.js index b561e57..a5d79a3 100644 --- a/sources/plugins/link/lang/ro.js +++ b/sources/plugins/link/lang/ro.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'ro', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'ro', { anchorName: 'după numele ancorei', charset: 'Setul de caractere al resursei legate', cssClasses: 'Clasele cu stilul paginii (CSS)', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Adresă de e-mail', emailBody: 'Opțiuni Meniu Contextual', emailSubject: 'Subiectul mesajului', diff --git a/sources/plugins/link/lang/ru.js b/sources/plugins/link/lang/ru.js index 5cb6575..7bc00d5 100644 --- a/sources/plugins/link/lang/ru.js +++ b/sources/plugins/link/lang/ru.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'ru', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'ru', { anchorName: 'По имени', charset: 'Кодировка ресурса', cssClasses: 'Классы CSS', + download: 'Скачать как файл', + displayText: 'Отображаемый текст', emailAddress: 'Email адрес', emailBody: 'Текст сообщения', emailSubject: 'Тема сообщения', diff --git a/sources/plugins/link/lang/si.js b/sources/plugins/link/lang/si.js index b8b4696..7ad9935 100644 --- a/sources/plugins/link/lang/si.js +++ b/sources/plugins/link/lang/si.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'si', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'si', { anchorName: 'By Anchor Name', // MISSING charset: 'Linked Resource Charset', // MISSING cssClasses: 'විලාසපත්‍ර පන්තිය', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'E-Mail Address', // MISSING emailBody: 'Message Body', // MISSING emailSubject: 'Message Subject', // MISSING diff --git a/sources/plugins/link/lang/sk.js b/sources/plugins/link/lang/sk.js index d0186f3..6383fc9 100644 --- a/sources/plugins/link/lang/sk.js +++ b/sources/plugins/link/lang/sk.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'sk', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'sk', { anchorName: 'Podľa mena kotvy', charset: 'Priradená znaková sada', cssClasses: 'Triedy štýlu', + download: 'Vynútené sťahovanie.', + displayText: 'Zobraziť text', emailAddress: 'E-Mailová adresa', emailBody: 'Telo správy', emailSubject: 'Predmet správy', diff --git a/sources/plugins/link/lang/sl.js b/sources/plugins/link/lang/sl.js index 392d7fe..911203f 100644 --- a/sources/plugins/link/lang/sl.js +++ b/sources/plugins/link/lang/sl.js @@ -1,42 +1,44 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'sl', { - acccessKey: 'Dostopno Geslo', + acccessKey: 'Tipka za dostop', advanced: 'Napredno', - advisoryContentType: 'Predlagani tip vsebine (content-type)', + advisoryContentType: 'Predlagana vrsta vsebine', advisoryTitle: 'Predlagani naslov', anchor: { - toolbar: 'Vstavi/uredi zaznamek', - menu: 'Lastnosti zaznamka', - title: 'Lastnosti zaznamka', - name: 'Ime zaznamka', - errorName: 'Prosim vnesite ime zaznamka', - remove: 'Remove Anchor' + toolbar: 'Sidro', + menu: 'Uredi sidro', + title: 'Lastnosti sidra', + name: 'Ime sidra', + errorName: 'Prosimo, vnesite ime sidra', + remove: 'Odstrani sidro' }, anchorId: 'Po ID-ju elementa', - anchorName: 'Po imenu zaznamka', - charset: 'Kodna tabela povezanega vira', - cssClasses: 'Razred stilne predloge', - emailAddress: 'Elektronski naslov', - emailBody: 'Vsebina sporočila', - emailSubject: 'Predmet sporočila', + anchorName: 'Po imenu sidra', + charset: 'Nabor znakov povezanega vira', + cssClasses: 'Razredi slogovne predloge', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING + emailAddress: 'E-poštni naslov', + emailBody: 'Telo sporočila', + emailSubject: 'Zadeva sporočila', id: 'Id', info: 'Podatki o povezavi', - langCode: 'Smer jezika', + langCode: 'Koda jezika', langDir: 'Smer jezika', langDirLTR: 'Od leve proti desni (LTR)', langDirRTL: 'Od desne proti levi (RTL)', menu: 'Uredi povezavo', name: 'Ime', - noAnchors: '(V tem dokumentu ni zaznamkov)', - noEmail: 'Vnesite elektronski naslov', + noAnchors: '(V tem dokumentu ni sider)', + noEmail: 'Vnesite e-poštni naslov', noUrl: 'Vnesite URL povezave', - other: '', + other: '', popupDependent: 'Podokno (Netscape)', popupFeatures: 'Značilnosti pojavnega okna', - popupFullScreen: 'Celozaslonska slika (IE)', + popupFullScreen: 'Celozaslonsko (IE)', popupLeft: 'Lega levo', popupLocationBar: 'Naslovna vrstica', popupMenuBar: 'Menijska vrstica', @@ -46,7 +48,7 @@ CKEDITOR.plugins.setLang( 'link', 'sl', { popupToolbar: 'Orodna vrstica', popupTop: 'Lega na vrhu', rel: 'Odnos', - selectAnchor: 'Izberi zaznamek', + selectAnchor: 'Izberite sidro', styles: 'Slog', tabIndex: 'Številka tabulatorja', target: 'Cilj', @@ -55,11 +57,11 @@ CKEDITOR.plugins.setLang( 'link', 'sl', { targetPopup: '', targetPopupName: 'Ime pojavnega okna', title: 'Povezava', - toAnchor: 'Zaznamek na tej strani', - toEmail: 'Elektronski naslov', + toAnchor: 'Sidro na tej strani', + toEmail: 'E-pošta', toUrl: 'URL', toolbar: 'Vstavi/uredi povezavo', type: 'Vrsta povezave', unlink: 'Odstrani povezavo', - upload: 'Prenesi' + upload: 'Naloži' } ); diff --git a/sources/plugins/link/lang/sq.js b/sources/plugins/link/lang/sq.js index 33692f1..83b2fb7 100644 --- a/sources/plugins/link/lang/sq.js +++ b/sources/plugins/link/lang/sq.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'sq', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'sq', { anchorName: 'Sipas Emrit të Spirancës', charset: 'Seti i Karaktereve të Burimeve të Nëdlidhura', cssClasses: 'Klasa stili CSS', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Posta Elektronike', emailBody: 'Trupi i Porosisë', emailSubject: 'Titulli i Porosisë', diff --git a/sources/plugins/link/lang/sr-latn.js b/sources/plugins/link/lang/sr-latn.js index 592f05a..8f6f6a7 100644 --- a/sources/plugins/link/lang/sr-latn.js +++ b/sources/plugins/link/lang/sr-latn.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'sr-latn', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'sr-latn', { anchorName: 'Po nazivu sidra', charset: 'Linked Resource Charset', cssClasses: 'Stylesheet klase', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'E-Mail adresa', emailBody: 'Sadržaj poruke', emailSubject: 'Naslov', diff --git a/sources/plugins/link/lang/sr.js b/sources/plugins/link/lang/sr.js index 6d5055b..18689da 100644 --- a/sources/plugins/link/lang/sr.js +++ b/sources/plugins/link/lang/sr.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'sr', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'sr', { anchorName: 'По називу сидра', charset: 'Linked Resource Charset', cssClasses: 'Stylesheet класе', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Адреса електронске поште', emailBody: 'Садржај поруке', emailSubject: 'Наслов', diff --git a/sources/plugins/link/lang/sv.js b/sources/plugins/link/lang/sv.js index 30dc5b0..bc9f4c2 100644 --- a/sources/plugins/link/lang/sv.js +++ b/sources/plugins/link/lang/sv.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'sv', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'sv', { anchorName: 'Efter ankarnamn', charset: 'Teckenuppställning', cssClasses: 'Stilmall', + download: 'Tvinga nerladdning', + displayText: 'Visningstext', emailAddress: 'E-postadress', emailBody: 'Innehåll', emailSubject: 'Ämne', @@ -40,7 +42,7 @@ CKEDITOR.plugins.setLang( 'link', 'sv', { popupLeft: 'Position från vänster', popupLocationBar: 'Adressfält', popupMenuBar: 'Menyfält', - popupResizable: 'Resizable', // MISSING + popupResizable: 'Skalbart', popupScrollBars: 'Scrolllista', popupStatusBar: 'Statusfält', popupToolbar: 'Verktygsfält', diff --git a/sources/plugins/link/lang/th.js b/sources/plugins/link/lang/th.js index d49dbb3..593838d 100644 --- a/sources/plugins/link/lang/th.js +++ b/sources/plugins/link/lang/th.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'th', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'th', { anchorName: 'ชื่อ', charset: 'ลิงค์เชื่อมโยงไปยังชุดตัวอักษร', cssClasses: 'คลาสของไฟล์กำหนดลักษณะการแสดงผล', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'อีเมล์ (E-Mail)', emailBody: 'ข้อความ', emailSubject: 'หัวเรื่อง', diff --git a/sources/plugins/link/lang/tr.js b/sources/plugins/link/lang/tr.js index ce7b726..424ad7b 100644 --- a/sources/plugins/link/lang/tr.js +++ b/sources/plugins/link/lang/tr.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'tr', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'tr', { anchorName: 'Bağlantı Adı ile', charset: 'Bağlı Kaynak Karakter Gurubu', cssClasses: 'Biçem Sayfası Sınıfları', + download: 'İndirmeye Zorla', + displayText: 'Gösterim Metni', emailAddress: 'E-Posta Adresi', emailBody: 'İleti Gövdesi', emailSubject: 'İleti Konusu', diff --git a/sources/plugins/link/lang/tt.js b/sources/plugins/link/lang/tt.js index 4f2d077..25bd354 100644 --- a/sources/plugins/link/lang/tt.js +++ b/sources/plugins/link/lang/tt.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'tt', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'tt', { anchorName: 'Якорь исеме буенча', charset: 'Linked Resource Charset', // MISSING cssClasses: 'Стильләр класслары', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Электрон почта адресы', emailBody: 'Хат эчтәлеге', emailSubject: 'Хат темасы', diff --git a/sources/plugins/link/lang/ug.js b/sources/plugins/link/lang/ug.js index 0d81c27..3cf75b4 100644 --- a/sources/plugins/link/lang/ug.js +++ b/sources/plugins/link/lang/ug.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'ug', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'ug', { anchorName: 'لەڭگەرلىك نۇقتا ئاتى بويىچە', charset: 'ھەرپ كودلىنىشى', cssClasses: 'ئۇسلۇب خىلى ئاتى', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'ئادرېس', emailBody: 'مەزمۇن', emailSubject: 'ماۋزۇ', diff --git a/sources/plugins/link/lang/uk.js b/sources/plugins/link/lang/uk.js index 655bdae..8322d86 100644 --- a/sources/plugins/link/lang/uk.js +++ b/sources/plugins/link/lang/uk.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'uk', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'uk', { anchorName: 'За ім\'ям елементу', charset: 'Кодування', cssClasses: 'Клас CSS', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Адреса ел. пошти', emailBody: 'Тіло повідомлення', emailSubject: 'Тема листа', diff --git a/sources/plugins/link/lang/vi.js b/sources/plugins/link/lang/vi.js index 6769108..d78012d 100644 --- a/sources/plugins/link/lang/vi.js +++ b/sources/plugins/link/lang/vi.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'vi', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'vi', { anchorName: 'Theo tên điểm neo', charset: 'Bảng mã của tài nguyên được liên kết đến', cssClasses: 'Lớp Stylesheet', + download: 'Force Download', // MISSING + displayText: 'Display Text', // MISSING emailAddress: 'Thư điện tử', emailBody: 'Nội dung thông điệp', emailSubject: 'Tiêu đề thông điệp', diff --git a/sources/plugins/link/lang/zh-cn.js b/sources/plugins/link/lang/zh-cn.js index af30dd8..6da9e96 100644 --- a/sources/plugins/link/lang/zh-cn.js +++ b/sources/plugins/link/lang/zh-cn.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'zh-cn', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'zh-cn', { anchorName: '按锚点名称', charset: '字符编码', cssClasses: '样式类名称', + download: '强制下载', + displayText: '显示文本', emailAddress: '地址', emailBody: '内容', emailSubject: '主题', diff --git a/sources/plugins/link/lang/zh.js b/sources/plugins/link/lang/zh.js index 4dfa7cf..a2cee62 100644 --- a/sources/plugins/link/lang/zh.js +++ b/sources/plugins/link/lang/zh.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'link', 'zh', { @@ -19,6 +19,8 @@ CKEDITOR.plugins.setLang( 'link', 'zh', { anchorName: '依錨點名稱', charset: '連結資源的字元集', cssClasses: '樣式表類別', + download: '強制下載', + displayText: '顯示文字', emailAddress: '電子郵件地址', emailBody: '郵件本文', emailSubject: '郵件主旨', diff --git a/sources/plugins/link/plugin.js b/sources/plugins/link/plugin.js index db11376..120097f 100644 --- a/sources/plugins/link/plugin.js +++ b/sources/plugins/link/plugin.js @@ -1,5 +1,5 @@ /** - * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ @@ -9,7 +9,7 @@ CKEDITOR.plugins.add( 'link', { requires: 'dialog,fakeobjects', // jscs:disable maximumLineLength - lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% + lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% // jscs:enable maximumLineLength icons: 'anchor,anchor-rtl,link,unlink', // %REMOVE_LINE_CORE% hidpi: true, // %REMOVE_LINE_CORE% @@ -52,7 +52,7 @@ required = 'a[href]'; if ( CKEDITOR.dialog.isTabEnabled( editor, 'link', 'advanced' ) ) - allowed = allowed.replace( ']', ',accesskey,charset,dir,id,lang,name,rel,tabindex,title,type]{*}(*)' ); + allowed = allowed.replace( ']', ',accesskey,charset,dir,id,lang,name,rel,tabindex,title,type,download]{*}(*)' ); if ( CKEDITOR.dialog.isTabEnabled( editor, 'link', 'target' ) ) allowed = allowed.replace( ']', ',target,onclick]' ); @@ -92,9 +92,12 @@ CKEDITOR.dialog.add( 'anchor', this.path + 'dialogs/anchor.js' ); editor.on( 'doubleclick', function( evt ) { - var element = CKEDITOR.plugins.link.getSelectedLink( editor ) || evt.data.element; + // If the link has descendants and the last part of it is also a part of a word partially + // unlinked, clicked element may be a descendant of the link, not the link itself (http://dev.ckeditor.com/ticket/11956). + // The evt.data.element.getAscendant( 'img', 1 ) condition allows opening anchor dialog if the anchor is empty (#501). + var element = evt.data.element.getAscendant( { a: 1, img: 1 }, true ); - if ( !element.isReadOnly() ) { + if ( element && !element.isReadOnly() ) { if ( element.is( 'a' ) ) { evt.data.dialog = ( element.getAttribute( 'name' ) && ( !element.getAttribute( 'href' ) || !element.getChildCount() ) ) ? 'anchor' : 'link'; @@ -108,7 +111,7 @@ // If event was cancelled, link passed in event data will not be selected. editor.on( 'doubleclick', function( evt ) { - // Make sure both links and anchors are selected (#11822). + // Make sure both links and anchors are selected (http://dev.ckeditor.com/ticket/11822). if ( evt.data.dialog in { link: 1, anchor: 1 } && evt.data.link ) editor.getSelection().selectElement( evt.data.link ); }, null, null, 20 ); @@ -311,20 +314,38 @@ * * @since 3.2.1 * @param {CKEDITOR.editor} editor + * @param {Boolean} [returnMultiple=false] Indicates whether the function should return only the first selected link or all of them. + * @returns {CKEDITOR.dom.element/CKEDITOR.dom.element[]/null} A single link element or an array of link + * elements relevant to the current selection. */ - getSelectedLink: function( editor ) { - var selection = editor.getSelection(); - var selectedElement = selection.getSelectedElement(); - if ( selectedElement && selectedElement.is( 'a' ) ) + getSelectedLink: function( editor, returnMultiple ) { + var selection = editor.getSelection(), + selectedElement = selection.getSelectedElement(), + ranges = selection.getRanges(), + links = [], + link, + range, + i; + + if ( !returnMultiple && selectedElement && selectedElement.is( 'a' ) ) { return selectedElement; + } + + for ( i = 0; i < ranges.length; i++ ) { + range = selection.getRanges()[ i ]; - var range = selection.getRanges()[ 0 ]; + // Skip bogus to cover cases of multiple selection inside tables (#tp2245). + range.shrink( CKEDITOR.SHRINK_TEXT, false, { skipBogus: true } ); + link = editor.elementPath( range.getCommonAncestor() ).contains( 'a', 1 ); - if ( range ) { - range.shrink( CKEDITOR.SHRINK_TEXT ); - return editor.elementPath( range.getCommonAncestor() ).contains( 'a', 1 ); + if ( link && returnMultiple ) { + links.push( link ); + } else if ( link ) { + return link; + } } - return null; + + return returnMultiple ? links : null; }, /** @@ -340,7 +361,7 @@ var editable = editor.editable(), // The scope of search for anchors is the entire document for inline editors - // and editor's editable for classic editor/divarea (#11359). + // and editor's editable for classic editor/divarea (http://dev.ckeditor.com/ticket/11359). scope = ( editable.isInline() && !editor.plugins.divarea ) ? editor.document : editable, links = scope.getElementsByTag( 'a' ), @@ -384,7 +405,7 @@ fakeAnchor: true, /** - * For browsers that do not support CSS3 `a[name]:empty()`. Note that IE9 is included because of #7783. + * For browsers that do not support CSS3 `a[name]:empty()`. Note that IE9 is included because of http://dev.ckeditor.com/ticket/7783. * * @readonly * @deprecated 4.3.3 It is set to `false` in every browser. @@ -438,7 +459,7 @@ if ( ( javascriptMatch = href.match( javascriptProtocolRegex ) ) ) { if ( emailProtection == 'encode' ) { href = href.replace( encodedEmailLinkRegex, function( match, protectedAddress, rest ) { - // Without it 'undefined' is appended to e-mails without subject and body (#9192). + // Without it 'undefined' is appended to e-mails without subject and body (http://dev.ckeditor.com/ticket/9192). rest = rest || ''; return 'mailto:' + @@ -513,7 +534,7 @@ var featureMatch; while ( ( featureMatch = popupFeaturesRegex.exec( onclickMatch[ 2 ] ) ) ) { - // Some values should remain numbers (#7300) + // Some values should remain numbers (http://dev.ckeditor.com/ticket/7300) if ( ( featureMatch[ 2 ] == 'yes' || featureMatch[ 2 ] == '1' ) && !( featureMatch[ 1 ] in { height: 1, width: 1, top: 1, left: 1 } ) ) retval.target[ featureMatch[ 1 ] ] = true; else if ( isFinite( featureMatch[ 2 ] ) ) @@ -527,6 +548,11 @@ }; } + var download = element.getAttribute( 'download' ); + if ( download !== null ) { + retval.download = true; + } + var advanced = {}; for ( var a in advAttrNames ) { @@ -666,6 +692,11 @@ } } + // Force download attribute. + if ( data.download ) { + set.download = ''; + } + // Advanced attributes. if ( data.advanced ) { for ( var a in advAttrNames ) { @@ -679,7 +710,7 @@ set[ 'data-cke-saved-name' ] = set.name; } - // Browser need the "href" fro copy/paste link to work. (#6641) + // Browser need the "href" fro copy/paste link to work. (http://dev.ckeditor.com/ticket/6641) if ( set[ 'data-cke-saved-href' ] ) set.href = set[ 'data-cke-saved-href' ]; @@ -687,7 +718,8 @@ target: 1, onclick: 1, 'data-cke-pa-onclick': 1, - 'data-cke-saved-name': 1 + 'data-cke-saved-name': 1, + 'download': 1 }; if ( data.advanced ) @@ -701,6 +733,41 @@ set: set, removed: CKEDITOR.tools.objectKeys( removed ) }; + }, + + + /** + * Determines whether an element should have a "Display Text" field in the Link dialog. + * + * @since 4.5.11 + * @param {CKEDITOR.dom.element/null} element Selected element, `null` if none selected or if a ranged selection + * is made. + * @param {CKEDITOR.editor} editor The editor instance for which the check is performed. + * @returns {Boolean} + */ + showDisplayTextForElement: function( element, editor ) { + var undesiredElements = { + img: 1, + table: 1, + tbody: 1, + thead: 1, + tfoot: 1, + input: 1, + select: 1, + textarea: 1 + }, + selection = editor.getSelection(); + + // Widget duck typing, we don't want to show display text for widgets. + if ( editor.widgets && editor.widgets.focused ) { + return false; + } + + if ( selection && selection.getRanges().length > 1 ) { + return false; + } + + return !element || !element.getName || !element.is( undesiredElements ); } }; @@ -709,8 +776,29 @@ CKEDITOR.unlinkCommand = function() {}; CKEDITOR.unlinkCommand.prototype = { exec: function( editor ) { + // IE/Edge removes link from selection while executing "unlink" command when cursor + // is right before/after link's text. Therefore whole link must be selected and the + // position of cursor must be restored to its initial state after unlinking. (http://dev.ckeditor.com/ticket/13062) + if ( CKEDITOR.env.ie ) { + var range = editor.getSelection().getRanges()[ 0 ], + link = ( range.getPreviousEditableNode() && range.getPreviousEditableNode().getAscendant( 'a', true ) ) || + ( range.getNextEditableNode() && range.getNextEditableNode().getAscendant( 'a', true ) ), + bookmark; + + if ( range.collapsed && link ) { + bookmark = range.createBookmark(); + range.selectNodeContents( link ); + range.select(); + } + } + var style = new CKEDITOR.style( { element: 'a', type: CKEDITOR.STYLE_INLINE, alwaysRemoveElement: 1 } ); editor.removeStyle( style ); + + if ( bookmark ) { + range.moveToBookmark( bookmark ); + range.select(); + } }, refresh: function( editor, path ) { @@ -727,7 +815,8 @@ contextSensitive: 1, startDisabled: 1, - requiredContent: 'a[href]' + requiredContent: 'a[href]', + editorFocus: 1 }; CKEDITOR.removeAnchorCommand = function() {}; -- cgit v1.2.3