new ckeditor
New ckeditor
This commit is contained in:
824
ckeditor/plugins/find/dialogs/find.js
Normal file
824
ckeditor/plugins/find/dialogs/find.js
Normal file
@@ -0,0 +1,824 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
( function() {
|
||||
var isReplace;
|
||||
|
||||
function findEvaluator( node ) {
|
||||
return node.type == CKEDITOR.NODE_TEXT && node.getLength() > 0 && ( !isReplace || !node.isReadOnly() );
|
||||
}
|
||||
|
||||
// Elements which break characters been considered as sequence.
|
||||
function nonCharactersBoundary( node ) {
|
||||
return !( node.type == CKEDITOR.NODE_ELEMENT && node.isBlockBoundary( CKEDITOR.tools.extend( {}, CKEDITOR.dtd.$empty, CKEDITOR.dtd.$nonEditable ) ) );
|
||||
}
|
||||
|
||||
// Get the cursor object which represent both current character and it's dom
|
||||
// position thing.
|
||||
var cursorStep = function() {
|
||||
return {
|
||||
textNode: this.textNode,
|
||||
offset: this.offset,
|
||||
character: this.textNode ? this.textNode.getText().charAt( this.offset ) : null,
|
||||
hitMatchBoundary: this._.matchBoundary
|
||||
};
|
||||
};
|
||||
|
||||
var pages = [ 'find', 'replace' ],
|
||||
fieldsMapping = [
|
||||
[ 'txtFindFind', 'txtFindReplace' ],
|
||||
[ 'txtFindCaseChk', 'txtReplaceCaseChk' ],
|
||||
[ 'txtFindWordChk', 'txtReplaceWordChk' ],
|
||||
[ 'txtFindCyclic', 'txtReplaceCyclic' ]
|
||||
];
|
||||
|
||||
// Synchronize corresponding filed values between 'replace' and 'find' pages.
|
||||
// @param {String} currentPageId The page id which receive values.
|
||||
function syncFieldsBetweenTabs( currentPageId ) {
|
||||
var sourceIndex, targetIndex, sourceField, targetField;
|
||||
|
||||
sourceIndex = currentPageId === 'find' ? 1 : 0;
|
||||
targetIndex = 1 - sourceIndex;
|
||||
var i,
|
||||
l = fieldsMapping.length;
|
||||
for ( i = 0; i < l; i++ ) {
|
||||
sourceField = this.getContentElement( pages[ sourceIndex ], fieldsMapping[ i ][ sourceIndex ] );
|
||||
targetField = this.getContentElement( pages[ targetIndex ], fieldsMapping[ i ][ targetIndex ] );
|
||||
|
||||
targetField.setValue( sourceField.getValue() );
|
||||
}
|
||||
}
|
||||
|
||||
function findDialog( editor, startupPage ) {
|
||||
// Style object for highlights: (#5018)
|
||||
// 1. Defined as full match style to avoid compromising ordinary text color styles.
|
||||
// 2. Must be apply onto inner-most text to avoid conflicting with ordinary text color styles visually.
|
||||
var highlightConfig = {
|
||||
attributes: {
|
||||
'data-cke-highlight': 1
|
||||
},
|
||||
fullMatch: 1,
|
||||
ignoreReadonly: 1,
|
||||
childRule: function() {
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
var highlightStyle = new CKEDITOR.style( CKEDITOR.tools.extend( highlightConfig, editor.config.find_highlight, true ) );
|
||||
|
||||
// Iterator which walk through the specified range char by char. By
|
||||
// default the walking will not stop at the character boundaries, until
|
||||
// the end of the range is encountered.
|
||||
// @param { CKEDITOR.dom.range } range
|
||||
// @param {Boolean} matchWord Whether the walking will stop at character boundary.
|
||||
function characterWalker( range, matchWord ) {
|
||||
var self = this;
|
||||
var walker = new CKEDITOR.dom.walker( range );
|
||||
walker.guard = matchWord ? nonCharactersBoundary : function( node ) {
|
||||
!nonCharactersBoundary( node ) && ( self._.matchBoundary = true );
|
||||
};
|
||||
walker.evaluator = findEvaluator;
|
||||
walker.breakOnFalse = 1;
|
||||
|
||||
if ( range.startContainer.type == CKEDITOR.NODE_TEXT ) {
|
||||
this.textNode = range.startContainer;
|
||||
this.offset = range.startOffset - 1;
|
||||
}
|
||||
|
||||
this._ = {
|
||||
matchWord: matchWord,
|
||||
walker: walker,
|
||||
matchBoundary: false
|
||||
};
|
||||
}
|
||||
|
||||
characterWalker.prototype = {
|
||||
next: function() {
|
||||
return this.move();
|
||||
},
|
||||
|
||||
back: function() {
|
||||
return this.move( true );
|
||||
},
|
||||
|
||||
move: function( rtl ) {
|
||||
var currentTextNode = this.textNode;
|
||||
// Already at the end of document, no more character available.
|
||||
if ( currentTextNode === null )
|
||||
return cursorStep.call( this );
|
||||
|
||||
this._.matchBoundary = false;
|
||||
|
||||
// There are more characters in the text node, step forward.
|
||||
if ( currentTextNode && rtl && this.offset > 0 ) {
|
||||
this.offset--;
|
||||
return cursorStep.call( this );
|
||||
} else if ( currentTextNode && this.offset < currentTextNode.getLength() - 1 ) {
|
||||
this.offset++;
|
||||
return cursorStep.call( this );
|
||||
} else {
|
||||
currentTextNode = null;
|
||||
// At the end of the text node, walking foward for the next.
|
||||
while ( !currentTextNode ) {
|
||||
currentTextNode = this._.walker[ rtl ? 'previous' : 'next' ].call( this._.walker );
|
||||
|
||||
// Stop searching if we're need full word match OR
|
||||
// already reach document end.
|
||||
if ( this._.matchWord && !currentTextNode || this._.walker._.end )
|
||||
break;
|
||||
}
|
||||
// Found a fresh text node.
|
||||
this.textNode = currentTextNode;
|
||||
if ( currentTextNode )
|
||||
this.offset = rtl ? currentTextNode.getLength() - 1 : 0;
|
||||
else
|
||||
this.offset = 0;
|
||||
}
|
||||
|
||||
return cursorStep.call( this );
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
* A range of cursors which represent a trunk of characters which try to
|
||||
* match, it has the same length as the pattern string.
|
||||
*
|
||||
* **Note:** This class isn't accessible from global scope.
|
||||
*
|
||||
* @private
|
||||
* @class CKEDITOR.plugins.find.characterRange
|
||||
* @constructor Creates a characterRange class instance.
|
||||
*/
|
||||
var characterRange = function( characterWalker, rangeLength ) {
|
||||
this._ = {
|
||||
walker: characterWalker,
|
||||
cursors: [],
|
||||
rangeLength: rangeLength,
|
||||
highlightRange: null,
|
||||
isMatched: 0
|
||||
};
|
||||
};
|
||||
|
||||
characterRange.prototype = {
|
||||
/**
|
||||
* Translate this range to {@link CKEDITOR.dom.range}.
|
||||
*/
|
||||
toDomRange: function() {
|
||||
var range = editor.createRange();
|
||||
var cursors = this._.cursors;
|
||||
if ( cursors.length < 1 ) {
|
||||
var textNode = this._.walker.textNode;
|
||||
if ( textNode )
|
||||
range.setStartAfter( textNode );
|
||||
else
|
||||
return null;
|
||||
} else {
|
||||
var first = cursors[ 0 ],
|
||||
last = cursors[ cursors.length - 1 ];
|
||||
|
||||
range.setStart( first.textNode, first.offset );
|
||||
range.setEnd( last.textNode, last.offset + 1 );
|
||||
}
|
||||
|
||||
return range;
|
||||
},
|
||||
|
||||
/**
|
||||
* Reflect the latest changes from dom range.
|
||||
*/
|
||||
updateFromDomRange: function( domRange ) {
|
||||
var cursor,
|
||||
walker = new characterWalker( domRange );
|
||||
this._.cursors = [];
|
||||
do {
|
||||
cursor = walker.next();
|
||||
if ( cursor.character ) this._.cursors.push( cursor );
|
||||
}
|
||||
while ( cursor.character );
|
||||
this._.rangeLength = this._.cursors.length;
|
||||
},
|
||||
|
||||
setMatched: function() {
|
||||
this._.isMatched = true;
|
||||
},
|
||||
|
||||
clearMatched: function() {
|
||||
this._.isMatched = false;
|
||||
},
|
||||
|
||||
isMatched: function() {
|
||||
return this._.isMatched;
|
||||
},
|
||||
|
||||
/**
|
||||
* Hightlight the current matched chunk of text.
|
||||
*/
|
||||
highlight: function() {
|
||||
// Do not apply if nothing is found.
|
||||
if ( this._.cursors.length < 1 )
|
||||
return;
|
||||
|
||||
// Remove the previous highlight if there's one.
|
||||
if ( this._.highlightRange )
|
||||
this.removeHighlight();
|
||||
|
||||
// Apply the highlight.
|
||||
var range = this.toDomRange(),
|
||||
bookmark = range.createBookmark();
|
||||
highlightStyle.applyToRange( range, editor );
|
||||
range.moveToBookmark( bookmark );
|
||||
this._.highlightRange = range;
|
||||
|
||||
// Scroll the editor to the highlighted area.
|
||||
var element = range.startContainer;
|
||||
if ( element.type != CKEDITOR.NODE_ELEMENT )
|
||||
element = element.getParent();
|
||||
element.scrollIntoView();
|
||||
|
||||
// Update the character cursors.
|
||||
this.updateFromDomRange( range );
|
||||
},
|
||||
|
||||
/**
|
||||
* Remove highlighted find result.
|
||||
*/
|
||||
removeHighlight: function() {
|
||||
if ( !this._.highlightRange )
|
||||
return;
|
||||
|
||||
var bookmark = this._.highlightRange.createBookmark();
|
||||
highlightStyle.removeFromRange( this._.highlightRange, editor );
|
||||
this._.highlightRange.moveToBookmark( bookmark );
|
||||
this.updateFromDomRange( this._.highlightRange );
|
||||
this._.highlightRange = null;
|
||||
},
|
||||
|
||||
isReadOnly: function() {
|
||||
if ( !this._.highlightRange )
|
||||
return 0;
|
||||
|
||||
return this._.highlightRange.startContainer.isReadOnly();
|
||||
},
|
||||
|
||||
moveBack: function() {
|
||||
var retval = this._.walker.back(),
|
||||
cursors = this._.cursors;
|
||||
|
||||
if ( retval.hitMatchBoundary )
|
||||
this._.cursors = cursors = [];
|
||||
|
||||
cursors.unshift( retval );
|
||||
if ( cursors.length > this._.rangeLength )
|
||||
cursors.pop();
|
||||
|
||||
return retval;
|
||||
},
|
||||
|
||||
moveNext: function() {
|
||||
var retval = this._.walker.next(),
|
||||
cursors = this._.cursors;
|
||||
|
||||
// Clear the cursors queue if we've crossed a match boundary.
|
||||
if ( retval.hitMatchBoundary )
|
||||
this._.cursors = cursors = [];
|
||||
|
||||
cursors.push( retval );
|
||||
if ( cursors.length > this._.rangeLength )
|
||||
cursors.shift();
|
||||
|
||||
return retval;
|
||||
},
|
||||
|
||||
getEndCharacter: function() {
|
||||
var cursors = this._.cursors;
|
||||
if ( cursors.length < 1 )
|
||||
return null;
|
||||
|
||||
return cursors[ cursors.length - 1 ].character;
|
||||
},
|
||||
|
||||
getNextCharacterRange: function( maxLength ) {
|
||||
var lastCursor, nextRangeWalker,
|
||||
cursors = this._.cursors;
|
||||
|
||||
if ( ( lastCursor = cursors[ cursors.length - 1 ] ) && lastCursor.textNode )
|
||||
nextRangeWalker = new characterWalker( getRangeAfterCursor( lastCursor ) );
|
||||
// In case it's an empty range (no cursors), figure out next range from walker (#4951).
|
||||
else
|
||||
nextRangeWalker = this._.walker;
|
||||
|
||||
return new characterRange( nextRangeWalker, maxLength );
|
||||
},
|
||||
|
||||
getCursors: function() {
|
||||
return this._.cursors;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// The remaining document range after the character cursor.
|
||||
function getRangeAfterCursor( cursor, inclusive ) {
|
||||
var range = editor.createRange();
|
||||
range.setStart( cursor.textNode, ( inclusive ? cursor.offset : cursor.offset + 1 ) );
|
||||
range.setEndAt( editor.editable(), CKEDITOR.POSITION_BEFORE_END );
|
||||
return range;
|
||||
}
|
||||
|
||||
// The document range before the character cursor.
|
||||
function getRangeBeforeCursor( cursor ) {
|
||||
var range = editor.createRange();
|
||||
range.setStartAt( editor.editable(), CKEDITOR.POSITION_AFTER_START );
|
||||
range.setEnd( cursor.textNode, cursor.offset );
|
||||
return range;
|
||||
}
|
||||
|
||||
var KMP_NOMATCH = 0,
|
||||
KMP_ADVANCED = 1,
|
||||
KMP_MATCHED = 2;
|
||||
|
||||
// Examination the occurrence of a word which implement KMP algorithm.
|
||||
var kmpMatcher = function( pattern, ignoreCase ) {
|
||||
var overlap = [ -1 ];
|
||||
if ( ignoreCase )
|
||||
pattern = pattern.toLowerCase();
|
||||
for ( var i = 0; i < pattern.length; i++ ) {
|
||||
overlap.push( overlap[ i ] + 1 );
|
||||
while ( overlap[ i + 1 ] > 0 && pattern.charAt( i ) != pattern.charAt( overlap[ i + 1 ] - 1 ) )
|
||||
overlap[ i + 1 ] = overlap[ overlap[ i + 1 ] - 1 ] + 1;
|
||||
}
|
||||
|
||||
this._ = {
|
||||
overlap: overlap,
|
||||
state: 0,
|
||||
ignoreCase: !!ignoreCase,
|
||||
pattern: pattern
|
||||
};
|
||||
};
|
||||
|
||||
kmpMatcher.prototype = {
|
||||
feedCharacter: function( c ) {
|
||||
if ( this._.ignoreCase )
|
||||
c = c.toLowerCase();
|
||||
|
||||
while ( true ) {
|
||||
if ( c == this._.pattern.charAt( this._.state ) ) {
|
||||
this._.state++;
|
||||
if ( this._.state == this._.pattern.length ) {
|
||||
this._.state = 0;
|
||||
return KMP_MATCHED;
|
||||
}
|
||||
return KMP_ADVANCED;
|
||||
} else if ( !this._.state ) {
|
||||
return KMP_NOMATCH;
|
||||
} else {
|
||||
this._.state = this._.overlap[this._.state];
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
reset: function() {
|
||||
this._.state = 0;
|
||||
}
|
||||
};
|
||||
|
||||
var wordSeparatorRegex = /[.,"'?!;: \u0085\u00a0\u1680\u280e\u2028\u2029\u202f\u205f\u3000]/;
|
||||
|
||||
var isWordSeparator = function( c ) {
|
||||
if ( !c )
|
||||
return true;
|
||||
var code = c.charCodeAt( 0 );
|
||||
return ( code >= 9 && code <= 0xd ) || ( code >= 0x2000 && code <= 0x200a ) || wordSeparatorRegex.test( c );
|
||||
};
|
||||
|
||||
var finder = {
|
||||
searchRange: null,
|
||||
matchRange: null,
|
||||
find: function( pattern, matchCase, matchWord, matchCyclic, highlightMatched, cyclicRerun ) {
|
||||
if ( !this.matchRange )
|
||||
this.matchRange = new characterRange( new characterWalker( this.searchRange ), pattern.length );
|
||||
else {
|
||||
this.matchRange.removeHighlight();
|
||||
this.matchRange = this.matchRange.getNextCharacterRange( pattern.length );
|
||||
}
|
||||
|
||||
var matcher = new kmpMatcher( pattern, !matchCase ),
|
||||
matchState = KMP_NOMATCH,
|
||||
character = '%';
|
||||
|
||||
while ( character !== null ) {
|
||||
this.matchRange.moveNext();
|
||||
while ( ( character = this.matchRange.getEndCharacter() ) ) {
|
||||
matchState = matcher.feedCharacter( character );
|
||||
if ( matchState == KMP_MATCHED )
|
||||
break;
|
||||
if ( this.matchRange.moveNext().hitMatchBoundary )
|
||||
matcher.reset();
|
||||
}
|
||||
|
||||
if ( matchState == KMP_MATCHED ) {
|
||||
if ( matchWord ) {
|
||||
var cursors = this.matchRange.getCursors(),
|
||||
tail = cursors[ cursors.length - 1 ],
|
||||
head = cursors[ 0 ];
|
||||
|
||||
var rangeBefore = getRangeBeforeCursor( head ),
|
||||
rangeAfter = getRangeAfterCursor( tail );
|
||||
|
||||
// The word boundary checks requires to trim the text nodes. (#9036)
|
||||
rangeBefore.trim();
|
||||
rangeAfter.trim();
|
||||
|
||||
var headWalker = new characterWalker( rangeBefore, true ),
|
||||
tailWalker = new characterWalker( rangeAfter, true );
|
||||
|
||||
if ( !( isWordSeparator( headWalker.back().character ) && isWordSeparator( tailWalker.next().character ) ) )
|
||||
continue;
|
||||
}
|
||||
this.matchRange.setMatched();
|
||||
if ( highlightMatched !== false )
|
||||
this.matchRange.highlight();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
this.matchRange.clearMatched();
|
||||
this.matchRange.removeHighlight();
|
||||
// Clear current session and restart with the default search
|
||||
// range.
|
||||
// Re-run the finding once for cyclic.(#3517)
|
||||
if ( matchCyclic && !cyclicRerun ) {
|
||||
this.searchRange = getSearchRange( 1 );
|
||||
this.matchRange = null;
|
||||
return arguments.callee.apply( this, Array.prototype.slice.call( arguments ).concat( [ true ] ) );
|
||||
}
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
// Record how much replacement occurred toward one replacing.
|
||||
replaceCounter: 0,
|
||||
|
||||
replace: function( dialog, pattern, newString, matchCase, matchWord, matchCyclic, isReplaceAll ) {
|
||||
isReplace = 1;
|
||||
|
||||
// Successiveness of current replace/find.
|
||||
var result = 0,
|
||||
matchOptionsChanged = this.hasMatchOptionsChanged( pattern, matchCase, matchWord );
|
||||
|
||||
// 1. Perform the replace when there's already a match here and match options hasn't change since previous find.
|
||||
// 2. Otherwise perform the find but don't replace it immediately.
|
||||
if ( this.matchRange && this.matchRange.isMatched() && !this.matchRange._.isReplaced && !this.matchRange.isReadOnly() && !matchOptionsChanged ) {
|
||||
// Turn off highlight for a while when saving snapshots.
|
||||
this.matchRange.removeHighlight();
|
||||
var domRange = this.matchRange.toDomRange();
|
||||
var text = editor.document.createText( newString );
|
||||
if ( !isReplaceAll ) {
|
||||
// Save undo snaps before and after the replacement.
|
||||
var selection = editor.getSelection();
|
||||
selection.selectRanges( [ domRange ] );
|
||||
editor.fire( 'saveSnapshot' );
|
||||
}
|
||||
domRange.deleteContents();
|
||||
domRange.insertNode( text );
|
||||
if ( !isReplaceAll ) {
|
||||
selection.selectRanges( [ domRange ] );
|
||||
editor.fire( 'saveSnapshot' );
|
||||
}
|
||||
this.matchRange.updateFromDomRange( domRange );
|
||||
if ( !isReplaceAll )
|
||||
this.matchRange.highlight();
|
||||
this.matchRange._.isReplaced = true;
|
||||
this.replaceCounter++;
|
||||
result = 1;
|
||||
} else {
|
||||
// Reset match range so new search starts from primary cursor position (not an end of selection). (#11697)
|
||||
if ( matchOptionsChanged && this.matchRange ) {
|
||||
this.matchRange.clearMatched();
|
||||
this.matchRange.removeHighlight();
|
||||
this.matchRange = null;
|
||||
}
|
||||
result = this.find( pattern, matchCase, matchWord, matchCyclic, !isReplaceAll );
|
||||
}
|
||||
|
||||
isReplace = 0;
|
||||
|
||||
return result;
|
||||
},
|
||||
|
||||
// Check if pattern or match options changed since last find. (#11697)
|
||||
matchOptions: null,
|
||||
hasMatchOptionsChanged: function( pattern, matchCase, matchWord ) {
|
||||
var matchOptions = [ pattern, matchCase, matchWord ].join( '.' ),
|
||||
changed = this.matchOptions && this.matchOptions != matchOptions;
|
||||
|
||||
this.matchOptions = matchOptions;
|
||||
return changed;
|
||||
}
|
||||
};
|
||||
|
||||
// The range in which find/replace happened, receive from user
|
||||
// selection prior.
|
||||
function getSearchRange( isDefault ) {
|
||||
var searchRange,
|
||||
sel = editor.getSelection(),
|
||||
range = sel.getRanges()[ 0 ],
|
||||
editable = editor.editable();
|
||||
|
||||
// Blink browsers return empty array of ranges when editor is in read-only mode
|
||||
// and it hasn't got focus, so instead of selection, we check for range itself. (#12848)
|
||||
if ( range && !isDefault ) {
|
||||
searchRange = range.clone();
|
||||
searchRange.collapse( true );
|
||||
} else {
|
||||
searchRange = editor.createRange();
|
||||
searchRange.setStartAt( editable, CKEDITOR.POSITION_AFTER_START );
|
||||
}
|
||||
searchRange.setEndAt( editable, CKEDITOR.POSITION_BEFORE_END );
|
||||
return searchRange;
|
||||
}
|
||||
|
||||
var lang = editor.lang.find;
|
||||
return {
|
||||
title: lang.title,
|
||||
resizable: CKEDITOR.DIALOG_RESIZE_NONE,
|
||||
minWidth: 350,
|
||||
minHeight: 170,
|
||||
buttons: [
|
||||
// Close button only.
|
||||
CKEDITOR.dialog.cancelButton( editor, {
|
||||
label: editor.lang.common.close
|
||||
} )
|
||||
],
|
||||
contents: [ {
|
||||
id: 'find',
|
||||
label: lang.find,
|
||||
title: lang.find,
|
||||
accessKey: '',
|
||||
elements: [ {
|
||||
type: 'hbox',
|
||||
widths: [ '230px', '90px' ],
|
||||
children: [ {
|
||||
type: 'text',
|
||||
id: 'txtFindFind',
|
||||
label: lang.findWhat,
|
||||
isChanged: false,
|
||||
labelLayout: 'horizontal',
|
||||
accessKey: 'F'
|
||||
},
|
||||
{
|
||||
type: 'button',
|
||||
id: 'btnFind',
|
||||
align: 'left',
|
||||
style: 'width:100%',
|
||||
label: lang.find,
|
||||
onClick: function() {
|
||||
var dialog = this.getDialog();
|
||||
if ( !finder.find(
|
||||
dialog.getValueOf( 'find', 'txtFindFind' ),
|
||||
dialog.getValueOf( 'find', 'txtFindCaseChk' ),
|
||||
dialog.getValueOf( 'find', 'txtFindWordChk' ),
|
||||
dialog.getValueOf( 'find', 'txtFindCyclic' )
|
||||
) ) {
|
||||
alert( lang.notFoundMsg ); // jshint ignore:line
|
||||
}
|
||||
}
|
||||
} ]
|
||||
},
|
||||
{
|
||||
type: 'fieldset',
|
||||
className: 'cke_dialog_find_fieldset',
|
||||
label: CKEDITOR.tools.htmlEncode( lang.findOptions ),
|
||||
style: 'margin-top:29px',
|
||||
children: [ {
|
||||
type: 'vbox',
|
||||
padding: 0,
|
||||
children: [ {
|
||||
type: 'checkbox',
|
||||
id: 'txtFindCaseChk',
|
||||
isChanged: false,
|
||||
label: lang.matchCase
|
||||
},
|
||||
{
|
||||
type: 'checkbox',
|
||||
id: 'txtFindWordChk',
|
||||
isChanged: false,
|
||||
label: lang.matchWord
|
||||
},
|
||||
{
|
||||
type: 'checkbox',
|
||||
id: 'txtFindCyclic',
|
||||
isChanged: false,
|
||||
'default': true,
|
||||
label: lang.matchCyclic
|
||||
} ]
|
||||
} ]
|
||||
} ]
|
||||
},
|
||||
{
|
||||
id: 'replace',
|
||||
label: lang.replace,
|
||||
accessKey: 'M',
|
||||
elements: [ {
|
||||
type: 'hbox',
|
||||
widths: [ '230px', '90px' ],
|
||||
children: [ {
|
||||
type: 'text',
|
||||
id: 'txtFindReplace',
|
||||
label: lang.findWhat,
|
||||
isChanged: false,
|
||||
labelLayout: 'horizontal',
|
||||
accessKey: 'F'
|
||||
},
|
||||
{
|
||||
type: 'button',
|
||||
id: 'btnFindReplace',
|
||||
align: 'left',
|
||||
style: 'width:100%',
|
||||
label: lang.replace,
|
||||
onClick: function() {
|
||||
var dialog = this.getDialog();
|
||||
if ( !finder.replace(
|
||||
dialog,
|
||||
dialog.getValueOf( 'replace', 'txtFindReplace' ),
|
||||
dialog.getValueOf( 'replace', 'txtReplace' ),
|
||||
dialog.getValueOf( 'replace', 'txtReplaceCaseChk' ),
|
||||
dialog.getValueOf( 'replace', 'txtReplaceWordChk' ),
|
||||
dialog.getValueOf( 'replace', 'txtReplaceCyclic' )
|
||||
) ) {
|
||||
alert( lang.notFoundMsg ); // jshint ignore:line
|
||||
}
|
||||
}
|
||||
} ]
|
||||
},
|
||||
{
|
||||
type: 'hbox',
|
||||
widths: [ '230px', '90px' ],
|
||||
children: [ {
|
||||
type: 'text',
|
||||
id: 'txtReplace',
|
||||
label: lang.replaceWith,
|
||||
isChanged: false,
|
||||
labelLayout: 'horizontal',
|
||||
accessKey: 'R'
|
||||
},
|
||||
{
|
||||
type: 'button',
|
||||
id: 'btnReplaceAll',
|
||||
align: 'left',
|
||||
style: 'width:100%',
|
||||
label: lang.replaceAll,
|
||||
isChanged: false,
|
||||
onClick: function() {
|
||||
var dialog = this.getDialog();
|
||||
|
||||
finder.replaceCounter = 0;
|
||||
|
||||
// Scope to full document.
|
||||
finder.searchRange = getSearchRange( 1 );
|
||||
if ( finder.matchRange ) {
|
||||
finder.matchRange.removeHighlight();
|
||||
finder.matchRange = null;
|
||||
}
|
||||
editor.fire( 'saveSnapshot' );
|
||||
while ( finder.replace(
|
||||
dialog,
|
||||
dialog.getValueOf( 'replace', 'txtFindReplace' ),
|
||||
dialog.getValueOf( 'replace', 'txtReplace' ),
|
||||
dialog.getValueOf( 'replace', 'txtReplaceCaseChk' ),
|
||||
dialog.getValueOf( 'replace', 'txtReplaceWordChk' ),
|
||||
false,
|
||||
true
|
||||
) ) {
|
||||
|
||||
}
|
||||
|
||||
if ( finder.replaceCounter ) {
|
||||
alert( lang.replaceSuccessMsg.replace( /%1/, finder.replaceCounter ) ); // jshint ignore:line
|
||||
editor.fire( 'saveSnapshot' );
|
||||
} else {
|
||||
alert( lang.notFoundMsg ); // jshint ignore:line
|
||||
}
|
||||
}
|
||||
} ]
|
||||
},
|
||||
{
|
||||
type: 'fieldset',
|
||||
label: CKEDITOR.tools.htmlEncode( lang.findOptions ),
|
||||
children: [ {
|
||||
type: 'vbox',
|
||||
padding: 0,
|
||||
children: [ {
|
||||
type: 'checkbox',
|
||||
id: 'txtReplaceCaseChk',
|
||||
isChanged: false,
|
||||
label: lang.matchCase
|
||||
},
|
||||
{
|
||||
type: 'checkbox',
|
||||
id: 'txtReplaceWordChk',
|
||||
isChanged: false,
|
||||
label: lang.matchWord
|
||||
},
|
||||
{
|
||||
type: 'checkbox',
|
||||
id: 'txtReplaceCyclic',
|
||||
isChanged: false,
|
||||
'default': true,
|
||||
label: lang.matchCyclic
|
||||
} ]
|
||||
} ]
|
||||
} ]
|
||||
} ],
|
||||
onLoad: function() {
|
||||
var dialog = this;
|
||||
|
||||
// Keep track of the current pattern field in use.
|
||||
var patternField, wholeWordChkField;
|
||||
|
||||
// Ignore initial page select on dialog show
|
||||
var isUserSelect = 0;
|
||||
this.on( 'hide', function() {
|
||||
isUserSelect = 0;
|
||||
} );
|
||||
this.on( 'show', function() {
|
||||
isUserSelect = 1;
|
||||
} );
|
||||
|
||||
this.selectPage = CKEDITOR.tools.override( this.selectPage, function( originalFunc ) {
|
||||
return function( pageId ) {
|
||||
originalFunc.call( dialog, pageId );
|
||||
|
||||
var currPage = dialog._.tabs[ pageId ];
|
||||
var patternFieldInput, patternFieldId, wholeWordChkFieldId;
|
||||
patternFieldId = pageId === 'find' ? 'txtFindFind' : 'txtFindReplace';
|
||||
wholeWordChkFieldId = pageId === 'find' ? 'txtFindWordChk' : 'txtReplaceWordChk';
|
||||
|
||||
patternField = dialog.getContentElement( pageId, patternFieldId );
|
||||
wholeWordChkField = dialog.getContentElement( pageId, wholeWordChkFieldId );
|
||||
|
||||
// Prepare for check pattern text filed 'keyup' event
|
||||
if ( !currPage.initialized ) {
|
||||
patternFieldInput = CKEDITOR.document.getById( patternField._.inputId );
|
||||
currPage.initialized = true;
|
||||
}
|
||||
|
||||
// Synchronize fields on tab switch.
|
||||
if ( isUserSelect )
|
||||
syncFieldsBetweenTabs.call( this, pageId );
|
||||
};
|
||||
} );
|
||||
|
||||
},
|
||||
onShow: function() {
|
||||
// Establish initial searching start position.
|
||||
finder.searchRange = getSearchRange();
|
||||
|
||||
// Fill in the find field with selected text.
|
||||
var selectedText = this.getParentEditor().getSelection().getSelectedText(),
|
||||
patternFieldId = ( startupPage == 'find' ? 'txtFindFind' : 'txtFindReplace' );
|
||||
|
||||
var field = this.getContentElement( startupPage, patternFieldId );
|
||||
field.setValue( selectedText );
|
||||
field.select();
|
||||
|
||||
this.selectPage( startupPage );
|
||||
|
||||
this[ ( startupPage == 'find' && this._.editor.readOnly ? 'hide' : 'show' ) + 'Page' ]( 'replace' );
|
||||
},
|
||||
onHide: function() {
|
||||
var range;
|
||||
if ( finder.matchRange && finder.matchRange.isMatched() ) {
|
||||
finder.matchRange.removeHighlight();
|
||||
|
||||
range = finder.matchRange.toDomRange();
|
||||
if ( range )
|
||||
editor.getSelection().selectRanges( [ range ] );
|
||||
|
||||
// Focus must be restored to the editor after selecting range.
|
||||
// Otherwise there are issues when selecting word from
|
||||
// newly added paragraphs (#14869).
|
||||
editor.focus();
|
||||
}
|
||||
|
||||
// Clear current session before dialog close
|
||||
delete finder.matchRange;
|
||||
},
|
||||
onFocus: function() {
|
||||
if ( startupPage == 'replace' )
|
||||
return this.getContentElement( 'replace', 'txtFindReplace' );
|
||||
else
|
||||
return this.getContentElement( 'find', 'txtFindFind' );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
CKEDITOR.dialog.add( 'find', function( editor ) {
|
||||
return findDialog( editor, 'find' );
|
||||
} );
|
||||
|
||||
CKEDITOR.dialog.add( 'replace', function( editor ) {
|
||||
return findDialog( editor, 'replace' );
|
||||
} );
|
||||
} )();
|
||||
BIN
ckeditor/plugins/find/icons/find-rtl.png
Normal file
BIN
ckeditor/plugins/find/icons/find-rtl.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 696 B |
BIN
ckeditor/plugins/find/icons/find.png
Normal file
BIN
ckeditor/plugins/find/icons/find.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 696 B |
BIN
ckeditor/plugins/find/icons/hidpi/find-rtl.png
Normal file
BIN
ckeditor/plugins/find/icons/hidpi/find-rtl.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
ckeditor/plugins/find/icons/hidpi/find.png
Normal file
BIN
ckeditor/plugins/find/icons/hidpi/find.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
ckeditor/plugins/find/icons/hidpi/replace.png
Normal file
BIN
ckeditor/plugins/find/icons/hidpi/replace.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
ckeditor/plugins/find/icons/replace.png
Normal file
BIN
ckeditor/plugins/find/icons/replace.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 549 B |
18
ckeditor/plugins/find/lang/af.js
Normal file
18
ckeditor/plugins/find/lang/af.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'af', {
|
||||
find: 'Soek',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'Soek na:',
|
||||
matchCase: 'Hoof/kleinletter sensitief',
|
||||
matchCyclic: 'Soek deurlopend',
|
||||
matchWord: 'Hele woord moet voorkom',
|
||||
notFoundMsg: 'Teks nie gevind nie.',
|
||||
replace: 'Vervang',
|
||||
replaceAll: 'Vervang alles',
|
||||
replaceSuccessMsg: '%1 voorkoms(te) vervang.',
|
||||
replaceWith: 'Vervang met:',
|
||||
title: 'Soek en vervang'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/ar.js
Normal file
18
ckeditor/plugins/find/lang/ar.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'ar', {
|
||||
find: 'بحث',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'البحث بـ:',
|
||||
matchCase: 'مطابقة حالة الأحرف',
|
||||
matchCyclic: 'مطابقة دورية',
|
||||
matchWord: 'مطابقة بالكامل',
|
||||
notFoundMsg: 'لم يتم العثور على النص المحدد.',
|
||||
replace: 'إستبدال',
|
||||
replaceAll: 'إستبدال الكل',
|
||||
replaceSuccessMsg: 'تم استبدال 1% من الحالات ',
|
||||
replaceWith: 'إستبدال بـ:',
|
||||
title: 'بحث واستبدال'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/az.js
Normal file
18
ckeditor/plugins/find/lang/az.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'az', {
|
||||
find: 'Tap',
|
||||
findOptions: 'Axtarışın seçimləri',
|
||||
findWhat: 'Nəyi axtarmaq',
|
||||
matchCase: 'Reqistr nəzərə alınmaqla',
|
||||
matchCyclic: 'Dövrəvi axtar',
|
||||
matchWord: 'Tam sözünə uyğun',
|
||||
notFoundMsg: 'Daxil etdiyiniz sorğu ilə heç bir nəticə tapılmayıb',
|
||||
replace: 'Əvəz et',
|
||||
replaceAll: 'Hamısını əvəz et',
|
||||
replaceSuccessMsg: '%1 daxiletmə(lər) əvəz edilib',
|
||||
replaceWith: 'Əvəz etdirici mətn:',
|
||||
title: 'Tap və əvəz et'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/bg.js
Normal file
18
ckeditor/plugins/find/lang/bg.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'bg', {
|
||||
find: 'Търсене',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'Търси за:',
|
||||
matchCase: 'Съвпадение',
|
||||
matchCyclic: 'Циклично съвпадение',
|
||||
matchWord: 'Съвпадение с дума',
|
||||
notFoundMsg: 'Указаният текст не е намерен.',
|
||||
replace: 'Препокриване',
|
||||
replaceAll: 'Препокрий всички',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.',
|
||||
replaceWith: 'Препокрива с:',
|
||||
title: 'Търсене и препокриване'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/bn.js
Normal file
18
ckeditor/plugins/find/lang/bn.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'bn', {
|
||||
find: 'খুজিঁ',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'যা খুঁজতে হবে:',
|
||||
matchCase: 'কেস মিলাও',
|
||||
matchCyclic: 'Match cyclic',
|
||||
matchWord: 'পুরা শব্দ মেলাও',
|
||||
notFoundMsg: 'আপনার উল্লেখিত টেকস্ট পাওয়া যায়নি',
|
||||
replace: 'রিপ্লেস',
|
||||
replaceAll: 'সব বদলে দাও',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.',
|
||||
replaceWith: 'যার সাথে বদলাতে হবে:',
|
||||
title: 'Find and Replace'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/bs.js
Normal file
18
ckeditor/plugins/find/lang/bs.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'bs', {
|
||||
find: 'Naði',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'Naði šta:',
|
||||
matchCase: 'Uporeðuj velika/mala slova',
|
||||
matchCyclic: 'Match cyclic',
|
||||
matchWord: 'Uporeðuj samo cijelu rijeè',
|
||||
notFoundMsg: 'Traženi tekst nije pronaðen.',
|
||||
replace: 'Zamjeni',
|
||||
replaceAll: 'Zamjeni sve',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.',
|
||||
replaceWith: 'Zamjeni sa:',
|
||||
title: 'Find and Replace'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/ca.js
Normal file
18
ckeditor/plugins/find/lang/ca.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'ca', {
|
||||
find: 'Cerca',
|
||||
findOptions: 'Opcions de Cerca',
|
||||
findWhat: 'Cerca el:',
|
||||
matchCase: 'Distingeix majúscules/minúscules',
|
||||
matchCyclic: 'Coincidència cíclica',
|
||||
matchWord: 'Només paraules completes',
|
||||
notFoundMsg: 'El text especificat no s\'ha trobat.',
|
||||
replace: 'Reemplaça',
|
||||
replaceAll: 'Reemplaça-ho tot',
|
||||
replaceSuccessMsg: '%1 ocurrència/es reemplaçada/es.',
|
||||
replaceWith: 'Reemplaça amb:',
|
||||
title: 'Cerca i reemplaça'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/cs.js
Normal file
18
ckeditor/plugins/find/lang/cs.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'cs', {
|
||||
find: 'Hledat',
|
||||
findOptions: 'Možnosti hledání',
|
||||
findWhat: 'Co hledat:',
|
||||
matchCase: 'Rozlišovat velikost písma',
|
||||
matchCyclic: 'Procházet opakovaně',
|
||||
matchWord: 'Pouze celá slova',
|
||||
notFoundMsg: 'Hledaný text nebyl nalezen.',
|
||||
replace: 'Nahradit',
|
||||
replaceAll: 'Nahradit vše',
|
||||
replaceSuccessMsg: '%1 nahrazení.',
|
||||
replaceWith: 'Čím nahradit:',
|
||||
title: 'Najít a nahradit'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/cy.js
Normal file
18
ckeditor/plugins/find/lang/cy.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'cy', {
|
||||
find: 'Chwilio',
|
||||
findOptions: 'Opsiynau Chwilio',
|
||||
findWhat: 'Chwilio\'r term:',
|
||||
matchCase: 'Cydweddu\'r cas',
|
||||
matchCyclic: 'Cydweddu\'n gylchol',
|
||||
matchWord: 'Cydweddu gair cyfan',
|
||||
notFoundMsg: 'Nid oedd y testun wedi\'i ddarganfod.',
|
||||
replace: 'Amnewid Un',
|
||||
replaceAll: 'Amnewid Pob',
|
||||
replaceSuccessMsg: 'Amnewidiwyd %1 achlysur.',
|
||||
replaceWith: 'Amnewid gyda:',
|
||||
title: 'Chwilio ac Amnewid'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/da.js
Normal file
18
ckeditor/plugins/find/lang/da.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'da', {
|
||||
find: 'Søg',
|
||||
findOptions: 'Find muligheder',
|
||||
findWhat: 'Søg efter:',
|
||||
matchCase: 'Forskel på store og små bogstaver',
|
||||
matchCyclic: 'Match cyklisk',
|
||||
matchWord: 'Kun hele ord',
|
||||
notFoundMsg: 'Søgeteksten blev ikke fundet',
|
||||
replace: 'Erstat',
|
||||
replaceAll: 'Erstat alle',
|
||||
replaceSuccessMsg: '%1 forekomst(er) erstattet.',
|
||||
replaceWith: 'Erstat med:',
|
||||
title: 'Søg og erstat'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/de-ch.js
Normal file
18
ckeditor/plugins/find/lang/de-ch.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'de-ch', {
|
||||
find: 'Suchen',
|
||||
findOptions: 'Suchoptionen',
|
||||
findWhat: 'Suche nach:',
|
||||
matchCase: 'Gross-/Kleinschreibung beachten',
|
||||
matchCyclic: 'Zyklische Suche',
|
||||
matchWord: 'Nur ganze Worte suchen',
|
||||
notFoundMsg: 'Der angegebene Text wurde nicht gefunden.',
|
||||
replace: 'Ersetzen',
|
||||
replaceAll: 'Alle ersetzen',
|
||||
replaceSuccessMsg: '%1 Vorkommen ersetzt.',
|
||||
replaceWith: 'Ersetze mit:',
|
||||
title: 'Suchen und Ersetzen'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/de.js
Normal file
18
ckeditor/plugins/find/lang/de.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'de', {
|
||||
find: 'Suchen',
|
||||
findOptions: 'Suchoptionen',
|
||||
findWhat: 'Suchen nach:',
|
||||
matchCase: 'Groß-/Kleinschreibung beachten',
|
||||
matchCyclic: 'Zyklische Suche',
|
||||
matchWord: 'Nur ganzes Wort suchen',
|
||||
notFoundMsg: 'Der angegebene Text wurde nicht gefunden.',
|
||||
replace: 'Ersetzen',
|
||||
replaceAll: 'Alle ersetzen',
|
||||
replaceSuccessMsg: '%1 Vorkommen ersetzt.',
|
||||
replaceWith: 'Ersetzen mit:',
|
||||
title: 'Suchen und Ersetzen'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/el.js
Normal file
18
ckeditor/plugins/find/lang/el.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'el', {
|
||||
find: 'Εύρεση',
|
||||
findOptions: 'Επιλογές Εύρεσης',
|
||||
findWhat: 'Εύρεση για:',
|
||||
matchCase: 'Ταίριασμα πεζών/κεφαλαίων',
|
||||
matchCyclic: 'Αναδρομική εύρεση',
|
||||
matchWord: 'Εύρεση μόνο πλήρων λέξεων',
|
||||
notFoundMsg: 'Το κείμενο δεν βρέθηκε.',
|
||||
replace: 'Αντικατάσταση',
|
||||
replaceAll: 'Αντικατάσταση Όλων',
|
||||
replaceSuccessMsg: 'Ο(ι) όρος(-οι) αντικαταστήθηκε(-αν) %1 φορές.',
|
||||
replaceWith: 'Αντικατάσταση με:',
|
||||
title: 'Εύρεση και Αντικατάσταση'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/en-au.js
Normal file
18
ckeditor/plugins/find/lang/en-au.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'en-au', {
|
||||
find: 'Find',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'Find what:',
|
||||
matchCase: 'Match case',
|
||||
matchCyclic: 'Match cyclic',
|
||||
matchWord: 'Match whole word',
|
||||
notFoundMsg: 'The specified text was not found.',
|
||||
replace: 'Replace',
|
||||
replaceAll: 'Replace All',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.',
|
||||
replaceWith: 'Replace with:',
|
||||
title: 'Find and Replace'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/en-ca.js
Normal file
18
ckeditor/plugins/find/lang/en-ca.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'en-ca', {
|
||||
find: 'Find',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'Find what:',
|
||||
matchCase: 'Match case',
|
||||
matchCyclic: 'Match cyclic',
|
||||
matchWord: 'Match whole word',
|
||||
notFoundMsg: 'The specified text was not found.',
|
||||
replace: 'Replace',
|
||||
replaceAll: 'Replace All',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.',
|
||||
replaceWith: 'Replace with:',
|
||||
title: 'Find and Replace'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/en-gb.js
Normal file
18
ckeditor/plugins/find/lang/en-gb.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'en-gb', {
|
||||
find: 'Find',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'Find what:',
|
||||
matchCase: 'Match case',
|
||||
matchCyclic: 'Match cyclic',
|
||||
matchWord: 'Match whole word',
|
||||
notFoundMsg: 'The specified text was not found.',
|
||||
replace: 'Replace',
|
||||
replaceAll: 'Replace All',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.',
|
||||
replaceWith: 'Replace with:',
|
||||
title: 'Find and Replace'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/en.js
Normal file
18
ckeditor/plugins/find/lang/en.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'en', {
|
||||
find: 'Find',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'Find what:',
|
||||
matchCase: 'Match case',
|
||||
matchCyclic: 'Match cyclic',
|
||||
matchWord: 'Match whole word',
|
||||
notFoundMsg: 'The specified text was not found.',
|
||||
replace: 'Replace',
|
||||
replaceAll: 'Replace All',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.',
|
||||
replaceWith: 'Replace with:',
|
||||
title: 'Find and Replace'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/eo.js
Normal file
18
ckeditor/plugins/find/lang/eo.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'eo', {
|
||||
find: 'Serĉi',
|
||||
findOptions: 'Opcioj pri Serĉado',
|
||||
findWhat: 'Serĉi:',
|
||||
matchCase: 'Kongruigi Usklecon',
|
||||
matchCyclic: 'Cikla Serĉado',
|
||||
matchWord: 'Tuta Vorto',
|
||||
notFoundMsg: 'La celteksto ne estas trovita.',
|
||||
replace: 'Anstataŭigi',
|
||||
replaceAll: 'Anstataŭigi Ĉion',
|
||||
replaceSuccessMsg: '%1 anstataŭigita(j) apero(j).',
|
||||
replaceWith: 'Anstataŭigi per:',
|
||||
title: 'Serĉi kaj Anstataŭigi'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/es.js
Normal file
18
ckeditor/plugins/find/lang/es.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'es', {
|
||||
find: 'Buscar',
|
||||
findOptions: 'Opciones de búsqueda',
|
||||
findWhat: 'Texto a buscar:',
|
||||
matchCase: 'Coincidir may/min',
|
||||
matchCyclic: 'Buscar en todo el contenido',
|
||||
matchWord: 'Coincidir toda la palabra',
|
||||
notFoundMsg: 'El texto especificado no ha sido encontrado.',
|
||||
replace: 'Reemplazar',
|
||||
replaceAll: 'Reemplazar Todo',
|
||||
replaceSuccessMsg: 'La expresión buscada ha sido reemplazada %1 veces.',
|
||||
replaceWith: 'Reemplazar con:',
|
||||
title: 'Buscar y Reemplazar'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/et.js
Normal file
18
ckeditor/plugins/find/lang/et.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'et', {
|
||||
find: 'Otsi',
|
||||
findOptions: 'Otsingu valikud',
|
||||
findWhat: 'Otsitav:',
|
||||
matchCase: 'Suur- ja väiketähtede eristamine',
|
||||
matchCyclic: 'Jätkatakse algusest',
|
||||
matchWord: 'Ainult terved sõnad',
|
||||
notFoundMsg: 'Otsitud teksti ei leitud.',
|
||||
replace: 'Asenda',
|
||||
replaceAll: 'Asenda kõik',
|
||||
replaceSuccessMsg: '%1 vastet asendati.',
|
||||
replaceWith: 'Asendus:',
|
||||
title: 'Otsimine ja asendamine'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/eu.js
Normal file
18
ckeditor/plugins/find/lang/eu.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'eu', {
|
||||
find: 'Bilatu',
|
||||
findOptions: 'Bilaketaren aukerak',
|
||||
findWhat: 'Bilatu hau:',
|
||||
matchCase: 'Maiuskula/minuskula',
|
||||
matchCyclic: 'Bilaketa ziklikoa',
|
||||
matchWord: 'Bilatu hitz osoa',
|
||||
notFoundMsg: 'Ez da aurkitu zehazturiko testua.',
|
||||
replace: 'Ordezkatu',
|
||||
replaceAll: 'Ordezkatu guztiak',
|
||||
replaceSuccessMsg: '%1 aldiz ordezkatua.',
|
||||
replaceWith: 'Ordezkatu honekin:',
|
||||
title: 'Bilatu eta ordezkatu'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/fa.js
Normal file
18
ckeditor/plugins/find/lang/fa.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'fa', {
|
||||
find: 'جستجو',
|
||||
findOptions: 'گزینههای جستجو',
|
||||
findWhat: 'چه چیز را مییابید:',
|
||||
matchCase: 'همسانی در بزرگی و کوچکی نویسهها',
|
||||
matchCyclic: 'همسانی با چرخه',
|
||||
matchWord: 'همسانی با واژهٴ کامل',
|
||||
notFoundMsg: 'متن موردنظر یافت نشد.',
|
||||
replace: 'جایگزینی',
|
||||
replaceAll: 'جایگزینی همهٴ یافتهها',
|
||||
replaceSuccessMsg: '%1 رخداد جایگزین شد.',
|
||||
replaceWith: 'جایگزینی با:',
|
||||
title: 'جستجو و جایگزینی'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/fi.js
Normal file
18
ckeditor/plugins/find/lang/fi.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'fi', {
|
||||
find: 'Etsi',
|
||||
findOptions: 'Hakuasetukset',
|
||||
findWhat: 'Etsi mitä:',
|
||||
matchCase: 'Sama kirjainkoko',
|
||||
matchCyclic: 'Kierrä ympäri',
|
||||
matchWord: 'Koko sana',
|
||||
notFoundMsg: 'Etsittyä tekstiä ei löytynyt.',
|
||||
replace: 'Korvaa',
|
||||
replaceAll: 'Korvaa kaikki',
|
||||
replaceSuccessMsg: '%1 esiintymä(ä) korvattu.',
|
||||
replaceWith: 'Korvaa tällä:',
|
||||
title: 'Etsi ja korvaa'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/fo.js
Normal file
18
ckeditor/plugins/find/lang/fo.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'fo', {
|
||||
find: 'Leita',
|
||||
findOptions: 'Finn møguleikar',
|
||||
findWhat: 'Finn:',
|
||||
matchCase: 'Munur á stórum og smáum bókstavum',
|
||||
matchCyclic: 'Match cyclic',
|
||||
matchWord: 'Bert heil orð',
|
||||
notFoundMsg: 'Leititeksturin varð ikki funnin',
|
||||
replace: 'Yvirskriva',
|
||||
replaceAll: 'Yvirskriva alt',
|
||||
replaceSuccessMsg: '%1 úrslit broytt.',
|
||||
replaceWith: 'Yvirskriva við:',
|
||||
title: 'Finn og broyt'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/fr-ca.js
Normal file
18
ckeditor/plugins/find/lang/fr-ca.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'fr-ca', {
|
||||
find: 'Rechercher',
|
||||
findOptions: 'Options de recherche',
|
||||
findWhat: 'Rechercher:',
|
||||
matchCase: 'Respecter la casse',
|
||||
matchCyclic: 'Recherche cyclique',
|
||||
matchWord: 'Mot entier',
|
||||
notFoundMsg: 'Le texte indiqué est introuvable.',
|
||||
replace: 'Remplacer',
|
||||
replaceAll: 'Tout remplacer',
|
||||
replaceSuccessMsg: '%1 remplacements.',
|
||||
replaceWith: 'Remplacer par:',
|
||||
title: 'Rechercher et remplacer'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/fr.js
Normal file
18
ckeditor/plugins/find/lang/fr.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'fr', {
|
||||
find: 'Rechercher',
|
||||
findOptions: 'Options de recherche',
|
||||
findWhat: 'Rechercher :',
|
||||
matchCase: 'Respecter la casse',
|
||||
matchCyclic: 'Boucler',
|
||||
matchWord: 'Mot entier uniquement',
|
||||
notFoundMsg: 'Le texte spécifié ne peut être trouvé.',
|
||||
replace: 'Remplacer',
|
||||
replaceAll: 'Remplacer tout',
|
||||
replaceSuccessMsg: '%1 occurrence(s) remplacée(s).',
|
||||
replaceWith: 'Remplacer par : ',
|
||||
title: 'Rechercher et remplacer'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/gl.js
Normal file
18
ckeditor/plugins/find/lang/gl.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'gl', {
|
||||
find: 'Buscar',
|
||||
findOptions: 'Buscar opcións',
|
||||
findWhat: 'Texto a buscar:',
|
||||
matchCase: 'Coincidir Mai./min.',
|
||||
matchCyclic: 'Coincidencia cíclica',
|
||||
matchWord: 'Coincidencia coa palabra completa',
|
||||
notFoundMsg: 'Non se atopou o texto indicado.',
|
||||
replace: 'Substituir',
|
||||
replaceAll: 'Substituír todo',
|
||||
replaceSuccessMsg: '%1 concorrencia(s) substituída(s).',
|
||||
replaceWith: 'Substituír con:',
|
||||
title: 'Buscar e substituír'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/gu.js
Normal file
18
ckeditor/plugins/find/lang/gu.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'gu', {
|
||||
find: 'શોધવું',
|
||||
findOptions: 'વીકલ્પ શોધો',
|
||||
findWhat: 'આ શોધો',
|
||||
matchCase: 'કેસ સરખા રાખો',
|
||||
matchCyclic: 'સરખાવવા બધા',
|
||||
matchWord: 'બઘા શબ્દ સરખા રાખો',
|
||||
notFoundMsg: 'તમે શોધેલી ટેક્સ્ટ નથી મળી',
|
||||
replace: 'રિપ્લેસ/બદલવું',
|
||||
replaceAll: 'બઘા બદલી ',
|
||||
replaceSuccessMsg: '%1 ફેરફારો બાદલાયા છે.',
|
||||
replaceWith: 'આનાથી બદલો',
|
||||
title: 'શોધવું અને બદલવું'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/he.js
Normal file
18
ckeditor/plugins/find/lang/he.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'he', {
|
||||
find: 'חיפוש',
|
||||
findOptions: 'אפשרויות חיפוש',
|
||||
findWhat: 'חיפוש מחרוזת:',
|
||||
matchCase: 'הבחנה בין אותיות רשיות לקטנות (Case)',
|
||||
matchCyclic: 'התאמה מחזורית',
|
||||
matchWord: 'התאמה למילה המלאה',
|
||||
notFoundMsg: 'הטקסט המבוקש לא נמצא.',
|
||||
replace: 'החלפה',
|
||||
replaceAll: 'החלפה בכל העמוד',
|
||||
replaceSuccessMsg: '%1 טקסטים הוחלפו.',
|
||||
replaceWith: 'החלפה במחרוזת:',
|
||||
title: 'חיפוש והחלפה'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/hi.js
Normal file
18
ckeditor/plugins/find/lang/hi.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'hi', {
|
||||
find: 'खोजें',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'यह खोजें:',
|
||||
matchCase: 'केस मिलायें',
|
||||
matchCyclic: 'Match cyclic',
|
||||
matchWord: 'पूरा शब्द मिलायें',
|
||||
notFoundMsg: 'आपके द्वारा दिया गया टेक्स्ट नहीं मिला',
|
||||
replace: 'रीप्लेस',
|
||||
replaceAll: 'सभी रिप्लेस करें',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.',
|
||||
replaceWith: 'इससे रिप्लेस करें:',
|
||||
title: 'खोजें और बदलें'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/hr.js
Normal file
18
ckeditor/plugins/find/lang/hr.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'hr', {
|
||||
find: 'Pronađi',
|
||||
findOptions: 'Opcije traženja',
|
||||
findWhat: 'Pronađi:',
|
||||
matchCase: 'Usporedi mala/velika slova',
|
||||
matchCyclic: 'Usporedi kružno',
|
||||
matchWord: 'Usporedi cijele riječi',
|
||||
notFoundMsg: 'Traženi tekst nije pronađen.',
|
||||
replace: 'Zamijeni',
|
||||
replaceAll: 'Zamijeni sve',
|
||||
replaceSuccessMsg: 'Zamijenjeno %1 pojmova.',
|
||||
replaceWith: 'Zamijeni s:',
|
||||
title: 'Pronađi i zamijeni'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/hu.js
Normal file
18
ckeditor/plugins/find/lang/hu.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'hu', {
|
||||
find: 'Keresés',
|
||||
findOptions: 'Beállítások',
|
||||
findWhat: 'Keresett szöveg:',
|
||||
matchCase: 'Kis- és nagybetű megkülönböztetése',
|
||||
matchCyclic: 'Ciklikus keresés',
|
||||
matchWord: 'Csak ha ez a teljes szó',
|
||||
notFoundMsg: 'A keresett szöveg nem található.',
|
||||
replace: 'Csere',
|
||||
replaceAll: 'Az összes cseréje',
|
||||
replaceSuccessMsg: '%1 egyezőség cserélve.',
|
||||
replaceWith: 'Csere erre:',
|
||||
title: 'Keresés és csere'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/id.js
Normal file
18
ckeditor/plugins/find/lang/id.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'id', {
|
||||
find: 'Temukan',
|
||||
findOptions: 'Opsi menemukan',
|
||||
findWhat: 'Temukan apa:',
|
||||
matchCase: 'Match case', // MISSING
|
||||
matchCyclic: 'Match cyclic', // MISSING
|
||||
matchWord: 'Match whole word', // MISSING
|
||||
notFoundMsg: 'Teks yang dipilih tidak ditemukan',
|
||||
replace: 'Ganti',
|
||||
replaceAll: 'Ganti Semua',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.', // MISSING
|
||||
replaceWith: 'Ganti dengan:',
|
||||
title: 'Temukan dan Ganti'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/is.js
Normal file
18
ckeditor/plugins/find/lang/is.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'is', {
|
||||
find: 'Leita',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'Leita að:',
|
||||
matchCase: 'Gera greinarmun á¡ há¡- og lágstöfum',
|
||||
matchCyclic: 'Match cyclic',
|
||||
matchWord: 'Aðeins heil orð',
|
||||
notFoundMsg: 'Leitartexti fannst ekki!',
|
||||
replace: 'Skipta út',
|
||||
replaceAll: 'Skipta út allsstaðar',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.',
|
||||
replaceWith: 'Skipta út fyrir:',
|
||||
title: 'Finna og skipta'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/it.js
Normal file
18
ckeditor/plugins/find/lang/it.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'it', {
|
||||
find: 'Trova',
|
||||
findOptions: 'Opzioni di ricerca',
|
||||
findWhat: 'Trova:',
|
||||
matchCase: 'Maiuscole/minuscole',
|
||||
matchCyclic: 'Ricerca ciclica',
|
||||
matchWord: 'Solo parole intere',
|
||||
notFoundMsg: 'L\'elemento cercato non è stato trovato.',
|
||||
replace: 'Sostituisci',
|
||||
replaceAll: 'Sostituisci tutto',
|
||||
replaceSuccessMsg: '%1 occorrenza(e) sostituite.',
|
||||
replaceWith: 'Sostituisci con:',
|
||||
title: 'Cerca e Sostituisci'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/ja.js
Normal file
18
ckeditor/plugins/find/lang/ja.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'ja', {
|
||||
find: '検索',
|
||||
findOptions: '検索オプション',
|
||||
findWhat: '検索する文字列:',
|
||||
matchCase: '大文字と小文字を区別する',
|
||||
matchCyclic: '末尾に逹したら先頭に戻る',
|
||||
matchWord: '単語単位で探す',
|
||||
notFoundMsg: '指定された文字列は見つかりませんでした。',
|
||||
replace: '置換',
|
||||
replaceAll: 'すべて置換',
|
||||
replaceSuccessMsg: '%1 個置換しました。',
|
||||
replaceWith: '置換後の文字列:',
|
||||
title: '検索と置換'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/ka.js
Normal file
18
ckeditor/plugins/find/lang/ka.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'ka', {
|
||||
find: 'ძებნა',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'საძიებელი ტექსტი:',
|
||||
matchCase: 'დიდი და პატარა ასოების დამთხვევა',
|
||||
matchCyclic: 'დოკუმენტის ბოლოში გასვლის მერე თავიდან დაწყება',
|
||||
matchWord: 'მთელი სიტყვის დამთხვევა',
|
||||
notFoundMsg: 'მითითებული ტექსტი არ მოიძებნა.',
|
||||
replace: 'შეცვლა',
|
||||
replaceAll: 'ყველას შეცვლა',
|
||||
replaceSuccessMsg: '%1 მოძებნილი შეიცვალა.',
|
||||
replaceWith: 'შეცვლის ტექსტი:',
|
||||
title: 'ძებნა და შეცვლა'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/km.js
Normal file
18
ckeditor/plugins/find/lang/km.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'km', {
|
||||
find: 'ស្វែងរក',
|
||||
findOptions: 'ជម្រើសស្វែងរក',
|
||||
findWhat: 'ស្វែងរកអ្វី:',
|
||||
matchCase: 'ករណីដំណូច',
|
||||
matchCyclic: 'ត្រូវនឹង cyclic',
|
||||
matchWord: 'ដូចនឹងពាក្យទាំងមូល',
|
||||
notFoundMsg: 'រកមិនឃើញពាក្យដែលបានបញ្ជាក់។',
|
||||
replace: 'ជំនួស',
|
||||
replaceAll: 'ជំនួសទាំងអស់',
|
||||
replaceSuccessMsg: 'ការជំនួសចំនួន %1 បានកើតឡើង។',
|
||||
replaceWith: 'ជំនួសជាមួយ:',
|
||||
title: 'រកនិងជំនួស'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/ko.js
Normal file
18
ckeditor/plugins/find/lang/ko.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'ko', {
|
||||
find: '찾기',
|
||||
findOptions: '찾기 조건',
|
||||
findWhat: '찾을 내용:',
|
||||
matchCase: '대소문자 구분',
|
||||
matchCyclic: '되돌이 검색',
|
||||
matchWord: '온전한 단어',
|
||||
notFoundMsg: '문자열을 찾을 수 없습니다.',
|
||||
replace: '바꾸기',
|
||||
replaceAll: '모두 바꾸기',
|
||||
replaceSuccessMsg: '%1개의 항목이 바뀌었습니다.',
|
||||
replaceWith: '바꿀 내용:',
|
||||
title: '찾기 및 바꾸기'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/ku.js
Normal file
18
ckeditor/plugins/find/lang/ku.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'ku', {
|
||||
find: 'گەڕان',
|
||||
findOptions: 'هەڵبژاردەکانی گەڕان',
|
||||
findWhat: 'گەڕان بەدووای:',
|
||||
matchCase: 'جیاکردنەوه لەنێوان پیتی گەورەو بچووك',
|
||||
matchCyclic: 'گەڕان لەهەموو پەڕەکه',
|
||||
matchWord: 'تەنەا هەموو وشەکه',
|
||||
notFoundMsg: 'هیچ دەقه گەڕانێك نەدۆزراوه.',
|
||||
replace: 'لەبریدانان',
|
||||
replaceAll: 'لەبریدانانی هەمووی',
|
||||
replaceSuccessMsg: ' پێشهاتە(ی) لەبری دانرا. %1',
|
||||
replaceWith: 'لەبریدانان به:',
|
||||
title: 'گەڕان و لەبریدانان'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/lt.js
Normal file
18
ckeditor/plugins/find/lang/lt.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'lt', {
|
||||
find: 'Rasti',
|
||||
findOptions: 'Paieškos nustatymai',
|
||||
findWhat: 'Surasti tekstą:',
|
||||
matchCase: 'Skirti didžiąsias ir mažąsias raides',
|
||||
matchCyclic: 'Sutampantis cikliškumas',
|
||||
matchWord: 'Atitikti pilną žodį',
|
||||
notFoundMsg: 'Nurodytas tekstas nerastas.',
|
||||
replace: 'Pakeisti',
|
||||
replaceAll: 'Pakeisti viską',
|
||||
replaceSuccessMsg: '%1 sutapimas(ų) buvo pakeisti.',
|
||||
replaceWith: 'Pakeisti tekstu:',
|
||||
title: 'Surasti ir pakeisti'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/lv.js
Normal file
18
ckeditor/plugins/find/lang/lv.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'lv', {
|
||||
find: 'Meklēt',
|
||||
findOptions: 'Meklēt uzstādījumi',
|
||||
findWhat: 'Meklēt:',
|
||||
matchCase: 'Reģistrjūtīgs',
|
||||
matchCyclic: 'Sakrist cikliski',
|
||||
matchWord: 'Jāsakrīt pilnībā',
|
||||
notFoundMsg: 'Norādītā frāze netika atrasta.',
|
||||
replace: 'Nomainīt',
|
||||
replaceAll: 'Aizvietot visu',
|
||||
replaceSuccessMsg: '%1 gadījums(i) aizvietoti',
|
||||
replaceWith: 'Nomainīt uz:',
|
||||
title: 'Meklēt un aizvietot'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/mk.js
Normal file
18
ckeditor/plugins/find/lang/mk.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'mk', {
|
||||
find: 'Пронајди',
|
||||
findOptions: 'Опции за пронаоѓање',
|
||||
findWhat: 'Што барате:',
|
||||
matchCase: 'Се совпаѓа голема/мала буква,',
|
||||
matchCyclic: 'Пребарај циклично',
|
||||
matchWord: 'Се совпаѓа цел збор',
|
||||
notFoundMsg: 'Внесениот текст не беше пронајден.',
|
||||
replace: 'Замени',
|
||||
replaceAll: 'Замени ги сите',
|
||||
replaceSuccessMsg: '%1 случај/и беа заменети.',
|
||||
replaceWith: 'Замени со:',
|
||||
title: 'Пронајди и замени'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/mn.js
Normal file
18
ckeditor/plugins/find/lang/mn.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'mn', {
|
||||
find: 'Хайх',
|
||||
findOptions: 'Хайх сонголтууд',
|
||||
findWhat: 'Хайх үг/үсэг:',
|
||||
matchCase: 'Тэнцэх төлөв',
|
||||
matchCyclic: 'Match cyclic',
|
||||
matchWord: 'Тэнцэх бүтэн үг',
|
||||
notFoundMsg: 'Хайсан бичвэрийг олсонгүй.',
|
||||
replace: 'Орлуулах',
|
||||
replaceAll: 'Бүгдийг нь солих',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.',
|
||||
replaceWith: 'Солих үг:',
|
||||
title: 'Хайж орлуулах'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/ms.js
Normal file
18
ckeditor/plugins/find/lang/ms.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'ms', {
|
||||
find: 'Cari',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'Perkataan yang dicari:',
|
||||
matchCase: 'Padanan case huruf',
|
||||
matchCyclic: 'Match cyclic',
|
||||
matchWord: 'Padana Keseluruhan perkataan',
|
||||
notFoundMsg: 'Text yang dicari tidak dijumpai.',
|
||||
replace: 'Ganti',
|
||||
replaceAll: 'Ganti semua',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.',
|
||||
replaceWith: 'Diganti dengan:',
|
||||
title: 'Find and Replace'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/nb.js
Normal file
18
ckeditor/plugins/find/lang/nb.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'nb', {
|
||||
find: 'Søk',
|
||||
findOptions: 'Søkealternativer',
|
||||
findWhat: 'Søk etter:',
|
||||
matchCase: 'Skill mellom store og små bokstaver',
|
||||
matchCyclic: 'Søk i hele dokumentet',
|
||||
matchWord: 'Bare hele ord',
|
||||
notFoundMsg: 'Fant ikke søketeksten.',
|
||||
replace: 'Erstatt',
|
||||
replaceAll: 'Erstatt alle',
|
||||
replaceSuccessMsg: '%1 tilfelle(r) erstattet.',
|
||||
replaceWith: 'Erstatt med:',
|
||||
title: 'Søk og erstatt'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/nl.js
Normal file
18
ckeditor/plugins/find/lang/nl.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'nl', {
|
||||
find: 'Zoeken',
|
||||
findOptions: 'Zoekopties',
|
||||
findWhat: 'Zoeken naar:',
|
||||
matchCase: 'Hoofdlettergevoelig',
|
||||
matchCyclic: 'Doorlopend zoeken',
|
||||
matchWord: 'Hele woord moet voorkomen',
|
||||
notFoundMsg: 'De opgegeven tekst is niet gevonden.',
|
||||
replace: 'Vervangen',
|
||||
replaceAll: 'Alles vervangen',
|
||||
replaceSuccessMsg: '%1 resultaten vervangen.',
|
||||
replaceWith: 'Vervangen met:',
|
||||
title: 'Zoeken en vervangen'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/no.js
Normal file
18
ckeditor/plugins/find/lang/no.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'no', {
|
||||
find: 'Søk',
|
||||
findOptions: 'Søkealternativer',
|
||||
findWhat: 'Søk etter:',
|
||||
matchCase: 'Skill mellom store og små bokstaver',
|
||||
matchCyclic: 'Søk i hele dokumentet',
|
||||
matchWord: 'Bare hele ord',
|
||||
notFoundMsg: 'Fant ikke søketeksten.',
|
||||
replace: 'Erstatt',
|
||||
replaceAll: 'Erstatt alle',
|
||||
replaceSuccessMsg: '%1 tilfelle(r) erstattet.',
|
||||
replaceWith: 'Erstatt med:',
|
||||
title: 'Søk og erstatt'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/oc.js
Normal file
18
ckeditor/plugins/find/lang/oc.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'oc', {
|
||||
find: 'Recercar',
|
||||
findOptions: 'Opcions de recèrca',
|
||||
findWhat: 'Recercar :',
|
||||
matchCase: 'Respectar la cassa',
|
||||
matchCyclic: 'Boclar',
|
||||
matchWord: 'Mot entièr unicament',
|
||||
notFoundMsg: 'Lo tèxte especificat pòt pas èsser trobat.',
|
||||
replace: 'Remplaçar',
|
||||
replaceAll: 'Remplaçar tot',
|
||||
replaceSuccessMsg: '%1 ocurréncia(s) remplaçada(s).',
|
||||
replaceWith: 'Remplaçar per :',
|
||||
title: 'Recercar e remplaçar'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/pl.js
Normal file
18
ckeditor/plugins/find/lang/pl.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'pl', {
|
||||
find: 'Znajdź',
|
||||
findOptions: 'Opcje wyszukiwania',
|
||||
findWhat: 'Znajdź:',
|
||||
matchCase: 'Uwzględnij wielkość liter',
|
||||
matchCyclic: 'Cykliczne dopasowanie',
|
||||
matchWord: 'Całe słowa',
|
||||
notFoundMsg: 'Nie znaleziono szukanego hasła.',
|
||||
replace: 'Zamień',
|
||||
replaceAll: 'Zamień wszystko',
|
||||
replaceSuccessMsg: '%1 wystąpień zastąpionych.',
|
||||
replaceWith: 'Zastąp przez:',
|
||||
title: 'Znajdź i zamień'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/pt-br.js
Normal file
18
ckeditor/plugins/find/lang/pt-br.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'pt-br', {
|
||||
find: 'Localizar',
|
||||
findOptions: 'Opções',
|
||||
findWhat: 'Procurar por:',
|
||||
matchCase: 'Coincidir Maiúsculas/Minúsculas',
|
||||
matchCyclic: 'Coincidir cíclico',
|
||||
matchWord: 'Coincidir a palavra inteira',
|
||||
notFoundMsg: 'O texto especificado não foi encontrado.',
|
||||
replace: 'Substituir',
|
||||
replaceAll: 'Substituir Tudo',
|
||||
replaceSuccessMsg: '%1 ocorrência(s) substituída(s).',
|
||||
replaceWith: 'Substituir por:',
|
||||
title: 'Localizar e Substituir'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/pt.js
Normal file
18
ckeditor/plugins/find/lang/pt.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'pt', {
|
||||
find: 'Pesquisar',
|
||||
findOptions: 'Opções de pesquisa',
|
||||
findWhat: 'Texto a procurar:',
|
||||
matchCase: 'Maiúsculas/Minúsculas',
|
||||
matchCyclic: 'Match cyclic',
|
||||
matchWord: 'Coincidir com toda a palavra',
|
||||
notFoundMsg: 'O texto especificado não foi encontrado.',
|
||||
replace: 'Substituir',
|
||||
replaceAll: 'Substituir tudo',
|
||||
replaceSuccessMsg: '%1 ocurrências(s) substituídas.',
|
||||
replaceWith: 'Substituir por:',
|
||||
title: 'Pesquisar e substituir'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/ro.js
Normal file
18
ckeditor/plugins/find/lang/ro.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'ro', {
|
||||
find: 'Găseşte',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'Găseşte:',
|
||||
matchCase: 'Deosebeşte majuscule de minuscule (Match case)',
|
||||
matchCyclic: 'Potrivește ciclic',
|
||||
matchWord: 'Doar cuvintele întregi',
|
||||
notFoundMsg: 'Textul specificat nu a fost găsit.',
|
||||
replace: 'Înlocuieşte',
|
||||
replaceAll: 'Înlocuieşte tot',
|
||||
replaceSuccessMsg: '%1 căutări înlocuite.',
|
||||
replaceWith: 'Înlocuieşte cu:',
|
||||
title: 'Găseşte şi înlocuieşte'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/ru.js
Normal file
18
ckeditor/plugins/find/lang/ru.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'ru', {
|
||||
find: 'Найти',
|
||||
findOptions: 'Опции поиска',
|
||||
findWhat: 'Найти:',
|
||||
matchCase: 'Учитывать регистр',
|
||||
matchCyclic: 'По всему тексту',
|
||||
matchWord: 'Только слово целиком',
|
||||
notFoundMsg: 'Искомый текст не найден.',
|
||||
replace: 'Заменить',
|
||||
replaceAll: 'Заменить всё',
|
||||
replaceSuccessMsg: 'Успешно заменено %1 раз(а).',
|
||||
replaceWith: 'Заменить на:',
|
||||
title: 'Поиск и замена'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/si.js
Normal file
18
ckeditor/plugins/find/lang/si.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'si', {
|
||||
find: 'Find', // MISSING
|
||||
findOptions: 'Find Options', // MISSING
|
||||
findWhat: 'Find what:', // MISSING
|
||||
matchCase: 'Match case', // MISSING
|
||||
matchCyclic: 'Match cyclic', // MISSING
|
||||
matchWord: 'Match whole word', // MISSING
|
||||
notFoundMsg: 'The specified text was not found.', // MISSING
|
||||
replace: 'හිලව් කිරීම',
|
||||
replaceAll: 'සියල්ලම හිලව් කරන්න',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.', // MISSING
|
||||
replaceWith: 'Replace with:', // MISSING
|
||||
title: 'Find and Replace' // MISSING
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/sk.js
Normal file
18
ckeditor/plugins/find/lang/sk.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'sk', {
|
||||
find: 'Vyhľadať',
|
||||
findOptions: 'Možnosti vyhľadávania',
|
||||
findWhat: 'Čo hľadať:',
|
||||
matchCase: 'Rozlišovať malé a veľké písmená',
|
||||
matchCyclic: 'Po dosiahnutí konca pokračovať od začiatku',
|
||||
matchWord: 'Len celé slová',
|
||||
notFoundMsg: 'Hľadaný text nebol nájdený.',
|
||||
replace: 'Nahradiť',
|
||||
replaceAll: 'Nahradiť všetko',
|
||||
replaceSuccessMsg: '%1 výskyt(ov) nahradených.',
|
||||
replaceWith: 'Čím nahradiť:',
|
||||
title: 'Vyhľadať a nahradiť'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/sl.js
Normal file
18
ckeditor/plugins/find/lang/sl.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'sl', {
|
||||
find: 'Najdi',
|
||||
findOptions: 'Možnosti iskanja',
|
||||
findWhat: 'Najdi:',
|
||||
matchCase: 'Razlikuj velike in male črke',
|
||||
matchCyclic: 'Primerjaj znake v cirilici',
|
||||
matchWord: 'Samo cele besede',
|
||||
notFoundMsg: 'Navedenega besedila nismo našli.',
|
||||
replace: 'Zamenjaj',
|
||||
replaceAll: 'Zamenjaj vse',
|
||||
replaceSuccessMsg: 'Zamenjali smo %1 pojavitev.',
|
||||
replaceWith: 'Zamenjaj z:',
|
||||
title: 'Najdi in zamenjaj'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/sq.js
Normal file
18
ckeditor/plugins/find/lang/sq.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'sq', {
|
||||
find: 'Gjej',
|
||||
findOptions: 'Gjejë Alternativat',
|
||||
findWhat: 'Gjej çka:',
|
||||
matchCase: 'Rasti i përputhjes',
|
||||
matchCyclic: 'Përputh ciklikun',
|
||||
matchWord: 'Përputh fjalën e tërë',
|
||||
notFoundMsg: 'Teksti i caktuar nuk mundej të gjendet.',
|
||||
replace: 'Zëvendëso',
|
||||
replaceAll: 'Zëvendëso të gjitha',
|
||||
replaceSuccessMsg: '%1 rast(e) u zëvendësua(n).',
|
||||
replaceWith: 'Zëvendëso me:',
|
||||
title: 'Gjej dhe Zëvendëso'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/sr-latn.js
Normal file
18
ckeditor/plugins/find/lang/sr-latn.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'sr-latn', {
|
||||
find: 'Pretraga',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'Pronadi:',
|
||||
matchCase: 'Razlikuj mala i velika slova',
|
||||
matchCyclic: 'Match cyclic',
|
||||
matchWord: 'Uporedi cele reci',
|
||||
notFoundMsg: 'Traženi tekst nije pronađen.',
|
||||
replace: 'Zamena',
|
||||
replaceAll: 'Zameni sve',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.',
|
||||
replaceWith: 'Zameni sa:',
|
||||
title: 'Find and Replace'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/sr.js
Normal file
18
ckeditor/plugins/find/lang/sr.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'sr', {
|
||||
find: 'Претрага',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'Пронађи:',
|
||||
matchCase: 'Разликуј велика и мала слова',
|
||||
matchCyclic: 'Match cyclic',
|
||||
matchWord: 'Упореди целе речи',
|
||||
notFoundMsg: 'Тражени текст није пронађен.',
|
||||
replace: 'Замена',
|
||||
replaceAll: 'Замени све',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.',
|
||||
replaceWith: 'Замени са:',
|
||||
title: 'Find and Replace'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/sv.js
Normal file
18
ckeditor/plugins/find/lang/sv.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'sv', {
|
||||
find: 'Sök',
|
||||
findOptions: 'Sökalternativ',
|
||||
findWhat: 'Sök efter:',
|
||||
matchCase: 'Skiftläge',
|
||||
matchCyclic: 'Matcha cykliska',
|
||||
matchWord: 'Inkludera hela ord',
|
||||
notFoundMsg: 'Angiven text kunde ej hittas.',
|
||||
replace: 'Ersätt',
|
||||
replaceAll: 'Ersätt alla',
|
||||
replaceSuccessMsg: '%1 förekomst(er) ersatta.',
|
||||
replaceWith: 'Ersätt med:',
|
||||
title: 'Sök och ersätt'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/th.js
Normal file
18
ckeditor/plugins/find/lang/th.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'th', {
|
||||
find: 'ค้นหา',
|
||||
findOptions: 'Find Options',
|
||||
findWhat: 'ค้นหาคำว่า:',
|
||||
matchCase: 'ตัวโหญ่-เล็ก ต้องตรงกัน',
|
||||
matchCyclic: 'Match cyclic',
|
||||
matchWord: 'ต้องตรงกันทุกคำ',
|
||||
notFoundMsg: 'ไม่พบคำที่ค้นหา.',
|
||||
replace: 'ค้นหาและแทนที่',
|
||||
replaceAll: 'แทนที่ทั้งหมดที่พบ',
|
||||
replaceSuccessMsg: '%1 occurrence(s) replaced.',
|
||||
replaceWith: 'แทนที่ด้วย:',
|
||||
title: 'Find and Replace'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/tr.js
Normal file
18
ckeditor/plugins/find/lang/tr.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'tr', {
|
||||
find: 'Bul',
|
||||
findOptions: 'Seçenekleri Bul',
|
||||
findWhat: 'Aranan:',
|
||||
matchCase: 'Büyük/küçük harf duyarlı',
|
||||
matchCyclic: 'Eşleşen döngü',
|
||||
matchWord: 'Kelimenin tamamı uysun',
|
||||
notFoundMsg: 'Belirtilen yazı bulunamadı.',
|
||||
replace: 'Değiştir',
|
||||
replaceAll: 'Tümünü Değiştir',
|
||||
replaceSuccessMsg: '%1 bulunanlardan değiştirildi.',
|
||||
replaceWith: 'Bununla değiştir:',
|
||||
title: 'Bul ve Değiştir'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/tt.js
Normal file
18
ckeditor/plugins/find/lang/tt.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'tt', {
|
||||
find: 'Эзләү',
|
||||
findOptions: 'Эзләү көйләүләре',
|
||||
findWhat: 'Нәрсә эзләргә:',
|
||||
matchCase: 'Баш һәм юл хәрефләрен исәпкә алу',
|
||||
matchCyclic: 'Кабатлап эзләргә',
|
||||
matchWord: 'Сүзләрне тулысынча гына эзләү',
|
||||
notFoundMsg: 'Эзләнгән текст табылмады.',
|
||||
replace: 'Алмаштыру',
|
||||
replaceAll: 'Барысын да алмаштыру',
|
||||
replaceSuccessMsg: '%1 урында(ларда) алмаштырылган.',
|
||||
replaceWith: 'Нәрсәгә алмаштыру:',
|
||||
title: 'Эзләп табу һәм алмаштыру'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/ug.js
Normal file
18
ckeditor/plugins/find/lang/ug.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'ug', {
|
||||
find: 'ئىزدە',
|
||||
findOptions: 'ئىزدەش تاللانمىسى',
|
||||
findWhat: 'ئىزدە:',
|
||||
matchCase: 'چوڭ كىچىك ھەرپنى پەرقلەندۈر',
|
||||
matchCyclic: 'ئايلانما ماسلىشىش',
|
||||
matchWord: 'پۈتۈن سۆز ماسلىشىش',
|
||||
notFoundMsg: 'بەلگىلەنگەن تېكىستنى تاپالمىدى',
|
||||
replace: 'ئالماشتۇر',
|
||||
replaceAll: 'ھەممىنى ئالماشتۇر',
|
||||
replaceSuccessMsg: 'جەمئى %1 جايدىكى ئالماشتۇرۇش تاماملاندى',
|
||||
replaceWith: 'ئالماشتۇر:',
|
||||
title: 'ئىزدەپ ئالماشتۇر'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/uk.js
Normal file
18
ckeditor/plugins/find/lang/uk.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'uk', {
|
||||
find: 'Пошук',
|
||||
findOptions: 'Параметри Пошуку',
|
||||
findWhat: 'Шукати:',
|
||||
matchCase: 'Враховувати регістр',
|
||||
matchCyclic: 'Циклічна заміна',
|
||||
matchWord: 'Збіг цілих слів',
|
||||
notFoundMsg: 'Вказаний текст не знайдено.',
|
||||
replace: 'Заміна',
|
||||
replaceAll: 'Замінити все',
|
||||
replaceSuccessMsg: '%1 співпадінь(ня) замінено.',
|
||||
replaceWith: 'Замінити на:',
|
||||
title: 'Знайти і замінити'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/vi.js
Normal file
18
ckeditor/plugins/find/lang/vi.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'vi', {
|
||||
find: 'Tìm kiếm',
|
||||
findOptions: 'Tìm tùy chọn',
|
||||
findWhat: 'Tìm chuỗi:',
|
||||
matchCase: 'Phân biệt chữ hoa/thường',
|
||||
matchCyclic: 'Giống một phần',
|
||||
matchWord: 'Giống toàn bộ từ',
|
||||
notFoundMsg: 'Không tìm thấy chuỗi cần tìm.',
|
||||
replace: 'Thay thế',
|
||||
replaceAll: 'Thay thế tất cả',
|
||||
replaceSuccessMsg: '%1 vị trí đã được thay thế.',
|
||||
replaceWith: 'Thay bằng:',
|
||||
title: 'Tìm kiếm và thay thế'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/zh-cn.js
Normal file
18
ckeditor/plugins/find/lang/zh-cn.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'zh-cn', {
|
||||
find: '查找',
|
||||
findOptions: '查找选项',
|
||||
findWhat: '查找:',
|
||||
matchCase: '区分大小写',
|
||||
matchCyclic: '循环匹配',
|
||||
matchWord: '全字匹配',
|
||||
notFoundMsg: '指定的文本没有找到。',
|
||||
replace: '替换',
|
||||
replaceAll: '全部替换',
|
||||
replaceSuccessMsg: '共完成 %1 处替换。',
|
||||
replaceWith: '替换:',
|
||||
title: '查找和替换'
|
||||
} );
|
||||
18
ckeditor/plugins/find/lang/zh.js
Normal file
18
ckeditor/plugins/find/lang/zh.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'find', 'zh', {
|
||||
find: '尋找',
|
||||
findOptions: '尋找選項',
|
||||
findWhat: '尋找目標:',
|
||||
matchCase: '大小寫須相符',
|
||||
matchCyclic: '循環搜尋',
|
||||
matchWord: '全字拼寫須相符',
|
||||
notFoundMsg: '找不到指定的文字。',
|
||||
replace: '取代',
|
||||
replaceAll: '全部取代',
|
||||
replaceSuccessMsg: '已取代 %1 個指定項目。',
|
||||
replaceWith: '取代成:',
|
||||
title: '尋找及取代'
|
||||
} );
|
||||
52
ckeditor/plugins/find/plugin.js
Normal file
52
ckeditor/plugins/find/plugin.js
Normal file
@@ -0,0 +1,52 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.add( 'find', {
|
||||
requires: 'dialog',
|
||||
// jscs:disable maximumLineLength
|
||||
lang: 'af,ar,az,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,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: 'find,find-rtl,replace', // %REMOVE_LINE_CORE%
|
||||
hidpi: true, // %REMOVE_LINE_CORE%
|
||||
init: function( editor ) {
|
||||
var findCommand = editor.addCommand( 'find', new CKEDITOR.dialogCommand( 'find' ) );
|
||||
findCommand.canUndo = false;
|
||||
findCommand.readOnly = 1;
|
||||
|
||||
var replaceCommand = editor.addCommand( 'replace', new CKEDITOR.dialogCommand( 'replace' ) );
|
||||
replaceCommand.canUndo = false;
|
||||
|
||||
if ( editor.ui.addButton ) {
|
||||
editor.ui.addButton( 'Find', {
|
||||
label: editor.lang.find.find,
|
||||
command: 'find',
|
||||
toolbar: 'find,10'
|
||||
} );
|
||||
|
||||
editor.ui.addButton( 'Replace', {
|
||||
label: editor.lang.find.replace,
|
||||
command: 'replace',
|
||||
toolbar: 'find,20'
|
||||
} );
|
||||
}
|
||||
|
||||
CKEDITOR.dialog.add( 'find', this.path + 'dialogs/find.js' );
|
||||
CKEDITOR.dialog.add( 'replace', this.path + 'dialogs/find.js' );
|
||||
}
|
||||
} );
|
||||
|
||||
/**
|
||||
* Defines the style to be used to highlight results with the find dialog.
|
||||
*
|
||||
* // Highlight search results with blue on yellow.
|
||||
* config.find_highlight = {
|
||||
* element: 'span',
|
||||
* styles: { 'background-color': '#ff0', color: '#00f' }
|
||||
* };
|
||||
*
|
||||
* @cfg
|
||||
* @member CKEDITOR.config
|
||||
*/
|
||||
CKEDITOR.config.find_highlight = { element: 'span', styles: { 'background-color': '#004', color: '#fff' } };
|
||||
Reference in New Issue
Block a user