code
stringlengths
1
2.08M
language
stringclasses
1 value
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Debug window control and operations (empty for the compressed files - #2043). */ var FCKDebug = { Output : function() {}, OutputObject : function() {} } ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Library of keys collections. * * Test have shown that check for the existence of a key in an object is the * most efficient list entry check (10x faster that regex). Example: * if ( FCKListsLib.<ListName>[key] != null ) */ var FCKListsLib = { // We are not handling <ins> and <del> as block elements, for now. BlockElements : { address:1,blockquote:1,center:1,div:1,dl:1,fieldset:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,marquee:1,noscript:1,ol:1,p:1,pre:1,script:1,table:1,ul:1 }, // Block elements that may be filled with &nbsp; if empty. NonEmptyBlockElements : { p:1,div:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,address:1,pre:1,ol:1,ul:1,li:1,td:1,th:1 }, // Inline elements which MUST have child nodes. InlineChildReqElements : { abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,'var':1 }, // Inline elements which are not marked as empty "Empty" in the XHTML DTD. InlineNonEmptyElements : { a:1,abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,'var':1 }, // Elements marked as empty "Empty" in the XHTML DTD. EmptyElements : { base:1,col:1,meta:1,link:1,hr:1,br:1,param:1,img:1,area:1,input:1 }, // Elements that may be considered the "Block boundary" in an element path. PathBlockElements : { address:1,blockquote:1,dl:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1,li:1,dt:1,de:1 }, // Elements that may be considered the "Block limit" in an element path. PathBlockLimitElements : { body:1,div:1,td:1,th:1,caption:1,form:1 }, // Block elements for the Styles System. StyleBlockElements : { address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1 }, // Object elements for the Styles System. StyleObjectElements : { img:1,hr:1,li:1,table:1,tr:1,td:1,embed:1,object:1,ol:1,ul:1 }, // Elements that accept text nodes, but are not possible to edit in the browser. NonEditableElements : { button:1,option:1,script:1,iframe:1,textarea:1,object:1,embed:1,map:1,applet:1 }, // Elements used to separate block contents. BlockBoundaries : { p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,body:1 }, ListBoundaries : { p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,body:1,br:1 } } ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This file define the HTML entities handled by the editor. */ var FCKXHtmlEntities = new Object() ; FCKXHtmlEntities.Initialize = function() { if ( FCKXHtmlEntities.Entities ) return ; var sChars = '' ; var oEntities, e ; if ( FCKConfig.ProcessHTMLEntities ) { FCKXHtmlEntities.Entities = { // Latin-1 Entities ' ':'nbsp', '¡':'iexcl', '¢':'cent', '£':'pound', '¤':'curren', '¥':'yen', '¦':'brvbar', '§':'sect', '¨':'uml', '©':'copy', 'ª':'ordf', '«':'laquo', '¬':'not', '­':'shy', '®':'reg', '¯':'macr', '°':'deg', '±':'plusmn', '²':'sup2', '³':'sup3', '´':'acute', 'µ':'micro', '¶':'para', '·':'middot', '¸':'cedil', '¹':'sup1', 'º':'ordm', '»':'raquo', '¼':'frac14', '½':'frac12', '¾':'frac34', '¿':'iquest', '×':'times', '÷':'divide', // Symbols 'ƒ':'fnof', '•':'bull', '…':'hellip', '′':'prime', '″':'Prime', '‾':'oline', '⁄':'frasl', '℘':'weierp', 'ℑ':'image', 'ℜ':'real', '™':'trade', 'ℵ':'alefsym', '←':'larr', '↑':'uarr', '→':'rarr', '↓':'darr', '↔':'harr', '↵':'crarr', '⇐':'lArr', '⇑':'uArr', '⇒':'rArr', '⇓':'dArr', '⇔':'hArr', '∀':'forall', '∂':'part', '∃':'exist', '∅':'empty', '∇':'nabla', '∈':'isin', '∉':'notin', '∋':'ni', '∏':'prod', '∑':'sum', '−':'minus', '∗':'lowast', '√':'radic', '∝':'prop', '∞':'infin', '∠':'ang', '∧':'and', '∨':'or', '∩':'cap', '∪':'cup', '∫':'int', '∴':'there4', '∼':'sim', '≅':'cong', '≈':'asymp', '≠':'ne', '≡':'equiv', '≤':'le', '≥':'ge', '⊂':'sub', '⊃':'sup', '⊄':'nsub', '⊆':'sube', '⊇':'supe', '⊕':'oplus', '⊗':'otimes', '⊥':'perp', '⋅':'sdot', '\u2308':'lceil', '\u2309':'rceil', '\u230a':'lfloor', '\u230b':'rfloor', '\u2329':'lang', '\u232a':'rang', '◊':'loz', '♠':'spades', '♣':'clubs', '♥':'hearts', '♦':'diams', // Other Special Characters '"':'quot', // '&':'amp', // This entity is automatically handled by the XHTML parser. // '<':'lt', // This entity is automatically handled by the XHTML parser. // '>':'gt', // This entity is automatically handled by the XHTML parser. 'ˆ':'circ', '˜':'tilde', ' ':'ensp', ' ':'emsp', ' ':'thinsp', '‌':'zwnj', '‍':'zwj', '‎':'lrm', '‏':'rlm', '–':'ndash', '—':'mdash', '‘':'lsquo', '’':'rsquo', '‚':'sbquo', '“':'ldquo', '”':'rdquo', '„':'bdquo', '†':'dagger', '‡':'Dagger', '‰':'permil', '‹':'lsaquo', '›':'rsaquo', '€':'euro' } ; // Process Base Entities. for ( e in FCKXHtmlEntities.Entities ) sChars += e ; // Include Latin Letters Entities. if ( FCKConfig.IncludeLatinEntities ) { oEntities = { 'À':'Agrave', 'Á':'Aacute', 'Â':'Acirc', 'Ã':'Atilde', 'Ä':'Auml', 'Å':'Aring', 'Æ':'AElig', 'Ç':'Ccedil', 'È':'Egrave', 'É':'Eacute', 'Ê':'Ecirc', 'Ë':'Euml', 'Ì':'Igrave', 'Í':'Iacute', 'Î':'Icirc', 'Ï':'Iuml', 'Ð':'ETH', 'Ñ':'Ntilde', 'Ò':'Ograve', 'Ó':'Oacute', 'Ô':'Ocirc', 'Õ':'Otilde', 'Ö':'Ouml', 'Ø':'Oslash', 'Ù':'Ugrave', 'Ú':'Uacute', 'Û':'Ucirc', 'Ü':'Uuml', 'Ý':'Yacute', 'Þ':'THORN', 'ß':'szlig', 'à':'agrave', 'á':'aacute', 'â':'acirc', 'ã':'atilde', 'ä':'auml', 'å':'aring', 'æ':'aelig', 'ç':'ccedil', 'è':'egrave', 'é':'eacute', 'ê':'ecirc', 'ë':'euml', 'ì':'igrave', 'í':'iacute', 'î':'icirc', 'ï':'iuml', 'ð':'eth', 'ñ':'ntilde', 'ò':'ograve', 'ó':'oacute', 'ô':'ocirc', 'õ':'otilde', 'ö':'ouml', 'ø':'oslash', 'ù':'ugrave', 'ú':'uacute', 'û':'ucirc', 'ü':'uuml', 'ý':'yacute', 'þ':'thorn', 'ÿ':'yuml', 'Œ':'OElig', 'œ':'oelig', 'Š':'Scaron', 'š':'scaron', 'Ÿ':'Yuml' } ; for ( e in oEntities ) { FCKXHtmlEntities.Entities[ e ] = oEntities[ e ] ; sChars += e ; } oEntities = null ; } // Include Greek Letters Entities. if ( FCKConfig.IncludeGreekEntities ) { oEntities = { 'Α':'Alpha', 'Β':'Beta', 'Γ':'Gamma', 'Δ':'Delta', 'Ε':'Epsilon', 'Ζ':'Zeta', 'Η':'Eta', 'Θ':'Theta', 'Ι':'Iota', 'Κ':'Kappa', 'Λ':'Lambda', 'Μ':'Mu', 'Ν':'Nu', 'Ξ':'Xi', 'Ο':'Omicron', 'Π':'Pi', 'Ρ':'Rho', 'Σ':'Sigma', 'Τ':'Tau', 'Υ':'Upsilon', 'Φ':'Phi', 'Χ':'Chi', 'Ψ':'Psi', 'Ω':'Omega', 'α':'alpha', 'β':'beta', 'γ':'gamma', 'δ':'delta', 'ε':'epsilon', 'ζ':'zeta', 'η':'eta', 'θ':'theta', 'ι':'iota', 'κ':'kappa', 'λ':'lambda', 'μ':'mu', 'ν':'nu', 'ξ':'xi', 'ο':'omicron', 'π':'pi', 'ρ':'rho', 'ς':'sigmaf', 'σ':'sigma', 'τ':'tau', 'υ':'upsilon', 'φ':'phi', 'χ':'chi', 'ψ':'psi', 'ω':'omega', '\u03d1':'thetasym', '\u03d2':'upsih', '\u03d6':'piv' } ; for ( e in oEntities ) { FCKXHtmlEntities.Entities[ e ] = oEntities[ e ] ; sChars += e ; } oEntities = null ; } } else { FCKXHtmlEntities.Entities = {} ; // Even if we are not processing the entities, we must render the &nbsp; // correctly. As we don't want HTML entities, let's use its numeric // representation (&#160). sChars = ' ' ; } // Create the Regex used to find entities in the text. var sRegexPattern = '[' + sChars + ']' ; if ( FCKConfig.ProcessNumericEntities ) sRegexPattern = '[^ -~]|' + sRegexPattern ; var sAdditional = FCKConfig.AdditionalNumericEntities ; if ( sAdditional && sAdditional.length > 0 ) sRegexPattern += '|' + FCKConfig.AdditionalNumericEntities ; FCKXHtmlEntities.EntitiesRegex = new RegExp( sRegexPattern, 'g' ) ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Define all commands available in the editor. */ var FCKCommands = FCK.Commands = new Object() ; FCKCommands.LoadedCommands = new Object() ; FCKCommands.RegisterCommand = function( commandName, command ) { this.LoadedCommands[ commandName ] = command ; } FCKCommands.GetCommand = function( commandName ) { var oCommand = FCKCommands.LoadedCommands[ commandName ] ; if ( oCommand ) return oCommand ; switch ( commandName ) { case 'Bold' : case 'Italic' : case 'Underline' : case 'StrikeThrough': case 'Subscript' : case 'Superscript' : oCommand = new FCKCoreStyleCommand( commandName ) ; break ; case 'RemoveFormat' : oCommand = new FCKRemoveFormatCommand() ; break ; case 'DocProps' : oCommand = new FCKDialogCommand( 'DocProps' , FCKLang.DocProps , 'dialog/fck_docprops.html' , 400, 380, FCKCommands.GetFullPageState ) ; break ; case 'Templates' : oCommand = new FCKDialogCommand( 'Templates' , FCKLang.DlgTemplatesTitle , 'dialog/fck_template.html' , 380, 450 ) ; break ; case 'Link' : oCommand = new FCKDialogCommand( 'Link' , FCKLang.DlgLnkWindowTitle , 'dialog/fck_link.html' , 400, 300 ) ; break ; case 'Unlink' : oCommand = new FCKUnlinkCommand() ; break ; case 'VisitLink' : oCommand = new FCKVisitLinkCommand() ; break ; case 'Anchor' : oCommand = new FCKDialogCommand( 'Anchor' , FCKLang.DlgAnchorTitle , 'dialog/fck_anchor.html' , 370, 160 ) ; break ; case 'AnchorDelete' : oCommand = new FCKAnchorDeleteCommand() ; break ; case 'BulletedList' : oCommand = new FCKDialogCommand( 'BulletedList', FCKLang.BulletedListProp , 'dialog/fck_listprop.html?UL' , 370, 160 ) ; break ; case 'NumberedList' : oCommand = new FCKDialogCommand( 'NumberedList', FCKLang.NumberedListProp , 'dialog/fck_listprop.html?OL' , 370, 160 ) ; break ; case 'About' : oCommand = new FCKDialogCommand( 'About' , FCKLang.About , 'dialog/fck_about.html' , 420, 330, function(){ return FCK_TRISTATE_OFF ; } ) ; break ; case 'Find' : oCommand = new FCKDialogCommand( 'Find' , FCKLang.DlgFindAndReplaceTitle, 'dialog/fck_replace.html' , 340, 230, null, null, 'Find' ) ; break ; case 'Replace' : oCommand = new FCKDialogCommand( 'Replace' , FCKLang.DlgFindAndReplaceTitle, 'dialog/fck_replace.html' , 340, 230, null, null, 'Replace' ) ; break ; case 'Image' : oCommand = new FCKDialogCommand( 'Image' , FCKLang.DlgImgTitle , 'dialog/fck_image.html' , 450, 390 ) ; break ; case 'Flash' : oCommand = new FCKDialogCommand( 'Flash' , FCKLang.DlgFlashTitle , 'dialog/fck_flash.html' , 450, 390 ) ; break ; case 'SpecialChar' : oCommand = new FCKDialogCommand( 'SpecialChar', FCKLang.DlgSpecialCharTitle , 'dialog/fck_specialchar.html' , 400, 290 ) ; break ; case 'Smiley' : oCommand = new FCKDialogCommand( 'Smiley' , FCKLang.DlgSmileyTitle , 'dialog/fck_smiley.html' , FCKConfig.SmileyWindowWidth, FCKConfig.SmileyWindowHeight ) ; break ; case 'Table' : oCommand = new FCKDialogCommand( 'Table' , FCKLang.DlgTableTitle , 'dialog/fck_table.html' , 480, 250 ) ; break ; case 'TableProp' : oCommand = new FCKDialogCommand( 'Table' , FCKLang.DlgTableTitle , 'dialog/fck_table.html?Parent', 480, 250 ) ; break ; case 'TableCellProp': oCommand = new FCKDialogCommand( 'TableCell' , FCKLang.DlgCellTitle , 'dialog/fck_tablecell.html' , 550, 240 ) ; break ; case 'Style' : oCommand = new FCKStyleCommand() ; break ; case 'FontName' : oCommand = new FCKFontNameCommand() ; break ; case 'FontSize' : oCommand = new FCKFontSizeCommand() ; break ; case 'FontFormat' : oCommand = new FCKFormatBlockCommand() ; break ; case 'Source' : oCommand = new FCKSourceCommand() ; break ; case 'Preview' : oCommand = new FCKPreviewCommand() ; break ; case 'Save' : oCommand = new FCKSaveCommand() ; break ; case 'NewPage' : oCommand = new FCKNewPageCommand() ; break ; case 'PageBreak' : oCommand = new FCKPageBreakCommand() ; break ; case 'Rule' : oCommand = new FCKRuleCommand() ; break ; case 'Nbsp' : oCommand = new FCKNbsp() ; break ; case 'TextColor' : oCommand = new FCKTextColorCommand('ForeColor') ; break ; case 'BGColor' : oCommand = new FCKTextColorCommand('BackColor') ; break ; case 'Paste' : oCommand = new FCKPasteCommand() ; break ; case 'PasteText' : oCommand = new FCKPastePlainTextCommand() ; break ; case 'PasteWord' : oCommand = new FCKPasteWordCommand() ; break ; case 'JustifyLeft' : oCommand = new FCKJustifyCommand( 'left' ) ; break ; case 'JustifyCenter' : oCommand = new FCKJustifyCommand( 'center' ) ; break ; case 'JustifyRight' : oCommand = new FCKJustifyCommand( 'right' ) ; break ; case 'JustifyFull' : oCommand = new FCKJustifyCommand( 'justify' ) ; break ; case 'Indent' : oCommand = new FCKIndentCommand( 'indent', FCKConfig.IndentLength ) ; break ; case 'Outdent' : oCommand = new FCKIndentCommand( 'outdent', FCKConfig.IndentLength * -1 ) ; break ; case 'Blockquote' : oCommand = new FCKBlockQuoteCommand() ; break ; case 'CreateDiv' : oCommand = new FCKDialogCommand( 'CreateDiv', FCKLang.CreateDiv, 'dialog/fck_div.html', 380, 210, null, null, true ) ; break ; case 'EditDiv' : oCommand = new FCKDialogCommand( 'EditDiv', FCKLang.EditDiv, 'dialog/fck_div.html', 380, 210, null, null, false ) ; break ; case 'DeleteDiv' : oCommand = new FCKDeleteDivCommand() ; break ; case 'TableInsertRowAfter' : oCommand = new FCKTableCommand('TableInsertRowAfter') ; break ; case 'TableInsertRowBefore' : oCommand = new FCKTableCommand('TableInsertRowBefore') ; break ; case 'TableDeleteRows' : oCommand = new FCKTableCommand('TableDeleteRows') ; break ; case 'TableInsertColumnAfter' : oCommand = new FCKTableCommand('TableInsertColumnAfter') ; break ; case 'TableInsertColumnBefore' : oCommand = new FCKTableCommand('TableInsertColumnBefore') ; break ; case 'TableDeleteColumns' : oCommand = new FCKTableCommand('TableDeleteColumns') ; break ; case 'TableInsertCellAfter' : oCommand = new FCKTableCommand('TableInsertCellAfter') ; break ; case 'TableInsertCellBefore' : oCommand = new FCKTableCommand('TableInsertCellBefore') ; break ; case 'TableDeleteCells' : oCommand = new FCKTableCommand('TableDeleteCells') ; break ; case 'TableMergeCells' : oCommand = new FCKTableCommand('TableMergeCells') ; break ; case 'TableMergeRight' : oCommand = new FCKTableCommand('TableMergeRight') ; break ; case 'TableMergeDown' : oCommand = new FCKTableCommand('TableMergeDown') ; break ; case 'TableHorizontalSplitCell' : oCommand = new FCKTableCommand('TableHorizontalSplitCell') ; break ; case 'TableVerticalSplitCell' : oCommand = new FCKTableCommand('TableVerticalSplitCell') ; break ; case 'TableDelete' : oCommand = new FCKTableCommand('TableDelete') ; break ; case 'Form' : oCommand = new FCKDialogCommand( 'Form' , FCKLang.Form , 'dialog/fck_form.html' , 380, 210 ) ; break ; case 'Checkbox' : oCommand = new FCKDialogCommand( 'Checkbox' , FCKLang.Checkbox , 'dialog/fck_checkbox.html' , 380, 200 ) ; break ; case 'Radio' : oCommand = new FCKDialogCommand( 'Radio' , FCKLang.RadioButton , 'dialog/fck_radiobutton.html' , 380, 200 ) ; break ; case 'TextField' : oCommand = new FCKDialogCommand( 'TextField' , FCKLang.TextField , 'dialog/fck_textfield.html' , 380, 210 ) ; break ; case 'Textarea' : oCommand = new FCKDialogCommand( 'Textarea' , FCKLang.Textarea , 'dialog/fck_textarea.html' , 380, 210 ) ; break ; case 'HiddenField' : oCommand = new FCKDialogCommand( 'HiddenField', FCKLang.HiddenField , 'dialog/fck_hiddenfield.html' , 380, 190 ) ; break ; case 'Button' : oCommand = new FCKDialogCommand( 'Button' , FCKLang.Button , 'dialog/fck_button.html' , 380, 210 ) ; break ; case 'Select' : oCommand = new FCKDialogCommand( 'Select' , FCKLang.SelectionField, 'dialog/fck_select.html' , 400, 340 ) ; break ; case 'ImageButton' : oCommand = new FCKDialogCommand( 'ImageButton', FCKLang.ImageButton , 'dialog/fck_image.html?ImageButton', 450, 390 ) ; break ; case 'SpellCheck' : oCommand = new FCKSpellCheckCommand() ; break ; case 'FitWindow' : oCommand = new FCKFitWindow() ; break ; case 'Undo' : oCommand = new FCKUndoCommand() ; break ; case 'Redo' : oCommand = new FCKRedoCommand() ; break ; case 'Copy' : oCommand = new FCKCutCopyCommand( false ) ; break ; case 'Cut' : oCommand = new FCKCutCopyCommand( true ) ; break ; case 'SelectAll' : oCommand = new FCKSelectAllCommand() ; break ; case 'InsertOrderedList' : oCommand = new FCKListCommand( 'insertorderedlist', 'ol' ) ; break ; case 'InsertUnorderedList' : oCommand = new FCKListCommand( 'insertunorderedlist', 'ul' ) ; break ; case 'ShowBlocks' : oCommand = new FCKShowBlockCommand( 'ShowBlocks', FCKConfig.StartupShowBlocks ? FCK_TRISTATE_ON : FCK_TRISTATE_OFF ) ; break ; // Generic Undefined command (usually used when a command is under development). case 'Undefined' : oCommand = new FCKUndefinedCommand() ; break ; // By default we assume that it is a named command. default: if ( FCKRegexLib.NamedCommands.test( commandName ) ) oCommand = new FCKNamedCommand( commandName ) ; else { alert( FCKLang.UnknownCommand.replace( /%1/g, commandName ) ) ; return null ; } } FCKCommands.LoadedCommands[ commandName ] = oCommand ; return oCommand ; } // Gets the state of the "Document Properties" button. It must be enabled only // when "Full Page" editing is available. FCKCommands.GetFullPageState = function() { return FCKConfig.FullPage ? FCK_TRISTATE_OFF : FCK_TRISTATE_DISABLED ; } FCKCommands.GetBooleanState = function( isDisabled ) { return isDisabled ? FCK_TRISTATE_DISABLED : FCK_TRISTATE_OFF ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Handles styles in a give document. */ var FCKStyles = FCK.Styles = { _Callbacks : {}, _ObjectStyles : {}, ApplyStyle : function( style ) { if ( typeof style == 'string' ) style = this.GetStyles()[ style ] ; if ( style ) { if ( style.GetType() == FCK_STYLE_OBJECT ) style.ApplyToObject( FCKSelection.GetSelectedElement() ) ; else style.ApplyToSelection( FCK.EditorWindow ) ; FCK.Events.FireEvent( 'OnSelectionChange' ) ; } }, RemoveStyle : function( style ) { if ( typeof style == 'string' ) style = this.GetStyles()[ style ] ; if ( style ) { style.RemoveFromSelection( FCK.EditorWindow ) ; FCK.Events.FireEvent( 'OnSelectionChange' ) ; } }, /** * Defines a callback function to be called when the current state of a * specific style changes. */ AttachStyleStateChange : function( styleName, callback, callbackOwner ) { var callbacks = this._Callbacks[ styleName ] ; if ( !callbacks ) callbacks = this._Callbacks[ styleName ] = [] ; callbacks.push( [ callback, callbackOwner ] ) ; }, CheckSelectionChanges : function() { var startElement = FCKSelection.GetBoundaryParentElement( true ) ; if ( !startElement ) return ; // Walks the start node parents path, checking all styles that are being listened. var path = new FCKElementPath( startElement ) ; var styles = this.GetStyles() ; for ( var styleName in styles ) { var callbacks = this._Callbacks[ styleName ] ; if ( callbacks ) { var style = styles[ styleName ] ; var state = style.CheckActive( path ) ; if ( state != ( style._LastState || null ) ) { style._LastState = state ; for ( var i = 0 ; i < callbacks.length ; i++ ) { var callback = callbacks[i][0] ; var callbackOwner = callbacks[i][1] ; callback.call( callbackOwner || window, styleName, state ) ; } } } } }, CheckStyleInSelection : function( styleName ) { return false ; }, _GetRemoveFormatTagsRegex : function () { var regex = new RegExp( '^(?:' + FCKConfig.RemoveFormatTags.replace( /,/g,'|' ) + ')$', 'i' ) ; return (this._GetRemoveFormatTagsRegex = function() { return regex ; }) && regex ; }, /** * Remove all styles from the current selection. * TODO: * - This is almost a duplication of FCKStyle.RemoveFromRange. We should * try to merge things. */ RemoveAll : function() { var range = new FCKDomRange( FCK.EditorWindow ) ; range.MoveToSelection() ; if ( range.CheckIsCollapsed() ) return ; // Expand the range, if inside inline element boundaries. range.Expand( 'inline_elements' ) ; // Get the bookmark nodes. // Bookmark the range so we can re-select it after processing. var bookmark = range.CreateBookmark( true ) ; // The style will be applied within the bookmark boundaries. var startNode = range.GetBookmarkNode( bookmark, true ) ; var endNode = range.GetBookmarkNode( bookmark, false ) ; range.Release( true ) ; var tagsRegex = this._GetRemoveFormatTagsRegex() ; // We need to check the selection boundaries (bookmark spans) to break // the code in a way that we can properly remove partially selected nodes. // For example, removing a <b> style from // <b>This is [some text</b> to show <b>the] problem</b> // ... where [ and ] represent the selection, must result: // <b>This is </b>[some text to show the]<b> problem</b> // The strategy is simple, we just break the partial nodes before the // removal logic, having something that could be represented this way: // <b>This is </b>[<b>some text</b> to show <b>the</b>]<b> problem</b> // Let's start checking the start boundary. var path = new FCKElementPath( startNode ) ; var pathElements = path.Elements ; var pathElement ; for ( var i = 1 ; i < pathElements.length ; i++ ) { pathElement = pathElements[i] ; if ( pathElement == path.Block || pathElement == path.BlockLimit ) break ; // If this element can be removed (even partially). if ( tagsRegex.test( pathElement.nodeName ) ) FCKDomTools.BreakParent( startNode, pathElement, range ) ; } // Now the end boundary. path = new FCKElementPath( endNode ) ; pathElements = path.Elements ; for ( var i = 1 ; i < pathElements.length ; i++ ) { pathElement = pathElements[i] ; if ( pathElement == path.Block || pathElement == path.BlockLimit ) break ; elementName = pathElement.nodeName.toLowerCase() ; // If this element can be removed (even partially). if ( tagsRegex.test( pathElement.nodeName ) ) FCKDomTools.BreakParent( endNode, pathElement, range ) ; } // Navigate through all nodes between the bookmarks. var currentNode = FCKDomTools.GetNextSourceNode( startNode, true, 1 ) ; while ( currentNode ) { // If we have reached the end of the selection, stop looping. if ( currentNode == endNode ) break ; // Cache the next node to be processed. Do it now, because // currentNode may be removed. var nextNode = FCKDomTools.GetNextSourceNode( currentNode, false, 1 ) ; // Remove elements nodes that match with this style rules. if ( tagsRegex.test( currentNode.nodeName ) ) FCKDomTools.RemoveNode( currentNode, true ) ; else FCKDomTools.RemoveAttributes( currentNode, FCKConfig.RemoveAttributesArray ); currentNode = nextNode ; } range.SelectBookmark( bookmark ) ; FCK.Events.FireEvent( 'OnSelectionChange' ) ; }, GetStyle : function( styleName ) { return this.GetStyles()[ styleName ] ; }, GetStyles : function() { var styles = this._GetStyles ; if ( !styles ) { styles = this._GetStyles = FCKTools.Merge( this._LoadStylesCore(), this._LoadStylesCustom(), this._LoadStylesXml() ) ; } return styles ; }, CheckHasObjectStyle : function( elementName ) { return !!this._ObjectStyles[ elementName ] ; }, _LoadStylesCore : function() { var styles = {}; var styleDefs = FCKConfig.CoreStyles ; for ( var styleName in styleDefs ) { // Core styles are prefixed with _FCK_. var style = styles[ '_FCK_' + styleName ] = new FCKStyle( styleDefs[ styleName ] ) ; style.IsCore = true ; } return styles ; }, _LoadStylesCustom : function() { var styles = {}; var styleDefs = FCKConfig.CustomStyles ; if ( styleDefs ) { for ( var styleName in styleDefs ) { var style = styles[ styleName ] = new FCKStyle( styleDefs[ styleName ] ) ; style.Name = styleName ; } } return styles ; }, _LoadStylesXml : function() { var styles = {}; var stylesXmlPath = FCKConfig.StylesXmlPath ; if ( !stylesXmlPath || stylesXmlPath.length == 0 ) return styles ; // Load the XML file into a FCKXml object. var xml = new FCKXml() ; xml.LoadUrl( stylesXmlPath ) ; var stylesXmlObj = FCKXml.TransformToObject( xml.SelectSingleNode( 'Styles' ) ) ; // Get the "Style" nodes defined in the XML file. var styleNodes = stylesXmlObj.$Style ; // Check that it did contain some valid nodes if ( !styleNodes ) return styles ; // Add each style to our "Styles" collection. for ( var i = 0 ; i < styleNodes.length ; i++ ) { var styleNode = styleNodes[i] ; var element = ( styleNode.element || '' ).toLowerCase() ; if ( element.length == 0 ) throw( 'The element name is required. Error loading "' + stylesXmlPath + '"' ) ; var styleDef = { Element : element, Attributes : {}, Styles : {}, Overrides : [] } ; // Get the attributes defined for the style (if any). var attNodes = styleNode.$Attribute || [] ; // Add the attributes to the style definition object. for ( var j = 0 ; j < attNodes.length ; j++ ) { styleDef.Attributes[ attNodes[j].name ] = attNodes[j].value ; } // Get the styles defined for the style (if any). var cssStyleNodes = styleNode.$Style || [] ; // Add the attributes to the style definition object. for ( j = 0 ; j < cssStyleNodes.length ; j++ ) { styleDef.Styles[ cssStyleNodes[j].name ] = cssStyleNodes[j].value ; } // Load override definitions. var cssStyleOverrideNodes = styleNode.$Override ; if ( cssStyleOverrideNodes ) { for ( j = 0 ; j < cssStyleOverrideNodes.length ; j++ ) { var overrideNode = cssStyleOverrideNodes[j] ; var overrideDef = { Element : overrideNode.element } ; var overrideAttNode = overrideNode.$Attribute ; if ( overrideAttNode ) { overrideDef.Attributes = {} ; for ( var k = 0 ; k < overrideAttNode.length ; k++ ) { var overrideAttValue = overrideAttNode[k].value || null ; if ( overrideAttValue ) { // Check if the override attribute value is a regular expression. var regexMatch = overrideAttValue && FCKRegexLib.RegExp.exec( overrideAttValue ) ; if ( regexMatch ) overrideAttValue = new RegExp( regexMatch[1], regexMatch[2] || '' ) ; } overrideDef.Attributes[ overrideAttNode[k].name ] = overrideAttValue ; } } styleDef.Overrides.push( overrideDef ) ; } } var style = new FCKStyle( styleDef ) ; style.Name = styleNode.name || element ; if ( style.GetType() == FCK_STYLE_OBJECT ) this._ObjectStyles[ element ] = true ; // Add the style to the "Styles" collection using it's name as the key. styles[ style.Name ] = style ; } return styles ; } } ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Creation and initialization of the "FCK" object. This is the main * object that represents an editor instance. * (IE specific implementations) */ FCK.Description = "FCKeditor for Internet Explorer 5.5+" ; FCK._GetBehaviorsStyle = function() { if ( !FCK._BehaviorsStyle ) { var sBasePath = FCKConfig.BasePath ; var sTableBehavior = '' ; var sStyle ; // The behaviors should be pointed using the BasePath to avoid security // errors when using a different BaseHref. sStyle = '<style type="text/css" _fcktemp="true">' ; if ( FCKConfig.ShowBorders ) sTableBehavior = 'url(' + sBasePath + 'css/behaviors/showtableborders.htc)' ; // Disable resize handlers. sStyle += 'INPUT,TEXTAREA,SELECT,.FCK__Anchor,.FCK__PageBreak,.FCK__InputHidden' ; if ( FCKConfig.DisableObjectResizing ) { sStyle += ',IMG' ; sTableBehavior += ' url(' + sBasePath + 'css/behaviors/disablehandles.htc)' ; } sStyle += ' { behavior: url(' + sBasePath + 'css/behaviors/disablehandles.htc) ; }' ; if ( sTableBehavior.length > 0 ) sStyle += 'TABLE { behavior: ' + sTableBehavior + ' ; }' ; sStyle += '</style>' ; FCK._BehaviorsStyle = sStyle ; } return FCK._BehaviorsStyle ; } function Doc_OnMouseUp() { if ( FCK.EditorWindow.event.srcElement.tagName == 'HTML' ) { FCK.Focus() ; FCK.EditorWindow.event.cancelBubble = true ; FCK.EditorWindow.event.returnValue = false ; } } function Doc_OnPaste() { var body = FCK.EditorDocument.body ; body.detachEvent( 'onpaste', Doc_OnPaste ) ; var ret = FCK.Paste( !FCKConfig.ForcePasteAsPlainText && !FCKConfig.AutoDetectPasteFromWord ) ; body.attachEvent( 'onpaste', Doc_OnPaste ) ; return ret ; } function Doc_OnDblClick() { FCK.OnDoubleClick( FCK.EditorWindow.event.srcElement ) ; FCK.EditorWindow.event.cancelBubble = true ; } function Doc_OnSelectionChange() { // Don't fire the event if no document is loaded. if ( !FCK.IsSelectionChangeLocked && FCK.EditorDocument ) FCK.Events.FireEvent( "OnSelectionChange" ) ; } function Doc_OnDrop() { if ( FCK.MouseDownFlag ) { FCK.MouseDownFlag = false ; return ; } if ( FCKConfig.ForcePasteAsPlainText ) { var evt = FCK.EditorWindow.event ; if ( FCK._CheckIsPastingEnabled() || FCKConfig.ShowDropDialog ) FCK.PasteAsPlainText( evt.dataTransfer.getData( 'Text' ) ) ; evt.returnValue = false ; evt.cancelBubble = true ; } } FCK.InitializeBehaviors = function( dontReturn ) { // Set the focus to the editable area when clicking in the document area. // TODO: The cursor must be positioned at the end. this.EditorDocument.attachEvent( 'onmouseup', Doc_OnMouseUp ) ; // Intercept pasting operations this.EditorDocument.body.attachEvent( 'onpaste', Doc_OnPaste ) ; // Intercept drop operations this.EditorDocument.body.attachEvent( 'ondrop', Doc_OnDrop ) ; // Reset the context menu. FCK.ContextMenu._InnerContextMenu.AttachToElement( FCK.EditorDocument.body ) ; this.EditorDocument.attachEvent("onkeydown", FCK._KeyDownListener ) ; this.EditorDocument.attachEvent("ondblclick", Doc_OnDblClick ) ; this.EditorDocument.attachEvent("onbeforedeactivate", function(){ FCKSelection.Save( true ) ; } ) ; // Catch cursor selection changes. this.EditorDocument.attachEvent("onselectionchange", Doc_OnSelectionChange ) ; FCKTools.AddEventListener( FCK.EditorDocument, 'mousedown', Doc_OnMouseDown ) ; } FCK.InsertHtml = function( html ) { html = FCKConfig.ProtectedSource.Protect( html ) ; html = FCK.ProtectEvents( html ) ; html = FCK.ProtectUrls( html ) ; html = FCK.ProtectTags( html ) ; // FCK.Focus() ; FCKSelection.Restore() ; FCK.EditorWindow.focus() ; FCKUndo.SaveUndoStep() ; // Gets the actual selection. var oSel = FCKSelection.GetSelection() ; // Deletes the actual selection contents. if ( oSel.type.toLowerCase() == 'control' ) oSel.clear() ; // Using the following trick, any comment in the beginning of the HTML will // be preserved. html = '<span id="__fakeFCKRemove__" style="display:none;">fakeFCKRemove</span>' + html ; // Insert the HTML. oSel.createRange().pasteHTML( html ) ; // Remove the fake node FCK.EditorDocument.getElementById('__fakeFCKRemove__').removeNode( true ) ; FCKDocumentProcessor.Process( FCK.EditorDocument ) ; // For some strange reason the SaveUndoStep() call doesn't activate the undo button at the first InsertHtml() call. this.Events.FireEvent( "OnSelectionChange" ) ; } FCK.SetInnerHtml = function( html ) // IE Only { var oDoc = FCK.EditorDocument ; // Using the following trick, any comment in the beginning of the HTML will // be preserved. oDoc.body.innerHTML = '<div id="__fakeFCKRemove__">&nbsp;</div>' + html ; oDoc.getElementById('__fakeFCKRemove__').removeNode( true ) ; } function FCK_PreloadImages() { var oPreloader = new FCKImagePreloader() ; // Add the configured images. oPreloader.AddImages( FCKConfig.PreloadImages ) ; // Add the skin icons strip. oPreloader.AddImages( FCKConfig.SkinPath + 'fck_strip.gif' ) ; oPreloader.OnComplete = LoadToolbarSetup ; oPreloader.Start() ; } // Disable the context menu in the editor (outside the editing area). function Document_OnContextMenu() { return ( event.srcElement._FCKShowContextMenu == true ) ; } document.oncontextmenu = Document_OnContextMenu ; function FCK_Cleanup() { this.LinkedField = null ; this.EditorWindow = null ; this.EditorDocument = null ; } FCK._ExecPaste = function() { // As we call ExecuteNamedCommand('Paste'), it would enter in a loop. So, let's use a semaphore. if ( FCK._PasteIsRunning ) return true ; if ( FCKConfig.ForcePasteAsPlainText ) { FCK.PasteAsPlainText() ; return false ; } var sHTML = FCK._CheckIsPastingEnabled( true ) ; if ( sHTML === false ) FCKTools.RunFunction( FCKDialog.OpenDialog, FCKDialog, ['FCKDialog_Paste', FCKLang.Paste, 'dialog/fck_paste.html', 400, 330, 'Security'] ) ; else { if ( FCKConfig.AutoDetectPasteFromWord && sHTML.length > 0 ) { var re = /<\w[^>]*(( class="?MsoNormal"?)|(="mso-))/gi ; if ( re.test( sHTML ) ) { if ( confirm( FCKLang.PasteWordConfirm ) ) { FCK.PasteFromWord() ; return false ; } } } // Instead of inserting the retrieved HTML, let's leave the OS work for us, // by calling FCK.ExecuteNamedCommand( 'Paste' ). It could give better results. // Enable the semaphore to avoid a loop. FCK._PasteIsRunning = true ; FCK.ExecuteNamedCommand( 'Paste' ) ; // Removes the semaphore. delete FCK._PasteIsRunning ; } // Let's always make a custom implementation (return false), otherwise // the new Keyboard Handler may conflict with this code, and the CTRL+V code // could result in a simple "V" being pasted. return false ; } FCK.PasteAsPlainText = function( forceText ) { if ( !FCK._CheckIsPastingEnabled() ) { FCKDialog.OpenDialog( 'FCKDialog_Paste', FCKLang.PasteAsText, 'dialog/fck_paste.html', 400, 330, 'PlainText' ) ; return ; } // Get the data available in the clipboard in text format. var sText = null ; if ( ! forceText ) sText = clipboardData.getData("Text") ; else sText = forceText ; if ( sText && sText.length > 0 ) { // Replace the carriage returns with <BR> sText = FCKTools.HTMLEncode( sText ) ; sText = FCKTools.ProcessLineBreaks( window, FCKConfig, sText ) ; var closeTagIndex = sText.search( '</p>' ) ; var startTagIndex = sText.search( '<p>' ) ; if ( ( closeTagIndex != -1 && startTagIndex != -1 && closeTagIndex < startTagIndex ) || ( closeTagIndex != -1 && startTagIndex == -1 ) ) { var prefix = sText.substr( 0, closeTagIndex ) ; sText = sText.substr( closeTagIndex + 4 ) ; this.InsertHtml( prefix ) ; } // Insert the resulting data in the editor. FCKUndo.SaveLocked = true ; this.InsertHtml( sText ) ; FCKUndo.SaveLocked = false ; } } FCK._CheckIsPastingEnabled = function( returnContents ) { // The following seams to be the only reliable way to check is script // pasting operations are enabled in the security settings of IE6 and IE7. // It adds a little bit of overhead to the check, but so far that's the // only way, mainly because of IE7. FCK._PasteIsEnabled = false ; document.body.attachEvent( 'onpaste', FCK_CheckPasting_Listener ) ; // The execCommand in GetClipboardHTML will fire the "onpaste", only if the // security settings are enabled. var oReturn = FCK.GetClipboardHTML() ; document.body.detachEvent( 'onpaste', FCK_CheckPasting_Listener ) ; if ( FCK._PasteIsEnabled ) { if ( !returnContents ) oReturn = true ; } else oReturn = false ; delete FCK._PasteIsEnabled ; return oReturn ; } function FCK_CheckPasting_Listener() { FCK._PasteIsEnabled = true ; } FCK.GetClipboardHTML = function() { var oDiv = document.getElementById( '___FCKHiddenDiv' ) ; if ( !oDiv ) { oDiv = document.createElement( 'DIV' ) ; oDiv.id = '___FCKHiddenDiv' ; var oDivStyle = oDiv.style ; oDivStyle.position = 'absolute' ; oDivStyle.visibility = oDivStyle.overflow = 'hidden' ; oDivStyle.width = oDivStyle.height = 1 ; document.body.appendChild( oDiv ) ; } oDiv.innerHTML = '' ; var oTextRange = document.body.createTextRange() ; oTextRange.moveToElementText( oDiv ) ; oTextRange.execCommand( 'Paste' ) ; var sData = oDiv.innerHTML ; oDiv.innerHTML = '' ; return sData ; } FCK.CreateLink = function( url, noUndo ) { // Creates the array that will be returned. It contains one or more created links (see #220). var aCreatedLinks = new Array() ; // Remove any existing link in the selection. FCK.ExecuteNamedCommand( 'Unlink', null, false, !!noUndo ) ; if ( url.length > 0 ) { // If there are several images, and you try to link each one, all the images get inside the link: // <img><img> -> <a><img></a><img> -> <a><img><img></a> due to the call to 'CreateLink' (bug in IE) if (FCKSelection.GetType() == 'Control') { // Create a link var oLink = this.EditorDocument.createElement( 'A' ) ; oLink.href = url ; // Get the selected object var oControl = FCKSelection.GetSelectedElement() ; // Put the link just before the object oControl.parentNode.insertBefore(oLink, oControl) ; // Move the object inside the link oControl.parentNode.removeChild( oControl ) ; oLink.appendChild( oControl ) ; return [ oLink ] ; } // Generate a temporary name for the link. var sTempUrl = 'javascript:void(0);/*' + ( new Date().getTime() ) + '*/' ; // Use the internal "CreateLink" command to create the link. FCK.ExecuteNamedCommand( 'CreateLink', sTempUrl, false, !!noUndo ) ; // Look for the just create link. var oLinks = this.EditorDocument.links ; for ( i = 0 ; i < oLinks.length ; i++ ) { var oLink = oLinks[i] ; // Check it this a newly created link. // getAttribute must be used. oLink.url may cause problems with IE7 (#555). if ( oLink.getAttribute( 'href', 2 ) == sTempUrl ) { var sInnerHtml = oLink.innerHTML ; // Save the innerHTML (IE changes it if it is like an URL). oLink.href = url ; oLink.innerHTML = sInnerHtml ; // Restore the innerHTML. // If the last child is a <br> move it outside the link or it // will be too easy to select this link again #388. var oLastChild = oLink.lastChild ; if ( oLastChild && oLastChild.nodeName == 'BR' ) { // Move the BR after the link. FCKDomTools.InsertAfterNode( oLink, oLink.removeChild( oLastChild ) ) ; } aCreatedLinks.push( oLink ) ; } } } return aCreatedLinks ; } function _FCK_RemoveDisabledAtt() { this.removeAttribute( 'disabled' ) ; } function Doc_OnMouseDown( evt ) { var e = evt.srcElement ; // Radio buttons and checkboxes should not be allowed to be triggered in IE // in editable mode. Otherwise the whole browser window may be locked by // the buttons. (#1782) if ( e.nodeName.IEquals( 'input' ) && e.type.IEquals( ['radio', 'checkbox'] ) && !e.disabled ) { e.disabled = true ; FCKTools.SetTimeout( _FCK_RemoveDisabledAtt, 1, e ) ; } }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Debug window control and operations. */ // Public function defined here must be declared in fckdebug_empty.js. var FCKDebug = { Output : function( message, color, noParse ) { if ( ! FCKConfig.Debug ) return ; try { this._GetWindow().Output( message, color ) ; } catch ( e ) {} // Ignore errors }, OutputObject : function( anyObject, color ) { if ( ! FCKConfig.Debug ) return ; try { this._GetWindow().OutputObject( anyObject, color ) ; } catch ( e ) {} // Ignore errors }, _GetWindow : function() { if ( !this.DebugWindow || this.DebugWindow.closed ) this.DebugWindow = window.open( FCKConfig.BasePath + 'fckdebug.html', 'FCKeditorDebug', 'menubar=no,scrollbars=yes,resizable=yes,location=no,toolbar=no,width=600,height=500', true ) ; return this.DebugWindow ; } } ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Active selection functions. (Gecko specific implementation) */ // Get the selection type (like document.select.type in IE). FCKSelection.GetType = function() { // By default set the type to "Text". var type = 'Text' ; // Check if the actual selection is a Control (IMG, TABLE, HR, etc...). var sel ; try { sel = this.GetSelection() ; } catch (e) {} if ( sel && sel.rangeCount == 1 ) { var range = sel.getRangeAt(0) ; if ( range.startContainer == range.endContainer && ( range.endOffset - range.startOffset ) == 1 && range.startContainer.nodeType == 1 && FCKListsLib.StyleObjectElements[ range.startContainer.childNodes[ range.startOffset ].nodeName.toLowerCase() ] ) { type = 'Control' ; } } return type ; } // Retrieves the selected element (if any), just in the case that a single // element (object like and image or a table) is selected. FCKSelection.GetSelectedElement = function() { var selection = !!FCK.EditorWindow && this.GetSelection() ; if ( !selection || selection.rangeCount < 1 ) return null ; var range = selection.getRangeAt( 0 ) ; if ( range.startContainer != range.endContainer || range.startContainer.nodeType != 1 || range.startOffset != range.endOffset - 1 ) return null ; var node = range.startContainer.childNodes[ range.startOffset ] ; if ( node.nodeType != 1 ) return null ; return node ; } FCKSelection.GetParentElement = function() { if ( this.GetType() == 'Control' ) return FCKSelection.GetSelectedElement().parentNode ; else { var oSel = this.GetSelection() ; if ( oSel ) { // if anchorNode == focusNode, see if the selection is text only or including nodes. // if text only, return the parent node. // if the selection includes DOM nodes, then the anchorNode is the nearest container. if ( oSel.anchorNode && oSel.anchorNode == oSel.focusNode ) { var oRange = oSel.getRangeAt( 0 ) ; if ( oRange.collapsed || oRange.startContainer.nodeType == 3 ) return oSel.anchorNode.parentNode ; else return oSel.anchorNode ; } // looks like we're having a large selection here. To make the behavior same as IE's TextRange.parentElement(), // we need to find the nearest ancestor node which encapsulates both the beginning and the end of the selection. // TODO: A simpler logic can be found. var anchorPath = new FCKElementPath( oSel.anchorNode ) ; var focusPath = new FCKElementPath( oSel.focusNode ) ; var deepPath = null ; var shallowPath = null ; if ( anchorPath.Elements.length > focusPath.Elements.length ) { deepPath = anchorPath.Elements ; shallowPath = focusPath.Elements ; } else { deepPath = focusPath.Elements ; shallowPath = anchorPath.Elements ; } var deepPathBase = deepPath.length - shallowPath.length ; for( var i = 0 ; i < shallowPath.length ; i++) { if ( deepPath[deepPathBase + i] == shallowPath[i]) return shallowPath[i]; } return null ; } } return null ; } FCKSelection.GetBoundaryParentElement = function( startBoundary ) { if ( ! FCK.EditorWindow ) return null ; if ( this.GetType() == 'Control' ) return FCKSelection.GetSelectedElement().parentNode ; else { var oSel = this.GetSelection() ; if ( oSel && oSel.rangeCount > 0 ) { var range = oSel.getRangeAt( startBoundary ? 0 : ( oSel.rangeCount - 1 ) ) ; var element = startBoundary ? range.startContainer : range.endContainer ; return ( element.nodeType == 1 ? element : element.parentNode ) ; } } return null ; } FCKSelection.SelectNode = function( element ) { var oRange = FCK.EditorDocument.createRange() ; oRange.selectNode( element ) ; var oSel = this.GetSelection() ; oSel.removeAllRanges() ; oSel.addRange( oRange ) ; } FCKSelection.Collapse = function( toStart ) { var oSel = this.GetSelection() ; if ( toStart == null || toStart === true ) oSel.collapseToStart() ; else oSel.collapseToEnd() ; } // The "nodeTagName" parameter must be Upper Case. FCKSelection.HasAncestorNode = function( nodeTagName ) { var oContainer = this.GetSelectedElement() ; if ( ! oContainer && FCK.EditorWindow ) { try { oContainer = this.GetSelection().getRangeAt(0).startContainer ; } catch(e){} } while ( oContainer ) { if ( oContainer.nodeType == 1 && oContainer.nodeName.IEquals( nodeTagName ) ) return true ; oContainer = oContainer.parentNode ; } return false ; } // The "nodeTagName" parameter must be Upper Case. FCKSelection.MoveToAncestorNode = function( nodeTagName ) { var oNode ; var oContainer = this.GetSelectedElement() ; if ( ! oContainer ) oContainer = this.GetSelection().getRangeAt(0).startContainer ; while ( oContainer ) { if ( oContainer.nodeName.IEquals( nodeTagName ) ) return oContainer ; oContainer = oContainer.parentNode ; } return null ; } FCKSelection.Delete = function() { // Gets the actual selection. var oSel = this.GetSelection() ; // Deletes the actual selection contents. for ( var i = 0 ; i < oSel.rangeCount ; i++ ) { oSel.getRangeAt(i).deleteContents() ; } return oSel ; } /** * Returns the native selection object. */ FCKSelection.GetSelection = function() { return FCK.EditorWindow.getSelection() ; } // The following are IE only features (we don't need then in other browsers // currently). FCKSelection.Save = function() {} FCKSelection.Restore = function() {} FCKSelection.Release = function() {}
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Tool object to manage HTML lists items (UL, OL and LI). */ var FCKListHandler = { OutdentListItem : function( listItem ) { var eParent = listItem.parentNode ; // It may happen that a LI is not in a UL or OL (Orphan). if ( eParent.tagName.toUpperCase().Equals( 'UL','OL' ) ) { var oDocument = FCKTools.GetElementDocument( listItem ) ; var oDogFrag = new FCKDocumentFragment( oDocument ) ; // All children and successive siblings will be moved to a a DocFrag. var eNextSiblings = oDogFrag.RootNode ; var eHasLiSibling = false ; // If we have nested lists inside it, let's move it to the list of siblings. var eChildList = FCKDomTools.GetFirstChild( listItem, ['UL','OL'] ) ; if ( eChildList ) { eHasLiSibling = true ; var eChild ; // The extra () is to avoid a warning with strict error checking. This is ok. while ( (eChild = eChildList.firstChild) ) eNextSiblings.appendChild( eChildList.removeChild( eChild ) ) ; FCKDomTools.RemoveNode( eChildList ) ; } // Move all successive siblings. var eSibling ; var eHasSuccessiveLiSibling = false ; // The extra () is to avoid a warning with strict error checking. This is ok. while ( (eSibling = listItem.nextSibling) ) { if ( !eHasLiSibling && eSibling.nodeType == 1 && eSibling.nodeName.toUpperCase() == 'LI' ) eHasSuccessiveLiSibling = eHasLiSibling = true ; eNextSiblings.appendChild( eSibling.parentNode.removeChild( eSibling ) ) ; // If a sibling is a incorrectly nested UL or OL, consider only its children. if ( !eHasSuccessiveLiSibling && eSibling.nodeType == 1 && eSibling.nodeName.toUpperCase().Equals( 'UL','OL' ) ) FCKDomTools.RemoveNode( eSibling, true ) ; } // If we are in a list chain. var sParentParentTag = eParent.parentNode.tagName.toUpperCase() ; var bWellNested = ( sParentParentTag == 'LI' ) ; if ( bWellNested || sParentParentTag.Equals( 'UL','OL' ) ) { if ( eHasLiSibling ) { var eChildList = eParent.cloneNode( false ) ; oDogFrag.AppendTo( eChildList ) ; listItem.appendChild( eChildList ) ; } else if ( bWellNested ) oDogFrag.InsertAfterNode( eParent.parentNode ) ; else oDogFrag.InsertAfterNode( eParent ) ; // Move the LI after its parent.parentNode (the upper LI in the hierarchy). if ( bWellNested ) FCKDomTools.InsertAfterNode( eParent.parentNode, eParent.removeChild( listItem ) ) ; else FCKDomTools.InsertAfterNode( eParent, eParent.removeChild( listItem ) ) ; } else { if ( eHasLiSibling ) { var eNextList = eParent.cloneNode( false ) ; oDogFrag.AppendTo( eNextList ) ; FCKDomTools.InsertAfterNode( eParent, eNextList ) ; } var eBlock = oDocument.createElement( FCKConfig.EnterMode == 'p' ? 'p' : 'div' ) ; FCKDomTools.MoveChildren( eParent.removeChild( listItem ), eBlock ) ; FCKDomTools.InsertAfterNode( eParent, eBlock ) ; if ( FCKConfig.EnterMode == 'br' ) { // We need the bogus to make it work properly. In Gecko, we // need it before the new block, on IE, after it. if ( FCKBrowserInfo.IsGecko ) eBlock.parentNode.insertBefore( FCKTools.CreateBogusBR( oDocument ), eBlock ) ; else FCKDomTools.InsertAfterNode( eBlock, FCKTools.CreateBogusBR( oDocument ) ) ; FCKDomTools.RemoveNode( eBlock, true ) ; } } if ( this.CheckEmptyList( eParent ) ) FCKDomTools.RemoveNode( eParent, true ) ; } }, CheckEmptyList : function( listElement ) { return ( FCKDomTools.GetFirstChild( listElement, 'LI' ) == null ) ; }, // Check if the list has contents (excluding nested lists). CheckListHasContents : function( listElement ) { var eChildNode = listElement.firstChild ; while ( eChildNode ) { switch ( eChildNode.nodeType ) { case 1 : if ( !eChildNode.nodeName.IEquals( 'UL','LI' ) ) return true ; break ; case 3 : if ( eChildNode.nodeValue.Trim().length > 0 ) return true ; } eChildNode = eChildNode.nextSibling ; } return false ; } } ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This is a utility object which can be used to load specific components of * FCKeditor, including all dependencies. */ var FCK_GENERIC = 1 ; var FCK_GENERIC_SPECIFIC = 2 ; var FCK_SPECIFIC = 3 ; var FCKScriptLoader = new Object() ; FCKScriptLoader.FCKeditorPath = '/fckeditor/' ; FCKScriptLoader._Scripts = new Object() ; FCKScriptLoader._LoadedScripts = new Object() ; FCKScriptLoader._IsIE = (/msie/).test( navigator.userAgent.toLowerCase() ) ; FCKScriptLoader.Load = function( scriptName ) { // Check if the script has already been loaded. if ( scriptName in FCKScriptLoader._LoadedScripts ) return ; FCKScriptLoader._LoadedScripts[ scriptName ] = true ; var oScriptInfo = this._Scripts[ scriptName ] ; if ( !oScriptInfo ) { alert( 'FCKScriptLoader: The script "' + scriptName + '" could not be loaded' ) ; return ; } for ( var i = 0 ; i < oScriptInfo.Dependency.length ; i++ ) { this.Load( oScriptInfo.Dependency[i] ) ; } var sBaseScriptName = oScriptInfo.BasePath + scriptName.toLowerCase() ; if ( oScriptInfo.Compatibility == FCK_GENERIC || oScriptInfo.Compatibility == FCK_GENERIC_SPECIFIC ) this._LoadScript( sBaseScriptName + '.js' ) ; if ( oScriptInfo.Compatibility == FCK_SPECIFIC || oScriptInfo.Compatibility == FCK_GENERIC_SPECIFIC ) { if ( this._IsIE ) this._LoadScript( sBaseScriptName + '_ie.js' ) ; else this._LoadScript( sBaseScriptName + '_gecko.js' ) ; } } FCKScriptLoader._LoadScript = function( scriptPathFromSource ) { document.write( '<script type="text/javascript" src="' + this.FCKeditorPath + 'editor/_source/' + scriptPathFromSource + '"><\/script>' ) ; } FCKScriptLoader.AddScript = function( scriptName, scriptBasePath, dependency, compatibility ) { this._Scripts[ scriptName ] = { BasePath : scriptBasePath || '', Dependency : dependency || [], Compatibility : compatibility || FCK_GENERIC } ; } /* * #################################### * ### Scripts Definition List */ FCKScriptLoader.AddScript( 'FCKConstants' ) ; FCKScriptLoader.AddScript( 'FCKJSCoreExtensions' ) ; FCKScriptLoader.AddScript( 'FCK_Xhtml10Transitional', '../dtd/' ) ; FCKScriptLoader.AddScript( 'FCKDataProcessor' , 'classes/' , ['FCKConfig','FCKBrowserInfo','FCKRegexLib','FCKXHtml'] ) ; FCKScriptLoader.AddScript( 'FCKDocumentFragment', 'classes/' , ['FCKDomTools'], FCK_SPECIFIC ) ; FCKScriptLoader.AddScript( 'FCKDomRange' , 'classes/' , ['FCKBrowserInfo','FCKJSCoreExtensions','FCKW3CRange','FCKElementPath','FCKDomTools','FCKTools','FCKDocumentFragment'], FCK_GENERIC_SPECIFIC ) ; FCKScriptLoader.AddScript( 'FCKDomRangeIterator', 'classes/' , ['FCKDomRange','FCKListsLib'], FCK_GENERIC ) ; FCKScriptLoader.AddScript( 'FCKElementPath' , 'classes/' , ['FCKListsLib'], FCK_GENERIC ) ; FCKScriptLoader.AddScript( 'FCKEnterKey' , 'classes/' , ['FCKDomRange','FCKDomTools','FCKTools','FCKKeystrokeHandler','FCKListHandler'], FCK_GENERIC ) ; FCKScriptLoader.AddScript( 'FCKPanel' , 'classes/' , ['FCKBrowserInfo','FCKConfig','FCKTools'], FCK_GENERIC ) ; FCKScriptLoader.AddScript( 'FCKImagePreloader' , 'classes/' ) ; FCKScriptLoader.AddScript( 'FCKKeystrokeHandler', 'classes/' , ['FCKConstants','FCKBrowserInfo','FCKTools'], FCK_GENERIC ) ; FCKScriptLoader.AddScript( 'FCKStyle' , 'classes/' , ['FCKConstants','FCKDomRange','FCKDomRangeIterator','FCKDomTools','FCKListsLib','FCK_Xhtml10Transitional'], FCK_GENERIC ) ; FCKScriptLoader.AddScript( 'FCKW3CRange' , 'classes/' , ['FCKDomTools','FCKTools','FCKDocumentFragment'], FCK_GENERIC ) ; FCKScriptLoader.AddScript( 'FCKBrowserInfo' , 'internals/' , ['FCKJSCoreExtensions'] ) ; FCKScriptLoader.AddScript( 'FCKCodeFormatter' , 'internals/' ) ; FCKScriptLoader.AddScript( 'FCKConfig' , 'internals/' , ['FCKBrowserInfo','FCKConstants'] ) ; FCKScriptLoader.AddScript( 'FCKDebug' , 'internals/' , ['FCKConfig'] ) ; FCKScriptLoader.AddScript( 'FCKDomTools' , 'internals/' , ['FCKJSCoreExtensions','FCKBrowserInfo','FCKTools','FCKDomRange'], FCK_GENERIC ) ; FCKScriptLoader.AddScript( 'FCKListsLib' , 'internals/' ) ; FCKScriptLoader.AddScript( 'FCKListHandler' , 'internals/' , ['FCKConfig', 'FCKDocumentFragment', 'FCKJSCoreExtensions','FCKDomTools'], FCK_GENERIC ) ; FCKScriptLoader.AddScript( 'FCKRegexLib' , 'internals/' ) ; FCKScriptLoader.AddScript( 'FCKStyles' , 'internals/' , ['FCKConfig', 'FCKDocumentFragment', 'FCKDomRange','FCKDomTools','FCKElementPath','FCKTools'], FCK_GENERIC ) ; FCKScriptLoader.AddScript( 'FCKTools' , 'internals/' , ['FCKJSCoreExtensions','FCKBrowserInfo'], FCK_GENERIC_SPECIFIC ) ; FCKScriptLoader.AddScript( 'FCKXHtml' , 'internals/' , ['FCKBrowserInfo','FCKCodeFormatter','FCKConfig','FCKDomTools','FCKListsLib','FCKRegexLib','FCKTools','FCKXHtmlEntities'], FCK_GENERIC_SPECIFIC ) ; FCKScriptLoader.AddScript( 'FCKXHtmlEntities' , 'internals/' , ['FCKConfig'] ) ; // ####################################
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Defines some constants used by the editor. These constants are also * globally available in the page where the editor is placed. */ // Editor Instance Status. var FCK_STATUS_NOTLOADED = window.parent.FCK_STATUS_NOTLOADED = 0 ; var FCK_STATUS_ACTIVE = window.parent.FCK_STATUS_ACTIVE = 1 ; var FCK_STATUS_COMPLETE = window.parent.FCK_STATUS_COMPLETE = 2 ; // Tristate Operations. var FCK_TRISTATE_OFF = window.parent.FCK_TRISTATE_OFF = 0 ; var FCK_TRISTATE_ON = window.parent.FCK_TRISTATE_ON = 1 ; var FCK_TRISTATE_DISABLED = window.parent.FCK_TRISTATE_DISABLED = -1 ; // For unknown values. var FCK_UNKNOWN = window.parent.FCK_UNKNOWN = -9 ; // Toolbar Items Style. var FCK_TOOLBARITEM_ONLYICON = window.parent.FCK_TOOLBARITEM_ONLYICON = 0 ; var FCK_TOOLBARITEM_ONLYTEXT = window.parent.FCK_TOOLBARITEM_ONLYTEXT = 1 ; var FCK_TOOLBARITEM_ICONTEXT = window.parent.FCK_TOOLBARITEM_ICONTEXT = 2 ; // Edit Mode var FCK_EDITMODE_WYSIWYG = window.parent.FCK_EDITMODE_WYSIWYG = 0 ; var FCK_EDITMODE_SOURCE = window.parent.FCK_EDITMODE_SOURCE = 1 ; var FCK_IMAGES_PATH = 'images/' ; // Check usage. var FCK_SPACER_PATH = 'images/spacer.gif' ; var CTRL = 1000 ; var SHIFT = 2000 ; var ALT = 4000 ; var FCK_STYLE_BLOCK = 0 ; var FCK_STYLE_INLINE = 1 ; var FCK_STYLE_OBJECT = 2 ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Renders a list of menu items. */ var FCKMenuBlock = function() { this._Items = new Array() ; } FCKMenuBlock.prototype.Count = function() { return this._Items.length ; } FCKMenuBlock.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) { var oItem = new FCKMenuItem( this, name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) ; oItem.OnClick = FCKTools.CreateEventListener( FCKMenuBlock_Item_OnClick, this ) ; oItem.OnActivate = FCKTools.CreateEventListener( FCKMenuBlock_Item_OnActivate, this ) ; this._Items.push( oItem ) ; return oItem ; } FCKMenuBlock.prototype.AddSeparator = function() { this._Items.push( new FCKMenuSeparator() ) ; } FCKMenuBlock.prototype.RemoveAllItems = function() { this._Items = new Array() ; var eItemsTable = this._ItemsTable ; if ( eItemsTable ) { while ( eItemsTable.rows.length > 0 ) eItemsTable.deleteRow( 0 ) ; } } FCKMenuBlock.prototype.Create = function( parentElement ) { if ( !this._ItemsTable ) { if ( FCK.IECleanup ) FCK.IECleanup.AddItem( this, FCKMenuBlock_Cleanup ) ; this._Window = FCKTools.GetElementWindow( parentElement ) ; var oDoc = FCKTools.GetElementDocument( parentElement ) ; var eTable = parentElement.appendChild( oDoc.createElement( 'table' ) ) ; eTable.cellPadding = 0 ; eTable.cellSpacing = 0 ; FCKTools.DisableSelection( eTable ) ; var oMainElement = eTable.insertRow(-1).insertCell(-1) ; oMainElement.className = 'MN_Menu' ; var eItemsTable = this._ItemsTable = oMainElement.appendChild( oDoc.createElement( 'table' ) ) ; eItemsTable.cellPadding = 0 ; eItemsTable.cellSpacing = 0 ; } for ( var i = 0 ; i < this._Items.length ; i++ ) this._Items[i].Create( this._ItemsTable ) ; } /* Events */ function FCKMenuBlock_Item_OnClick( clickedItem, menuBlock ) { if ( menuBlock.Hide ) menuBlock.Hide() ; FCKTools.RunFunction( menuBlock.OnClick, menuBlock, [ clickedItem ] ) ; } function FCKMenuBlock_Item_OnActivate( menuBlock ) { var oActiveItem = menuBlock._ActiveItem ; if ( oActiveItem && oActiveItem != this ) { // Set the focus to this menu block window (to fire OnBlur on opened panels). if ( !FCKBrowserInfo.IsIE && oActiveItem.HasSubMenu && !this.HasSubMenu ) { menuBlock._Window.focus() ; // Due to the event model provided by Opera, we need to set // HasFocus here as the above focus() call will not fire the focus // event in the panel immediately (#1200). menuBlock.Panel.HasFocus = true ; } oActiveItem.Deactivate() ; } menuBlock._ActiveItem = this ; } function FCKMenuBlock_Cleanup() { this._Window = null ; this._ItemsTable = null ; } // ################# // var FCKMenuSeparator = function() {} FCKMenuSeparator.prototype.Create = function( parentTable ) { var oDoc = FCKTools.GetElementDocument( parentTable ) ; var r = parentTable.insertRow(-1) ; var eCell = r.insertCell(-1) ; eCell.className = 'MN_Separator MN_Icon' ; eCell = r.insertCell(-1) ; eCell.className = 'MN_Separator' ; eCell.appendChild( oDoc.createElement( 'DIV' ) ).className = 'MN_Separator_Line' ; eCell = r.insertCell(-1) ; eCell.className = 'MN_Separator' ; eCell.appendChild( oDoc.createElement( 'DIV' ) ).className = 'MN_Separator_Line' ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKPlugin Class: Represents a single plugin. */ var FCKPlugin = function( name, availableLangs, basePath ) { this.Name = name ; this.BasePath = basePath ? basePath : FCKConfig.PluginsPath ; this.Path = this.BasePath + name + '/' ; if ( !availableLangs || availableLangs.length == 0 ) this.AvailableLangs = new Array() ; else this.AvailableLangs = availableLangs.split(',') ; } FCKPlugin.prototype.Load = function() { // Load the language file, if defined. if ( this.AvailableLangs.length > 0 ) { var sLang ; // Check if the plugin has the language file for the active language. if ( this.AvailableLangs.IndexOf( FCKLanguageManager.ActiveLanguage.Code ) >= 0 ) sLang = FCKLanguageManager.ActiveLanguage.Code ; else // Load the default language file (first one) if the current one is not available. sLang = this.AvailableLangs[0] ; // Add the main plugin script. LoadScript( this.Path + 'lang/' + sLang + '.js' ) ; } // Add the main plugin script. LoadScript( this.Path + 'fckplugin.js' ) ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKToolbarPanelButton Class: represents a special button in the toolbar * that shows a panel when pressed. */ var FCKToolbarPanelButton = function( commandName, label, tooltip, style, icon ) { this.CommandName = commandName ; var oIcon ; if ( icon == null ) oIcon = FCKConfig.SkinPath + 'toolbar/' + commandName.toLowerCase() + '.gif' ; else if ( typeof( icon ) == 'number' ) oIcon = [ FCKConfig.SkinPath + 'fck_strip.gif', 16, icon ] ; var oUIButton = this._UIButton = new FCKToolbarButtonUI( commandName, label, tooltip, oIcon, style ) ; oUIButton._FCKToolbarPanelButton = this ; oUIButton.ShowArrow = true ; oUIButton.OnClick = FCKToolbarPanelButton_OnButtonClick ; } FCKToolbarPanelButton.prototype.TypeName = 'FCKToolbarPanelButton' ; FCKToolbarPanelButton.prototype.Create = function( parentElement ) { parentElement.className += 'Menu' ; this._UIButton.Create( parentElement ) ; var oPanel = FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( this.CommandName )._Panel ; this.RegisterPanel( oPanel ) ; } FCKToolbarPanelButton.prototype.RegisterPanel = function( oPanel ) { if ( oPanel._FCKToolbarPanelButton ) return ; oPanel._FCKToolbarPanelButton = this ; var eLineDiv = oPanel.Document.body.appendChild( oPanel.Document.createElement( 'div' ) ) ; eLineDiv.style.position = 'absolute' ; eLineDiv.style.top = '0px' ; var eLine = oPanel._FCKToolbarPanelButtonLineDiv = eLineDiv.appendChild( oPanel.Document.createElement( 'IMG' ) ) ; eLine.className = 'TB_ConnectionLine' ; eLine.style.position = 'absolute' ; // eLine.style.backgroundColor = 'Red' ; eLine.src = FCK_SPACER_PATH ; oPanel.OnHide = FCKToolbarPanelButton_OnPanelHide ; } /* Events */ function FCKToolbarPanelButton_OnButtonClick( toolbarButton ) { var oButton = this._FCKToolbarPanelButton ; var e = oButton._UIButton.MainElement ; oButton._UIButton.ChangeState( FCK_TRISTATE_ON ) ; // oButton.LineImg.style.width = ( e.offsetWidth - 2 ) + 'px' ; var oCommand = FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( oButton.CommandName ) ; var oPanel = oCommand._Panel ; oPanel._FCKToolbarPanelButtonLineDiv.style.width = ( e.offsetWidth - 2 ) + 'px' ; oCommand.Execute( 0, e.offsetHeight - 1, e ) ; // -1 to be over the border } function FCKToolbarPanelButton_OnPanelHide() { var oMenuButton = this._FCKToolbarPanelButton ; oMenuButton._UIButton.ChangeState( FCK_TRISTATE_OFF ) ; } // The Panel Button works like a normal button so the refresh state functions // defined for the normal button can be reused here. FCKToolbarPanelButton.prototype.RefreshState = FCKToolbarButton.prototype.RefreshState ; FCKToolbarPanelButton.prototype.Enable = FCKToolbarButton.prototype.Enable ; FCKToolbarPanelButton.prototype.Disable = FCKToolbarButton.prototype.Disable ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This class is a menu block that behaves like a panel. It's a mix of the * FCKMenuBlock and FCKPanel classes. */ var FCKMenuBlockPanel = function() { // Call the "base" constructor. FCKMenuBlock.call( this ) ; } FCKMenuBlockPanel.prototype = new FCKMenuBlock() ; // Override the create method. FCKMenuBlockPanel.prototype.Create = function() { var oPanel = this.Panel = ( this.Parent && this.Parent.Panel ? this.Parent.Panel.CreateChildPanel() : new FCKPanel() ) ; oPanel.AppendStyleSheet( FCKConfig.SkinEditorCSS ) ; // Call the "base" implementation. FCKMenuBlock.prototype.Create.call( this, oPanel.MainNode ) ; } FCKMenuBlockPanel.prototype.Show = function( x, y, relElement ) { if ( !this.Panel.CheckIsOpened() ) this.Panel.Show( x, y, relElement ) ; } FCKMenuBlockPanel.prototype.Hide = function() { if ( this.Panel.CheckIsOpened() ) this.Panel.Hide() ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKToolbarPanelButton Class: Handles the Fonts combo selector. */ var FCKToolbarStyleCombo = function( tooltip, style ) { if ( tooltip === false ) return ; this.CommandName = 'Style' ; this.Label = this.GetLabel() ; this.Tooltip = tooltip ? tooltip : this.Label ; this.Style = style ? style : FCK_TOOLBARITEM_ICONTEXT ; this.DefaultLabel = FCKConfig.DefaultStyleLabel || '' ; } // Inherit from FCKToolbarSpecialCombo. FCKToolbarStyleCombo.prototype = new FCKToolbarSpecialCombo ; FCKToolbarStyleCombo.prototype.GetLabel = function() { return FCKLang.Style ; } FCKToolbarStyleCombo.prototype.GetStyles = function() { var styles = {} ; var allStyles = FCK.ToolbarSet.CurrentInstance.Styles.GetStyles() ; for ( var styleName in allStyles ) { var style = allStyles[ styleName ] ; if ( !style.IsCore ) styles[ styleName ] = style ; } return styles ; } FCKToolbarStyleCombo.prototype.CreateItems = function( targetSpecialCombo ) { var targetDoc = targetSpecialCombo._Panel.Document ; // Add the Editor Area CSS to the panel so the style classes are previewed correctly. FCKTools.AppendStyleSheet( targetDoc, FCKConfig.ToolbarComboPreviewCSS ) ; FCKTools.AppendStyleString( targetDoc, FCKConfig.EditorAreaStyles ) ; targetDoc.body.className += ' ForceBaseFont' ; // Add ID and Class to the body. FCKConfig.ApplyBodyAttributes( targetDoc.body ) ; // Get the styles list. var styles = this.GetStyles() ; for ( var styleName in styles ) { var style = styles[ styleName ] ; // Object type styles have no preview. var caption = style.GetType() == FCK_STYLE_OBJECT ? styleName : FCKToolbarStyleCombo_BuildPreview( style, style.Label || styleName ) ; var item = targetSpecialCombo.AddItem( styleName, caption ) ; item.Style = style ; } // We must prepare the list before showing it. targetSpecialCombo.OnBeforeClick = this.StyleCombo_OnBeforeClick ; } FCKToolbarStyleCombo.prototype.RefreshActiveItems = function( targetSpecialCombo ) { var startElement = FCK.ToolbarSet.CurrentInstance.Selection.GetBoundaryParentElement( true ) ; if ( startElement ) { var path = new FCKElementPath( startElement ) ; var elements = path.Elements ; for ( var e = 0 ; e < elements.length ; e++ ) { for ( var i in targetSpecialCombo.Items ) { var item = targetSpecialCombo.Items[i] ; var style = item.Style ; if ( style.CheckElementRemovable( elements[ e ], true ) ) { targetSpecialCombo.SetLabel( style.Label || style.Name ) ; return ; } } } } targetSpecialCombo.SetLabel( this.DefaultLabel ) ; } FCKToolbarStyleCombo.prototype.StyleCombo_OnBeforeClick = function( targetSpecialCombo ) { // Two things are done here: // - In a control selection, get the element name, so we'll display styles // for that element only. // - Select the styles that are active for the current selection. // Clear the current selection. targetSpecialCombo.DeselectAll() ; var startElement ; var path ; var tagName ; var selection = FCK.ToolbarSet.CurrentInstance.Selection ; if ( selection.GetType() == 'Control' ) { startElement = selection.GetSelectedElement() ; tagName = startElement.nodeName.toLowerCase() ; } else { startElement = selection.GetBoundaryParentElement( true ) ; path = new FCKElementPath( startElement ) ; } for ( var i in targetSpecialCombo.Items ) { var item = targetSpecialCombo.Items[i] ; var style = item.Style ; if ( ( tagName && style.Element == tagName ) || ( !tagName && style.GetType() != FCK_STYLE_OBJECT ) ) { item.style.display = '' ; if ( ( path && style.CheckActive( path ) ) || ( !path && style.CheckElementRemovable( startElement, true ) ) ) targetSpecialCombo.SelectItem( style.Name ) ; } else item.style.display = 'none' ; } } function FCKToolbarStyleCombo_BuildPreview( style, caption ) { var styleType = style.GetType() ; var html = [] ; if ( styleType == FCK_STYLE_BLOCK ) html.push( '<div class="BaseFont">' ) ; var elementName = style.Element ; // Avoid <bdo> in the preview. if ( elementName == 'bdo' ) elementName = 'span' ; html = [ '<', elementName ] ; // Assign all defined attributes. var attribs = style._StyleDesc.Attributes ; if ( attribs ) { for ( var att in attribs ) { html.push( ' ', att, '="', style.GetFinalAttributeValue( att ), '"' ) ; } } // Assign the style attribute. if ( style._GetStyleText().length > 0 ) html.push( ' style="', style.GetFinalStyleValue(), '"' ) ; html.push( '>', caption, '</', elementName, '>' ) ; if ( styleType == FCK_STYLE_BLOCK ) html.push( '</div>' ) ; return html.join( '' ) ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKXml Class: class to load and manipulate XML files. * (IE specific implementation) */ var FCKXml = function() { this.Error = false ; } FCKXml.GetAttribute = function( node, attName, defaultValue ) { var attNode = node.attributes.getNamedItem( attName ) ; return attNode ? attNode.value : defaultValue ; } /** * Transforms a XML element node in a JavaScript object. Attributes defined for * the element will be available as properties, as long as child element * nodes, but the later will generate arrays with property names prefixed with "$". * * For example, the following XML element: * * <SomeNode name="Test" key="2"> * <MyChild id="10"> * <OtherLevel name="Level 3" /> * </MyChild> * <MyChild id="25" /> * <AnotherChild price="499" /> * </SomeNode> * * ... results in the following object: * * { * name : "Test", * key : "2", * $MyChild : * [ * { * id : "10", * $OtherLevel : * { * name : "Level 3" * } * }, * { * id : "25" * } * ], * $AnotherChild : * [ * { * price : "499" * } * ] * } */ FCKXml.TransformToObject = function( element ) { if ( !element ) return null ; var obj = {} ; var attributes = element.attributes ; for ( var i = 0 ; i < attributes.length ; i++ ) { var att = attributes[i] ; obj[ att.name ] = att.value ; } var childNodes = element.childNodes ; for ( i = 0 ; i < childNodes.length ; i++ ) { var child = childNodes[i] ; if ( child.nodeType == 1 ) { var childName = '$' + child.nodeName ; var childList = obj[ childName ] ; if ( !childList ) childList = obj[ childName ] = [] ; childList.push( this.TransformToObject( child ) ) ; } } return obj ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKSpecialCombo Class: represents a special combo. */ var FCKSpecialCombo = function( caption, fieldWidth, panelWidth, panelMaxHeight, parentWindow ) { // Default properties values. this.FieldWidth = fieldWidth || 100 ; this.PanelWidth = panelWidth || 150 ; this.PanelMaxHeight = panelMaxHeight || 150 ; this.Label = '&nbsp;' ; this.Caption = caption ; this.Tooltip = caption ; this.Style = FCK_TOOLBARITEM_ICONTEXT ; this.Enabled = true ; this.Items = new Object() ; this._Panel = new FCKPanel( parentWindow || window ) ; this._Panel.AppendStyleSheet( FCKConfig.SkinEditorCSS ) ; this._PanelBox = this._Panel.MainNode.appendChild( this._Panel.Document.createElement( 'DIV' ) ) ; this._PanelBox.className = 'SC_Panel' ; this._PanelBox.style.width = this.PanelWidth + 'px' ; this._PanelBox.innerHTML = '<table cellpadding="0" cellspacing="0" width="100%" style="TABLE-LAYOUT: fixed"><tr><td nowrap></td></tr></table>' ; this._ItemsHolderEl = this._PanelBox.getElementsByTagName('TD')[0] ; if ( FCK.IECleanup ) FCK.IECleanup.AddItem( this, FCKSpecialCombo_Cleanup ) ; // this._Panel.StyleSheet = FCKConfig.SkinPath + 'fck_contextmenu.css' ; // this._Panel.Create() ; // this._Panel.PanelDiv.className += ' SC_Panel' ; // this._Panel.PanelDiv.innerHTML = '<table cellpadding="0" cellspacing="0" width="100%" style="TABLE-LAYOUT: fixed"><tr><td nowrap></td></tr></table>' ; // this._ItemsHolderEl = this._Panel.PanelDiv.getElementsByTagName('TD')[0] ; } function FCKSpecialCombo_ItemOnMouseOver() { this.className += ' SC_ItemOver' ; } function FCKSpecialCombo_ItemOnMouseOut() { this.className = this.originalClass ; } function FCKSpecialCombo_ItemOnClick( ev, specialCombo, itemId ) { this.className = this.originalClass ; specialCombo._Panel.Hide() ; specialCombo.SetLabel( this.FCKItemLabel ) ; if ( typeof( specialCombo.OnSelect ) == 'function' ) specialCombo.OnSelect( itemId, this ) ; } FCKSpecialCombo.prototype.ClearItems = function () { if ( this.Items ) this.Items = {} ; var itemsholder = this._ItemsHolderEl ; while ( itemsholder.firstChild ) itemsholder.removeChild( itemsholder.firstChild ) ; } FCKSpecialCombo.prototype.AddItem = function( id, html, label, bgColor ) { // <div class="SC_Item" onmouseover="this.className='SC_Item SC_ItemOver';" onmouseout="this.className='SC_Item';"><b>Bold 1</b></div> var oDiv = this._ItemsHolderEl.appendChild( this._Panel.Document.createElement( 'DIV' ) ) ; oDiv.className = oDiv.originalClass = 'SC_Item' ; oDiv.innerHTML = html ; oDiv.FCKItemLabel = label || id ; oDiv.Selected = false ; // In IE, the width must be set so the borders are shown correctly when the content overflows. if ( FCKBrowserInfo.IsIE ) oDiv.style.width = '100%' ; if ( bgColor ) oDiv.style.backgroundColor = bgColor ; FCKTools.AddEventListenerEx( oDiv, 'mouseover', FCKSpecialCombo_ItemOnMouseOver ) ; FCKTools.AddEventListenerEx( oDiv, 'mouseout', FCKSpecialCombo_ItemOnMouseOut ) ; FCKTools.AddEventListenerEx( oDiv, 'click', FCKSpecialCombo_ItemOnClick, [ this, id ] ) ; this.Items[ id.toString().toLowerCase() ] = oDiv ; return oDiv ; } FCKSpecialCombo.prototype.SelectItem = function( item ) { if ( typeof item == 'string' ) item = this.Items[ item.toString().toLowerCase() ] ; if ( item ) { item.className = item.originalClass = 'SC_ItemSelected' ; item.Selected = true ; } } FCKSpecialCombo.prototype.SelectItemByLabel = function( itemLabel, setLabel ) { for ( var id in this.Items ) { var oDiv = this.Items[id] ; if ( oDiv.FCKItemLabel == itemLabel ) { oDiv.className = oDiv.originalClass = 'SC_ItemSelected' ; oDiv.Selected = true ; if ( setLabel ) this.SetLabel( itemLabel ) ; } } } FCKSpecialCombo.prototype.DeselectAll = function( clearLabel ) { for ( var i in this.Items ) { if ( !this.Items[i] ) continue; this.Items[i].className = this.Items[i].originalClass = 'SC_Item' ; this.Items[i].Selected = false ; } if ( clearLabel ) this.SetLabel( '' ) ; } FCKSpecialCombo.prototype.SetLabelById = function( id ) { id = id ? id.toString().toLowerCase() : '' ; var oDiv = this.Items[ id ] ; this.SetLabel( oDiv ? oDiv.FCKItemLabel : '' ) ; } FCKSpecialCombo.prototype.SetLabel = function( text ) { text = ( !text || text.length == 0 ) ? '&nbsp;' : text ; if ( text == this.Label ) return ; this.Label = text ; var labelEl = this._LabelEl ; if ( labelEl ) { labelEl.innerHTML = text ; // It may happen that the label is some HTML, including tags. This // would be a problem because when the user click on those tags, the // combo will get the selection from the editing area. So we must // disable any kind of selection here. FCKTools.DisableSelection( labelEl ) ; } } FCKSpecialCombo.prototype.SetEnabled = function( isEnabled ) { this.Enabled = isEnabled ; // In IE it can happen when the page is reloaded that _OuterTable is null, so check its existence if ( this._OuterTable ) this._OuterTable.className = isEnabled ? '' : 'SC_FieldDisabled' ; } FCKSpecialCombo.prototype.Create = function( targetElement ) { var oDoc = FCKTools.GetElementDocument( targetElement ) ; var eOuterTable = this._OuterTable = targetElement.appendChild( oDoc.createElement( 'TABLE' ) ) ; eOuterTable.cellPadding = 0 ; eOuterTable.cellSpacing = 0 ; eOuterTable.insertRow(-1) ; var sClass ; var bShowLabel ; switch ( this.Style ) { case FCK_TOOLBARITEM_ONLYICON : sClass = 'TB_ButtonType_Icon' ; bShowLabel = false; break ; case FCK_TOOLBARITEM_ONLYTEXT : sClass = 'TB_ButtonType_Text' ; bShowLabel = false; break ; case FCK_TOOLBARITEM_ICONTEXT : bShowLabel = true; break ; } if ( this.Caption && this.Caption.length > 0 && bShowLabel ) { var oCaptionCell = eOuterTable.rows[0].insertCell(-1) ; oCaptionCell.innerHTML = this.Caption ; oCaptionCell.className = 'SC_FieldCaption' ; } // Create the main DIV element. var oField = FCKTools.AppendElement( eOuterTable.rows[0].insertCell(-1), 'div' ) ; if ( bShowLabel ) { oField.className = 'SC_Field' ; oField.style.width = this.FieldWidth + 'px' ; oField.innerHTML = '<table width="100%" cellpadding="0" cellspacing="0" style="TABLE-LAYOUT: fixed;"><tbody><tr><td class="SC_FieldLabel"><label>&nbsp;</label></td><td class="SC_FieldButton">&nbsp;</td></tr></tbody></table>' ; this._LabelEl = oField.getElementsByTagName('label')[0] ; // Memory Leak this._LabelEl.innerHTML = this.Label ; } else { oField.className = 'TB_Button_Off' ; //oField.innerHTML = '<span className="SC_FieldCaption">' + this.Caption + '<table cellpadding="0" cellspacing="0" style="TABLE-LAYOUT: fixed;"><tbody><tr><td class="SC_FieldButton" style="border-left: none;">&nbsp;</td></tr></tbody></table>' ; //oField.innerHTML = '<table cellpadding="0" cellspacing="0" style="TABLE-LAYOUT: fixed;"><tbody><tr><td class="SC_FieldButton" style="border-left: none;">&nbsp;</td></tr></tbody></table>' ; // Gets the correct CSS class to use for the specified style (param). oField.innerHTML = '<table title="' + this.Tooltip + '" class="' + sClass + '" cellspacing="0" cellpadding="0" border="0">' + '<tr>' + //'<td class="TB_Icon"><img src="' + FCKConfig.SkinPath + 'toolbar/' + this.Command.Name.toLowerCase() + '.gif" width="21" height="21"></td>' + '<td><img class="TB_Button_Padding" src="' + FCK_SPACER_PATH + '" /></td>' + '<td class="TB_Text">' + this.Caption + '</td>' + '<td><img class="TB_Button_Padding" src="' + FCK_SPACER_PATH + '" /></td>' + '<td class="TB_ButtonArrow"><img src="' + FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif" width="5" height="3"></td>' + '<td><img class="TB_Button_Padding" src="' + FCK_SPACER_PATH + '" /></td>' + '</tr>' + '</table>' ; } // Events Handlers FCKTools.AddEventListenerEx( oField, 'mouseover', FCKSpecialCombo_OnMouseOver, this ) ; FCKTools.AddEventListenerEx( oField, 'mouseout', FCKSpecialCombo_OnMouseOut, this ) ; FCKTools.AddEventListenerEx( oField, 'click', FCKSpecialCombo_OnClick, this ) ; FCKTools.DisableSelection( this._Panel.Document.body ) ; } function FCKSpecialCombo_Cleanup() { this._LabelEl = null ; this._OuterTable = null ; this._ItemsHolderEl = null ; this._PanelBox = null ; if ( this.Items ) { for ( var key in this.Items ) this.Items[key] = null ; } } function FCKSpecialCombo_OnMouseOver( ev, specialCombo ) { if ( specialCombo.Enabled ) { switch ( specialCombo.Style ) { case FCK_TOOLBARITEM_ONLYICON : this.className = 'TB_Button_On_Over'; break ; case FCK_TOOLBARITEM_ONLYTEXT : this.className = 'TB_Button_On_Over'; break ; case FCK_TOOLBARITEM_ICONTEXT : this.className = 'SC_Field SC_FieldOver' ; break ; } } } function FCKSpecialCombo_OnMouseOut( ev, specialCombo ) { switch ( specialCombo.Style ) { case FCK_TOOLBARITEM_ONLYICON : this.className = 'TB_Button_Off'; break ; case FCK_TOOLBARITEM_ONLYTEXT : this.className = 'TB_Button_Off'; break ; case FCK_TOOLBARITEM_ICONTEXT : this.className='SC_Field' ; break ; } } function FCKSpecialCombo_OnClick( e, specialCombo ) { // For Mozilla we must stop the event propagation to avoid it hiding // the panel because of a click outside of it. // if ( e ) // { // e.stopPropagation() ; // FCKPanelEventHandlers.OnDocumentClick( e ) ; // } if ( specialCombo.Enabled ) { var oPanel = specialCombo._Panel ; var oPanelBox = specialCombo._PanelBox ; var oItemsHolder = specialCombo._ItemsHolderEl ; var iMaxHeight = specialCombo.PanelMaxHeight ; if ( specialCombo.OnBeforeClick ) specialCombo.OnBeforeClick( specialCombo ) ; // This is a tricky thing. We must call the "Load" function, otherwise // it will not be possible to retrieve "oItemsHolder.offsetHeight" (IE only). if ( FCKBrowserInfo.IsIE ) oPanel.Preload( 0, this.offsetHeight, this ) ; if ( oItemsHolder.offsetHeight > iMaxHeight ) // { oPanelBox.style.height = iMaxHeight + 'px' ; // if ( FCKBrowserInfo.IsGecko ) // oPanelBox.style.overflow = '-moz-scrollbars-vertical' ; // } else oPanelBox.style.height = '' ; // oPanel.PanelDiv.style.width = specialCombo.PanelWidth + 'px' ; oPanel.Show( 0, this.offsetHeight, this ) ; } // return false ; } /* Sample Combo Field HTML output: <div class="SC_Field" style="width: 80px;"> <table width="100%" cellpadding="0" cellspacing="0" style="table-layout: fixed;"> <tbody> <tr> <td class="SC_FieldLabel"><label>&nbsp;</label></td> <td class="SC_FieldButton">&nbsp;</td> </tr> </tbody> </table> </div> */
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This class can be used to interate through nodes inside a range. * * During interation, the provided range can become invalid, due to document * mutations, so CreateBookmark() used to restore it after processing, if * needed. */ var FCKHtmlIterator = function( source ) { this._sourceHtml = source ; } FCKHtmlIterator.prototype = { Next : function() { var sourceHtml = this._sourceHtml ; if ( sourceHtml == null ) return null ; var match = FCKRegexLib.HtmlTag.exec( sourceHtml ) ; var isTag = false ; var value = "" ; if ( match ) { if ( match.index > 0 ) { value = sourceHtml.substr( 0, match.index ) ; this._sourceHtml = sourceHtml.substr( match.index ) ; } else { isTag = true ; value = match[0] ; this._sourceHtml = sourceHtml.substr( match[0].length ) ; } } else { value = sourceHtml ; this._sourceHtml = null ; } return { 'isTag' : isTag, 'value' : value } ; }, Each : function( func ) { var chunk ; while ( ( chunk = this.Next() ) ) func( chunk.isTag, chunk.value ) ; } } ; /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This class can be used to interate through nodes inside a range. * * During interation, the provided range can become invalid, due to document * mutations, so CreateBookmark() used to restore it after processing, if * needed. */ var FCKHtmlIterator = function( source ) { this._sourceHtml = source ; } FCKHtmlIterator.prototype = { Next : function() { var sourceHtml = this._sourceHtml ; if ( sourceHtml == null ) return null ; var match = FCKRegexLib.HtmlTag.exec( sourceHtml ) ; var isTag = false ; var value = "" ; if ( match ) { if ( match.index > 0 ) { value = sourceHtml.substr( 0, match.index ) ; this._sourceHtml = sourceHtml.substr( match.index ) ; } else { isTag = true ; value = match[0] ; this._sourceHtml = sourceHtml.substr( match[0].length ) ; } } else { value = sourceHtml ; this._sourceHtml = null ; } return { 'isTag' : isTag, 'value' : value } ; }, Each : function( func ) { var chunk ; while ( ( chunk = this.Next() ) ) func( chunk.isTag, chunk.value ) ; } } ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * The Data Processor is responsible for transforming the input and output data * in the editor. For more info: * http://dev.fckeditor.net/wiki/Components/DataProcessor * * The default implementation offers the base XHTML compatibility features of * FCKeditor. Further Data Processors may be implemented for other purposes. * */ var FCKDataProcessor = function() {} FCKDataProcessor.prototype = { /* * Returns a string representing the HTML format of "data". The returned * value will be loaded in the editor. * The HTML must be from <html> to </html>, including <head>, <body> and * eventually the DOCTYPE. * Note: HTML comments may already be part of the data because of the * pre-processing made with ProtectedSource. * @param {String} data The data to be converted in the * DataProcessor specific format. */ ConvertToHtml : function( data ) { // The default data processor must handle two different cases depending // on the FullPage setting. Custom Data Processors will not be // compatible with FullPage, much probably. if ( FCKConfig.FullPage ) { // Save the DOCTYPE. FCK.DocTypeDeclaration = data.match( FCKRegexLib.DocTypeTag ) ; // Check if the <body> tag is available. if ( !FCKRegexLib.HasBodyTag.test( data ) ) data = '<body>' + data + '</body>' ; // Check if the <html> tag is available. if ( !FCKRegexLib.HtmlOpener.test( data ) ) data = '<html dir="' + FCKConfig.ContentLangDirection + '">' + data + '</html>' ; // Check if the <head> tag is available. if ( !FCKRegexLib.HeadOpener.test( data ) ) data = data.replace( FCKRegexLib.HtmlOpener, '$&<head><title></title></head>' ) ; return data ; } else { var html = FCKConfig.DocType + '<html dir="' + FCKConfig.ContentLangDirection + '"' ; // On IE, if you are using a DOCTYPE different of HTML 4 (like // XHTML), you must force the vertical scroll to show, otherwise // the horizontal one may appear when the page needs vertical scrolling. // TODO : Check it with IE7 and make it IE6- if it is the case. if ( FCKBrowserInfo.IsIE && FCKConfig.DocType.length > 0 && !FCKRegexLib.Html4DocType.test( FCKConfig.DocType ) ) html += ' style="overflow-y: scroll"' ; html += '><head><title></title></head>' + '<body' + FCKConfig.GetBodyAttributes() + '>' + data + '</body></html>' ; return html ; } }, /* * Converts a DOM (sub-)tree to a string in the data format. * @param {Object} rootNode The node that contains the DOM tree to be * converted to the data format. * @param {Boolean} excludeRoot Indicates that the root node must not * be included in the conversion, only its children. * @param {Boolean} format Indicates that the data must be formatted * for human reading. Not all Data Processors may provide it. */ ConvertToDataFormat : function( rootNode, excludeRoot, ignoreIfEmptyParagraph, format ) { var data = FCKXHtml.GetXHTML( rootNode, !excludeRoot, format ) ; if ( ignoreIfEmptyParagraph && FCKRegexLib.EmptyOutParagraph.test( data ) ) return '' ; return data ; }, /* * Makes any necessary changes to a piece of HTML for insertion in the * editor selection position. * @param {String} html The HTML to be fixed. */ FixHtml : function( html ) { return html ; } } ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKEvents Class: used to handle events is a advanced way. */ var FCKEvents = function( eventsOwner ) { this.Owner = eventsOwner ; this._RegisteredEvents = new Object() ; } FCKEvents.prototype.AttachEvent = function( eventName, functionPointer ) { var aTargets ; if ( !( aTargets = this._RegisteredEvents[ eventName ] ) ) this._RegisteredEvents[ eventName ] = [ functionPointer ] ; else { // Check that the event handler isn't already registered with the same listener // It doesn't detect function pointers belonging to an object (at least in Gecko) if ( aTargets.IndexOf( functionPointer ) == -1 ) aTargets.push( functionPointer ) ; } } FCKEvents.prototype.FireEvent = function( eventName, params ) { var bReturnValue = true ; var oCalls = this._RegisteredEvents[ eventName ] ; if ( oCalls ) { for ( var i = 0 ; i < oCalls.length ; i++ ) { try { bReturnValue = ( oCalls[ i ]( this.Owner, params ) && bReturnValue ) ; } catch(e) { // Ignore the following error. It may happen if pointing to a // script not anymore available (#934): // -2146823277 = Can't execute code from a freed script if ( e.number != -2146823277 ) throw e ; } } } return bReturnValue ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Component that creates floating panels. It is used by many * other components, like the toolbar items, context menu, etc... */ var FCKPanel = function( parentWindow ) { this.IsRTL = ( FCKLang.Dir == 'rtl' ) ; this.IsContextMenu = false ; this._LockCounter = 0 ; this._Window = parentWindow || window ; var oDocument ; if ( FCKBrowserInfo.IsIE ) { // Create the Popup that will hold the panel. // The popup has to be created before playing with domain hacks, see #1666. this._Popup = this._Window.createPopup() ; // this._Window cannot be accessed while playing with domain hacks, but local variable is ok. // See #1666. var pDoc = this._Window.document ; // This is a trick to IE6 (not IE7). The original domain must be set // before creating the popup, so we are able to take a refence to the // document inside of it, and the set the proper domain for it. (#123) if ( FCK_IS_CUSTOM_DOMAIN && !FCKBrowserInfo.IsIE7 ) { pDoc.domain = FCK_ORIGINAL_DOMAIN ; document.domain = FCK_ORIGINAL_DOMAIN ; } oDocument = this.Document = this._Popup.document ; // Set the proper domain inside the popup. if ( FCK_IS_CUSTOM_DOMAIN ) { oDocument.domain = FCK_RUNTIME_DOMAIN ; pDoc.domain = FCK_RUNTIME_DOMAIN ; document.domain = FCK_RUNTIME_DOMAIN ; } FCK.IECleanup.AddItem( this, FCKPanel_Cleanup ) ; } else { var oIFrame = this._IFrame = this._Window.document.createElement('iframe') ; FCKTools.ResetStyles( oIFrame ); oIFrame.src = 'javascript:void(0)' ; oIFrame.allowTransparency = true ; oIFrame.frameBorder = '0' ; oIFrame.scrolling = 'no' ; oIFrame.style.width = oIFrame.style.height = '0px' ; FCKDomTools.SetElementStyles( oIFrame, { position : 'absolute', zIndex : FCKConfig.FloatingPanelsZIndex } ) ; this._Window.document.body.appendChild( oIFrame ) ; var oIFrameWindow = oIFrame.contentWindow ; oDocument = this.Document = oIFrameWindow.document ; // Workaround for Safari 12256. Ticket #63 var sBase = '' ; if ( FCKBrowserInfo.IsSafari ) sBase = '<base href="' + window.document.location + '">' ; // Initialize the IFRAME document body. oDocument.open() ; oDocument.write( '<html><head>' + sBase + '<\/head><body style="margin:0px;padding:0px;"><\/body><\/html>' ) ; oDocument.close() ; if( FCKBrowserInfo.IsAIR ) FCKAdobeAIR.Panel_Contructor( oDocument, window.document.location ) ; FCKTools.AddEventListenerEx( oIFrameWindow, 'focus', FCKPanel_Window_OnFocus, this ) ; FCKTools.AddEventListenerEx( oIFrameWindow, 'blur', FCKPanel_Window_OnBlur, this ) ; } oDocument.dir = FCKLang.Dir ; FCKTools.AddEventListener( oDocument, 'contextmenu', FCKTools.CancelEvent ) ; // Create the main DIV that is used as the panel base. this.MainNode = oDocument.body.appendChild( oDocument.createElement('DIV') ) ; // The "float" property must be set so Firefox calculates the size correctly. this.MainNode.style.cssFloat = this.IsRTL ? 'right' : 'left' ; } FCKPanel.prototype.AppendStyleSheet = function( styleSheet ) { FCKTools.AppendStyleSheet( this.Document, styleSheet ) ; } FCKPanel.prototype.Preload = function( x, y, relElement ) { // The offsetWidth and offsetHeight properties are not available if the // element is not visible. So we must "show" the popup with no size to // be able to use that values in the second call (IE only). if ( this._Popup ) this._Popup.show( x, y, 0, 0, relElement ) ; } FCKPanel.prototype.Show = function( x, y, relElement, width, height ) { var iMainWidth ; var eMainNode = this.MainNode ; if ( this._Popup ) { // The offsetWidth and offsetHeight properties are not available if the // element is not visible. So we must "show" the popup with no size to // be able to use that values in the second call. this._Popup.show( x, y, 0, 0, relElement ) ; // The following lines must be place after the above "show", otherwise it // doesn't has the desired effect. FCKDomTools.SetElementStyles( eMainNode, { width : width ? width + 'px' : '', height : height ? height + 'px' : '' } ) ; iMainWidth = eMainNode.offsetWidth ; if ( this.IsRTL ) { if ( this.IsContextMenu ) x = x - iMainWidth + 1 ; else if ( relElement ) x = ( x * -1 ) + relElement.offsetWidth - iMainWidth ; } // Second call: Show the Popup at the specified location, with the correct size. this._Popup.show( x, y, iMainWidth, eMainNode.offsetHeight, relElement ) ; if ( this.OnHide ) { if ( this._Timer ) CheckPopupOnHide.call( this, true ) ; this._Timer = FCKTools.SetInterval( CheckPopupOnHide, 100, this ) ; } } else { // Do not fire OnBlur while the panel is opened. if ( typeof( FCK.ToolbarSet.CurrentInstance.FocusManager ) != 'undefined' ) FCK.ToolbarSet.CurrentInstance.FocusManager.Lock() ; if ( this.ParentPanel ) { this.ParentPanel.Lock() ; // Due to a bug on FF3, we must ensure that the parent panel will // blur (#1584). FCKPanel_Window_OnBlur( null, this.ParentPanel ) ; } // Toggle the iframe scrolling attribute to prevent the panel // scrollbars from disappearing in FF Mac. (#191) if ( FCKBrowserInfo.IsGecko && FCKBrowserInfo.IsMac ) { this._IFrame.scrolling = '' ; FCKTools.RunFunction( function(){ this._IFrame.scrolling = 'no'; }, this ) ; } // Be sure we'll not have more than one Panel opened at the same time. // Do not unlock focus manager here because we're displaying another floating panel // instead of returning the editor to a "no panel" state (Bug #1514). if ( FCK.ToolbarSet.CurrentInstance.GetInstanceObject( 'FCKPanel' )._OpenedPanel && FCK.ToolbarSet.CurrentInstance.GetInstanceObject( 'FCKPanel' )._OpenedPanel != this ) FCK.ToolbarSet.CurrentInstance.GetInstanceObject( 'FCKPanel' )._OpenedPanel.Hide( false, true ) ; FCKDomTools.SetElementStyles( eMainNode, { width : width ? width + 'px' : '', height : height ? height + 'px' : '' } ) ; iMainWidth = eMainNode.offsetWidth ; if ( !width ) this._IFrame.width = 1 ; if ( !height ) this._IFrame.height = 1 ; // This is weird... but with Firefox, we must get the offsetWidth before // setting the _IFrame size (which returns "0"), and then after that, // to return the correct width. Remove the first step and it will not // work when the editor is in RTL. // // The "|| eMainNode.firstChild.offsetWidth" part has been added // for Opera compatibility (see #570). iMainWidth = eMainNode.offsetWidth || eMainNode.firstChild.offsetWidth ; // Base the popup coordinates upon the coordinates of relElement. var oPos = FCKTools.GetDocumentPosition( this._Window, relElement.nodeType == 9 ? ( FCKTools.IsStrictMode( relElement ) ? relElement.documentElement : relElement.body ) : relElement ) ; // Minus the offsets provided by any positioned parent element of the panel iframe. var positionedAncestor = FCKDomTools.GetPositionedAncestor( this._IFrame.parentNode ) ; if ( positionedAncestor ) { var nPos = FCKTools.GetDocumentPosition( FCKTools.GetElementWindow( positionedAncestor ), positionedAncestor ) ; oPos.x -= nPos.x ; oPos.y -= nPos.y ; } if ( this.IsRTL && !this.IsContextMenu ) x = ( x * -1 ) ; x += oPos.x ; y += oPos.y ; if ( this.IsRTL ) { if ( this.IsContextMenu ) x = x - iMainWidth + 1 ; else if ( relElement ) x = x + relElement.offsetWidth - iMainWidth ; } else { var oViewPaneSize = FCKTools.GetViewPaneSize( this._Window ) ; var oScrollPosition = FCKTools.GetScrollPosition( this._Window ) ; var iViewPaneHeight = oViewPaneSize.Height + oScrollPosition.Y ; var iViewPaneWidth = oViewPaneSize.Width + oScrollPosition.X ; if ( ( x + iMainWidth ) > iViewPaneWidth ) x -= x + iMainWidth - iViewPaneWidth ; if ( ( y + eMainNode.offsetHeight ) > iViewPaneHeight ) y -= y + eMainNode.offsetHeight - iViewPaneHeight ; } // Set the context menu DIV in the specified location. FCKDomTools.SetElementStyles( this._IFrame, { left : x + 'px', top : y + 'px' } ) ; // Move the focus to the IFRAME so we catch the "onblur". this._IFrame.contentWindow.focus() ; this._IsOpened = true ; var me = this ; this._resizeTimer = setTimeout( function() { var iWidth = eMainNode.offsetWidth || eMainNode.firstChild.offsetWidth ; var iHeight = eMainNode.offsetHeight ; me._IFrame.style.width = iWidth + 'px' ; me._IFrame.style.height = iHeight + 'px' ; }, 0 ) ; FCK.ToolbarSet.CurrentInstance.GetInstanceObject( 'FCKPanel' )._OpenedPanel = this ; } FCKTools.RunFunction( this.OnShow, this ) ; } FCKPanel.prototype.Hide = function( ignoreOnHide, ignoreFocusManagerUnlock ) { if ( this._Popup ) this._Popup.hide() ; else { if ( !this._IsOpened || this._LockCounter > 0 ) return ; // Enable the editor to fire the "OnBlur". if ( typeof( FCKFocusManager ) != 'undefined' && !ignoreFocusManagerUnlock ) FCKFocusManager.Unlock() ; // It is better to set the sizes to 0, otherwise Firefox would have // rendering problems. this._IFrame.style.width = this._IFrame.style.height = '0px' ; this._IsOpened = false ; if ( this._resizeTimer ) { clearTimeout( this._resizeTimer ) ; this._resizeTimer = null ; } if ( this.ParentPanel ) this.ParentPanel.Unlock() ; if ( !ignoreOnHide ) FCKTools.RunFunction( this.OnHide, this ) ; } } FCKPanel.prototype.CheckIsOpened = function() { if ( this._Popup ) return this._Popup.isOpen ; else return this._IsOpened ; } FCKPanel.prototype.CreateChildPanel = function() { var oWindow = this._Popup ? FCKTools.GetDocumentWindow( this.Document ) : this._Window ; var oChildPanel = new FCKPanel( oWindow ) ; oChildPanel.ParentPanel = this ; return oChildPanel ; } FCKPanel.prototype.Lock = function() { this._LockCounter++ ; } FCKPanel.prototype.Unlock = function() { if ( --this._LockCounter == 0 && !this.HasFocus ) this.Hide() ; } /* Events */ function FCKPanel_Window_OnFocus( e, panel ) { panel.HasFocus = true ; } function FCKPanel_Window_OnBlur( e, panel ) { panel.HasFocus = false ; if ( panel._LockCounter == 0 ) FCKTools.RunFunction( panel.Hide, panel ) ; } function CheckPopupOnHide( forceHide ) { if ( forceHide || !this._Popup.isOpen ) { window.clearInterval( this._Timer ) ; this._Timer = null ; FCKTools.RunFunction( this.OnHide, this ) ; } } function FCKPanel_Cleanup() { this._Popup = null ; this._Window = null ; this.Document = null ; this.MainNode = null ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Controls the [Enter] keystroke behavior in a document. */ /* * Constructor. * @targetDocument : the target document. * @enterMode : the behavior for the <Enter> keystroke. * May be "p", "div", "br". Default is "p". * @shiftEnterMode : the behavior for the <Shift>+<Enter> keystroke. * May be "p", "div", "br". Defaults to "br". */ var FCKEnterKey = function( targetWindow, enterMode, shiftEnterMode, tabSpaces ) { this.Window = targetWindow ; this.EnterMode = enterMode || 'p' ; this.ShiftEnterMode = shiftEnterMode || 'br' ; // Setup the Keystroke Handler. var oKeystrokeHandler = new FCKKeystrokeHandler( false ) ; oKeystrokeHandler._EnterKey = this ; oKeystrokeHandler.OnKeystroke = FCKEnterKey_OnKeystroke ; oKeystrokeHandler.SetKeystrokes( [ [ 13 , 'Enter' ], [ SHIFT + 13, 'ShiftEnter' ], [ 8 , 'Backspace' ], [ CTRL + 8 , 'CtrlBackspace' ], [ 46 , 'Delete' ] ] ) ; this.TabText = '' ; // Safari by default inserts 4 spaces on TAB, while others make the editor // loose focus. So, we need to handle it here to not include those spaces. if ( tabSpaces > 0 || FCKBrowserInfo.IsSafari ) { while ( tabSpaces-- ) this.TabText += '\xa0' ; oKeystrokeHandler.SetKeystrokes( [ 9, 'Tab' ] ); } oKeystrokeHandler.AttachToElement( targetWindow.document ) ; } function FCKEnterKey_OnKeystroke( keyCombination, keystrokeValue ) { var oEnterKey = this._EnterKey ; try { switch ( keystrokeValue ) { case 'Enter' : return oEnterKey.DoEnter() ; break ; case 'ShiftEnter' : return oEnterKey.DoShiftEnter() ; break ; case 'Backspace' : return oEnterKey.DoBackspace() ; break ; case 'Delete' : return oEnterKey.DoDelete() ; break ; case 'Tab' : return oEnterKey.DoTab() ; break ; case 'CtrlBackspace' : return oEnterKey.DoCtrlBackspace() ; break ; } } catch (e) { // If for any reason we are not able to handle it, go // ahead with the browser default behavior. } return false ; } /* * Executes the <Enter> key behavior. */ FCKEnterKey.prototype.DoEnter = function( mode, hasShift ) { // Save an undo snapshot before doing anything FCKUndo.SaveUndoStep() ; this._HasShift = ( hasShift === true ) ; var parentElement = FCKSelection.GetParentElement() ; var parentPath = new FCKElementPath( parentElement ) ; var sMode = mode || this.EnterMode ; if ( sMode == 'br' || parentPath.Block && parentPath.Block.tagName.toLowerCase() == 'pre' ) return this._ExecuteEnterBr() ; else return this._ExecuteEnterBlock( sMode ) ; } /* * Executes the <Shift>+<Enter> key behavior. */ FCKEnterKey.prototype.DoShiftEnter = function() { return this.DoEnter( this.ShiftEnterMode, true ) ; } /* * Executes the <Backspace> key behavior. */ FCKEnterKey.prototype.DoBackspace = function() { var bCustom = false ; // Get the current selection. var oRange = new FCKDomRange( this.Window ) ; oRange.MoveToSelection() ; // Kludge for #247 if ( FCKBrowserInfo.IsIE && this._CheckIsAllContentsIncluded( oRange, this.Window.document.body ) ) { this._FixIESelectAllBug( oRange ) ; return true ; } var isCollapsed = oRange.CheckIsCollapsed() ; if ( !isCollapsed ) { // Bug #327, Backspace with an img selection would activate the default action in IE. // Let's override that with our logic here. if ( FCKBrowserInfo.IsIE && this.Window.document.selection.type.toLowerCase() == "control" ) { var controls = this.Window.document.selection.createRange() ; for ( var i = controls.length - 1 ; i >= 0 ; i-- ) { var el = controls.item( i ) ; el.parentNode.removeChild( el ) ; } return true ; } return false ; } // On IE, it is better for us handle the deletion if the caret is preceeded // by a <br> (#1383). if ( FCKBrowserInfo.IsIE ) { var previousElement = FCKDomTools.GetPreviousSourceElement( oRange.StartNode, true ) ; if ( previousElement && previousElement.nodeName.toLowerCase() == 'br' ) { // Create a range that starts after the <br> and ends at the // current range position. var testRange = oRange.Clone() ; testRange.SetStart( previousElement, 4 ) ; // If that range is empty, we can proceed cleaning that <br> manually. if ( testRange.CheckIsEmpty() ) { previousElement.parentNode.removeChild( previousElement ) ; return true ; } } } var oStartBlock = oRange.StartBlock ; var oEndBlock = oRange.EndBlock ; // The selection boundaries must be in the same "block limit" element if ( oRange.StartBlockLimit == oRange.EndBlockLimit && oStartBlock && oEndBlock ) { if ( !isCollapsed ) { var bEndOfBlock = oRange.CheckEndOfBlock() ; oRange.DeleteContents() ; if ( oStartBlock != oEndBlock ) { oRange.SetStart(oEndBlock,1) ; oRange.SetEnd(oEndBlock,1) ; // if ( bEndOfBlock ) // oEndBlock.parentNode.removeChild( oEndBlock ) ; } oRange.Select() ; bCustom = ( oStartBlock == oEndBlock ) ; } if ( oRange.CheckStartOfBlock() ) { var oCurrentBlock = oRange.StartBlock ; var ePrevious = FCKDomTools.GetPreviousSourceElement( oCurrentBlock, true, [ 'BODY', oRange.StartBlockLimit.nodeName ], ['UL','OL'] ) ; bCustom = this._ExecuteBackspace( oRange, ePrevious, oCurrentBlock ) ; } else if ( FCKBrowserInfo.IsGeckoLike ) { // Firefox and Opera (#1095) loose the selection when executing // CheckStartOfBlock, so we must reselect. oRange.Select() ; } } oRange.Release() ; return bCustom ; } FCKEnterKey.prototype.DoCtrlBackspace = function() { FCKUndo.SaveUndoStep() ; var oRange = new FCKDomRange( this.Window ) ; oRange.MoveToSelection() ; if ( FCKBrowserInfo.IsIE && this._CheckIsAllContentsIncluded( oRange, this.Window.document.body ) ) { this._FixIESelectAllBug( oRange ) ; return true ; } return false ; } FCKEnterKey.prototype._ExecuteBackspace = function( range, previous, currentBlock ) { var bCustom = false ; // We could be in a nested LI. if ( !previous && currentBlock && currentBlock.nodeName.IEquals( 'LI' ) && currentBlock.parentNode.parentNode.nodeName.IEquals( 'LI' ) ) { this._OutdentWithSelection( currentBlock, range ) ; return true ; } if ( previous && previous.nodeName.IEquals( 'LI' ) ) { var oNestedList = FCKDomTools.GetLastChild( previous, ['UL','OL'] ) ; while ( oNestedList ) { previous = FCKDomTools.GetLastChild( oNestedList, 'LI' ) ; oNestedList = FCKDomTools.GetLastChild( previous, ['UL','OL'] ) ; } } if ( previous && currentBlock ) { // If we are in a LI, and the previous block is not an LI, we must outdent it. if ( currentBlock.nodeName.IEquals( 'LI' ) && !previous.nodeName.IEquals( 'LI' ) ) { this._OutdentWithSelection( currentBlock, range ) ; return true ; } // Take a reference to the parent for post processing cleanup. var oCurrentParent = currentBlock.parentNode ; var sPreviousName = previous.nodeName.toLowerCase() ; if ( FCKListsLib.EmptyElements[ sPreviousName ] != null || sPreviousName == 'table' ) { FCKDomTools.RemoveNode( previous ) ; bCustom = true ; } else { // Remove the current block. FCKDomTools.RemoveNode( currentBlock ) ; // Remove any empty tag left by the block removal. while ( oCurrentParent.innerHTML.Trim().length == 0 ) { var oParent = oCurrentParent.parentNode ; oParent.removeChild( oCurrentParent ) ; oCurrentParent = oParent ; } // Cleanup the previous and the current elements. FCKDomTools.LTrimNode( currentBlock ) ; FCKDomTools.RTrimNode( previous ) ; // Append a space to the previous. // Maybe it is not always desirable... // previous.appendChild( this.Window.document.createTextNode( ' ' ) ) ; // Set the range to the end of the previous element and bookmark it. range.SetStart( previous, 2, true ) ; range.Collapse( true ) ; var oBookmark = range.CreateBookmark( true ) ; // Move the contents of the block to the previous element and delete it. // But for some block types (e.g. table), moving the children to the previous block makes no sense. // So a check is needed. (See #1081) if ( ! currentBlock.tagName.IEquals( [ 'TABLE' ] ) ) FCKDomTools.MoveChildren( currentBlock, previous ) ; // Place the selection at the bookmark. range.SelectBookmark( oBookmark ) ; bCustom = true ; } } return bCustom ; } /* * Executes the <Delete> key behavior. */ FCKEnterKey.prototype.DoDelete = function() { // Save an undo snapshot before doing anything // This is to conform with the behavior seen in MS Word FCKUndo.SaveUndoStep() ; // The <Delete> has the same effect as the <Backspace>, so we have the same // results if we just move to the next block and apply the same <Backspace> logic. var bCustom = false ; // Get the current selection. var oRange = new FCKDomRange( this.Window ) ; oRange.MoveToSelection() ; // Kludge for #247 if ( FCKBrowserInfo.IsIE && this._CheckIsAllContentsIncluded( oRange, this.Window.document.body ) ) { this._FixIESelectAllBug( oRange ) ; return true ; } // There is just one special case for collapsed selections at the end of a block. if ( oRange.CheckIsCollapsed() && oRange.CheckEndOfBlock( FCKBrowserInfo.IsGeckoLike ) ) { var oCurrentBlock = oRange.StartBlock ; var eCurrentCell = FCKTools.GetElementAscensor( oCurrentBlock, 'td' ); var eNext = FCKDomTools.GetNextSourceElement( oCurrentBlock, true, [ oRange.StartBlockLimit.nodeName ], ['UL','OL','TR'], true ) ; // Bug #1323 : if we're in a table cell, and the next node belongs to a different cell, then don't // delete anything. if ( eCurrentCell ) { var eNextCell = FCKTools.GetElementAscensor( eNext, 'td' ); if ( eNextCell != eCurrentCell ) return true ; } bCustom = this._ExecuteBackspace( oRange, oCurrentBlock, eNext ) ; } oRange.Release() ; return bCustom ; } /* * Executes the <Tab> key behavior. */ FCKEnterKey.prototype.DoTab = function() { var oRange = new FCKDomRange( this.Window ); oRange.MoveToSelection() ; // If the user pressed <tab> inside a table, we should give him the default behavior ( moving between cells ) // instead of giving him more non-breaking spaces. (Bug #973) var node = oRange._Range.startContainer ; while ( node ) { if ( node.nodeType == 1 ) { var tagName = node.tagName.toLowerCase() ; if ( tagName == "tr" || tagName == "td" || tagName == "th" || tagName == "tbody" || tagName == "table" ) return false ; else break ; } node = node.parentNode ; } if ( this.TabText ) { oRange.DeleteContents() ; oRange.InsertNode( this.Window.document.createTextNode( this.TabText ) ) ; oRange.Collapse( false ) ; oRange.Select() ; } return true ; } FCKEnterKey.prototype._ExecuteEnterBlock = function( blockTag, range ) { // Get the current selection. var oRange = range || new FCKDomRange( this.Window ) ; var oSplitInfo = oRange.SplitBlock( blockTag ) ; if ( oSplitInfo ) { // Get the current blocks. var ePreviousBlock = oSplitInfo.PreviousBlock ; var eNextBlock = oSplitInfo.NextBlock ; var bIsStartOfBlock = oSplitInfo.WasStartOfBlock ; var bIsEndOfBlock = oSplitInfo.WasEndOfBlock ; // If there is one block under a list item, modify the split so that the list item gets split as well. (Bug #1647) if ( eNextBlock ) { if ( eNextBlock.parentNode.nodeName.IEquals( 'li' ) ) { FCKDomTools.BreakParent( eNextBlock, eNextBlock.parentNode ) ; FCKDomTools.MoveNode( eNextBlock, eNextBlock.nextSibling, true ) ; } } else if ( ePreviousBlock && ePreviousBlock.parentNode.nodeName.IEquals( 'li' ) ) { FCKDomTools.BreakParent( ePreviousBlock, ePreviousBlock.parentNode ) ; oRange.MoveToElementEditStart( ePreviousBlock.nextSibling ); FCKDomTools.MoveNode( ePreviousBlock, ePreviousBlock.previousSibling ) ; } // If we have both the previous and next blocks, it means that the // boundaries were on separated blocks, or none of them where on the // block limits (start/end). if ( !bIsStartOfBlock && !bIsEndOfBlock ) { // If the next block is an <li> with another list tree as the first child // We'll need to append a placeholder or the list item wouldn't be editable. (Bug #1420) if ( eNextBlock.nodeName.IEquals( 'li' ) && eNextBlock.firstChild && eNextBlock.firstChild.nodeName.IEquals( ['ul', 'ol'] ) ) eNextBlock.insertBefore( FCKTools.GetElementDocument( eNextBlock ).createTextNode( '\xa0' ), eNextBlock.firstChild ) ; // Move the selection to the end block. if ( eNextBlock ) oRange.MoveToElementEditStart( eNextBlock ) ; } else { if ( bIsStartOfBlock && bIsEndOfBlock && ePreviousBlock.tagName.toUpperCase() == 'LI' ) { oRange.MoveToElementStart( ePreviousBlock ) ; this._OutdentWithSelection( ePreviousBlock, oRange ) ; oRange.Release() ; return true ; } var eNewBlock ; if ( ePreviousBlock ) { var sPreviousBlockTag = ePreviousBlock.tagName.toUpperCase() ; // If is a header tag, or we are in a Shift+Enter (#77), // create a new block element (later in the code). if ( !this._HasShift && !(/^H[1-6]$/).test( sPreviousBlockTag ) ) { // Otherwise, duplicate the previous block. eNewBlock = FCKDomTools.CloneElement( ePreviousBlock ) ; } } else if ( eNextBlock ) eNewBlock = FCKDomTools.CloneElement( eNextBlock ) ; if ( !eNewBlock ) eNewBlock = this.Window.document.createElement( blockTag ) ; // Recreate the inline elements tree, which was available // before the hitting enter, so the same styles will be // available in the new block. var elementPath = oSplitInfo.ElementPath ; if ( elementPath ) { for ( var i = 0, len = elementPath.Elements.length ; i < len ; i++ ) { var element = elementPath.Elements[i] ; if ( element == elementPath.Block || element == elementPath.BlockLimit ) break ; if ( FCKListsLib.InlineChildReqElements[ element.nodeName.toLowerCase() ] ) { element = FCKDomTools.CloneElement( element ) ; FCKDomTools.MoveChildren( eNewBlock, element ) ; eNewBlock.appendChild( element ) ; } } } if ( FCKBrowserInfo.IsGeckoLike ) FCKTools.AppendBogusBr( eNewBlock ) ; oRange.InsertNode( eNewBlock ) ; // This is tricky, but to make the new block visible correctly // we must select it. if ( FCKBrowserInfo.IsIE ) { // Move the selection to the new block. oRange.MoveToElementEditStart( eNewBlock ) ; oRange.Select() ; } // Move the selection to the new block. oRange.MoveToElementEditStart( bIsStartOfBlock && !bIsEndOfBlock ? eNextBlock : eNewBlock ) ; } if ( FCKBrowserInfo.IsGeckoLike ) FCKDomTools.ScrollIntoView( eNextBlock || eNewBlock, false ) ; oRange.Select() ; } // Release the resources used by the range. oRange.Release() ; return true ; } FCKEnterKey.prototype._ExecuteEnterBr = function( blockTag ) { // Get the current selection. var oRange = new FCKDomRange( this.Window ) ; oRange.MoveToSelection() ; // The selection boundaries must be in the same "block limit" element. if ( oRange.StartBlockLimit == oRange.EndBlockLimit ) { oRange.DeleteContents() ; // Get the new selection (it is collapsed at this point). oRange.MoveToSelection() ; var bIsStartOfBlock = oRange.CheckStartOfBlock() ; var bIsEndOfBlock = oRange.CheckEndOfBlock() ; var sStartBlockTag = oRange.StartBlock ? oRange.StartBlock.tagName.toUpperCase() : '' ; var bHasShift = this._HasShift ; var bIsPre = false ; if ( !bHasShift && sStartBlockTag == 'LI' ) return this._ExecuteEnterBlock( null, oRange ) ; // If we are at the end of a header block. if ( !bHasShift && bIsEndOfBlock && (/^H[1-6]$/).test( sStartBlockTag ) ) { // Insert a BR after the current paragraph. FCKDomTools.InsertAfterNode( oRange.StartBlock, this.Window.document.createElement( 'br' ) ) ; // The space is required by Gecko only to make the cursor blink. if ( FCKBrowserInfo.IsGecko ) FCKDomTools.InsertAfterNode( oRange.StartBlock, this.Window.document.createTextNode( '' ) ) ; // IE and Gecko have different behaviors regarding the position. oRange.SetStart( oRange.StartBlock.nextSibling, FCKBrowserInfo.IsIE ? 3 : 1 ) ; } else { var eLineBreak ; bIsPre = sStartBlockTag.IEquals( 'pre' ) ; if ( bIsPre ) eLineBreak = this.Window.document.createTextNode( FCKBrowserInfo.IsIE ? '\r' : '\n' ) ; else eLineBreak = this.Window.document.createElement( 'br' ) ; oRange.InsertNode( eLineBreak ) ; // The space is required by Gecko only to make the cursor blink. if ( FCKBrowserInfo.IsGecko ) FCKDomTools.InsertAfterNode( eLineBreak, this.Window.document.createTextNode( '' ) ) ; // If we are at the end of a block, we must be sure the bogus node is available in that block. if ( bIsEndOfBlock && FCKBrowserInfo.IsGeckoLike ) FCKTools.AppendBogusBr( eLineBreak.parentNode ) ; if ( FCKBrowserInfo.IsIE ) oRange.SetStart( eLineBreak, 4 ) ; else oRange.SetStart( eLineBreak.nextSibling, 1 ) ; if ( ! FCKBrowserInfo.IsIE ) { var dummy = null ; if ( FCKBrowserInfo.IsOpera ) dummy = this.Window.document.createElement( 'span' ) ; else dummy = this.Window.document.createElement( 'br' ) ; eLineBreak.parentNode.insertBefore( dummy, eLineBreak.nextSibling ) ; FCKDomTools.ScrollIntoView( dummy, false ) ; dummy.parentNode.removeChild( dummy ) ; } } // This collapse guarantees the cursor will be blinking. oRange.Collapse( true ) ; oRange.Select( bIsPre ) ; } // Release the resources used by the range. oRange.Release() ; return true ; } // Outdents a LI, maintaining the selection defined on a range. FCKEnterKey.prototype._OutdentWithSelection = function( li, range ) { var oBookmark = range.CreateBookmark() ; FCKListHandler.OutdentListItem( li ) ; range.MoveToBookmark( oBookmark ) ; range.Select() ; } // Is all the contents under a node included by a range? FCKEnterKey.prototype._CheckIsAllContentsIncluded = function( range, node ) { var startOk = false ; var endOk = false ; /* FCKDebug.Output( 'sc='+range.StartContainer.nodeName+ ',so='+range._Range.startOffset+ ',ec='+range.EndContainer.nodeName+ ',eo='+range._Range.endOffset ) ; */ if ( range.StartContainer == node || range.StartContainer == node.firstChild ) startOk = ( range._Range.startOffset == 0 ) ; if ( range.EndContainer == node || range.EndContainer == node.lastChild ) { var nodeLength = range.EndContainer.nodeType == 3 ? range.EndContainer.length : range.EndContainer.childNodes.length ; endOk = ( range._Range.endOffset == nodeLength ) ; } return startOk && endOk ; } // Kludge for #247 FCKEnterKey.prototype._FixIESelectAllBug = function( range ) { var doc = this.Window.document ; doc.body.innerHTML = '' ; var editBlock ; if ( FCKConfig.EnterMode.IEquals( ['div', 'p'] ) ) { editBlock = doc.createElement( FCKConfig.EnterMode ) ; doc.body.appendChild( editBlock ) ; } else editBlock = doc.body ; range.MoveToNodeContents( editBlock ) ; range.Collapse( true ) ; range.Select() ; range.Release() ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This is a generic Document Fragment object. It is not intended to provide * the W3C implementation, but is a way to fix the missing of a real Document * Fragment in IE (where document.createDocumentFragment() returns a normal * document instead), giving a standard interface for it. * (IE Implementation) */ var FCKDocumentFragment = function( parentDocument ) { this._Document = parentDocument ; this.RootNode = parentDocument.createElement( 'div' ) ; } // Append the contents of this Document Fragment to another node. FCKDocumentFragment.prototype = { AppendTo : function( targetNode ) { FCKDomTools.MoveChildren( this.RootNode, targetNode ) ; }, AppendHtml : function( html ) { var eTmpDiv = this._Document.createElement( 'div' ) ; eTmpDiv.innerHTML = html ; FCKDomTools.MoveChildren( eTmpDiv, this.RootNode ) ; }, InsertAfterNode : function( existingNode ) { var eRoot = this.RootNode ; var eLast ; while( ( eLast = eRoot.lastChild ) ) FCKDomTools.InsertAfterNode( existingNode, eRoot.removeChild( eLast ) ) ; } } ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKToolbarBreak Class: breaks the toolbars. * It makes it possible to force the toolbar to break to a new line. * This is the IE specific implementation. */ var FCKToolbarBreak = function() {} FCKToolbarBreak.prototype.Create = function( targetElement ) { var oBreakDiv = FCKTools.GetElementDocument( targetElement ).createElement( 'div' ) ; oBreakDiv.className = 'TB_Break' ; oBreakDiv.style.clear = FCKLang.Dir == 'rtl' ? 'left' : 'right' ; targetElement.appendChild( oBreakDiv ) ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKToolbarButton Class: represents a button in the toolbar. */ var FCKToolbarButton = function( commandName, label, tooltip, style, sourceView, contextSensitive, icon ) { this.CommandName = commandName ; this.Label = label ; this.Tooltip = tooltip ; this.Style = style ; this.SourceView = sourceView ? true : false ; this.ContextSensitive = contextSensitive ? true : false ; if ( icon == null ) this.IconPath = FCKConfig.SkinPath + 'toolbar/' + commandName.toLowerCase() + '.gif' ; else if ( typeof( icon ) == 'number' ) this.IconPath = [ FCKConfig.SkinPath + 'fck_strip.gif', 16, icon ] ; else this.IconPath = icon ; } FCKToolbarButton.prototype.Create = function( targetElement ) { this._UIButton = new FCKToolbarButtonUI( this.CommandName, this.Label, this.Tooltip, this.IconPath, this.Style ) ; this._UIButton.OnClick = this.Click ; this._UIButton._ToolbarButton = this ; this._UIButton.Create( targetElement ) ; } FCKToolbarButton.prototype.RefreshState = function() { var uiButton = this._UIButton ; if ( !uiButton ) return ; // Gets the actual state. var eState = FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( this.CommandName ).GetState() ; // If there are no state changes than do nothing and return. if ( eState == uiButton.State ) return ; // Sets the actual state. uiButton.ChangeState( eState ) ; } FCKToolbarButton.prototype.Click = function() { var oToolbarButton = this._ToolbarButton || this ; FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( oToolbarButton.CommandName ).Execute() ; } FCKToolbarButton.prototype.Enable = function() { this.RefreshState() ; } FCKToolbarButton.prototype.Disable = function() { // Sets the actual state. this._UIButton.ChangeState( FCK_TRISTATE_DISABLED ) ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKXml Class: class to load and manipulate XML files. * (IE specific implementation) */ FCKXml.prototype = { LoadUrl : function( urlToCall ) { this.Error = false ; var oXmlHttp = FCKTools.CreateXmlObject( 'XmlHttp' ) ; if ( !oXmlHttp ) { this.Error = true ; return ; } oXmlHttp.open( "GET", urlToCall, false ) ; oXmlHttp.send( null ) ; if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 || ( oXmlHttp.status == 0 && oXmlHttp.readyState == 4 ) ) { this.DOMDocument = oXmlHttp.responseXML ; // #1426: Fallback if responseXML isn't set for some // reason (e.g. improperly configured web server) if ( !this.DOMDocument || this.DOMDocument.firstChild == null ) { this.DOMDocument = FCKTools.CreateXmlObject( 'DOMDocument' ) ; this.DOMDocument.async = false ; this.DOMDocument.resolveExternals = false ; this.DOMDocument.loadXML( oXmlHttp.responseText ) ; } } else { this.DOMDocument = null ; } if ( this.DOMDocument == null || this.DOMDocument.firstChild == null ) { this.Error = true ; if (window.confirm( 'Error loading "' + urlToCall + '"\r\nDo you want to see more info?' ) ) alert( 'URL requested: "' + urlToCall + '"\r\n' + 'Server response:\r\nStatus: ' + oXmlHttp.status + '\r\n' + 'Response text:\r\n' + oXmlHttp.responseText ) ; } }, SelectNodes : function( xpath, contextNode ) { if ( this.Error ) return new Array() ; if ( contextNode ) return contextNode.selectNodes( xpath ) ; else return this.DOMDocument.selectNodes( xpath ) ; }, SelectSingleNode : function( xpath, contextNode ) { if ( this.Error ) return null ; if ( contextNode ) return contextNode.selectSingleNode( xpath ) ; else return this.DOMDocument.selectSingleNode( xpath ) ; } } ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKStyle Class: contains a style definition, and all methods to work with * the style in a document. */ /** * @param {Object} styleDesc A "style descriptor" object, containing the raw * style definition in the following format: * '<style name>' : { * Element : '<element name>', * Attributes : { * '<att name>' : '<att value>', * ... * }, * Styles : { * '<style name>' : '<style value>', * ... * }, * Overrides : '<element name>'|{ * Element : '<element name>', * Attributes : { * '<att name>' : '<att value>'|/<att regex>/ * }, * Styles : { * '<style name>' : '<style value>'|/<style regex>/ * }, * } * } */ var FCKStyle = function( styleDesc ) { this.Element = ( styleDesc.Element || 'span' ).toLowerCase() ; this._StyleDesc = styleDesc ; } FCKStyle.prototype = { /** * Get the style type, based on its element name: * - FCK_STYLE_BLOCK (0): Block Style * - FCK_STYLE_INLINE (1): Inline Style * - FCK_STYLE_OBJECT (2): Object Style */ GetType : function() { var type = this.GetType_$ ; if ( type != undefined ) return type ; var elementName = this.Element ; if ( elementName == '#' || FCKListsLib.StyleBlockElements[ elementName ] ) type = FCK_STYLE_BLOCK ; else if ( FCKListsLib.StyleObjectElements[ elementName ] ) type = FCK_STYLE_OBJECT ; else type = FCK_STYLE_INLINE ; return ( this.GetType_$ = type ) ; }, /** * Apply the style to the current selection. */ ApplyToSelection : function( targetWindow ) { // Create a range for the current selection. var range = new FCKDomRange( targetWindow ) ; range.MoveToSelection() ; this.ApplyToRange( range, true ) ; }, /** * Apply the style to a FCKDomRange. */ ApplyToRange : function( range, selectIt, updateRange ) { // ApplyToRange is not valid for FCK_STYLE_OBJECT types. // Use ApplyToObject instead. switch ( this.GetType() ) { case FCK_STYLE_BLOCK : this.ApplyToRange = this._ApplyBlockStyle ; break ; case FCK_STYLE_INLINE : this.ApplyToRange = this._ApplyInlineStyle ; break ; default : return ; } this.ApplyToRange( range, selectIt, updateRange ) ; }, /** * Apply the style to an object. Valid for FCK_STYLE_BLOCK types only. */ ApplyToObject : function( objectElement ) { if ( !objectElement ) return ; this.BuildElement( null, objectElement ) ; }, /** * Remove the style from the current selection. */ RemoveFromSelection : function( targetWindow ) { // Create a range for the current selection. var range = new FCKDomRange( targetWindow ) ; range.MoveToSelection() ; this.RemoveFromRange( range, true ) ; }, /** * Remove the style from a FCKDomRange. Block type styles will have no * effect. */ RemoveFromRange : function( range, selectIt, updateRange ) { var bookmark ; // Create the attribute list to be used later for element comparisons. var styleAttribs = this._GetAttribsForComparison() ; var styleOverrides = this._GetOverridesForComparison() ; // If collapsed, we are removing all conflicting styles from the range // parent tree. if ( range.CheckIsCollapsed() ) { // Bookmark the range so we can re-select it after processing. var bookmark = range.CreateBookmark( true ) ; // Let's start from the bookmark <span> parent. var bookmarkStart = range.GetBookmarkNode( bookmark, true ) ; var path = new FCKElementPath( bookmarkStart.parentNode ) ; // While looping through the path, we'll be saving references to // parent elements if the range is in one of their boundaries. In // this way, we are able to create a copy of those elements when // removing a style if the range is in a boundary limit (see #1270). var boundaryElements = [] ; // Check if the range is in the boundary limits of an element // (related to #1270). var isBoundaryRight = !FCKDomTools.GetNextSibling( bookmarkStart ) ; var isBoundary = isBoundaryRight || !FCKDomTools.GetPreviousSibling( bookmarkStart ) ; // This is the last element to be removed in the boundary situation // described at #1270. var lastBoundaryElement ; var boundaryLimitIndex = -1 ; for ( var i = 0 ; i < path.Elements.length ; i++ ) { var pathElement = path.Elements[i] ; if ( this.CheckElementRemovable( pathElement ) ) { if ( isBoundary && !FCKDomTools.CheckIsEmptyElement( pathElement, function( el ) { return ( el != bookmarkStart ) ; } ) ) { lastBoundaryElement = pathElement ; // We'll be continuously including elements in the // boundaryElements array, but only those added before // setting lastBoundaryElement must be used later, so // let's mark the current index here. boundaryLimitIndex = boundaryElements.length - 1 ; } else { var pathElementName = pathElement.nodeName.toLowerCase() ; if ( pathElementName == this.Element ) { // Remove any attribute that conflict with this style, no // matter their values. for ( var att in styleAttribs ) { if ( FCKDomTools.HasAttribute( pathElement, att ) ) { switch ( att ) { case 'style' : this._RemoveStylesFromElement( pathElement ) ; break ; case 'class' : // The 'class' element value must match (#1318). if ( FCKDomTools.GetAttributeValue( pathElement, att ) != this.GetFinalAttributeValue( att ) ) continue ; /*jsl:fallthru*/ default : FCKDomTools.RemoveAttribute( pathElement, att ) ; } } } } // Remove overrides defined to the same element name. this._RemoveOverrides( pathElement, styleOverrides[ pathElementName ] ) ; // Remove the element if no more attributes are available and it's an inline style element if ( this.GetType() == FCK_STYLE_INLINE) this._RemoveNoAttribElement( pathElement ) ; } } else if ( isBoundary ) boundaryElements.push( pathElement ) ; // Check if we are still in a boundary (at the same side). isBoundary = isBoundary && ( ( isBoundaryRight && !FCKDomTools.GetNextSibling( pathElement ) ) || ( !isBoundaryRight && !FCKDomTools.GetPreviousSibling( pathElement ) ) ) ; // If we are in an element that is not anymore a boundary, or // we are at the last element, let's move things outside the // boundary (if available). if ( lastBoundaryElement && ( !isBoundary || ( i == path.Elements.length - 1 ) ) ) { // Remove the bookmark node from the DOM. var currentElement = FCKDomTools.RemoveNode( bookmarkStart ) ; // Build the collapsed group of elements that are not // removed by this style, but share the boundary. // (see comment 1 and 2 at #1270) for ( var j = 0 ; j <= boundaryLimitIndex ; j++ ) { var newElement = FCKDomTools.CloneElement( boundaryElements[j] ) ; newElement.appendChild( currentElement ) ; currentElement = newElement ; } // Re-insert the bookmark node (and the collapsed elements) // in the DOM, in the new position next to the styled element. if ( isBoundaryRight ) FCKDomTools.InsertAfterNode( lastBoundaryElement, currentElement ) ; else lastBoundaryElement.parentNode.insertBefore( currentElement, lastBoundaryElement ) ; isBoundary = false ; lastBoundaryElement = null ; } } // Re-select the original range. if ( selectIt ) range.SelectBookmark( bookmark ) ; if ( updateRange ) range.MoveToBookmark( bookmark ) ; return ; } // Expand the range, if inside inline element boundaries. range.Expand( 'inline_elements' ) ; // Bookmark the range so we can re-select it after processing. bookmark = range.CreateBookmark( true ) ; // The style will be applied within the bookmark boundaries. var startNode = range.GetBookmarkNode( bookmark, true ) ; var endNode = range.GetBookmarkNode( bookmark, false ) ; range.Release( true ) ; // We need to check the selection boundaries (bookmark spans) to break // the code in a way that we can properly remove partially selected nodes. // For example, removing a <b> style from // <b>This is [some text</b> to show <b>the] problem</b> // ... where [ and ] represent the selection, must result: // <b>This is </b>[some text to show the]<b> problem</b> // The strategy is simple, we just break the partial nodes before the // removal logic, having something that could be represented this way: // <b>This is </b>[<b>some text</b> to show <b>the</b>]<b> problem</b> // Let's start checking the start boundary. var path = new FCKElementPath( startNode ) ; var pathElements = path.Elements ; var pathElement ; for ( var i = 1 ; i < pathElements.length ; i++ ) { pathElement = pathElements[i] ; if ( pathElement == path.Block || pathElement == path.BlockLimit ) break ; // If this element can be removed (even partially). if ( this.CheckElementRemovable( pathElement ) ) FCKDomTools.BreakParent( startNode, pathElement, range ) ; } // Now the end boundary. path = new FCKElementPath( endNode ) ; pathElements = path.Elements ; for ( var i = 1 ; i < pathElements.length ; i++ ) { pathElement = pathElements[i] ; if ( pathElement == path.Block || pathElement == path.BlockLimit ) break ; elementName = pathElement.nodeName.toLowerCase() ; // If this element can be removed (even partially). if ( this.CheckElementRemovable( pathElement ) ) FCKDomTools.BreakParent( endNode, pathElement, range ) ; } // Navigate through all nodes between the bookmarks. var currentNode = FCKDomTools.GetNextSourceNode( startNode, true ) ; while ( currentNode ) { // Cache the next node to be processed. Do it now, because // currentNode may be removed. var nextNode = FCKDomTools.GetNextSourceNode( currentNode ) ; // Remove elements nodes that match with this style rules. if ( currentNode.nodeType == 1 ) { var elementName = currentNode.nodeName.toLowerCase() ; var mayRemove = ( elementName == this.Element ) ; if ( mayRemove ) { // Remove any attribute that conflict with this style, no matter // their values. for ( var att in styleAttribs ) { if ( FCKDomTools.HasAttribute( currentNode, att ) ) { switch ( att ) { case 'style' : this._RemoveStylesFromElement( currentNode ) ; break ; case 'class' : // The 'class' element value must match (#1318). if ( FCKDomTools.GetAttributeValue( currentNode, att ) != this.GetFinalAttributeValue( att ) ) continue ; /*jsl:fallthru*/ default : FCKDomTools.RemoveAttribute( currentNode, att ) ; } } } } else mayRemove = !!styleOverrides[ elementName ] ; if ( mayRemove ) { // Remove overrides defined to the same element name. this._RemoveOverrides( currentNode, styleOverrides[ elementName ] ) ; // Remove the element if no more attributes are available. this._RemoveNoAttribElement( currentNode ) ; } } // If we have reached the end of the selection, stop looping. if ( nextNode == endNode ) break ; currentNode = nextNode ; } this._FixBookmarkStart( startNode ) ; // Re-select the original range. if ( selectIt ) range.SelectBookmark( bookmark ) ; if ( updateRange ) range.MoveToBookmark( bookmark ) ; }, /** * Checks if an element, or any of its attributes, is removable by the * current style definition. */ CheckElementRemovable : function( element, fullMatch ) { if ( !element ) return false ; var elementName = element.nodeName.toLowerCase() ; // If the element name is the same as the style name. if ( elementName == this.Element ) { // If no attributes are defined in the element. if ( !fullMatch && !FCKDomTools.HasAttributes( element ) ) return true ; // If any attribute conflicts with the style attributes. var attribs = this._GetAttribsForComparison() ; var allMatched = ( attribs._length == 0 ) ; for ( var att in attribs ) { if ( att == '_length' ) continue ; if ( this._CompareAttributeValues( att, FCKDomTools.GetAttributeValue( element, att ), ( this.GetFinalAttributeValue( att ) || '' ) ) ) { allMatched = true ; if ( !fullMatch ) break ; } else { allMatched = false ; if ( fullMatch ) return false ; } } if ( allMatched ) return true ; } // Check if the element can be somehow overriden. var override = this._GetOverridesForComparison()[ elementName ] ; if ( override ) { // If no attributes have been defined, remove the element. if ( !( attribs = override.Attributes ) ) // Only one "=" return true ; for ( var i = 0 ; i < attribs.length ; i++ ) { var attName = attribs[i][0] ; if ( FCKDomTools.HasAttribute( element, attName ) ) { var attValue = attribs[i][1] ; // Remove the attribute if: // - The override definition value is null ; // - The override definition valie is a string that // matches the attribute value exactly. // - The override definition value is a regex that // has matches in the attribute value. if ( attValue == null || ( typeof attValue == 'string' && FCKDomTools.GetAttributeValue( element, attName ) == attValue ) || attValue.test( FCKDomTools.GetAttributeValue( element, attName ) ) ) return true ; } } } return false ; }, /** * Get the style state for an element path. Returns "true" if the element * is active in the path. */ CheckActive : function( elementPath ) { switch ( this.GetType() ) { case FCK_STYLE_BLOCK : return this.CheckElementRemovable( elementPath.Block || elementPath.BlockLimit, true ) ; case FCK_STYLE_INLINE : var elements = elementPath.Elements ; for ( var i = 0 ; i < elements.length ; i++ ) { var element = elements[i] ; if ( element == elementPath.Block || element == elementPath.BlockLimit ) continue ; if ( this.CheckElementRemovable( element, true ) ) return true ; } } return false ; }, /** * Removes an inline style from inside an element tree. The element node * itself is not checked or removed, only the child tree inside of it. */ RemoveFromElement : function( element ) { var attribs = this._GetAttribsForComparison() ; var overrides = this._GetOverridesForComparison() ; // Get all elements with the same name. var innerElements = element.getElementsByTagName( this.Element ) ; for ( var i = innerElements.length - 1 ; i >= 0 ; i-- ) { var innerElement = innerElements[i] ; // Remove any attribute that conflict with this style, no matter // their values. for ( var att in attribs ) { if ( FCKDomTools.HasAttribute( innerElement, att ) ) { switch ( att ) { case 'style' : this._RemoveStylesFromElement( innerElement ) ; break ; case 'class' : // The 'class' element value must match (#1318). if ( FCKDomTools.GetAttributeValue( innerElement, att ) != this.GetFinalAttributeValue( att ) ) continue ; /*jsl:fallthru*/ default : FCKDomTools.RemoveAttribute( innerElement, att ) ; } } } // Remove overrides defined to the same element name. this._RemoveOverrides( innerElement, overrides[ this.Element ] ) ; // Remove the element if no more attributes are available. this._RemoveNoAttribElement( innerElement ) ; } // Now remove any other element with different name that is // defined to be overriden. for ( var overrideElement in overrides ) { if ( overrideElement != this.Element ) { // Get all elements. innerElements = element.getElementsByTagName( overrideElement ) ; for ( var i = innerElements.length - 1 ; i >= 0 ; i-- ) { var innerElement = innerElements[i] ; this._RemoveOverrides( innerElement, overrides[ overrideElement ] ) ; this._RemoveNoAttribElement( innerElement ) ; } } } }, _RemoveStylesFromElement : function( element ) { var elementStyle = element.style.cssText ; var pattern = this.GetFinalStyleValue() ; if ( elementStyle.length > 0 && pattern.length == 0 ) return ; pattern = '(^|;)\\s*(' + pattern.replace( /\s*([^ ]+):.*?(;|$)/g, '$1|' ).replace( /\|$/, '' ) + '):[^;]+' ; var regex = new RegExp( pattern, 'gi' ) ; elementStyle = elementStyle.replace( regex, '' ).Trim() ; if ( elementStyle.length == 0 || elementStyle == ';' ) FCKDomTools.RemoveAttribute( element, 'style' ) ; else element.style.cssText = elementStyle.replace( regex, '' ) ; }, /** * Remove all attributes that are defined to be overriden, */ _RemoveOverrides : function( element, override ) { var attributes = override && override.Attributes ; if ( attributes ) { for ( var i = 0 ; i < attributes.length ; i++ ) { var attName = attributes[i][0] ; if ( FCKDomTools.HasAttribute( element, attName ) ) { var attValue = attributes[i][1] ; // Remove the attribute if: // - The override definition value is null ; // - The override definition valie is a string that // matches the attribute value exactly. // - The override definition value is a regex that // has matches in the attribute value. if ( attValue == null || ( attValue.test && attValue.test( FCKDomTools.GetAttributeValue( element, attName ) ) ) || ( typeof attValue == 'string' && FCKDomTools.GetAttributeValue( element, attName ) == attValue ) ) FCKDomTools.RemoveAttribute( element, attName ) ; } } } }, /** * If the element has no more attributes, remove it. */ _RemoveNoAttribElement : function( element ) { // If no more attributes remained in the element, remove it, // leaving its children. if ( !FCKDomTools.HasAttributes( element ) ) { // Removing elements may open points where merging is possible, // so let's cache the first and last nodes for later checking. var firstChild = element.firstChild ; var lastChild = element.lastChild ; FCKDomTools.RemoveNode( element, true ) ; // Check the cached nodes for merging. this._MergeSiblings( firstChild ) ; if ( firstChild != lastChild ) this._MergeSiblings( lastChild ) ; } }, /** * Creates a DOM element for this style object. */ BuildElement : function( targetDoc, element ) { // Create the element. var el = element || targetDoc.createElement( this.Element ) ; // Assign all defined attributes. var attribs = this._StyleDesc.Attributes ; var attValue ; if ( attribs ) { for ( var att in attribs ) { attValue = this.GetFinalAttributeValue( att ) ; if ( att.toLowerCase() == 'class' ) el.className = attValue ; else el.setAttribute( att, attValue ) ; } } // Assign the style attribute. if ( this._GetStyleText().length > 0 ) el.style.cssText = this.GetFinalStyleValue() ; return el ; }, _CompareAttributeValues : function( attName, valueA, valueB ) { if ( attName == 'style' && valueA && valueB ) { valueA = valueA.replace( /;$/, '' ).toLowerCase() ; valueB = valueB.replace( /;$/, '' ).toLowerCase() ; } // Return true if they match or if valueA is null and valueB is an empty string return ( valueA == valueB || ( ( valueA === null || valueA === '' ) && ( valueB === null || valueB === '' ) ) ) }, GetFinalAttributeValue : function( attName ) { var attValue = this._StyleDesc.Attributes ; var attValue = attValue ? attValue[ attName ] : null ; if ( !attValue && attName == 'style' ) return this.GetFinalStyleValue() ; if ( attValue && this._Variables ) // Using custom Replace() to guarantee the correct scope. attValue = attValue.Replace( FCKRegexLib.StyleVariableAttName, this._GetVariableReplace, this ) ; return attValue ; }, GetFinalStyleValue : function() { var attValue = this._GetStyleText() ; if ( attValue.length > 0 && this._Variables ) { // Using custom Replace() to guarantee the correct scope. attValue = attValue.Replace( FCKRegexLib.StyleVariableAttName, this._GetVariableReplace, this ) ; attValue = FCKTools.NormalizeCssText( attValue ) ; } return attValue ; }, _GetVariableReplace : function() { // The second group in the regex is the variable name. return this._Variables[ arguments[2] ] || arguments[0] ; }, /** * Set the value of a variable attribute or style, to be used when * appliying the style. */ SetVariable : function( name, value ) { var variables = this._Variables ; if ( !variables ) variables = this._Variables = {} ; this._Variables[ name ] = value ; }, /** * Converting from a PRE block to a non-PRE block in formatting operations. */ _FromPre : function( doc, block, newBlock ) { var innerHTML = block.innerHTML ; // Trim the first and last linebreaks immediately after and before <pre>, </pre>, // if they exist. // This is done because the linebreaks are not rendered. innerHTML = innerHTML.replace( /(\r\n|\r)/g, '\n' ) ; innerHTML = innerHTML.replace( /^[ \t]*\n/, '' ) ; innerHTML = innerHTML.replace( /\n$/, '' ) ; // 1. Convert spaces or tabs at the beginning or at the end to &nbsp; innerHTML = innerHTML.replace( /^[ \t]+|[ \t]+$/g, function( match, offset, s ) { if ( match.length == 1 ) // one space, preserve it return '&nbsp;' ; else if ( offset == 0 ) // beginning of block return new Array( match.length ).join( '&nbsp;' ) + ' ' ; else // end of block return ' ' + new Array( match.length ).join( '&nbsp;' ) ; } ) ; // 2. Convert \n to <BR>. // 3. Convert contiguous (i.e. non-singular) spaces or tabs to &nbsp; var htmlIterator = new FCKHtmlIterator( innerHTML ) ; var results = [] ; htmlIterator.Each( function( isTag, value ) { if ( !isTag ) { value = value.replace( /\n/g, '<br>' ) ; value = value.replace( /[ \t]{2,}/g, function ( match ) { return new Array( match.length ).join( '&nbsp;' ) + ' ' ; } ) ; } results.push( value ) ; } ) ; newBlock.innerHTML = results.join( '' ) ; return newBlock ; }, /** * Converting from a non-PRE block to a PRE block in formatting operations. */ _ToPre : function( doc, block, newBlock ) { // Handle converting from a regular block to a <pre> block. var innerHTML = block.innerHTML.Trim() ; // 1. Delete ANSI whitespaces immediately before and after <BR> because // they are not visible. // 2. Mark down any <BR /> nodes here so they can be turned into \n in // the next step and avoid being compressed. innerHTML = innerHTML.replace( /[ \t\r\n]*(<br[^>]*>)[ \t\r\n]*/gi, '<br />' ) ; // 3. Compress other ANSI whitespaces since they're only visible as one // single space previously. // 4. Convert &nbsp; to spaces since &nbsp; is no longer needed in <PRE>. // 5. Convert any <BR /> to \n. This must not be done earlier because // the \n would then get compressed. var htmlIterator = new FCKHtmlIterator( innerHTML ) ; var results = [] ; htmlIterator.Each( function( isTag, value ) { if ( !isTag ) value = value.replace( /([ \t\n\r]+|&nbsp;)/g, ' ' ) ; else if ( isTag && value == '<br />' ) value = '\n' ; results.push( value ) ; } ) ; // Assigning innerHTML to <PRE> in IE causes all linebreaks to be // reduced to spaces. // Assigning outerHTML to <PRE> in IE doesn't work if the <PRE> isn't // contained in another node since the node reference is changed after // outerHTML assignment. // So, we need some hacks to workaround IE bugs here. if ( FCKBrowserInfo.IsIE ) { var temp = doc.createElement( 'div' ) ; temp.appendChild( newBlock ) ; newBlock.outerHTML = '<pre>\n' + results.join( '' ) + '</pre>' ; newBlock = temp.removeChild( temp.firstChild ) ; } else newBlock.innerHTML = results.join( '' ) ; return newBlock ; }, /** * Merge a <pre> block with a previous <pre> block, if available. */ _CheckAndMergePre : function( previousBlock, preBlock ) { // Check if the previous block and the current block are next // to each other. if ( previousBlock != FCKDomTools.GetPreviousSourceElement( preBlock, true ) ) return ; // Merge the previous <pre> block contents into the current <pre> // block. // // Another thing to be careful here is that currentBlock might contain // a '\n' at the beginning, and previousBlock might contain a '\n' // towards the end. These new lines are not normally displayed but they // become visible after merging. var innerHTML = previousBlock.innerHTML.replace( /\n$/, '' ) + '\n\n' + preBlock.innerHTML.replace( /^\n/, '' ) ; // Buggy IE normalizes innerHTML from <pre>, breaking whitespaces. if ( FCKBrowserInfo.IsIE ) preBlock.outerHTML = '<pre>' + innerHTML + '</pre>' ; else preBlock.innerHTML = innerHTML ; // Remove the previous <pre> block. // // The preBlock must not be moved or deleted from the DOM tree. This // guarantees the FCKDomRangeIterator in _ApplyBlockStyle would not // get lost at the next iteration. FCKDomTools.RemoveNode( previousBlock ) ; }, _CheckAndSplitPre : function( newBlock ) { var lastNewBlock ; var cursor = newBlock.firstChild ; // We are not splitting <br><br> at the beginning of the block, so // we'll start from the second child. cursor = cursor && cursor.nextSibling ; while ( cursor ) { var next = cursor.nextSibling ; // If we have two <BR>s, and they're not at the beginning or the end, // then we'll split up the contents following them into another block. // Stop processing if we are at the last child couple. if ( next && next.nextSibling && cursor.nodeName.IEquals( 'br' ) && next.nodeName.IEquals( 'br' ) ) { // Remove the first <br>. FCKDomTools.RemoveNode( cursor ) ; // Move to the node after the second <br>. cursor = next.nextSibling ; // Remove the second <br>. FCKDomTools.RemoveNode( next ) ; // Create the block that will hold the child nodes from now on. lastNewBlock = FCKDomTools.InsertAfterNode( lastNewBlock || newBlock, FCKDomTools.CloneElement( newBlock ) ) ; continue ; } // If we split it, then start moving the nodes to the new block. if ( lastNewBlock ) { cursor = cursor.previousSibling ; FCKDomTools.MoveNode(cursor.nextSibling, lastNewBlock ) ; } cursor = cursor.nextSibling ; } }, /** * Apply an inline style to a FCKDomRange. * * TODO * - Implement the "#" style handling. * - Properly handle block containers like <div> and <blockquote>. */ _ApplyBlockStyle : function( range, selectIt, updateRange ) { // Bookmark the range so we can re-select it after processing. var bookmark ; if ( selectIt ) bookmark = range.CreateBookmark() ; var iterator = new FCKDomRangeIterator( range ) ; iterator.EnforceRealBlocks = true ; var block ; var doc = range.Window.document ; var previousPreBlock ; while( ( block = iterator.GetNextParagraph() ) ) // Only one = { // Create the new node right before the current one. var newBlock = this.BuildElement( doc ) ; // Check if we are changing from/to <pre>. var newBlockIsPre = newBlock.nodeName.IEquals( 'pre' ) ; var blockIsPre = block.nodeName.IEquals( 'pre' ) ; var toPre = newBlockIsPre && !blockIsPre ; var fromPre = !newBlockIsPre && blockIsPre ; // Move everything from the current node to the new one. if ( toPre ) newBlock = this._ToPre( doc, block, newBlock ) ; else if ( fromPre ) newBlock = this._FromPre( doc, block, newBlock ) ; else // Convering from a regular block to another regular block. FCKDomTools.MoveChildren( block, newBlock ) ; // Replace the current block. block.parentNode.insertBefore( newBlock, block ) ; FCKDomTools.RemoveNode( block ) ; // Complete other tasks after inserting the node in the DOM. if ( newBlockIsPre ) { if ( previousPreBlock ) this._CheckAndMergePre( previousPreBlock, newBlock ) ; // Merge successive <pre> blocks. previousPreBlock = newBlock ; } else if ( fromPre ) this._CheckAndSplitPre( newBlock ) ; // Split <br><br> in successive <pre>s. } // Re-select the original range. if ( selectIt ) range.SelectBookmark( bookmark ) ; if ( updateRange ) range.MoveToBookmark( bookmark ) ; }, /** * Apply an inline style to a FCKDomRange. * * TODO * - Merge elements, when applying styles to similar elements that enclose * the entire selection, outputing: * <span style="color: #ff0000; background-color: #ffffff">XYZ</span> * instead of: * <span style="color: #ff0000;"><span style="background-color: #ffffff">XYZ</span></span> */ _ApplyInlineStyle : function( range, selectIt, updateRange ) { var doc = range.Window.document ; if ( range.CheckIsCollapsed() ) { // Create the element to be inserted in the DOM. var collapsedElement = this.BuildElement( doc ) ; range.InsertNode( collapsedElement ) ; range.MoveToPosition( collapsedElement, 2 ) ; range.Select() ; return ; } // The general idea here is navigating through all nodes inside the // current selection, working on distinct range blocks, defined by the // DTD compatibility between the style element and the nodes inside the // ranges. // // For example, suppose we have the following selection (where [ and ] // are the boundaries), and we apply a <b> style there: // // <p>Here we [have <b>some</b> text.<p> // <p>And some here] here.</p> // // Two different ranges will be detected: // // "have <b>some</b> text." // "And some here" // // Both ranges will be extracted, moved to a <b> element, and // re-inserted, resulting in the following output: // // <p>Here we [<b>have some text.</b><p> // <p><b>And some here</b>] here.</p> // // Note that the <b> element at <b>some</b> is also removed because it // is not needed anymore. var elementName = this.Element ; // Get the DTD definition for the element. Defaults to "span". var elementDTD = FCK.DTD[ elementName ] || FCK.DTD.span ; // Create the attribute list to be used later for element comparisons. var styleAttribs = this._GetAttribsForComparison() ; var styleNode ; // Expand the range, if inside inline element boundaries. range.Expand( 'inline_elements' ) ; // Bookmark the range so we can re-select it after processing. var bookmark = range.CreateBookmark( true ) ; // The style will be applied within the bookmark boundaries. var startNode = range.GetBookmarkNode( bookmark, true ) ; var endNode = range.GetBookmarkNode( bookmark, false ) ; // We'll be reusing the range to apply the styles. So, release it here // to indicate that it has not been initialized. range.Release( true ) ; // Let's start the nodes lookup from the node right after the bookmark // span. var currentNode = FCKDomTools.GetNextSourceNode( startNode, true ) ; while ( currentNode ) { var applyStyle = false ; var nodeType = currentNode.nodeType ; var nodeName = nodeType == 1 ? currentNode.nodeName.toLowerCase() : null ; // Check if the current node can be a child of the style element. if ( !nodeName || elementDTD[ nodeName ] ) { // Check if the style element can be a child of the current // node parent or if the element is not defined in the DTD. if ( ( FCK.DTD[ currentNode.parentNode.nodeName.toLowerCase() ] || FCK.DTD.span )[ elementName ] || !FCK.DTD[ elementName ] ) { // This node will be part of our range, so if it has not // been started, place its start right before the node. if ( !range.CheckHasRange() ) range.SetStart( currentNode, 3 ) ; // Non element nodes, or empty elements can be added // completely to the range. if ( nodeType != 1 || currentNode.childNodes.length == 0 ) { var includedNode = currentNode ; var parentNode = includedNode.parentNode ; // This node is about to be included completelly, but, // if this is the last node in its parent, we must also // check if the parent itself can be added completelly // to the range. while ( includedNode == parentNode.lastChild && elementDTD[ parentNode.nodeName.toLowerCase() ] ) { includedNode = parentNode ; } range.SetEnd( includedNode, 4 ) ; // If the included node is the last node in its parent // and its parent can't be inside the style node, apply // the style immediately. if ( includedNode == includedNode.parentNode.lastChild && !elementDTD[ includedNode.parentNode.nodeName.toLowerCase() ] ) applyStyle = true ; } else { // Element nodes will not be added directly. We need to // check their children because the selection could end // inside the node, so let's place the range end right // before the element. range.SetEnd( currentNode, 3 ) ; } } else applyStyle = true ; } else applyStyle = true ; // Get the next node to be processed. currentNode = FCKDomTools.GetNextSourceNode( currentNode ) ; // If we have reached the end of the selection, just apply the // style ot the range, and stop looping. if ( currentNode == endNode ) { currentNode = null ; applyStyle = true ; } // Apply the style if we have something to which apply it. if ( applyStyle && range.CheckHasRange() && !range.CheckIsCollapsed() ) { // Build the style element, based on the style object definition. styleNode = this.BuildElement( doc ) ; // Move the contents of the range to the style element. range.ExtractContents().AppendTo( styleNode ) ; // If it is not empty. if ( styleNode.innerHTML.RTrim().length > 0 ) { // Insert it in the range position (it is collapsed after // ExtractContents. range.InsertNode( styleNode ) ; // Here we do some cleanup, removing all duplicated // elements from the style element. this.RemoveFromElement( styleNode ) ; // Let's merge our new style with its neighbors, if possible. this._MergeSiblings( styleNode, this._GetAttribsForComparison() ) ; // As the style system breaks text nodes constantly, let's normalize // things for performance. // With IE, some paragraphs get broken when calling normalize() // repeatedly. Also, for IE, we must normalize body, not documentElement. // IE is also known for having a "crash effect" with normalize(). // We should try to normalize with IE too in some way, somewhere. if ( !FCKBrowserInfo.IsIE ) styleNode.normalize() ; } // Style applied, let's release the range, so it gets marked to // re-initialization in the next loop. range.Release( true ) ; } } this._FixBookmarkStart( startNode ) ; // Re-select the original range. if ( selectIt ) range.SelectBookmark( bookmark ) ; if ( updateRange ) range.MoveToBookmark( bookmark ) ; }, _FixBookmarkStart : function( startNode ) { // After appliying or removing an inline style, the start boundary of // the selection must be placed inside all inline elements it is // bordering. var startSibling ; while ( ( startSibling = startNode.nextSibling ) ) // Only one "=". { if ( startSibling.nodeType == 1 && FCKListsLib.InlineNonEmptyElements[ startSibling.nodeName.toLowerCase() ] ) { // If it is an empty inline element, we can safely remove it. if ( !startSibling.firstChild ) FCKDomTools.RemoveNode( startSibling ) ; else FCKDomTools.MoveNode( startNode, startSibling, true ) ; continue ; } // Empty text nodes can be safely removed to not disturb. if ( startSibling.nodeType == 3 && startSibling.length == 0 ) { FCKDomTools.RemoveNode( startSibling ) ; continue ; } break ; } }, /** * Merge an element with its similar siblings. * "attribs" is and object computed with _CreateAttribsForComparison. */ _MergeSiblings : function( element, attribs ) { if ( !element || element.nodeType != 1 || !FCKListsLib.InlineNonEmptyElements[ element.nodeName.toLowerCase() ] ) return ; this._MergeNextSibling( element, attribs ) ; this._MergePreviousSibling( element, attribs ) ; }, /** * Merge an element with its similar siblings after it. * "attribs" is and object computed with _CreateAttribsForComparison. */ _MergeNextSibling : function( element, attribs ) { // Check the next sibling. var sibling = element.nextSibling ; // Check if the next sibling is a bookmark element. In this case, jump it. var hasBookmark = ( sibling && sibling.nodeType == 1 && sibling.getAttribute( '_fck_bookmark' ) ) ; if ( hasBookmark ) sibling = sibling.nextSibling ; if ( sibling && sibling.nodeType == 1 && sibling.nodeName == element.nodeName ) { if ( !attribs ) attribs = this._CreateElementAttribsForComparison( element ) ; if ( this._CheckAttributesMatch( sibling, attribs ) ) { // Save the last child to be checked too (to merge things like <b><i></i></b><b><i></i></b>). var innerSibling = element.lastChild ; if ( hasBookmark ) FCKDomTools.MoveNode( element.nextSibling, element ) ; // Move contents from the sibling. FCKDomTools.MoveChildren( sibling, element ) ; FCKDomTools.RemoveNode( sibling ) ; // Now check the last inner child (see two comments above). if ( innerSibling ) this._MergeNextSibling( innerSibling ) ; } } }, /** * Merge an element with its similar siblings before it. * "attribs" is and object computed with _CreateAttribsForComparison. */ _MergePreviousSibling : function( element, attribs ) { // Check the previous sibling. var sibling = element.previousSibling ; // Check if the previous sibling is a bookmark element. In this case, jump it. var hasBookmark = ( sibling && sibling.nodeType == 1 && sibling.getAttribute( '_fck_bookmark' ) ) ; if ( hasBookmark ) sibling = sibling.previousSibling ; if ( sibling && sibling.nodeType == 1 && sibling.nodeName == element.nodeName ) { if ( !attribs ) attribs = this._CreateElementAttribsForComparison( element ) ; if ( this._CheckAttributesMatch( sibling, attribs ) ) { // Save the first child to be checked too (to merge things like <b><i></i></b><b><i></i></b>). var innerSibling = element.firstChild ; if ( hasBookmark ) FCKDomTools.MoveNode( element.previousSibling, element, true ) ; // Move contents to the sibling. FCKDomTools.MoveChildren( sibling, element, true ) ; FCKDomTools.RemoveNode( sibling ) ; // Now check the first inner child (see two comments above). if ( innerSibling ) this._MergePreviousSibling( innerSibling ) ; } } }, /** * Build the cssText based on the styles definition. */ _GetStyleText : function() { var stylesDef = this._StyleDesc.Styles ; // Builds the StyleText. var stylesText = ( this._StyleDesc.Attributes ? this._StyleDesc.Attributes['style'] || '' : '' ) ; if ( stylesText.length > 0 ) stylesText += ';' ; for ( var style in stylesDef ) stylesText += style + ':' + stylesDef[style] + ';' ; // Browsers make some changes to the style when applying them. So, here // we normalize it to the browser format. We'll not do that if there // are variables inside the style. if ( stylesText.length > 0 && !( /#\(/.test( stylesText ) ) ) { stylesText = FCKTools.NormalizeCssText( stylesText ) ; } return (this._GetStyleText = function() { return stylesText ; })() ; }, /** * Get the the collection used to compare the attributes defined in this * style with attributes in an element. All information in it is lowercased. */ _GetAttribsForComparison : function() { // If we have already computed it, just return it. var attribs = this._GetAttribsForComparison_$ ; if ( attribs ) return attribs ; attribs = new Object() ; // Loop through all defined attributes. var styleAttribs = this._StyleDesc.Attributes ; if ( styleAttribs ) { for ( var styleAtt in styleAttribs ) { attribs[ styleAtt.toLowerCase() ] = styleAttribs[ styleAtt ].toLowerCase() ; } } // Includes the style definitions. if ( this._GetStyleText().length > 0 ) { attribs['style'] = this._GetStyleText().toLowerCase() ; } // Appends the "length" information to the object. FCKTools.AppendLengthProperty( attribs, '_length' ) ; // Return it, saving it to the next request. return ( this._GetAttribsForComparison_$ = attribs ) ; }, /** * Get the the collection used to compare the elements and attributes, * defined in this style overrides, with other element. All information in * it is lowercased. */ _GetOverridesForComparison : function() { // If we have already computed it, just return it. var overrides = this._GetOverridesForComparison_$ ; if ( overrides ) return overrides ; overrides = new Object() ; var overridesDesc = this._StyleDesc.Overrides ; if ( overridesDesc ) { // The override description can be a string, object or array. // Internally, well handle arrays only, so transform it if needed. if ( !FCKTools.IsArray( overridesDesc ) ) overridesDesc = [ overridesDesc ] ; // Loop through all override definitions. for ( var i = 0 ; i < overridesDesc.length ; i++ ) { var override = overridesDesc[i] ; var elementName ; var overrideEl ; var attrs ; // If can be a string with the element name. if ( typeof override == 'string' ) elementName = override.toLowerCase() ; // Or an object. else { elementName = override.Element ? override.Element.toLowerCase() : this.Element ; attrs = override.Attributes ; } // We can have more than one override definition for the same // element name, so we attempt to simply append information to // it if it already exists. overrideEl = overrides[ elementName ] || ( overrides[ elementName ] = {} ) ; if ( attrs ) { // The returning attributes list is an array, because we // could have different override definitions for the same // attribute name. var overrideAttrs = ( overrideEl.Attributes = overrideEl.Attributes || new Array() ) ; for ( var attName in attrs ) { // Each item in the attributes array is also an array, // where [0] is the attribute name and [1] is the // override value. overrideAttrs.push( [ attName.toLowerCase(), attrs[ attName ] ] ) ; } } } } return ( this._GetOverridesForComparison_$ = overrides ) ; }, /* * Create and object containing all attributes specified in an element, * added by a "_length" property. All values are lowercased. */ _CreateElementAttribsForComparison : function( element ) { var attribs = new Object() ; var attribsCount = 0 ; for ( var i = 0 ; i < element.attributes.length ; i++ ) { var att = element.attributes[i] ; if ( att.specified ) { attribs[ att.nodeName.toLowerCase() ] = FCKDomTools.GetAttributeValue( element, att ).toLowerCase() ; attribsCount++ ; } } attribs._length = attribsCount ; return attribs ; }, /** * Checks is the element attributes have a perfect match with the style * attributes. */ _CheckAttributesMatch : function( element, styleAttribs ) { // Loop through all specified attributes. The same number of // attributes must be found and their values must match to // declare them as equal. var elementAttrbs = element.attributes ; var matchCount = 0 ; for ( var i = 0 ; i < elementAttrbs.length ; i++ ) { var att = elementAttrbs[i] ; if ( att.specified ) { var attName = att.nodeName.toLowerCase() ; var styleAtt = styleAttribs[ attName ] ; // The attribute is not defined in the style. if ( !styleAtt ) break ; // The values are different. if ( styleAtt != FCKDomTools.GetAttributeValue( element, att ).toLowerCase() ) break ; matchCount++ ; } } return ( matchCount == styleAttribs._length ) ; } } ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKToolbarSpecialCombo Class: This is a "abstract" base class to be used * by the special combo toolbar elements like font name, font size, paragraph format, etc... * * The following properties and methods must be implemented when inheriting from * this class: * - Property: CommandName [ The command name to be executed ] * - Method: GetLabel() [ Returns the label ] * - CreateItems( targetSpecialCombo ) [ Add all items in the special combo ] */ var FCKToolbarSpecialCombo = function() { this.SourceView = false ; this.ContextSensitive = true ; this.FieldWidth = null ; this.PanelWidth = null ; this.PanelMaxHeight = null ; //this._LastValue = null ; } FCKToolbarSpecialCombo.prototype.DefaultLabel = '' ; function FCKToolbarSpecialCombo_OnSelect( itemId, item ) { FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( this.CommandName ).Execute( itemId, item ) ; } FCKToolbarSpecialCombo.prototype.Create = function( targetElement ) { this._Combo = new FCKSpecialCombo( this.GetLabel(), this.FieldWidth, this.PanelWidth, this.PanelMaxHeight, FCKBrowserInfo.IsIE ? window : FCKTools.GetElementWindow( targetElement ).parent ) ; /* this._Combo.FieldWidth = this.FieldWidth != null ? this.FieldWidth : 100 ; this._Combo.PanelWidth = this.PanelWidth != null ? this.PanelWidth : 150 ; this._Combo.PanelMaxHeight = this.PanelMaxHeight != null ? this.PanelMaxHeight : 150 ; */ //this._Combo.Command.Name = this.Command.Name; // this._Combo.Label = this.Label ; this._Combo.Tooltip = this.Tooltip ; this._Combo.Style = this.Style ; this.CreateItems( this._Combo ) ; this._Combo.Create( targetElement ) ; this._Combo.CommandName = this.CommandName ; this._Combo.OnSelect = FCKToolbarSpecialCombo_OnSelect ; } function FCKToolbarSpecialCombo_RefreshActiveItems( combo, value ) { combo.DeselectAll() ; combo.SelectItem( value ) ; combo.SetLabelById( value ) ; } FCKToolbarSpecialCombo.prototype.RefreshState = function() { // Gets the actual state. var eState ; // if ( FCK.EditMode == FCK_EDITMODE_SOURCE && ! this.SourceView ) // eState = FCK_TRISTATE_DISABLED ; // else // { var sValue = FCK.ToolbarSet.CurrentInstance.Commands.GetCommand( this.CommandName ).GetState() ; // FCKDebug.Output( 'RefreshState of Special Combo "' + this.TypeOf + '" - State: ' + sValue ) ; if ( sValue != FCK_TRISTATE_DISABLED ) { eState = FCK_TRISTATE_ON ; if ( this.RefreshActiveItems ) this.RefreshActiveItems( this._Combo, sValue ) ; else { if ( this._LastValue !== sValue) { this._LastValue = sValue ; if ( !sValue || sValue.length == 0 ) { this._Combo.DeselectAll() ; this._Combo.SetLabel( this.DefaultLabel ) ; } else FCKToolbarSpecialCombo_RefreshActiveItems( this._Combo, sValue ) ; } } } else eState = FCK_TRISTATE_DISABLED ; // } // If there are no state changes then do nothing and return. if ( eState == this.State ) return ; if ( eState == FCK_TRISTATE_DISABLED ) { this._Combo.DeselectAll() ; this._Combo.SetLabel( '' ) ; } // Sets the actual state. this.State = eState ; // Updates the graphical state. this._Combo.SetEnabled( eState != FCK_TRISTATE_DISABLED ) ; } FCKToolbarSpecialCombo.prototype.Enable = function() { this.RefreshState() ; } FCKToolbarSpecialCombo.prototype.Disable = function() { this.State = FCK_TRISTATE_DISABLED ; this._Combo.DeselectAll() ; this._Combo.SetLabel( '' ) ; this._Combo.SetEnabled( false ) ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKToolbarBreak Class: breaks the toolbars. * It makes it possible to force the toolbar to break to a new line. * This is the Gecko specific implementation. */ var FCKToolbarBreak = function() {} FCKToolbarBreak.prototype.Create = function( targetElement ) { var oBreakDiv = targetElement.ownerDocument.createElement( 'div' ) ; oBreakDiv.style.clear = oBreakDiv.style.cssFloat = FCKLang.Dir == 'rtl' ? 'right' : 'left' ; targetElement.appendChild( oBreakDiv ) ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Class for working with a selection range, much like the W3C DOM Range, but * it is not intended to be an implementation of the W3C interface. * (IE Implementation) */ FCKDomRange.prototype.MoveToSelection = function() { this.Release( true ) ; this._Range = new FCKW3CRange( this.Window.document ) ; var oSel = this.Window.document.selection ; if ( oSel.type != 'Control' ) { var eMarkerStart = this._GetSelectionMarkerTag( true ) ; var eMarkerEnd = this._GetSelectionMarkerTag( false ) ; if ( !eMarkerStart && !eMarkerEnd ) { this._Range.setStart( this.Window.document.body, 0 ) ; this._UpdateElementInfo() ; return ; } // Set the start boundary. this._Range.setStart( eMarkerStart.parentNode, FCKDomTools.GetIndexOf( eMarkerStart ) ) ; eMarkerStart.parentNode.removeChild( eMarkerStart ) ; // Set the end boundary. this._Range.setEnd( eMarkerEnd.parentNode, FCKDomTools.GetIndexOf( eMarkerEnd ) ) ; eMarkerEnd.parentNode.removeChild( eMarkerEnd ) ; this._UpdateElementInfo() ; } else { var oControl = oSel.createRange().item(0) ; if ( oControl ) { this._Range.setStartBefore( oControl ) ; this._Range.setEndAfter( oControl ) ; this._UpdateElementInfo() ; } } } FCKDomRange.prototype.Select = function( forceExpand ) { if ( this._Range ) this.SelectBookmark( this.CreateBookmark( true ), forceExpand ) ; } // Not compatible with bookmark created with CreateBookmark2. // The bookmark nodes will be deleted from the document. FCKDomRange.prototype.SelectBookmark = function( bookmark, forceExpand ) { var bIsCollapsed = this.CheckIsCollapsed() ; var bIsStartMakerAlone ; var dummySpan ; // Create marker tags for the start and end boundaries. var eStartMarker = this.GetBookmarkNode( bookmark, true ) ; if ( !eStartMarker ) return ; var eEndMarker ; if ( !bIsCollapsed ) eEndMarker = this.GetBookmarkNode( bookmark, false ) ; // Create the main range which will be used for the selection. var oIERange = this.Window.document.body.createTextRange() ; // Position the range at the start boundary. oIERange.moveToElementText( eStartMarker ) ; oIERange.moveStart( 'character', 1 ) ; if ( eEndMarker ) { // Create a tool range for the end. var oIERangeEnd = this.Window.document.body.createTextRange() ; // Position the tool range at the end. oIERangeEnd.moveToElementText( eEndMarker ) ; // Move the end boundary of the main range to match the tool range. oIERange.setEndPoint( 'EndToEnd', oIERangeEnd ) ; oIERange.moveEnd( 'character', -1 ) ; } else { bIsStartMakerAlone = ( forceExpand || !eStartMarker.previousSibling || eStartMarker.previousSibling.nodeName.toLowerCase() == 'br' ) && !eStartMarker.nextSibing ; // Append a temporary <span>&#65279;</span> before the selection. // This is needed to avoid IE destroying selections inside empty // inline elements, like <b></b> (#253). // It is also needed when placing the selection right after an inline // element to avoid the selection moving inside of it. dummySpan = this.Window.document.createElement( 'span' ) ; dummySpan.innerHTML = '&#65279;' ; // Zero Width No-Break Space (U+FEFF). See #1359. eStartMarker.parentNode.insertBefore( dummySpan, eStartMarker ) ; if ( bIsStartMakerAlone ) { // To expand empty blocks or line spaces after <br>, we need // instead to have any char, which will be later deleted using the // selection. // \ufeff = Zero Width No-Break Space (U+FEFF). See #1359. eStartMarker.parentNode.insertBefore( this.Window.document.createTextNode( '\ufeff' ), eStartMarker ) ; } } if ( !this._Range ) this._Range = this.CreateRange() ; // Remove the markers (reset the position, because of the changes in the DOM tree). this._Range.setStartBefore( eStartMarker ) ; eStartMarker.parentNode.removeChild( eStartMarker ) ; if ( bIsCollapsed ) { if ( bIsStartMakerAlone ) { // Move the selection start to include the temporary &#65279;. oIERange.moveStart( 'character', -1 ) ; oIERange.select() ; // Remove our temporary stuff. this.Window.document.selection.clear() ; } else oIERange.select() ; FCKDomTools.RemoveNode( dummySpan ) ; } else { this._Range.setEndBefore( eEndMarker ) ; eEndMarker.parentNode.removeChild( eEndMarker ) ; oIERange.select() ; } } FCKDomRange.prototype._GetSelectionMarkerTag = function( toStart ) { var doc = this.Window.document ; var selection = doc.selection ; // Get a range for the start boundary. var oRange ; // IE may throw an "unspecified error" on some cases (it happened when // loading _samples/default.html), so try/catch. try { oRange = selection.createRange() ; } catch (e) { return null ; } // IE might take the range object to the main window instead of inside the editor iframe window. // This is known to happen when the editor window has not been selected before (See #933). // We need to avoid that. if ( oRange.parentElement().document != doc ) return null ; oRange.collapse( toStart === true ) ; // Paste a marker element at the collapsed range and get it from the DOM. var sMarkerId = 'fck_dom_range_temp_' + (new Date()).valueOf() + '_' + Math.floor(Math.random()*1000) ; oRange.pasteHTML( '<span id="' + sMarkerId + '"></span>' ) ; return doc.getElementById( sMarkerId ) ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This class partially implements the W3C DOM Range for browser that don't * support the standards (like IE): * http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges.html */ var FCKW3CRange = function( parentDocument ) { this._Document = parentDocument ; this.startContainer = null ; this.startOffset = null ; this.endContainer = null ; this.endOffset = null ; this.collapsed = true ; } FCKW3CRange.CreateRange = function( parentDocument ) { // We could opt to use the Range implementation of the browsers. The problem // is that every browser have different bugs on their implementations, // mostly related to different interpretations of the W3C specifications. // So, for now, let's use our implementation and pray for browsers fixings // soon. Otherwise will go crazy on trying to find out workarounds. /* // Get the browser implementation of the range, if available. if ( parentDocument.createRange ) { var range = parentDocument.createRange() ; if ( typeof( range.startContainer ) != 'undefined' ) return range ; } */ return new FCKW3CRange( parentDocument ) ; } FCKW3CRange.CreateFromRange = function( parentDocument, sourceRange ) { var range = FCKW3CRange.CreateRange( parentDocument ) ; range.setStart( sourceRange.startContainer, sourceRange.startOffset ) ; range.setEnd( sourceRange.endContainer, sourceRange.endOffset ) ; return range ; } FCKW3CRange.prototype = { _UpdateCollapsed : function() { this.collapsed = ( this.startContainer == this.endContainer && this.startOffset == this.endOffset ) ; }, // W3C requires a check for the new position. If it is after the end // boundary, the range should be collapsed to the new start. It seams we // will not need this check for our use of this class so we can ignore it for now. setStart : function( refNode, offset ) { this.startContainer = refNode ; this.startOffset = offset ; if ( !this.endContainer ) { this.endContainer = refNode ; this.endOffset = offset ; } this._UpdateCollapsed() ; }, // W3C requires a check for the new position. If it is before the start // boundary, the range should be collapsed to the new end. It seams we // will not need this check for our use of this class so we can ignore it for now. setEnd : function( refNode, offset ) { this.endContainer = refNode ; this.endOffset = offset ; if ( !this.startContainer ) { this.startContainer = refNode ; this.startOffset = offset ; } this._UpdateCollapsed() ; }, setStartAfter : function( refNode ) { this.setStart( refNode.parentNode, FCKDomTools.GetIndexOf( refNode ) + 1 ) ; }, setStartBefore : function( refNode ) { this.setStart( refNode.parentNode, FCKDomTools.GetIndexOf( refNode ) ) ; }, setEndAfter : function( refNode ) { this.setEnd( refNode.parentNode, FCKDomTools.GetIndexOf( refNode ) + 1 ) ; }, setEndBefore : function( refNode ) { this.setEnd( refNode.parentNode, FCKDomTools.GetIndexOf( refNode ) ) ; }, collapse : function( toStart ) { if ( toStart ) { this.endContainer = this.startContainer ; this.endOffset = this.startOffset ; } else { this.startContainer = this.endContainer ; this.startOffset = this.endOffset ; } this.collapsed = true ; }, selectNodeContents : function( refNode ) { this.setStart( refNode, 0 ) ; this.setEnd( refNode, refNode.nodeType == 3 ? refNode.data.length : refNode.childNodes.length ) ; }, insertNode : function( newNode ) { var startContainer = this.startContainer ; var startOffset = this.startOffset ; // If we are in a text node. if ( startContainer.nodeType == 3 ) { startContainer.splitText( startOffset ) ; // Check if it is necessary to update the end boundary. if ( startContainer == this.endContainer ) this.setEnd( startContainer.nextSibling, this.endOffset - this.startOffset ) ; // Insert the new node it after the text node. FCKDomTools.InsertAfterNode( startContainer, newNode ) ; return ; } else { // Simply insert the new node before the current start node. startContainer.insertBefore( newNode, startContainer.childNodes[ startOffset ] || null ) ; // Check if it is necessary to update the end boundary. if ( startContainer == this.endContainer ) { this.endOffset++ ; this.collapsed = false ; } } }, deleteContents : function() { if ( this.collapsed ) return ; this._ExecContentsAction( 0 ) ; }, extractContents : function() { var docFrag = new FCKDocumentFragment( this._Document ) ; if ( !this.collapsed ) this._ExecContentsAction( 1, docFrag ) ; return docFrag ; }, // The selection may be lost when cloning (due to the splitText() call). cloneContents : function() { var docFrag = new FCKDocumentFragment( this._Document ) ; if ( !this.collapsed ) this._ExecContentsAction( 2, docFrag ) ; return docFrag ; }, _ExecContentsAction : function( action, docFrag ) { var startNode = this.startContainer ; var endNode = this.endContainer ; var startOffset = this.startOffset ; var endOffset = this.endOffset ; var removeStartNode = false ; var removeEndNode = false ; // Check the start and end nodes and make the necessary removals or changes. // Start from the end, otherwise DOM mutations (splitText) made in the // start boundary may interfere on the results here. // For text containers, we must simply split the node and point to the // second part. The removal will be handled by the rest of the code . if ( endNode.nodeType == 3 ) endNode = endNode.splitText( endOffset ) ; else { // If the end container has children and the offset is pointing // to a child, then we should start from it. if ( endNode.childNodes.length > 0 ) { // If the offset points after the last node. if ( endOffset > endNode.childNodes.length - 1 ) { // Let's create a temporary node and mark it for removal. endNode = FCKDomTools.InsertAfterNode( endNode.lastChild, this._Document.createTextNode('') ) ; removeEndNode = true ; } else endNode = endNode.childNodes[ endOffset ] ; } } // For text containers, we must simply split the node. The removal will // be handled by the rest of the code . if ( startNode.nodeType == 3 ) { startNode.splitText( startOffset ) ; // In cases the end node is the same as the start node, the above // splitting will also split the end, so me must move the end to // the second part of the split. if ( startNode == endNode ) endNode = startNode.nextSibling ; } else { // If the start container has children and the offset is pointing // to a child, then we should start from its previous sibling. // If the offset points to the first node, we don't have a // sibling, so let's use the first one, but mark it for removal. if ( startOffset == 0 ) { // Let's create a temporary node and mark it for removal. startNode = startNode.insertBefore( this._Document.createTextNode(''), startNode.firstChild ) ; removeStartNode = true ; } else if ( startOffset > startNode.childNodes.length - 1 ) { // Let's create a temporary node and mark it for removal. startNode = startNode.appendChild( this._Document.createTextNode('') ) ; removeStartNode = true ; } else startNode = startNode.childNodes[ startOffset ].previousSibling ; } // Get the parent nodes tree for the start and end boundaries. var startParents = FCKDomTools.GetParents( startNode ) ; var endParents = FCKDomTools.GetParents( endNode ) ; // Compare them, to find the top most siblings. var i, topStart, topEnd ; for ( i = 0 ; i < startParents.length ; i++ ) { topStart = startParents[i] ; topEnd = endParents[i] ; // The compared nodes will match until we find the top most // siblings (different nodes that have the same parent). // "i" will hold the index in the parents array for the top // most element. if ( topStart != topEnd ) break ; } var clone, levelStartNode, levelClone, currentNode, currentSibling ; if ( docFrag ) clone = docFrag.RootNode ; // Remove all successive sibling nodes for every node in the // startParents tree. for ( var j = i ; j < startParents.length ; j++ ) { levelStartNode = startParents[j] ; // For Extract and Clone, we must clone this level. if ( clone && levelStartNode != startNode ) // action = 0 = Delete levelClone = clone.appendChild( levelStartNode.cloneNode( levelStartNode == startNode ) ) ; currentNode = levelStartNode.nextSibling ; while( currentNode ) { // Stop processing when the current node matches a node in the // endParents tree or if it is the endNode. if ( currentNode == endParents[j] || currentNode == endNode ) break ; // Cache the next sibling. currentSibling = currentNode.nextSibling ; // If cloning, just clone it. if ( action == 2 ) // 2 = Clone clone.appendChild( currentNode.cloneNode( true ) ) ; else { // Both Delete and Extract will remove the node. currentNode.parentNode.removeChild( currentNode ) ; // When Extracting, move the removed node to the docFrag. if ( action == 1 ) // 1 = Extract clone.appendChild( currentNode ) ; } currentNode = currentSibling ; } if ( clone ) clone = levelClone ; } if ( docFrag ) clone = docFrag.RootNode ; // Remove all previous sibling nodes for every node in the // endParents tree. for ( var k = i ; k < endParents.length ; k++ ) { levelStartNode = endParents[k] ; // For Extract and Clone, we must clone this level. if ( action > 0 && levelStartNode != endNode ) // action = 0 = Delete levelClone = clone.appendChild( levelStartNode.cloneNode( levelStartNode == endNode ) ) ; // The processing of siblings may have already been done by the parent. if ( !startParents[k] || levelStartNode.parentNode != startParents[k].parentNode ) { currentNode = levelStartNode.previousSibling ; while( currentNode ) { // Stop processing when the current node matches a node in the // startParents tree or if it is the startNode. if ( currentNode == startParents[k] || currentNode == startNode ) break ; // Cache the next sibling. currentSibling = currentNode.previousSibling ; // If cloning, just clone it. if ( action == 2 ) // 2 = Clone clone.insertBefore( currentNode.cloneNode( true ), clone.firstChild ) ; else { // Both Delete and Extract will remove the node. currentNode.parentNode.removeChild( currentNode ) ; // When Extracting, mode the removed node to the docFrag. if ( action == 1 ) // 1 = Extract clone.insertBefore( currentNode, clone.firstChild ) ; } currentNode = currentSibling ; } } if ( clone ) clone = levelClone ; } if ( action == 2 ) // 2 = Clone. { // No changes in the DOM should be done, so fix the split text (if any). var startTextNode = this.startContainer ; if ( startTextNode.nodeType == 3 ) { startTextNode.data += startTextNode.nextSibling.data ; startTextNode.parentNode.removeChild( startTextNode.nextSibling ) ; } var endTextNode = this.endContainer ; if ( endTextNode.nodeType == 3 && endTextNode.nextSibling ) { endTextNode.data += endTextNode.nextSibling.data ; endTextNode.parentNode.removeChild( endTextNode.nextSibling ) ; } } else { // Collapse the range. // If a node has been partially selected, collapse the range between // topStart and topEnd. Otherwise, simply collapse it to the start. (W3C specs). if ( topStart && topEnd && ( startNode.parentNode != topStart.parentNode || endNode.parentNode != topEnd.parentNode ) ) { var endIndex = FCKDomTools.GetIndexOf( topEnd ) ; // If the start node is to be removed, we must correct the // index to reflect the removal. if ( removeStartNode && topEnd.parentNode == startNode.parentNode ) endIndex-- ; this.setStart( topEnd.parentNode, endIndex ) ; } // Collapse it to the start. this.collapse( true ) ; } // Cleanup any marked node. if( removeStartNode ) startNode.parentNode.removeChild( startNode ) ; if( removeEndNode && endNode.parentNode ) endNode.parentNode.removeChild( endNode ) ; }, cloneRange : function() { return FCKW3CRange.CreateFromRange( this._Document, this ) ; } } ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKXml Class: class to load and manipulate XML files. */ FCKXml.prototype = { LoadUrl : function( urlToCall ) { this.Error = false ; var oXml ; var oXmlHttp = FCKTools.CreateXmlObject( 'XmlHttp' ) ; oXmlHttp.open( 'GET', urlToCall, false ) ; oXmlHttp.send( null ) ; if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 || ( oXmlHttp.status == 0 && oXmlHttp.readyState == 4 ) ) { oXml = oXmlHttp.responseXML ; // #1426: Fallback if responseXML isn't set for some // reason (e.g. improperly configured web server) if ( !oXml ) oXml = (new DOMParser()).parseFromString( oXmlHttp.responseText, 'text/xml' ) ; } else oXml = null ; if ( oXml ) { // Try to access something on it. try { var test = oXml.firstChild ; } catch (e) { // If document.domain has been changed (#123), we'll have a security // error at this point. The workaround here is parsing the responseText: // http://alexander.kirk.at/2006/07/27/firefox-15-xmlhttprequest-reqresponsexml-and-documentdomain/ oXml = (new DOMParser()).parseFromString( oXmlHttp.responseText, 'text/xml' ) ; } } if ( !oXml || !oXml.firstChild ) { this.Error = true ; if ( window.confirm( 'Error loading "' + urlToCall + '" (HTTP Status: ' + oXmlHttp.status + ').\r\nDo you want to see the server response dump?' ) ) alert( oXmlHttp.responseText ) ; } this.DOMDocument = oXml ; }, SelectNodes : function( xpath, contextNode ) { if ( this.Error ) return new Array() ; var aNodeArray = new Array(); var xPathResult = this.DOMDocument.evaluate( xpath, contextNode ? contextNode : this.DOMDocument, this.DOMDocument.createNSResolver(this.DOMDocument.documentElement), XPathResult.ORDERED_NODE_ITERATOR_TYPE, null) ; if ( xPathResult ) { var oNode = xPathResult.iterateNext() ; while( oNode ) { aNodeArray[aNodeArray.length] = oNode ; oNode = xPathResult.iterateNext(); } } return aNodeArray ; }, SelectSingleNode : function( xpath, contextNode ) { if ( this.Error ) return null ; var xPathResult = this.DOMDocument.evaluate( xpath, contextNode ? contextNode : this.DOMDocument, this.DOMDocument.createNSResolver(this.DOMDocument.documentElement), 9, null); if ( xPathResult && xPathResult.singleNodeValue ) return xPathResult.singleNodeValue ; else return null ; } } ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKIECleanup Class: a generic class used as a tool to remove IE leaks. */ var FCKIECleanup = function( attachWindow ) { // If the attachWindow already have a cleanup object, just use that one. if ( attachWindow._FCKCleanupObj ) this.Items = attachWindow._FCKCleanupObj.Items ; else { this.Items = new Array() ; attachWindow._FCKCleanupObj = this ; FCKTools.AddEventListenerEx( attachWindow, 'unload', FCKIECleanup_Cleanup ) ; // attachWindow.attachEvent( 'onunload', FCKIECleanup_Cleanup ) ; } } FCKIECleanup.prototype.AddItem = function( dirtyItem, cleanupFunction ) { this.Items.push( [ dirtyItem, cleanupFunction ] ) ; } function FCKIECleanup_Cleanup() { if ( !this._FCKCleanupObj || ( FCKConfig.MsWebBrowserControlCompat && !window.FCKUnloadFlag ) ) return ; var aItems = this._FCKCleanupObj.Items ; while ( aItems.length > 0 ) { // It is important to remove from the end to the beginning (pop()), // because of the order things get created in the editor. In the code, // elements in deeper position in the DOM are placed at the end of the // cleanup function, so we must cleanup then first, otherwise IE could // throw some crazy memory errors (IE bug). var oItem = aItems.pop() ; if ( oItem ) oItem[1].call( oItem[0] ) ; } this._FCKCleanupObj = null ; if ( CollectGarbage ) CollectGarbage() ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Manages the DOM ascensors element list of a specific DOM node * (limited to body, inclusive). */ var FCKElementPath = function( lastNode ) { var eBlock = null ; var eBlockLimit = null ; var aElements = new Array() ; var e = lastNode ; while ( e ) { if ( e.nodeType == 1 ) { if ( !this.LastElement ) this.LastElement = e ; var sElementName = e.nodeName.toLowerCase() ; if ( FCKBrowserInfo.IsIE && e.scopeName != 'HTML' ) sElementName = e.scopeName.toLowerCase() + ':' + sElementName ; if ( !eBlockLimit ) { if ( !eBlock && FCKListsLib.PathBlockElements[ sElementName ] != null ) eBlock = e ; if ( FCKListsLib.PathBlockLimitElements[ sElementName ] != null ) { // DIV is considered the Block, if no block is available (#525) // and if it doesn't contain other blocks. if ( !eBlock && sElementName == 'div' && !FCKElementPath._CheckHasBlock( e ) ) eBlock = e ; else eBlockLimit = e ; } } aElements.push( e ) ; if ( sElementName == 'body' ) break ; } e = e.parentNode ; } this.Block = eBlock ; this.BlockLimit = eBlockLimit ; this.Elements = aElements ; } /** * Check if an element contains any block element. */ FCKElementPath._CheckHasBlock = function( element ) { var childNodes = element.childNodes ; for ( var i = 0, count = childNodes.length ; i < count ; i++ ) { var child = childNodes[i] ; if ( child.nodeType == 1 && FCKListsLib.BlockElements[ child.nodeName.toLowerCase() ] ) return true ; } return false ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This is a generic Document Fragment object. It is not intended to provide * the W3C implementation, but is a way to fix the missing of a real Document * Fragment in IE (where document.createDocumentFragment() returns a normal * document instead), giving a standard interface for it. * (IE Implementation) */ var FCKDocumentFragment = function( parentDocument, baseDocFrag ) { this.RootNode = baseDocFrag || parentDocument.createDocumentFragment() ; } FCKDocumentFragment.prototype = { // Append the contents of this Document Fragment to another element. AppendTo : function( targetNode ) { targetNode.appendChild( this.RootNode ) ; }, AppendHtml : function( html ) { var eTmpDiv = this.RootNode.ownerDocument.createElement( 'div' ) ; eTmpDiv.innerHTML = html ; FCKDomTools.MoveChildren( eTmpDiv, this.RootNode ) ; }, InsertAfterNode : function( existingNode ) { FCKDomTools.InsertAfterNode( existingNode, this.RootNode ) ; } }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKToolbarPanelButton Class: Handles the Fonts combo selector. */ var FCKToolbarFontsCombo = function( tooltip, style ) { this.CommandName = 'FontName' ; this.Label = this.GetLabel() ; this.Tooltip = tooltip ? tooltip : this.Label ; this.Style = style ? style : FCK_TOOLBARITEM_ICONTEXT ; this.DefaultLabel = FCKConfig.DefaultFontLabel || '' ; } // Inherit from FCKToolbarSpecialCombo. FCKToolbarFontsCombo.prototype = new FCKToolbarFontFormatCombo( false ) ; FCKToolbarFontsCombo.prototype.GetLabel = function() { return FCKLang.Font ; } FCKToolbarFontsCombo.prototype.GetStyles = function() { var baseStyle = FCKStyles.GetStyle( '_FCK_FontFace' ) ; if ( !baseStyle ) { alert( "The FCKConfig.CoreStyles['Size'] setting was not found. Please check the fckconfig.js file" ) ; return {} ; } var styles = {} ; var fonts = FCKConfig.FontNames.split(';') ; for ( var i = 0 ; i < fonts.length ; i++ ) { var fontParts = fonts[i].split('/') ; var font = fontParts[0] ; var caption = fontParts[1] || font ; var style = FCKTools.CloneObject( baseStyle ) ; style.SetVariable( 'Font', font ) ; style.Label = caption ; styles[ caption ] = style ; } return styles ; } FCKToolbarFontsCombo.prototype.RefreshActiveItems = FCKToolbarStyleCombo.prototype.RefreshActiveItems ; FCKToolbarFontsCombo.prototype.StyleCombo_OnBeforeClick = function( targetSpecialCombo ) { // Clear the current selection. targetSpecialCombo.DeselectAll() ; var startElement = FCKSelection.GetBoundaryParentElement( true ) ; if ( startElement ) { var path = new FCKElementPath( startElement ) ; for ( var i in targetSpecialCombo.Items ) { var item = targetSpecialCombo.Items[i] ; var style = item.Style ; if ( style.CheckActive( path ) ) { targetSpecialCombo.SelectItem( item ) ; return ; } } } }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKIcon Class: renders an icon from a single image, a strip or even a * spacer. */ var FCKIcon = function( iconPathOrStripInfoArray ) { var sTypeOf = iconPathOrStripInfoArray ? typeof( iconPathOrStripInfoArray ) : 'undefined' ; switch ( sTypeOf ) { case 'number' : this.Path = FCKConfig.SkinPath + 'fck_strip.gif' ; this.Size = 16 ; this.Position = iconPathOrStripInfoArray ; break ; case 'undefined' : this.Path = FCK_SPACER_PATH ; break ; case 'string' : this.Path = iconPathOrStripInfoArray ; break ; default : // It is an array in the format [ StripFilePath, IconSize, IconPosition ] this.Path = iconPathOrStripInfoArray[0] ; this.Size = iconPathOrStripInfoArray[1] ; this.Position = iconPathOrStripInfoArray[2] ; } } FCKIcon.prototype.CreateIconElement = function( document ) { var eIcon, eIconImage ; if ( this.Position ) // It is using an icons strip image. { var sPos = '-' + ( ( this.Position - 1 ) * this.Size ) + 'px' ; if ( FCKBrowserInfo.IsIE ) { // <div class="TB_Button_Image"><img src="strip.gif" style="top:-16px"></div> eIcon = document.createElement( 'DIV' ) ; eIconImage = eIcon.appendChild( document.createElement( 'IMG' ) ) ; eIconImage.src = this.Path ; eIconImage.style.top = sPos ; } else { // <img class="TB_Button_Image" src="spacer.gif" style="background-position: 0px -16px;background-image: url(strip.gif);"> eIcon = document.createElement( 'IMG' ) ; eIcon.src = FCK_SPACER_PATH ; eIcon.style.backgroundPosition = '0px ' + sPos ; eIcon.style.backgroundImage = 'url("' + this.Path + '")' ; } } else // It is using a single icon image. { if ( FCKBrowserInfo.IsIE ) { // IE makes the button 1px higher if using the <img> directly, so we // are changing to the <div> system to clip the image correctly. eIcon = document.createElement( 'DIV' ) ; eIconImage = eIcon.appendChild( document.createElement( 'IMG' ) ) ; eIconImage.src = this.Path ? this.Path : FCK_SPACER_PATH ; } else { // This is not working well with IE. See notes above. // <img class="TB_Button_Image" src="smiley.gif"> eIcon = document.createElement( 'IMG' ) ; eIcon.src = this.Path ? this.Path : FCK_SPACER_PATH ; } } eIcon.className = 'TB_Button_Image' ; return eIcon ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Preload a list of images, firing an event when complete. */ var FCKImagePreloader = function() { this._Images = new Array() ; } FCKImagePreloader.prototype = { AddImages : function( images ) { if ( typeof( images ) == 'string' ) images = images.split( ';' ) ; this._Images = this._Images.concat( images ) ; }, Start : function() { var aImages = this._Images ; this._PreloadCount = aImages.length ; for ( var i = 0 ; i < aImages.length ; i++ ) { var eImg = document.createElement( 'img' ) ; FCKTools.AddEventListenerEx( eImg, 'load', _FCKImagePreloader_OnImage, this ) ; FCKTools.AddEventListenerEx( eImg, 'error', _FCKImagePreloader_OnImage, this ) ; eImg.src = aImages[i] ; _FCKImagePreloader_ImageCache.push( eImg ) ; } } }; // All preloaded images must be placed in a global array, otherwise the preload // magic will not happen. var _FCKImagePreloader_ImageCache = new Array() ; function _FCKImagePreloader_OnImage( ev, imagePreloader ) { if ( (--imagePreloader._PreloadCount) == 0 && imagePreloader.OnComplete ) imagePreloader.OnComplete() ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKToolbarButtonUI Class: interface representation of a toolbar button. */ var FCKToolbarButtonUI = function( name, label, tooltip, iconPathOrStripInfoArray, style, state ) { this.Name = name ; this.Label = label || name ; this.Tooltip = tooltip || this.Label ; this.Style = style || FCK_TOOLBARITEM_ONLYICON ; this.State = state || FCK_TRISTATE_OFF ; this.Icon = new FCKIcon( iconPathOrStripInfoArray ) ; if ( FCK.IECleanup ) FCK.IECleanup.AddItem( this, FCKToolbarButtonUI_Cleanup ) ; } FCKToolbarButtonUI.prototype._CreatePaddingElement = function( document ) { var oImg = document.createElement( 'IMG' ) ; oImg.className = 'TB_Button_Padding' ; oImg.src = FCK_SPACER_PATH ; return oImg ; } FCKToolbarButtonUI.prototype.Create = function( parentElement ) { var oDoc = FCKTools.GetElementDocument( parentElement ) ; // Create the Main Element. var oMainElement = this.MainElement = oDoc.createElement( 'DIV' ) ; oMainElement.title = this.Tooltip ; // The following will prevent the button from catching the focus. if ( FCKBrowserInfo.IsGecko ) oMainElement.onmousedown = FCKTools.CancelEvent ; FCKTools.AddEventListenerEx( oMainElement, 'mouseover', FCKToolbarButtonUI_OnMouseOver, this ) ; FCKTools.AddEventListenerEx( oMainElement, 'mouseout', FCKToolbarButtonUI_OnMouseOut, this ) ; FCKTools.AddEventListenerEx( oMainElement, 'click', FCKToolbarButtonUI_OnClick, this ) ; this.ChangeState( this.State, true ) ; if ( this.Style == FCK_TOOLBARITEM_ONLYICON && !this.ShowArrow ) { // <td><div class="TB_Button_On" title="Smiley">{Image}</div></td> oMainElement.appendChild( this.Icon.CreateIconElement( oDoc ) ) ; } else { // <td><div class="TB_Button_On" title="Smiley"><table cellpadding="0" cellspacing="0"><tr><td>{Image}</td><td nowrap>Toolbar Button</td><td><img class="TB_Button_Padding"></td></tr></table></div></td> // <td><div class="TB_Button_On" title="Smiley"><table cellpadding="0" cellspacing="0"><tr><td><img class="TB_Button_Padding"></td><td nowrap>Toolbar Button</td><td><img class="TB_Button_Padding"></td></tr></table></div></td> var oTable = oMainElement.appendChild( oDoc.createElement( 'TABLE' ) ) ; oTable.cellPadding = 0 ; oTable.cellSpacing = 0 ; var oRow = oTable.insertRow(-1) ; // The Image cell (icon or padding). var oCell = oRow.insertCell(-1) ; if ( this.Style == FCK_TOOLBARITEM_ONLYICON || this.Style == FCK_TOOLBARITEM_ICONTEXT ) oCell.appendChild( this.Icon.CreateIconElement( oDoc ) ) ; else oCell.appendChild( this._CreatePaddingElement( oDoc ) ) ; if ( this.Style == FCK_TOOLBARITEM_ONLYTEXT || this.Style == FCK_TOOLBARITEM_ICONTEXT ) { // The Text cell. oCell = oRow.insertCell(-1) ; oCell.className = 'TB_Button_Text' ; oCell.noWrap = true ; oCell.appendChild( oDoc.createTextNode( this.Label ) ) ; } if ( this.ShowArrow ) { if ( this.Style != FCK_TOOLBARITEM_ONLYICON ) { // A padding cell. oRow.insertCell(-1).appendChild( this._CreatePaddingElement( oDoc ) ) ; } oCell = oRow.insertCell(-1) ; var eImg = oCell.appendChild( oDoc.createElement( 'IMG' ) ) ; eImg.src = FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ; eImg.width = 5 ; eImg.height = 3 ; } // The last padding cell. oCell = oRow.insertCell(-1) ; oCell.appendChild( this._CreatePaddingElement( oDoc ) ) ; } parentElement.appendChild( oMainElement ) ; } FCKToolbarButtonUI.prototype.ChangeState = function( newState, force ) { if ( !force && this.State == newState ) return ; var e = this.MainElement ; // In IE it can happen when the page is reloaded that MainElement is null, so exit here if ( !e ) return ; switch ( parseInt( newState, 10 ) ) { case FCK_TRISTATE_OFF : e.className = 'TB_Button_Off' ; break ; case FCK_TRISTATE_ON : e.className = 'TB_Button_On' ; break ; case FCK_TRISTATE_DISABLED : e.className = 'TB_Button_Disabled' ; break ; } this.State = newState ; } function FCKToolbarButtonUI_OnMouseOver( ev, button ) { if ( button.State == FCK_TRISTATE_OFF ) this.className = 'TB_Button_Off_Over' ; else if ( button.State == FCK_TRISTATE_ON ) this.className = 'TB_Button_On_Over' ; } function FCKToolbarButtonUI_OnMouseOut( ev, button ) { if ( button.State == FCK_TRISTATE_OFF ) this.className = 'TB_Button_Off' ; else if ( button.State == FCK_TRISTATE_ON ) this.className = 'TB_Button_On' ; } function FCKToolbarButtonUI_OnClick( ev, button ) { if ( button.OnClick && button.State != FCK_TRISTATE_DISABLED ) button.OnClick( button ) ; } function FCKToolbarButtonUI_Cleanup() { // This one should not cause memory leak, but just for safety, let's clean // it up. this.MainElement = null ; } /* Sample outputs: This is the base structure. The variation is the image that is marked as {Image}: <td><div class="TB_Button_On" title="Smiley">{Image}</div></td> <td><div class="TB_Button_On" title="Smiley"><table cellpadding="0" cellspacing="0"><tr><td>{Image}</td><td nowrap>Toolbar Button</td><td><img class="TB_Button_Padding"></td></tr></table></div></td> <td><div class="TB_Button_On" title="Smiley"><table cellpadding="0" cellspacing="0"><tr><td><img class="TB_Button_Padding"></td><td nowrap>Toolbar Button</td><td><img class="TB_Button_Padding"></td></tr></table></div></td> These are samples of possible {Image} values: Strip - IE version: <div class="TB_Button_Image"><img src="strip.gif" style="top:-16px"></div> Strip : Firefox, Safari and Opera version <img class="TB_Button_Image" style="background-position: 0px -16px;background-image: url(strip.gif);"> No-Strip : Browser independent: <img class="TB_Button_Image" src="smiley.gif"> */
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKEditingArea Class: renders an editable area. */ /** * @constructor * @param {String} targetElement The element that will hold the editing area. Any child element present in the target will be deleted. */ var FCKEditingArea = function( targetElement ) { this.TargetElement = targetElement ; this.Mode = FCK_EDITMODE_WYSIWYG ; if ( FCK.IECleanup ) FCK.IECleanup.AddItem( this, FCKEditingArea_Cleanup ) ; } /** * @param {String} html The complete HTML for the page, including DOCTYPE and the <html> tag. */ FCKEditingArea.prototype.Start = function( html, secondCall ) { var eTargetElement = this.TargetElement ; var oTargetDocument = FCKTools.GetElementDocument( eTargetElement ) ; // Remove all child nodes from the target. while( eTargetElement.firstChild ) eTargetElement.removeChild( eTargetElement.firstChild ) ; if ( this.Mode == FCK_EDITMODE_WYSIWYG ) { // For FF, document.domain must be set only when different, otherwhise // we'll strangely have "Permission denied" issues. if ( FCK_IS_CUSTOM_DOMAIN ) html = '<script>document.domain="' + FCK_RUNTIME_DOMAIN + '";</script>' + html ; // IE has a bug with the <base> tag... it must have a </base> closer, // otherwise the all successive tags will be set as children nodes of the <base>. if ( FCKBrowserInfo.IsIE ) html = html.replace( /(<base[^>]*?)\s*\/?>(?!\s*<\/base>)/gi, '$1></base>' ) ; else if ( !secondCall ) { // Gecko moves some tags out of the body to the head, so we must use // innerHTML to set the body contents (SF BUG 1526154). // Extract the BODY contents from the html. var oMatchBefore = html.match( FCKRegexLib.BeforeBody ) ; var oMatchAfter = html.match( FCKRegexLib.AfterBody ) ; if ( oMatchBefore && oMatchAfter ) { var sBody = html.substr( oMatchBefore[1].length, html.length - oMatchBefore[1].length - oMatchAfter[1].length ) ; // This is the BODY tag contents. html = oMatchBefore[1] + // This is the HTML until the <body...> tag, inclusive. '&nbsp;' + oMatchAfter[1] ; // This is the HTML from the </body> tag, inclusive. // If nothing in the body, place a BOGUS tag so the cursor will appear. if ( FCKBrowserInfo.IsGecko && ( sBody.length == 0 || FCKRegexLib.EmptyParagraph.test( sBody ) ) ) sBody = '<br type="_moz">' ; this._BodyHTML = sBody ; } else this._BodyHTML = html ; // Invalid HTML input. } // Create the editing area IFRAME. var oIFrame = this.IFrame = oTargetDocument.createElement( 'iframe' ) ; // IE: Avoid JavaScript errors thrown by the editing are source (like tags events). // See #1055. var sOverrideError = '<script type="text/javascript" _fcktemp="true">window.onerror=function(){return true;};</script>' ; oIFrame.frameBorder = 0 ; oIFrame.style.width = oIFrame.style.height = '100%' ; if ( FCK_IS_CUSTOM_DOMAIN && FCKBrowserInfo.IsIE ) { window._FCKHtmlToLoad = html.replace( /<head>/i, '<head>' + sOverrideError ) ; oIFrame.src = 'javascript:void( (function(){' + 'document.open() ;' + 'document.domain="' + document.domain + '" ;' + 'document.write( window.parent._FCKHtmlToLoad );' + 'document.close() ;' + 'window.parent._FCKHtmlToLoad = null ;' + '})() )' ; } else if ( !FCKBrowserInfo.IsGecko ) { // Firefox will render the tables inside the body in Quirks mode if the // source of the iframe is set to javascript. see #515 oIFrame.src = 'javascript:void(0)' ; } // Append the new IFRAME to the target. For IE, it must be done after // setting the "src", to avoid the "secure/unsecure" message under HTTPS. eTargetElement.appendChild( oIFrame ) ; // Get the window and document objects used to interact with the newly created IFRAME. this.Window = oIFrame.contentWindow ; // IE: Avoid JavaScript errors thrown by the editing are source (like tags events). // TODO: This error handler is not being fired. // this.Window.onerror = function() { alert( 'Error!' ) ; return true ; } if ( !FCK_IS_CUSTOM_DOMAIN || !FCKBrowserInfo.IsIE ) { var oDoc = this.Window.document ; oDoc.open() ; oDoc.write( html.replace( /<head>/i, '<head>' + sOverrideError ) ) ; oDoc.close() ; } if ( FCKBrowserInfo.IsAIR ) FCKAdobeAIR.EditingArea_Start( oDoc, html ) ; // Firefox 1.0.x is buggy... ohh yes... so let's do it two times and it // will magically work. if ( FCKBrowserInfo.IsGecko10 && !secondCall ) { this.Start( html, true ) ; return ; } if ( oIFrame.readyState && oIFrame.readyState != 'completed' ) { var editArea = this ; // Using a IE alternative for DOMContentLoaded, similar to the // solution proposed at http://javascript.nwbox.com/IEContentLoaded/ setTimeout( function() { try { editArea.Window.document.documentElement.doScroll("left") ; } catch(e) { setTimeout( arguments.callee, 0 ) ; return ; } editArea.Window._FCKEditingArea = editArea ; FCKEditingArea_CompleteStart.call( editArea.Window ) ; }, 0 ) ; } else { this.Window._FCKEditingArea = this ; // FF 1.0.x is buggy... we must wait a lot to enable editing because // sometimes the content simply disappears, for example when pasting // "bla1!<img src='some_url'>!bla2" in the source and then switching // back to design. if ( FCKBrowserInfo.IsGecko10 ) this.Window.setTimeout( FCKEditingArea_CompleteStart, 500 ) ; else FCKEditingArea_CompleteStart.call( this.Window ) ; } } else { var eTextarea = this.Textarea = oTargetDocument.createElement( 'textarea' ) ; eTextarea.className = 'SourceField' ; eTextarea.dir = 'ltr' ; FCKDomTools.SetElementStyles( eTextarea, { width : '100%', height : '100%', border : 'none', resize : 'none', outline : 'none' } ) ; eTargetElement.appendChild( eTextarea ) ; eTextarea.value = html ; // Fire the "OnLoad" event. FCKTools.RunFunction( this.OnLoad ) ; } } // "this" here is FCKEditingArea.Window function FCKEditingArea_CompleteStart() { // On Firefox, the DOM takes a little to become available. So we must wait for it in a loop. if ( !this.document.body ) { this.setTimeout( FCKEditingArea_CompleteStart, 50 ) ; return ; } var oEditorArea = this._FCKEditingArea ; // Save this reference to be re-used later. oEditorArea.Document = oEditorArea.Window.document ; oEditorArea.MakeEditable() ; // Fire the "OnLoad" event. FCKTools.RunFunction( oEditorArea.OnLoad ) ; } FCKEditingArea.prototype.MakeEditable = function() { var oDoc = this.Document ; if ( FCKBrowserInfo.IsIE ) { // Kludge for #141 and #523 oDoc.body.disabled = true ; oDoc.body.contentEditable = true ; oDoc.body.removeAttribute( "disabled" ) ; /* The following commands don't throw errors, but have no effect. oDoc.execCommand( 'AutoDetect', false, false ) ; oDoc.execCommand( 'KeepSelection', false, true ) ; */ } else { try { // Disable Firefox 2 Spell Checker. oDoc.body.spellcheck = ( this.FFSpellChecker !== false ) ; if ( this._BodyHTML ) { oDoc.body.innerHTML = this._BodyHTML ; oDoc.body.offsetLeft ; // Don't remove, this is a hack to fix Opera 9.50, see #2264. this._BodyHTML = null ; } oDoc.designMode = 'on' ; // Tell Gecko (Firefox 1.5+) to enable or not live resizing of objects (by Alfonso Martinez) oDoc.execCommand( 'enableObjectResizing', false, !FCKConfig.DisableObjectResizing ) ; // Disable the standard table editing features of Firefox. oDoc.execCommand( 'enableInlineTableEditing', false, !FCKConfig.DisableFFTableHandles ) ; } catch (e) { // In Firefox if the iframe is initially hidden it can't be set to designMode and it raises an exception // So we set up a DOM Mutation event Listener on the HTML, as it will raise several events when the document is visible again FCKTools.AddEventListener( this.Window.frameElement, 'DOMAttrModified', FCKEditingArea_Document_AttributeNodeModified ) ; } } } // This function processes the notifications of the DOM Mutation event on the document // We use it to know that the document will be ready to be editable again (or we hope so) function FCKEditingArea_Document_AttributeNodeModified( evt ) { var editingArea = evt.currentTarget.contentWindow._FCKEditingArea ; // We want to run our function after the events no longer fire, so we can know that it's a stable situation if ( editingArea._timer ) window.clearTimeout( editingArea._timer ) ; editingArea._timer = FCKTools.SetTimeout( FCKEditingArea_MakeEditableByMutation, 1000, editingArea ) ; } // This function ideally should be called after the document is visible, it does clean up of the // mutation tracking and tries again to make the area editable. function FCKEditingArea_MakeEditableByMutation() { // Clean up delete this._timer ; // Now we don't want to keep on getting this event FCKTools.RemoveEventListener( this.Window.frameElement, 'DOMAttrModified', FCKEditingArea_Document_AttributeNodeModified ) ; // Let's try now to set the editing area editable // If it fails it will set up the Mutation Listener again automatically this.MakeEditable() ; } FCKEditingArea.prototype.Focus = function() { try { if ( this.Mode == FCK_EDITMODE_WYSIWYG ) { if ( FCKBrowserInfo.IsIE ) this._FocusIE() ; else this.Window.focus() ; } else { var oDoc = FCKTools.GetElementDocument( this.Textarea ) ; if ( (!oDoc.hasFocus || oDoc.hasFocus() ) && oDoc.activeElement == this.Textarea ) return ; this.Textarea.focus() ; } } catch(e) {} } FCKEditingArea.prototype._FocusIE = function() { // In IE it can happen that the document is in theory focused but the // active element is outside of it. this.Document.body.setActive() ; this.Window.focus() ; // Kludge for #141... yet more code to workaround IE bugs var range = this.Document.selection.createRange() ; var parentNode = range.parentElement() ; var parentTag = parentNode.nodeName.toLowerCase() ; // Only apply the fix when in a block, and the block is empty. if ( parentNode.childNodes.length > 0 || !( FCKListsLib.BlockElements[parentTag] || FCKListsLib.NonEmptyBlockElements[parentTag] ) ) { return ; } // Force the selection to happen, in this way we guarantee the focus will // be there. range = new FCKDomRange( this.Window ) ; range.MoveToElementEditStart( parentNode ) ; range.Select() ; } function FCKEditingArea_Cleanup() { if ( this.Document ) this.Document.body.innerHTML = "" ; this.TargetElement = null ; this.IFrame = null ; this.Document = null ; this.Textarea = null ; if ( this.Window ) { this.Window._FCKEditingArea = null ; this.Window = null ; } }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKToolbar Class: represents a toolbar in the toolbarset. It is a group of * toolbar items. */ var FCKToolbar = function() { this.Items = new Array() ; } FCKToolbar.prototype.AddItem = function( item ) { return this.Items[ this.Items.length ] = item ; } FCKToolbar.prototype.AddButton = function( name, label, tooltip, iconPathOrStripInfoArrayOrIndex, style, state ) { if ( typeof( iconPathOrStripInfoArrayOrIndex ) == 'number' ) iconPathOrStripInfoArrayOrIndex = [ this.DefaultIconsStrip, this.DefaultIconSize, iconPathOrStripInfoArrayOrIndex ] ; var oButton = new FCKToolbarButtonUI( name, label, tooltip, iconPathOrStripInfoArrayOrIndex, style, state ) ; oButton._FCKToolbar = this ; oButton.OnClick = FCKToolbar_OnItemClick ; return this.AddItem( oButton ) ; } function FCKToolbar_OnItemClick( item ) { var oToolbar = item._FCKToolbar ; if ( oToolbar.OnItemClick ) oToolbar.OnItemClick( oToolbar, item ) ; } FCKToolbar.prototype.AddSeparator = function() { this.AddItem( new FCKToolbarSeparator() ) ; } FCKToolbar.prototype.Create = function( parentElement ) { var oDoc = FCKTools.GetElementDocument( parentElement ) ; var e = oDoc.createElement( 'table' ) ; e.className = 'TB_Toolbar' ; e.style.styleFloat = e.style.cssFloat = ( FCKLang.Dir == 'ltr' ? 'left' : 'right' ) ; e.dir = FCKLang.Dir ; e.cellPadding = 0 ; e.cellSpacing = 0 ; var targetRow = e.insertRow(-1) ; // Insert the start cell. var eCell ; if ( !this.HideStart ) { eCell = targetRow.insertCell(-1) ; eCell.appendChild( oDoc.createElement( 'div' ) ).className = 'TB_Start' ; } for ( var i = 0 ; i < this.Items.length ; i++ ) { this.Items[i].Create( targetRow.insertCell(-1) ) ; } // Insert the ending cell. if ( !this.HideEnd ) { eCell = targetRow.insertCell(-1) ; eCell.appendChild( oDoc.createElement( 'div' ) ).className = 'TB_End' ; } parentElement.appendChild( e ) ; } var FCKToolbarSeparator = function() {} FCKToolbarSeparator.prototype.Create = function( parentElement ) { FCKTools.AppendElement( parentElement, 'div' ).className = 'TB_Separator' ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Class for working with a selection range, much like the W3C DOM Range, but * it is not intended to be an implementation of the W3C interface. */ var FCKDomRange = function( sourceWindow ) { this.Window = sourceWindow ; this._Cache = {} ; } FCKDomRange.prototype = { _UpdateElementInfo : function() { var innerRange = this._Range ; if ( !innerRange ) this.Release( true ) ; else { // For text nodes, the node itself is the StartNode. var eStart = innerRange.startContainer ; var oElementPath = new FCKElementPath( eStart ) ; this.StartNode = eStart.nodeType == 3 ? eStart : eStart.childNodes[ innerRange.startOffset ] ; this.StartContainer = eStart ; this.StartBlock = oElementPath.Block ; this.StartBlockLimit = oElementPath.BlockLimit ; if ( innerRange.collapsed ) { this.EndNode = this.StartNode ; this.EndContainer = this.StartContainer ; this.EndBlock = this.StartBlock ; this.EndBlockLimit = this.StartBlockLimit ; } else { var eEnd = innerRange.endContainer ; if ( eStart != eEnd ) oElementPath = new FCKElementPath( eEnd ) ; // The innerRange.endContainer[ innerRange.endOffset ] is not // usually part of the range, but the marker for the range end. So, // let's get the previous available node as the real end. var eEndNode = eEnd ; if ( innerRange.endOffset == 0 ) { while ( eEndNode && !eEndNode.previousSibling ) eEndNode = eEndNode.parentNode ; if ( eEndNode ) eEndNode = eEndNode.previousSibling ; } else if ( eEndNode.nodeType == 1 ) eEndNode = eEndNode.childNodes[ innerRange.endOffset - 1 ] ; this.EndNode = eEndNode ; this.EndContainer = eEnd ; this.EndBlock = oElementPath.Block ; this.EndBlockLimit = oElementPath.BlockLimit ; } } this._Cache = {} ; }, CreateRange : function() { return new FCKW3CRange( this.Window.document ) ; }, DeleteContents : function() { if ( this._Range ) { this._Range.deleteContents() ; this._UpdateElementInfo() ; } }, ExtractContents : function() { if ( this._Range ) { var docFrag = this._Range.extractContents() ; this._UpdateElementInfo() ; return docFrag ; } return null ; }, CheckIsCollapsed : function() { if ( this._Range ) return this._Range.collapsed ; return false ; }, Collapse : function( toStart ) { if ( this._Range ) this._Range.collapse( toStart ) ; this._UpdateElementInfo() ; }, Clone : function() { var oClone = FCKTools.CloneObject( this ) ; if ( this._Range ) oClone._Range = this._Range.cloneRange() ; return oClone ; }, MoveToNodeContents : function( targetNode ) { if ( !this._Range ) this._Range = this.CreateRange() ; this._Range.selectNodeContents( targetNode ) ; this._UpdateElementInfo() ; }, MoveToElementStart : function( targetElement ) { this.SetStart(targetElement,1) ; this.SetEnd(targetElement,1) ; }, // Moves to the first editing point inside a element. For example, in a // element tree like "<p><b><i></i></b> Text</p>", the start editing point // is "<p><b><i>^</i></b> Text</p>" (inside <i>). MoveToElementEditStart : function( targetElement ) { var editableElement ; while ( targetElement && targetElement.nodeType == 1 ) { if ( FCKDomTools.CheckIsEditable( targetElement ) ) editableElement = targetElement ; else if ( editableElement ) break ; // If we already found an editable element, stop the loop. targetElement = targetElement.firstChild ; } if ( editableElement ) this.MoveToElementStart( editableElement ) ; }, InsertNode : function( node ) { if ( this._Range ) this._Range.insertNode( node ) ; }, CheckIsEmpty : function() { if ( this.CheckIsCollapsed() ) return true ; // Inserts the contents of the range in a div tag. var eToolDiv = this.Window.document.createElement( 'div' ) ; this._Range.cloneContents().AppendTo( eToolDiv ) ; FCKDomTools.TrimNode( eToolDiv ) ; return ( eToolDiv.innerHTML.length == 0 ) ; }, /** * Checks if the start boundary of the current range is "visually" (like a * selection caret) at the beginning of the block. It means that some * things could be brefore the range, like spaces or empty inline elements, * but it would still be considered at the beginning of the block. */ CheckStartOfBlock : function() { var cache = this._Cache ; var bIsStartOfBlock = cache.IsStartOfBlock ; if ( bIsStartOfBlock != undefined ) return bIsStartOfBlock ; // Take the block reference. var block = this.StartBlock || this.StartBlockLimit ; var container = this._Range.startContainer ; var offset = this._Range.startOffset ; var currentNode ; if ( offset > 0 ) { // First, check the start container. If it is a text node, get the // substring of the node value before the range offset. if ( container.nodeType == 3 ) { var textValue = container.nodeValue.substr( 0, offset ).Trim() ; // If we have some text left in the container, we are not at // the end for the block. if ( textValue.length != 0 ) return cache.IsStartOfBlock = false ; } else currentNode = container.childNodes[ offset - 1 ] ; } // We'll not have a currentNode if the container was a text node, or // the offset is zero. if ( !currentNode ) currentNode = FCKDomTools.GetPreviousSourceNode( container, true, null, block ) ; while ( currentNode ) { switch ( currentNode.nodeType ) { case 1 : // It's not an inline element. if ( !FCKListsLib.InlineChildReqElements[ currentNode.nodeName.toLowerCase() ] ) return cache.IsStartOfBlock = false ; break ; case 3 : // It's a text node with real text. if ( currentNode.nodeValue.Trim().length > 0 ) return cache.IsStartOfBlock = false ; } currentNode = FCKDomTools.GetPreviousSourceNode( currentNode, false, null, block ) ; } return cache.IsStartOfBlock = true ; }, /** * Checks if the end boundary of the current range is "visually" (like a * selection caret) at the end of the block. It means that some things * could be after the range, like spaces, empty inline elements, or a * single <br>, but it would still be considered at the end of the block. */ CheckEndOfBlock : function( refreshSelection ) { var isEndOfBlock = this._Cache.IsEndOfBlock ; if ( isEndOfBlock != undefined ) return isEndOfBlock ; // Take the block reference. var block = this.EndBlock || this.EndBlockLimit ; var container = this._Range.endContainer ; var offset = this._Range.endOffset ; var currentNode ; // First, check the end container. If it is a text node, get the // substring of the node value after the range offset. if ( container.nodeType == 3 ) { var textValue = container.nodeValue ; if ( offset < textValue.length ) { textValue = textValue.substr( offset ) ; // If we have some text left in the container, we are not at // the end for the block. if ( textValue.Trim().length != 0 ) return this._Cache.IsEndOfBlock = false ; } } else currentNode = container.childNodes[ offset ] ; // We'll not have a currentNode if the container was a text node, of // the offset is out the container children limits (after it probably). if ( !currentNode ) currentNode = FCKDomTools.GetNextSourceNode( container, true, null, block ) ; var hadBr = false ; while ( currentNode ) { switch ( currentNode.nodeType ) { case 1 : var nodeName = currentNode.nodeName.toLowerCase() ; // It's an inline element. if ( FCKListsLib.InlineChildReqElements[ nodeName ] ) break ; // It is the first <br> found. if ( nodeName == 'br' && !hadBr ) { hadBr = true ; break ; } return this._Cache.IsEndOfBlock = false ; case 3 : // It's a text node with real text. if ( currentNode.nodeValue.Trim().length > 0 ) return this._Cache.IsEndOfBlock = false ; } currentNode = FCKDomTools.GetNextSourceNode( currentNode, false, null, block ) ; } if ( refreshSelection ) this.Select() ; return this._Cache.IsEndOfBlock = true ; }, // This is an "intrusive" way to create a bookmark. It includes <span> tags // in the range boundaries. The advantage of it is that it is possible to // handle DOM mutations when moving back to the bookmark. // Attention: the inclusion of nodes in the DOM is a design choice and // should not be changed as there are other points in the code that may be // using those nodes to perform operations. See GetBookmarkNode. // For performance, includeNodes=true if intended to SelectBookmark. CreateBookmark : function( includeNodes ) { // Create the bookmark info (random IDs). var oBookmark = { StartId : (new Date()).valueOf() + Math.floor(Math.random()*1000) + 'S', EndId : (new Date()).valueOf() + Math.floor(Math.random()*1000) + 'E' } ; var oDoc = this.Window.document ; var eStartSpan ; var eEndSpan ; var oClone ; // For collapsed ranges, add just the start marker. if ( !this.CheckIsCollapsed() ) { eEndSpan = oDoc.createElement( 'span' ) ; eEndSpan.style.display = 'none' ; eEndSpan.id = oBookmark.EndId ; eEndSpan.setAttribute( '_fck_bookmark', true ) ; // For IE, it must have something inside, otherwise it may be // removed during DOM operations. // if ( FCKBrowserInfo.IsIE ) eEndSpan.innerHTML = '&nbsp;' ; oClone = this.Clone() ; oClone.Collapse( false ) ; oClone.InsertNode( eEndSpan ) ; } eStartSpan = oDoc.createElement( 'span' ) ; eStartSpan.style.display = 'none' ; eStartSpan.id = oBookmark.StartId ; eStartSpan.setAttribute( '_fck_bookmark', true ) ; // For IE, it must have something inside, otherwise it may be removed // during DOM operations. // if ( FCKBrowserInfo.IsIE ) eStartSpan.innerHTML = '&nbsp;' ; oClone = this.Clone() ; oClone.Collapse( true ) ; oClone.InsertNode( eStartSpan ) ; if ( includeNodes ) { oBookmark.StartNode = eStartSpan ; oBookmark.EndNode = eEndSpan ; } // Update the range position. if ( eEndSpan ) { this.SetStart( eStartSpan, 4 ) ; this.SetEnd( eEndSpan, 3 ) ; } else this.MoveToPosition( eStartSpan, 4 ) ; return oBookmark ; }, // This one should be a part of a hypothetic "bookmark" object. GetBookmarkNode : function( bookmark, start ) { var doc = this.Window.document ; if ( start ) return bookmark.StartNode || doc.getElementById( bookmark.StartId ) ; else return bookmark.EndNode || doc.getElementById( bookmark.EndId ) ; }, MoveToBookmark : function( bookmark, preserveBookmark ) { var eStartSpan = this.GetBookmarkNode( bookmark, true ) ; var eEndSpan = this.GetBookmarkNode( bookmark, false ) ; this.SetStart( eStartSpan, 3 ) ; if ( !preserveBookmark ) FCKDomTools.RemoveNode( eStartSpan ) ; // If collapsed, the end span will not be available. if ( eEndSpan ) { this.SetEnd( eEndSpan, 3 ) ; if ( !preserveBookmark ) FCKDomTools.RemoveNode( eEndSpan ) ; } else this.Collapse( true ) ; this._UpdateElementInfo() ; }, // Non-intrusive bookmark algorithm CreateBookmark2 : function() { // If there is no range then get out of here. // It happens on initial load in Safari #962 and if the editor it's hidden also in Firefox if ( ! this._Range ) return { "Start" : 0, "End" : 0 } ; // First, we record down the offset values var bookmark = { "Start" : [ this._Range.startOffset ], "End" : [ this._Range.endOffset ] } ; // Since we're treating the document tree as normalized, we need to backtrack the text lengths // of previous text nodes into the offset value. var curStart = this._Range.startContainer.previousSibling ; var curEnd = this._Range.endContainer.previousSibling ; // Also note that the node that we use for "address base" would change during backtracking. var addrStart = this._Range.startContainer ; var addrEnd = this._Range.endContainer ; while ( curStart && addrStart.nodeType == 3 ) { bookmark.Start[0] += curStart.length ; addrStart = curStart ; curStart = curStart.previousSibling ; } while ( curEnd && addrEnd.nodeType == 3 ) { bookmark.End[0] += curEnd.length ; addrEnd = curEnd ; curEnd = curEnd.previousSibling ; } // If the object pointed to by the startOffset and endOffset are text nodes, we need // to backtrack and add in the text offset to the bookmark addresses. if ( addrStart.nodeType == 1 && addrStart.childNodes[bookmark.Start[0]] && addrStart.childNodes[bookmark.Start[0]].nodeType == 3 ) { var curNode = addrStart.childNodes[bookmark.Start[0]] ; var offset = 0 ; while ( curNode.previousSibling && curNode.previousSibling.nodeType == 3 ) { curNode = curNode.previousSibling ; offset += curNode.length ; } addrStart = curNode ; bookmark.Start[0] = offset ; } if ( addrEnd.nodeType == 1 && addrEnd.childNodes[bookmark.End[0]] && addrEnd.childNodes[bookmark.End[0]].nodeType == 3 ) { var curNode = addrEnd.childNodes[bookmark.End[0]] ; var offset = 0 ; while ( curNode.previousSibling && curNode.previousSibling.nodeType == 3 ) { curNode = curNode.previousSibling ; offset += curNode.length ; } addrEnd = curNode ; bookmark.End[0] = offset ; } // Then, we record down the precise position of the container nodes // by walking up the DOM tree and counting their childNode index bookmark.Start = FCKDomTools.GetNodeAddress( addrStart, true ).concat( bookmark.Start ) ; bookmark.End = FCKDomTools.GetNodeAddress( addrEnd, true ).concat( bookmark.End ) ; return bookmark; }, MoveToBookmark2 : function( bookmark ) { // Reverse the childNode counting algorithm in CreateBookmark2() var curStart = FCKDomTools.GetNodeFromAddress( this.Window.document, bookmark.Start.slice( 0, -1 ), true ) ; var curEnd = FCKDomTools.GetNodeFromAddress( this.Window.document, bookmark.End.slice( 0, -1 ), true ) ; // Generate the W3C Range object and update relevant data this.Release( true ) ; this._Range = new FCKW3CRange( this.Window.document ) ; var startOffset = bookmark.Start[ bookmark.Start.length - 1 ] ; var endOffset = bookmark.End[ bookmark.End.length - 1 ] ; while ( curStart.nodeType == 3 && startOffset > curStart.length ) { if ( ! curStart.nextSibling || curStart.nextSibling.nodeType != 3 ) break ; startOffset -= curStart.length ; curStart = curStart.nextSibling ; } while ( curEnd.nodeType == 3 && endOffset > curEnd.length ) { if ( ! curEnd.nextSibling || curEnd.nextSibling.nodeType != 3 ) break ; endOffset -= curEnd.length ; curEnd = curEnd.nextSibling ; } this._Range.setStart( curStart, startOffset ) ; this._Range.setEnd( curEnd, endOffset ) ; this._UpdateElementInfo() ; }, MoveToPosition : function( targetElement, position ) { this.SetStart( targetElement, position ) ; this.Collapse( true ) ; }, /* * Moves the position of the start boundary of the range to a specific position * relatively to a element. * @position: * 1 = After Start <target>^contents</target> * 2 = Before End <target>contents^</target> * 3 = Before Start ^<target>contents</target> * 4 = After End <target>contents</target>^ */ SetStart : function( targetElement, position, noInfoUpdate ) { var oRange = this._Range ; if ( !oRange ) oRange = this._Range = this.CreateRange() ; switch( position ) { case 1 : // After Start <target>^contents</target> oRange.setStart( targetElement, 0 ) ; break ; case 2 : // Before End <target>contents^</target> oRange.setStart( targetElement, targetElement.childNodes.length ) ; break ; case 3 : // Before Start ^<target>contents</target> oRange.setStartBefore( targetElement ) ; break ; case 4 : // After End <target>contents</target>^ oRange.setStartAfter( targetElement ) ; } if ( !noInfoUpdate ) this._UpdateElementInfo() ; }, /* * Moves the position of the start boundary of the range to a specific position * relatively to a element. * @position: * 1 = After Start <target>^contents</target> * 2 = Before End <target>contents^</target> * 3 = Before Start ^<target>contents</target> * 4 = After End <target>contents</target>^ */ SetEnd : function( targetElement, position, noInfoUpdate ) { var oRange = this._Range ; if ( !oRange ) oRange = this._Range = this.CreateRange() ; switch( position ) { case 1 : // After Start <target>^contents</target> oRange.setEnd( targetElement, 0 ) ; break ; case 2 : // Before End <target>contents^</target> oRange.setEnd( targetElement, targetElement.childNodes.length ) ; break ; case 3 : // Before Start ^<target>contents</target> oRange.setEndBefore( targetElement ) ; break ; case 4 : // After End <target>contents</target>^ oRange.setEndAfter( targetElement ) ; } if ( !noInfoUpdate ) this._UpdateElementInfo() ; }, Expand : function( unit ) { var oNode, oSibling ; switch ( unit ) { // Expand the range to include all inline parent elements if we are // are in their boundary limits. // For example (where [ ] are the range limits): // Before => Some <b>[<i>Some sample text]</i></b>. // After => Some [<b><i>Some sample text</i></b>]. case 'inline_elements' : // Expand the start boundary. if ( this._Range.startOffset == 0 ) { oNode = this._Range.startContainer ; if ( oNode.nodeType != 1 ) oNode = oNode.previousSibling ? null : oNode.parentNode ; if ( oNode ) { while ( FCKListsLib.InlineNonEmptyElements[ oNode.nodeName.toLowerCase() ] ) { this._Range.setStartBefore( oNode ) ; if ( oNode != oNode.parentNode.firstChild ) break ; oNode = oNode.parentNode ; } } } // Expand the end boundary. oNode = this._Range.endContainer ; var offset = this._Range.endOffset ; if ( ( oNode.nodeType == 3 && offset >= oNode.nodeValue.length ) || ( oNode.nodeType == 1 && offset >= oNode.childNodes.length ) || ( oNode.nodeType != 1 && oNode.nodeType != 3 ) ) { if ( oNode.nodeType != 1 ) oNode = oNode.nextSibling ? null : oNode.parentNode ; if ( oNode ) { while ( FCKListsLib.InlineNonEmptyElements[ oNode.nodeName.toLowerCase() ] ) { this._Range.setEndAfter( oNode ) ; if ( oNode != oNode.parentNode.lastChild ) break ; oNode = oNode.parentNode ; } } } break ; case 'block_contents' : case 'list_contents' : var boundarySet = FCKListsLib.BlockBoundaries ; if ( unit == 'list_contents' || FCKConfig.EnterMode == 'br' ) boundarySet = FCKListsLib.ListBoundaries ; if ( this.StartBlock && FCKConfig.EnterMode != 'br' && unit == 'block_contents' ) this.SetStart( this.StartBlock, 1 ) ; else { // Get the start node for the current range. oNode = this._Range.startContainer ; // If it is an element, get the node right before of it (in source order). if ( oNode.nodeType == 1 ) { var lastNode = oNode.childNodes[ this._Range.startOffset ] ; if ( lastNode ) oNode = FCKDomTools.GetPreviousSourceNode( lastNode, true ) ; else oNode = oNode.lastChild || oNode ; } // We must look for the left boundary, relative to the range // start, which is limited by a block element. while ( oNode && ( oNode.nodeType != 1 || ( oNode != this.StartBlockLimit && !boundarySet[ oNode.nodeName.toLowerCase() ] ) ) ) { this._Range.setStartBefore( oNode ) ; oNode = oNode.previousSibling || oNode.parentNode ; } } if ( this.EndBlock && FCKConfig.EnterMode != 'br' && unit == 'block_contents' && this.EndBlock.nodeName.toLowerCase() != 'li' ) this.SetEnd( this.EndBlock, 2 ) ; else { oNode = this._Range.endContainer ; if ( oNode.nodeType == 1 ) oNode = oNode.childNodes[ this._Range.endOffset ] || oNode.lastChild ; // We must look for the right boundary, relative to the range // end, which is limited by a block element. while ( oNode && ( oNode.nodeType != 1 || ( oNode != this.StartBlockLimit && !boundarySet[ oNode.nodeName.toLowerCase() ] ) ) ) { this._Range.setEndAfter( oNode ) ; oNode = oNode.nextSibling || oNode.parentNode ; } // In EnterMode='br', the end <br> boundary element must // be included in the expanded range. if ( oNode && oNode.nodeName.toLowerCase() == 'br' ) this._Range.setEndAfter( oNode ) ; } this._UpdateElementInfo() ; } }, /** * Split the block element for the current range. It deletes the contents * of the range and splits the block in the collapsed position, resulting * in two sucessive blocks. The range is then positioned in the middle of * them. * * It returns and object with the following properties: * - PreviousBlock : a reference to the block element that preceeds * the range after the split. * - NextBlock : a reference to the block element that follows the * range after the split. * - WasStartOfBlock : a boolean indicating that the range was * originaly at the start of the block. * - WasEndOfBlock : a boolean indicating that the range was originaly * at the end of the block. * * If the range was originaly at the start of the block, no split will happen * and the PreviousBlock value will be null. The same is valid for the * NextBlock value if the range was at the end of the block. */ SplitBlock : function( forceBlockTag ) { var blockTag = forceBlockTag || FCKConfig.EnterMode ; if ( !this._Range ) this.MoveToSelection() ; // The range boundaries must be in the same "block limit" element. if ( this.StartBlockLimit == this.EndBlockLimit ) { // Get the current blocks. var eStartBlock = this.StartBlock ; var eEndBlock = this.EndBlock ; var oElementPath = null ; if ( blockTag != 'br' ) { if ( !eStartBlock ) { eStartBlock = this.FixBlock( true, blockTag ) ; eEndBlock = this.EndBlock ; // FixBlock may have fixed the EndBlock too. } if ( !eEndBlock ) eEndBlock = this.FixBlock( false, blockTag ) ; } // Get the range position. var bIsStartOfBlock = ( eStartBlock != null && this.CheckStartOfBlock() ) ; var bIsEndOfBlock = ( eEndBlock != null && this.CheckEndOfBlock() ) ; // Delete the current contents. if ( !this.CheckIsEmpty() ) this.DeleteContents() ; if ( eStartBlock && eEndBlock && eStartBlock == eEndBlock ) { if ( bIsEndOfBlock ) { oElementPath = new FCKElementPath( this.StartContainer ) ; this.MoveToPosition( eEndBlock, 4 ) ; eEndBlock = null ; } else if ( bIsStartOfBlock ) { oElementPath = new FCKElementPath( this.StartContainer ) ; this.MoveToPosition( eStartBlock, 3 ) ; eStartBlock = null ; } else { // Extract the contents of the block from the selection point to the end of its contents. this.SetEnd( eStartBlock, 2 ) ; var eDocFrag = this.ExtractContents() ; // Duplicate the block element after it. eEndBlock = eStartBlock.cloneNode( false ) ; eEndBlock.removeAttribute( 'id', false ) ; // Place the extracted contents in the duplicated block. eDocFrag.AppendTo( eEndBlock ) ; FCKDomTools.InsertAfterNode( eStartBlock, eEndBlock ) ; this.MoveToPosition( eStartBlock, 4 ) ; // In Gecko, the last child node must be a bogus <br>. // Note: bogus <br> added under <ul> or <ol> would cause lists to be incorrectly rendered. if ( FCKBrowserInfo.IsGecko && ! eStartBlock.nodeName.IEquals( ['ul', 'ol'] ) ) FCKTools.AppendBogusBr( eStartBlock ) ; } } return { PreviousBlock : eStartBlock, NextBlock : eEndBlock, WasStartOfBlock : bIsStartOfBlock, WasEndOfBlock : bIsEndOfBlock, ElementPath : oElementPath } ; } return null ; }, // Transform a block without a block tag in a valid block (orphan text in the body or td, usually). FixBlock : function( isStart, blockTag ) { // Bookmark the range so we can restore it later. var oBookmark = this.CreateBookmark() ; // Collapse the range to the requested ending boundary. this.Collapse( isStart ) ; // Expands it to the block contents. this.Expand( 'block_contents' ) ; // Create the fixed block. var oFixedBlock = this.Window.document.createElement( blockTag ) ; // Move the contents of the temporary range to the fixed block. this.ExtractContents().AppendTo( oFixedBlock ) ; FCKDomTools.TrimNode( oFixedBlock ) ; // If the fixed block is empty (not counting bookmark nodes) // Add a <br /> inside to expand it. if ( FCKDomTools.CheckIsEmptyElement(oFixedBlock, function( element ) { return element.getAttribute('_fck_bookmark') != 'true' ; } ) && FCKBrowserInfo.IsGeckoLike ) FCKTools.AppendBogusBr( oFixedBlock ) ; // Insert the fixed block into the DOM. this.InsertNode( oFixedBlock ) ; // Move the range back to the bookmarked place. this.MoveToBookmark( oBookmark ) ; return oFixedBlock ; }, Release : function( preserveWindow ) { if ( !preserveWindow ) this.Window = null ; this.StartNode = null ; this.StartContainer = null ; this.StartBlock = null ; this.StartBlockLimit = null ; this.EndNode = null ; this.EndContainer = null ; this.EndBlock = null ; this.EndBlockLimit = null ; this._Range = null ; this._Cache = null ; }, CheckHasRange : function() { return !!this._Range ; }, GetTouchedStartNode : function() { var range = this._Range ; var container = range.startContainer ; if ( range.collapsed || container.nodeType != 1 ) return container ; return container.childNodes[ range.startOffset ] || container ; }, GetTouchedEndNode : function() { var range = this._Range ; var container = range.endContainer ; if ( range.collapsed || container.nodeType != 1 ) return container ; return container.childNodes[ range.endOffset - 1 ] || container ; } } ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Class for working with a selection range, much like the W3C DOM Range, but * it is not intended to be an implementation of the W3C interface. * (Gecko Implementation) */ FCKDomRange.prototype.MoveToSelection = function() { this.Release( true ) ; var oSel = this.Window.getSelection() ; if ( oSel && oSel.rangeCount > 0 ) { this._Range = FCKW3CRange.CreateFromRange( this.Window.document, oSel.getRangeAt(0) ) ; this._UpdateElementInfo() ; } else if ( this.Window.document ) this.MoveToElementStart( this.Window.document.body ) ; } FCKDomRange.prototype.Select = function() { var oRange = this._Range ; if ( oRange ) { var startContainer = oRange.startContainer ; // If we have a collapsed range, inside an empty element, we must add // something to it, otherwise the caret will not be visible. if ( oRange.collapsed && startContainer.nodeType == 1 && startContainer.childNodes.length == 0 ) startContainer.appendChild( oRange._Document.createTextNode('') ) ; var oDocRange = this.Window.document.createRange() ; oDocRange.setStart( startContainer, oRange.startOffset ) ; try { oDocRange.setEnd( oRange.endContainer, oRange.endOffset ) ; } catch ( e ) { // There is a bug in Firefox implementation (it would be too easy // otherwise). The new start can't be after the end (W3C says it can). // So, let's create a new range and collapse it to the desired point. if ( e.toString().Contains( 'NS_ERROR_ILLEGAL_VALUE' ) ) { oRange.collapse( true ) ; oDocRange.setEnd( oRange.endContainer, oRange.endOffset ) ; } else throw( e ) ; } var oSel = this.Window.getSelection() ; oSel.removeAllRanges() ; // We must add a clone otherwise Firefox will have rendering issues. oSel.addRange( oDocRange ) ; } } // Not compatible with bookmark created with CreateBookmark2. // The bookmark nodes will be deleted from the document. FCKDomRange.prototype.SelectBookmark = function( bookmark ) { var domRange = this.Window.document.createRange() ; var startNode = this.GetBookmarkNode( bookmark, true ) ; var endNode = this.GetBookmarkNode( bookmark, false ) ; domRange.setStart( startNode.parentNode, FCKDomTools.GetIndexOf( startNode ) ) ; FCKDomTools.RemoveNode( startNode ) ; if ( endNode ) { domRange.setEnd( endNode.parentNode, FCKDomTools.GetIndexOf( endNode ) ) ; FCKDomTools.RemoveNode( endNode ) ; } var selection = this.Window.getSelection() ; selection.removeAllRanges() ; selection.addRange( domRange ) ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Control keyboard keystroke combinations. */ var FCKKeystrokeHandler = function( cancelCtrlDefaults ) { this.Keystrokes = new Object() ; this.CancelCtrlDefaults = ( cancelCtrlDefaults !== false ) ; } /* * Listen to keystroke events in an element or DOM document object. * @target: The element or document to listen to keystroke events. */ FCKKeystrokeHandler.prototype.AttachToElement = function( target ) { // For newer browsers, it is enough to listen to the keydown event only. // Some browsers instead, don't cancel key events in the keydown, but in the // keypress. So we must do a longer trip in those cases. FCKTools.AddEventListenerEx( target, 'keydown', _FCKKeystrokeHandler_OnKeyDown, this ) ; if ( FCKBrowserInfo.IsGecko10 || FCKBrowserInfo.IsOpera || ( FCKBrowserInfo.IsGecko && FCKBrowserInfo.IsMac ) ) FCKTools.AddEventListenerEx( target, 'keypress', _FCKKeystrokeHandler_OnKeyPress, this ) ; } /* * Sets a list of keystrokes. It can receive either a single array or "n" * arguments, each one being an array of 1 or 2 elemenst. The first element * is the keystroke combination, and the second is the value to assign to it. * If the second element is missing, the keystroke definition is removed. */ FCKKeystrokeHandler.prototype.SetKeystrokes = function() { // Look through the arguments. for ( var i = 0 ; i < arguments.length ; i++ ) { var keyDef = arguments[i] ; // If the configuration for the keystrokes is missing some element or has any extra comma // this item won't be valid, so skip it and keep on processing. if ( !keyDef ) continue ; if ( typeof( keyDef[0] ) == 'object' ) // It is an array with arrays defining the keystrokes. this.SetKeystrokes.apply( this, keyDef ) ; else { if ( keyDef.length == 1 ) // If it has only one element, remove the keystroke. delete this.Keystrokes[ keyDef[0] ] ; else // Otherwise add it. this.Keystrokes[ keyDef[0] ] = keyDef[1] === true ? true : keyDef ; } } } function _FCKKeystrokeHandler_OnKeyDown( ev, keystrokeHandler ) { // Get the key code. var keystroke = ev.keyCode || ev.which ; // Combine it with the CTRL, SHIFT and ALT states. var keyModifiers = 0 ; if ( ev.ctrlKey || ev.metaKey ) keyModifiers += CTRL ; if ( ev.shiftKey ) keyModifiers += SHIFT ; if ( ev.altKey ) keyModifiers += ALT ; var keyCombination = keystroke + keyModifiers ; var cancelIt = keystrokeHandler._CancelIt = false ; // Look for its definition availability. var keystrokeValue = keystrokeHandler.Keystrokes[ keyCombination ] ; // FCKDebug.Output( 'KeyDown: ' + keyCombination + ' - Value: ' + keystrokeValue ) ; // If the keystroke is defined if ( keystrokeValue ) { // If the keystroke has been explicitly set to "true" OR calling the // "OnKeystroke" event, it doesn't return "true", the default behavior // must be preserved. if ( keystrokeValue === true || !( keystrokeHandler.OnKeystroke && keystrokeHandler.OnKeystroke.apply( keystrokeHandler, keystrokeValue ) ) ) return true ; cancelIt = true ; } // By default, it will cancel all combinations with the CTRL key only (except positioning keys). if ( cancelIt || ( keystrokeHandler.CancelCtrlDefaults && keyModifiers == CTRL && ( keystroke < 33 || keystroke > 40 ) ) ) { keystrokeHandler._CancelIt = true ; if ( ev.preventDefault ) return ev.preventDefault() ; ev.returnValue = false ; ev.cancelBubble = true ; return false ; } return true ; } function _FCKKeystrokeHandler_OnKeyPress( ev, keystrokeHandler ) { if ( keystrokeHandler._CancelIt ) { // FCKDebug.Output( 'KeyPress Cancel', 'Red') ; if ( ev.preventDefault ) return ev.preventDefault() ; return false ; } return true ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKToolbarPanelButton Class: Handles the Fonts combo selector. */ var FCKToolbarFontSizeCombo = function( tooltip, style ) { this.CommandName = 'FontSize' ; this.Label = this.GetLabel() ; this.Tooltip = tooltip ? tooltip : this.Label ; this.Style = style ? style : FCK_TOOLBARITEM_ICONTEXT ; this.DefaultLabel = FCKConfig.DefaultFontSizeLabel || '' ; this.FieldWidth = 70 ; } // Inherit from FCKToolbarSpecialCombo. FCKToolbarFontSizeCombo.prototype = new FCKToolbarFontFormatCombo( false ) ; FCKToolbarFontSizeCombo.prototype.GetLabel = function() { return FCKLang.FontSize ; } FCKToolbarFontSizeCombo.prototype.GetStyles = function() { var baseStyle = FCKStyles.GetStyle( '_FCK_Size' ) ; if ( !baseStyle ) { alert( "The FCKConfig.CoreStyles['FontFace'] setting was not found. Please check the fckconfig.js file" ) ; return {} ; } var styles = {} ; var fonts = FCKConfig.FontSizes.split(';') ; for ( var i = 0 ; i < fonts.length ; i++ ) { var fontParts = fonts[i].split('/') ; var font = fontParts[0] ; var caption = fontParts[1] || font ; var style = FCKTools.CloneObject( baseStyle ) ; style.SetVariable( 'Size', font ) ; style.Label = caption ; styles[ caption ] = style ; } return styles ; } FCKToolbarFontSizeCombo.prototype.RefreshActiveItems = FCKToolbarStyleCombo.prototype.RefreshActiveItems ; FCKToolbarFontSizeCombo.prototype.StyleCombo_OnBeforeClick = FCKToolbarFontsCombo.prototype.StyleCombo_OnBeforeClick ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Defines and renders a menu items in a menu block. */ var FCKMenuItem = function( parentMenuBlock, name, label, iconPathOrStripInfoArray, isDisabled, customData ) { this.Name = name ; this.Label = label || name ; this.IsDisabled = isDisabled ; this.Icon = new FCKIcon( iconPathOrStripInfoArray ) ; this.SubMenu = new FCKMenuBlockPanel() ; this.SubMenu.Parent = parentMenuBlock ; this.SubMenu.OnClick = FCKTools.CreateEventListener( FCKMenuItem_SubMenu_OnClick, this ) ; this.CustomData = customData ; if ( FCK.IECleanup ) FCK.IECleanup.AddItem( this, FCKMenuItem_Cleanup ) ; } FCKMenuItem.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) { this.HasSubMenu = true ; return this.SubMenu.AddItem( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) ; } FCKMenuItem.prototype.AddSeparator = function() { this.SubMenu.AddSeparator() ; } FCKMenuItem.prototype.Create = function( parentTable ) { var bHasSubMenu = this.HasSubMenu ; var oDoc = FCKTools.GetElementDocument( parentTable ) ; // Add a row in the table to hold the menu item. var r = this.MainElement = parentTable.insertRow(-1) ; r.className = this.IsDisabled ? 'MN_Item_Disabled' : 'MN_Item' ; // Set the row behavior. if ( !this.IsDisabled ) { FCKTools.AddEventListenerEx( r, 'mouseover', FCKMenuItem_OnMouseOver, [ this ] ) ; FCKTools.AddEventListenerEx( r, 'click', FCKMenuItem_OnClick, [ this ] ) ; if ( !bHasSubMenu ) FCKTools.AddEventListenerEx( r, 'mouseout', FCKMenuItem_OnMouseOut, [ this ] ) ; } // Create the icon cell. var eCell = r.insertCell(-1) ; eCell.className = 'MN_Icon' ; eCell.appendChild( this.Icon.CreateIconElement( oDoc ) ) ; // Create the label cell. eCell = r.insertCell(-1) ; eCell.className = 'MN_Label' ; eCell.noWrap = true ; eCell.appendChild( oDoc.createTextNode( this.Label ) ) ; // Create the arrow cell and setup the sub menu panel (if needed). eCell = r.insertCell(-1) ; if ( bHasSubMenu ) { eCell.className = 'MN_Arrow' ; // The arrow is a fixed size image. var eArrowImg = eCell.appendChild( oDoc.createElement( 'IMG' ) ) ; eArrowImg.src = FCK_IMAGES_PATH + 'arrow_' + FCKLang.Dir + '.gif' ; eArrowImg.width = 4 ; eArrowImg.height = 7 ; this.SubMenu.Create() ; this.SubMenu.Panel.OnHide = FCKTools.CreateEventListener( FCKMenuItem_SubMenu_OnHide, this ) ; } } FCKMenuItem.prototype.Activate = function() { this.MainElement.className = 'MN_Item_Over' ; if ( this.HasSubMenu ) { // Show the child menu block. The ( +2, -2 ) correction is done because // of the padding in the skin. It is not a good solution because one // could change the skin and so the final result would not be accurate. // For now it is ok because we are controlling the skin. this.SubMenu.Show( this.MainElement.offsetWidth + 2, -2, this.MainElement ) ; } FCKTools.RunFunction( this.OnActivate, this ) ; } FCKMenuItem.prototype.Deactivate = function() { this.MainElement.className = 'MN_Item' ; if ( this.HasSubMenu ) this.SubMenu.Hide() ; } /* Events */ function FCKMenuItem_SubMenu_OnClick( clickedItem, listeningItem ) { FCKTools.RunFunction( listeningItem.OnClick, listeningItem, [ clickedItem ] ) ; } function FCKMenuItem_SubMenu_OnHide( menuItem ) { menuItem.Deactivate() ; } function FCKMenuItem_OnClick( ev, menuItem ) { if ( menuItem.HasSubMenu ) menuItem.Activate() ; else { menuItem.Deactivate() ; FCKTools.RunFunction( menuItem.OnClick, menuItem, [ menuItem ] ) ; } } function FCKMenuItem_OnMouseOver( ev, menuItem ) { menuItem.Activate() ; } function FCKMenuItem_OnMouseOut( ev, menuItem ) { menuItem.Deactivate() ; } function FCKMenuItem_Cleanup() { this.MainElement = null ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKContextMenu Class: renders an control a context menu. */ var FCKContextMenu = function( parentWindow, langDir ) { this.CtrlDisable = false ; var oPanel = this._Panel = new FCKPanel( parentWindow ) ; oPanel.AppendStyleSheet( FCKConfig.SkinEditorCSS ) ; oPanel.IsContextMenu = true ; // The FCKTools.DisableSelection doesn't seems to work to avoid dragging of the icons in Mozilla // so we stop the start of the dragging if ( FCKBrowserInfo.IsGecko ) oPanel.Document.addEventListener( 'draggesture', function(e) {e.preventDefault(); return false;}, true ) ; var oMenuBlock = this._MenuBlock = new FCKMenuBlock() ; oMenuBlock.Panel = oPanel ; oMenuBlock.OnClick = FCKTools.CreateEventListener( FCKContextMenu_MenuBlock_OnClick, this ) ; this._Redraw = true ; } FCKContextMenu.prototype.SetMouseClickWindow = function( mouseClickWindow ) { if ( !FCKBrowserInfo.IsIE ) { this._Document = mouseClickWindow.document ; if ( FCKBrowserInfo.IsOpera && !( 'oncontextmenu' in document.createElement('foo') ) ) { this._Document.addEventListener( 'mousedown', FCKContextMenu_Document_OnMouseDown, false ) ; this._Document.addEventListener( 'mouseup', FCKContextMenu_Document_OnMouseUp, false ) ; } this._Document.addEventListener( 'contextmenu', FCKContextMenu_Document_OnContextMenu, false ) ; } } /** The customData parameter is just a value that will be send to the command that is executed, so it's possible to reuse the same command for several items just by assigning different data for each one. */ FCKContextMenu.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) { var oItem = this._MenuBlock.AddItem( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) ; this._Redraw = true ; return oItem ; } FCKContextMenu.prototype.AddSeparator = function() { this._MenuBlock.AddSeparator() ; this._Redraw = true ; } FCKContextMenu.prototype.RemoveAllItems = function() { this._MenuBlock.RemoveAllItems() ; this._Redraw = true ; } FCKContextMenu.prototype.AttachToElement = function( element ) { if ( FCKBrowserInfo.IsIE ) FCKTools.AddEventListenerEx( element, 'contextmenu', FCKContextMenu_AttachedElement_OnContextMenu, this ) ; else element._FCKContextMenu = this ; } function FCKContextMenu_Document_OnContextMenu( e ) { if ( FCKConfig.BrowserContextMenu ) return true ; var el = e.target ; while ( el ) { if ( el._FCKContextMenu ) { if ( el._FCKContextMenu.CtrlDisable && ( e.ctrlKey || e.metaKey ) ) return true ; FCKTools.CancelEvent( e ) ; FCKContextMenu_AttachedElement_OnContextMenu( e, el._FCKContextMenu, el ) ; return false ; } el = el.parentNode ; } return true ; } var FCKContextMenu_OverrideButton ; function FCKContextMenu_Document_OnMouseDown( e ) { if( !e || e.button != 2 ) return false ; if ( FCKConfig.BrowserContextMenu ) return true ; var el = e.target ; while ( el ) { if ( el._FCKContextMenu ) { if ( el._FCKContextMenu.CtrlDisable && ( e.ctrlKey || e.metaKey ) ) return true ; var overrideButton = FCKContextMenu_OverrideButton ; if( !overrideButton ) { var doc = FCKTools.GetElementDocument( e.target ) ; overrideButton = FCKContextMenu_OverrideButton = doc.createElement('input') ; overrideButton.type = 'button' ; var buttonHolder = doc.createElement('p') ; doc.body.appendChild( buttonHolder ) ; buttonHolder.appendChild( overrideButton ) ; } overrideButton.style.cssText = 'position:absolute;top:' + ( e.clientY - 2 ) + 'px;left:' + ( e.clientX - 2 ) + 'px;width:5px;height:5px;opacity:0.01' ; } el = el.parentNode ; } return false ; } function FCKContextMenu_Document_OnMouseUp( e ) { if ( FCKConfig.BrowserContextMenu ) return true ; var overrideButton = FCKContextMenu_OverrideButton ; if ( overrideButton ) { var parent = overrideButton.parentNode ; parent.parentNode.removeChild( parent ) ; FCKContextMenu_OverrideButton = undefined ; if( e && e.button == 2 ) { FCKContextMenu_Document_OnContextMenu( e ) ; return false ; } } return true ; } function FCKContextMenu_AttachedElement_OnContextMenu( ev, fckContextMenu, el ) { if ( ( fckContextMenu.CtrlDisable && ( ev.ctrlKey || ev.metaKey ) ) || FCKConfig.BrowserContextMenu ) return true ; var eTarget = el || this ; if ( fckContextMenu.OnBeforeOpen ) fckContextMenu.OnBeforeOpen.call( fckContextMenu, eTarget ) ; if ( fckContextMenu._MenuBlock.Count() == 0 ) return false ; if ( fckContextMenu._Redraw ) { fckContextMenu._MenuBlock.Create( fckContextMenu._Panel.MainNode ) ; fckContextMenu._Redraw = false ; } // This will avoid that the content of the context menu can be dragged in IE // as the content of the panel is recreated we need to do it every time FCKTools.DisableSelection( fckContextMenu._Panel.Document.body ) ; var x = 0 ; var y = 0 ; if ( FCKBrowserInfo.IsIE ) { x = ev.screenX ; y = ev.screenY ; } else if ( FCKBrowserInfo.IsSafari ) { x = ev.clientX ; y = ev.clientY ; } else { x = ev.pageX ; y = ev.pageY ; } fckContextMenu._Panel.Show( x, y, ev.currentTarget || null ) ; return false ; } function FCKContextMenu_MenuBlock_OnClick( menuItem, contextMenu ) { contextMenu._Panel.Hide() ; FCKTools.RunFunction( contextMenu.OnItemClick, contextMenu, menuItem ) ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This class can be used to interate through nodes inside a range. * * During interation, the provided range can become invalid, due to document * mutations, so CreateBookmark() used to restore it after processing, if * needed. */ var FCKDomRangeIterator = function( range ) { /** * The FCKDomRange object that marks the interation boundaries. */ this.Range = range ; /** * Indicates that <br> elements must be used as paragraph boundaries. */ this.ForceBrBreak = false ; /** * Guarantees that the iterator will always return "real" block elements. * If "false", elements like <li>, <th> and <td> are returned. If "true", a * dedicated block element block element will be created inside those * elements to hold the selected content. */ this.EnforceRealBlocks = false ; } FCKDomRangeIterator.CreateFromSelection = function( targetWindow ) { var range = new FCKDomRange( targetWindow ) ; range.MoveToSelection() ; return new FCKDomRangeIterator( range ) ; } FCKDomRangeIterator.prototype = { /** * Get the next paragraph element. It automatically breaks the document * when necessary to generate block elements for the paragraphs. */ GetNextParagraph : function() { // The block element to be returned. var block ; // The range object used to identify the paragraph contents. var range ; // Indicated that the current element in the loop is the last one. var isLast ; // Instructs to cleanup remaining BRs. var removePreviousBr ; var removeLastBr ; var boundarySet = this.ForceBrBreak ? FCKListsLib.ListBoundaries : FCKListsLib.BlockBoundaries ; // This is the first iteration. Let's initialize it. if ( !this._LastNode ) { var range = this.Range.Clone() ; range.Expand( this.ForceBrBreak ? 'list_contents' : 'block_contents' ) ; this._NextNode = range.GetTouchedStartNode() ; this._LastNode = range.GetTouchedEndNode() ; // Let's reuse this variable. range = null ; } var currentNode = this._NextNode ; var lastNode = this._LastNode ; this._NextNode = null ; while ( currentNode ) { // closeRange indicates that a paragraph boundary has been found, // so the range can be closed. var closeRange = false ; // includeNode indicates that the current node is good to be part // of the range. By default, any non-element node is ok for it. var includeNode = ( currentNode.nodeType != 1 ) ; var continueFromSibling = false ; // If it is an element node, let's check if it can be part of the // range. if ( !includeNode ) { var nodeName = currentNode.nodeName.toLowerCase() ; if ( boundarySet[ nodeName ] && ( !FCKBrowserInfo.IsIE || currentNode.scopeName == 'HTML' ) ) { // <br> boundaries must be part of the range. It will // happen only if ForceBrBreak. if ( nodeName == 'br' ) includeNode = true ; else if ( !range && currentNode.childNodes.length == 0 && nodeName != 'hr' ) { // If we have found an empty block, and haven't started // the range yet, it means we must return this block. block = currentNode ; isLast = currentNode == lastNode ; break ; } // The range must finish right before the boundary, // including possibly skipped empty spaces. (#1603) if ( range ) { range.SetEnd( currentNode, 3, true ) ; // The found boundary must be set as the next one at this // point. (#1717) if ( nodeName != 'br' ) this._NextNode = FCKDomTools.GetNextSourceNode( currentNode, true, null, lastNode ) ; } closeRange = true ; } else { // If we have child nodes, let's check them. if ( currentNode.firstChild ) { // If we don't have a range yet, let's start it. if ( !range ) { range = new FCKDomRange( this.Range.Window ) ; range.SetStart( currentNode, 3, true ) ; } currentNode = currentNode.firstChild ; continue ; } includeNode = true ; } } else if ( currentNode.nodeType == 3 ) { // Ignore normal whitespaces (i.e. not including &nbsp; or // other unicode whitespaces) before/after a block node. if ( /^[\r\n\t ]+$/.test( currentNode.nodeValue ) ) includeNode = false ; } // The current node is good to be part of the range and we are // starting a new range, initialize it first. if ( includeNode && !range ) { range = new FCKDomRange( this.Range.Window ) ; range.SetStart( currentNode, 3, true ) ; } // The last node has been found. isLast = ( ( !closeRange || includeNode ) && currentNode == lastNode ) ; // isLast = ( currentNode == lastNode && ( currentNode.nodeType != 1 || currentNode.childNodes.length == 0 ) ) ; // If we are in an element boundary, let's check if it is time // to close the range, otherwise we include the parent within it. if ( range && !closeRange ) { while ( !currentNode.nextSibling && !isLast ) { var parentNode = currentNode.parentNode ; if ( boundarySet[ parentNode.nodeName.toLowerCase() ] ) { closeRange = true ; isLast = isLast || ( parentNode == lastNode ) ; break ; } currentNode = parentNode ; includeNode = true ; isLast = ( currentNode == lastNode ) ; continueFromSibling = true ; } } // Now finally include the node. if ( includeNode ) range.SetEnd( currentNode, 4, true ) ; // We have found a block boundary. Let's close the range and move out of the // loop. if ( ( closeRange || isLast ) && range ) { range._UpdateElementInfo() ; if ( range.StartNode == range.EndNode && range.StartNode.parentNode == range.StartBlockLimit && range.StartNode.getAttribute && range.StartNode.getAttribute( '_fck_bookmark' ) ) range = null ; else break ; } if ( isLast ) break ; currentNode = FCKDomTools.GetNextSourceNode( currentNode, continueFromSibling, null, lastNode ) ; } // Now, based on the processed range, look for (or create) the block to be returned. if ( !block ) { // If no range has been found, this is the end. if ( !range ) { this._NextNode = null ; return null ; } block = range.StartBlock ; if ( !block && !this.EnforceRealBlocks && range.StartBlockLimit.nodeName.IEquals( 'DIV', 'TH', 'TD' ) && range.CheckStartOfBlock() && range.CheckEndOfBlock() ) { block = range.StartBlockLimit ; } else if ( !block || ( this.EnforceRealBlocks && block.nodeName.toLowerCase() == 'li' ) ) { // Create the fixed block. block = this.Range.Window.document.createElement( FCKConfig.EnterMode == 'p' ? 'p' : 'div' ) ; // Move the contents of the temporary range to the fixed block. range.ExtractContents().AppendTo( block ) ; FCKDomTools.TrimNode( block ) ; // Insert the fixed block into the DOM. range.InsertNode( block ) ; removePreviousBr = true ; removeLastBr = true ; } else if ( block.nodeName.toLowerCase() != 'li' ) { // If the range doesn't includes the entire contents of the // block, we must split it, isolating the range in a dedicated // block. if ( !range.CheckStartOfBlock() || !range.CheckEndOfBlock() ) { // The resulting block will be a clone of the current one. block = block.cloneNode( false ) ; // Extract the range contents, moving it to the new block. range.ExtractContents().AppendTo( block ) ; FCKDomTools.TrimNode( block ) ; // Split the block. At this point, the range will be in the // right position for our intents. var splitInfo = range.SplitBlock() ; removePreviousBr = !splitInfo.WasStartOfBlock ; removeLastBr = !splitInfo.WasEndOfBlock ; // Insert the new block into the DOM. range.InsertNode( block ) ; } } else if ( !isLast ) { // LIs are returned as is, with all their children (due to the // nested lists). But, the next node is the node right after // the current range, which could be an <li> child (nested // lists) or the next sibling <li>. this._NextNode = block == lastNode ? null : FCKDomTools.GetNextSourceNode( range.EndNode, true, null, lastNode ) ; return block ; } } if ( removePreviousBr ) { var previousSibling = block.previousSibling ; if ( previousSibling && previousSibling.nodeType == 1 ) { if ( previousSibling.nodeName.toLowerCase() == 'br' ) previousSibling.parentNode.removeChild( previousSibling ) ; else if ( previousSibling.lastChild && previousSibling.lastChild.nodeName.IEquals( 'br' ) ) previousSibling.removeChild( previousSibling.lastChild ) ; } } if ( removeLastBr ) { var lastChild = block.lastChild ; if ( lastChild && lastChild.nodeType == 1 && lastChild.nodeName.toLowerCase() == 'br' ) block.removeChild( lastChild ) ; } // Get a reference for the next element. This is important because the // above block can be removed or changed, so we can rely on it for the // next interation. if ( !this._NextNode ) this._NextNode = ( isLast || block == lastNode ) ? null : FCKDomTools.GetNextSourceNode( block, true, null, lastNode ) ; return block ; } } ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * FCKToolbarPanelButton Class: Handles the Fonts combo selector. */ var FCKToolbarFontFormatCombo = function( tooltip, style ) { if ( tooltip === false ) return ; this.CommandName = 'FontFormat' ; this.Label = this.GetLabel() ; this.Tooltip = tooltip ? tooltip : this.Label ; this.Style = style ? style : FCK_TOOLBARITEM_ICONTEXT ; this.NormalLabel = 'Normal' ; this.PanelWidth = 190 ; this.DefaultLabel = FCKConfig.DefaultFontFormatLabel || '' ; } // Inherit from FCKToolbarSpecialCombo. FCKToolbarFontFormatCombo.prototype = new FCKToolbarStyleCombo( false ) ; FCKToolbarFontFormatCombo.prototype.GetLabel = function() { return FCKLang.FontFormat ; } FCKToolbarFontFormatCombo.prototype.GetStyles = function() { var styles = {} ; // Get the format names from the language file. var aNames = FCKLang['FontFormats'].split(';') ; var oNames = { p : aNames[0], pre : aNames[1], address : aNames[2], h1 : aNames[3], h2 : aNames[4], h3 : aNames[5], h4 : aNames[6], h5 : aNames[7], h6 : aNames[8], div : aNames[9] || ( aNames[0] + ' (DIV)') } ; // Get the available formats from the configuration file. var elements = FCKConfig.FontFormats.split(';') ; for ( var i = 0 ; i < elements.length ; i++ ) { var elementName = elements[ i ] ; var style = FCKStyles.GetStyle( '_FCK_' + elementName ) ; if ( style ) { style.Label = oNames[ elementName ] ; styles[ '_FCK_' + elementName ] = style ; } else alert( "The FCKConfig.CoreStyles['" + elementName + "'] setting was not found. Please check the fckconfig.js file" ) ; } return styles ; } FCKToolbarFontFormatCombo.prototype.RefreshActiveItems = function( targetSpecialCombo ) { var startElement = FCK.ToolbarSet.CurrentInstance.Selection.GetBoundaryParentElement( true ) ; if ( startElement ) { var path = new FCKElementPath( startElement ) ; var blockElement = path.Block ; if ( blockElement ) { for ( var i in targetSpecialCombo.Items ) { var item = targetSpecialCombo.Items[i] ; var style = item.Style ; if ( style.CheckElementRemovable( blockElement ) ) { targetSpecialCombo.SetLabel( style.Label ) ; return ; } } } } targetSpecialCombo.SetLabel( this.DefaultLabel ) ; } FCKToolbarFontFormatCombo.prototype.StyleCombo_OnBeforeClick = function( targetSpecialCombo ) { // Clear the current selection. targetSpecialCombo.DeselectAll() ; var startElement = FCK.ToolbarSet.CurrentInstance.Selection.GetBoundaryParentElement( true ) ; if ( startElement ) { var path = new FCKElementPath( startElement ) ; var blockElement = path.Block ; for ( var i in targetSpecialCombo.Items ) { var item = targetSpecialCombo.Items[i] ; var style = item.Style ; if ( style.CheckElementRemovable( blockElement ) ) { targetSpecialCombo.SelectItem( item ) ; return ; } } } }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Create the FCKeditorAPI object that is available as a global object in * the page where the editor is placed in. */ var FCKeditorAPI ; function InitializeAPI() { var oParentWindow = window.parent ; if ( !( FCKeditorAPI = oParentWindow.FCKeditorAPI ) ) { // Make the FCKeditorAPI object available in the parent window. Use // eval so this core runs in the parent's scope and so it will still be // available if the editor instance is removed ("Can't execute code // from a freed script" error). // Note: we check the existence of oEditor.GetParentForm because some external // code (like JSON) can extend the Object prototype and we get then extra oEditor // objects that aren't really FCKeditor instances. var sScript = 'window.FCKeditorAPI = {' + 'Version : "2.6.3",' + 'VersionBuild : "19836",' + 'Instances : new Object(),' + 'GetInstance : function( name )' + '{' + 'return this.Instances[ name ];' + '},' + '_FormSubmit : function()' + '{' + 'for ( var name in FCKeditorAPI.Instances )' + '{' + 'var oEditor = FCKeditorAPI.Instances[ name ] ;' + 'if ( oEditor.GetParentForm && oEditor.GetParentForm() == this )' + 'oEditor.UpdateLinkedField() ;' + '}' + 'this._FCKOriginalSubmit() ;' + '},' + '_FunctionQueue : {' + 'Functions : new Array(),' + 'IsRunning : false,' + 'Add : function( f )' + '{' + 'this.Functions.push( f );' + 'if ( !this.IsRunning )' + 'this.StartNext();' + '},' + 'StartNext : function()' + '{' + 'var aQueue = this.Functions ;' + 'if ( aQueue.length > 0 )' + '{' + 'this.IsRunning = true;' + 'aQueue[0].call();' + '}' + 'else ' + 'this.IsRunning = false;' + '},' + 'Remove : function( f )' + '{' + 'var aQueue = this.Functions;' + 'var i = 0, fFunc;' + 'while( (fFunc = aQueue[ i ]) )' + '{' + 'if ( fFunc == f )' + 'aQueue.splice( i,1 );' + 'i++ ;' + '}' + 'this.StartNext();' + '}' + '}' + '}' ; // In IE, the "eval" function is not always available (it works with // the JavaScript samples, but not with the ASP ones, for example). // So, let's use the execScript instead. if ( oParentWindow.execScript ) oParentWindow.execScript( sScript, 'JavaScript' ) ; else { if ( FCKBrowserInfo.IsGecko10 ) { // FF 1.0.4 gives an error with the request bellow. The // following seams to work well. eval.call( oParentWindow, sScript ) ; } else if( FCKBrowserInfo.IsAIR ) { FCKAdobeAIR.FCKeditorAPI_Evaluate( oParentWindow, sScript ) ; } else if ( FCKBrowserInfo.IsSafari ) { // oParentWindow.eval in Safari and Gran Paradiso executes in the calling window // environment, instead of the parent one. The following should make it work. var oParentDocument = oParentWindow.document ; var eScript = oParentDocument.createElement('script') ; eScript.appendChild( oParentDocument.createTextNode( sScript ) ) ; oParentDocument.documentElement.appendChild( eScript ) ; } else oParentWindow.eval( sScript ) ; } FCKeditorAPI = oParentWindow.FCKeditorAPI ; // The __Instances properly has been changed to the public Instances, // but we should still have the "deprecated" version of it. FCKeditorAPI.__Instances = FCKeditorAPI.Instances ; } // Add the current instance to the FCKeditorAPI's instances collection. FCKeditorAPI.Instances[ FCK.Name ] = FCK ; } // Attach to the form onsubmit event and to the form.submit(). function _AttachFormSubmitToAPI() { // Get the linked field form. var oForm = FCK.GetParentForm() ; if ( oForm ) { // Attach to the onsubmit event. FCKTools.AddEventListener( oForm, 'submit', FCK.UpdateLinkedField ) ; // IE sees oForm.submit function as an 'object'. if ( !oForm._FCKOriginalSubmit && ( typeof( oForm.submit ) == 'function' || ( !oForm.submit.tagName && !oForm.submit.length ) ) ) { // Save the original submit. oForm._FCKOriginalSubmit = oForm.submit ; // Create our replacement for the submit. oForm.submit = FCKeditorAPI._FormSubmit ; } } } function FCKeditorAPI_Cleanup() { if ( window.FCKConfig && FCKConfig.MsWebBrowserControlCompat && !window.FCKUnloadFlag ) return ; delete FCKeditorAPI.Instances[ FCK.Name ] ; } function FCKeditorAPI_ConfirmCleanup() { if ( window.FCKConfig && FCKConfig.MsWebBrowserControlCompat ) window.FCKUnloadFlag = true ; } FCKTools.AddEventListener( window, 'unload', FCKeditorAPI_Cleanup ) ; FCKTools.AddEventListener( window, 'beforeunload', FCKeditorAPI_ConfirmCleanup) ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == */ (function() { // IE6 doens't handle absolute positioning properly (it is always in quirks // mode). This function fixes the sizes and positions of many elements that // compose the skin (this is skin specific). var fixSizes = window.DoResizeFixes = function() { var fckDlg = window.document.body ; for ( var i = 0 ; i < fckDlg.childNodes.length ; i++ ) { var child = fckDlg.childNodes[i] ; switch ( child.className ) { case 'contents' : child.style.width = Math.max( 0, fckDlg.offsetWidth - 16 - 16 ) ; // -left -right child.style.height = Math.max( 0, fckDlg.clientHeight - 20 - 2 ) ; // -bottom -top break ; case 'blocker' : case 'cover' : child.style.width = Math.max( 0, fckDlg.offsetWidth - 16 - 16 + 4 ) ; // -left -right + 4 child.style.height = Math.max( 0, fckDlg.clientHeight - 20 - 2 + 4 ) ; // -bottom -top + 4 break ; case 'tr' : child.style.left = Math.max( 0, fckDlg.clientWidth - 16 ) ; break ; case 'tc' : child.style.width = Math.max( 0, fckDlg.clientWidth - 16 - 16 ) ; break ; case 'ml' : child.style.height = Math.max( 0, fckDlg.clientHeight - 16 - 51 ) ; break ; case 'mr' : child.style.left = Math.max( 0, fckDlg.clientWidth - 16 ) ; child.style.height = Math.max( 0, fckDlg.clientHeight - 16 - 51 ) ; break ; case 'bl' : child.style.top = Math.max( 0, fckDlg.clientHeight - 51 ) ; break ; case 'br' : child.style.left = Math.max( 0, fckDlg.clientWidth - 30 ) ; child.style.top = Math.max( 0, fckDlg.clientHeight - 51 ) ; break ; case 'bc' : child.style.width = Math.max( 0, fckDlg.clientWidth - 30 - 30 ) ; child.style.top = Math.max( 0, fckDlg.clientHeight - 51 ) ; break ; } } } var closeButtonOver = function() { this.style.backgroundPosition = '-16px -687px' ; } ; var closeButtonOut = function() { this.style.backgroundPosition = '-16px -651px' ; } ; var fixCloseButton = function() { var closeButton = document.getElementById ( 'closeButton' ) ; closeButton.onmouseover = closeButtonOver ; closeButton.onmouseout = closeButtonOut ; } var onLoad = function() { fixSizes() ; fixCloseButton() ; window.attachEvent( 'onresize', fixSizes ) ; window.detachEvent( 'onload', onLoad ) ; } window.attachEvent( 'onload', onLoad ) ; })() ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == */ (function() { // IE6 doens't handle absolute positioning properly (it is always in quirks // mode). This function fixes the sizes and positions of many elements that // compose the skin (this is skin specific). var fixSizes = window.DoResizeFixes = function() { var fckDlg = window.document.body ; for ( var i = 0 ; i < fckDlg.childNodes.length ; i++ ) { var child = fckDlg.childNodes[i] ; switch ( child.className ) { case 'contents' : child.style.width = Math.max( 0, fckDlg.offsetWidth - 16 - 16 ) ; // -left -right child.style.height = Math.max( 0, fckDlg.clientHeight - 20 - 2 ) ; // -bottom -top break ; case 'blocker' : case 'cover' : child.style.width = Math.max( 0, fckDlg.offsetWidth - 16 - 16 + 4 ) ; // -left -right + 4 child.style.height = Math.max( 0, fckDlg.clientHeight - 20 - 2 + 4 ) ; // -bottom -top + 4 break ; case 'tr' : child.style.left = Math.max( 0, fckDlg.clientWidth - 16 ) ; break ; case 'tc' : child.style.width = Math.max( 0, fckDlg.clientWidth - 16 - 16 ) ; break ; case 'ml' : child.style.height = Math.max( 0, fckDlg.clientHeight - 16 - 51 ) ; break ; case 'mr' : child.style.left = Math.max( 0, fckDlg.clientWidth - 16 ) ; child.style.height = Math.max( 0, fckDlg.clientHeight - 16 - 51 ) ; break ; case 'bl' : child.style.top = Math.max( 0, fckDlg.clientHeight - 51 ) ; break ; case 'br' : child.style.left = Math.max( 0, fckDlg.clientWidth - 30 ) ; child.style.top = Math.max( 0, fckDlg.clientHeight - 51 ) ; break ; case 'bc' : child.style.width = Math.max( 0, fckDlg.clientWidth - 30 - 30 ) ; child.style.top = Math.max( 0, fckDlg.clientHeight - 51 ) ; break ; } } } var closeButtonOver = function() { this.style.backgroundPosition = '-16px -687px' ; } ; var closeButtonOut = function() { this.style.backgroundPosition = '-16px -651px' ; } ; var fixCloseButton = function() { var closeButton = document.getElementById ( 'closeButton' ) ; closeButton.onmouseover = closeButtonOver ; closeButton.onmouseout = closeButtonOut ; } var onLoad = function() { fixSizes() ; fixCloseButton() ; window.attachEvent( 'onresize', fixSizes ) ; window.detachEvent( 'onload', onLoad ) ; } window.attachEvent( 'onload', onLoad ) ; })() ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == */ (function() { // IE6 doens't handle absolute positioning properly (it is always in quirks // mode). This function fixes the sizes and positions of many elements that // compose the skin (this is skin specific). var fixSizes = window.DoResizeFixes = function() { var fckDlg = window.document.body ; for ( var i = 0 ; i < fckDlg.childNodes.length ; i++ ) { var child = fckDlg.childNodes[i] ; switch ( child.className ) { case 'contents' : child.style.width = Math.max( 0, fckDlg.offsetWidth - 16 - 16 ) ; // -left -right child.style.height = Math.max( 0, fckDlg.clientHeight - 20 - 2 ) ; // -bottom -top break ; case 'blocker' : case 'cover' : child.style.width = Math.max( 0, fckDlg.offsetWidth - 16 - 16 + 4 ) ; // -left -right + 4 child.style.height = Math.max( 0, fckDlg.clientHeight - 20 - 2 + 4 ) ; // -bottom -top + 4 break ; case 'tr' : child.style.left = Math.max( 0, fckDlg.clientWidth - 16 ) ; break ; case 'tc' : child.style.width = Math.max( 0, fckDlg.clientWidth - 16 - 16 ) ; break ; case 'ml' : child.style.height = Math.max( 0, fckDlg.clientHeight - 16 - 51 ) ; break ; case 'mr' : child.style.left = Math.max( 0, fckDlg.clientWidth - 16 ) ; child.style.height = Math.max( 0, fckDlg.clientHeight - 16 - 51 ) ; break ; case 'bl' : child.style.top = Math.max( 0, fckDlg.clientHeight - 51 ) ; break ; case 'br' : child.style.left = Math.max( 0, fckDlg.clientWidth - 30 ) ; child.style.top = Math.max( 0, fckDlg.clientHeight - 51 ) ; break ; case 'bc' : child.style.width = Math.max( 0, fckDlg.clientWidth - 30 - 30 ) ; child.style.top = Math.max( 0, fckDlg.clientHeight - 51 ) ; break ; } } } var closeButtonOver = function() { this.style.backgroundPosition = '-16px -687px' ; } ; var closeButtonOut = function() { this.style.backgroundPosition = '-16px -651px' ; } ; var fixCloseButton = function() { var closeButton = document.getElementById ( 'closeButton' ) ; closeButton.onmouseover = closeButtonOver ; closeButton.onmouseout = closeButtonOut ; } var onLoad = function() { fixSizes() ; fixCloseButton() ; window.attachEvent( 'onresize', fixSizes ) ; window.detachEvent( 'onload', onLoad ) ; } window.attachEvent( 'onload', onLoad ) ; })() ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Defines the FCKXml object that is used for XML data calls * and XML processing. * * This script is shared by almost all pages that compose the * File Browser frameset. */ var FCKXml = function() {} FCKXml.prototype.GetHttpRequest = function() { // Gecko / IE7 try { return new XMLHttpRequest(); } catch(e) {} // IE6 try { return new ActiveXObject( 'Msxml2.XMLHTTP' ) ; } catch(e) {} // IE5 try { return new ActiveXObject( 'Microsoft.XMLHTTP' ) ; } catch(e) {} return null ; } FCKXml.prototype.LoadUrl = function( urlToCall, asyncFunctionPointer ) { var oFCKXml = this ; var bAsync = ( typeof(asyncFunctionPointer) == 'function' ) ; var oXmlHttp = this.GetHttpRequest() ; oXmlHttp.open( "GET", urlToCall, bAsync ) ; if ( bAsync ) { oXmlHttp.onreadystatechange = function() { if ( oXmlHttp.readyState == 4 ) { var oXml ; try { // this is the same test for an FF2 bug as in fckxml_gecko.js // but we've moved the responseXML assignment into the try{} // so we don't even have to check the return status codes. var test = oXmlHttp.responseXML.firstChild ; oXml = oXmlHttp.responseXML ; } catch ( e ) { try { oXml = (new DOMParser()).parseFromString( oXmlHttp.responseText, 'text/xml' ) ; } catch ( e ) {} } if ( !oXml || !oXml.firstChild || oXml.firstChild.nodeName == 'parsererror' ) { alert( 'The server didn\'t send back a proper XML response. Please contact your system administrator.\n\n' + 'XML request error: ' + oXmlHttp.statusText + ' (' + oXmlHttp.status + ')\n\n' + 'Requested URL:\n' + urlToCall + '\n\n' + 'Response text:\n' + oXmlHttp.responseText ) ; return ; } oFCKXml.DOMDocument = oXml ; asyncFunctionPointer( oFCKXml ) ; } } } oXmlHttp.send( null ) ; if ( ! bAsync ) { if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 ) this.DOMDocument = oXmlHttp.responseXML ; else { alert( 'XML request error: ' + oXmlHttp.statusText + ' (' + oXmlHttp.status + ')' ) ; } } } FCKXml.prototype.SelectNodes = function( xpath ) { if ( navigator.userAgent.indexOf('MSIE') >= 0 ) // IE return this.DOMDocument.selectNodes( xpath ) ; else // Gecko { var aNodeArray = new Array(); var xPathResult = this.DOMDocument.evaluate( xpath, this.DOMDocument, this.DOMDocument.createNSResolver(this.DOMDocument.documentElement), XPathResult.ORDERED_NODE_ITERATOR_TYPE, null) ; if ( xPathResult ) { var oNode = xPathResult.iterateNext() ; while( oNode ) { aNodeArray[aNodeArray.length] = oNode ; oNode = xPathResult.iterateNext(); } } return aNodeArray ; } } FCKXml.prototype.SelectSingleNode = function( xpath ) { if ( navigator.userAgent.indexOf('MSIE') >= 0 ) // IE return this.DOMDocument.selectSingleNode( xpath ) ; else // Gecko { var xPathResult = this.DOMDocument.evaluate( xpath, this.DOMDocument, this.DOMDocument.createNSResolver(this.DOMDocument.documentElement), 9, null); if ( xPathResult && xPathResult.singleNodeValue ) return xPathResult.singleNodeValue ; else return null ; } }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Common objects and functions shared by all pages that compose the * File Browser dialog window. */ // Automatically detect the correct document.domain (#1919). (function() { var d = document.domain ; while ( true ) { // Test if we can access a parent property. try { var test = window.top.opener.document.domain ; break ; } catch( e ) {} // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... d = d.replace( /.*?(?:\.|$)/, '' ) ; if ( d.length == 0 ) break ; // It was not able to detect the domain. try { document.domain = d ; } catch (e) { break ; } } })() ; function AddSelectOption( selectElement, optionText, optionValue ) { var oOption = document.createElement("OPTION") ; oOption.text = optionText ; oOption.value = optionValue ; selectElement.options.add(oOption) ; return oOption ; } var oConnector = window.parent.oConnector ; var oIcons = window.parent.oIcons ; function StringBuilder( value ) { this._Strings = new Array( value || '' ) ; } StringBuilder.prototype.Append = function( value ) { if ( value ) this._Strings.push( value ) ; } StringBuilder.prototype.ToString = function() { return this._Strings.join( '' ) ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Compatibility code for Adobe AIR. */ if ( FCKBrowserInfo.IsAIR ) { var FCKAdobeAIR = (function() { /* * ### Private functions. */ var getDocumentHead = function( doc ) { var head ; var heads = doc.getElementsByTagName( 'head' ) ; if( heads && heads[0] ) head = heads[0] ; else { head = doc.createElement( 'head' ) ; doc.documentElement.insertBefore( head, doc.documentElement.firstChild ) ; } return head ; } ; /* * ### Public interface. */ return { FCKeditorAPI_Evaluate : function( parentWindow, script ) { // TODO : This one doesn't work always. The parent window will // point to an anonymous function in this window. If this // window is destroyied the parent window will be pointing to // an invalid reference. // Evaluate the script in this window. eval( script ) ; // Point the FCKeditorAPI property of the parent window to the // local reference. parentWindow.FCKeditorAPI = window.FCKeditorAPI ; }, EditingArea_Start : function( doc, html ) { // Get the HTML for the <head>. var headInnerHtml = html.match( /<head>([\s\S]*)<\/head>/i )[1] ; if ( headInnerHtml && headInnerHtml.length > 0 ) { // Inject the <head> HTML inside a <div>. // Do that before getDocumentHead because WebKit moves // <link css> elements to the <head> at this point. var div = doc.createElement( 'div' ) ; div.innerHTML = headInnerHtml ; // Move the <div> nodes to <head>. FCKDomTools.MoveChildren( div, getDocumentHead( doc ) ) ; } doc.body.innerHTML = html.match( /<body>([\s\S]*)<\/body>/i )[1] ; //prevent clicking on hyperlinks and navigating away doc.addEventListener('click', function( ev ) { ev.preventDefault() ; ev.stopPropagation() ; }, true ) ; }, Panel_Contructor : function( doc, baseLocation ) { var head = getDocumentHead( doc ) ; // Set the <base> href. head.appendChild( doc.createElement('base') ).href = baseLocation ; doc.body.style.margin = '0px' ; doc.body.style.padding = '0px' ; }, ToolbarSet_GetOutElement : function( win, outMatch ) { var toolbarTarget = win.parent ; var targetWindowParts = outMatch[1].split( '.' ) ; while ( targetWindowParts.length > 0 ) { var part = targetWindowParts.shift() ; if ( part.length > 0 ) toolbarTarget = toolbarTarget[ part ] ; } toolbarTarget = toolbarTarget.document.getElementById( outMatch[2] ) ; }, ToolbarSet_InitOutFrame : function( doc ) { var head = getDocumentHead( doc ) ; head.appendChild( doc.createElement('base') ).href = window.document.location ; var targetWindow = doc.defaultView; targetWindow.adjust = function() { targetWindow.frameElement.height = doc.body.scrollHeight; } ; targetWindow.onresize = targetWindow.adjust ; targetWindow.setTimeout( targetWindow.adjust, 0 ) ; doc.body.style.overflow = 'hidden'; doc.body.innerHTML = document.getElementById( 'xToolbarSpace' ).innerHTML ; } } ; })(); /* * ### Overrides */ ( function() { // Save references for override reuse. var _Original_FCKPanel_Window_OnFocus = FCKPanel_Window_OnFocus ; var _Original_FCKPanel_Window_OnBlur = FCKPanel_Window_OnBlur ; var _Original_FCK_StartEditor = FCK.StartEditor ; FCKPanel_Window_OnFocus = function( e, panel ) { // Call the original implementation. _Original_FCKPanel_Window_OnFocus.call( this, e, panel ) ; if ( panel._focusTimer ) clearTimeout( panel._focusTimer ) ; } FCKPanel_Window_OnBlur = function( e, panel ) { // Delay the execution of the original function. panel._focusTimer = FCKTools.SetTimeout( _Original_FCKPanel_Window_OnBlur, 100, this, [ e, panel ] ) ; } FCK.StartEditor = function() { // Force pointing to the CSS files instead of using the inline CSS cached styles. window.FCK_InternalCSS = FCKConfig.BasePath + 'css/fck_internal.css' ; window.FCK_ShowTableBordersCSS = FCKConfig.BasePath + 'css/fck_showtableborders_gecko.css' ; _Original_FCK_StartEditor.apply( this, arguments ) ; } })(); }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This plugin register the required Toolbar items to be able to insert the * table commands in the toolbar. */ FCKToolbarItems.RegisterItem( 'TableInsertRowAfter' , new FCKToolbarButton( 'TableInsertRowAfter' , FCKLang.InsertRowAfter, null, null, null, true, 62 ) ) ; FCKToolbarItems.RegisterItem( 'TableDeleteRows' , new FCKToolbarButton( 'TableDeleteRows' , FCKLang.DeleteRows, null, null, null, true, 63 ) ) ; FCKToolbarItems.RegisterItem( 'TableInsertColumnAfter' , new FCKToolbarButton( 'TableInsertColumnAfter' , FCKLang.InsertColumnAfter, null, null, null, true, 64 ) ) ; FCKToolbarItems.RegisterItem( 'TableDeleteColumns' , new FCKToolbarButton( 'TableDeleteColumns', FCKLang.DeleteColumns, null, null, null, true, 65 ) ) ; FCKToolbarItems.RegisterItem( 'TableInsertCellAfter' , new FCKToolbarButton( 'TableInsertCellAfter' , FCKLang.InsertCellAfter, null, null, null, true, 58 ) ) ; FCKToolbarItems.RegisterItem( 'TableDeleteCells' , new FCKToolbarButton( 'TableDeleteCells' , FCKLang.DeleteCells, null, null, null, true, 59 ) ) ; FCKToolbarItems.RegisterItem( 'TableMergeCells' , new FCKToolbarButton( 'TableMergeCells' , FCKLang.MergeCells, null, null, null, true, 60 ) ) ; FCKToolbarItems.RegisterItem( 'TableHorizontalSplitCell' , new FCKToolbarButton( 'TableHorizontalSplitCell' , FCKLang.SplitCell, null, null, null, true, 61 ) ) ; FCKToolbarItems.RegisterItem( 'TableCellProp' , new FCKToolbarButton( 'TableCellProp' , FCKLang.CellProperties, null, null, null, true, 57 ) ) ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This plugin register Toolbar items for the combos modifying the style to * not show the box. */ FCKToolbarItems.RegisterItem( 'SourceSimple' , new FCKToolbarButton( 'Source', FCKLang.Source, null, FCK_TOOLBARITEM_ONLYICON, true, true, 1 ) ) ; FCKToolbarItems.RegisterItem( 'StyleSimple' , new FCKToolbarStyleCombo( null, FCK_TOOLBARITEM_ONLYTEXT ) ) ; FCKToolbarItems.RegisterItem( 'FontNameSimple' , new FCKToolbarFontsCombo( null, FCK_TOOLBARITEM_ONLYTEXT ) ) ; FCKToolbarItems.RegisterItem( 'FontSizeSimple' , new FCKToolbarFontSizeCombo( null, FCK_TOOLBARITEM_ONLYTEXT ) ) ; FCKToolbarItems.RegisterItem( 'FontFormatSimple', new FCKToolbarFontFormatCombo( null, FCK_TOOLBARITEM_ONLYTEXT ) ) ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Plugin to insert "Placeholders" in the editor. */ // Register the related command. FCKCommands.RegisterCommand( 'Placeholder', new FCKDialogCommand( 'Placeholder', FCKLang.PlaceholderDlgTitle, FCKPlugins.Items['placeholder'].Path + 'fck_placeholder.html', 340, 160 ) ) ; // Create the "Plaholder" toolbar button. var oPlaceholderItem = new FCKToolbarButton( 'Placeholder', FCKLang.PlaceholderBtn ) ; oPlaceholderItem.IconPath = FCKPlugins.Items['placeholder'].Path + 'placeholder.gif' ; FCKToolbarItems.RegisterItem( 'Placeholder', oPlaceholderItem ) ; // The object used for all Placeholder operations. var FCKPlaceholders = new Object() ; // Add a new placeholder at the actual selection. FCKPlaceholders.Add = function( name ) { var oSpan = FCK.InsertElement( 'span' ) ; this.SetupSpan( oSpan, name ) ; } FCKPlaceholders.SetupSpan = function( span, name ) { span.innerHTML = '[[ ' + name + ' ]]' ; span.style.backgroundColor = '#ffff00' ; span.style.color = '#000000' ; if ( FCKBrowserInfo.IsGecko ) span.style.cursor = 'default' ; span._fckplaceholder = name ; span.contentEditable = false ; // To avoid it to be resized. span.onresizestart = function() { FCK.EditorWindow.event.returnValue = false ; return false ; } } // On Gecko we must do this trick so the user select all the SPAN when clicking on it. FCKPlaceholders._SetupClickListener = function() { FCKPlaceholders._ClickListener = function( e ) { if ( e.target.tagName == 'SPAN' && e.target._fckplaceholder ) FCKSelection.SelectNode( e.target ) ; } FCK.EditorDocument.addEventListener( 'click', FCKPlaceholders._ClickListener, true ) ; } // Open the Placeholder dialog on double click. FCKPlaceholders.OnDoubleClick = function( span ) { if ( span.tagName == 'SPAN' && span._fckplaceholder ) FCKCommands.GetCommand( 'Placeholder' ).Execute() ; } FCK.RegisterDoubleClickHandler( FCKPlaceholders.OnDoubleClick, 'SPAN' ) ; // Check if a Placholder name is already in use. FCKPlaceholders.Exist = function( name ) { var aSpans = FCK.EditorDocument.getElementsByTagName( 'SPAN' ) ; for ( var i = 0 ; i < aSpans.length ; i++ ) { if ( aSpans[i]._fckplaceholder == name ) return true ; } return false ; } if ( FCKBrowserInfo.IsIE ) { FCKPlaceholders.Redraw = function() { if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG ) return ; var aPlaholders = FCK.EditorDocument.body.innerText.match( /\[\[[^\[\]]+\]\]/g ) ; if ( !aPlaholders ) return ; var oRange = FCK.EditorDocument.body.createTextRange() ; for ( var i = 0 ; i < aPlaholders.length ; i++ ) { if ( oRange.findText( aPlaholders[i] ) ) { var sName = aPlaholders[i].match( /\[\[\s*([^\]]*?)\s*\]\]/ )[1] ; oRange.pasteHTML( '<span style="color: #000000; background-color: #ffff00" contenteditable="false" _fckplaceholder="' + sName + '">' + aPlaholders[i] + '</span>' ) ; } } } } else { FCKPlaceholders.Redraw = function() { if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG ) return ; var oInteractor = FCK.EditorDocument.createTreeWalker( FCK.EditorDocument.body, NodeFilter.SHOW_TEXT, FCKPlaceholders._AcceptNode, true ) ; var aNodes = new Array() ; while ( ( oNode = oInteractor.nextNode() ) ) { aNodes[ aNodes.length ] = oNode ; } for ( var n = 0 ; n < aNodes.length ; n++ ) { var aPieces = aNodes[n].nodeValue.split( /(\[\[[^\[\]]+\]\])/g ) ; for ( var i = 0 ; i < aPieces.length ; i++ ) { if ( aPieces[i].length > 0 ) { if ( aPieces[i].indexOf( '[[' ) == 0 ) { var sName = aPieces[i].match( /\[\[\s*([^\]]*?)\s*\]\]/ )[1] ; var oSpan = FCK.EditorDocument.createElement( 'span' ) ; FCKPlaceholders.SetupSpan( oSpan, sName ) ; aNodes[n].parentNode.insertBefore( oSpan, aNodes[n] ) ; } else aNodes[n].parentNode.insertBefore( FCK.EditorDocument.createTextNode( aPieces[i] ) , aNodes[n] ) ; } } aNodes[n].parentNode.removeChild( aNodes[n] ) ; } FCKPlaceholders._SetupClickListener() ; } FCKPlaceholders._AcceptNode = function( node ) { if ( /\[\[[^\[\]]+\]\]/.test( node.nodeValue ) ) return NodeFilter.FILTER_ACCEPT ; else return NodeFilter.FILTER_SKIP ; } } FCK.Events.AttachEvent( 'OnAfterSetHTML', FCKPlaceholders.Redraw ) ; // We must process the SPAN tags to replace then with the real resulting value of the placeholder. FCKXHtml.TagProcessors['span'] = function( node, htmlNode ) { if ( htmlNode._fckplaceholder ) node = FCKXHtml.XML.createTextNode( '[[' + htmlNode._fckplaceholder + ']]' ) ; else FCKXHtml._AppendChildNodes( node, htmlNode, false ) ; return node ; }
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Placholder Italian language file. */ FCKLang.PlaceholderBtn = 'Aggiungi/Modifica Placeholder' ; FCKLang.PlaceholderDlgTitle = 'Proprietà del Placeholder' ; FCKLang.PlaceholderDlgName = 'Nome del Placeholder' ; FCKLang.PlaceholderErrNoName = 'Digitare il nome del placeholder' ; FCKLang.PlaceholderErrNameInUse = 'Il nome inserito è già in uso' ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Placholder Spanish language file. */ FCKLang.PlaceholderBtn = 'Insertar/Editar contenedor' ; FCKLang.PlaceholderDlgTitle = 'Propiedades del contenedor ' ; FCKLang.PlaceholderDlgName = 'Nombre de contenedor' ; FCKLang.PlaceholderErrNoName = 'Por favor escriba el nombre de contenedor' ; FCKLang.PlaceholderErrNameInUse = 'El nombre especificado ya esta en uso' ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Placeholder French language file. */ FCKLang.PlaceholderBtn = "Insérer/Modifier l'Espace réservé" ; FCKLang.PlaceholderDlgTitle = "Propriétés de l'Espace réservé" ; FCKLang.PlaceholderDlgName = "Nom de l'Espace réservé" ; FCKLang.PlaceholderErrNoName = "Veuillez saisir le nom de l'Espace réservé" ; FCKLang.PlaceholderErrNameInUse = "Ce nom est déjà utilisé" ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Placholder German language file. */ FCKLang.PlaceholderBtn = 'Einfügen/editieren Platzhalter' ; FCKLang.PlaceholderDlgTitle = 'Platzhalter Eigenschaften' ; FCKLang.PlaceholderDlgName = 'Platzhalter Name' ; FCKLang.PlaceholderErrNoName = 'Bitte den Namen des Platzhalters schreiben' ; FCKLang.PlaceholderErrNameInUse = 'Der angegebene Namen ist schon in Gebrauch' ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Placholder English language file. */ FCKLang.PlaceholderBtn = 'Insert/Edit Placeholder' ; FCKLang.PlaceholderDlgTitle = 'Placeholder Properties' ; FCKLang.PlaceholderDlgName = 'Placeholder Name' ; FCKLang.PlaceholderErrNoName = 'Please type the placeholder name' ; FCKLang.PlaceholderErrNameInUse = 'The specified name is already in use' ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Placholder Polish language file. */ FCKLang.PlaceholderBtn = 'Wstaw/Edytuj nagłówek' ; FCKLang.PlaceholderDlgTitle = 'Właśności nagłówka' ; FCKLang.PlaceholderDlgName = 'Nazwa nagłówka' ; FCKLang.PlaceholderErrNoName = 'Proszę wprowadzić nazwę nagłówka' ; FCKLang.PlaceholderErrNameInUse = 'Podana nazwa jest już w użyciu' ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Plugin: automatically resizes the editor until a configurable maximun * height (FCKConfig.AutoGrowMax), based on its contents. */ var FCKAutoGrow_Min = window.frameElement.offsetHeight ; function FCKAutoGrow_Check() { var oInnerDoc = FCK.EditorDocument ; var iFrameHeight, iInnerHeight ; if ( FCKBrowserInfo.IsIE ) { iFrameHeight = FCK.EditorWindow.frameElement.offsetHeight ; iInnerHeight = oInnerDoc.body.scrollHeight ; } else { iFrameHeight = FCK.EditorWindow.innerHeight ; iInnerHeight = oInnerDoc.body.offsetHeight ; } var iDiff = iInnerHeight - iFrameHeight ; if ( iDiff != 0 ) { var iMainFrameSize = window.frameElement.offsetHeight ; if ( iDiff > 0 && iMainFrameSize < FCKConfig.AutoGrowMax ) { iMainFrameSize += iDiff ; if ( iMainFrameSize > FCKConfig.AutoGrowMax ) iMainFrameSize = FCKConfig.AutoGrowMax ; } else if ( iDiff < 0 && iMainFrameSize > FCKAutoGrow_Min ) { iMainFrameSize += iDiff ; if ( iMainFrameSize < FCKAutoGrow_Min ) iMainFrameSize = FCKAutoGrow_Min ; } else return ; window.frameElement.height = iMainFrameSize ; // Gecko browsers use an onresize handler to update the innermost // IFRAME's height. If the document is modified before the onresize // is triggered, the plugin will miscalculate the new height. Thus, // forcibly trigger onresize. #1336 if ( typeof window.onresize == 'function' ) window.onresize() ; } } FCK.AttachToOnSelectionChange( FCKAutoGrow_Check ) ; function FCKAutoGrow_SetListeners() { if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG ) return ; FCK.EditorWindow.attachEvent( 'onscroll', FCKAutoGrow_Check ) ; FCK.EditorDocument.attachEvent( 'onkeyup', FCKAutoGrow_Check ) ; } if ( FCKBrowserInfo.IsIE ) { // FCKAutoGrow_SetListeners() ; FCK.Events.AttachEvent( 'OnAfterSetHTML', FCKAutoGrow_SetListeners ) ; } function FCKAutoGrow_CheckEditorStatus( sender, status ) { if ( status == FCK_STATUS_COMPLETE ) FCKAutoGrow_Check() ; } FCK.Events.AttachEvent( 'OnStatusChange', FCKAutoGrow_CheckEditorStatus ) ;
JavaScript
var FCKDragTableHandler = { "_DragState" : 0, "_LeftCell" : null, "_RightCell" : null, "_MouseMoveMode" : 0, // 0 - find candidate cells for resizing, 1 - drag to resize "_ResizeBar" : null, "_OriginalX" : null, "_MinimumX" : null, "_MaximumX" : null, "_LastX" : null, "_TableMap" : null, "_doc" : document, "_IsInsideNode" : function( w, domNode, pos ) { var myCoords = FCKTools.GetWindowPosition( w, domNode ) ; var xMin = myCoords.x ; var yMin = myCoords.y ; var xMax = parseInt( xMin, 10 ) + parseInt( domNode.offsetWidth, 10 ) ; var yMax = parseInt( yMin, 10 ) + parseInt( domNode.offsetHeight, 10 ) ; if ( pos.x >= xMin && pos.x <= xMax && pos.y >= yMin && pos.y <= yMax ) return true; return false; }, "_GetBorderCells" : function( w, tableNode, tableMap, mouse ) { // Enumerate all the cells in the table. var cells = [] ; for ( var i = 0 ; i < tableNode.rows.length ; i++ ) { var r = tableNode.rows[i] ; for ( var j = 0 ; j < r.cells.length ; j++ ) cells.push( r.cells[j] ) ; } if ( cells.length < 1 ) return null ; // Get the cells whose right or left border is nearest to the mouse cursor's x coordinate. var minRxDist = null ; var lxDist = null ; var minYDist = null ; var rbCell = null ; var lbCell = null ; for ( var i = 0 ; i < cells.length ; i++ ) { var pos = FCKTools.GetWindowPosition( w, cells[i] ) ; var rightX = pos.x + parseInt( cells[i].clientWidth, 10 ) ; var rxDist = mouse.x - rightX ; var yDist = mouse.y - ( pos.y + ( cells[i].clientHeight / 2 ) ) ; if ( minRxDist == null || ( Math.abs( rxDist ) <= Math.abs( minRxDist ) && ( minYDist == null || Math.abs( yDist ) <= Math.abs( minYDist ) ) ) ) { minRxDist = rxDist ; minYDist = yDist ; rbCell = cells[i] ; } } /* var rowNode = FCKTools.GetElementAscensor( rbCell, "tr" ) ; var cellIndex = rbCell.cellIndex + 1 ; if ( cellIndex >= rowNode.cells.length ) return null ; lbCell = rowNode.cells.item( cellIndex ) ; */ var rowIdx = rbCell.parentNode.rowIndex ; var colIdx = FCKTableHandler._GetCellIndexSpan( tableMap, rowIdx, rbCell ) ; var colSpan = isNaN( rbCell.colSpan ) ? 1 : rbCell.colSpan ; lbCell = tableMap[rowIdx][colIdx + colSpan] ; if ( ! lbCell ) return null ; // Abort if too far from the border. lxDist = mouse.x - FCKTools.GetWindowPosition( w, lbCell ).x ; if ( lxDist < 0 && minRxDist < 0 && minRxDist < -2 ) return null ; if ( lxDist > 0 && minRxDist > 0 && lxDist > 3 ) return null ; return { "leftCell" : rbCell, "rightCell" : lbCell } ; }, "_GetResizeBarPosition" : function() { var row = FCKTools.GetElementAscensor( this._RightCell, "tr" ) ; return FCKTableHandler._GetCellIndexSpan( this._TableMap, row.rowIndex, this._RightCell ) ; }, "_ResizeBarMouseDownListener" : function( evt ) { if ( FCKDragTableHandler._LeftCell ) FCKDragTableHandler._MouseMoveMode = 1 ; if ( FCKBrowserInfo.IsIE ) FCKDragTableHandler._ResizeBar.filters.item("DXImageTransform.Microsoft.Alpha").opacity = 50 ; else FCKDragTableHandler._ResizeBar.style.opacity = 0.5 ; FCKDragTableHandler._OriginalX = evt.clientX ; // Calculate maximum and minimum x-coordinate delta. var borderIndex = FCKDragTableHandler._GetResizeBarPosition() ; var offset = FCKDragTableHandler._GetIframeOffset(); var table = FCKTools.GetElementAscensor( FCKDragTableHandler._LeftCell, "table" ); var minX = null ; var maxX = null ; for ( var r = 0 ; r < FCKDragTableHandler._TableMap.length ; r++ ) { var leftCell = FCKDragTableHandler._TableMap[r][borderIndex - 1] ; var rightCell = FCKDragTableHandler._TableMap[r][borderIndex] ; var leftPosition = FCKTools.GetWindowPosition( FCK.EditorWindow, leftCell ) ; var rightPosition = FCKTools.GetWindowPosition( FCK.EditorWindow, rightCell ) ; var leftPadding = FCKDragTableHandler._GetCellPadding( table, leftCell ) ; var rightPadding = FCKDragTableHandler._GetCellPadding( table, rightCell ) ; if ( minX == null || leftPosition.x + leftPadding > minX ) minX = leftPosition.x + leftPadding ; if ( maxX == null || rightPosition.x + rightCell.clientWidth - rightPadding < maxX ) maxX = rightPosition.x + rightCell.clientWidth - rightPadding ; } FCKDragTableHandler._MinimumX = minX + offset.x ; FCKDragTableHandler._MaximumX = maxX + offset.x ; FCKDragTableHandler._LastX = null ; if (evt.preventDefault) evt.preventDefault(); else evt.returnValue = false; }, "_ResizeBarMouseUpListener" : function( evt ) { FCKDragTableHandler._MouseMoveMode = 0 ; FCKDragTableHandler._HideResizeBar() ; if ( FCKDragTableHandler._LastX == null ) return ; // Calculate the delta value. var deltaX = FCKDragTableHandler._LastX - FCKDragTableHandler._OriginalX ; // Then, build an array of current column width values. // This algorithm can be very slow if the cells have insane colSpan values. (e.g. colSpan=1000). var table = FCKTools.GetElementAscensor( FCKDragTableHandler._LeftCell, "table" ) ; var colArray = [] ; var tableMap = FCKDragTableHandler._TableMap ; for ( var i = 0 ; i < tableMap.length ; i++ ) { for ( var j = 0 ; j < tableMap[i].length ; j++ ) { var cell = tableMap[i][j] ; var width = FCKDragTableHandler._GetCellWidth( table, cell ) ; var colSpan = isNaN( cell.colSpan) ? 1 : cell.colSpan ; if ( colArray.length <= j ) colArray.push( { width : width / colSpan, colSpan : colSpan } ) ; else { var guessItem = colArray[j] ; if ( guessItem.colSpan > colSpan ) { guessItem.width = width / colSpan ; guessItem.colSpan = colSpan ; } } } } // Find out the equivalent column index of the two cells selected for resizing. colIndex = FCKDragTableHandler._GetResizeBarPosition() ; // Note that colIndex must be at least 1 here, so it's safe to subtract 1 from it. colIndex-- ; // Modify the widths in the colArray according to the mouse coordinate delta value. colArray[colIndex].width += deltaX ; colArray[colIndex + 1].width -= deltaX ; // Clear all cell widths, delete all <col> elements from the table. for ( var r = 0 ; r < table.rows.length ; r++ ) { var row = table.rows.item( r ) ; for ( var c = 0 ; c < row.cells.length ; c++ ) { var cell = row.cells.item( c ) ; cell.width = "" ; cell.style.width = "" ; } } var colElements = table.getElementsByTagName( "col" ) ; for ( var i = colElements.length - 1 ; i >= 0 ; i-- ) colElements[i].parentNode.removeChild( colElements[i] ) ; // Set new cell widths. var processedCells = [] ; for ( var i = 0 ; i < tableMap.length ; i++ ) { for ( var j = 0 ; j < tableMap[i].length ; j++ ) { var cell = tableMap[i][j] ; if ( cell._Processed ) continue ; if ( tableMap[i][j-1] != cell ) cell.width = colArray[j].width ; else cell.width = parseInt( cell.width, 10 ) + parseInt( colArray[j].width, 10 ) ; if ( tableMap[i][j+1] != cell ) { processedCells.push( cell ) ; cell._Processed = true ; } } } for ( var i = 0 ; i < processedCells.length ; i++ ) { if ( FCKBrowserInfo.IsIE ) processedCells[i].removeAttribute( '_Processed' ) ; else delete processedCells[i]._Processed ; } FCKDragTableHandler._LastX = null ; }, "_ResizeBarMouseMoveListener" : function( evt ) { if ( FCKDragTableHandler._MouseMoveMode == 0 ) return FCKDragTableHandler._MouseFindHandler( FCK, evt ) ; else return FCKDragTableHandler._MouseDragHandler( FCK, evt ) ; }, // Calculate the padding of a table cell. // It returns the value of paddingLeft + paddingRight of a table cell. // This function is used, in part, to calculate the width parameter that should be used for setting cell widths. // The equation in question is clientWidth = paddingLeft + paddingRight + width. // So that width = clientWidth - paddingLeft - paddingRight. // The return value of this function must be pixel accurate acorss all supported browsers, so be careful if you need to modify it. "_GetCellPadding" : function( table, cell ) { var attrGuess = parseInt( table.cellPadding, 10 ) * 2 ; var cssGuess = null ; if ( typeof( window.getComputedStyle ) == "function" ) { var styleObj = window.getComputedStyle( cell, null ) ; cssGuess = parseInt( styleObj.getPropertyValue( "padding-left" ), 10 ) + parseInt( styleObj.getPropertyValue( "padding-right" ), 10 ) ; } else cssGuess = parseInt( cell.currentStyle.paddingLeft, 10 ) + parseInt (cell.currentStyle.paddingRight, 10 ) ; var cssRuntime = cell.style.padding ; if ( isFinite( cssRuntime ) ) cssGuess = parseInt( cssRuntime, 10 ) * 2 ; else { cssRuntime = cell.style.paddingLeft ; if ( isFinite( cssRuntime ) ) cssGuess = parseInt( cssRuntime, 10 ) ; cssRuntime = cell.style.paddingRight ; if ( isFinite( cssRuntime ) ) cssGuess += parseInt( cssRuntime, 10 ) ; } attrGuess = parseInt( attrGuess, 10 ) ; cssGuess = parseInt( cssGuess, 10 ) ; if ( isNaN( attrGuess ) ) attrGuess = 0 ; if ( isNaN( cssGuess ) ) cssGuess = 0 ; return Math.max( attrGuess, cssGuess ) ; }, // Calculate the real width of the table cell. // The real width of the table cell is the pixel width that you can set to the width attribute of the table cell and after // that, the table cell should be of exactly the same width as before. // The real width of a table cell can be calculated as: // width = clientWidth - paddingLeft - paddingRight. "_GetCellWidth" : function( table, cell ) { var clientWidth = cell.clientWidth ; if ( isNaN( clientWidth ) ) clientWidth = 0 ; return clientWidth - this._GetCellPadding( table, cell ) ; }, "MouseMoveListener" : function( FCK, evt ) { if ( FCKDragTableHandler._MouseMoveMode == 0 ) return FCKDragTableHandler._MouseFindHandler( FCK, evt ) ; else return FCKDragTableHandler._MouseDragHandler( FCK, evt ) ; }, "_MouseFindHandler" : function( FCK, evt ) { if ( FCK.MouseDownFlag ) return ; var node = evt.srcElement || evt.target ; try { if ( ! node || node.nodeType != 1 ) { this._HideResizeBar() ; return ; } } catch ( e ) { this._HideResizeBar() ; return ; } // Since this function might be called from the editing area iframe or the outer fckeditor iframe, // the mouse point coordinates from evt.clientX/Y can have different reference points. // We need to resolve the mouse pointer position relative to the editing area iframe. var mouseX = evt.clientX ; var mouseY = evt.clientY ; if ( FCKTools.GetElementDocument( node ) == document ) { var offset = this._GetIframeOffset() ; mouseX -= offset.x ; mouseY -= offset.y ; } if ( this._ResizeBar && this._LeftCell ) { var leftPos = FCKTools.GetWindowPosition( FCK.EditorWindow, this._LeftCell ) ; var rightPos = FCKTools.GetWindowPosition( FCK.EditorWindow, this._RightCell ) ; var rxDist = mouseX - ( leftPos.x + this._LeftCell.clientWidth ) ; var lxDist = mouseX - rightPos.x ; var inRangeFlag = false ; if ( lxDist >= 0 && rxDist <= 0 ) inRangeFlag = true ; else if ( rxDist > 0 && lxDist <= 3 ) inRangeFlag = true ; else if ( lxDist < 0 && rxDist >= -2 ) inRangeFlag = true ; if ( inRangeFlag ) { this._ShowResizeBar( FCK.EditorWindow, FCKTools.GetElementAscensor( this._LeftCell, "table" ), { "x" : mouseX, "y" : mouseY } ) ; return ; } } var tagName = node.tagName.toLowerCase() ; if ( tagName != "table" && tagName != "td" && tagName != "th" ) { if ( this._LeftCell ) this._LeftCell = this._RightCell = this._TableMap = null ; this._HideResizeBar() ; return ; } node = FCKTools.GetElementAscensor( node, "table" ) ; var tableMap = FCKTableHandler._CreateTableMap( node ) ; var cellTuple = this._GetBorderCells( FCK.EditorWindow, node, tableMap, { "x" : mouseX, "y" : mouseY } ) ; if ( cellTuple == null ) { if ( this._LeftCell ) this._LeftCell = this._RightCell = this._TableMap = null ; this._HideResizeBar() ; } else { this._LeftCell = cellTuple["leftCell"] ; this._RightCell = cellTuple["rightCell"] ; this._TableMap = tableMap ; this._ShowResizeBar( FCK.EditorWindow, FCKTools.GetElementAscensor( this._LeftCell, "table" ), { "x" : mouseX, "y" : mouseY } ) ; } }, "_MouseDragHandler" : function( FCK, evt ) { var mouse = { "x" : evt.clientX, "y" : evt.clientY } ; // Convert mouse coordinates in reference to the outer iframe. var node = evt.srcElement || evt.target ; if ( FCKTools.GetElementDocument( node ) == FCK.EditorDocument ) { var offset = this._GetIframeOffset() ; mouse.x += offset.x ; mouse.y += offset.y ; } // Calculate the mouse position delta and see if we've gone out of range. if ( mouse.x >= this._MaximumX - 5 ) mouse.x = this._MaximumX - 5 ; if ( mouse.x <= this._MinimumX + 5 ) mouse.x = this._MinimumX + 5 ; var docX = mouse.x + FCKTools.GetScrollPosition( window ).X ; this._ResizeBar.style.left = ( docX - this._ResizeBar.offsetWidth / 2 ) + "px" ; this._LastX = mouse.x ; }, "_ShowResizeBar" : function( w, table, mouse ) { if ( this._ResizeBar == null ) { this._ResizeBar = this._doc.createElement( "div" ) ; var paddingBar = this._ResizeBar ; var paddingStyles = { 'position' : 'absolute', 'cursor' : 'e-resize' } ; if ( FCKBrowserInfo.IsIE ) paddingStyles.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity=10,enabled=true)" ; else paddingStyles.opacity = 0.10 ; FCKDomTools.SetElementStyles( paddingBar, paddingStyles ) ; this._avoidStyles( paddingBar ); paddingBar.setAttribute('_fcktemp', true); this._doc.body.appendChild( paddingBar ) ; FCKTools.AddEventListener( paddingBar, "mousemove", this._ResizeBarMouseMoveListener ) ; FCKTools.AddEventListener( paddingBar, "mousedown", this._ResizeBarMouseDownListener ) ; FCKTools.AddEventListener( document, "mouseup", this._ResizeBarMouseUpListener ) ; FCKTools.AddEventListener( FCK.EditorDocument, "mouseup", this._ResizeBarMouseUpListener ) ; // IE doesn't let the tranparent part of the padding block to receive mouse events unless there's something inside. // So we need to create a spacer image to fill the block up. var filler = this._doc.createElement( "img" ) ; filler.setAttribute('_fcktemp', true); filler.border = 0 ; filler.src = FCKConfig.BasePath + "images/spacer.gif" ; filler.style.position = "absolute" ; paddingBar.appendChild( filler ) ; // Disable drag and drop, and selection for the filler image. var disabledListener = function( evt ) { if ( evt.preventDefault ) evt.preventDefault() ; else evt.returnValue = false ; } FCKTools.AddEventListener( filler, "dragstart", disabledListener ) ; FCKTools.AddEventListener( filler, "selectstart", disabledListener ) ; } var paddingBar = this._ResizeBar ; var offset = this._GetIframeOffset() ; var tablePos = this._GetTablePosition( w, table ) ; var barHeight = table.offsetHeight ; var barTop = offset.y + tablePos.y ; // Do not let the resize bar intrude into the toolbar area. if ( tablePos.y < 0 ) { barHeight += tablePos.y ; barTop -= tablePos.y ; } var bw = parseInt( table.border, 10 ) ; if ( isNaN( bw ) ) bw = 0 ; var cs = parseInt( table.cellSpacing, 10 ) ; if ( isNaN( cs ) ) cs = 0 ; var barWidth = Math.max( bw+100, cs+100 ) ; var paddingStyles = { 'top' : barTop + 'px', 'height' : barHeight + 'px', 'width' : barWidth + 'px', 'left' : ( offset.x + mouse.x + FCKTools.GetScrollPosition( w ).X - barWidth / 2 ) + 'px' } ; if ( FCKBrowserInfo.IsIE ) paddingBar.filters.item("DXImageTransform.Microsoft.Alpha").opacity = 10 ; else paddingStyles.opacity = 0.1 ; FCKDomTools.SetElementStyles( paddingBar, paddingStyles ) ; var filler = paddingBar.getElementsByTagName( "img" )[0] ; FCKDomTools.SetElementStyles( filler, { width : paddingBar.offsetWidth + 'px', height : barHeight + 'px' } ) ; barWidth = Math.max( bw, cs, 3 ) ; var visibleBar = null ; if ( paddingBar.getElementsByTagName( "div" ).length < 1 ) { visibleBar = this._doc.createElement( "div" ) ; this._avoidStyles( visibleBar ); visibleBar.setAttribute('_fcktemp', true); paddingBar.appendChild( visibleBar ) ; } else visibleBar = paddingBar.getElementsByTagName( "div" )[0] ; FCKDomTools.SetElementStyles( visibleBar, { position : 'absolute', backgroundColor : 'blue', width : barWidth + 'px', height : barHeight + 'px', left : '50px', top : '0px' } ) ; }, "_HideResizeBar" : function() { if ( this._ResizeBar ) // IE bug: display : none does not hide the resize bar for some reason. // so set the position to somewhere invisible. FCKDomTools.SetElementStyles( this._ResizeBar, { top : '-100000px', left : '-100000px' } ) ; }, "_GetIframeOffset" : function () { return FCKTools.GetDocumentPosition( window, FCK.EditingArea.IFrame ) ; }, "_GetTablePosition" : function ( w, table ) { return FCKTools.GetWindowPosition( w, table ) ; }, "_avoidStyles" : function( element ) { FCKDomTools.SetElementStyles( element, { padding : '0', backgroundImage : 'none', border : '0' } ) ; } }; FCK.Events.AttachEvent( "OnMouseMove", FCKDragTableHandler.MouseMoveListener ) ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * This is a sample implementation for a custom Data Processor for basic BBCode. */ FCK.DataProcessor = { /* * Returns a string representing the HTML format of "data". The returned * value will be loaded in the editor. * The HTML must be from <html> to </html>, eventually including * the DOCTYPE. * @param {String} data The data to be converted in the * DataProcessor specific format. */ ConvertToHtml : function( data ) { // Convert < and > to their HTML entities. data = data.replace( /</g, '&lt;' ) ; data = data.replace( />/g, '&gt;' ) ; // Convert line breaks to <br>. data = data.replace( /(?:\r\n|\n|\r)/g, '<br>' ) ; // [url] data = data.replace( /\[url\](.+?)\[\/url]/gi, '<a href="$1">$1</a>' ) ; data = data.replace( /\[url\=([^\]]+)](.+?)\[\/url]/gi, '<a href="$1">$2</a>' ) ; // [b] data = data.replace( /\[b\](.+?)\[\/b]/gi, '<b>$1</b>' ) ; // [i] data = data.replace( /\[i\](.+?)\[\/i]/gi, '<i>$1</i>' ) ; // [u] data = data.replace( /\[u\](.+?)\[\/u]/gi, '<u>$1</u>' ) ; return '<html><head><title></title></head><body>' + data + '</body></html>' ; }, /* * Converts a DOM (sub-)tree to a string in the data format. * @param {Object} rootNode The node that contains the DOM tree to be * converted to the data format. * @param {Boolean} excludeRoot Indicates that the root node must not * be included in the conversion, only its children. * @param {Boolean} format Indicates that the data must be formatted * for human reading. Not all Data Processors may provide it. */ ConvertToDataFormat : function( rootNode, excludeRoot, ignoreIfEmptyParagraph, format ) { var data = rootNode.innerHTML ; // Convert <br> to line breaks. data = data.replace( /<br(?=[ \/>]).*?>/gi, '\r\n') ; // [url] data = data.replace( /<a .*?href=(["'])(.+?)\1.*?>(.+?)<\/a>/gi, '[url=$2]$3[/url]') ; // [b] data = data.replace( /<(?:b|strong)>/gi, '[b]') ; data = data.replace( /<\/(?:b|strong)>/gi, '[/b]') ; // [i] data = data.replace( /<(?:i|em)>/gi, '[i]') ; data = data.replace( /<\/(?:i|em)>/gi, '[/i]') ; // [u] data = data.replace( /<u>/gi, '[u]') ; data = data.replace( /<\/u>/gi, '[/u]') ; // Remove remaining tags. data = data.replace( /<[^>]+>/g, '') ; return data ; }, /* * Makes any necessary changes to a piece of HTML for insertion in the * editor selection position. * @param {String} html The HTML to be fixed. */ FixHtml : function( html ) { return html ; } } ; // This Data Processor doesn't support <p>, so let's use <br>. FCKConfig.EnterMode = 'br' ; // To avoid pasting invalid markup (which is discarded in any case), let's // force pasting to plain text. FCKConfig.ForcePasteAsPlainText = true ; // Rename the "Source" buttom to "BBCode". FCKToolbarItems.RegisterItem( 'Source', new FCKToolbarButton( 'Source', 'BBCode', null, FCK_TOOLBARITEM_ICONTEXT, true, true, 1 ) ) ; // Let's enforce the toolbar to the limits of this Data Processor. A custom // toolbar set may be defined in the configuration file with more or less entries. FCKConfig.ToolbarSets["Default"] = [ ['Source'], ['Bold','Italic','Underline','-','Link'], ['About'] ] ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Sample custom configuration settings used by the BBCode plugin. It simply * loads the plugin. All the rest is done by the plugin itself. */ // Add the BBCode plugin. FCKConfig.Plugins.Add( 'bbcode' ) ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Contains the DTD mapping for XHTML 1.0 Transitional. * This file was automatically generated from the file: xhtml10-transitional.dtd */ FCK.DTD = (function() { var X = FCKTools.Merge ; var A,L,J,M,N,O,D,H,P,K,Q,F,G,C,B,E,I ; A = {isindex:1, fieldset:1} ; B = {input:1, button:1, select:1, textarea:1, label:1} ; C = X({a:1}, B) ; D = X({iframe:1}, C) ; E = {hr:1, ul:1, menu:1, div:1, blockquote:1, noscript:1, table:1, center:1, address:1, dir:1, pre:1, h5:1, dl:1, h4:1, noframes:1, h6:1, ol:1, h1:1, h3:1, h2:1} ; F = {ins:1, del:1, script:1} ; G = X({b:1, acronym:1, bdo:1, 'var':1, '#':1, abbr:1, code:1, br:1, i:1, cite:1, kbd:1, u:1, strike:1, s:1, tt:1, strong:1, q:1, samp:1, em:1, dfn:1, span:1}, F) ; H = X({sub:1, img:1, object:1, sup:1, basefont:1, map:1, applet:1, font:1, big:1, small:1}, G) ; I = X({p:1}, H) ; J = X({iframe:1}, H, B) ; K = {img:1, noscript:1, br:1, kbd:1, center:1, button:1, basefont:1, h5:1, h4:1, samp:1, h6:1, ol:1, h1:1, h3:1, h2:1, form:1, font:1, '#':1, select:1, menu:1, ins:1, abbr:1, label:1, code:1, table:1, script:1, cite:1, input:1, iframe:1, strong:1, textarea:1, noframes:1, big:1, small:1, span:1, hr:1, sub:1, bdo:1, 'var':1, div:1, object:1, sup:1, strike:1, dir:1, map:1, dl:1, applet:1, del:1, isindex:1, fieldset:1, ul:1, b:1, acronym:1, a:1, blockquote:1, i:1, u:1, s:1, tt:1, address:1, q:1, pre:1, p:1, em:1, dfn:1} ; L = X({a:1}, J) ; M = {tr:1} ; N = {'#':1} ; O = X({param:1}, K) ; P = X({form:1}, A, D, E, I) ; Q = {li:1} ; return { col: {}, tr: {td:1, th:1}, img: {}, colgroup: {col:1}, noscript: P, td: P, br: {}, th: P, center: P, kbd: L, button: X(I, E), basefont: {}, h5: L, h4: L, samp: L, h6: L, ol: Q, h1: L, h3: L, option: N, h2: L, form: X(A, D, E, I), select: {optgroup:1, option:1}, font: J, // Changed from L to J (see (1)) ins: P, menu: Q, abbr: L, label: L, table: {thead:1, col:1, tbody:1, tr:1, colgroup:1, caption:1, tfoot:1}, code: L, script: N, tfoot: M, cite: L, li: P, input: {}, iframe: P, strong: J, // Changed from L to J (see (1)) textarea: N, noframes: P, big: J, // Changed from L to J (see (1)) small: J, // Changed from L to J (see (1)) span: J, // Changed from L to J (see (1)) hr: {}, dt: L, sub: J, // Changed from L to J (see (1)) optgroup: {option:1}, param: {}, bdo: L, 'var': J, // Changed from L to J (see (1)) div: P, object: O, sup: J, // Changed from L to J (see (1)) dd: P, strike: J, // Changed from L to J (see (1)) area: {}, dir: Q, map: X({area:1, form:1, p:1}, A, F, E), applet: O, dl: {dt:1, dd:1}, del: P, isindex: {}, fieldset: X({legend:1}, K), thead: M, ul: Q, acronym: L, b: J, // Changed from L to J (see (1)) a: J, blockquote: P, caption: L, i: J, // Changed from L to J (see (1)) u: J, // Changed from L to J (see (1)) tbody: M, s: L, address: X(D, I), tt: J, // Changed from L to J (see (1)) legend: L, q: L, pre: X(G, C), p: L, em: J, // Changed from L to J (see (1)) dfn: L } ; })() ; /* Notes: (1) According to the DTD, many elements, like <b> accept <a> elements inside of them. But, to produce better output results, we have manually changed the map to avoid breaking the links on pieces, having "<b>this is a </b><a><b>link</b> test</a>", instead of "<b>this is a <a>link</a></b><a> test</a>". */
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Contains the DTD mapping for XHTML 1.0 Strict. * This file was automatically generated from the file: xhtml10-strict.dtd */ FCK.DTD = (function() { var X = FCKTools.Merge ; var H,I,J,K,C,L,M,A,B,D,E,G,N,F ; A = {ins:1, del:1, script:1} ; B = {hr:1, ul:1, div:1, blockquote:1, noscript:1, table:1, address:1, pre:1, p:1, h5:1, dl:1, h4:1, ol:1, h6:1, h1:1, h3:1, h2:1} ; C = X({fieldset:1}, B) ; D = X({sub:1, bdo:1, 'var':1, sup:1, br:1, kbd:1, map:1, samp:1, b:1, acronym:1, '#':1, abbr:1, code:1, i:1, cite:1, tt:1, strong:1, q:1, em:1, big:1, small:1, span:1, dfn:1}, A) ; E = X({img:1, object:1}, D) ; F = {input:1, button:1, textarea:1, select:1, label:1} ; G = X({a:1}, F) ; H = {img:1, noscript:1, br:1, kbd:1, button:1, h5:1, h4:1, samp:1, h6:1, ol:1, h1:1, h3:1, h2:1, form:1, select:1, '#':1, ins:1, abbr:1, label:1, code:1, table:1, script:1, cite:1, input:1, strong:1, textarea:1, big:1, small:1, span:1, hr:1, sub:1, bdo:1, 'var':1, div:1, object:1, sup:1, map:1, dl:1, del:1, fieldset:1, ul:1, b:1, acronym:1, a:1, blockquote:1, i:1, address:1, tt:1, q:1, pre:1, p:1, em:1, dfn:1} ; I = X({form:1, fieldset:1}, B, E, G) ; J = {tr:1} ; K = {'#':1} ; L = X(E, G) ; M = {li:1} ; N = X({form:1}, A, C) ; return { col: {}, tr: {td:1, th:1}, img: {}, colgroup: {col:1}, noscript: N, td: I, br: {}, th: I, kbd: L, button: X(B, E), h5: L, h4: L, samp: L, h6: L, ol: M, h1: L, h3: L, option: K, h2: L, form: X(A, C), select: {optgroup:1, option:1}, ins: I, abbr: L, label: L, code: L, table: {thead:1, col:1, tbody:1, tr:1, colgroup:1, caption:1, tfoot:1}, script: K, tfoot: J, cite: L, li: I, input: {}, strong: L, textarea: K, big: L, small: L, span: L, dt: L, hr: {}, sub: L, optgroup: {option:1}, bdo: L, param: {}, 'var': L, div: I, object: X({param:1}, H), sup: L, dd: I, area: {}, map: X({form:1, area:1}, A, C), dl: {dt:1, dd:1}, del: I, fieldset: X({legend:1}, H), thead: J, ul: M, acronym: L, b: L, a: X({img:1, object:1}, D, F), blockquote: N, caption: L, i: L, tbody: J, address: L, tt: L, legend: L, q: L, pre: X({a:1}, D, F), p: L, em: L, dfn: L } ; })() ;
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Finnish language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Piilota työkalurivi", ToolbarExpand : "Näytä työkalurivi", // Toolbar Items and Context Menu Save : "Tallenna", NewPage : "Tyhjennä", Preview : "Esikatsele", Cut : "Leikkaa", Copy : "Kopioi", Paste : "Liitä", PasteText : "Liitä tekstinä", PasteWord : "Liitä Wordista", Print : "Tulosta", SelectAll : "Valitse kaikki", RemoveFormat : "Poista muotoilu", InsertLinkLbl : "Linkki", InsertLink : "Lisää linkki/muokkaa linkkiä", RemoveLink : "Poista linkki", VisitLink : "Open Link", //MISSING Anchor : "Lisää ankkuri/muokkaa ankkuria", AnchorDelete : "Poista ankkuri", InsertImageLbl : "Kuva", InsertImage : "Lisää kuva/muokkaa kuvaa", InsertFlashLbl : "Flash", InsertFlash : "Lisää/muokkaa Flashia", InsertTableLbl : "Taulu", InsertTable : "Lisää taulu/muokkaa taulua", InsertLineLbl : "Murtoviiva", InsertLine : "Lisää murtoviiva", InsertSpecialCharLbl: "Erikoismerkki", InsertSpecialChar : "Lisää erikoismerkki", InsertSmileyLbl : "Hymiö", InsertSmiley : "Lisää hymiö", About : "FCKeditorista", Bold : "Lihavoitu", Italic : "Kursivoitu", Underline : "Alleviivattu", StrikeThrough : "Yliviivattu", Subscript : "Alaindeksi", Superscript : "Yläindeksi", LeftJustify : "Tasaa vasemmat reunat", CenterJustify : "Keskitä", RightJustify : "Tasaa oikeat reunat", BlockJustify : "Tasaa molemmat reunat", DecreaseIndent : "Pienennä sisennystä", IncreaseIndent : "Suurenna sisennystä", Blockquote : "Lainaus", CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "Kumoa", Redo : "Toista", NumberedListLbl : "Numerointi", NumberedList : "Lisää/poista numerointi", BulletedListLbl : "Luottelomerkit", BulletedList : "Lisää/poista luottelomerkit", ShowTableBorders : "Näytä taulun rajat", ShowDetails : "Näytä muotoilu", Style : "Tyyli", FontFormat : "Muotoilu", Font : "Fontti", FontSize : "Koko", TextColor : "Tekstiväri", BGColor : "Taustaväri", Source : "Koodi", Find : "Etsi", Replace : "Korvaa", SpellCheck : "Tarkista oikeinkirjoitus", UniversalKeyboard : "Universaali näppäimistö", PageBreakLbl : "Sivun vaihto", PageBreak : "Lisää sivun vaihto", Form : "Lomake", Checkbox : "Valintaruutu", RadioButton : "Radiopainike", TextField : "Tekstikenttä", Textarea : "Tekstilaatikko", HiddenField : "Piilokenttä", Button : "Painike", SelectionField : "Valintakenttä", ImageButton : "Kuvapainike", FitWindow : "Suurenna editori koko ikkunaan", ShowBlocks : "Näytä elementit", // Context Menu EditLink : "Muokkaa linkkiä", CellCM : "Solu", RowCM : "Rivi", ColumnCM : "Sarake", InsertRowAfter : "Lisää rivi alapuolelle", InsertRowBefore : "Lisää rivi yläpuolelle", DeleteRows : "Poista rivit", InsertColumnAfter : "Lisää sarake oikealle", InsertColumnBefore : "Lisää sarake vasemmalle", DeleteColumns : "Poista sarakkeet", InsertCellAfter : "Lisää solu perään", InsertCellBefore : "Lisää solu eteen", DeleteCells : "Poista solut", MergeCells : "Yhdistä solut", MergeRight : "Yhdistä oikealla olevan kanssa", MergeDown : "Yhdistä alla olevan kanssa", HorizontalSplitCell : "Jaa solu vaakasuunnassa", VerticalSplitCell : "Jaa solu pystysuunnassa", TableDelete : "Poista taulu", CellProperties : "Solun ominaisuudet", TableProperties : "Taulun ominaisuudet", ImageProperties : "Kuvan ominaisuudet", FlashProperties : "Flash ominaisuudet", AnchorProp : "Ankkurin ominaisuudet", ButtonProp : "Painikkeen ominaisuudet", CheckboxProp : "Valintaruudun ominaisuudet", HiddenFieldProp : "Piilokentän ominaisuudet", RadioButtonProp : "Radiopainikkeen ominaisuudet", ImageButtonProp : "Kuvapainikkeen ominaisuudet", TextFieldProp : "Tekstikentän ominaisuudet", SelectionFieldProp : "Valintakentän ominaisuudet", TextareaProp : "Tekstilaatikon ominaisuudet", FormProp : "Lomakkeen ominaisuudet", FontFormats : "Normaali;Muotoiltu;Osoite;Otsikko 1;Otsikko 2;Otsikko 3;Otsikko 4;Otsikko 5;Otsikko 6", // Alerts and Messages ProcessingXHTML : "Prosessoidaan XHTML:ää. Odota hetki...", Done : "Valmis", PasteWordConfirm : "Teksti, jonka haluat liittää, näyttää olevan kopioitu Wordista. Haluatko puhdistaa sen ennen liittämistä?", NotCompatiblePaste : "Tämä komento toimii vain Internet Explorer 5.5:ssa tai uudemmassa. Haluatko liittää ilman puhdistusta?", UnknownToolbarItem : "Tuntemanton työkalu \"%1\"", UnknownCommand : "Tuntematon komento \"%1\"", NotImplemented : "Komentoa ei ole liitetty sovellukseen", UnknownToolbarSet : "Työkalukokonaisuus \"%1\" ei ole olemassa", NoActiveX : "Selaimesi turvallisuusasetukset voivat rajoittaa joitain editorin ominaisuuksia. Sinun pitää ottaa käyttöön asetuksista \"Suorita ActiveX komponentit ja -plugin-laajennukset\". Saatat kohdata virheitä ja huomata puuttuvia ominaisuuksia.", BrowseServerBlocked : "Resurssiselainta ei voitu avata. Varmista, että ponnahdusikkunoiden estäjät eivät ole päällä.", DialogBlocked : "Apuikkunaa ei voitu avaata. Varmista, että ponnahdusikkunoiden estäjät eivät ole päällä.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Peruuta", DlgBtnClose : "Sulje", DlgBtnBrowseServer : "Selaa palvelinta", DlgAdvancedTag : "Lisäominaisuudet", DlgOpOther : "Muut", DlgInfoTab : "Info", DlgAlertUrl : "Lisää URL", // General Dialogs Labels DlgGenNotSet : "<ei asetettu>", DlgGenId : "Tunniste", DlgGenLangDir : "Kielen suunta", DlgGenLangDirLtr : "Vasemmalta oikealle (LTR)", DlgGenLangDirRtl : "Oikealta vasemmalle (RTL)", DlgGenLangCode : "Kielikoodi", DlgGenAccessKey : "Pikanäppäin", DlgGenName : "Nimi", DlgGenTabIndex : "Tabulaattori indeksi", DlgGenLongDescr : "Pitkän kuvauksen URL", DlgGenClass : "Tyyliluokat", DlgGenTitle : "Avustava otsikko", DlgGenContType : "Avustava sisällön tyyppi", DlgGenLinkCharset : "Linkitetty kirjaimisto", DlgGenStyle : "Tyyli", // Image Dialog DlgImgTitle : "Kuvan ominaisuudet", DlgImgInfoTab : "Kuvan tiedot", DlgImgBtnUpload : "Lähetä palvelimelle", DlgImgURL : "Osoite", DlgImgUpload : "Lisää kuva", DlgImgAlt : "Vaihtoehtoinen teksti", DlgImgWidth : "Leveys", DlgImgHeight : "Korkeus", DlgImgLockRatio : "Lukitse suhteet", DlgBtnResetSize : "Alkuperäinen koko", DlgImgBorder : "Raja", DlgImgHSpace : "Vaakatila", DlgImgVSpace : "Pystytila", DlgImgAlign : "Kohdistus", DlgImgAlignLeft : "Vasemmalle", DlgImgAlignAbsBottom: "Aivan alas", DlgImgAlignAbsMiddle: "Aivan keskelle", DlgImgAlignBaseline : "Alas (teksti)", DlgImgAlignBottom : "Alas", DlgImgAlignMiddle : "Keskelle", DlgImgAlignRight : "Oikealle", DlgImgAlignTextTop : "Ylös (teksti)", DlgImgAlignTop : "Ylös", DlgImgPreview : "Esikatselu", DlgImgAlertUrl : "Kirjoita kuvan osoite (URL)", DlgImgLinkTab : "Linkki", // Flash Dialog DlgFlashTitle : "Flash ominaisuudet", DlgFlashChkPlay : "Automaattinen käynnistys", DlgFlashChkLoop : "Toisto", DlgFlashChkMenu : "Näytä Flash-valikko", DlgFlashScale : "Levitä", DlgFlashScaleAll : "Näytä kaikki", DlgFlashScaleNoBorder : "Ei rajaa", DlgFlashScaleFit : "Tarkka koko", // Link Dialog DlgLnkWindowTitle : "Linkki", DlgLnkInfoTab : "Linkin tiedot", DlgLnkTargetTab : "Kohde", DlgLnkType : "Linkkityyppi", DlgLnkTypeURL : "Osoite", DlgLnkTypeAnchor : "Ankkuri tässä sivussa", DlgLnkTypeEMail : "Sähköposti", DlgLnkProto : "Protokolla", DlgLnkProtoOther : "<muu>", DlgLnkURL : "Osoite", DlgLnkAnchorSel : "Valitse ankkuri", DlgLnkAnchorByName : "Ankkurin nimen mukaan", DlgLnkAnchorById : "Ankkurin ID:n mukaan", DlgLnkNoAnchors : "(Ei ankkureita tässä dokumentissa)", DlgLnkEMail : "Sähköpostiosoite", DlgLnkEMailSubject : "Aihe", DlgLnkEMailBody : "Viesti", DlgLnkUpload : "Lisää tiedosto", DlgLnkBtnUpload : "Lähetä palvelimelle", DlgLnkTarget : "Kohde", DlgLnkTargetFrame : "<kehys>", DlgLnkTargetPopup : "<popup ikkuna>", DlgLnkTargetBlank : "Uusi ikkuna (_blank)", DlgLnkTargetParent : "Emoikkuna (_parent)", DlgLnkTargetSelf : "Sama ikkuna (_self)", DlgLnkTargetTop : "Päällimmäisin ikkuna (_top)", DlgLnkTargetFrameName : "Kohdekehyksen nimi", DlgLnkPopWinName : "Popup ikkunan nimi", DlgLnkPopWinFeat : "Popup ikkunan ominaisuudet", DlgLnkPopResize : "Venytettävä", DlgLnkPopLocation : "Osoiterivi", DlgLnkPopMenu : "Valikkorivi", DlgLnkPopScroll : "Vierityspalkit", DlgLnkPopStatus : "Tilarivi", DlgLnkPopToolbar : "Vakiopainikkeet", DlgLnkPopFullScrn : "Täysi ikkuna (IE)", DlgLnkPopDependent : "Riippuva (Netscape)", DlgLnkPopWidth : "Leveys", DlgLnkPopHeight : "Korkeus", DlgLnkPopLeft : "Vasemmalta (px)", DlgLnkPopTop : "Ylhäältä (px)", DlnLnkMsgNoUrl : "Linkille on kirjoitettava URL", DlnLnkMsgNoEMail : "Kirjoita sähköpostiosoite", DlnLnkMsgNoAnchor : "Valitse ankkuri", DlnLnkMsgInvPopName : "Popup-ikkunan nimi pitää alkaa aakkosella ja ei saa sisältää välejä", // Color Dialog DlgColorTitle : "Valitse väri", DlgColorBtnClear : "Tyhjennä", DlgColorHighlight : "Kohdalla", DlgColorSelected : "Valittu", // Smiley Dialog DlgSmileyTitle : "Lisää hymiö", // Special Character Dialog DlgSpecialCharTitle : "Valitse erikoismerkki", // Table Dialog DlgTableTitle : "Taulun ominaisuudet", DlgTableRows : "Rivit", DlgTableColumns : "Sarakkeet", DlgTableBorder : "Rajan paksuus", DlgTableAlign : "Kohdistus", DlgTableAlignNotSet : "<ei asetettu>", DlgTableAlignLeft : "Vasemmalle", DlgTableAlignCenter : "Keskelle", DlgTableAlignRight : "Oikealle", DlgTableWidth : "Leveys", DlgTableWidthPx : "pikseliä", DlgTableWidthPc : "prosenttia", DlgTableHeight : "Korkeus", DlgTableCellSpace : "Solujen väli", DlgTableCellPad : "Solujen sisennys", DlgTableCaption : "Otsikko", DlgTableSummary : "Yhteenveto", // Table Cell Dialog DlgCellTitle : "Solun ominaisuudet", DlgCellWidth : "Leveys", DlgCellWidthPx : "pikseliä", DlgCellWidthPc : "prosenttia", DlgCellHeight : "Korkeus", DlgCellWordWrap : "Tekstikierrätys", DlgCellWordWrapNotSet : "<Ei asetettu>", DlgCellWordWrapYes : "Kyllä", DlgCellWordWrapNo : "Ei", DlgCellHorAlign : "Vaakakohdistus", DlgCellHorAlignNotSet : "<Ei asetettu>", DlgCellHorAlignLeft : "Vasemmalle", DlgCellHorAlignCenter : "Keskelle", DlgCellHorAlignRight: "Oikealle", DlgCellVerAlign : "Pystykohdistus", DlgCellVerAlignNotSet : "<Ei asetettu>", DlgCellVerAlignTop : "Ylös", DlgCellVerAlignMiddle : "Keskelle", DlgCellVerAlignBottom : "Alas", DlgCellVerAlignBaseline : "Tekstin alas", DlgCellRowSpan : "Rivin jatkuvuus", DlgCellCollSpan : "Sarakkeen jatkuvuus", DlgCellBackColor : "Taustaväri", DlgCellBorderColor : "Rajan väri", DlgCellBtnSelect : "Valitse...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Etsi ja korvaa", // Find Dialog DlgFindTitle : "Etsi", DlgFindFindBtn : "Etsi", DlgFindNotFoundMsg : "Etsittyä tekstiä ei löytynyt.", // Replace Dialog DlgReplaceTitle : "Korvaa", DlgReplaceFindLbl : "Etsi mitä:", DlgReplaceReplaceLbl : "Korvaa tällä:", DlgReplaceCaseChk : "Sama kirjainkoko", DlgReplaceReplaceBtn : "Korvaa", DlgReplaceReplAllBtn : "Korvaa kaikki", DlgReplaceWordChk : "Koko sana", // Paste Operations / Dialog PasteErrorCut : "Selaimesi turva-asetukset eivät salli editorin toteuttaa leikkaamista. Käytä näppäimistöä leikkaamiseen (Ctrl+X).", PasteErrorCopy : "Selaimesi turva-asetukset eivät salli editorin toteuttaa kopioimista. Käytä näppäimistöä kopioimiseen (Ctrl+C).", PasteAsText : "Liitä tekstinä", PasteFromWord : "Liitä Wordista", DlgPasteMsg2 : "Liitä painamalla (<STRONG>Ctrl+V</STRONG>) ja painamalla <STRONG>OK</STRONG>.", DlgPasteSec : "Selaimesi turva-asetukset eivät salli editorin käyttää leikepöytää suoraan. Sinun pitää suorittaa liittäminen tässä ikkunassa.", DlgPasteIgnoreFont : "Jätä huomioimatta fonttimääritykset", DlgPasteRemoveStyles : "Poista tyylimääritykset", // Color Picker ColorAutomatic : "Automaattinen", ColorMoreColors : "Lisää värejä...", // Document Properties DocProps : "Dokumentin ominaisuudet", // Anchor Dialog DlgAnchorTitle : "Ankkurin ominaisuudet", DlgAnchorName : "Nimi", DlgAnchorErrorName : "Ankkurille on kirjoitettava nimi", // Speller Pages Dialog DlgSpellNotInDic : "Ei sanakirjassa", DlgSpellChangeTo : "Vaihda", DlgSpellBtnIgnore : "Jätä huomioimatta", DlgSpellBtnIgnoreAll : "Jätä kaikki huomioimatta", DlgSpellBtnReplace : "Korvaa", DlgSpellBtnReplaceAll : "Korvaa kaikki", DlgSpellBtnUndo : "Kumoa", DlgSpellNoSuggestions : "Ei ehdotuksia", DlgSpellProgress : "Tarkistus käynnissä...", DlgSpellNoMispell : "Tarkistus valmis: Ei virheitä", DlgSpellNoChanges : "Tarkistus valmis: Yhtään sanaa ei muutettu", DlgSpellOneChange : "Tarkistus valmis: Yksi sana muutettiin", DlgSpellManyChanges : "Tarkistus valmis: %1 sanaa muutettiin", IeSpellDownload : "Oikeinkirjoituksen tarkistusta ei ole asennettu. Haluatko ladata sen nyt?", // Button Dialog DlgButtonText : "Teksti (arvo)", DlgButtonType : "Tyyppi", DlgButtonTypeBtn : "Painike", DlgButtonTypeSbm : "Lähetä", DlgButtonTypeRst : "Tyhjennä", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Nimi", DlgCheckboxValue : "Arvo", DlgCheckboxSelected : "Valittu", // Form Dialog DlgFormName : "Nimi", DlgFormAction : "Toiminto", DlgFormMethod : "Tapa", // Select Field Dialog DlgSelectName : "Nimi", DlgSelectValue : "Arvo", DlgSelectSize : "Koko", DlgSelectLines : "Rivit", DlgSelectChkMulti : "Salli usea valinta", DlgSelectOpAvail : "Ominaisuudet", DlgSelectOpText : "Teksti", DlgSelectOpValue : "Arvo", DlgSelectBtnAdd : "Lisää", DlgSelectBtnModify : "Muuta", DlgSelectBtnUp : "Ylös", DlgSelectBtnDown : "Alas", DlgSelectBtnSetValue : "Aseta valituksi", DlgSelectBtnDelete : "Poista", // Textarea Dialog DlgTextareaName : "Nimi", DlgTextareaCols : "Sarakkeita", DlgTextareaRows : "Rivejä", // Text Field Dialog DlgTextName : "Nimi", DlgTextValue : "Arvo", DlgTextCharWidth : "Leveys", DlgTextMaxChars : "Maksimi merkkimäärä", DlgTextType : "Tyyppi", DlgTextTypeText : "Teksti", DlgTextTypePass : "Salasana", // Hidden Field Dialog DlgHiddenName : "Nimi", DlgHiddenValue : "Arvo", // Bulleted List Dialog BulletedListProp : "Luettelon ominaisuudet", NumberedListProp : "Numeroinnin ominaisuudet", DlgLstStart : "Alku", DlgLstType : "Tyyppi", DlgLstTypeCircle : "Kehä", DlgLstTypeDisc : "Ympyrä", DlgLstTypeSquare : "Neliö", DlgLstTypeNumbers : "Numerot (1, 2, 3)", DlgLstTypeLCase : "Pienet kirjaimet (a, b, c)", DlgLstTypeUCase : "Isot kirjaimet (A, B, C)", DlgLstTypeSRoman : "Pienet roomalaiset numerot (i, ii, iii)", DlgLstTypeLRoman : "Isot roomalaiset numerot (Ii, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Yleiset", DlgDocBackTab : "Tausta", DlgDocColorsTab : "Värit ja marginaalit", DlgDocMetaTab : "Meta-tieto", DlgDocPageTitle : "Sivun nimi", DlgDocLangDir : "Kielen suunta", DlgDocLangDirLTR : "Vasemmalta oikealle (LTR)", DlgDocLangDirRTL : "Oikealta vasemmalle (RTL)", DlgDocLangCode : "Kielikoodi", DlgDocCharSet : "Merkistökoodaus", DlgDocCharSetCE : "Keskieurooppalainen", DlgDocCharSetCT : "Kiina, perinteinen (Big5)", DlgDocCharSetCR : "Kyrillinen", DlgDocCharSetGR : "Kreikka", DlgDocCharSetJP : "Japani", DlgDocCharSetKR : "Korealainen", DlgDocCharSetTR : "Turkkilainen", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "Länsieurooppalainen", DlgDocCharSetOther : "Muu merkistökoodaus", DlgDocDocType : "Dokumentin tyyppi", DlgDocDocTypeOther : "Muu dokumentin tyyppi", DlgDocIncXHTML : "Lisää XHTML julistukset", DlgDocBgColor : "Taustaväri", DlgDocBgImage : "Taustakuva", DlgDocBgNoScroll : "Paikallaanpysyvä tausta", DlgDocCText : "Teksti", DlgDocCLink : "Linkki", DlgDocCVisited : "Vierailtu linkki", DlgDocCActive : "Aktiivinen linkki", DlgDocMargins : "Sivun marginaalit", DlgDocMaTop : "Ylä", DlgDocMaLeft : "Vasen", DlgDocMaRight : "Oikea", DlgDocMaBottom : "Ala", DlgDocMeIndex : "Hakusanat (pilkulla erotettuna)", DlgDocMeDescr : "Kuvaus", DlgDocMeAuthor : "Tekijä", DlgDocMeCopy : "Tekijänoikeudet", DlgDocPreview : "Esikatselu", // Templates Dialog Templates : "Pohjat", DlgTemplatesTitle : "Sisältöpohjat", DlgTemplatesSelMsg : "Valitse pohja editoriin<br>(aiempi sisältö menetetään):", DlgTemplatesLoading : "Ladataan listaa pohjista. Hetkinen...", DlgTemplatesNoTpl : "(Ei määriteltyjä pohjia)", DlgTemplatesReplace : "Korvaa editorin koko sisältö", // About Dialog DlgAboutAboutTab : "Editorista", DlgAboutBrowserInfoTab : "Selaimen tiedot", DlgAboutLicenseTab : "Lisenssi", DlgAboutVersion : "versio", DlgAboutInfo : "Lisää tietoa osoitteesta", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Thai language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "ซ่อนแถบเครื่องมือ", ToolbarExpand : "แสดงแถบเครื่องมือ", // Toolbar Items and Context Menu Save : "บันทึก", NewPage : "สร้างหน้าเอกสารใหม่", Preview : "ดูหน้าเอกสารตัวอย่าง", Cut : "ตัด", Copy : "สำเนา", Paste : "วาง", PasteText : "วางสำเนาจากตัวอักษรธรรมดา", PasteWord : "วางสำเนาจากตัวอักษรเวิร์ด", Print : "สั่งพิมพ์", SelectAll : "เลือกทั้งหมด", RemoveFormat : "ล้างรูปแบบ", InsertLinkLbl : "ลิงค์เชื่อมโยงเว็บ อีเมล์ รูปภาพ หรือไฟล์อื่นๆ", InsertLink : "แทรก/แก้ไข ลิงค์", RemoveLink : "ลบ ลิงค์", VisitLink : "Open Link", //MISSING Anchor : "แทรก/แก้ไข Anchor", AnchorDelete : "Remove Anchor", //MISSING InsertImageLbl : "รูปภาพ", InsertImage : "แทรก/แก้ไข รูปภาพ", InsertFlashLbl : "ไฟล์ Flash", InsertFlash : "แทรก/แก้ไข ไฟล์ Flash", InsertTableLbl : "ตาราง", InsertTable : "แทรก/แก้ไข ตาราง", InsertLineLbl : "เส้นคั่นบรรทัด", InsertLine : "แทรกเส้นคั่นบรรทัด", InsertSpecialCharLbl: "ตัวอักษรพิเศษ", InsertSpecialChar : "แทรกตัวอักษรพิเศษ", InsertSmileyLbl : "รูปสื่ออารมณ์", InsertSmiley : "แทรกรูปสื่ออารมณ์", About : "เกี่ยวกับโปรแกรม FCKeditor", Bold : "ตัวหนา", Italic : "ตัวเอียง", Underline : "ตัวขีดเส้นใต้", StrikeThrough : "ตัวขีดเส้นทับ", Subscript : "ตัวห้อย", Superscript : "ตัวยก", LeftJustify : "จัดชิดซ้าย", CenterJustify : "จัดกึ่งกลาง", RightJustify : "จัดชิดขวา", BlockJustify : "จัดพอดีหน้ากระดาษ", DecreaseIndent : "ลดระยะย่อหน้า", IncreaseIndent : "เพิ่มระยะย่อหน้า", Blockquote : "Blockquote", //MISSING CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "ยกเลิกคำสั่ง", Redo : "ทำซ้ำคำสั่ง", NumberedListLbl : "ลำดับรายการแบบตัวเลข", NumberedList : "แทรก/แก้ไข ลำดับรายการแบบตัวเลข", BulletedListLbl : "ลำดับรายการแบบสัญลักษณ์", BulletedList : "แทรก/แก้ไข ลำดับรายการแบบสัญลักษณ์", ShowTableBorders : "แสดงขอบของตาราง", ShowDetails : "แสดงรายละเอียด", Style : "ลักษณะ", FontFormat : "รูปแบบ", Font : "แบบอักษร", FontSize : "ขนาด", TextColor : "สีตัวอักษร", BGColor : "สีพื้นหลัง", Source : "ดูรหัส HTML", Find : "ค้นหา", Replace : "ค้นหาและแทนที่", SpellCheck : "ตรวจการสะกดคำ", UniversalKeyboard : "คีย์บอร์ดหลากภาษา", PageBreakLbl : "ใส่ตัวแบ่งหน้า Page Break", PageBreak : "แทรกตัวแบ่งหน้า Page Break", Form : "แบบฟอร์ม", Checkbox : "เช็คบ๊อก", RadioButton : "เรดิโอบัตตอน", TextField : "เท็กซ์ฟิลด์", Textarea : "เท็กซ์แอเรีย", HiddenField : "ฮิดเดนฟิลด์", Button : "ปุ่ม", SelectionField : "แถบตัวเลือก", ImageButton : "ปุ่มแบบรูปภาพ", FitWindow : "ขยายขนาดตัวอีดิตเตอร์", ShowBlocks : "Show Blocks", //MISSING // Context Menu EditLink : "แก้ไข ลิงค์", CellCM : "ช่องตาราง", RowCM : "แถว", ColumnCM : "คอลัมน์", InsertRowAfter : "Insert Row After", //MISSING InsertRowBefore : "Insert Row Before", //MISSING DeleteRows : "ลบแถว", InsertColumnAfter : "Insert Column After", //MISSING InsertColumnBefore : "Insert Column Before", //MISSING DeleteColumns : "ลบสดมน์", InsertCellAfter : "Insert Cell After", //MISSING InsertCellBefore : "Insert Cell Before", //MISSING DeleteCells : "ลบช่อง", MergeCells : "ผสานช่อง", MergeRight : "Merge Right", //MISSING MergeDown : "Merge Down", //MISSING HorizontalSplitCell : "Split Cell Horizontally", //MISSING VerticalSplitCell : "Split Cell Vertically", //MISSING TableDelete : "ลบตาราง", CellProperties : "คุณสมบัติของช่อง", TableProperties : "คุณสมบัติของตาราง", ImageProperties : "คุณสมบัติของรูปภาพ", FlashProperties : "คุณสมบัติของไฟล์ Flash", AnchorProp : "รายละเอียด Anchor", ButtonProp : "รายละเอียดของ ปุ่ม", CheckboxProp : "คุณสมบัติของ เช็คบ๊อก", HiddenFieldProp : "คุณสมบัติของ ฮิดเดนฟิลด์", RadioButtonProp : "คุณสมบัติของ เรดิโอบัตตอน", ImageButtonProp : "คุณสมบัติของ ปุ่มแบบรูปภาพ", TextFieldProp : "คุณสมบัติของ เท็กซ์ฟิลด์", SelectionFieldProp : "คุณสมบัติของ แถบตัวเลือก", TextareaProp : "คุณสมบัติของ เท็กแอเรีย", FormProp : "คุณสมบัติของ แบบฟอร์ม", FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Paragraph (DIV)", // Alerts and Messages ProcessingXHTML : "โปรแกรมกำลังทำงานด้วยเทคโนโลยี XHTML กรุณารอสักครู่...", Done : "โปรแกรมทำงานเสร็จสมบูรณ์", PasteWordConfirm : "ข้อมูลที่ท่านต้องการวางลงในแผ่นงาน ถูกจัดรูปแบบจากโปรแกรมเวิร์ด. ท่านต้องการล้างรูปแบบที่มาจากโปรแกรมเวิร์ดหรือไม่?", NotCompatiblePaste : "คำสั่งนี้ทำงานในโปรแกรมท่องเว็บ Internet Explorer version รุ่น 5.5 หรือใหม่กว่าเท่านั้น. ท่านต้องการวางตัวอักษรโดยไม่ล้างรูปแบบที่มาจากโปรแกรมเวิร์ดหรือไม่?", UnknownToolbarItem : "ไม่สามารถระบุปุ่มเครื่องมือได้ \"%1\"", UnknownCommand : "ไม่สามารถระบุชื่อคำสั่งได้ \"%1\"", NotImplemented : "ไม่สามารถใช้งานคำสั่งได้", UnknownToolbarSet : "ไม่มีการติดตั้งชุดคำสั่งในแถบเครื่องมือ \"%1\" กรุณาติดต่อผู้ดูแลระบบ", NoActiveX : "โปรแกรมท่องอินเตอร์เน็ตของท่านไม่อนุญาติให้อีดิตเตอร์ทำงาน \"Run ActiveX controls and plug-ins\". หากไม่อนุญาติให้ใช้งาน ActiveX controls ท่านจะไม่สามารถใช้งานได้อย่างเต็มประสิทธิภาพ.", BrowseServerBlocked : "เปิดหน้าต่างป๊อบอัพเพื่อทำงานต่อไม่ได้ กรุณาปิดเครื่องมือป้องกันป๊อบอัพในโปรแกรมท่องอินเตอร์เน็ตของท่านด้วย", DialogBlocked : "เปิดหน้าต่างป๊อบอัพเพื่อทำงานต่อไม่ได้ กรุณาปิดเครื่องมือป้องกันป๊อบอัพในโปรแกรมท่องอินเตอร์เน็ตของท่านด้วย", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "ตกลง", DlgBtnCancel : "ยกเลิก", DlgBtnClose : "ปิด", DlgBtnBrowseServer : "เปิดหน้าต่างจัดการไฟล์อัพโหลด", DlgAdvancedTag : "ขั้นสูง", DlgOpOther : "<อื่นๆ>", DlgInfoTab : "อินโฟ", DlgAlertUrl : "กรุณาระบุ URL", // General Dialogs Labels DlgGenNotSet : "<ไม่ระบุ>", DlgGenId : "ไอดี", DlgGenLangDir : "การเขียน-อ่านภาษา", DlgGenLangDirLtr : "จากซ้ายไปขวา (LTR)", DlgGenLangDirRtl : "จากขวามาซ้าย (RTL)", DlgGenLangCode : "รหัสภาษา", DlgGenAccessKey : "แอคเซส คีย์", DlgGenName : "ชื่อ", DlgGenTabIndex : "ลำดับของ แท็บ", DlgGenLongDescr : "คำอธิบายประกอบ URL", DlgGenClass : "คลาสของไฟล์กำหนดลักษณะการแสดงผล", DlgGenTitle : "คำเกริ่นนำ", DlgGenContType : "ชนิดของคำเกริ่นนำ", DlgGenLinkCharset : "ลิงค์เชื่อมโยงไปยังชุดตัวอักษร", DlgGenStyle : "ลักษณะการแสดงผล", // Image Dialog DlgImgTitle : "คุณสมบัติของ รูปภาพ", DlgImgInfoTab : "ข้อมูลของรูปภาพ", DlgImgBtnUpload : "อัพโหลดไฟล์ไปเก็บไว้ที่เครื่องแม่ข่าย (เซิร์ฟเวอร์)", DlgImgURL : "ที่อยู่อ้างอิง URL", DlgImgUpload : "อัพโหลดไฟล์", DlgImgAlt : "คำประกอบรูปภาพ", DlgImgWidth : "ความกว้าง", DlgImgHeight : "ความสูง", DlgImgLockRatio : "กำหนดอัตราส่วน กว้าง-สูง แบบคงที่", DlgBtnResetSize : "กำหนดรูปเท่าขนาดจริง", DlgImgBorder : "ขนาดขอบรูป", DlgImgHSpace : "ระยะแนวนอน", DlgImgVSpace : "ระยะแนวตั้ง", DlgImgAlign : "การจัดวาง", DlgImgAlignLeft : "ชิดซ้าย", DlgImgAlignAbsBottom: "ชิดด้านล่างสุด", DlgImgAlignAbsMiddle: "กึ่งกลาง", DlgImgAlignBaseline : "ชิดบรรทัด", DlgImgAlignBottom : "ชิดด้านล่าง", DlgImgAlignMiddle : "กึ่งกลางแนวตั้ง", DlgImgAlignRight : "ชิดขวา", DlgImgAlignTextTop : "ใต้ตัวอักษร", DlgImgAlignTop : "บนสุด", DlgImgPreview : "หน้าเอกสารตัวอย่าง", DlgImgAlertUrl : "กรุณาระบุที่อยู่อ้างอิงออนไลน์ของไฟล์รูปภาพ (URL)", DlgImgLinkTab : "ลิ้งค์", // Flash Dialog DlgFlashTitle : "คุณสมบัติของไฟล์ Flash", DlgFlashChkPlay : "เล่นอัตโนมัติ Auto Play", DlgFlashChkLoop : "เล่นวนรอบ Loop", DlgFlashChkMenu : "ให้ใช้งานเมนูของ Flash", DlgFlashScale : "อัตราส่วน Scale", DlgFlashScaleAll : "แสดงให้เห็นทั้งหมด Show all", DlgFlashScaleNoBorder : "ไม่แสดงเส้นขอบ No Border", DlgFlashScaleFit : "แสดงให้พอดีกับพื้นที่ Exact Fit", // Link Dialog DlgLnkWindowTitle : "ลิงค์เชื่อมโยงเว็บ อีเมล์ รูปภาพ หรือไฟล์อื่นๆ", DlgLnkInfoTab : "รายละเอียด", DlgLnkTargetTab : "การเปิดหน้าจอ", DlgLnkType : "ประเภทของลิงค์", DlgLnkTypeURL : "ที่อยู่อ้างอิงออนไลน์ (URL)", DlgLnkTypeAnchor : "จุดเชื่อมโยง (Anchor)", DlgLnkTypeEMail : "ส่งอีเมล์ (E-Mail)", DlgLnkProto : "โปรโตคอล", DlgLnkProtoOther : "<อื่นๆ>", DlgLnkURL : "ที่อยู่อ้างอิงออนไลน์ (URL)", DlgLnkAnchorSel : "ระบุข้อมูลของจุดเชื่อมโยง (Anchor)", DlgLnkAnchorByName : "ชื่อ", DlgLnkAnchorById : "ไอดี", DlgLnkNoAnchors : "(ยังไม่มีจุดเชื่อมโยงภายในหน้าเอกสารนี้)", DlgLnkEMail : "อีเมล์ (E-Mail)", DlgLnkEMailSubject : "หัวเรื่อง", DlgLnkEMailBody : "ข้อความ", DlgLnkUpload : "อัพโหลดไฟล์", DlgLnkBtnUpload : "บันทึกไฟล์ไว้บนเซิร์ฟเวอร์", DlgLnkTarget : "การเปิดหน้าลิงค์", DlgLnkTargetFrame : "<เปิดในเฟรม>", DlgLnkTargetPopup : "<เปิดหน้าจอเล็ก (Pop-up)>", DlgLnkTargetBlank : "เปิดหน้าจอใหม่ (_blank)", DlgLnkTargetParent : "เปิดในหน้าหลัก (_parent)", DlgLnkTargetSelf : "เปิดในหน้าปัจจุบัน (_self)", DlgLnkTargetTop : "เปิดในหน้าบนสุด (_top)", DlgLnkTargetFrameName : "ชื่อทาร์เก็ตเฟรม", DlgLnkPopWinName : "ระบุชื่อหน้าจอเล็ก (Pop-up)", DlgLnkPopWinFeat : "คุณสมบัติของหน้าจอเล็ก (Pop-up)", DlgLnkPopResize : "ปรับขนาดหน้าจอ", DlgLnkPopLocation : "แสดงที่อยู่ของไฟล์", DlgLnkPopMenu : "แสดงแถบเมนู", DlgLnkPopScroll : "แสดงแถบเลื่อน", DlgLnkPopStatus : "แสดงแถบสถานะ", DlgLnkPopToolbar : "แสดงแถบเครื่องมือ", DlgLnkPopFullScrn : "แสดงเต็มหน้าจอ (IE5.5++ เท่านั้น)", DlgLnkPopDependent : "แสดงเต็มหน้าจอ (Netscape)", DlgLnkPopWidth : "กว้าง", DlgLnkPopHeight : "สูง", DlgLnkPopLeft : "พิกัดซ้าย (Left Position)", DlgLnkPopTop : "พิกัดบน (Top Position)", DlnLnkMsgNoUrl : "กรุณาระบุที่อยู่อ้างอิงออนไลน์ (URL)", DlnLnkMsgNoEMail : "กรุณาระบุอีเมล์ (E-mail)", DlnLnkMsgNoAnchor : "กรุณาระบุจุดเชื่อมโยง (Anchor)", DlnLnkMsgInvPopName : "ชื่อของหน้าต่างป๊อบอัพ จะต้องขึ้นต้นด้วยตัวอักษรเท่านั้น และต้องไม่มีช่องว่างในชื่อ", // Color Dialog DlgColorTitle : "เลือกสี", DlgColorBtnClear : "ล้างค่ารหัสสี", DlgColorHighlight : "ตัวอย่างสี", DlgColorSelected : "สีที่เลือก", // Smiley Dialog DlgSmileyTitle : "แทรกสัญลักษณ์สื่ออารมณ์", // Special Character Dialog DlgSpecialCharTitle : "แทรกตัวอักษรพิเศษ", // Table Dialog DlgTableTitle : "คุณสมบัติของ ตาราง", DlgTableRows : "แถว", DlgTableColumns : "สดมน์", DlgTableBorder : "ขนาดเส้นขอบ", DlgTableAlign : "การจัดตำแหน่ง", DlgTableAlignNotSet : "<ไม่ระบุ>", DlgTableAlignLeft : "ชิดซ้าย", DlgTableAlignCenter : "กึ่งกลาง", DlgTableAlignRight : "ชิดขวา", DlgTableWidth : "กว้าง", DlgTableWidthPx : "จุดสี", DlgTableWidthPc : "เปอร์เซ็น", DlgTableHeight : "สูง", DlgTableCellSpace : "ระยะแนวนอนน", DlgTableCellPad : "ระยะแนวตั้ง", DlgTableCaption : "หัวเรื่องของตาราง", DlgTableSummary : "สรุปความ", // Table Cell Dialog DlgCellTitle : "คุณสมบัติของ ช่อง", DlgCellWidth : "กว้าง", DlgCellWidthPx : "จุดสี", DlgCellWidthPc : "เปอร์เซ็น", DlgCellHeight : "สูง", DlgCellWordWrap : "ตัดบรรทัดอัตโนมัติ", DlgCellWordWrapNotSet : "<ไม่ระบุ>", DlgCellWordWrapYes : "ใ่ช่", DlgCellWordWrapNo : "ไม่", DlgCellHorAlign : "การจัดวางแนวนอน", DlgCellHorAlignNotSet : "<ไม่ระบุ>", DlgCellHorAlignLeft : "ชิดซ้าย", DlgCellHorAlignCenter : "กึ่งกลาง", DlgCellHorAlignRight: "ชิดขวา", DlgCellVerAlign : "การจัดวางแนวตั้ง", DlgCellVerAlignNotSet : "<ไม่ระบุ>", DlgCellVerAlignTop : "บนสุด", DlgCellVerAlignMiddle : "กึ่งกลาง", DlgCellVerAlignBottom : "ล่างสุด", DlgCellVerAlignBaseline : "อิงบรรทัด", DlgCellRowSpan : "จำนวนแถวที่คร่อมกัน", DlgCellCollSpan : "จำนวนสดมน์ที่คร่อมกัน", DlgCellBackColor : "สีพื้นหลัง", DlgCellBorderColor : "สีเส้นขอบ", DlgCellBtnSelect : "เลือก..", // Find and Replace Dialog DlgFindAndReplaceTitle : "Find and Replace", //MISSING // Find Dialog DlgFindTitle : "ค้นหา", DlgFindFindBtn : "ค้นหา", DlgFindNotFoundMsg : "ไม่พบคำที่ค้นหา.", // Replace Dialog DlgReplaceTitle : "ค้นหาและแทนที่", DlgReplaceFindLbl : "ค้นหาคำว่า:", DlgReplaceReplaceLbl : "แทนที่ด้วย:", DlgReplaceCaseChk : "ตัวโหญ่-เล็ก ต้องตรงกัน", DlgReplaceReplaceBtn : "แทนที่", DlgReplaceReplAllBtn : "แทนที่ทั้งหมดที่พบ", DlgReplaceWordChk : "ต้องตรงกันทุกคำ", // Paste Operations / Dialog PasteErrorCut : "ไม่สามารถตัดข้อความที่เลือกไว้ได้เนื่องจากการกำหนดค่าระดับความปลอดภัย. กรุณาใช้ปุ่มลัดเพื่อวางข้อความแทน (กดปุ่ม Ctrl และตัว X พร้อมกัน).", PasteErrorCopy : "ไม่สามารถสำเนาข้อความที่เลือกไว้ได้เนื่องจากการกำหนดค่าระดับความปลอดภัย. กรุณาใช้ปุ่มลัดเพื่อวางข้อความแทน (กดปุ่ม Ctrl และตัว C พร้อมกัน).", PasteAsText : "วางแบบตัวอักษรธรรมดา", PasteFromWord : "วางแบบตัวอักษรจากโปรแกรมเวิร์ด", DlgPasteMsg2 : "กรุณาใช้คีย์บอร์ดเท่านั้น โดยกดปุ๋ม (<strong>Ctrl และ V</strong>)พร้อมๆกัน และกด <strong>OK</strong>.", DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING DlgPasteIgnoreFont : "ไม่สนใจ Font Face definitions", DlgPasteRemoveStyles : "ลบ Styles definitions", // Color Picker ColorAutomatic : "สีอัตโนมัติ", ColorMoreColors : "เลือกสีอื่นๆ...", // Document Properties DocProps : "คุณสมบัติของเอกสาร", // Anchor Dialog DlgAnchorTitle : "คุณสมบัติของ Anchor", DlgAnchorName : "ชื่อ Anchor", DlgAnchorErrorName : "กรุณาระบุชื่อของ Anchor", // Speller Pages Dialog DlgSpellNotInDic : "ไม่พบในดิกชันนารี", DlgSpellChangeTo : "แก้ไขเป็น", DlgSpellBtnIgnore : "ยกเว้น", DlgSpellBtnIgnoreAll : "ยกเว้นทั้งหมด", DlgSpellBtnReplace : "แทนที่", DlgSpellBtnReplaceAll : "แทนที่ทั้งหมด", DlgSpellBtnUndo : "ยกเลิก", DlgSpellNoSuggestions : "- ไม่มีคำแนะนำใดๆ -", DlgSpellProgress : "กำลังตรวจสอบคำสะกด...", DlgSpellNoMispell : "ตรวจสอบคำสะกดเสร็จสิ้น: ไม่พบคำสะกดผิด", DlgSpellNoChanges : "ตรวจสอบคำสะกดเสร็จสิ้น: ไม่มีการแก้คำใดๆ", DlgSpellOneChange : "ตรวจสอบคำสะกดเสร็จสิ้น: แก้ไข1คำ", DlgSpellManyChanges : "ตรวจสอบคำสะกดเสร็จสิ้น:: แก้ไข %1 คำ", IeSpellDownload : "ไม่ได้ติดตั้งระบบตรวจสอบคำสะกด. ต้องการติดตั้งไหมครับ?", // Button Dialog DlgButtonText : "ข้อความ (ค่าตัวแปร)", DlgButtonType : "ข้อความ", DlgButtonTypeBtn : "Button", DlgButtonTypeSbm : "Submit", DlgButtonTypeRst : "Reset", // Checkbox and Radio Button Dialogs DlgCheckboxName : "ชื่อ", DlgCheckboxValue : "ค่าตัวแปร", DlgCheckboxSelected : "เลือกเป็นค่าเริ่มต้น", // Form Dialog DlgFormName : "ชื่อ", DlgFormAction : "แอคชั่น", DlgFormMethod : "เมธอด", // Select Field Dialog DlgSelectName : "ชื่อ", DlgSelectValue : "ค่าตัวแปร", DlgSelectSize : "ขนาด", DlgSelectLines : "บรรทัด", DlgSelectChkMulti : "เลือกหลายค่าได้", DlgSelectOpAvail : "รายการตัวเลือก", DlgSelectOpText : "ข้อความ", DlgSelectOpValue : "ค่าตัวแปร", DlgSelectBtnAdd : "เพิ่ม", DlgSelectBtnModify : "แก้ไข", DlgSelectBtnUp : "บน", DlgSelectBtnDown : "ล่าง", DlgSelectBtnSetValue : "เลือกเป็นค่าเริ่มต้น", DlgSelectBtnDelete : "ลบ", // Textarea Dialog DlgTextareaName : "ชื่อ", DlgTextareaCols : "สดมภ์", DlgTextareaRows : "แถว", // Text Field Dialog DlgTextName : "ชื่อ", DlgTextValue : "ค่าตัวแปร", DlgTextCharWidth : "ความกว้าง", DlgTextMaxChars : "จำนวนตัวอักษรสูงสุด", DlgTextType : "ชนิด", DlgTextTypeText : "ข้อความ", DlgTextTypePass : "รหัสผ่าน", // Hidden Field Dialog DlgHiddenName : "ชื่อ", DlgHiddenValue : "ค่าตัวแปร", // Bulleted List Dialog BulletedListProp : "คุณสมบัติของ บูลเล็ตลิสต์", NumberedListProp : "คุณสมบัติของ นัมเบอร์ลิสต์", DlgLstStart : "Start", //MISSING DlgLstType : "ชนิด", DlgLstTypeCircle : "รูปวงกลม", DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "รูปสี่เหลี่ยม", DlgLstTypeNumbers : "หมายเลข (1, 2, 3)", DlgLstTypeLCase : "ตัวพิมพ์เล็ก (a, b, c)", DlgLstTypeUCase : "ตัวพิมพ์ใหญ่ (A, B, C)", DlgLstTypeSRoman : "เลขโรมันพิมพ์เล็ก (i, ii, iii)", DlgLstTypeLRoman : "เลขโรมันพิมพ์ใหญ่ (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "ลักษณะทั่วไปของเอกสาร", DlgDocBackTab : "พื้นหลัง", DlgDocColorsTab : "สีและระยะขอบ", DlgDocMetaTab : "ข้อมูลสำหรับเสิร์ชเอนจิ้น", DlgDocPageTitle : "ชื่อไตเติ้ล", DlgDocLangDir : "การอ่านภาษา", DlgDocLangDirLTR : "จากซ้ายไปขวา (LTR)", DlgDocLangDirRTL : "จากขวาไปซ้าย (RTL)", DlgDocLangCode : "รหัสภาษา", DlgDocCharSet : "ชุดตัวอักษร", DlgDocCharSetCE : "Central European", DlgDocCharSetCT : "Chinese Traditional (Big5)", DlgDocCharSetCR : "Cyrillic", DlgDocCharSetGR : "Greek", DlgDocCharSetJP : "Japanese", DlgDocCharSetKR : "Korean", DlgDocCharSetTR : "Turkish", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "Western European", DlgDocCharSetOther : "ชุดตัวอักษรอื่นๆ", DlgDocDocType : "ประเภทของเอกสาร", DlgDocDocTypeOther : "ประเภทเอกสารอื่นๆ", DlgDocIncXHTML : "รวมเอา XHTML Declarations ไว้ด้วย", DlgDocBgColor : "สีพื้นหลัง", DlgDocBgImage : "ที่อยู่อ้างอิงออนไลน์ของรูปพื้นหลัง (Image URL)", DlgDocBgNoScroll : "พื้นหลังแบบไม่มีแถบเลื่อน", DlgDocCText : "ข้อความ", DlgDocCLink : "ลิงค์", DlgDocCVisited : "ลิงค์ที่เคยคลิ้กแล้ว Visited Link", DlgDocCActive : "ลิงค์ที่กำลังคลิ้ก Active Link", DlgDocMargins : "ระยะขอบของหน้าเอกสาร", DlgDocMaTop : "ด้านบน", DlgDocMaLeft : "ด้านซ้าย", DlgDocMaRight : "ด้านขวา", DlgDocMaBottom : "ด้านล่าง", DlgDocMeIndex : "คำสำคัญอธิบายเอกสาร (คั่นคำด้วย คอมม่า)", DlgDocMeDescr : "ประโยคอธิบายเกี่ยวกับเอกสาร", DlgDocMeAuthor : "ผู้สร้างเอกสาร", DlgDocMeCopy : "สงวนลิขสิทธิ์", DlgDocPreview : "ตัวอย่างหน้าเอกสาร", // Templates Dialog Templates : "เทมเพลต", DlgTemplatesTitle : "เทมเพลตของส่วนเนื้อหาเว็บไซต์", DlgTemplatesSelMsg : "กรุณาเลือก เทมเพลต เพื่อนำไปแก้ไขในอีดิตเตอร์<br />(เนื้อหาส่วนนี้จะหายไป):", DlgTemplatesLoading : "กำลังโหลดรายการเทมเพลตทั้งหมด...", DlgTemplatesNoTpl : "(ยังไม่มีการกำหนดเทมเพลต)", DlgTemplatesReplace : "แทนที่เนื้อหาเว็บไซต์ที่เลือก", // About Dialog DlgAboutAboutTab : "เกี่ยวกับโปรแกรม", DlgAboutBrowserInfoTab : "โปรแกรมท่องเว็บที่ท่านใช้", DlgAboutLicenseTab : "ลิขสิทธิ์", DlgAboutVersion : "รุ่น", DlgAboutInfo : "For further information go to", //MISSING // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Korean language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "툴바 감추기", ToolbarExpand : "툴바 보이기", // Toolbar Items and Context Menu Save : "저장하기", NewPage : "새 문서", Preview : "미리보기", Cut : "잘라내기", Copy : "복사하기", Paste : "붙여넣기", PasteText : "텍스트로 붙여넣기", PasteWord : "MS Word 형식에서 붙여넣기", Print : "인쇄하기", SelectAll : "전체선택", RemoveFormat : "포맷 지우기", InsertLinkLbl : "링크", InsertLink : "링크 삽입/변경", RemoveLink : "링크 삭제", VisitLink : "Open Link", //MISSING Anchor : "책갈피 삽입/변경", AnchorDelete : "Remove Anchor", //MISSING InsertImageLbl : "이미지", InsertImage : "이미지 삽입/변경", InsertFlashLbl : "플래쉬", InsertFlash : "플래쉬 삽입/변경", InsertTableLbl : "표", InsertTable : "표 삽입/변경", InsertLineLbl : "수평선", InsertLine : "수평선 삽입", InsertSpecialCharLbl: "특수문자 삽입", InsertSpecialChar : "특수문자 삽입", InsertSmileyLbl : "아이콘", InsertSmiley : "아이콘 삽입", About : "FCKeditor에 대하여", Bold : "진하게", Italic : "이텔릭", Underline : "밑줄", StrikeThrough : "취소선", Subscript : "아래 첨자", Superscript : "위 첨자", LeftJustify : "왼쪽 정렬", CenterJustify : "가운데 정렬", RightJustify : "오른쪽 정렬", BlockJustify : "양쪽 맞춤", DecreaseIndent : "내어쓰기", IncreaseIndent : "들여쓰기", Blockquote : "Blockquote", //MISSING CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "취소", Redo : "재실행", NumberedListLbl : "순서있는 목록", NumberedList : "순서있는 목록", BulletedListLbl : "순서없는 목록", BulletedList : "순서없는 목록", ShowTableBorders : "표 테두리 보기", ShowDetails : "문서기호 보기", Style : "스타일", FontFormat : "포맷", Font : "폰트", FontSize : "글자 크기", TextColor : "글자 색상", BGColor : "배경 색상", Source : "소스", Find : "찾기", Replace : "바꾸기", SpellCheck : "철자검사", UniversalKeyboard : "다국어 입력기", PageBreakLbl : "Page Break", //MISSING PageBreak : "Insert Page Break", //MISSING Form : "폼", Checkbox : "체크박스", RadioButton : "라디오버튼", TextField : "입력필드", Textarea : "입력영역", HiddenField : "숨김필드", Button : "버튼", SelectionField : "펼침목록", ImageButton : "이미지버튼", FitWindow : "에디터 최대화", ShowBlocks : "Show Blocks", //MISSING // Context Menu EditLink : "링크 수정", CellCM : "셀/칸(Cell)", RowCM : "행(Row)", ColumnCM : "열(Column)", InsertRowAfter : "뒤에 행 삽입", InsertRowBefore : "앞에 행 삽입", DeleteRows : "가로줄 삭제", InsertColumnAfter : "뒤에 열 삽입", InsertColumnBefore : "앞에 열 삽입", DeleteColumns : "세로줄 삭제", InsertCellAfter : "뒤에 셀/칸 삽입", InsertCellBefore : "앞에 셀/칸 삽입", DeleteCells : "셀 삭제", MergeCells : "셀 합치기", MergeRight : "오른쪽 뭉치기", MergeDown : "왼쪽 뭉치기", HorizontalSplitCell : "수평 나누기", VerticalSplitCell : "수직 나누기", TableDelete : "표 삭제", CellProperties : "셀 속성", TableProperties : "표 속성", ImageProperties : "이미지 속성", FlashProperties : "플래쉬 속성", AnchorProp : "책갈피 속성", ButtonProp : "버튼 속성", CheckboxProp : "체크박스 속성", HiddenFieldProp : "숨김필드 속성", RadioButtonProp : "라디오버튼 속성", ImageButtonProp : "이미지버튼 속성", TextFieldProp : "입력필드 속성", SelectionFieldProp : "펼침목록 속성", TextareaProp : "입력영역 속성", FormProp : "폼 속성", FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6", // Alerts and Messages ProcessingXHTML : "XHTML 처리중. 잠시만 기다려주십시요.", Done : "완료", PasteWordConfirm : "붙여넣기 할 텍스트는 MS Word에서 복사한 것입니다. 붙여넣기 전에 MS Word 포멧을 삭제하시겠습니까?", NotCompatiblePaste : "이 명령은 인터넷익스플로러 5.5 버전 이상에서만 작동합니다. 포멧을 삭제하지 않고 붙여넣기 하시겠습니까?", UnknownToolbarItem : "알수없는 툴바입니다. : \"%1\"", UnknownCommand : "알수없는 기능입니다. : \"%1\"", NotImplemented : "기능이 실행되지 않았습니다.", UnknownToolbarSet : "툴바 설정이 없습니다. : \"%1\"", NoActiveX : "브러우저의 보안 설정으로 인해 몇몇 기능의 작동에 장애가 있을 수 있습니다. \"액티브-액스 기능과 플러그 인\" 옵션을 허용하여 주시지 않으면 오류가 발생할 수 있습니다.", BrowseServerBlocked : "브러우저 요소가 열리지 않습니다. 팝업차단 설정이 꺼져있는지 확인하여 주십시오.", DialogBlocked : "윈도우 대화창을 열 수 없습니다. 팝업차단 설정이 꺼져있는지 확인하여 주십시오.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "예", DlgBtnCancel : "아니오", DlgBtnClose : "닫기", DlgBtnBrowseServer : "서버 보기", DlgAdvancedTag : "자세히", DlgOpOther : "<기타>", DlgInfoTab : "정보", DlgAlertUrl : "URL을 입력하십시요", // General Dialogs Labels DlgGenNotSet : "<설정되지 않음>", DlgGenId : "ID", DlgGenLangDir : "쓰기 방향", DlgGenLangDirLtr : "왼쪽에서 오른쪽 (LTR)", DlgGenLangDirRtl : "오른쪽에서 왼쪽 (RTL)", DlgGenLangCode : "언어 코드", DlgGenAccessKey : "엑세스 키", DlgGenName : "Name", DlgGenTabIndex : "탭 순서", DlgGenLongDescr : "URL 설명", DlgGenClass : "Stylesheet Classes", DlgGenTitle : "Advisory Title", DlgGenContType : "Advisory Content Type", DlgGenLinkCharset : "Linked Resource Charset", DlgGenStyle : "Style", // Image Dialog DlgImgTitle : "이미지 설정", DlgImgInfoTab : "이미지 정보", DlgImgBtnUpload : "서버로 전송", DlgImgURL : "URL", DlgImgUpload : "업로드", DlgImgAlt : "이미지 설명", DlgImgWidth : "너비", DlgImgHeight : "높이", DlgImgLockRatio : "비율 유지", DlgBtnResetSize : "원래 크기로", DlgImgBorder : "테두리", DlgImgHSpace : "수평여백", DlgImgVSpace : "수직여백", DlgImgAlign : "정렬", DlgImgAlignLeft : "왼쪽", DlgImgAlignAbsBottom: "줄아래(Abs Bottom)", DlgImgAlignAbsMiddle: "줄중간(Abs Middle)", DlgImgAlignBaseline : "기준선", DlgImgAlignBottom : "아래", DlgImgAlignMiddle : "중간", DlgImgAlignRight : "오른쪽", DlgImgAlignTextTop : "글자상단", DlgImgAlignTop : "위", DlgImgPreview : "미리보기", DlgImgAlertUrl : "이미지 URL을 입력하십시요", DlgImgLinkTab : "링크", // Flash Dialog DlgFlashTitle : "플래쉬 등록정보", DlgFlashChkPlay : "자동재생", DlgFlashChkLoop : "반복", DlgFlashChkMenu : "플래쉬메뉴 가능", DlgFlashScale : "영역", DlgFlashScaleAll : "모두보기", DlgFlashScaleNoBorder : "경계선없음", DlgFlashScaleFit : "영역자동조절", // Link Dialog DlgLnkWindowTitle : "링크", DlgLnkInfoTab : "링크 정보", DlgLnkTargetTab : "타겟", DlgLnkType : "링크 종류", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "책갈피", DlgLnkTypeEMail : "이메일", DlgLnkProto : "프로토콜", DlgLnkProtoOther : "<기타>", DlgLnkURL : "URL", DlgLnkAnchorSel : "책갈피 선택", DlgLnkAnchorByName : "책갈피 이름", DlgLnkAnchorById : "책갈피 ID", DlgLnkNoAnchors : "(문서에 책갈피가 없습니다.)", DlgLnkEMail : "이메일 주소", DlgLnkEMailSubject : "제목", DlgLnkEMailBody : "내용", DlgLnkUpload : "업로드", DlgLnkBtnUpload : "서버로 전송", DlgLnkTarget : "타겟", DlgLnkTargetFrame : "<프레임>", DlgLnkTargetPopup : "<팝업창>", DlgLnkTargetBlank : "새 창 (_blank)", DlgLnkTargetParent : "부모 창 (_parent)", DlgLnkTargetSelf : "현재 창 (_self)", DlgLnkTargetTop : "최 상위 창 (_top)", DlgLnkTargetFrameName : "타겟 프레임 이름", DlgLnkPopWinName : "팝업창 이름", DlgLnkPopWinFeat : "팝업창 설정", DlgLnkPopResize : "크기조정", DlgLnkPopLocation : "주소표시줄", DlgLnkPopMenu : "메뉴바", DlgLnkPopScroll : "스크롤바", DlgLnkPopStatus : "상태바", DlgLnkPopToolbar : "툴바", DlgLnkPopFullScrn : "전체화면 (IE)", DlgLnkPopDependent : "Dependent (Netscape)", DlgLnkPopWidth : "너비", DlgLnkPopHeight : "높이", DlgLnkPopLeft : "왼쪽 위치", DlgLnkPopTop : "윗쪽 위치", DlnLnkMsgNoUrl : "링크 URL을 입력하십시요.", DlnLnkMsgNoEMail : "이메일주소를 입력하십시요.", DlnLnkMsgNoAnchor : "책갈피명을 입력하십시요.", DlnLnkMsgInvPopName : "팝업창의 타이틀은 공백을 허용하지 않습니다.", // Color Dialog DlgColorTitle : "색상 선택", DlgColorBtnClear : "지우기", DlgColorHighlight : "현재", DlgColorSelected : "선택됨", // Smiley Dialog DlgSmileyTitle : "아이콘 삽입", // Special Character Dialog DlgSpecialCharTitle : "특수문자 선택", // Table Dialog DlgTableTitle : "표 설정", DlgTableRows : "가로줄", DlgTableColumns : "세로줄", DlgTableBorder : "테두리 크기", DlgTableAlign : "정렬", DlgTableAlignNotSet : "<설정되지 않음>", DlgTableAlignLeft : "왼쪽", DlgTableAlignCenter : "가운데", DlgTableAlignRight : "오른쪽", DlgTableWidth : "너비", DlgTableWidthPx : "픽셀", DlgTableWidthPc : "퍼센트", DlgTableHeight : "높이", DlgTableCellSpace : "셀 간격", DlgTableCellPad : "셀 여백", DlgTableCaption : "캡션", DlgTableSummary : "Summary", //MISSING // Table Cell Dialog DlgCellTitle : "셀 설정", DlgCellWidth : "너비", DlgCellWidthPx : "픽셀", DlgCellWidthPc : "퍼센트", DlgCellHeight : "높이", DlgCellWordWrap : "워드랩", DlgCellWordWrapNotSet : "<설정되지 않음>", DlgCellWordWrapYes : "예", DlgCellWordWrapNo : "아니오", DlgCellHorAlign : "수평 정렬", DlgCellHorAlignNotSet : "<설정되지 않음>", DlgCellHorAlignLeft : "왼쪽", DlgCellHorAlignCenter : "가운데", DlgCellHorAlignRight: "오른쪽", DlgCellVerAlign : "수직 정렬", DlgCellVerAlignNotSet : "<설정되지 않음>", DlgCellVerAlignTop : "위", DlgCellVerAlignMiddle : "중간", DlgCellVerAlignBottom : "아래", DlgCellVerAlignBaseline : "기준선", DlgCellRowSpan : "세로 합치기", DlgCellCollSpan : "가로 합치기", DlgCellBackColor : "배경 색상", DlgCellBorderColor : "테두리 색상", DlgCellBtnSelect : "선택", // Find and Replace Dialog DlgFindAndReplaceTitle : "찾기 & 바꾸기", // Find Dialog DlgFindTitle : "찾기", DlgFindFindBtn : "찾기", DlgFindNotFoundMsg : "문자열을 찾을 수 없습니다.", // Replace Dialog DlgReplaceTitle : "바꾸기", DlgReplaceFindLbl : "찾을 문자열:", DlgReplaceReplaceLbl : "바꿀 문자열:", DlgReplaceCaseChk : "대소문자 구분", DlgReplaceReplaceBtn : "바꾸기", DlgReplaceReplAllBtn : "모두 바꾸기", DlgReplaceWordChk : "온전한 단어", // Paste Operations / Dialog PasteErrorCut : "브라우저의 보안설정때문에 잘라내기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl+X).", PasteErrorCopy : "브라우저의 보안설정때문에 복사하기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl+C).", PasteAsText : "텍스트로 붙여넣기", PasteFromWord : "MS Word 형식에서 붙여넣기", DlgPasteMsg2 : "키보드의 (<STRONG>Ctrl+V</STRONG>) 를 이용해서 상자안에 붙여넣고 <STRONG>OK</STRONG> 를 누르세요.", DlgPasteSec : "브러우저 보안 설정으로 인해, 클립보드의 자료를 직접 접근할 수 없습니다. 이 창에 다시 붙여넣기 하십시오.", DlgPasteIgnoreFont : "폰트 설정 무시", DlgPasteRemoveStyles : "스타일 정의 제거", // Color Picker ColorAutomatic : "기본색상", ColorMoreColors : "색상선택...", // Document Properties DocProps : "문서 속성", // Anchor Dialog DlgAnchorTitle : "책갈피 속성", DlgAnchorName : "책갈피 이름", DlgAnchorErrorName : "책갈피 이름을 입력하십시요.", // Speller Pages Dialog DlgSpellNotInDic : "사전에 없는 단어", DlgSpellChangeTo : "변경할 단어", DlgSpellBtnIgnore : "건너뜀", DlgSpellBtnIgnoreAll : "모두 건너뜀", DlgSpellBtnReplace : "변경", DlgSpellBtnReplaceAll : "모두 변경", DlgSpellBtnUndo : "취소", DlgSpellNoSuggestions : "- 추천단어 없음 -", DlgSpellProgress : "철자검사를 진행중입니다...", DlgSpellNoMispell : "철자검사 완료: 잘못된 철자가 없습니다.", DlgSpellNoChanges : "철자검사 완료: 변경된 단어가 없습니다.", DlgSpellOneChange : "철자검사 완료: 단어가 변경되었습니다.", DlgSpellManyChanges : "철자검사 완료: %1 단어가 변경되었습니다.", IeSpellDownload : "철자 검사기가 철치되지 않았습니다. 지금 다운로드하시겠습니까?", // Button Dialog DlgButtonText : "버튼글자(값)", DlgButtonType : "버튼종류", DlgButtonTypeBtn : "Button", //MISSING DlgButtonTypeSbm : "Submit", //MISSING DlgButtonTypeRst : "Reset", //MISSING // Checkbox and Radio Button Dialogs DlgCheckboxName : "이름", DlgCheckboxValue : "값", DlgCheckboxSelected : "선택됨", // Form Dialog DlgFormName : "폼이름", DlgFormAction : "실행경로(Action)", DlgFormMethod : "방법(Method)", // Select Field Dialog DlgSelectName : "이름", DlgSelectValue : "값", DlgSelectSize : "세로크기", DlgSelectLines : "줄", DlgSelectChkMulti : "여러항목 선택 허용", DlgSelectOpAvail : "선택옵션", DlgSelectOpText : "이름", DlgSelectOpValue : "값", DlgSelectBtnAdd : "추가", DlgSelectBtnModify : "변경", DlgSelectBtnUp : "위로", DlgSelectBtnDown : "아래로", DlgSelectBtnSetValue : "선택된것으로 설정", DlgSelectBtnDelete : "삭제", // Textarea Dialog DlgTextareaName : "이름", DlgTextareaCols : "칸수", DlgTextareaRows : "줄수", // Text Field Dialog DlgTextName : "이름", DlgTextValue : "값", DlgTextCharWidth : "글자 너비", DlgTextMaxChars : "최대 글자수", DlgTextType : "종류", DlgTextTypeText : "문자열", DlgTextTypePass : "비밀번호", // Hidden Field Dialog DlgHiddenName : "이름", DlgHiddenValue : "값", // Bulleted List Dialog BulletedListProp : "순서없는 목록 속성", NumberedListProp : "순서있는 목록 속성", DlgLstStart : "Start", //MISSING DlgLstType : "종류", DlgLstTypeCircle : "원(Circle)", DlgLstTypeDisc : "Disc", //MISSING DlgLstTypeSquare : "네모점(Square)", DlgLstTypeNumbers : "번호 (1, 2, 3)", DlgLstTypeLCase : "소문자 (a, b, c)", DlgLstTypeUCase : "대문자 (A, B, C)", DlgLstTypeSRoman : "로마자 수문자 (i, ii, iii)", DlgLstTypeLRoman : "로마자 대문자 (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "일반", DlgDocBackTab : "배경", DlgDocColorsTab : "색상 및 여백", DlgDocMetaTab : "메타데이터", DlgDocPageTitle : "페이지명", DlgDocLangDir : "문자 쓰기방향", DlgDocLangDirLTR : "왼쪽에서 오른쪽 (LTR)", DlgDocLangDirRTL : "오른쪽에서 왼쪽 (RTL)", DlgDocLangCode : "언어코드", DlgDocCharSet : "캐릭터셋 인코딩", DlgDocCharSetCE : "Central European", //MISSING DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING DlgDocCharSetCR : "Cyrillic", //MISSING DlgDocCharSetGR : "Greek", //MISSING DlgDocCharSetJP : "Japanese", //MISSING DlgDocCharSetKR : "Korean", //MISSING DlgDocCharSetTR : "Turkish", //MISSING DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING DlgDocCharSetWE : "Western European", //MISSING DlgDocCharSetOther : "다른 캐릭터셋 인코딩", DlgDocDocType : "문서 헤드", DlgDocDocTypeOther : "다른 문서헤드", DlgDocIncXHTML : "XHTML 문서정의 포함", DlgDocBgColor : "배경색상", DlgDocBgImage : "배경이미지 URL", DlgDocBgNoScroll : "스크롤되지않는 배경", DlgDocCText : "텍스트", DlgDocCLink : "링크", DlgDocCVisited : "방문한 링크(Visited)", DlgDocCActive : "활성화된 링크(Active)", DlgDocMargins : "페이지 여백", DlgDocMaTop : "위", DlgDocMaLeft : "왼쪽", DlgDocMaRight : "오른쪽", DlgDocMaBottom : "아래", DlgDocMeIndex : "문서 키워드 (콤마로 구분)", DlgDocMeDescr : "문서 설명", DlgDocMeAuthor : "작성자", DlgDocMeCopy : "저작권", DlgDocPreview : "미리보기", // Templates Dialog Templates : "템플릿", DlgTemplatesTitle : "내용 템플릿", DlgTemplatesSelMsg : "에디터에서 사용할 템플릿을 선택하십시요.<br>(지금까지 작성된 내용은 사라집니다.):", DlgTemplatesLoading : "템플릿 목록을 불러오는중입니다. 잠시만 기다려주십시요.", DlgTemplatesNoTpl : "(템플릿이 없습니다.)", DlgTemplatesReplace : "현재 내용 바꾸기", // About Dialog DlgAboutAboutTab : "About", DlgAboutBrowserInfoTab : "브라우저 정보", DlgAboutLicenseTab : "License", //MISSING DlgAboutVersion : "버전", DlgAboutInfo : "더 많은 정보를 보시려면 다음 사이트로 가십시오.", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * English (United Kingdom) language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Collapse Toolbar", ToolbarExpand : "Expand Toolbar", // Toolbar Items and Context Menu Save : "Save", NewPage : "New Page", Preview : "Preview", Cut : "Cut", Copy : "Copy", Paste : "Paste", PasteText : "Paste as plain text", PasteWord : "Paste from Word", Print : "Print", SelectAll : "Select All", RemoveFormat : "Remove Format", InsertLinkLbl : "Link", InsertLink : "Insert/Edit Link", RemoveLink : "Remove Link", VisitLink : "Open Link", Anchor : "Insert/Edit Anchor", AnchorDelete : "Remove Anchor", InsertImageLbl : "Image", InsertImage : "Insert/Edit Image", InsertFlashLbl : "Flash", InsertFlash : "Insert/Edit Flash", InsertTableLbl : "Table", InsertTable : "Insert/Edit Table", InsertLineLbl : "Line", InsertLine : "Insert Horizontal Line", InsertSpecialCharLbl: "Special Character", InsertSpecialChar : "Insert Special Character", InsertSmileyLbl : "Smiley", InsertSmiley : "Insert Smiley", About : "About FCKeditor", Bold : "Bold", Italic : "Italic", Underline : "Underline", StrikeThrough : "Strike Through", Subscript : "Subscript", Superscript : "Superscript", LeftJustify : "Left Justify", CenterJustify : "Centre Justify", RightJustify : "Right Justify", BlockJustify : "Block Justify", DecreaseIndent : "Decrease Indent", IncreaseIndent : "Increase Indent", Blockquote : "Blockquote", CreateDiv : "Create Div Container", EditDiv : "Edit Div Container", DeleteDiv : "Remove Div Container", Undo : "Undo", Redo : "Redo", NumberedListLbl : "Numbered List", NumberedList : "Insert/Remove Numbered List", BulletedListLbl : "Bulleted List", BulletedList : "Insert/Remove Bulleted List", ShowTableBorders : "Show Table Borders", ShowDetails : "Show Details", Style : "Style", FontFormat : "Format", Font : "Font", FontSize : "Size", TextColor : "Text Colour", BGColor : "Background Colour", Source : "Source", Find : "Find", Replace : "Replace", SpellCheck : "Check Spelling", UniversalKeyboard : "Universal Keyboard", PageBreakLbl : "Page Break", PageBreak : "Insert Page Break", Form : "Form", Checkbox : "Checkbox", RadioButton : "Radio Button", TextField : "Text Field", Textarea : "Textarea", HiddenField : "Hidden Field", Button : "Button", SelectionField : "Selection Field", ImageButton : "Image Button", FitWindow : "Maximize the editor size", ShowBlocks : "Show Blocks", // Context Menu EditLink : "Edit Link", CellCM : "Cell", RowCM : "Row", ColumnCM : "Column", InsertRowAfter : "Insert Row After", InsertRowBefore : "Insert Row Before", DeleteRows : "Delete Rows", InsertColumnAfter : "Insert Column After", InsertColumnBefore : "Insert Column Before", DeleteColumns : "Delete Columns", InsertCellAfter : "Insert Cell After", InsertCellBefore : "Insert Cell Before", DeleteCells : "Delete Cells", MergeCells : "Merge Cells", MergeRight : "Merge Right", MergeDown : "Merge Down", HorizontalSplitCell : "Split Cell Horizontally", VerticalSplitCell : "Split Cell Vertically", TableDelete : "Delete Table", CellProperties : "Cell Properties", TableProperties : "Table Properties", ImageProperties : "Image Properties", FlashProperties : "Flash Properties", AnchorProp : "Anchor Properties", ButtonProp : "Button Properties", CheckboxProp : "Checkbox Properties", HiddenFieldProp : "Hidden Field Properties", RadioButtonProp : "Radio Button Properties", ImageButtonProp : "Image Button Properties", TextFieldProp : "Text Field Properties", SelectionFieldProp : "Selection Field Properties", TextareaProp : "Textarea Properties", FormProp : "Form Properties", FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", // Alerts and Messages ProcessingXHTML : "Processing XHTML. Please wait...", Done : "Done", PasteWordConfirm : "The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?", NotCompatiblePaste : "This command is available for Internet Explorer version 5.5 or more. Do you want to paste without cleaning?", UnknownToolbarItem : "Unknown toolbar item \"%1\"", UnknownCommand : "Unknown command name \"%1\"", NotImplemented : "Command not implemented", UnknownToolbarSet : "Toolbar set \"%1\" doesn't exist", NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Cancel", DlgBtnClose : "Close", DlgBtnBrowseServer : "Browse Server", DlgAdvancedTag : "Advanced", DlgOpOther : "<Other>", DlgInfoTab : "Info", DlgAlertUrl : "Please insert the URL", // General Dialogs Labels DlgGenNotSet : "<not set>", DlgGenId : "Id", DlgGenLangDir : "Language Direction", DlgGenLangDirLtr : "Left to Right (LTR)", DlgGenLangDirRtl : "Right to Left (RTL)", DlgGenLangCode : "Language Code", DlgGenAccessKey : "Access Key", DlgGenName : "Name", DlgGenTabIndex : "Tab Index", DlgGenLongDescr : "Long Description URL", DlgGenClass : "Stylesheet Classes", DlgGenTitle : "Advisory Title", DlgGenContType : "Advisory Content Type", DlgGenLinkCharset : "Linked Resource Charset", DlgGenStyle : "Style", // Image Dialog DlgImgTitle : "Image Properties", DlgImgInfoTab : "Image Info", DlgImgBtnUpload : "Send it to the Server", DlgImgURL : "URL", DlgImgUpload : "Upload", DlgImgAlt : "Alternative Text", DlgImgWidth : "Width", DlgImgHeight : "Height", DlgImgLockRatio : "Lock Ratio", DlgBtnResetSize : "Reset Size", DlgImgBorder : "Border", DlgImgHSpace : "HSpace", DlgImgVSpace : "VSpace", DlgImgAlign : "Align", DlgImgAlignLeft : "Left", DlgImgAlignAbsBottom: "Abs Bottom", DlgImgAlignAbsMiddle: "Abs Middle", DlgImgAlignBaseline : "Baseline", DlgImgAlignBottom : "Bottom", DlgImgAlignMiddle : "Middle", DlgImgAlignRight : "Right", DlgImgAlignTextTop : "Text Top", DlgImgAlignTop : "Top", DlgImgPreview : "Preview", DlgImgAlertUrl : "Please type the image URL", DlgImgLinkTab : "Link", // Flash Dialog DlgFlashTitle : "Flash Properties", DlgFlashChkPlay : "Auto Play", DlgFlashChkLoop : "Loop", DlgFlashChkMenu : "Enable Flash Menu", DlgFlashScale : "Scale", DlgFlashScaleAll : "Show all", DlgFlashScaleNoBorder : "No Border", DlgFlashScaleFit : "Exact Fit", // Link Dialog DlgLnkWindowTitle : "Link", DlgLnkInfoTab : "Link Info", DlgLnkTargetTab : "Target", DlgLnkType : "Link Type", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Link to anchor in the text", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protocol", DlgLnkProtoOther : "<other>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Select an Anchor", DlgLnkAnchorByName : "By Anchor Name", DlgLnkAnchorById : "By Element Id", DlgLnkNoAnchors : "(No anchors available in the document)", DlgLnkEMail : "E-Mail Address", DlgLnkEMailSubject : "Message Subject", DlgLnkEMailBody : "Message Body", DlgLnkUpload : "Upload", DlgLnkBtnUpload : "Send it to the Server", DlgLnkTarget : "Target", DlgLnkTargetFrame : "<frame>", DlgLnkTargetPopup : "<popup window>", DlgLnkTargetBlank : "New Window (_blank)", DlgLnkTargetParent : "Parent Window (_parent)", DlgLnkTargetSelf : "Same Window (_self)", DlgLnkTargetTop : "Topmost Window (_top)", DlgLnkTargetFrameName : "Target Frame Name", DlgLnkPopWinName : "Popup Window Name", DlgLnkPopWinFeat : "Popup Window Features", DlgLnkPopResize : "Resizable", DlgLnkPopLocation : "Location Bar", DlgLnkPopMenu : "Menu Bar", DlgLnkPopScroll : "Scroll Bars", DlgLnkPopStatus : "Status Bar", DlgLnkPopToolbar : "Toolbar", DlgLnkPopFullScrn : "Full Screen (IE)", DlgLnkPopDependent : "Dependent (Netscape)", DlgLnkPopWidth : "Width", DlgLnkPopHeight : "Height", DlgLnkPopLeft : "Left Position", DlgLnkPopTop : "Top Position", DlnLnkMsgNoUrl : "Please type the link URL", DlnLnkMsgNoEMail : "Please type the e-mail address", DlnLnkMsgNoAnchor : "Please select an anchor", DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", // Color Dialog DlgColorTitle : "Select Colour", DlgColorBtnClear : "Clear", DlgColorHighlight : "Highlight", DlgColorSelected : "Selected", // Smiley Dialog DlgSmileyTitle : "Insert a Smiley", // Special Character Dialog DlgSpecialCharTitle : "Select Special Character", // Table Dialog DlgTableTitle : "Table Properties", DlgTableRows : "Rows", DlgTableColumns : "Columns", DlgTableBorder : "Border size", DlgTableAlign : "Alignment", DlgTableAlignNotSet : "<Not set>", DlgTableAlignLeft : "Left", DlgTableAlignCenter : "Centre", DlgTableAlignRight : "Right", DlgTableWidth : "Width", DlgTableWidthPx : "pixels", DlgTableWidthPc : "percent", DlgTableHeight : "Height", DlgTableCellSpace : "Cell spacing", DlgTableCellPad : "Cell padding", DlgTableCaption : "Caption", DlgTableSummary : "Summary", // Table Cell Dialog DlgCellTitle : "Cell Properties", DlgCellWidth : "Width", DlgCellWidthPx : "pixels", DlgCellWidthPc : "percent", DlgCellHeight : "Height", DlgCellWordWrap : "Word Wrap", DlgCellWordWrapNotSet : "<Not set>", DlgCellWordWrapYes : "Yes", DlgCellWordWrapNo : "No", DlgCellHorAlign : "Horizontal Alignment", DlgCellHorAlignNotSet : "<Not set>", DlgCellHorAlignLeft : "Left", DlgCellHorAlignCenter : "Centre", DlgCellHorAlignRight: "Right", DlgCellVerAlign : "Vertical Alignment", DlgCellVerAlignNotSet : "<Not set>", DlgCellVerAlignTop : "Top", DlgCellVerAlignMiddle : "Middle", DlgCellVerAlignBottom : "Bottom", DlgCellVerAlignBaseline : "Baseline", DlgCellRowSpan : "Rows Span", DlgCellCollSpan : "Columns Span", DlgCellBackColor : "Background Colour", DlgCellBorderColor : "Border Colour", DlgCellBtnSelect : "Select...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Find and Replace", // Find Dialog DlgFindTitle : "Find", DlgFindFindBtn : "Find", DlgFindNotFoundMsg : "The specified text was not found.", // Replace Dialog DlgReplaceTitle : "Replace", DlgReplaceFindLbl : "Find what:", DlgReplaceReplaceLbl : "Replace with:", DlgReplaceCaseChk : "Match case", DlgReplaceReplaceBtn : "Replace", DlgReplaceReplAllBtn : "Replace All", DlgReplaceWordChk : "Match whole word", // Paste Operations / Dialog PasteErrorCut : "Your browser security settings don't permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).", PasteErrorCopy : "Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).", PasteAsText : "Paste as Plain Text", PasteFromWord : "Paste from Word", DlgPasteMsg2 : "Please paste inside the following box using the keyboard (<strong>Ctrl+V</strong>) and hit <strong>OK</strong>.", DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", DlgPasteIgnoreFont : "Ignore Font Face definitions", DlgPasteRemoveStyles : "Remove Styles definitions", // Color Picker ColorAutomatic : "Automatic", ColorMoreColors : "More Colours...", // Document Properties DocProps : "Document Properties", // Anchor Dialog DlgAnchorTitle : "Anchor Properties", DlgAnchorName : "Anchor Name", DlgAnchorErrorName : "Please type the anchor name", // Speller Pages Dialog DlgSpellNotInDic : "Not in dictionary", DlgSpellChangeTo : "Change to", DlgSpellBtnIgnore : "Ignore", DlgSpellBtnIgnoreAll : "Ignore All", DlgSpellBtnReplace : "Replace", DlgSpellBtnReplaceAll : "Replace All", DlgSpellBtnUndo : "Undo", DlgSpellNoSuggestions : "- No suggestions -", DlgSpellProgress : "Spell check in progress...", DlgSpellNoMispell : "Spell check complete: No misspellings found", DlgSpellNoChanges : "Spell check complete: No words changed", DlgSpellOneChange : "Spell check complete: One word changed", DlgSpellManyChanges : "Spell check complete: %1 words changed", IeSpellDownload : "Spell checker not installed. Do you want to download it now?", // Button Dialog DlgButtonText : "Text (Value)", DlgButtonType : "Type", DlgButtonTypeBtn : "Button", DlgButtonTypeSbm : "Submit", DlgButtonTypeRst : "Reset", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Name", DlgCheckboxValue : "Value", DlgCheckboxSelected : "Selected", // Form Dialog DlgFormName : "Name", DlgFormAction : "Action", DlgFormMethod : "Method", // Select Field Dialog DlgSelectName : "Name", DlgSelectValue : "Value", DlgSelectSize : "Size", DlgSelectLines : "lines", DlgSelectChkMulti : "Allow multiple selections", DlgSelectOpAvail : "Available Options", DlgSelectOpText : "Text", DlgSelectOpValue : "Value", DlgSelectBtnAdd : "Add", DlgSelectBtnModify : "Modify", DlgSelectBtnUp : "Up", DlgSelectBtnDown : "Down", DlgSelectBtnSetValue : "Set as selected value", DlgSelectBtnDelete : "Delete", // Textarea Dialog DlgTextareaName : "Name", DlgTextareaCols : "Columns", DlgTextareaRows : "Rows", // Text Field Dialog DlgTextName : "Name", DlgTextValue : "Value", DlgTextCharWidth : "Character Width", DlgTextMaxChars : "Maximum Characters", DlgTextType : "Type", DlgTextTypeText : "Text", DlgTextTypePass : "Password", // Hidden Field Dialog DlgHiddenName : "Name", DlgHiddenValue : "Value", // Bulleted List Dialog BulletedListProp : "Bulleted List Properties", NumberedListProp : "Numbered List Properties", DlgLstStart : "Start", DlgLstType : "Type", DlgLstTypeCircle : "Circle", DlgLstTypeDisc : "Disc", DlgLstTypeSquare : "Square", DlgLstTypeNumbers : "Numbers (1, 2, 3)", DlgLstTypeLCase : "Lowercase Letters (a, b, c)", DlgLstTypeUCase : "Uppercase Letters (A, B, C)", DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "General", DlgDocBackTab : "Background", DlgDocColorsTab : "Colours and Margins", DlgDocMetaTab : "Meta Data", DlgDocPageTitle : "Page Title", DlgDocLangDir : "Language Direction", DlgDocLangDirLTR : "Left to Right (LTR)", DlgDocLangDirRTL : "Right to Left (RTL)", DlgDocLangCode : "Language Code", DlgDocCharSet : "Character Set Encoding", DlgDocCharSetCE : "Central European", DlgDocCharSetCT : "Chinese Traditional (Big5)", DlgDocCharSetCR : "Cyrillic", DlgDocCharSetGR : "Greek", DlgDocCharSetJP : "Japanese", DlgDocCharSetKR : "Korean", DlgDocCharSetTR : "Turkish", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "Western European", DlgDocCharSetOther : "Other Character Set Encoding", DlgDocDocType : "Document Type Heading", DlgDocDocTypeOther : "Other Document Type Heading", DlgDocIncXHTML : "Include XHTML Declarations", DlgDocBgColor : "Background Colour", DlgDocBgImage : "Background Image URL", DlgDocBgNoScroll : "Nonscrolling Background", DlgDocCText : "Text", DlgDocCLink : "Link", DlgDocCVisited : "Visited Link", DlgDocCActive : "Active Link", DlgDocMargins : "Page Margins", DlgDocMaTop : "Top", DlgDocMaLeft : "Left", DlgDocMaRight : "Right", DlgDocMaBottom : "Bottom", DlgDocMeIndex : "Document Indexing Keywords (comma separated)", DlgDocMeDescr : "Document Description", DlgDocMeAuthor : "Author", DlgDocMeCopy : "Copyright", DlgDocPreview : "Preview", // Templates Dialog Templates : "Templates", DlgTemplatesTitle : "Content Templates", DlgTemplatesSelMsg : "Please select the template to open in the editor<br />(the actual contents will be lost):", DlgTemplatesLoading : "Loading templates list. Please wait...", DlgTemplatesNoTpl : "(No templates defined)", DlgTemplatesReplace : "Replace actual contents", // About Dialog DlgAboutAboutTab : "About", DlgAboutBrowserInfoTab : "Browser Info", DlgAboutLicenseTab : "License", DlgAboutVersion : "version", DlgAboutInfo : "For further information go to", // Div Dialog DlgDivGeneralTab : "General", DlgDivAdvancedTab : "Advanced", DlgDivStyle : "Style", DlgDivInlineStyle : "Inline Style" };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Estonian language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Voldi tööriistariba", ToolbarExpand : "Laienda tööriistariba", // Toolbar Items and Context Menu Save : "Salvesta", NewPage : "Uus leht", Preview : "Eelvaade", Cut : "Lõika", Copy : "Kopeeri", Paste : "Kleebi", PasteText : "Kleebi tavalise tekstina", PasteWord : "Kleebi Wordist", Print : "Prindi", SelectAll : "Vali kõik", RemoveFormat : "Eemalda vorming", InsertLinkLbl : "Link", InsertLink : "Sisesta link / Muuda linki", RemoveLink : "Eemalda link", VisitLink : "Open Link", //MISSING Anchor : "Sisesta ankur / Muuda ankrut", AnchorDelete : "Eemalda ankur", InsertImageLbl : "Pilt", InsertImage : "Sisesta pilt / Muuda pilti", InsertFlashLbl : "Flash", InsertFlash : "Sisesta flash / Muuda flashi", InsertTableLbl : "Tabel", InsertTable : "Sisesta tabel / Muuda tabelit", InsertLineLbl : "Joon", InsertLine : "Sisesta horisontaaljoon", InsertSpecialCharLbl: "Erimärgid", InsertSpecialChar : "Sisesta erimärk", InsertSmileyLbl : "Emotikon", InsertSmiley : "Sisesta emotikon", About : "FCKeditor teave", Bold : "Paks", Italic : "Kursiiv", Underline : "Allajoonitud", StrikeThrough : "Läbijoonitud", Subscript : "Allindeks", Superscript : "Ülaindeks", LeftJustify : "Vasakjoondus", CenterJustify : "Keskjoondus", RightJustify : "Paremjoondus", BlockJustify : "Rööpjoondus", DecreaseIndent : "Vähenda taanet", IncreaseIndent : "Suurenda taanet", Blockquote : "Blokktsitaat", CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "Võta tagasi", Redo : "Korda toimingut", NumberedListLbl : "Nummerdatud loetelu", NumberedList : "Sisesta/Eemalda nummerdatud loetelu", BulletedListLbl : "Punktiseeritud loetelu", BulletedList : "Sisesta/Eemalda punktiseeritud loetelu", ShowTableBorders : "Näita tabeli jooni", ShowDetails : "Näita üksikasju", Style : "Laad", FontFormat : "Vorming", Font : "Kiri", FontSize : "Suurus", TextColor : "Teksti värv", BGColor : "Tausta värv", Source : "Lähtekood", Find : "Otsi", Replace : "Asenda", SpellCheck : "Kontrolli õigekirja", UniversalKeyboard : "Universaalne klaviatuur", PageBreakLbl : "Lehepiir", PageBreak : "Sisesta lehevahetuskoht", Form : "Vorm", Checkbox : "Märkeruut", RadioButton : "Raadionupp", TextField : "Tekstilahter", Textarea : "Tekstiala", HiddenField : "Varjatud lahter", Button : "Nupp", SelectionField : "Valiklahter", ImageButton : "Piltnupp", FitWindow : "Maksimeeri redaktori mõõtmed", ShowBlocks : "Näita blokke", // Context Menu EditLink : "Muuda linki", CellCM : "Lahter", RowCM : "Rida", ColumnCM : "Veerg", InsertRowAfter : "Sisesta rida peale", InsertRowBefore : "Sisesta rida enne", DeleteRows : "Eemalda read", InsertColumnAfter : "Sisesta veerg peale", InsertColumnBefore : "Sisesta veerg enne", DeleteColumns : "Eemalda veerud", InsertCellAfter : "Sisesta lahter peale", InsertCellBefore : "Sisesta lahter enne", DeleteCells : "Eemalda lahtrid", MergeCells : "Ühenda lahtrid", MergeRight : "Ühenda paremale", MergeDown : "Ühenda alla", HorizontalSplitCell : "Poolita lahter horisontaalselt", VerticalSplitCell : "Poolita lahter vertikaalselt", TableDelete : "Kustuta tabel", CellProperties : "Lahtri atribuudid", TableProperties : "Tabeli atribuudid", ImageProperties : "Pildi atribuudid", FlashProperties : "Flash omadused", AnchorProp : "Ankru omadused", ButtonProp : "Nupu omadused", CheckboxProp : "Märkeruudu omadused", HiddenFieldProp : "Varjatud lahtri omadused", RadioButtonProp : "Raadionupu omadused", ImageButtonProp : "Piltnupu omadused", TextFieldProp : "Tekstilahtri omadused", SelectionFieldProp : "Valiklahtri omadused", TextareaProp : "Tekstiala omadused", FormProp : "Vormi omadused", FontFormats : "Tavaline;Vormindatud;Aadress;Pealkiri 1;Pealkiri 2;Pealkiri 3;Pealkiri 4;Pealkiri 5;Pealkiri 6;Tavaline (DIV)", // Alerts and Messages ProcessingXHTML : "Töötlen XHTML'i. Palun oota...", Done : "Tehtud", PasteWordConfirm : "Tekst, mida soovid lisada paistab pärinevat Word'ist. Kas soovid seda enne kleepimist puhastada?", NotCompatiblePaste : "See käsk on saadaval ainult Internet Explorer versioon 5.5 või uuema puhul. Kas soovid kleepida ilma puhastamata?", UnknownToolbarItem : "Tundmatu tööriistarea üksus \"%1\"", UnknownCommand : "Tundmatu käsunimi \"%1\"", NotImplemented : "Käsku ei täidetud", UnknownToolbarSet : "Tööriistariba \"%1\" ei eksisteeri", NoActiveX : "Sinu veebisirvija turvalisuse seaded võivad limiteerida mõningaid tekstirdaktori kasutusvõimalusi. Sa peaksid võimaldama valiku \"Run ActiveX controls and plug-ins\" oma veebisirvija seadetes. Muidu võid sa täheldada vigu tekstiredaktori töös ja märgata puuduvaid funktsioone.", BrowseServerBlocked : "Ressursside sirvija avamine ebaõnnestus. Võimalda pop-up akende avanemine.", DialogBlocked : "Ei olenud võimalik avada dialoogi akent. Võimalda pop-up akende avanemine.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Loobu", DlgBtnClose : "Sulge", DlgBtnBrowseServer : "Sirvi serverit", DlgAdvancedTag : "Täpsemalt", DlgOpOther : "<Teine>", DlgInfoTab : "Info", DlgAlertUrl : "Palun sisesta URL", // General Dialogs Labels DlgGenNotSet : "<määramata>", DlgGenId : "Id", DlgGenLangDir : "Keele suund", DlgGenLangDirLtr : "Vasakult paremale (LTR)", DlgGenLangDirRtl : "Paremalt vasakule (RTL)", DlgGenLangCode : "Keele kood", DlgGenAccessKey : "Juurdepääsu võti", DlgGenName : "Nimi", DlgGenTabIndex : "Tab indeks", DlgGenLongDescr : "Pikk kirjeldus URL", DlgGenClass : "Stiilistiku klassid", DlgGenTitle : "Juhendav tiitel", DlgGenContType : "Juhendava sisu tüüp", DlgGenLinkCharset : "Lingitud ressurssi märgistik", DlgGenStyle : "Laad", // Image Dialog DlgImgTitle : "Pildi atribuudid", DlgImgInfoTab : "Pildi info", DlgImgBtnUpload : "Saada serverissee", DlgImgURL : "URL", DlgImgUpload : "Lae üles", DlgImgAlt : "Alternatiivne tekst", DlgImgWidth : "Laius", DlgImgHeight : "Kõrgus", DlgImgLockRatio : "Lukusta kuvasuhe", DlgBtnResetSize : "Lähtesta suurus", DlgImgBorder : "Joon", DlgImgHSpace : "H. vaheruum", DlgImgVSpace : "V. vaheruum", DlgImgAlign : "Joondus", DlgImgAlignLeft : "Vasak", DlgImgAlignAbsBottom: "Abs alla", DlgImgAlignAbsMiddle: "Abs keskele", DlgImgAlignBaseline : "Baasjoonele", DlgImgAlignBottom : "Alla", DlgImgAlignMiddle : "Keskele", DlgImgAlignRight : "Paremale", DlgImgAlignTextTop : "Tekstit üles", DlgImgAlignTop : "Üles", DlgImgPreview : "Eelvaade", DlgImgAlertUrl : "Palun kirjuta pildi URL", DlgImgLinkTab : "Link", // Flash Dialog DlgFlashTitle : "Flash omadused", DlgFlashChkPlay : "Automaatne start ", DlgFlashChkLoop : "Korduv", DlgFlashChkMenu : "Võimalda flash menüü", DlgFlashScale : "Mastaap", DlgFlashScaleAll : "Näita kõike", DlgFlashScaleNoBorder : "Äärist ei ole", DlgFlashScaleFit : "Täpne sobivus", // Link Dialog DlgLnkWindowTitle : "Link", DlgLnkInfoTab : "Lingi info", DlgLnkTargetTab : "Sihtkoht", DlgLnkType : "Lingi tüüp", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Ankur sellel lehel", DlgLnkTypeEMail : "E-post", DlgLnkProto : "Protokoll", DlgLnkProtoOther : "<muu>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Vali ankur", DlgLnkAnchorByName : "Ankru nime järgi", DlgLnkAnchorById : "Elemendi id järgi", DlgLnkNoAnchors : "(Selles dokumendis ei ole ankruid)", DlgLnkEMail : "E-posti aadress", DlgLnkEMailSubject : "Sõnumi teema", DlgLnkEMailBody : "Sõnumi tekst", DlgLnkUpload : "Lae üles", DlgLnkBtnUpload : "Saada serverisse", DlgLnkTarget : "Sihtkoht", DlgLnkTargetFrame : "<raam>", DlgLnkTargetPopup : "<hüpikaken>", DlgLnkTargetBlank : "Uus aken (_blank)", DlgLnkTargetParent : "Esivanem aken (_parent)", DlgLnkTargetSelf : "Sama aken (_self)", DlgLnkTargetTop : "Pealmine aken (_top)", DlgLnkTargetFrameName : "Sihtmärk raami nimi", DlgLnkPopWinName : "Hüpikakna nimi", DlgLnkPopWinFeat : "Hüpikakna omadused", DlgLnkPopResize : "Suurendatav", DlgLnkPopLocation : "Aadressiriba", DlgLnkPopMenu : "Menüüriba", DlgLnkPopScroll : "Kerimisribad", DlgLnkPopStatus : "Olekuriba", DlgLnkPopToolbar : "Tööriistariba", DlgLnkPopFullScrn : "Täisekraan (IE)", DlgLnkPopDependent : "Sõltuv (Netscape)", DlgLnkPopWidth : "Laius", DlgLnkPopHeight : "Kõrgus", DlgLnkPopLeft : "Vasak asukoht", DlgLnkPopTop : "Ülemine asukoht", DlnLnkMsgNoUrl : "Palun kirjuta lingi URL", DlnLnkMsgNoEMail : "Palun kirjuta E-Posti aadress", DlnLnkMsgNoAnchor : "Palun vali ankur", DlnLnkMsgInvPopName : "Hüpikakna nimi peab algama alfabeetilise tähega ja ei tohi sisaldada tühikuid", // Color Dialog DlgColorTitle : "Vali värv", DlgColorBtnClear : "Tühjenda", DlgColorHighlight : "Märgi", DlgColorSelected : "Valitud", // Smiley Dialog DlgSmileyTitle : "Sisesta emotikon", // Special Character Dialog DlgSpecialCharTitle : "Vali erimärk", // Table Dialog DlgTableTitle : "Tabeli atribuudid", DlgTableRows : "Read", DlgTableColumns : "Veerud", DlgTableBorder : "Joone suurus", DlgTableAlign : "Joondus", DlgTableAlignNotSet : "<Määramata>", DlgTableAlignLeft : "Vasak", DlgTableAlignCenter : "Kesk", DlgTableAlignRight : "Parem", DlgTableWidth : "Laius", DlgTableWidthPx : "pikslit", DlgTableWidthPc : "protsenti", DlgTableHeight : "Kõrgus", DlgTableCellSpace : "Lahtri vahe", DlgTableCellPad : "Lahtri täidis", DlgTableCaption : "Tabeli tiitel", DlgTableSummary : "Kokkuvõte", // Table Cell Dialog DlgCellTitle : "Lahtri atribuudid", DlgCellWidth : "Laius", DlgCellWidthPx : "pikslit", DlgCellWidthPc : "protsenti", DlgCellHeight : "Kõrgus", DlgCellWordWrap : "Sõna ülekanne", DlgCellWordWrapNotSet : "<Määramata>", DlgCellWordWrapYes : "Jah", DlgCellWordWrapNo : "Ei", DlgCellHorAlign : "Horisontaaljoondus", DlgCellHorAlignNotSet : "<Määramata>", DlgCellHorAlignLeft : "Vasak", DlgCellHorAlignCenter : "Kesk", DlgCellHorAlignRight: "Parem", DlgCellVerAlign : "Vertikaaljoondus", DlgCellVerAlignNotSet : "<Määramata>", DlgCellVerAlignTop : "Üles", DlgCellVerAlignMiddle : "Keskele", DlgCellVerAlignBottom : "Alla", DlgCellVerAlignBaseline : "Baasjoonele", DlgCellRowSpan : "Reaulatus", DlgCellCollSpan : "Veeruulatus", DlgCellBackColor : "Tausta värv", DlgCellBorderColor : "Joone värv", DlgCellBtnSelect : "Vali...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Otsi ja asenda", // Find Dialog DlgFindTitle : "Otsi", DlgFindFindBtn : "Otsi", DlgFindNotFoundMsg : "Valitud teksti ei leitud.", // Replace Dialog DlgReplaceTitle : "Asenda", DlgReplaceFindLbl : "Leia mida:", DlgReplaceReplaceLbl : "Asenda millega:", DlgReplaceCaseChk : "Erista suur- ja väiketähti", DlgReplaceReplaceBtn : "Asenda", DlgReplaceReplAllBtn : "Asenda kõik", DlgReplaceWordChk : "Otsi terviklike sõnu", // Paste Operations / Dialog PasteErrorCut : "Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt lõigata. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl+X).", PasteErrorCopy : "Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt kopeerida. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl+C).", PasteAsText : "Kleebi tavalise tekstina", PasteFromWord : "Kleebi Wordist", DlgPasteMsg2 : "Palun kleebi järgnevasse kasti kasutades klaviatuuri klahvikombinatsiooni (<STRONG>Ctrl+V</STRONG>) ja vajuta seejärel <STRONG>OK</STRONG>.", DlgPasteSec : "Sinu veebisirvija turvaseadete tõttu, ei oma redaktor otsest ligipääsu lõikelaua andmetele. Sa pead kleepima need uuesti siia aknasse.", DlgPasteIgnoreFont : "Ignoreeri kirja definitsioone", DlgPasteRemoveStyles : "Eemalda stiilide definitsioonid", // Color Picker ColorAutomatic : "Automaatne", ColorMoreColors : "Rohkem värve...", // Document Properties DocProps : "Dokumendi omadused", // Anchor Dialog DlgAnchorTitle : "Ankru omadused", DlgAnchorName : "Ankru nimi", DlgAnchorErrorName : "Palun sisest ankru nimi", // Speller Pages Dialog DlgSpellNotInDic : "Puudub sõnastikust", DlgSpellChangeTo : "Muuda", DlgSpellBtnIgnore : "Ignoreeri", DlgSpellBtnIgnoreAll : "Ignoreeri kõiki", DlgSpellBtnReplace : "Asenda", DlgSpellBtnReplaceAll : "Asenda kõik", DlgSpellBtnUndo : "Võta tagasi", DlgSpellNoSuggestions : "- Soovitused puuduvad -", DlgSpellProgress : "Toimub õigekirja kontroll...", DlgSpellNoMispell : "Õigekirja kontroll sooritatud: õigekirjuvigu ei leitud", DlgSpellNoChanges : "Õigekirja kontroll sooritatud: ühtegi sõna ei muudetud", DlgSpellOneChange : "Õigekirja kontroll sooritatud: üks sõna muudeti", DlgSpellManyChanges : "Õigekirja kontroll sooritatud: %1 sõna muudetud", IeSpellDownload : "Õigekirja kontrollija ei ole installeeritud. Soovid sa selle alla laadida?", // Button Dialog DlgButtonText : "Tekst (väärtus)", DlgButtonType : "Tüüp", DlgButtonTypeBtn : "Nupp", DlgButtonTypeSbm : "Saada", DlgButtonTypeRst : "Lähtesta", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Nimi", DlgCheckboxValue : "Väärtus", DlgCheckboxSelected : "Valitud", // Form Dialog DlgFormName : "Nimi", DlgFormAction : "Toiming", DlgFormMethod : "Meetod", // Select Field Dialog DlgSelectName : "Nimi", DlgSelectValue : "Väärtus", DlgSelectSize : "Suurus", DlgSelectLines : "ridu", DlgSelectChkMulti : "Võimalda mitu valikut", DlgSelectOpAvail : "Võimalikud valikud", DlgSelectOpText : "Tekst", DlgSelectOpValue : "Väärtus", DlgSelectBtnAdd : "Lisa", DlgSelectBtnModify : "Muuda", DlgSelectBtnUp : "Üles", DlgSelectBtnDown : "Alla", DlgSelectBtnSetValue : "Sea valitud olekuna", DlgSelectBtnDelete : "Kustuta", // Textarea Dialog DlgTextareaName : "Nimi", DlgTextareaCols : "Veerge", DlgTextareaRows : "Ridu", // Text Field Dialog DlgTextName : "Nimi", DlgTextValue : "Väärtus", DlgTextCharWidth : "Laius (tähemärkides)", DlgTextMaxChars : "Maksimaalselt tähemärke", DlgTextType : "Tüüp", DlgTextTypeText : "Tekst", DlgTextTypePass : "Parool", // Hidden Field Dialog DlgHiddenName : "Nimi", DlgHiddenValue : "Väärtus", // Bulleted List Dialog BulletedListProp : "Täpitud loetelu omadused", NumberedListProp : "Nummerdatud loetelu omadused", DlgLstStart : "Alusta", DlgLstType : "Tüüp", DlgLstTypeCircle : "Ring", DlgLstTypeDisc : "Ketas", DlgLstTypeSquare : "Ruut", DlgLstTypeNumbers : "Numbrid (1, 2, 3)", DlgLstTypeLCase : "Väiketähed (a, b, c)", DlgLstTypeUCase : "Suurtähed (A, B, C)", DlgLstTypeSRoman : "Väiksed Rooma numbrid (i, ii, iii)", DlgLstTypeLRoman : "Suured Rooma numbrid (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Üldine", DlgDocBackTab : "Taust", DlgDocColorsTab : "Värvid ja veerised", DlgDocMetaTab : "Meta andmed", DlgDocPageTitle : "Lehekülje tiitel", DlgDocLangDir : "Kirja suund", DlgDocLangDirLTR : "Vasakult paremale (LTR)", DlgDocLangDirRTL : "Paremalt vasakule (RTL)", DlgDocLangCode : "Keele kood", DlgDocCharSet : "Märgistiku kodeering", DlgDocCharSetCE : "Kesk-Euroopa", DlgDocCharSetCT : "Hiina traditsiooniline (Big5)", DlgDocCharSetCR : "Kirillisa", DlgDocCharSetGR : "Kreeka", DlgDocCharSetJP : "Jaapani", DlgDocCharSetKR : "Korea", DlgDocCharSetTR : "Türgi", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "Lääne-Euroopa", DlgDocCharSetOther : "Ülejäänud märgistike kodeeringud", DlgDocDocType : "Dokumendi tüüppäis", DlgDocDocTypeOther : "Teised dokumendi tüüppäised", DlgDocIncXHTML : "Arva kaasa XHTML deklaratsioonid", DlgDocBgColor : "Taustavärv", DlgDocBgImage : "Taustapildi URL", DlgDocBgNoScroll : "Mittekeritav tagataust", DlgDocCText : "Tekst", DlgDocCLink : "Link", DlgDocCVisited : "Külastatud link", DlgDocCActive : "Aktiivne link", DlgDocMargins : "Lehekülje äärised", DlgDocMaTop : "Ülaserv", DlgDocMaLeft : "Vasakserv", DlgDocMaRight : "Paremserv", DlgDocMaBottom : "Alaserv", DlgDocMeIndex : "Dokumendi võtmesõnad (eraldatud komadega)", DlgDocMeDescr : "Dokumendi kirjeldus", DlgDocMeAuthor : "Autor", DlgDocMeCopy : "Autoriõigus", DlgDocPreview : "Eelvaade", // Templates Dialog Templates : "Šabloon", DlgTemplatesTitle : "Sisu šabloonid", DlgTemplatesSelMsg : "Palun vali šabloon, et avada see redaktoris<br />(praegune sisu läheb kaotsi):", DlgTemplatesLoading : "Laen šabloonide nimekirja. Palun oota...", DlgTemplatesNoTpl : "(Ühtegi šablooni ei ole defineeritud)", DlgTemplatesReplace : "Asenda tegelik sisu", // About Dialog DlgAboutAboutTab : "Teave", DlgAboutBrowserInfoTab : "Veebisirvija info", DlgAboutLicenseTab : "Litsents", DlgAboutVersion : "versioon", DlgAboutInfo : "Täpsema info saamiseks mine", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Chinese Traditional language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "隱藏面板", ToolbarExpand : "顯示面板", // Toolbar Items and Context Menu Save : "儲存", NewPage : "開新檔案", Preview : "預覽", Cut : "剪下", Copy : "複製", Paste : "貼上", PasteText : "貼為純文字格式", PasteWord : "自 Word 貼上", Print : "列印", SelectAll : "全選", RemoveFormat : "清除格式", InsertLinkLbl : "超連結", InsertLink : "插入/編輯超連結", RemoveLink : "移除超連結", VisitLink : "開啟超連結", Anchor : "插入/編輯錨點", AnchorDelete : "移除錨點", InsertImageLbl : "影像", InsertImage : "插入/編輯影像", InsertFlashLbl : "Flash", InsertFlash : "插入/編輯 Flash", InsertTableLbl : "表格", InsertTable : "插入/編輯表格", InsertLineLbl : "水平線", InsertLine : "插入水平線", InsertSpecialCharLbl: "特殊符號", InsertSpecialChar : "插入特殊符號", InsertSmileyLbl : "表情符號", InsertSmiley : "插入表情符號", About : "關於 FCKeditor", Bold : "粗體", Italic : "斜體", Underline : "底線", StrikeThrough : "刪除線", Subscript : "下標", Superscript : "上標", LeftJustify : "靠左對齊", CenterJustify : "置中", RightJustify : "靠右對齊", BlockJustify : "左右對齊", DecreaseIndent : "減少縮排", IncreaseIndent : "增加縮排", Blockquote : "引用文字", CreateDiv : "新增 Div 標籤", EditDiv : "變更 Div 標籤", DeleteDiv : "移除 Div 標籤", Undo : "復原", Redo : "重複", NumberedListLbl : "編號清單", NumberedList : "插入/移除編號清單", BulletedListLbl : "項目清單", BulletedList : "插入/移除項目清單", ShowTableBorders : "顯示表格邊框", ShowDetails : "顯示詳細資料", Style : "樣式", FontFormat : "格式", Font : "字體", FontSize : "大小", TextColor : "文字顏色", BGColor : "背景顏色", Source : "原始碼", Find : "尋找", Replace : "取代", SpellCheck : "拼字檢查", UniversalKeyboard : "萬國鍵盤", PageBreakLbl : "分頁符號", PageBreak : "插入分頁符號", Form : "表單", Checkbox : "核取方塊", RadioButton : "選項按鈕", TextField : "文字方塊", Textarea : "文字區域", HiddenField : "隱藏欄位", Button : "按鈕", SelectionField : "清單/選單", ImageButton : "影像按鈕", FitWindow : "編輯器最大化", ShowBlocks : "顯示區塊", // Context Menu EditLink : "編輯超連結", CellCM : "儲存格", RowCM : "列", ColumnCM : "欄", InsertRowAfter : "向下插入列", InsertRowBefore : "向上插入列", DeleteRows : "刪除列", InsertColumnAfter : "向右插入欄", InsertColumnBefore : "向左插入欄", DeleteColumns : "刪除欄", InsertCellAfter : "向右插入儲存格", InsertCellBefore : "向左插入儲存格", DeleteCells : "刪除儲存格", MergeCells : "合併儲存格", MergeRight : "向右合併儲存格", MergeDown : "向下合併儲存格", HorizontalSplitCell : "橫向分割儲存格", VerticalSplitCell : "縱向分割儲存格", TableDelete : "刪除表格", CellProperties : "儲存格屬性", TableProperties : "表格屬性", ImageProperties : "影像屬性", FlashProperties : "Flash 屬性", AnchorProp : "錨點屬性", ButtonProp : "按鈕屬性", CheckboxProp : "核取方塊屬性", HiddenFieldProp : "隱藏欄位屬性", RadioButtonProp : "選項按鈕屬性", ImageButtonProp : "影像按鈕屬性", TextFieldProp : "文字方塊屬性", SelectionFieldProp : "清單/選單屬性", TextareaProp : "文字區域屬性", FormProp : "表單屬性", FontFormats : "一般;已格式化;位址;標題 1;標題 2;標題 3;標題 4;標題 5;標題 6;一般 (DIV)", // Alerts and Messages ProcessingXHTML : "處理 XHTML 中,請稍候…", Done : "完成", PasteWordConfirm : "您想貼上的文字似乎是自 Word 複製而來,請問您是否要先清除 Word 的格式後再行貼上?", NotCompatiblePaste : "此指令僅在 Internet Explorer 5.5 或以上的版本有效。請問您是否同意不清除格式即貼上?", UnknownToolbarItem : "未知工具列項目 \"%1\"", UnknownCommand : "未知指令名稱 \"%1\"", NotImplemented : "尚未安裝此指令", UnknownToolbarSet : "工具列設定 \"%1\" 不存在", NoActiveX : "瀏覽器的安全性設定限制了本編輯器的某些功能。您必須啟用安全性設定中的「執行ActiveX控制項與外掛程式」項目,否則本編輯器將會出現錯誤並缺少某些功能", BrowseServerBlocked : "無法開啟資源瀏覽器,請確定所有快顯視窗封鎖程式是否關閉", DialogBlocked : "無法開啟對話視窗,請確定所有快顯視窗封鎖程式是否關閉", VisitLinkBlocked : "無法開啟新視窗,請確定所有快顯視窗封鎖程式是否關閉", // Dialogs DlgBtnOK : "確定", DlgBtnCancel : "取消", DlgBtnClose : "關閉", DlgBtnBrowseServer : "瀏覽伺服器端", DlgAdvancedTag : "進階", DlgOpOther : "<其他>", DlgInfoTab : "資訊", DlgAlertUrl : "請插入 URL", // General Dialogs Labels DlgGenNotSet : "<尚未設定>", DlgGenId : "ID", DlgGenLangDir : "語言方向", DlgGenLangDirLtr : "由左而右 (LTR)", DlgGenLangDirRtl : "由右而左 (RTL)", DlgGenLangCode : "語言代碼", DlgGenAccessKey : "存取鍵", DlgGenName : "名稱", DlgGenTabIndex : "定位順序", DlgGenLongDescr : "詳細 URL", DlgGenClass : "樣式表類別", DlgGenTitle : "標題", DlgGenContType : "內容類型", DlgGenLinkCharset : "連結資源之編碼", DlgGenStyle : "樣式", // Image Dialog DlgImgTitle : "影像屬性", DlgImgInfoTab : "影像資訊", DlgImgBtnUpload : "上傳至伺服器", DlgImgURL : "URL", DlgImgUpload : "上傳", DlgImgAlt : "替代文字", DlgImgWidth : "寬度", DlgImgHeight : "高度", DlgImgLockRatio : "等比例", DlgBtnResetSize : "重設為原大小", DlgImgBorder : "邊框", DlgImgHSpace : "水平距離", DlgImgVSpace : "垂直距離", DlgImgAlign : "對齊", DlgImgAlignLeft : "靠左對齊", DlgImgAlignAbsBottom: "絕對下方", DlgImgAlignAbsMiddle: "絕對中間", DlgImgAlignBaseline : "基準線", DlgImgAlignBottom : "靠下對齊", DlgImgAlignMiddle : "置中對齊", DlgImgAlignRight : "靠右對齊", DlgImgAlignTextTop : "文字上方", DlgImgAlignTop : "靠上對齊", DlgImgPreview : "預覽", DlgImgAlertUrl : "請輸入影像 URL", DlgImgLinkTab : "超連結", // Flash Dialog DlgFlashTitle : "Flash 屬性", DlgFlashChkPlay : "自動播放", DlgFlashChkLoop : "重複", DlgFlashChkMenu : "開啟選單", DlgFlashScale : "縮放", DlgFlashScaleAll : "全部顯示", DlgFlashScaleNoBorder : "無邊框", DlgFlashScaleFit : "精確符合", // Link Dialog DlgLnkWindowTitle : "超連結", DlgLnkInfoTab : "超連結資訊", DlgLnkTargetTab : "目標", DlgLnkType : "超連接類型", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "本頁錨點", DlgLnkTypeEMail : "電子郵件", DlgLnkProto : "通訊協定", DlgLnkProtoOther : "<其他>", DlgLnkURL : "URL", DlgLnkAnchorSel : "請選擇錨點", DlgLnkAnchorByName : "依錨點名稱", DlgLnkAnchorById : "依元件 ID", DlgLnkNoAnchors : "(本文件尚無可用之錨點)", DlgLnkEMail : "電子郵件", DlgLnkEMailSubject : "郵件主旨", DlgLnkEMailBody : "郵件內容", DlgLnkUpload : "上傳", DlgLnkBtnUpload : "傳送至伺服器", DlgLnkTarget : "目標", DlgLnkTargetFrame : "<框架>", DlgLnkTargetPopup : "<快顯視窗>", DlgLnkTargetBlank : "新視窗 (_blank)", DlgLnkTargetParent : "父視窗 (_parent)", DlgLnkTargetSelf : "本視窗 (_self)", DlgLnkTargetTop : "最上層視窗 (_top)", DlgLnkTargetFrameName : "目標框架名稱", DlgLnkPopWinName : "快顯視窗名稱", DlgLnkPopWinFeat : "快顯視窗屬性", DlgLnkPopResize : "可調整大小", DlgLnkPopLocation : "網址列", DlgLnkPopMenu : "選單列", DlgLnkPopScroll : "捲軸", DlgLnkPopStatus : "狀態列", DlgLnkPopToolbar : "工具列", DlgLnkPopFullScrn : "全螢幕 (IE)", DlgLnkPopDependent : "從屬 (NS)", DlgLnkPopWidth : "寬", DlgLnkPopHeight : "高", DlgLnkPopLeft : "左", DlgLnkPopTop : "右", DlnLnkMsgNoUrl : "請輸入欲連結的 URL", DlnLnkMsgNoEMail : "請輸入電子郵件位址", DlnLnkMsgNoAnchor : "請選擇錨點", DlnLnkMsgInvPopName : "快顯名稱必須以「英文字母」為開頭,且不得含有空白", // Color Dialog DlgColorTitle : "請選擇顏色", DlgColorBtnClear : "清除", DlgColorHighlight : "預覽", DlgColorSelected : "選擇", // Smiley Dialog DlgSmileyTitle : "插入表情符號", // Special Character Dialog DlgSpecialCharTitle : "請選擇特殊符號", // Table Dialog DlgTableTitle : "表格屬性", DlgTableRows : "列數", DlgTableColumns : "欄數", DlgTableBorder : "邊框", DlgTableAlign : "對齊", DlgTableAlignNotSet : "<未設定>", DlgTableAlignLeft : "靠左對齊", DlgTableAlignCenter : "置中", DlgTableAlignRight : "靠右對齊", DlgTableWidth : "寬度", DlgTableWidthPx : "像素", DlgTableWidthPc : "百分比", DlgTableHeight : "高度", DlgTableCellSpace : "間距", DlgTableCellPad : "內距", DlgTableCaption : "標題", DlgTableSummary : "摘要", // Table Cell Dialog DlgCellTitle : "儲存格屬性", DlgCellWidth : "寬度", DlgCellWidthPx : "像素", DlgCellWidthPc : "百分比", DlgCellHeight : "高度", DlgCellWordWrap : "自動換行", DlgCellWordWrapNotSet : "<尚未設定>", DlgCellWordWrapYes : "是", DlgCellWordWrapNo : "否", DlgCellHorAlign : "水平對齊", DlgCellHorAlignNotSet : "<尚未設定>", DlgCellHorAlignLeft : "靠左對齊", DlgCellHorAlignCenter : "置中", DlgCellHorAlignRight: "靠右對齊", DlgCellVerAlign : "垂直對齊", DlgCellVerAlignNotSet : "<尚未設定>", DlgCellVerAlignTop : "靠上對齊", DlgCellVerAlignMiddle : "置中", DlgCellVerAlignBottom : "靠下對齊", DlgCellVerAlignBaseline : "基準線", DlgCellRowSpan : "合併列數", DlgCellCollSpan : "合併欄数", DlgCellBackColor : "背景顏色", DlgCellBorderColor : "邊框顏色", DlgCellBtnSelect : "請選擇…", // Find and Replace Dialog DlgFindAndReplaceTitle : "尋找與取代", // Find Dialog DlgFindTitle : "尋找", DlgFindFindBtn : "尋找", DlgFindNotFoundMsg : "未找到指定的文字。", // Replace Dialog DlgReplaceTitle : "取代", DlgReplaceFindLbl : "尋找:", DlgReplaceReplaceLbl : "取代:", DlgReplaceCaseChk : "大小寫須相符", DlgReplaceReplaceBtn : "取代", DlgReplaceReplAllBtn : "全部取代", DlgReplaceWordChk : "全字相符", // Paste Operations / Dialog PasteErrorCut : "瀏覽器的安全性設定不允許編輯器自動執行剪下動作。請使用快捷鍵 (Ctrl+X) 剪下。", PasteErrorCopy : "瀏覽器的安全性設定不允許編輯器自動執行複製動作。請使用快捷鍵 (Ctrl+C) 複製。", PasteAsText : "貼為純文字格式", PasteFromWord : "自 Word 貼上", DlgPasteMsg2 : "請使用快捷鍵 (<strong>Ctrl+V</strong>) 貼到下方區域中並按下 <strong>確定</strong>", DlgPasteSec : "因為瀏覽器的安全性設定,本編輯器無法直接存取您的剪貼簿資料,請您自行在本視窗進行貼上動作。", DlgPasteIgnoreFont : "移除字型設定", DlgPasteRemoveStyles : "移除樣式設定", // Color Picker ColorAutomatic : "自動", ColorMoreColors : "更多顏色…", // Document Properties DocProps : "文件屬性", // Anchor Dialog DlgAnchorTitle : "命名錨點", DlgAnchorName : "錨點名稱", DlgAnchorErrorName : "請輸入錨點名稱", // Speller Pages Dialog DlgSpellNotInDic : "不在字典中", DlgSpellChangeTo : "更改為", DlgSpellBtnIgnore : "忽略", DlgSpellBtnIgnoreAll : "全部忽略", DlgSpellBtnReplace : "取代", DlgSpellBtnReplaceAll : "全部取代", DlgSpellBtnUndo : "復原", DlgSpellNoSuggestions : "- 無建議值 -", DlgSpellProgress : "進行拼字檢查中…", DlgSpellNoMispell : "拼字檢查完成:未發現拼字錯誤", DlgSpellNoChanges : "拼字檢查完成:未更改任何單字", DlgSpellOneChange : "拼字檢查完成:更改了 1 個單字", DlgSpellManyChanges : "拼字檢查完成:更改了 %1 個單字", IeSpellDownload : "尚未安裝拼字檢查元件。您是否想要現在下載?", // Button Dialog DlgButtonText : "顯示文字 (值)", DlgButtonType : "類型", DlgButtonTypeBtn : "按鈕 (Button)", DlgButtonTypeSbm : "送出 (Submit)", DlgButtonTypeRst : "重設 (Reset)", // Checkbox and Radio Button Dialogs DlgCheckboxName : "名稱", DlgCheckboxValue : "選取值", DlgCheckboxSelected : "已選取", // Form Dialog DlgFormName : "名稱", DlgFormAction : "動作", DlgFormMethod : "方法", // Select Field Dialog DlgSelectName : "名稱", DlgSelectValue : "選取值", DlgSelectSize : "大小", DlgSelectLines : "行", DlgSelectChkMulti : "可多選", DlgSelectOpAvail : "可用選項", DlgSelectOpText : "顯示文字", DlgSelectOpValue : "值", DlgSelectBtnAdd : "新增", DlgSelectBtnModify : "修改", DlgSelectBtnUp : "上移", DlgSelectBtnDown : "下移", DlgSelectBtnSetValue : "設為預設值", DlgSelectBtnDelete : "刪除", // Textarea Dialog DlgTextareaName : "名稱", DlgTextareaCols : "字元寬度", DlgTextareaRows : "列數", // Text Field Dialog DlgTextName : "名稱", DlgTextValue : "值", DlgTextCharWidth : "字元寬度", DlgTextMaxChars : "最多字元數", DlgTextType : "類型", DlgTextTypeText : "文字", DlgTextTypePass : "密碼", // Hidden Field Dialog DlgHiddenName : "名稱", DlgHiddenValue : "值", // Bulleted List Dialog BulletedListProp : "項目清單屬性", NumberedListProp : "編號清單屬性", DlgLstStart : "起始編號", DlgLstType : "清單類型", DlgLstTypeCircle : "圓圈", DlgLstTypeDisc : "圓點", DlgLstTypeSquare : "方塊", DlgLstTypeNumbers : "數字 (1, 2, 3)", DlgLstTypeLCase : "小寫字母 (a, b, c)", DlgLstTypeUCase : "大寫字母 (A, B, C)", DlgLstTypeSRoman : "小寫羅馬數字 (i, ii, iii)", DlgLstTypeLRoman : "大寫羅馬數字 (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "一般", DlgDocBackTab : "背景", DlgDocColorsTab : "顯色與邊界", DlgDocMetaTab : "Meta 資料", DlgDocPageTitle : "頁面標題", DlgDocLangDir : "語言方向", DlgDocLangDirLTR : "由左而右 (LTR)", DlgDocLangDirRTL : "由右而左 (RTL)", DlgDocLangCode : "語言代碼", DlgDocCharSet : "字元編碼", DlgDocCharSetCE : "中歐語系", DlgDocCharSetCT : "正體中文 (Big5)", DlgDocCharSetCR : "斯拉夫文", DlgDocCharSetGR : "希臘文", DlgDocCharSetJP : "日文", DlgDocCharSetKR : "韓文", DlgDocCharSetTR : "土耳其文", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "西歐語系", DlgDocCharSetOther : "其他字元編碼", DlgDocDocType : "文件類型", DlgDocDocTypeOther : "其他文件類型", DlgDocIncXHTML : "包含 XHTML 定義", DlgDocBgColor : "背景顏色", DlgDocBgImage : "背景影像", DlgDocBgNoScroll : "浮水印", DlgDocCText : "文字", DlgDocCLink : "超連結", DlgDocCVisited : "已瀏覽過的超連結", DlgDocCActive : "作用中的超連結", DlgDocMargins : "頁面邊界", DlgDocMaTop : "上", DlgDocMaLeft : "左", DlgDocMaRight : "右", DlgDocMaBottom : "下", DlgDocMeIndex : "文件索引關鍵字 (用半形逗號[,]分隔)", DlgDocMeDescr : "文件說明", DlgDocMeAuthor : "作者", DlgDocMeCopy : "版權所有", DlgDocPreview : "預覽", // Templates Dialog Templates : "樣版", DlgTemplatesTitle : "內容樣版", DlgTemplatesSelMsg : "請選擇欲開啟的樣版<br> (原有的內容將會被清除):", DlgTemplatesLoading : "讀取樣版清單中,請稍候…", DlgTemplatesNoTpl : "(無樣版)", DlgTemplatesReplace : "取代原有內容", // About Dialog DlgAboutAboutTab : "關於", DlgAboutBrowserInfoTab : "瀏覽器資訊", DlgAboutLicenseTab : "許可證", DlgAboutVersion : "版本", DlgAboutInfo : "想獲得更多資訊請至 ", // Div Dialog DlgDivGeneralTab : "一般", DlgDivAdvancedTab : "進階", DlgDivStyle : "樣式", DlgDivInlineStyle : "CSS 樣式" };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Russian language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Свернуть панель инструментов", ToolbarExpand : "Развернуть панель инструментов", // Toolbar Items and Context Menu Save : "Сохранить", NewPage : "Новая страница", Preview : "Предварительный просмотр", Cut : "Вырезать", Copy : "Копировать", Paste : "Вставить", PasteText : "Вставить только текст", PasteWord : "Вставить из Word", Print : "Печать", SelectAll : "Выделить все", RemoveFormat : "Убрать форматирование", InsertLinkLbl : "Ссылка", InsertLink : "Вставить/Редактировать ссылку", RemoveLink : "Убрать ссылку", VisitLink : "Open Link", //MISSING Anchor : "Вставить/Редактировать якорь", AnchorDelete : "Убрать якорь", InsertImageLbl : "Изображение", InsertImage : "Вставить/Редактировать изображение", InsertFlashLbl : "Flash", InsertFlash : "Вставить/Редактировать Flash", InsertTableLbl : "Таблица", InsertTable : "Вставить/Редактировать таблицу", InsertLineLbl : "Линия", InsertLine : "Вставить горизонтальную линию", InsertSpecialCharLbl: "Специальный символ", InsertSpecialChar : "Вставить специальный символ", InsertSmileyLbl : "Смайлик", InsertSmiley : "Вставить смайлик", About : "О FCKeditor", Bold : "Жирный", Italic : "Курсив", Underline : "Подчеркнутый", StrikeThrough : "Зачеркнутый", Subscript : "Подстрочный индекс", Superscript : "Надстрочный индекс", LeftJustify : "По левому краю", CenterJustify : "По центру", RightJustify : "По правому краю", BlockJustify : "По ширине", DecreaseIndent : "Уменьшить отступ", IncreaseIndent : "Увеличить отступ", Blockquote : "Цитата", CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "Отменить", Redo : "Повторить", NumberedListLbl : "Нумерованный список", NumberedList : "Вставить/Удалить нумерованный список", BulletedListLbl : "Маркированный список", BulletedList : "Вставить/Удалить маркированный список", ShowTableBorders : "Показать бордюры таблицы", ShowDetails : "Показать детали", Style : "Стиль", FontFormat : "Форматирование", Font : "Шрифт", FontSize : "Размер", TextColor : "Цвет текста", BGColor : "Цвет фона", Source : "Источник", Find : "Найти", Replace : "Заменить", SpellCheck : "Проверить орфографию", UniversalKeyboard : "Универсальная клавиатура", PageBreakLbl : "Разрыв страницы", PageBreak : "Вставить разрыв страницы", Form : "Форма", Checkbox : "Флаговая кнопка", RadioButton : "Кнопка выбора", TextField : "Текстовое поле", Textarea : "Текстовая область", HiddenField : "Скрытое поле", Button : "Кнопка", SelectionField : "Список", ImageButton : "Кнопка с изображением", FitWindow : "Развернуть окно редактора", ShowBlocks : "Показать блоки", // Context Menu EditLink : "Вставить ссылку", CellCM : "Ячейка", RowCM : "Строка", ColumnCM : "Колонка", InsertRowAfter : "Вставить строку после", InsertRowBefore : "Вставить строку до", DeleteRows : "Удалить строки", InsertColumnAfter : "Вставить колонку после", InsertColumnBefore : "Вставить колонку до", DeleteColumns : "Удалить колонки", InsertCellAfter : "Вставить ячейку после", InsertCellBefore : "Вставить ячейку до", DeleteCells : "Удалить ячейки", MergeCells : "Соединить ячейки", MergeRight : "Соединить вправо", MergeDown : "Соединить вниз", HorizontalSplitCell : "Разбить ячейку горизонтально", VerticalSplitCell : "Разбить ячейку вертикально", TableDelete : "Удалить таблицу", CellProperties : "Свойства ячейки", TableProperties : "Свойства таблицы", ImageProperties : "Свойства изображения", FlashProperties : "Свойства Flash", AnchorProp : "Свойства якоря", ButtonProp : "Свойства кнопки", CheckboxProp : "Свойства флаговой кнопки", HiddenFieldProp : "Свойства скрытого поля", RadioButtonProp : "Свойства кнопки выбора", ImageButtonProp : "Свойства кнопки с изображением", TextFieldProp : "Свойства текстового поля", SelectionFieldProp : "Свойства списка", TextareaProp : "Свойства текстовой области", FormProp : "Свойства формы", FontFormats : "Нормальный;Форматированный;Адрес;Заголовок 1;Заголовок 2;Заголовок 3;Заголовок 4;Заголовок 5;Заголовок 6;Нормальный (DIV)", // Alerts and Messages ProcessingXHTML : "Обработка XHTML. Пожалуйста, подождите...", Done : "Сделано", PasteWordConfirm : "Текст, который вы хотите вставить, похож на копируемый из Word. Вы хотите очистить его перед вставкой?", NotCompatiblePaste : "Эта команда доступна для Internet Explorer версии 5.5 или выше. Вы хотите вставить без очистки?", UnknownToolbarItem : "Не известный элемент панели инструментов \"%1\"", UnknownCommand : "Не известное имя команды \"%1\"", NotImplemented : "Команда не реализована", UnknownToolbarSet : "Панель инструментов \"%1\" не существует", NoActiveX : "Настройки безопасности вашего браузера могут ограничивать некоторые свойства редактора. Вы должны включить опцию \"Запускать элементы управления ActiveX и плугины\". Вы можете видеть ошибки и замечать отсутствие возможностей.", BrowseServerBlocked : "Ресурсы браузера не могут быть открыты. Проверьте что блокировки всплывающих окон выключены.", DialogBlocked : "Невозможно открыть окно диалога. Проверьте что блокировки всплывающих окон выключены.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "ОК", DlgBtnCancel : "Отмена", DlgBtnClose : "Закрыть", DlgBtnBrowseServer : "Просмотреть на сервере", DlgAdvancedTag : "Расширенный", DlgOpOther : "<Другое>", DlgInfoTab : "Информация", DlgAlertUrl : "Пожалуйста, вставьте URL", // General Dialogs Labels DlgGenNotSet : "<не определено>", DlgGenId : "Идентификатор", DlgGenLangDir : "Направление языка", DlgGenLangDirLtr : "Слева на право (LTR)", DlgGenLangDirRtl : "Справа на лево (RTL)", DlgGenLangCode : "Язык", DlgGenAccessKey : "Горячая клавиша", DlgGenName : "Имя", DlgGenTabIndex : "Последовательность перехода", DlgGenLongDescr : "Длинное описание URL", DlgGenClass : "Класс CSS", DlgGenTitle : "Заголовок", DlgGenContType : "Тип содержимого", DlgGenLinkCharset : "Кодировка", DlgGenStyle : "Стиль CSS", // Image Dialog DlgImgTitle : "Свойства изображения", DlgImgInfoTab : "Информация о изображении", DlgImgBtnUpload : "Послать на сервер", DlgImgURL : "URL", DlgImgUpload : "Закачать", DlgImgAlt : "Альтернативный текст", DlgImgWidth : "Ширина", DlgImgHeight : "Высота", DlgImgLockRatio : "Сохранять пропорции", DlgBtnResetSize : "Сбросить размер", DlgImgBorder : "Бордюр", DlgImgHSpace : "Горизонтальный отступ", DlgImgVSpace : "Вертикальный отступ", DlgImgAlign : "Выравнивание", DlgImgAlignLeft : "По левому краю", DlgImgAlignAbsBottom: "Абс понизу", DlgImgAlignAbsMiddle: "Абс посередине", DlgImgAlignBaseline : "По базовой линии", DlgImgAlignBottom : "Понизу", DlgImgAlignMiddle : "Посередине", DlgImgAlignRight : "По правому краю", DlgImgAlignTextTop : "Текст наверху", DlgImgAlignTop : "По верху", DlgImgPreview : "Предварительный просмотр", DlgImgAlertUrl : "Пожалуйста, введите URL изображения", DlgImgLinkTab : "Ссылка", // Flash Dialog DlgFlashTitle : "Свойства Flash", DlgFlashChkPlay : "Авто проигрывание", DlgFlashChkLoop : "Повтор", DlgFlashChkMenu : "Включить меню Flash", DlgFlashScale : "Масштабировать", DlgFlashScaleAll : "Показывать все", DlgFlashScaleNoBorder : "Без бордюра", DlgFlashScaleFit : "Точное совпадение", // Link Dialog DlgLnkWindowTitle : "Ссылка", DlgLnkInfoTab : "Информация ссылки", DlgLnkTargetTab : "Цель", DlgLnkType : "Тип ссылки", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Якорь на эту страницу", DlgLnkTypeEMail : "Эл. почта", DlgLnkProto : "Протокол", DlgLnkProtoOther : "<другое>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Выберите якорь", DlgLnkAnchorByName : "По имени якоря", DlgLnkAnchorById : "По идентификатору элемента", DlgLnkNoAnchors : "(Нет якорей доступных в этом документе)", DlgLnkEMail : "Адрес эл. почты", DlgLnkEMailSubject : "Заголовок сообщения", DlgLnkEMailBody : "Тело сообщения", DlgLnkUpload : "Закачать", DlgLnkBtnUpload : "Послать на сервер", DlgLnkTarget : "Цель", DlgLnkTargetFrame : "<фрейм>", DlgLnkTargetPopup : "<всплывающее окно>", DlgLnkTargetBlank : "Новое окно (_blank)", DlgLnkTargetParent : "Родительское окно (_parent)", DlgLnkTargetSelf : "Тоже окно (_self)", DlgLnkTargetTop : "Самое верхнее окно (_top)", DlgLnkTargetFrameName : "Имя целевого фрейма", DlgLnkPopWinName : "Имя всплывающего окна", DlgLnkPopWinFeat : "Свойства всплывающего окна", DlgLnkPopResize : "Изменяющееся в размерах", DlgLnkPopLocation : "Панель локации", DlgLnkPopMenu : "Панель меню", DlgLnkPopScroll : "Полосы прокрутки", DlgLnkPopStatus : "Строка состояния", DlgLnkPopToolbar : "Панель инструментов", DlgLnkPopFullScrn : "Полный экран (IE)", DlgLnkPopDependent : "Зависимый (Netscape)", DlgLnkPopWidth : "Ширина", DlgLnkPopHeight : "Высота", DlgLnkPopLeft : "Позиция слева", DlgLnkPopTop : "Позиция сверху", DlnLnkMsgNoUrl : "Пожалуйста, введите URL ссылки", DlnLnkMsgNoEMail : "Пожалуйста, введите адрес эл. почты", DlnLnkMsgNoAnchor : "Пожалуйста, выберете якорь", DlnLnkMsgInvPopName : "Название вспывающего окна должно начинаться буквы и не может содержать пробелов", // Color Dialog DlgColorTitle : "Выберите цвет", DlgColorBtnClear : "Очистить", DlgColorHighlight : "Подсвеченный", DlgColorSelected : "Выбранный", // Smiley Dialog DlgSmileyTitle : "Вставить смайлик", // Special Character Dialog DlgSpecialCharTitle : "Выберите специальный символ", // Table Dialog DlgTableTitle : "Свойства таблицы", DlgTableRows : "Строки", DlgTableColumns : "Колонки", DlgTableBorder : "Размер бордюра", DlgTableAlign : "Выравнивание", DlgTableAlignNotSet : "<Не уст.>", DlgTableAlignLeft : "Слева", DlgTableAlignCenter : "По центру", DlgTableAlignRight : "Справа", DlgTableWidth : "Ширина", DlgTableWidthPx : "пикселей", DlgTableWidthPc : "процентов", DlgTableHeight : "Высота", DlgTableCellSpace : "Промежуток (spacing)", DlgTableCellPad : "Отступ (padding)", DlgTableCaption : "Заголовок", DlgTableSummary : "Резюме", // Table Cell Dialog DlgCellTitle : "Свойства ячейки", DlgCellWidth : "Ширина", DlgCellWidthPx : "пикселей", DlgCellWidthPc : "процентов", DlgCellHeight : "Высота", DlgCellWordWrap : "Заворачивание текста", DlgCellWordWrapNotSet : "<Не уст.>", DlgCellWordWrapYes : "Да", DlgCellWordWrapNo : "Нет", DlgCellHorAlign : "Гор. выравнивание", DlgCellHorAlignNotSet : "<Не уст.>", DlgCellHorAlignLeft : "Слева", DlgCellHorAlignCenter : "По центру", DlgCellHorAlignRight: "Справа", DlgCellVerAlign : "Верт. выравнивание", DlgCellVerAlignNotSet : "<Не уст.>", DlgCellVerAlignTop : "Сверху", DlgCellVerAlignMiddle : "Посередине", DlgCellVerAlignBottom : "Снизу", DlgCellVerAlignBaseline : "По базовой линии", DlgCellRowSpan : "Диапазон строк (span)", DlgCellCollSpan : "Диапазон колонок (span)", DlgCellBackColor : "Цвет фона", DlgCellBorderColor : "Цвет бордюра", DlgCellBtnSelect : "Выберите...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Найти и заменить", // Find Dialog DlgFindTitle : "Найти", DlgFindFindBtn : "Найти", DlgFindNotFoundMsg : "Указанный текст не найден.", // Replace Dialog DlgReplaceTitle : "Заменить", DlgReplaceFindLbl : "Найти:", DlgReplaceReplaceLbl : "Заменить на:", DlgReplaceCaseChk : "Учитывать регистр", DlgReplaceReplaceBtn : "Заменить", DlgReplaceReplAllBtn : "Заменить все", DlgReplaceWordChk : "Совпадение целых слов", // Paste Operations / Dialog PasteErrorCut : "Настройки безопасности вашего браузера не позволяют редактору автоматически выполнять операции вырезания. Пожалуйста, используйте клавиатуру для этого (Ctrl+X).", PasteErrorCopy : "Настройки безопасности вашего браузера не позволяют редактору автоматически выполнять операции копирования. Пожалуйста, используйте клавиатуру для этого (Ctrl+C).", PasteAsText : "Вставить только текст", PasteFromWord : "Вставить из Word", DlgPasteMsg2 : "Пожалуйста, вставьте текст в прямоугольник, используя сочетание клавиш (<STRONG>Ctrl+V</STRONG>), и нажмите <STRONG>OK</STRONG>.", DlgPasteSec : "По причине настроек безопасности браузера, редактор не имеет доступа к данным буфера обмена напрямую. Вам необходимо вставить текст снова в это окно.", DlgPasteIgnoreFont : "Игнорировать определения гарнитуры", DlgPasteRemoveStyles : "Убрать определения стилей", // Color Picker ColorAutomatic : "Автоматический", ColorMoreColors : "Цвета...", // Document Properties DocProps : "Свойства документа", // Anchor Dialog DlgAnchorTitle : "Свойства якоря", DlgAnchorName : "Имя якоря", DlgAnchorErrorName : "Пожалуйста, введите имя якоря", // Speller Pages Dialog DlgSpellNotInDic : "Нет в словаре", DlgSpellChangeTo : "Заменить на", DlgSpellBtnIgnore : "Игнорировать", DlgSpellBtnIgnoreAll : "Игнорировать все", DlgSpellBtnReplace : "Заменить", DlgSpellBtnReplaceAll : "Заменить все", DlgSpellBtnUndo : "Отменить", DlgSpellNoSuggestions : "- Нет предположений -", DlgSpellProgress : "Идет проверка орфографии...", DlgSpellNoMispell : "Проверка орфографии закончена: ошибок не найдено", DlgSpellNoChanges : "Проверка орфографии закончена: ни одного слова не изменено", DlgSpellOneChange : "Проверка орфографии закончена: одно слово изменено", DlgSpellManyChanges : "Проверка орфографии закончена: 1% слов изменен", IeSpellDownload : "Модуль проверки орфографии не установлен. Хотите скачать его сейчас?", // Button Dialog DlgButtonText : "Текст (Значение)", DlgButtonType : "Тип", DlgButtonTypeBtn : "Кнопка", DlgButtonTypeSbm : "Отправить", DlgButtonTypeRst : "Сбросить", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Имя", DlgCheckboxValue : "Значение", DlgCheckboxSelected : "Выбранная", // Form Dialog DlgFormName : "Имя", DlgFormAction : "Действие", DlgFormMethod : "Метод", // Select Field Dialog DlgSelectName : "Имя", DlgSelectValue : "Значение", DlgSelectSize : "Размер", DlgSelectLines : "линии", DlgSelectChkMulti : "Разрешить множественный выбор", DlgSelectOpAvail : "Доступные варианты", DlgSelectOpText : "Текст", DlgSelectOpValue : "Значение", DlgSelectBtnAdd : "Добавить", DlgSelectBtnModify : "Модифицировать", DlgSelectBtnUp : "Вверх", DlgSelectBtnDown : "Вниз", DlgSelectBtnSetValue : "Установить как выбранное значение", DlgSelectBtnDelete : "Удалить", // Textarea Dialog DlgTextareaName : "Имя", DlgTextareaCols : "Колонки", DlgTextareaRows : "Строки", // Text Field Dialog DlgTextName : "Имя", DlgTextValue : "Значение", DlgTextCharWidth : "Ширина", DlgTextMaxChars : "Макс. кол-во символов", DlgTextType : "Тип", DlgTextTypeText : "Текст", DlgTextTypePass : "Пароль", // Hidden Field Dialog DlgHiddenName : "Имя", DlgHiddenValue : "Значение", // Bulleted List Dialog BulletedListProp : "Свойства маркированного списка", NumberedListProp : "Свойства нумерованного списка", DlgLstStart : "Начало", DlgLstType : "Тип", DlgLstTypeCircle : "Круг", DlgLstTypeDisc : "Диск", DlgLstTypeSquare : "Квадрат", DlgLstTypeNumbers : "Номера (1, 2, 3)", DlgLstTypeLCase : "Буквы нижнего регистра (a, b, c)", DlgLstTypeUCase : "Буквы верхнего регистра (A, B, C)", DlgLstTypeSRoman : "Малые римские буквы (i, ii, iii)", DlgLstTypeLRoman : "Большие римские буквы (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Общие", DlgDocBackTab : "Задний фон", DlgDocColorsTab : "Цвета и отступы", DlgDocMetaTab : "Мета данные", DlgDocPageTitle : "Заголовок страницы", DlgDocLangDir : "Направление текста", DlgDocLangDirLTR : "Слева направо (LTR)", DlgDocLangDirRTL : "Справа налево (RTL)", DlgDocLangCode : "Код языка", DlgDocCharSet : "Кодировка набора символов", DlgDocCharSetCE : "Центрально-европейская", DlgDocCharSetCT : "Китайская традиционная (Big5)", DlgDocCharSetCR : "Кириллица", DlgDocCharSetGR : "Греческая", DlgDocCharSetJP : "Японская", DlgDocCharSetKR : "Корейская", DlgDocCharSetTR : "Турецкая", DlgDocCharSetUN : "Юникод (UTF-8)", DlgDocCharSetWE : "Западно-европейская", DlgDocCharSetOther : "Другая кодировка набора символов", DlgDocDocType : "Заголовок типа документа", DlgDocDocTypeOther : "Другой заголовок типа документа", DlgDocIncXHTML : "Включить XHTML объявления", DlgDocBgColor : "Цвет фона", DlgDocBgImage : "URL изображения фона", DlgDocBgNoScroll : "Нескроллируемый фон", DlgDocCText : "Текст", DlgDocCLink : "Ссылка", DlgDocCVisited : "Посещенная ссылка", DlgDocCActive : "Активная ссылка", DlgDocMargins : "Отступы страницы", DlgDocMaTop : "Верхний", DlgDocMaLeft : "Левый", DlgDocMaRight : "Правый", DlgDocMaBottom : "Нижний", DlgDocMeIndex : "Ключевые слова документа (разделенные запятой)", DlgDocMeDescr : "Описание документа", DlgDocMeAuthor : "Автор", DlgDocMeCopy : "Авторские права", DlgDocPreview : "Предварительный просмотр", // Templates Dialog Templates : "Шаблоны", DlgTemplatesTitle : "Шаблоны содержимого", DlgTemplatesSelMsg : "Пожалуйста, выберете шаблон для открытия в редакторе<br>(текущее содержимое будет потеряно):", DlgTemplatesLoading : "Загрузка списка шаблонов. Пожалуйста, подождите...", DlgTemplatesNoTpl : "(Ни одного шаблона не определено)", DlgTemplatesReplace : "Заменить текущее содержание", // About Dialog DlgAboutAboutTab : "О программе", DlgAboutBrowserInfoTab : "Информация браузера", DlgAboutLicenseTab : "Лицензия", DlgAboutVersion : "Версия", DlgAboutInfo : "Для большей информации, посетите", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Mongolian language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Багажны хэсэг эвдэх", ToolbarExpand : "Багажны хэсэг өргөтгөх", // Toolbar Items and Context Menu Save : "Хадгалах", NewPage : "Шинэ хуудас", Preview : "Уридчлан харах", Cut : "Хайчлах", Copy : "Хуулах", Paste : "Буулгах", PasteText : "plain text-ээс буулгах", PasteWord : "Word-оос буулгах", Print : "Хэвлэх", SelectAll : "Бүгдийг нь сонгох", RemoveFormat : "Формат авч хаях", InsertLinkLbl : "Линк", InsertLink : "Линк Оруулах/Засварлах", RemoveLink : "Линк авч хаях", VisitLink : "Open Link", //MISSING Anchor : "Холбоос Оруулах/Засварлах", AnchorDelete : "Холбоос Авах", InsertImageLbl : "Зураг", InsertImage : "Зураг Оруулах/Засварлах", InsertFlashLbl : "Флаш", InsertFlash : "Флаш Оруулах/Засварлах", InsertTableLbl : "Хүснэгт", InsertTable : "Хүснэгт Оруулах/Засварлах", InsertLineLbl : "Зураас", InsertLine : "Хөндлөн зураас оруулах", InsertSpecialCharLbl: "Онцгой тэмдэгт", InsertSpecialChar : "Онцгой тэмдэгт оруулах", InsertSmileyLbl : "Тодорхойлолт", InsertSmiley : "Тодорхойлолт оруулах", About : "FCKeditor-н тухай", Bold : "Тод бүдүүн", Italic : "Налуу", Underline : "Доогуур нь зураастай болгох", StrikeThrough : "Дундуур нь зураастай болгох", Subscript : "Суурь болгох", Superscript : "Зэрэг болгох", LeftJustify : "Зүүн талд байрлуулах", CenterJustify : "Төвд байрлуулах", RightJustify : "Баруун талд байрлуулах", BlockJustify : "Блок хэлбэрээр байрлуулах", DecreaseIndent : "Догол мөр нэмэх", IncreaseIndent : "Догол мөр хасах", Blockquote : "Хайрцаглах", CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "Хүчингүй болгох", Redo : "Өмнөх үйлдлээ сэргээх", NumberedListLbl : "Дугаарлагдсан жагсаалт", NumberedList : "Дугаарлагдсан жагсаалт Оруулах/Авах", BulletedListLbl : "Цэгтэй жагсаалт", BulletedList : "Цэгтэй жагсаалт Оруулах/Авах", ShowTableBorders : "Хүснэгтийн хүрээг үзүүлэх", ShowDetails : "Деталчлан үзүүлэх", Style : "Загвар", FontFormat : "Формат", Font : "Фонт", FontSize : "Хэмжээ", TextColor : "Фонтны өнгө", BGColor : "Фонны өнгө", Source : "Код", Find : "Хайх", Replace : "Солих", SpellCheck : "Үгийн дүрэх шалгах", UniversalKeyboard : "Униварсал гар", PageBreakLbl : "Хуудас тусгаарлах", PageBreak : "Хуудас тусгаарлагч оруулах", Form : "Форм", Checkbox : "Чекбокс", RadioButton : "Радио товч", TextField : "Техт талбар", Textarea : "Техт орчин", HiddenField : "Нууц талбар", Button : "Товч", SelectionField : "Сонгогч талбар", ImageButton : "Зурагтай товч", FitWindow : "editor-н хэмжээг томруулах", ShowBlocks : "Block-уудыг үзүүлэх", // Context Menu EditLink : "Холбоос засварлах", CellCM : "Нүх/зай", RowCM : "Мөр", ColumnCM : "Багана", InsertRowAfter : "Мөр дараа нь оруулах", InsertRowBefore : "Мөр өмнө нь оруулах", DeleteRows : "Мөр устгах", InsertColumnAfter : "Багана дараа нь оруулах", InsertColumnBefore : "Багана өмнө нь оруулах", DeleteColumns : "Багана устгах", InsertCellAfter : "Нүх/зай дараа нь оруулах", InsertCellBefore : "Нүх/зай өмнө нь оруулах", DeleteCells : "Нүх устгах", MergeCells : "Нүх нэгтэх", MergeRight : "Баруун тийш нэгтгэх", MergeDown : "Доош нэгтгэх", HorizontalSplitCell : "Нүх/зайг босоогоор нь тусгаарлах", VerticalSplitCell : "Нүх/зайг хөндлөнгөөр нь тусгаарлах", TableDelete : "Хүснэгт устгах", CellProperties : "Нүх/зай зайн шинж чанар", TableProperties : "Хүснэгт", ImageProperties : "Зураг", FlashProperties : "Флаш шинж чанар", AnchorProp : "Холбоос шинж чанар", ButtonProp : "Товчны шинж чанар", CheckboxProp : "Чекбоксны шинж чанар", HiddenFieldProp : "Нууц талбарын шинж чанар", RadioButtonProp : "Радио товчны шинж чанар", ImageButtonProp : "Зурган товчны шинж чанар", TextFieldProp : "Текст талбарын шинж чанар", SelectionFieldProp : "Согогч талбарын шинж чанар", TextareaProp : "Текст орчны шинж чанар", FormProp : "Форм шинж чанар", FontFormats : "Хэвийн;Formatted;Хаяг;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Paragraph (DIV)", // Alerts and Messages ProcessingXHTML : "XHTML үйл явц явагдаж байна. Хүлээнэ үү...", Done : "Хийх", PasteWordConfirm : "Word-оос хуулсан текстээ санаж байгааг нь буулгахыг та хүсч байна уу. Та текст-ээ буулгахын өмнө цэвэрлэх үү?", NotCompatiblePaste : "Энэ комманд Internet Explorer-ын 5.5 буюу түүнээс дээш хувилбарт идвэхшинэ. Та цэвэрлэхгүйгээр буулгахыг хүсч байна?", UnknownToolbarItem : "Багажны хэсгийн \"%1\" item мэдэгдэхгүй байна", UnknownCommand : "\"%1\" комманд нэр мэдагдэхгүй байна", NotImplemented : "Зөвшөөрөгдөхгүй комманд", UnknownToolbarSet : "Багажны хэсэгт \"%1\" оноох, үүсээгүй байна", NoActiveX : "Таны үзүүлэгч/browser-н хамгаалалтын тохиргоо editor-н зарим боломжийг хязгаарлаж байна. Та \"Run ActiveX controls ба plug-ins\" сонголыг идвэхитэй болго.", BrowseServerBlocked : "Нөөц үзүүгч нээж чадсангүй. Бүх popup blocker-г disabled болгоно уу.", DialogBlocked : "Харилцах цонхонд энийг нээхэд боломжгүй ээ. Бүх popup blocker-г disabled болгоно уу.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Болих", DlgBtnClose : "Хаах", DlgBtnBrowseServer : "Сервер харуулах", DlgAdvancedTag : "Нэмэлт", DlgOpOther : "<Бусад>", DlgInfoTab : "Мэдээлэл", DlgAlertUrl : "URL оруулна уу", // General Dialogs Labels DlgGenNotSet : "<Оноохгүй>", DlgGenId : "Id", DlgGenLangDir : "Хэлний чиглэл", DlgGenLangDirLtr : "Зүүнээс баруун (LTR)", DlgGenLangDirRtl : "Баруунаас зүүн (RTL)", DlgGenLangCode : "Хэлний код", DlgGenAccessKey : "Холбох түлхүүр", DlgGenName : "Нэр", DlgGenTabIndex : "Tab индекс", DlgGenLongDescr : "URL-ын тайлбар", DlgGenClass : "Stylesheet классууд", DlgGenTitle : "Зөвлөлдөх гарчиг", DlgGenContType : "Зөвлөлдөх төрлийн агуулга", DlgGenLinkCharset : "Тэмдэгт оноох нөөцөд холбогдсон", DlgGenStyle : "Загвар", // Image Dialog DlgImgTitle : "Зураг", DlgImgInfoTab : "Зурагны мэдээлэл", DlgImgBtnUpload : "Үүнийг сервэррүү илгээ", DlgImgURL : "URL", DlgImgUpload : "Хуулах", DlgImgAlt : "Тайлбар текст", DlgImgWidth : "Өргөн", DlgImgHeight : "Өндөр", DlgImgLockRatio : "Радио түгжих", DlgBtnResetSize : "хэмжээ дахин оноох", DlgImgBorder : "Хүрээ", DlgImgHSpace : "Хөндлөн зай", DlgImgVSpace : "Босоо зай", DlgImgAlign : "Эгнээ", DlgImgAlignLeft : "Зүүн", DlgImgAlignAbsBottom: "Abs доод талд", DlgImgAlignAbsMiddle: "Abs Дунд талд", DlgImgAlignBaseline : "Baseline", DlgImgAlignBottom : "Доод талд", DlgImgAlignMiddle : "Дунд талд", DlgImgAlignRight : "Баруун", DlgImgAlignTextTop : "Текст дээр", DlgImgAlignTop : "Дээд талд", DlgImgPreview : "Уридчлан харах", DlgImgAlertUrl : "Зурагны URL-ын төрлийн сонгоно уу", DlgImgLinkTab : "Линк", // Flash Dialog DlgFlashTitle : "Флаш шинж чанар", DlgFlashChkPlay : "Автоматаар тоглох", DlgFlashChkLoop : "Давтах", DlgFlashChkMenu : "Флаш цэс идвэхжүүлэх", DlgFlashScale : "Өргөгтгөх", DlgFlashScaleAll : "Бүгдийг харуулах", DlgFlashScaleNoBorder : "Хүрээгүй", DlgFlashScaleFit : "Яг тааруулах", // Link Dialog DlgLnkWindowTitle : "Линк", DlgLnkInfoTab : "Линкийн мэдээлэл", DlgLnkTargetTab : "Байрлал", DlgLnkType : "Линкийн төрөл", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Энэ хуудасандах холбоос", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Протокол", DlgLnkProtoOther : "<бусад>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Холбоос сонгох", DlgLnkAnchorByName : "Холбоосын нэрээр", DlgLnkAnchorById : "Элемэнт Id-гаар", DlgLnkNoAnchors : "(Баримт бичиг холбоосгүй байна)", DlgLnkEMail : "E-Mail Хаяг", DlgLnkEMailSubject : "Message гарчиг", DlgLnkEMailBody : "Message-ийн агуулга", DlgLnkUpload : "Хуулах", DlgLnkBtnUpload : "Үүнийг серверрүү илгээ", DlgLnkTarget : "Байрлал", DlgLnkTargetFrame : "<Агуулах хүрээ>", DlgLnkTargetPopup : "<popup цонх>", DlgLnkTargetBlank : "Шинэ цонх (_blank)", DlgLnkTargetParent : "Эцэг цонх (_parent)", DlgLnkTargetSelf : "Төстэй цонх (_self)", DlgLnkTargetTop : "Хамгийн түрүүн байх цонх (_top)", DlgLnkTargetFrameName : "Очих фремын нэр", DlgLnkPopWinName : "Popup цонхны нэр", DlgLnkPopWinFeat : "Popup цонхны онцлог", DlgLnkPopResize : "Хэмжээ өөрчлөх", DlgLnkPopLocation : "Location хэсэг", DlgLnkPopMenu : "Meню хэсэг", DlgLnkPopScroll : "Скрол хэсэгүүд", DlgLnkPopStatus : "Статус хэсэг", DlgLnkPopToolbar : "Багажны хэсэг", DlgLnkPopFullScrn : "Цонх дүүргэх (IE)", DlgLnkPopDependent : "Хамаатай (Netscape)", DlgLnkPopWidth : "Өргөн", DlgLnkPopHeight : "Өндөр", DlgLnkPopLeft : "Зүүн байрлал", DlgLnkPopTop : "Дээд байрлал", DlnLnkMsgNoUrl : "Линк URL-ээ төрөлжүүлнэ үү", DlnLnkMsgNoEMail : "Е-mail хаягаа төрөлжүүлнэ үү", DlnLnkMsgNoAnchor : "Холбоосоо сонгоно уу", DlnLnkMsgInvPopName : "popup нэр нь үсгэн тэмдэгтээр эхэлсэн байх ба хоосон зай агуулаагүй байх ёстой.", // Color Dialog DlgColorTitle : "Өнгө сонгох", DlgColorBtnClear : "Цэвэрлэх", DlgColorHighlight : "Өнгө", DlgColorSelected : "Сонгогдсон", // Smiley Dialog DlgSmileyTitle : "Тодорхойлолт оруулах", // Special Character Dialog DlgSpecialCharTitle : "Онцгой тэмдэгт сонгох", // Table Dialog DlgTableTitle : "Хүснэгт", DlgTableRows : "Мөр", DlgTableColumns : "Багана", DlgTableBorder : "Хүрээний хэмжээ", DlgTableAlign : "Эгнээ", DlgTableAlignNotSet : "<Оноохгүй>", DlgTableAlignLeft : "Зүүн талд", DlgTableAlignCenter : "Төвд", DlgTableAlignRight : "Баруун талд", DlgTableWidth : "Өргөн", DlgTableWidthPx : "цэг", DlgTableWidthPc : "хувь", DlgTableHeight : "Өндөр", DlgTableCellSpace : "Нүх хоорондын зай (spacing)", DlgTableCellPad : "Нүх доторлох(padding)", DlgTableCaption : "Тайлбар", DlgTableSummary : "Тайлбар", // Table Cell Dialog DlgCellTitle : "Хоосон зайн шинж чанар", DlgCellWidth : "Өргөн", DlgCellWidthPx : "цэг", DlgCellWidthPc : "хувь", DlgCellHeight : "Өндөр", DlgCellWordWrap : "Үг таслах", DlgCellWordWrapNotSet : "<Оноохгүй>", DlgCellWordWrapYes : "Тийм", DlgCellWordWrapNo : "Үгүй", DlgCellHorAlign : "Босоо эгнээ", DlgCellHorAlignNotSet : "<Оноохгүй>", DlgCellHorAlignLeft : "Зүүн", DlgCellHorAlignCenter : "Төв", DlgCellHorAlignRight: "Баруун", DlgCellVerAlign : "Хөндлөн эгнээ", DlgCellVerAlignNotSet : "<Оноохгүй>", DlgCellVerAlignTop : "Дээд тал", DlgCellVerAlignMiddle : "Дунд", DlgCellVerAlignBottom : "Доод тал", DlgCellVerAlignBaseline : "Baseline", DlgCellRowSpan : "Нийт мөр (span)", DlgCellCollSpan : "Нийт багана (span)", DlgCellBackColor : "Фонны өнгө", DlgCellBorderColor : "Хүрээний өнгө", DlgCellBtnSelect : "Сонго...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Хай мөн Дарж бич", // Find Dialog DlgFindTitle : "Хайх", DlgFindFindBtn : "Хайх", DlgFindNotFoundMsg : "Хайсан текст олсонгүй.", // Replace Dialog DlgReplaceTitle : "Солих", DlgReplaceFindLbl : "Хайх үг/үсэг:", DlgReplaceReplaceLbl : "Солих үг:", DlgReplaceCaseChk : "Тэнцэх төлөв", DlgReplaceReplaceBtn : "Солих", DlgReplaceReplAllBtn : "Бүгдийг нь Солих", DlgReplaceWordChk : "Тэнцэх бүтэн үг", // Paste Operations / Dialog PasteErrorCut : "Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хайчлах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl+X) товчны хослолыг ашиглана уу.", PasteErrorCopy : "Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хуулах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl+C) товчны хослолыг ашиглана уу.", PasteAsText : "Plain Text-ээс буулгах", PasteFromWord : "Word-оос буулгах", DlgPasteMsg2 : "(<strong>Ctrl+V</strong>) товчийг ашиглан paste хийнэ үү. Мөн <strong>OK</strong> дар.", DlgPasteSec : "Таны үзүүлэгч/browser/-н хамгаалалтын тохиргооноос болоод editor clipboard өгөгдөлрүү шууд хандах боломжгүй. Энэ цонход дахин paste хийхийг оролд.", DlgPasteIgnoreFont : "Тодорхойлогдсон Font Face зөвшөөрнө", DlgPasteRemoveStyles : "Тодорхойлогдсон загварыг авах", // Color Picker ColorAutomatic : "Автоматаар", ColorMoreColors : "Нэмэлт өнгөнүүд...", // Document Properties DocProps : "Баримт бичиг шинж чанар", // Anchor Dialog DlgAnchorTitle : "Холбоос шинж чанар", DlgAnchorName : "Холбоос нэр", DlgAnchorErrorName : "Холбоос төрөл оруулна уу", // Speller Pages Dialog DlgSpellNotInDic : "Толь бичиггүй", DlgSpellChangeTo : "Өөрчлөх", DlgSpellBtnIgnore : "Зөвшөөрөх", DlgSpellBtnIgnoreAll : "Бүгдийг зөвшөөрөх", DlgSpellBtnReplace : "Дарж бичих", DlgSpellBtnReplaceAll : "Бүгдийг Дарж бичих", DlgSpellBtnUndo : "Буцаах", DlgSpellNoSuggestions : "- Тайлбаргүй -", DlgSpellProgress : "Дүрэм шалгаж байгаа үйл явц...", DlgSpellNoMispell : "Дүрэм шалгаад дууссан: Алдаа олдсонгүй", DlgSpellNoChanges : "Дүрэм шалгаад дууссан: үг өөрчлөгдөөгүй", DlgSpellOneChange : "Дүрэм шалгаад дууссан: 1 үг өөрчлөгдсөн", DlgSpellManyChanges : "Дүрэм шалгаад дууссан: %1 үг өөрчлөгдсөн", IeSpellDownload : "Дүрэм шалгагч суугаагүй байна. Татаж авахыг хүсч байна уу?", // Button Dialog DlgButtonText : "Тэкст (Утга)", DlgButtonType : "Төрөл", DlgButtonTypeBtn : "Товч", DlgButtonTypeSbm : "Submit", DlgButtonTypeRst : "Болих", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Нэр", DlgCheckboxValue : "Утга", DlgCheckboxSelected : "Сонгогдсон", // Form Dialog DlgFormName : "Нэр", DlgFormAction : "Үйлдэл", DlgFormMethod : "Арга", // Select Field Dialog DlgSelectName : "Нэр", DlgSelectValue : "Утга", DlgSelectSize : "Хэмжээ", DlgSelectLines : "Мөр", DlgSelectChkMulti : "Олон сонголт зөвшөөрөх", DlgSelectOpAvail : "Идвэхтэй сонголт", DlgSelectOpText : "Тэкст", DlgSelectOpValue : "Утга", DlgSelectBtnAdd : "Нэмэх", DlgSelectBtnModify : "Өөрчлөх", DlgSelectBtnUp : "Дээш", DlgSelectBtnDown : "Доош", DlgSelectBtnSetValue : "Сонгогдсан утга оноох", DlgSelectBtnDelete : "Устгах", // Textarea Dialog DlgTextareaName : "Нэр", DlgTextareaCols : "Багана", DlgTextareaRows : "Мөр", // Text Field Dialog DlgTextName : "Нэр", DlgTextValue : "Утга", DlgTextCharWidth : "Тэмдэгтын өргөн", DlgTextMaxChars : "Хамгийн их тэмдэгт", DlgTextType : "Төрөл", DlgTextTypeText : "Текст", DlgTextTypePass : "Нууц үг", // Hidden Field Dialog DlgHiddenName : "Нэр", DlgHiddenValue : "Утга", // Bulleted List Dialog BulletedListProp : "Bulleted жагсаалын шинж чанар", NumberedListProp : "Дугаарласан жагсаалын шинж чанар", DlgLstStart : "Эхлэх", DlgLstType : "Төрөл", DlgLstTypeCircle : "Тойрог", DlgLstTypeDisc : "Тайлбар", DlgLstTypeSquare : "Square", DlgLstTypeNumbers : "Тоо (1, 2, 3)", DlgLstTypeLCase : "Жижиг үсэг (a, b, c)", DlgLstTypeUCase : "Том үсэг (A, B, C)", DlgLstTypeSRoman : "Жижиг Ром тоо (i, ii, iii)", DlgLstTypeLRoman : "Том Ром тоо (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Ерөнхий", DlgDocBackTab : "Фоно", DlgDocColorsTab : "Захын зай ба Өнгө", DlgDocMetaTab : "Meta өгөгдөл", DlgDocPageTitle : "Хуудасны гарчиг", DlgDocLangDir : "Хэлний чиглэл", DlgDocLangDirLTR : "Зүүнээс баруунруу (LTR)", DlgDocLangDirRTL : "Баруунаас зүүнрүү (RTL)", DlgDocLangCode : "Хэлний код", DlgDocCharSet : "Encoding тэмдэгт", DlgDocCharSetCE : "Төв европ", DlgDocCharSetCT : "Хятадын уламжлалт (Big5)", DlgDocCharSetCR : "Крил", DlgDocCharSetGR : "Гред", DlgDocCharSetJP : "Япон", DlgDocCharSetKR : "Солонгос", DlgDocCharSetTR : "Tурк", DlgDocCharSetUN : "Юникод (UTF-8)", DlgDocCharSetWE : "Баруун европ", DlgDocCharSetOther : "Encoding-д өөр тэмдэгт оноох", DlgDocDocType : "Баримт бичгийн төрөл Heading", DlgDocDocTypeOther : "Бусад баримт бичгийн төрөл Heading", DlgDocIncXHTML : "XHTML агуулж зарлах", DlgDocBgColor : "Фоно өнгө", DlgDocBgImage : "Фоно зурагны URL", DlgDocBgNoScroll : "Гүйдэггүй фоно", DlgDocCText : "Текст", DlgDocCLink : "Линк", DlgDocCVisited : "Зочилсон линк", DlgDocCActive : "Идвэхитэй линк", DlgDocMargins : "Хуудасны захын зай", DlgDocMaTop : "Дээд тал", DlgDocMaLeft : "Зүүн тал", DlgDocMaRight : "Баруун тал", DlgDocMaBottom : "Доод тал", DlgDocMeIndex : "Баримт бичгийн индекс түлхүүр үг (таслалаар тусгаарлагдана)", DlgDocMeDescr : "Баримт бичгийн тайлбар", DlgDocMeAuthor : "Зохиогч", DlgDocMeCopy : "Зохиогчийн эрх", DlgDocPreview : "Харах", // Templates Dialog Templates : "Загварууд", DlgTemplatesTitle : "Загварын агуулга", DlgTemplatesSelMsg : "Загварыг нээж editor-рүү сонгож оруулна уу<br />(Одоогийн агууллагыг устаж магадгүй):", DlgTemplatesLoading : "Загваруудыг ачааллаж байна. Түр хүлээнэ үү...", DlgTemplatesNoTpl : "(Загвар тодорхойлогдоогүй байна)", DlgTemplatesReplace : "Одоогийн агууллагыг дарж бичих", // About Dialog DlgAboutAboutTab : "Тухай", DlgAboutBrowserInfoTab : "Мэдээлэл үзүүлэгч", DlgAboutLicenseTab : "Лиценз", DlgAboutVersion : "Хувилбар", DlgAboutInfo : "Мэдээллээр туслах", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Arabic language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "rtl", ToolbarCollapse : "ضم شريط الأدوات", ToolbarExpand : "تمدد شريط الأدوات", // Toolbar Items and Context Menu Save : "حفظ", NewPage : "صفحة جديدة", Preview : "معاينة الصفحة", Cut : "قص", Copy : "نسخ", Paste : "لصق", PasteText : "لصق كنص بسيط", PasteWord : "لصق من وورد", Print : "طباعة", SelectAll : "تحديد الكل", RemoveFormat : "إزالة التنسيقات", InsertLinkLbl : "رابط", InsertLink : "إدراج/تحرير رابط", RemoveLink : "إزالة رابط", VisitLink : "Open Link", //MISSING Anchor : "إدراج/تحرير إشارة مرجعية", AnchorDelete : "إزالة إشارة مرجعية", InsertImageLbl : "صورة", InsertImage : "إدراج/تحرير صورة", InsertFlashLbl : "فلاش", InsertFlash : "إدراج/تحرير فيلم فلاش", InsertTableLbl : "جدول", InsertTable : "إدراج/تحرير جدول", InsertLineLbl : "خط فاصل", InsertLine : "إدراج خط فاصل", InsertSpecialCharLbl: "رموز", InsertSpecialChar : "إدراج رموز..ِ", InsertSmileyLbl : "ابتسامات", InsertSmiley : "إدراج ابتسامات", About : "حول FCKeditor", Bold : "غامق", Italic : "مائل", Underline : "تسطير", StrikeThrough : "يتوسطه خط", Subscript : "منخفض", Superscript : "مرتفع", LeftJustify : "محاذاة إلى اليسار", CenterJustify : "توسيط", RightJustify : "محاذاة إلى اليمين", BlockJustify : "ضبط", DecreaseIndent : "إنقاص المسافة البادئة", IncreaseIndent : "زيادة المسافة البادئة", Blockquote : "اقتباس", CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "تراجع", Redo : "إعادة", NumberedListLbl : "تعداد رقمي", NumberedList : "إدراج/إلغاء تعداد رقمي", BulletedListLbl : "تعداد نقطي", BulletedList : "إدراج/إلغاء تعداد نقطي", ShowTableBorders : "معاينة حدود الجداول", ShowDetails : "معاينة التفاصيل", Style : "نمط", FontFormat : "تنسيق", Font : "خط", FontSize : "حجم الخط", TextColor : "لون النص", BGColor : "لون الخلفية", Source : "شفرة المصدر", Find : "بحث", Replace : "إستبدال", SpellCheck : "تدقيق إملائي", UniversalKeyboard : "لوحة المفاتيح العالمية", PageBreakLbl : "فصل الصفحة", PageBreak : "إدخال صفحة جديدة", Form : "نموذج", Checkbox : "خانة إختيار", RadioButton : "زر خيار", TextField : "مربع نص", Textarea : "ناحية نص", HiddenField : "إدراج حقل خفي", Button : "زر ضغط", SelectionField : "قائمة منسدلة", ImageButton : "زر صورة", FitWindow : "تكبير حجم المحرر", ShowBlocks : "مخطط تفصيلي", // Context Menu EditLink : "تحرير رابط", CellCM : "خلية", RowCM : "صف", ColumnCM : "عمود", InsertRowAfter : "إدراج صف بعد", InsertRowBefore : "إدراج صف قبل", DeleteRows : "حذف صفوف", InsertColumnAfter : "إدراج عمود بعد", InsertColumnBefore : "إدراج عمود قبل", DeleteColumns : "حذف أعمدة", InsertCellAfter : "إدراج خلية بعد", InsertCellBefore : "إدراج خلية قبل", DeleteCells : "حذف خلايا", MergeCells : "دمج خلايا", MergeRight : "دمج لليمين", MergeDown : "دمج للأسفل", HorizontalSplitCell : "تقسيم الخلية أفقياً", VerticalSplitCell : "تقسيم الخلية عمودياً", TableDelete : "حذف الجدول", CellProperties : "خصائص الخلية", TableProperties : "خصائص الجدول", ImageProperties : "خصائص الصورة", FlashProperties : "خصائص فيلم الفلاش", AnchorProp : "خصائص الإشارة المرجعية", ButtonProp : "خصائص زر الضغط", CheckboxProp : "خصائص خانة الإختيار", HiddenFieldProp : "خصائص الحقل الخفي", RadioButtonProp : "خصائص زر الخيار", ImageButtonProp : "خصائص زر الصورة", TextFieldProp : "خصائص مربع النص", SelectionFieldProp : "خصائص القائمة المنسدلة", TextareaProp : "خصائص ناحية النص", FormProp : "خصائص النموذج", FontFormats : "عادي;منسّق;دوس;العنوان 1;العنوان 2;العنوان 3;العنوان 4;العنوان 5;العنوان 6", // Alerts and Messages ProcessingXHTML : "إنتظر قليلاً ريثما تتم معالَجة‏ XHTML. لن يستغرق طويلاً...", Done : "تم", PasteWordConfirm : "يبدو أن النص المراد لصقه منسوخ من برنامج وورد. هل تود تنظيفه قبل الشروع في عملية اللصق؟", NotCompatiblePaste : "هذه الميزة تحتاج لمتصفح من النوعInternet Explorer إصدار 5.5 فما فوق. هل تود اللصق دون تنظيف الكود؟", UnknownToolbarItem : "عنصر شريط أدوات غير معروف \"%1\"", UnknownCommand : "أمر غير معروف \"%1\"", NotImplemented : "لم يتم دعم هذا الأمر", UnknownToolbarSet : "لم أتمكن من العثور على طقم الأدوات \"%1\" ", NoActiveX : "لتأمين متصفحك يجب أن تحدد بعض مميزات المحرر. يتوجب عليك تمكين الخيار \"Run ActiveX controls and plug-ins\". قد تواجة أخطاء وتلاحظ مميزات مفقودة", BrowseServerBlocked : "لايمكن فتح مصدر المتصفح. فضلا يجب التأكد بأن جميع موانع النوافذ المنبثقة معطلة", DialogBlocked : "لايمكن فتح نافذة الحوار . فضلا تأكد من أن مانع النوافذ المنبثة معطل .", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "موافق", DlgBtnCancel : "إلغاء الأمر", DlgBtnClose : "إغلاق", DlgBtnBrowseServer : "تصفح الخادم", DlgAdvancedTag : "متقدم", DlgOpOther : "<أخرى>", DlgInfoTab : "معلومات", DlgAlertUrl : "الرجاء كتابة عنوان الإنترنت", // General Dialogs Labels DlgGenNotSet : "<بدون تحديد>", DlgGenId : "الرقم", DlgGenLangDir : "إتجاه النص", DlgGenLangDirLtr : "اليسار لليمين (LTR)", DlgGenLangDirRtl : "اليمين لليسار (RTL)", DlgGenLangCode : "رمز اللغة", DlgGenAccessKey : "مفاتيح الإختصار", DlgGenName : "الاسم", DlgGenTabIndex : "الترتيب", DlgGenLongDescr : "عنوان الوصف المفصّل", DlgGenClass : "فئات التنسيق", DlgGenTitle : "تلميح الشاشة", DlgGenContType : "نوع التلميح", DlgGenLinkCharset : "ترميز المادة المطلوبة", DlgGenStyle : "نمط", // Image Dialog DlgImgTitle : "خصائص الصورة", DlgImgInfoTab : "معلومات الصورة", DlgImgBtnUpload : "أرسلها للخادم", DlgImgURL : "موقع الصورة", DlgImgUpload : "رفع", DlgImgAlt : "الوصف", DlgImgWidth : "العرض", DlgImgHeight : "الإرتفاع", DlgImgLockRatio : "تناسق الحجم", DlgBtnResetSize : "إستعادة الحجم الأصلي", DlgImgBorder : "سمك الحدود", DlgImgHSpace : "تباعد أفقي", DlgImgVSpace : "تباعد عمودي", DlgImgAlign : "محاذاة", DlgImgAlignLeft : "يسار", DlgImgAlignAbsBottom: "أسفل النص", DlgImgAlignAbsMiddle: "وسط السطر", DlgImgAlignBaseline : "على السطر", DlgImgAlignBottom : "أسفل", DlgImgAlignMiddle : "وسط", DlgImgAlignRight : "يمين", DlgImgAlignTextTop : "أعلى النص", DlgImgAlignTop : "أعلى", DlgImgPreview : "معاينة", DlgImgAlertUrl : "فضلاً أكتب الموقع الذي توجد عليه هذه الصورة.", DlgImgLinkTab : "الرابط", // Flash Dialog DlgFlashTitle : "خصائص فيلم الفلاش", DlgFlashChkPlay : "تشغيل تلقائي", DlgFlashChkLoop : "تكرار", DlgFlashChkMenu : "تمكين قائمة فيلم الفلاش", DlgFlashScale : "الحجم", DlgFlashScaleAll : "إظهار الكل", DlgFlashScaleNoBorder : "بلا حدود", DlgFlashScaleFit : "ضبط تام", // Link Dialog DlgLnkWindowTitle : "إرتباط تشعبي", DlgLnkInfoTab : "معلومات الرابط", DlgLnkTargetTab : "الهدف", DlgLnkType : "نوع الربط", DlgLnkTypeURL : "العنوان", DlgLnkTypeAnchor : "مكان في هذا المستند", DlgLnkTypeEMail : "بريد إلكتروني", DlgLnkProto : "البروتوكول", DlgLnkProtoOther : "<أخرى>", DlgLnkURL : "الموقع", DlgLnkAnchorSel : "اختر علامة مرجعية", DlgLnkAnchorByName : "حسب اسم العلامة", DlgLnkAnchorById : "حسب تعريف العنصر", DlgLnkNoAnchors : "(لا يوجد علامات مرجعية في هذا المستند)", DlgLnkEMail : "عنوان بريد إلكتروني", DlgLnkEMailSubject : "موضوع الرسالة", DlgLnkEMailBody : "محتوى الرسالة", DlgLnkUpload : "رفع", DlgLnkBtnUpload : "أرسلها للخادم", DlgLnkTarget : "الهدف", DlgLnkTargetFrame : "<إطار>", DlgLnkTargetPopup : "<نافذة منبثقة>", DlgLnkTargetBlank : "إطار جديد (_blank)", DlgLnkTargetParent : "الإطار الأصل (_parent)", DlgLnkTargetSelf : "نفس الإطار (_self)", DlgLnkTargetTop : "صفحة كاملة (_top)", DlgLnkTargetFrameName : "اسم الإطار الهدف", DlgLnkPopWinName : "تسمية النافذة المنبثقة", DlgLnkPopWinFeat : "خصائص النافذة المنبثقة", DlgLnkPopResize : "قابلة للتحجيم", DlgLnkPopLocation : "شريط العنوان", DlgLnkPopMenu : "القوائم الرئيسية", DlgLnkPopScroll : "أشرطة التمرير", DlgLnkPopStatus : "شريط الحالة السفلي", DlgLnkPopToolbar : "شريط الأدوات", DlgLnkPopFullScrn : "ملئ الشاشة (IE)", DlgLnkPopDependent : "تابع (Netscape)", DlgLnkPopWidth : "العرض", DlgLnkPopHeight : "الإرتفاع", DlgLnkPopLeft : "التمركز لليسار", DlgLnkPopTop : "التمركز للأعلى", DlnLnkMsgNoUrl : "فضلاً أدخل عنوان الموقع الذي يشير إليه الرابط", DlnLnkMsgNoEMail : "فضلاً أدخل عنوان البريد الإلكتروني", DlnLnkMsgNoAnchor : "فضلاً حدد العلامة المرجعية المرغوبة", DlnLnkMsgInvPopName : "اسم النافذة المنبثقة يجب أن يبدأ بحرف أبجدي دون مسافات", // Color Dialog DlgColorTitle : "اختر لوناً", DlgColorBtnClear : "مسح", DlgColorHighlight : "تحديد", DlgColorSelected : "إختيار", // Smiley Dialog DlgSmileyTitle : "إدراج إبتسامات ", // Special Character Dialog DlgSpecialCharTitle : "إدراج رمز", // Table Dialog DlgTableTitle : "إدراج جدول", DlgTableRows : "صفوف", DlgTableColumns : "أعمدة", DlgTableBorder : "سمك الحدود", DlgTableAlign : "المحاذاة", DlgTableAlignNotSet : "<بدون تحديد>", DlgTableAlignLeft : "يسار", DlgTableAlignCenter : "وسط", DlgTableAlignRight : "يمين", DlgTableWidth : "العرض", DlgTableWidthPx : "بكسل", DlgTableWidthPc : "بالمئة", DlgTableHeight : "الإرتفاع", DlgTableCellSpace : "تباعد الخلايا", DlgTableCellPad : "المسافة البادئة", DlgTableCaption : "الوصف", DlgTableSummary : "الخلاصة", // Table Cell Dialog DlgCellTitle : "خصائص الخلية", DlgCellWidth : "العرض", DlgCellWidthPx : "بكسل", DlgCellWidthPc : "بالمئة", DlgCellHeight : "الإرتفاع", DlgCellWordWrap : "التفاف النص", DlgCellWordWrapNotSet : "<بدون تحديد>", DlgCellWordWrapYes : "نعم", DlgCellWordWrapNo : "لا", DlgCellHorAlign : "المحاذاة الأفقية", DlgCellHorAlignNotSet : "<بدون تحديد>", DlgCellHorAlignLeft : "يسار", DlgCellHorAlignCenter : "وسط", DlgCellHorAlignRight: "يمين", DlgCellVerAlign : "المحاذاة العمودية", DlgCellVerAlignNotSet : "<بدون تحديد>", DlgCellVerAlignTop : "أعلى", DlgCellVerAlignMiddle : "وسط", DlgCellVerAlignBottom : "أسفل", DlgCellVerAlignBaseline : "على السطر", DlgCellRowSpan : "إمتداد الصفوف", DlgCellCollSpan : "إمتداد الأعمدة", DlgCellBackColor : "لون الخلفية", DlgCellBorderColor : "لون الحدود", DlgCellBtnSelect : "حدّد...", // Find and Replace Dialog DlgFindAndReplaceTitle : "بحث واستبدال", // Find Dialog DlgFindTitle : "بحث", DlgFindFindBtn : "ابحث", DlgFindNotFoundMsg : "لم يتم العثور على النص المحدد.", // Replace Dialog DlgReplaceTitle : "إستبدال", DlgReplaceFindLbl : "البحث عن:", DlgReplaceReplaceLbl : "إستبدال بـ:", DlgReplaceCaseChk : "مطابقة حالة الأحرف", DlgReplaceReplaceBtn : "إستبدال", DlgReplaceReplAllBtn : "إستبدال الكل", DlgReplaceWordChk : "الكلمة بالكامل فقط", // Paste Operations / Dialog PasteErrorCut : "الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع القص التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl+X).", PasteErrorCopy : "الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع النسخ التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl+C).", PasteAsText : "لصق كنص بسيط", PasteFromWord : "لصق من وورد", DlgPasteMsg2 : "الصق داخل الصندوق بإستخدام زرّي (<STRONG>Ctrl+V</STRONG>) في لوحة المفاتيح، ثم اضغط زر <STRONG>موافق</STRONG>.", DlgPasteSec : "نظراً لإعدادات الأمان الخاصة بمتصفحك، لن يتمكن هذا المحرر من الوصول لمحتوى حافظتك، لذا وجب عليك لصق المحتوى مرة أخرى في هذه النافذة.", DlgPasteIgnoreFont : "تجاهل تعريفات أسماء الخطوط", DlgPasteRemoveStyles : "إزالة تعريفات الأنماط", // Color Picker ColorAutomatic : "تلقائي", ColorMoreColors : "ألوان إضافية...", // Document Properties DocProps : "خصائص الصفحة", // Anchor Dialog DlgAnchorTitle : "خصائص إشارة مرجعية", DlgAnchorName : "اسم الإشارة المرجعية", DlgAnchorErrorName : "الرجاء كتابة اسم الإشارة المرجعية", // Speller Pages Dialog DlgSpellNotInDic : "ليست في القاموس", DlgSpellChangeTo : "التغيير إلى", DlgSpellBtnIgnore : "تجاهل", DlgSpellBtnIgnoreAll : "تجاهل الكل", DlgSpellBtnReplace : "تغيير", DlgSpellBtnReplaceAll : "تغيير الكل", DlgSpellBtnUndo : "تراجع", DlgSpellNoSuggestions : "- لا توجد إقتراحات -", DlgSpellProgress : "جاري التدقيق إملائياً", DlgSpellNoMispell : "تم إكمال التدقيق الإملائي: لم يتم العثور على أي أخطاء إملائية", DlgSpellNoChanges : "تم إكمال التدقيق الإملائي: لم يتم تغيير أي كلمة", DlgSpellOneChange : "تم إكمال التدقيق الإملائي: تم تغيير كلمة واحدة فقط", DlgSpellManyChanges : "تم إكمال التدقيق الإملائي: تم تغيير %1 كلمات\كلمة", IeSpellDownload : "المدقق الإملائي (الإنجليزي) غير مثبّت. هل تود تحميله الآن؟", // Button Dialog DlgButtonText : "القيمة/التسمية", DlgButtonType : "نوع الزر", DlgButtonTypeBtn : "زر", DlgButtonTypeSbm : "إرسال", DlgButtonTypeRst : "إعادة تعيين", // Checkbox and Radio Button Dialogs DlgCheckboxName : "الاسم", DlgCheckboxValue : "القيمة", DlgCheckboxSelected : "محدد", // Form Dialog DlgFormName : "الاسم", DlgFormAction : "اسم الملف", DlgFormMethod : "الأسلوب", // Select Field Dialog DlgSelectName : "الاسم", DlgSelectValue : "القيمة", DlgSelectSize : "الحجم", DlgSelectLines : "الأسطر", DlgSelectChkMulti : "السماح بتحديدات متعددة", DlgSelectOpAvail : "الخيارات المتاحة", DlgSelectOpText : "النص", DlgSelectOpValue : "القيمة", DlgSelectBtnAdd : "إضافة", DlgSelectBtnModify : "تعديل", DlgSelectBtnUp : "تحريك لأعلى", DlgSelectBtnDown : "تحريك لأسفل", DlgSelectBtnSetValue : "إجعلها محددة", DlgSelectBtnDelete : "إزالة", // Textarea Dialog DlgTextareaName : "الاسم", DlgTextareaCols : "الأعمدة", DlgTextareaRows : "الصفوف", // Text Field Dialog DlgTextName : "الاسم", DlgTextValue : "القيمة", DlgTextCharWidth : "العرض بالأحرف", DlgTextMaxChars : "عدد الحروف الأقصى", DlgTextType : "نوع المحتوى", DlgTextTypeText : "نص", DlgTextTypePass : "كلمة مرور", // Hidden Field Dialog DlgHiddenName : "الاسم", DlgHiddenValue : "القيمة", // Bulleted List Dialog BulletedListProp : "خصائص التعداد النقطي", NumberedListProp : "خصائص التعداد الرقمي", DlgLstStart : "البدء عند", DlgLstType : "النوع", DlgLstTypeCircle : "دائرة", DlgLstTypeDisc : "قرص", DlgLstTypeSquare : "مربع", DlgLstTypeNumbers : "أرقام (1، 2، 3)َ", DlgLstTypeLCase : "حروف صغيرة (a, b, c)َ", DlgLstTypeUCase : "حروف كبيرة (A, B, C)َ", DlgLstTypeSRoman : "ترقيم روماني صغير (i, ii, iii)َ", DlgLstTypeLRoman : "ترقيم روماني كبير (I, II, III)َ", // Document Properties Dialog DlgDocGeneralTab : "عام", DlgDocBackTab : "الخلفية", DlgDocColorsTab : "الألوان والهوامش", DlgDocMetaTab : "المعرّفات الرأسية", DlgDocPageTitle : "عنوان الصفحة", DlgDocLangDir : "إتجاه اللغة", DlgDocLangDirLTR : "اليسار لليمين (LTR)", DlgDocLangDirRTL : "اليمين لليسار (RTL)", DlgDocLangCode : "رمز اللغة", DlgDocCharSet : "ترميز الحروف", DlgDocCharSetCE : "أوروبا الوسطى", DlgDocCharSetCT : "الصينية التقليدية (Big5)", DlgDocCharSetCR : "السيريلية", DlgDocCharSetGR : "اليونانية", DlgDocCharSetJP : "اليابانية", DlgDocCharSetKR : "الكورية", DlgDocCharSetTR : "التركية", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "أوروبا الغربية", DlgDocCharSetOther : "ترميز آخر", DlgDocDocType : "ترويسة نوع الصفحة", DlgDocDocTypeOther : "ترويسة نوع صفحة أخرى", DlgDocIncXHTML : "تضمين إعلانات‏ لغة XHTMLَ", DlgDocBgColor : "لون الخلفية", DlgDocBgImage : "رابط الصورة الخلفية", DlgDocBgNoScroll : "جعلها علامة مائية", DlgDocCText : "النص", DlgDocCLink : "الروابط", DlgDocCVisited : "المزارة", DlgDocCActive : "النشطة", DlgDocMargins : "هوامش الصفحة", DlgDocMaTop : "علوي", DlgDocMaLeft : "أيسر", DlgDocMaRight : "أيمن", DlgDocMaBottom : "سفلي", DlgDocMeIndex : "الكلمات الأساسية (مفصولة بفواصل)َ", DlgDocMeDescr : "وصف الصفحة", DlgDocMeAuthor : "الكاتب", DlgDocMeCopy : "المالك", DlgDocPreview : "معاينة", // Templates Dialog Templates : "القوالب", DlgTemplatesTitle : "قوالب المحتوى", DlgTemplatesSelMsg : "اختر القالب الذي تود وضعه في المحرر <br>(سيتم فقدان المحتوى الحالي):", DlgTemplatesLoading : "جاري تحميل قائمة القوالب، الرجاء الإنتظار...", DlgTemplatesNoTpl : "(لم يتم تعريف أي قالب)", DlgTemplatesReplace : "استبدال المحتوى", // About Dialog DlgAboutAboutTab : "نبذة", DlgAboutBrowserInfoTab : "معلومات متصفحك", DlgAboutLicenseTab : "الترخيص", DlgAboutVersion : "الإصدار", DlgAboutInfo : "لمزيد من المعلومات تفضل بزيارة", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Italian language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Nascondi la barra degli strumenti", ToolbarExpand : "Mostra la barra degli strumenti", // Toolbar Items and Context Menu Save : "Salva", NewPage : "Nuova pagina vuota", Preview : "Anteprima", Cut : "Taglia", Copy : "Copia", Paste : "Incolla", PasteText : "Incolla come testo semplice", PasteWord : "Incolla da Word", Print : "Stampa", SelectAll : "Seleziona tutto", RemoveFormat : "Elimina formattazione", InsertLinkLbl : "Collegamento", InsertLink : "Inserisci/Modifica collegamento", RemoveLink : "Elimina collegamento", VisitLink : "Open Link", //MISSING Anchor : "Inserisci/Modifica Ancora", AnchorDelete : "Rimuovi Ancora", InsertImageLbl : "Immagine", InsertImage : "Inserisci/Modifica immagine", InsertFlashLbl : "Oggetto Flash", InsertFlash : "Inserisci/Modifica Oggetto Flash", InsertTableLbl : "Tabella", InsertTable : "Inserisci/Modifica tabella", InsertLineLbl : "Riga orizzontale", InsertLine : "Inserisci riga orizzontale", InsertSpecialCharLbl: "Caratteri speciali", InsertSpecialChar : "Inserisci carattere speciale", InsertSmileyLbl : "Emoticon", InsertSmiley : "Inserisci emoticon", About : "Informazioni su FCKeditor", Bold : "Grassetto", Italic : "Corsivo", Underline : "Sottolineato", StrikeThrough : "Barrato", Subscript : "Pedice", Superscript : "Apice", LeftJustify : "Allinea a sinistra", CenterJustify : "Centra", RightJustify : "Allinea a destra", BlockJustify : "Giustifica", DecreaseIndent : "Riduci rientro", IncreaseIndent : "Aumenta rientro", Blockquote : "Blockquote", //MISSING CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "Annulla", Redo : "Ripristina", NumberedListLbl : "Elenco numerato", NumberedList : "Inserisci/Modifica elenco numerato", BulletedListLbl : "Elenco puntato", BulletedList : "Inserisci/Modifica elenco puntato", ShowTableBorders : "Mostra bordi tabelle", ShowDetails : "Mostra dettagli", Style : "Stile", FontFormat : "Formato", Font : "Font", FontSize : "Dimensione", TextColor : "Colore testo", BGColor : "Colore sfondo", Source : "Codice Sorgente", Find : "Trova", Replace : "Sostituisci", SpellCheck : "Correttore ortografico", UniversalKeyboard : "Tastiera universale", PageBreakLbl : "Interruzione di pagina", PageBreak : "Inserisci interruzione di pagina", Form : "Modulo", Checkbox : "Checkbox", RadioButton : "Radio Button", TextField : "Campo di testo", Textarea : "Area di testo", HiddenField : "Campo nascosto", Button : "Bottone", SelectionField : "Menu di selezione", ImageButton : "Bottone immagine", FitWindow : "Massimizza l'area dell'editor", ShowBlocks : "Visualizza Blocchi", // Context Menu EditLink : "Modifica collegamento", CellCM : "Cella", RowCM : "Riga", ColumnCM : "Colonna", InsertRowAfter : "Inserisci Riga Dopo", InsertRowBefore : "Inserisci Riga Prima", DeleteRows : "Elimina righe", InsertColumnAfter : "Inserisci Colonna Dopo", InsertColumnBefore : "Inserisci Colonna Prima", DeleteColumns : "Elimina colonne", InsertCellAfter : "Inserisci Cella Dopo", InsertCellBefore : "Inserisci Cella Prima", DeleteCells : "Elimina celle", MergeCells : "Unisce celle", MergeRight : "Unisci a Destra", MergeDown : "Unisci in Basso", HorizontalSplitCell : "Dividi Cella Orizzontalmente", VerticalSplitCell : "Dividi Cella Verticalmente", TableDelete : "Cancella Tabella", CellProperties : "Proprietà cella", TableProperties : "Proprietà tabella", ImageProperties : "Proprietà immagine", FlashProperties : "Proprietà Oggetto Flash", AnchorProp : "Proprietà ancora", ButtonProp : "Proprietà bottone", CheckboxProp : "Proprietà checkbox", HiddenFieldProp : "Proprietà campo nascosto", RadioButtonProp : "Proprietà radio button", ImageButtonProp : "Proprietà bottone immagine", TextFieldProp : "Proprietà campo di testo", SelectionFieldProp : "Proprietà menu di selezione", TextareaProp : "Proprietà area di testo", FormProp : "Proprietà modulo", FontFormats : "Normale;Formattato;Indirizzo;Titolo 1;Titolo 2;Titolo 3;Titolo 4;Titolo 5;Titolo 6;Paragrafo (DIV)", // Alerts and Messages ProcessingXHTML : "Elaborazione XHTML in corso. Attendere prego...", Done : "Completato", PasteWordConfirm : "Il testo da incollare sembra provenire da Word. Desideri pulirlo prima di incollare?", NotCompatiblePaste : "Questa funzione è disponibile solo per Internet Explorer 5.5 o superiore. Desideri incollare il testo senza pulirlo?", UnknownToolbarItem : "Elemento della barra strumenti sconosciuto \"%1\"", UnknownCommand : "Comando sconosciuto \"%1\"", NotImplemented : "Comando non implementato", UnknownToolbarSet : "La barra di strumenti \"%1\" non esiste", NoActiveX : "Le impostazioni di sicurezza del tuo browser potrebbero limitare alcune funzionalità dell'editor. Devi abilitare l'opzione \"Esegui controlli e plug-in ActiveX\". Potresti avere errori e notare funzionalità mancanti.", BrowseServerBlocked : "Non è possibile aprire la finestra di espolorazione risorse. Verifica che tutti i blocca popup siano bloccati.", DialogBlocked : "Non è possibile aprire la finestra di dialogo. Verifica che tutti i blocca popup siano bloccati.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Annulla", DlgBtnClose : "Chiudi", DlgBtnBrowseServer : "Cerca sul server", DlgAdvancedTag : "Avanzate", DlgOpOther : "<Altro>", DlgInfoTab : "Info", DlgAlertUrl : "Devi inserire l'URL", // General Dialogs Labels DlgGenNotSet : "<non impostato>", DlgGenId : "Id", DlgGenLangDir : "Direzione scrittura", DlgGenLangDirLtr : "Da Sinistra a Destra (LTR)", DlgGenLangDirRtl : "Da Destra a Sinistra (RTL)", DlgGenLangCode : "Codice Lingua", DlgGenAccessKey : "Scorciatoia<br />da tastiera", DlgGenName : "Nome", DlgGenTabIndex : "Ordine di tabulazione", DlgGenLongDescr : "URL descrizione estesa", DlgGenClass : "Nome classe CSS", DlgGenTitle : "Titolo", DlgGenContType : "Tipo della risorsa collegata", DlgGenLinkCharset : "Set di caretteri della risorsa collegata", DlgGenStyle : "Stile", // Image Dialog DlgImgTitle : "Proprietà immagine", DlgImgInfoTab : "Informazioni immagine", DlgImgBtnUpload : "Invia al server", DlgImgURL : "URL", DlgImgUpload : "Carica", DlgImgAlt : "Testo alternativo", DlgImgWidth : "Larghezza", DlgImgHeight : "Altezza", DlgImgLockRatio : "Blocca rapporto", DlgBtnResetSize : "Reimposta dimensione", DlgImgBorder : "Bordo", DlgImgHSpace : "HSpace", DlgImgVSpace : "VSpace", DlgImgAlign : "Allineamento", DlgImgAlignLeft : "Sinistra", DlgImgAlignAbsBottom: "In basso assoluto", DlgImgAlignAbsMiddle: "Centrato assoluto", DlgImgAlignBaseline : "Linea base", DlgImgAlignBottom : "In Basso", DlgImgAlignMiddle : "Centrato", DlgImgAlignRight : "Destra", DlgImgAlignTextTop : "In alto al testo", DlgImgAlignTop : "In Alto", DlgImgPreview : "Anteprima", DlgImgAlertUrl : "Devi inserire l'URL per l'immagine", DlgImgLinkTab : "Collegamento", // Flash Dialog DlgFlashTitle : "Proprietà Oggetto Flash", DlgFlashChkPlay : "Avvio Automatico", DlgFlashChkLoop : "Cicla", DlgFlashChkMenu : "Abilita Menu di Flash", DlgFlashScale : "Ridimensiona", DlgFlashScaleAll : "Mostra Tutto", DlgFlashScaleNoBorder : "Senza Bordo", DlgFlashScaleFit : "Dimensione Esatta", // Link Dialog DlgLnkWindowTitle : "Collegamento", DlgLnkInfoTab : "Informazioni collegamento", DlgLnkTargetTab : "Destinazione", DlgLnkType : "Tipo di Collegamento", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Ancora nella pagina", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protocollo", DlgLnkProtoOther : "<altro>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Scegli Ancora", DlgLnkAnchorByName : "Per Nome", DlgLnkAnchorById : "Per id elemento", DlgLnkNoAnchors : "(Nessuna ancora disponibile nel documento)", DlgLnkEMail : "Indirizzo E-Mail", DlgLnkEMailSubject : "Oggetto del messaggio", DlgLnkEMailBody : "Corpo del messaggio", DlgLnkUpload : "Carica", DlgLnkBtnUpload : "Invia al Server", DlgLnkTarget : "Destinazione", DlgLnkTargetFrame : "<riquadro>", DlgLnkTargetPopup : "<finestra popup>", DlgLnkTargetBlank : "Nuova finestra (_blank)", DlgLnkTargetParent : "Finestra padre (_parent)", DlgLnkTargetSelf : "Stessa finestra (_self)", DlgLnkTargetTop : "Finestra superiore (_top)", DlgLnkTargetFrameName : "Nome del riquadro di destinazione", DlgLnkPopWinName : "Nome finestra popup", DlgLnkPopWinFeat : "Caratteristiche finestra popup", DlgLnkPopResize : "Ridimensionabile", DlgLnkPopLocation : "Barra degli indirizzi", DlgLnkPopMenu : "Barra del menu", DlgLnkPopScroll : "Barre di scorrimento", DlgLnkPopStatus : "Barra di stato", DlgLnkPopToolbar : "Barra degli strumenti", DlgLnkPopFullScrn : "A tutto schermo (IE)", DlgLnkPopDependent : "Dipendente (Netscape)", DlgLnkPopWidth : "Larghezza", DlgLnkPopHeight : "Altezza", DlgLnkPopLeft : "Posizione da sinistra", DlgLnkPopTop : "Posizione dall'alto", DlnLnkMsgNoUrl : "Devi inserire l'URL del collegamento", DlnLnkMsgNoEMail : "Devi inserire un'indirizzo e-mail", DlnLnkMsgNoAnchor : "Devi selezionare un'ancora", DlnLnkMsgInvPopName : "Il nome del popup deve iniziare con una lettera, e non può contenere spazi", // Color Dialog DlgColorTitle : "Seleziona colore", DlgColorBtnClear : "Vuota", DlgColorHighlight : "Evidenziato", DlgColorSelected : "Selezionato", // Smiley Dialog DlgSmileyTitle : "Inserisci emoticon", // Special Character Dialog DlgSpecialCharTitle : "Seleziona carattere speciale", // Table Dialog DlgTableTitle : "Proprietà tabella", DlgTableRows : "Righe", DlgTableColumns : "Colonne", DlgTableBorder : "Dimensione bordo", DlgTableAlign : "Allineamento", DlgTableAlignNotSet : "<non impostato>", DlgTableAlignLeft : "Sinistra", DlgTableAlignCenter : "Centrato", DlgTableAlignRight : "Destra", DlgTableWidth : "Larghezza", DlgTableWidthPx : "pixel", DlgTableWidthPc : "percento", DlgTableHeight : "Altezza", DlgTableCellSpace : "Spaziatura celle", DlgTableCellPad : "Padding celle", DlgTableCaption : "Intestazione", DlgTableSummary : "Indice", // Table Cell Dialog DlgCellTitle : "Proprietà cella", DlgCellWidth : "Larghezza", DlgCellWidthPx : "pixel", DlgCellWidthPc : "percento", DlgCellHeight : "Altezza", DlgCellWordWrap : "A capo automatico", DlgCellWordWrapNotSet : "<non impostato>", DlgCellWordWrapYes : "Si", DlgCellWordWrapNo : "No", DlgCellHorAlign : "Allineamento orizzontale", DlgCellHorAlignNotSet : "<non impostato>", DlgCellHorAlignLeft : "Sinistra", DlgCellHorAlignCenter : "Centrato", DlgCellHorAlignRight: "Destra", DlgCellVerAlign : "Allineamento verticale", DlgCellVerAlignNotSet : "<non impostato>", DlgCellVerAlignTop : "In Alto", DlgCellVerAlignMiddle : "Centrato", DlgCellVerAlignBottom : "In Basso", DlgCellVerAlignBaseline : "Linea base", DlgCellRowSpan : "Righe occupate", DlgCellCollSpan : "Colonne occupate", DlgCellBackColor : "Colore sfondo", DlgCellBorderColor : "Colore bordo", DlgCellBtnSelect : "Scegli...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Cerca e Sostituisci", // Find Dialog DlgFindTitle : "Trova", DlgFindFindBtn : "Trova", DlgFindNotFoundMsg : "L'elemento cercato non è stato trovato.", // Replace Dialog DlgReplaceTitle : "Sostituisci", DlgReplaceFindLbl : "Trova:", DlgReplaceReplaceLbl : "Sostituisci con:", DlgReplaceCaseChk : "Maiuscole/minuscole", DlgReplaceReplaceBtn : "Sostituisci", DlgReplaceReplAllBtn : "Sostituisci tutto", DlgReplaceWordChk : "Solo parole intere", // Paste Operations / Dialog PasteErrorCut : "Le impostazioni di sicurezza del browser non permettono di tagliare automaticamente il testo. Usa la tastiera (Ctrl+X).", PasteErrorCopy : "Le impostazioni di sicurezza del browser non permettono di copiare automaticamente il testo. Usa la tastiera (Ctrl+C).", PasteAsText : "Incolla come testo semplice", PasteFromWord : "Incolla da Word", DlgPasteMsg2 : "Incolla il testo all'interno dell'area sottostante usando la scorciatoia di tastiere (<STRONG>Ctrl+V</STRONG>) e premi <STRONG>OK</STRONG>.", DlgPasteSec : "A causa delle impostazioni di sicurezza del browser,l'editor non è in grado di accedere direttamente agli appunti. E' pertanto necessario incollarli di nuovo in questa finestra.", DlgPasteIgnoreFont : "Ignora le definizioni di Font", DlgPasteRemoveStyles : "Rimuovi le definizioni di Stile", // Color Picker ColorAutomatic : "Automatico", ColorMoreColors : "Altri colori...", // Document Properties DocProps : "Proprietà del Documento", // Anchor Dialog DlgAnchorTitle : "Proprietà ancora", DlgAnchorName : "Nome ancora", DlgAnchorErrorName : "Inserici il nome dell'ancora", // Speller Pages Dialog DlgSpellNotInDic : "Non nel dizionario", DlgSpellChangeTo : "Cambia in", DlgSpellBtnIgnore : "Ignora", DlgSpellBtnIgnoreAll : "Ignora tutto", DlgSpellBtnReplace : "Cambia", DlgSpellBtnReplaceAll : "Cambia tutto", DlgSpellBtnUndo : "Annulla", DlgSpellNoSuggestions : "- Nessun suggerimento -", DlgSpellProgress : "Controllo ortografico in corso", DlgSpellNoMispell : "Controllo ortografico completato: nessun errore trovato", DlgSpellNoChanges : "Controllo ortografico completato: nessuna parola cambiata", DlgSpellOneChange : "Controllo ortografico completato: 1 parola cambiata", DlgSpellManyChanges : "Controllo ortografico completato: %1 parole cambiate", IeSpellDownload : "Contollo ortografico non installato. Lo vuoi scaricare ora?", // Button Dialog DlgButtonText : "Testo (Value)", DlgButtonType : "Tipo", DlgButtonTypeBtn : "Bottone", DlgButtonTypeSbm : "Invio", DlgButtonTypeRst : "Annulla", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Nome", DlgCheckboxValue : "Valore", DlgCheckboxSelected : "Selezionato", // Form Dialog DlgFormName : "Nome", DlgFormAction : "Azione", DlgFormMethod : "Metodo", // Select Field Dialog DlgSelectName : "Nome", DlgSelectValue : "Valore", DlgSelectSize : "Dimensione", DlgSelectLines : "righe", DlgSelectChkMulti : "Permetti selezione multipla", DlgSelectOpAvail : "Opzioni disponibili", DlgSelectOpText : "Testo", DlgSelectOpValue : "Valore", DlgSelectBtnAdd : "Aggiungi", DlgSelectBtnModify : "Modifica", DlgSelectBtnUp : "Su", DlgSelectBtnDown : "Gi", DlgSelectBtnSetValue : "Imposta come predefinito", DlgSelectBtnDelete : "Rimuovi", // Textarea Dialog DlgTextareaName : "Nome", DlgTextareaCols : "Colonne", DlgTextareaRows : "Righe", // Text Field Dialog DlgTextName : "Nome", DlgTextValue : "Valore", DlgTextCharWidth : "Larghezza", DlgTextMaxChars : "Numero massimo di caratteri", DlgTextType : "Tipo", DlgTextTypeText : "Testo", DlgTextTypePass : "Password", // Hidden Field Dialog DlgHiddenName : "Nome", DlgHiddenValue : "Valore", // Bulleted List Dialog BulletedListProp : "Proprietà lista puntata", NumberedListProp : "Proprietà lista numerata", DlgLstStart : "Inizio", DlgLstType : "Tipo", DlgLstTypeCircle : "Tondo", DlgLstTypeDisc : "Disco", DlgLstTypeSquare : "Quadrato", DlgLstTypeNumbers : "Numeri (1, 2, 3)", DlgLstTypeLCase : "Caratteri minuscoli (a, b, c)", DlgLstTypeUCase : "Caratteri maiuscoli (A, B, C)", DlgLstTypeSRoman : "Numeri Romani minuscoli (i, ii, iii)", DlgLstTypeLRoman : "Numeri Romani maiuscoli (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Genarale", DlgDocBackTab : "Sfondo", DlgDocColorsTab : "Colori e margini", DlgDocMetaTab : "Meta Data", DlgDocPageTitle : "Titolo pagina", DlgDocLangDir : "Direzione scrittura", DlgDocLangDirLTR : "Da Sinistra a Destra (LTR)", DlgDocLangDirRTL : "Da Destra a Sinistra (RTL)", DlgDocLangCode : "Codice Lingua", DlgDocCharSet : "Set di caretteri", DlgDocCharSetCE : "Europa Centrale", DlgDocCharSetCT : "Cinese Tradizionale (Big5)", DlgDocCharSetCR : "Cirillico", DlgDocCharSetGR : "Greco", DlgDocCharSetJP : "Giapponese", DlgDocCharSetKR : "Coreano", DlgDocCharSetTR : "Turco", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "Europa Occidentale", DlgDocCharSetOther : "Altro set di caretteri", DlgDocDocType : "Intestazione DocType", DlgDocDocTypeOther : "Altra intestazione DocType", DlgDocIncXHTML : "Includi dichiarazione XHTML", DlgDocBgColor : "Colore di sfondo", DlgDocBgImage : "Immagine di sfondo", DlgDocBgNoScroll : "Sfondo fissato", DlgDocCText : "Testo", DlgDocCLink : "Collegamento", DlgDocCVisited : "Collegamento visitato", DlgDocCActive : "Collegamento attivo", DlgDocMargins : "Margini", DlgDocMaTop : "In Alto", DlgDocMaLeft : "A Sinistra", DlgDocMaRight : "A Destra", DlgDocMaBottom : "In Basso", DlgDocMeIndex : "Chiavi di indicizzazione documento (separate da virgola)", DlgDocMeDescr : "Descrizione documento", DlgDocMeAuthor : "Autore", DlgDocMeCopy : "Copyright", DlgDocPreview : "Anteprima", // Templates Dialog Templates : "Modelli", DlgTemplatesTitle : "Contenuto dei modelli", DlgTemplatesSelMsg : "Seleziona il modello da aprire nell'editor<br />(il contenuto attuale verrà eliminato):", DlgTemplatesLoading : "Caricamento modelli in corso. Attendere prego...", DlgTemplatesNoTpl : "(Nessun modello definito)", DlgTemplatesReplace : "Cancella il contenuto corrente", // About Dialog DlgAboutAboutTab : "Informazioni", DlgAboutBrowserInfoTab : "Informazioni Browser", DlgAboutLicenseTab : "Licenza", DlgAboutVersion : "versione", DlgAboutInfo : "Per maggiori informazioni visitare", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Spanish language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Contraer Barra", ToolbarExpand : "Expandir Barra", // Toolbar Items and Context Menu Save : "Guardar", NewPage : "Nueva Página", Preview : "Vista Previa", Cut : "Cortar", Copy : "Copiar", Paste : "Pegar", PasteText : "Pegar como texto plano", PasteWord : "Pegar desde Word", Print : "Imprimir", SelectAll : "Seleccionar Todo", RemoveFormat : "Eliminar Formato", InsertLinkLbl : "Vínculo", InsertLink : "Insertar/Editar Vínculo", RemoveLink : "Eliminar Vínculo", VisitLink : "Abrir enlace", Anchor : "Referencia", AnchorDelete : "Eliminar Referencia", InsertImageLbl : "Imagen", InsertImage : "Insertar/Editar Imagen", InsertFlashLbl : "Flash", InsertFlash : "Insertar/Editar Flash", InsertTableLbl : "Tabla", InsertTable : "Insertar/Editar Tabla", InsertLineLbl : "Línea", InsertLine : "Insertar Línea Horizontal", InsertSpecialCharLbl: "Caracter Especial", InsertSpecialChar : "Insertar Caracter Especial", InsertSmileyLbl : "Emoticons", InsertSmiley : "Insertar Emoticons", About : "Acerca de FCKeditor", Bold : "Negrita", Italic : "Cursiva", Underline : "Subrayado", StrikeThrough : "Tachado", Subscript : "Subíndice", Superscript : "Superíndice", LeftJustify : "Alinear a Izquierda", CenterJustify : "Centrar", RightJustify : "Alinear a Derecha", BlockJustify : "Justificado", DecreaseIndent : "Disminuir Sangría", IncreaseIndent : "Aumentar Sangría", Blockquote : "Cita", CreateDiv : "Crear contenedor (div)", EditDiv : "Editar contenedor (div)", DeleteDiv : "Eliminar contenedor (div)", Undo : "Deshacer", Redo : "Rehacer", NumberedListLbl : "Numeración", NumberedList : "Insertar/Eliminar Numeración", BulletedListLbl : "Viñetas", BulletedList : "Insertar/Eliminar Viñetas", ShowTableBorders : "Mostrar Bordes de Tablas", ShowDetails : "Mostrar saltos de Párrafo", Style : "Estilo", FontFormat : "Formato", Font : "Fuente", FontSize : "Tamaño", TextColor : "Color de Texto", BGColor : "Color de Fondo", Source : "Fuente HTML", Find : "Buscar", Replace : "Reemplazar", SpellCheck : "Ortografía", UniversalKeyboard : "Teclado Universal", PageBreakLbl : "Salto de Página", PageBreak : "Insertar Salto de Página", Form : "Formulario", Checkbox : "Casilla de Verificación", RadioButton : "Botones de Radio", TextField : "Campo de Texto", Textarea : "Area de Texto", HiddenField : "Campo Oculto", Button : "Botón", SelectionField : "Campo de Selección", ImageButton : "Botón Imagen", FitWindow : "Maximizar el tamaño del editor", ShowBlocks : "Mostrar bloques", // Context Menu EditLink : "Editar Vínculo", CellCM : "Celda", RowCM : "Fila", ColumnCM : "Columna", InsertRowAfter : "Insertar fila en la parte inferior", InsertRowBefore : "Insertar fila en la parte superior", DeleteRows : "Eliminar Filas", InsertColumnAfter : "Insertar columna a la derecha", InsertColumnBefore : "Insertar columna a la izquierda", DeleteColumns : "Eliminar Columnas", InsertCellAfter : "Insertar celda a la derecha", InsertCellBefore : "Insertar celda a la izquierda", DeleteCells : "Eliminar Celdas", MergeCells : "Combinar Celdas", MergeRight : "Combinar a la derecha", MergeDown : "Combinar hacia abajo", HorizontalSplitCell : "Dividir la celda horizontalmente", VerticalSplitCell : "Dividir la celda verticalmente", TableDelete : "Eliminar Tabla", CellProperties : "Propiedades de Celda", TableProperties : "Propiedades de Tabla", ImageProperties : "Propiedades de Imagen", FlashProperties : "Propiedades de Flash", AnchorProp : "Propiedades de Referencia", ButtonProp : "Propiedades de Botón", CheckboxProp : "Propiedades de Casilla", HiddenFieldProp : "Propiedades de Campo Oculto", RadioButtonProp : "Propiedades de Botón de Radio", ImageButtonProp : "Propiedades de Botón de Imagen", TextFieldProp : "Propiedades de Campo de Texto", SelectionFieldProp : "Propiedades de Campo de Selección", TextareaProp : "Propiedades de Area de Texto", FormProp : "Propiedades de Formulario", FontFormats : "Normal;Con formato;Dirección;Encabezado 1;Encabezado 2;Encabezado 3;Encabezado 4;Encabezado 5;Encabezado 6;Normal (DIV)", // Alerts and Messages ProcessingXHTML : "Procesando XHTML. Por favor, espere...", Done : "Hecho", PasteWordConfirm : "El texto que desea parece provenir de Word. Desea depurarlo antes de pegarlo?", NotCompatiblePaste : "Este comando está disponible sólo para Internet Explorer version 5.5 or superior. Desea pegar sin depurar?", UnknownToolbarItem : "Item de barra desconocido \"%1\"", UnknownCommand : "Nombre de comando desconocido \"%1\"", NotImplemented : "Comando no implementado", UnknownToolbarSet : "Nombre de barra \"%1\" no definido", NoActiveX : "La configuración de las opciones de seguridad de su navegador puede estar limitando algunas características del editor. Por favor active la opción \"Ejecutar controles y complementos de ActiveX \", de lo contrario puede experimentar errores o ausencia de funcionalidades.", BrowseServerBlocked : "La ventana de visualización del servidor no pudo ser abierta. Verifique que su navegador no esté bloqueando las ventanas emergentes (pop up).", DialogBlocked : "No se ha podido abrir la ventana de diálogo. Verifique que su navegador no esté bloqueando las ventanas emergentes (pop up).", VisitLinkBlocked : "Nose ha podido abrir la ventana. Asegurese de que todos los bloqueadores de popups están deshabilitados.", // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Cancelar", DlgBtnClose : "Cerrar", DlgBtnBrowseServer : "Ver Servidor", DlgAdvancedTag : "Avanzado", DlgOpOther : "<Otro>", DlgInfoTab : "Información", DlgAlertUrl : "Inserte el URL", // General Dialogs Labels DlgGenNotSet : "<No definido>", DlgGenId : "Id", DlgGenLangDir : "Orientación", DlgGenLangDirLtr : "Izquierda a Derecha (LTR)", DlgGenLangDirRtl : "Derecha a Izquierda (RTL)", DlgGenLangCode : "Cód. de idioma", DlgGenAccessKey : "Clave de Acceso", DlgGenName : "Nombre", DlgGenTabIndex : "Indice de tabulación", DlgGenLongDescr : "Descripción larga URL", DlgGenClass : "Clases de hojas de estilo", DlgGenTitle : "Título", DlgGenContType : "Tipo de Contenido", DlgGenLinkCharset : "Fuente de caracteres vinculado", DlgGenStyle : "Estilo", // Image Dialog DlgImgTitle : "Propiedades de Imagen", DlgImgInfoTab : "Información de Imagen", DlgImgBtnUpload : "Enviar al Servidor", DlgImgURL : "URL", DlgImgUpload : "Cargar", DlgImgAlt : "Texto Alternativo", DlgImgWidth : "Anchura", DlgImgHeight : "Altura", DlgImgLockRatio : "Proporcional", DlgBtnResetSize : "Tamaño Original", DlgImgBorder : "Borde", DlgImgHSpace : "Esp.Horiz", DlgImgVSpace : "Esp.Vert", DlgImgAlign : "Alineación", DlgImgAlignLeft : "Izquierda", DlgImgAlignAbsBottom: "Abs inferior", DlgImgAlignAbsMiddle: "Abs centro", DlgImgAlignBaseline : "Línea de base", DlgImgAlignBottom : "Pie", DlgImgAlignMiddle : "Centro", DlgImgAlignRight : "Derecha", DlgImgAlignTextTop : "Tope del texto", DlgImgAlignTop : "Tope", DlgImgPreview : "Vista Previa", DlgImgAlertUrl : "Por favor escriba la URL de la imagen", DlgImgLinkTab : "Vínculo", // Flash Dialog DlgFlashTitle : "Propiedades de Flash", DlgFlashChkPlay : "Autoejecución", DlgFlashChkLoop : "Repetir", DlgFlashChkMenu : "Activar Menú Flash", DlgFlashScale : "Escala", DlgFlashScaleAll : "Mostrar todo", DlgFlashScaleNoBorder : "Sin Borde", DlgFlashScaleFit : "Ajustado", // Link Dialog DlgLnkWindowTitle : "Vínculo", DlgLnkInfoTab : "Información de Vínculo", DlgLnkTargetTab : "Destino", DlgLnkType : "Tipo de vínculo", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Referencia en esta página", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protocolo", DlgLnkProtoOther : "<otro>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Seleccionar una referencia", DlgLnkAnchorByName : "Por Nombre de Referencia", DlgLnkAnchorById : "Por ID de elemento", DlgLnkNoAnchors : "(No hay referencias disponibles en el documento)", DlgLnkEMail : "Dirección de E-Mail", DlgLnkEMailSubject : "Título del Mensaje", DlgLnkEMailBody : "Cuerpo del Mensaje", DlgLnkUpload : "Cargar", DlgLnkBtnUpload : "Enviar al Servidor", DlgLnkTarget : "Destino", DlgLnkTargetFrame : "<marco>", DlgLnkTargetPopup : "<ventana emergente>", DlgLnkTargetBlank : "Nueva Ventana(_blank)", DlgLnkTargetParent : "Ventana Padre (_parent)", DlgLnkTargetSelf : "Misma Ventana (_self)", DlgLnkTargetTop : "Ventana primaria (_top)", DlgLnkTargetFrameName : "Nombre del Marco Destino", DlgLnkPopWinName : "Nombre de Ventana Emergente", DlgLnkPopWinFeat : "Características de Ventana Emergente", DlgLnkPopResize : "Ajustable", DlgLnkPopLocation : "Barra de ubicación", DlgLnkPopMenu : "Barra de Menú", DlgLnkPopScroll : "Barras de desplazamiento", DlgLnkPopStatus : "Barra de Estado", DlgLnkPopToolbar : "Barra de Herramientas", DlgLnkPopFullScrn : "Pantalla Completa (IE)", DlgLnkPopDependent : "Dependiente (Netscape)", DlgLnkPopWidth : "Anchura", DlgLnkPopHeight : "Altura", DlgLnkPopLeft : "Posición Izquierda", DlgLnkPopTop : "Posición Derecha", DlnLnkMsgNoUrl : "Por favor tipee el vínculo URL", DlnLnkMsgNoEMail : "Por favor tipee la dirección de e-mail", DlnLnkMsgNoAnchor : "Por favor seleccione una referencia", DlnLnkMsgInvPopName : "El nombre debe empezar con un caracter alfanumérico y no debe contener espacios", // Color Dialog DlgColorTitle : "Seleccionar Color", DlgColorBtnClear : "Ninguno", DlgColorHighlight : "Resaltado", DlgColorSelected : "Seleccionado", // Smiley Dialog DlgSmileyTitle : "Insertar un Emoticon", // Special Character Dialog DlgSpecialCharTitle : "Seleccione un caracter especial", // Table Dialog DlgTableTitle : "Propiedades de Tabla", DlgTableRows : "Filas", DlgTableColumns : "Columnas", DlgTableBorder : "Tamaño de Borde", DlgTableAlign : "Alineación", DlgTableAlignNotSet : "<No establecido>", DlgTableAlignLeft : "Izquierda", DlgTableAlignCenter : "Centrado", DlgTableAlignRight : "Derecha", DlgTableWidth : "Anchura", DlgTableWidthPx : "pixeles", DlgTableWidthPc : "porcentaje", DlgTableHeight : "Altura", DlgTableCellSpace : "Esp. e/celdas", DlgTableCellPad : "Esp. interior", DlgTableCaption : "Título", DlgTableSummary : "Síntesis", // Table Cell Dialog DlgCellTitle : "Propiedades de Celda", DlgCellWidth : "Anchura", DlgCellWidthPx : "pixeles", DlgCellWidthPc : "porcentaje", DlgCellHeight : "Altura", DlgCellWordWrap : "Cortar Línea", DlgCellWordWrapNotSet : "<No establecido>", DlgCellWordWrapYes : "Si", DlgCellWordWrapNo : "No", DlgCellHorAlign : "Alineación Horizontal", DlgCellHorAlignNotSet : "<No establecido>", DlgCellHorAlignLeft : "Izquierda", DlgCellHorAlignCenter : "Centrado", DlgCellHorAlignRight: "Derecha", DlgCellVerAlign : "Alineación Vertical", DlgCellVerAlignNotSet : "<Not establecido>", DlgCellVerAlignTop : "Tope", DlgCellVerAlignMiddle : "Medio", DlgCellVerAlignBottom : "ie", DlgCellVerAlignBaseline : "Línea de Base", DlgCellRowSpan : "Abarcar Filas", DlgCellCollSpan : "Abarcar Columnas", DlgCellBackColor : "Color de Fondo", DlgCellBorderColor : "Color de Borde", DlgCellBtnSelect : "Seleccione...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Buscar y Reemplazar", // Find Dialog DlgFindTitle : "Buscar", DlgFindFindBtn : "Buscar", DlgFindNotFoundMsg : "El texto especificado no ha sido encontrado.", // Replace Dialog DlgReplaceTitle : "Reemplazar", DlgReplaceFindLbl : "Texto a buscar:", DlgReplaceReplaceLbl : "Reemplazar con:", DlgReplaceCaseChk : "Coincidir may/min", DlgReplaceReplaceBtn : "Reemplazar", DlgReplaceReplAllBtn : "Reemplazar Todo", DlgReplaceWordChk : "Coincidir toda la palabra", // Paste Operations / Dialog PasteErrorCut : "La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de cortado. Por favor use el teclado (Ctrl+X).", PasteErrorCopy : "La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de copiado. Por favor use el teclado (Ctrl+C).", PasteAsText : "Pegar como Texto Plano", PasteFromWord : "Pegar desde Word", DlgPasteMsg2 : "Por favor pegue dentro del cuadro utilizando el teclado (<STRONG>Ctrl+V</STRONG>); luego presione <STRONG>OK</STRONG>.", DlgPasteSec : "Debido a la configuración de seguridad de su navegador, el editor no tiene acceso al portapapeles. Es necesario que lo pegue de nuevo en esta ventana.", DlgPasteIgnoreFont : "Ignorar definiciones de fuentes", DlgPasteRemoveStyles : "Remover definiciones de estilo", // Color Picker ColorAutomatic : "Automático", ColorMoreColors : "Más Colores...", // Document Properties DocProps : "Propiedades del Documento", // Anchor Dialog DlgAnchorTitle : "Propiedades de la Referencia", DlgAnchorName : "Nombre de la Referencia", DlgAnchorErrorName : "Por favor, complete el nombre de la Referencia", // Speller Pages Dialog DlgSpellNotInDic : "No se encuentra en el Diccionario", DlgSpellChangeTo : "Cambiar a", DlgSpellBtnIgnore : "Ignorar", DlgSpellBtnIgnoreAll : "Ignorar Todo", DlgSpellBtnReplace : "Reemplazar", DlgSpellBtnReplaceAll : "Reemplazar Todo", DlgSpellBtnUndo : "Deshacer", DlgSpellNoSuggestions : "- No hay sugerencias -", DlgSpellProgress : "Control de Ortografía en progreso...", DlgSpellNoMispell : "Control finalizado: no se encontraron errores", DlgSpellNoChanges : "Control finalizado: no se ha cambiado ninguna palabra", DlgSpellOneChange : "Control finalizado: se ha cambiado una palabra", DlgSpellManyChanges : "Control finalizado: se ha cambiado %1 palabras", IeSpellDownload : "Módulo de Control de Ortografía no instalado. ¿Desea descargarlo ahora?", // Button Dialog DlgButtonText : "Texto (Valor)", DlgButtonType : "Tipo", DlgButtonTypeBtn : "Boton", DlgButtonTypeSbm : "Enviar", DlgButtonTypeRst : "Reestablecer", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Nombre", DlgCheckboxValue : "Valor", DlgCheckboxSelected : "Seleccionado", // Form Dialog DlgFormName : "Nombre", DlgFormAction : "Acción", DlgFormMethod : "Método", // Select Field Dialog DlgSelectName : "Nombre", DlgSelectValue : "Valor", DlgSelectSize : "Tamaño", DlgSelectLines : "Lineas", DlgSelectChkMulti : "Permitir múltiple selección", DlgSelectOpAvail : "Opciones disponibles", DlgSelectOpText : "Texto", DlgSelectOpValue : "Valor", DlgSelectBtnAdd : "Agregar", DlgSelectBtnModify : "Modificar", DlgSelectBtnUp : "Subir", DlgSelectBtnDown : "Bajar", DlgSelectBtnSetValue : "Establecer como predeterminado", DlgSelectBtnDelete : "Eliminar", // Textarea Dialog DlgTextareaName : "Nombre", DlgTextareaCols : "Columnas", DlgTextareaRows : "Filas", // Text Field Dialog DlgTextName : "Nombre", DlgTextValue : "Valor", DlgTextCharWidth : "Caracteres de ancho", DlgTextMaxChars : "Máximo caracteres", DlgTextType : "Tipo", DlgTextTypeText : "Texto", DlgTextTypePass : "Contraseña", // Hidden Field Dialog DlgHiddenName : "Nombre", DlgHiddenValue : "Valor", // Bulleted List Dialog BulletedListProp : "Propiedades de Viñetas", NumberedListProp : "Propiedades de Numeraciones", DlgLstStart : "Inicio", DlgLstType : "Tipo", DlgLstTypeCircle : "Círculo", DlgLstTypeDisc : "Disco", DlgLstTypeSquare : "Cuadrado", DlgLstTypeNumbers : "Números (1, 2, 3)", DlgLstTypeLCase : "letras en minúsculas (a, b, c)", DlgLstTypeUCase : "letras en mayúsculas (A, B, C)", DlgLstTypeSRoman : "Números Romanos (i, ii, iii)", DlgLstTypeLRoman : "Números Romanos (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "General", DlgDocBackTab : "Fondo", DlgDocColorsTab : "Colores y Márgenes", DlgDocMetaTab : "Meta Información", DlgDocPageTitle : "Título de Página", DlgDocLangDir : "Orientación de idioma", DlgDocLangDirLTR : "Izq. a Derecha (LTR)", DlgDocLangDirRTL : "Der. a Izquierda (RTL)", DlgDocLangCode : "Código de Idioma", DlgDocCharSet : "Codif. de Conjunto de Caracteres", DlgDocCharSetCE : "Centro Europeo", DlgDocCharSetCT : "Chino Tradicional (Big5)", DlgDocCharSetCR : "Cirílico", DlgDocCharSetGR : "Griego", DlgDocCharSetJP : "Japonés", DlgDocCharSetKR : "Coreano", DlgDocCharSetTR : "Turco", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "Europeo occidental", DlgDocCharSetOther : "Otra Codificación", DlgDocDocType : "Encabezado de Tipo de Documento", DlgDocDocTypeOther : "Otro Encabezado", DlgDocIncXHTML : "Incluir Declaraciones XHTML", DlgDocBgColor : "Color de Fondo", DlgDocBgImage : "URL de Imagen de Fondo", DlgDocBgNoScroll : "Fondo sin rolido", DlgDocCText : "Texto", DlgDocCLink : "Vínculo", DlgDocCVisited : "Vínculo Visitado", DlgDocCActive : "Vínculo Activo", DlgDocMargins : "Márgenes de Página", DlgDocMaTop : "Tope", DlgDocMaLeft : "Izquierda", DlgDocMaRight : "Derecha", DlgDocMaBottom : "Pie", DlgDocMeIndex : "Claves de indexación del Documento (separados por comas)", DlgDocMeDescr : "Descripción del Documento", DlgDocMeAuthor : "Autor", DlgDocMeCopy : "Copyright", DlgDocPreview : "Vista Previa", // Templates Dialog Templates : "Plantillas", DlgTemplatesTitle : "Contenido de Plantillas", DlgTemplatesSelMsg : "Por favor selecciona la plantilla a abrir en el editor<br>(el contenido actual se perderá):", DlgTemplatesLoading : "Cargando lista de Plantillas. Por favor, aguarde...", DlgTemplatesNoTpl : "(No hay plantillas definidas)", DlgTemplatesReplace : "Reemplazar el contenido actual", // About Dialog DlgAboutAboutTab : "Acerca de", DlgAboutBrowserInfoTab : "Información de Navegador", DlgAboutLicenseTab : "Licencia", DlgAboutVersion : "versión", DlgAboutInfo : "Para mayor información por favor dirigirse a", // Div Dialog DlgDivGeneralTab : "General", DlgDivAdvancedTab : "Avanzado", DlgDivStyle : "Estilo", DlgDivInlineStyle : "Estilos CSS" };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Latvian language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Samazināt rīku joslu", ToolbarExpand : "Paplašināt rīku joslu", // Toolbar Items and Context Menu Save : "Saglabāt", NewPage : "Jauna lapa", Preview : "Pārskatīt", Cut : "Izgriezt", Copy : "Kopēt", Paste : "Ievietot", PasteText : "Ievietot kā vienkāršu tekstu", PasteWord : "Ievietot no Worda", Print : "Drukāt", SelectAll : "Iezīmēt visu", RemoveFormat : "Noņemt stilus", InsertLinkLbl : "Hipersaite", InsertLink : "Ievietot/Labot hipersaiti", RemoveLink : "Noņemt hipersaiti", VisitLink : "Open Link", //MISSING Anchor : "Ievietot/Labot iezīmi", AnchorDelete : "Remove Anchor", //MISSING InsertImageLbl : "Attēls", InsertImage : "Ievietot/Labot Attēlu", InsertFlashLbl : "Flash", InsertFlash : "Ievietot/Labot Flash", InsertTableLbl : "Tabula", InsertTable : "Ievietot/Labot Tabulu", InsertLineLbl : "Atdalītājsvītra", InsertLine : "Ievietot horizontālu Atdalītājsvītru", InsertSpecialCharLbl: "Īpašs simbols", InsertSpecialChar : "Ievietot speciālo simbolu", InsertSmileyLbl : "Smaidiņi", InsertSmiley : "Ievietot smaidiņu", About : "Īsumā par FCKeditor", Bold : "Treknu šriftu", Italic : "Slīprakstā", Underline : "Apakšsvītra", StrikeThrough : "Pārsvītrots", Subscript : "Zemrakstā", Superscript : "Augšrakstā", LeftJustify : "Izlīdzināt pa kreisi", CenterJustify : "Izlīdzināt pret centru", RightJustify : "Izlīdzināt pa labi", BlockJustify : "Izlīdzināt malas", DecreaseIndent : "Samazināt atkāpi", IncreaseIndent : "Palielināt atkāpi", Blockquote : "Blockquote", //MISSING CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "Atcelt", Redo : "Atkārtot", NumberedListLbl : "Numurēts saraksts", NumberedList : "Ievietot/Noņemt numerēto sarakstu", BulletedListLbl : "Izcelts saraksts", BulletedList : "Ievietot/Noņemt izceltu sarakstu", ShowTableBorders : "Parādīt tabulas robežas", ShowDetails : "Parādīt sīkāku informāciju", Style : "Stils", FontFormat : "Formāts", Font : "Šrifts", FontSize : "Izmērs", TextColor : "Teksta krāsa", BGColor : "Fona krāsa", Source : "HTML kods", Find : "Meklēt", Replace : "Nomainīt", SpellCheck : "Pareizrakstības pārbaude", UniversalKeyboard : "Universāla klaviatūra", PageBreakLbl : "Lapas pārtraukums", PageBreak : "Ievietot lapas pārtraukumu", Form : "Forma", Checkbox : "Atzīmēšanas kastīte", RadioButton : "Izvēles poga", TextField : "Teksta rinda", Textarea : "Teksta laukums", HiddenField : "Paslēpta teksta rinda", Button : "Poga", SelectionField : "Iezīmēšanas lauks", ImageButton : "Attēlpoga", FitWindow : "Maksimizēt redaktora izmēru", ShowBlocks : "Show Blocks", //MISSING // Context Menu EditLink : "Labot hipersaiti", CellCM : "Šūna", RowCM : "Rinda", ColumnCM : "Kolonna", InsertRowAfter : "Insert Row After", //MISSING InsertRowBefore : "Insert Row Before", //MISSING DeleteRows : "Dzēst rindas", InsertColumnAfter : "Insert Column After", //MISSING InsertColumnBefore : "Insert Column Before", //MISSING DeleteColumns : "Dzēst kolonnas", InsertCellAfter : "Insert Cell After", //MISSING InsertCellBefore : "Insert Cell Before", //MISSING DeleteCells : "Dzēst rūtiņas", MergeCells : "Apvienot rūtiņas", MergeRight : "Merge Right", //MISSING MergeDown : "Merge Down", //MISSING HorizontalSplitCell : "Split Cell Horizontally", //MISSING VerticalSplitCell : "Split Cell Vertically", //MISSING TableDelete : "Dzēst tabulu", CellProperties : "Rūtiņas īpašības", TableProperties : "Tabulas īpašības", ImageProperties : "Attēla īpašības", FlashProperties : "Flash īpašības", AnchorProp : "Iezīmes īpašības", ButtonProp : "Pogas īpašības", CheckboxProp : "Atzīmēšanas kastītes īpašības", HiddenFieldProp : "Paslēptās teksta rindas īpašības", RadioButtonProp : "Izvēles poga īpašības", ImageButtonProp : "Attēlpogas īpašības", TextFieldProp : "Teksta rindas īpašības", SelectionFieldProp : "Iezīmēšanas lauka īpašības", TextareaProp : "Teksta laukuma īpašības", FormProp : "Formas īpašības", FontFormats : "Normāls teksts;Formatēts teksts;Adrese;Virsraksts 1;Virsraksts 2;Virsraksts 3;Virsraksts 4;Virsraksts 5;Virsraksts 6;Rindkopa (DIV)", // Alerts and Messages ProcessingXHTML : "Tiek apstrādāts XHTML. Lūdzu uzgaidiet...", Done : "Darīts", PasteWordConfirm : "Teksta fragments, kas tiek ievietots, izskatās, ka būtu sagatavots Word'ā. Vai vēlaties to apstrādāt pirms ievietošanas?", NotCompatiblePaste : "Šī darbība ir pieejama Internet Explorer'ī, kas jaunāks par 5.5 versiju. Vai vēlaties ievietot bez apstrādes?", UnknownToolbarItem : "Nezināms rīku joslas objekts \"%1\"", UnknownCommand : "Nezināmas darbības nosaukums \"%1\"", NotImplemented : "Darbība netika paveikta", UnknownToolbarSet : "Rīku joslas komplekts \"%1\" neeksistē", NoActiveX : "Interneta pārlūkprogrammas drošības uzstādījumi varētu ietekmēt dažas no redaktora īpašībām. Jābūt aktivizētai sadaļai \"Run ActiveX controls and plug-ins\". Savādāk ir iespējamas kļūdas darbībā un kļūdu paziņojumu parādīšanās.", BrowseServerBlocked : "Resursu pārlūks nevar tikt atvērts. Pārliecinieties, ka uznirstošo logu bloķētāji ir atslēgti.", DialogBlocked : "Nav iespējams atvērt dialoglogu. Pārliecinieties, ka uznirstošo logu bloķētāji ir atslēgti.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "Darīts!", DlgBtnCancel : "Atcelt", DlgBtnClose : "Aizvērt", DlgBtnBrowseServer : "Skatīt servera saturu", DlgAdvancedTag : "Izvērstais", DlgOpOther : "<Cits>", DlgInfoTab : "Informācija", DlgAlertUrl : "Lūdzu, ievietojiet hipersaiti", // General Dialogs Labels DlgGenNotSet : "<nav iestatīts>", DlgGenId : "Id", DlgGenLangDir : "Valodas lasīšanas virziens", DlgGenLangDirLtr : "No kreisās uz labo (LTR)", DlgGenLangDirRtl : "No labās uz kreiso (RTL)", DlgGenLangCode : "Valodas kods", DlgGenAccessKey : "Pieejas kods", DlgGenName : "Nosaukums", DlgGenTabIndex : "Ciļņu indekss", DlgGenLongDescr : "Gara apraksta Hipersaite", DlgGenClass : "Stilu saraksta klases", DlgGenTitle : "Konsultatīvs virsraksts", DlgGenContType : "Konsultatīvs satura tips", DlgGenLinkCharset : "Pievienotā resursa kodu tabula", DlgGenStyle : "Stils", // Image Dialog DlgImgTitle : "Attēla īpašības", DlgImgInfoTab : "Informācija par attēlu", DlgImgBtnUpload : "Nosūtīt serverim", DlgImgURL : "URL", DlgImgUpload : "Augšupielādēt", DlgImgAlt : "Alternatīvais teksts", DlgImgWidth : "Platums", DlgImgHeight : "Augstums", DlgImgLockRatio : "Nemainīga Augstuma/Platuma attiecība", DlgBtnResetSize : "Atjaunot sākotnējo izmēru", DlgImgBorder : "Rāmis", DlgImgHSpace : "Horizontālā telpa", DlgImgVSpace : "Vertikālā telpa", DlgImgAlign : "Nolīdzināt", DlgImgAlignLeft : "Pa kreisi", DlgImgAlignAbsBottom: "Absolūti apakšā", DlgImgAlignAbsMiddle: "Absolūti vertikāli centrēts", DlgImgAlignBaseline : "Pamatrindā", DlgImgAlignBottom : "Apakšā", DlgImgAlignMiddle : "Vertikāli centrēts", DlgImgAlignRight : "Pa labi", DlgImgAlignTextTop : "Teksta augšā", DlgImgAlignTop : "Augšā", DlgImgPreview : "Pārskats", DlgImgAlertUrl : "Lūdzu norādīt attēla hipersaiti", DlgImgLinkTab : "Hipersaite", // Flash Dialog DlgFlashTitle : "Flash īpašības", DlgFlashChkPlay : "Automātiska atskaņošana", DlgFlashChkLoop : "Nepārtraukti", DlgFlashChkMenu : "Atļaut Flash izvēlni", DlgFlashScale : "Mainīt izmēru", DlgFlashScaleAll : "Rādīt visu", DlgFlashScaleNoBorder : "Bez rāmja", DlgFlashScaleFit : "Precīzs izmērs", // Link Dialog DlgLnkWindowTitle : "Hipersaite", DlgLnkInfoTab : "Hipersaites informācija", DlgLnkTargetTab : "Mērķis", DlgLnkType : "Hipersaites tips", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Iezīme šajā lapā", DlgLnkTypeEMail : "E-pasts", DlgLnkProto : "Protokols", DlgLnkProtoOther : "<cits>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Izvēlēties iezīmi", DlgLnkAnchorByName : "Pēc iezīmes nosaukuma", DlgLnkAnchorById : "Pēc elementa ID", DlgLnkNoAnchors : "(Šajā dokumentā nav iezīmju)", DlgLnkEMail : "E-pasta adrese", DlgLnkEMailSubject : "Ziņas tēma", DlgLnkEMailBody : "Ziņas saturs", DlgLnkUpload : "Augšupielādēt", DlgLnkBtnUpload : "Nosūtīt serverim", DlgLnkTarget : "Mērķis", DlgLnkTargetFrame : "<ietvars>", DlgLnkTargetPopup : "<uznirstošā logā>", DlgLnkTargetBlank : "Jaunā logā (_blank)", DlgLnkTargetParent : "Esošajā logā (_parent)", DlgLnkTargetSelf : "Tajā pašā logā (_self)", DlgLnkTargetTop : "Visredzamākajā logā (_top)", DlgLnkTargetFrameName : "Mērķa ietvara nosaukums", DlgLnkPopWinName : "Uznirstošā loga nosaukums", DlgLnkPopWinFeat : "Uznirstošā loga nosaukums īpašības", DlgLnkPopResize : "Ar maināmu izmēru", DlgLnkPopLocation : "Atrašanās vietas josla", DlgLnkPopMenu : "Izvēlnes josla", DlgLnkPopScroll : "Ritjoslas", DlgLnkPopStatus : "Statusa josla", DlgLnkPopToolbar : "Rīku josla", DlgLnkPopFullScrn : "Pilnā ekrānā (IE)", DlgLnkPopDependent : "Atkarīgs (Netscape)", DlgLnkPopWidth : "Platums", DlgLnkPopHeight : "Augstums", DlgLnkPopLeft : "Kreisā koordināte", DlgLnkPopTop : "Augšējā koordināte", DlnLnkMsgNoUrl : "Lūdzu norādi hipersaiti", DlnLnkMsgNoEMail : "Lūdzu norādi e-pasta adresi", DlnLnkMsgNoAnchor : "Lūdzu norādi iezīmi", DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING // Color Dialog DlgColorTitle : "Izvēlies krāsu", DlgColorBtnClear : "Dzēst", DlgColorHighlight : "Izcelt", DlgColorSelected : "Iezīmētais", // Smiley Dialog DlgSmileyTitle : "Ievietot smaidiņu", // Special Character Dialog DlgSpecialCharTitle : "Ievietot īpašu simbolu", // Table Dialog DlgTableTitle : "Tabulas īpašības", DlgTableRows : "Rindas", DlgTableColumns : "Kolonnas", DlgTableBorder : "Rāmja izmērs", DlgTableAlign : "Novietojums", DlgTableAlignNotSet : "<nav norādīts>", DlgTableAlignLeft : "Pa kreisi", DlgTableAlignCenter : "Centrēti", DlgTableAlignRight : "Pa labi", DlgTableWidth : "Platums", DlgTableWidthPx : "pikseļos", DlgTableWidthPc : "procentuāli", DlgTableHeight : "Augstums", DlgTableCellSpace : "Rūtiņu atstatums", DlgTableCellPad : "Rūtiņu nobīde", DlgTableCaption : "Leģenda", DlgTableSummary : "Anotācija", // Table Cell Dialog DlgCellTitle : "Rūtiņas īpašības", DlgCellWidth : "Platums", DlgCellWidthPx : "pikseļi", DlgCellWidthPc : "procentos", DlgCellHeight : "Augstums", DlgCellWordWrap : "Teksta pārnese", DlgCellWordWrapNotSet : "<nav norādīta>", DlgCellWordWrapYes : "Jā", DlgCellWordWrapNo : "Nē", DlgCellHorAlign : "Horizontāla novietojums", DlgCellHorAlignNotSet : "<Nav norādīts>", DlgCellHorAlignLeft : "Pa kreisi", DlgCellHorAlignCenter : "Centrēti", DlgCellHorAlignRight: "Pa labi", DlgCellVerAlign : "Vertikālais novietojums", DlgCellVerAlignNotSet : "<nav norādīts>", DlgCellVerAlignTop : "Augša", DlgCellVerAlignMiddle : "Vidus", DlgCellVerAlignBottom : "Apakša", DlgCellVerAlignBaseline : "Pamatrindā", DlgCellRowSpan : "Rindu pārnese", DlgCellCollSpan : "Kolonnu pārnese", DlgCellBackColor : "Fona krāsa", DlgCellBorderColor : "Rāmja krāsa", DlgCellBtnSelect : "Iezīmē...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Find and Replace", //MISSING // Find Dialog DlgFindTitle : "Meklētājs", DlgFindFindBtn : "Meklēt", DlgFindNotFoundMsg : "Norādītā frāze netika atrasta.", // Replace Dialog DlgReplaceTitle : "Aizvietošana", DlgReplaceFindLbl : "Meklēt:", DlgReplaceReplaceLbl : "Nomainīt uz:", DlgReplaceCaseChk : "Reģistrjūtīgs", DlgReplaceReplaceBtn : "Aizvietot", DlgReplaceReplAllBtn : "Aizvietot visu", DlgReplaceWordChk : "Jāsakrīt pilnībā", // Paste Operations / Dialog PasteErrorCut : "Jūsu pārlūkprogrammas drošības iestatījumi nepieļauj editoram automātiski veikt izgriešanas darbību. Lūdzu, izmantojiet (Ctrl+X, lai veiktu šo darbību.", PasteErrorCopy : "Jūsu pārlūkprogrammas drošības iestatījumi nepieļauj editoram automātiski veikt kopēšanas darbību. Lūdzu, izmantojiet (Ctrl+C), lai veiktu šo darbību.", PasteAsText : "Ievietot kā vienkāršu tekstu", PasteFromWord : "Ievietot no Worda", DlgPasteMsg2 : "Lūdzu, ievietojiet tekstu šajā laukumā, izmantojot klaviatūru (<STRONG>Ctrl+V</STRONG>) un apstipriniet ar <STRONG>Darīts!</STRONG>.", DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING DlgPasteIgnoreFont : "Ignorēt iepriekš norādītos fontus", DlgPasteRemoveStyles : "Noņemt norādītos stilus", // Color Picker ColorAutomatic : "Automātiska", ColorMoreColors : "Plašāka palete...", // Document Properties DocProps : "Dokumenta īpašības", // Anchor Dialog DlgAnchorTitle : "Iezīmes īpašības", DlgAnchorName : "Iezīmes nosaukums", DlgAnchorErrorName : "Lūdzu norādiet iezīmes nosaukumu", // Speller Pages Dialog DlgSpellNotInDic : "Netika atrasts vārdnīcā", DlgSpellChangeTo : "Nomainīt uz", DlgSpellBtnIgnore : "Ignorēt", DlgSpellBtnIgnoreAll : "Ignorēt visu", DlgSpellBtnReplace : "Aizvietot", DlgSpellBtnReplaceAll : "Aizvietot visu", DlgSpellBtnUndo : "Atcelt", DlgSpellNoSuggestions : "- Nav ieteikumu -", DlgSpellProgress : "Notiek pareizrakstības pārbaude...", DlgSpellNoMispell : "Pareizrakstības pārbaude pabeigta: kļūdas netika atrastas", DlgSpellNoChanges : "Pareizrakstības pārbaude pabeigta: nekas netika labots", DlgSpellOneChange : "Pareizrakstības pārbaude pabeigta: 1 vārds izmainīts", DlgSpellManyChanges : "Pareizrakstības pārbaude pabeigta: %1 vārdi tika mainīti", IeSpellDownload : "Pareizrakstības pārbaudītājs nav pievienots. Vai vēlaties to lejupielādēt tagad?", // Button Dialog DlgButtonText : "Teksts (vērtība)", DlgButtonType : "Tips", DlgButtonTypeBtn : "Button", //MISSING DlgButtonTypeSbm : "Submit", //MISSING DlgButtonTypeRst : "Reset", //MISSING // Checkbox and Radio Button Dialogs DlgCheckboxName : "Nosaukums", DlgCheckboxValue : "Vērtība", DlgCheckboxSelected : "Iezīmēts", // Form Dialog DlgFormName : "Nosaukums", DlgFormAction : "Darbība", DlgFormMethod : "Metode", // Select Field Dialog DlgSelectName : "Nosaukums", DlgSelectValue : "Vērtība", DlgSelectSize : "Izmērs", DlgSelectLines : "rindas", DlgSelectChkMulti : "Atļaut vairākus iezīmējumus", DlgSelectOpAvail : "Pieejamās iespējas", DlgSelectOpText : "Teksts", DlgSelectOpValue : "Vērtība", DlgSelectBtnAdd : "Pievienot", DlgSelectBtnModify : "Veikt izmaiņas", DlgSelectBtnUp : "Augšup", DlgSelectBtnDown : "Lejup", DlgSelectBtnSetValue : "Noteikt kā iezīmēto vērtību", DlgSelectBtnDelete : "Dzēst", // Textarea Dialog DlgTextareaName : "Nosaukums", DlgTextareaCols : "Kolonnas", DlgTextareaRows : "Rindas", // Text Field Dialog DlgTextName : "Nosaukums", DlgTextValue : "Vērtība", DlgTextCharWidth : "Simbolu platums", DlgTextMaxChars : "Simbolu maksimālais daudzums", DlgTextType : "Tips", DlgTextTypeText : "Teksts", DlgTextTypePass : "Parole", // Hidden Field Dialog DlgHiddenName : "Nosaukums", DlgHiddenValue : "Vērtība", // Bulleted List Dialog BulletedListProp : "Aizzīmju saraksta īpašības", NumberedListProp : "Numerētā saraksta īpašības", DlgLstStart : "Start", //MISSING DlgLstType : "Tips", DlgLstTypeCircle : "Aplis", DlgLstTypeDisc : "Disks", DlgLstTypeSquare : "Kvadrāts", DlgLstTypeNumbers : "Skaitļi (1, 2, 3)", DlgLstTypeLCase : "Maziem burtiem (a, b, c)", DlgLstTypeUCase : "Lieliem burtiem (A, B, C)", DlgLstTypeSRoman : "Maziem romiešu cipariem (i, ii, iii)", DlgLstTypeLRoman : "Lieliem romiešu cipariem (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Vispārīga informācija", DlgDocBackTab : "Fons", DlgDocColorsTab : "Krāsas un robežu nobīdes", DlgDocMetaTab : "META dati", DlgDocPageTitle : "Dokumenta virsraksts <Title>", DlgDocLangDir : "Valodas lasīšanas virziens", DlgDocLangDirLTR : "No kreisās uz labo (LTR)", DlgDocLangDirRTL : "No labās uz kreiso (RTL)", DlgDocLangCode : "Valodas kods", DlgDocCharSet : "Simbolu kodējums", DlgDocCharSetCE : "Central European", //MISSING DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING DlgDocCharSetCR : "Cyrillic", //MISSING DlgDocCharSetGR : "Greek", //MISSING DlgDocCharSetJP : "Japanese", //MISSING DlgDocCharSetKR : "Korean", //MISSING DlgDocCharSetTR : "Turkish", //MISSING DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING DlgDocCharSetWE : "Western European", //MISSING DlgDocCharSetOther : "Cits simbolu kodējums", DlgDocDocType : "Dokumenta tips", DlgDocDocTypeOther : "Cits dokumenta tips", DlgDocIncXHTML : "Ietvert XHTML deklarācijas", DlgDocBgColor : "Fona krāsa", DlgDocBgImage : "Fona attēla hipersaite", DlgDocBgNoScroll : "Fona attēls ir fiksēts", DlgDocCText : "Teksts", DlgDocCLink : "Hipersaite", DlgDocCVisited : "Apmeklēta hipersaite", DlgDocCActive : "Aktīva hipersaite", DlgDocMargins : "Lapas robežas", DlgDocMaTop : "Augšā", DlgDocMaLeft : "Pa kreisi", DlgDocMaRight : "Pa labi", DlgDocMaBottom : "Apakšā", DlgDocMeIndex : "Dokumentu aprakstoši atslēgvārdi (atdalīti ar komatu)", DlgDocMeDescr : "Dokumenta apraksts", DlgDocMeAuthor : "Autors", DlgDocMeCopy : "Autortiesības", DlgDocPreview : "Priekšskats", // Templates Dialog Templates : "Sagataves", DlgTemplatesTitle : "Satura sagataves", DlgTemplatesSelMsg : "Lūdzu, norādiet sagatavi, ko atvērt editorā<br>(patreizējie dati tiks zaudēti):", DlgTemplatesLoading : "Notiek sagatavju saraksta ielāde. Lūdzu, uzgaidiet...", DlgTemplatesNoTpl : "(Nav norādītas sagataves)", DlgTemplatesReplace : "Replace actual contents", //MISSING // About Dialog DlgAboutAboutTab : "Par", DlgAboutBrowserInfoTab : "Informācija par pārlūkprogrammu", DlgAboutLicenseTab : "Licence", DlgAboutVersion : "versija", DlgAboutInfo : "Papildus informācija ir pieejama", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Slovenian language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Zloži orodno vrstico", ToolbarExpand : "Razširi orodno vrstico", // Toolbar Items and Context Menu Save : "Shrani", NewPage : "Nova stran", Preview : "Predogled", Cut : "Izreži", Copy : "Kopiraj", Paste : "Prilepi", PasteText : "Prilepi kot golo besedilo", PasteWord : "Prilepi iz Worda", Print : "Natisni", SelectAll : "Izberi vse", RemoveFormat : "Odstrani oblikovanje", InsertLinkLbl : "Povezava", InsertLink : "Vstavi/uredi povezavo", RemoveLink : "Odstrani povezavo", VisitLink : "Open Link", //MISSING Anchor : "Vstavi/uredi zaznamek", AnchorDelete : "Odstrani zaznamek", InsertImageLbl : "Slika", InsertImage : "Vstavi/uredi sliko", InsertFlashLbl : "Flash", InsertFlash : "Vstavi/Uredi Flash", InsertTableLbl : "Tabela", InsertTable : "Vstavi/uredi tabelo", InsertLineLbl : "Črta", InsertLine : "Vstavi vodoravno črto", InsertSpecialCharLbl: "Posebni znak", InsertSpecialChar : "Vstavi posebni znak", InsertSmileyLbl : "Smeško", InsertSmiley : "Vstavi smeška", About : "O FCKeditorju", Bold : "Krepko", Italic : "Ležeče", Underline : "Podčrtano", StrikeThrough : "Prečrtano", Subscript : "Podpisano", Superscript : "Nadpisano", LeftJustify : "Leva poravnava", CenterJustify : "Sredinska poravnava", RightJustify : "Desna poravnava", BlockJustify : "Obojestranska poravnava", DecreaseIndent : "Zmanjšaj zamik", IncreaseIndent : "Povečaj zamik", Blockquote : "Citat", CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "Razveljavi", Redo : "Ponovi", NumberedListLbl : "Oštevilčen seznam", NumberedList : "Vstavi/odstrani oštevilčevanje", BulletedListLbl : "Označen seznam", BulletedList : "Vstavi/odstrani označevanje", ShowTableBorders : "Pokaži meje tabele", ShowDetails : "Pokaži podrobnosti", Style : "Slog", FontFormat : "Oblika", Font : "Pisava", FontSize : "Velikost", TextColor : "Barva besedila", BGColor : "Barva ozadja", Source : "Izvorna koda", Find : "Najdi", Replace : "Zamenjaj", SpellCheck : "Preveri črkovanje", UniversalKeyboard : "Večjezična tipkovnica", PageBreakLbl : "Prelom strani", PageBreak : "Vstavi prelom strani", Form : "Obrazec", Checkbox : "Potrditveno polje", RadioButton : "Izbirno polje", TextField : "Vnosno polje", Textarea : "Vnosno območje", HiddenField : "Skrito polje", Button : "Gumb", SelectionField : "Spustni seznam", ImageButton : "Gumb s sliko", FitWindow : "Razširi velikost urejevalnika čez cel zaslon", ShowBlocks : "Prikaži ograde", // Context Menu EditLink : "Uredi povezavo", CellCM : "Celica", RowCM : "Vrstica", ColumnCM : "Stolpec", InsertRowAfter : "Vstavi vrstico za", InsertRowBefore : "Vstavi vrstico pred", DeleteRows : "Izbriši vrstice", InsertColumnAfter : "Vstavi stolpec za", InsertColumnBefore : "Vstavi stolpec pred", DeleteColumns : "Izbriši stolpce", InsertCellAfter : "Vstavi celico za", InsertCellBefore : "Vstavi celico pred", DeleteCells : "Izbriši celice", MergeCells : "Združi celice", MergeRight : "Združi desno", MergeDown : "Druži navzdol", HorizontalSplitCell : "Razdeli celico vodoravno", VerticalSplitCell : "Razdeli celico navpično", TableDelete : "Izbriši tabelo", CellProperties : "Lastnosti celice", TableProperties : "Lastnosti tabele", ImageProperties : "Lastnosti slike", FlashProperties : "Lastnosti Flash", AnchorProp : "Lastnosti zaznamka", ButtonProp : "Lastnosti gumba", CheckboxProp : "Lastnosti potrditvenega polja", HiddenFieldProp : "Lastnosti skritega polja", RadioButtonProp : "Lastnosti izbirnega polja", ImageButtonProp : "Lastnosti gumba s sliko", TextFieldProp : "Lastnosti vnosnega polja", SelectionFieldProp : "Lastnosti spustnega seznama", TextareaProp : "Lastnosti vnosnega območja", FormProp : "Lastnosti obrazca", FontFormats : "Navaden;Oblikovan;Napis;Naslov 1;Naslov 2;Naslov 3;Naslov 4;Naslov 5;Naslov 6", // Alerts and Messages ProcessingXHTML : "Obdelujem XHTML. Prosim počakajte...", Done : "Narejeno", PasteWordConfirm : "Izgleda, da želite prilepiti besedilo iz Worda. Ali ga želite očistiti, preden ga prilepite?", NotCompatiblePaste : "Ta ukaz deluje le v Internet Explorerje različice 5.5 ali višje. Ali želite prilepiti brez čiščenja?", UnknownToolbarItem : "Neznan element orodne vrstice \"%1\"", UnknownCommand : "Neznano ime ukaza \"%1\"", NotImplemented : "Ukaz ni izdelan", UnknownToolbarSet : "Skupina orodnih vrstic \"%1\" ne obstoja", NoActiveX : "Varnostne nastavitve vašega brskalnika lahko omejijo delovanje nekaterih zmožnosti urejevalnika. Če ne želite zaznavati napak in sporočil o manjkajočih zmožnostih, omogočite možnost \"Zaženi ActiveX kontrolnike in vtičnike\".", BrowseServerBlocked : "Brskalnik virov se ne more odpreti. Prepričajte se, da je preprečevanje pojavnih oken onemogočeno.", DialogBlocked : "Pogovorno okno se ni moglo odpreti. Prepričajte se, da je preprečevanje pojavnih oken onemogočeno.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "V redu", DlgBtnCancel : "Prekliči", DlgBtnClose : "Zapri", DlgBtnBrowseServer : "Prebrskaj na strežniku", DlgAdvancedTag : "Napredno", DlgOpOther : "<Ostalo>", DlgInfoTab : "Podatki", DlgAlertUrl : "Prosim vpiši spletni naslov", // General Dialogs Labels DlgGenNotSet : "<ni postavljen>", DlgGenId : "Id", DlgGenLangDir : "Smer jezika", DlgGenLangDirLtr : "Od leve proti desni (LTR)", DlgGenLangDirRtl : "Od desne proti levi (RTL)", DlgGenLangCode : "Oznaka jezika", DlgGenAccessKey : "Vstopno geslo", DlgGenName : "Ime", DlgGenTabIndex : "Številka tabulatorja", DlgGenLongDescr : "Dolg opis URL-ja", DlgGenClass : "Razred stilne predloge", DlgGenTitle : "Predlagani naslov", DlgGenContType : "Predlagani tip vsebine (content-type)", DlgGenLinkCharset : "Kodna tabela povezanega vira", DlgGenStyle : "Slog", // Image Dialog DlgImgTitle : "Lastnosti slike", DlgImgInfoTab : "Podatki o sliki", DlgImgBtnUpload : "Pošlji na strežnik", DlgImgURL : "URL", DlgImgUpload : "Pošlji", DlgImgAlt : "Nadomestno besedilo", DlgImgWidth : "Širina", DlgImgHeight : "Višina", DlgImgLockRatio : "Zakleni razmerje", DlgBtnResetSize : "Ponastavi velikost", DlgImgBorder : "Obroba", DlgImgHSpace : "Vodoravni razmik", DlgImgVSpace : "Navpični razmik", DlgImgAlign : "Poravnava", DlgImgAlignLeft : "Levo", DlgImgAlignAbsBottom: "Popolnoma na dno", DlgImgAlignAbsMiddle: "Popolnoma v sredino", DlgImgAlignBaseline : "Na osnovno črto", DlgImgAlignBottom : "Na dno", DlgImgAlignMiddle : "V sredino", DlgImgAlignRight : "Desno", DlgImgAlignTextTop : "Besedilo na vrh", DlgImgAlignTop : "Na vrh", DlgImgPreview : "Predogled", DlgImgAlertUrl : "Vnesite URL slike", DlgImgLinkTab : "Povezava", // Flash Dialog DlgFlashTitle : "Lastnosti Flash", DlgFlashChkPlay : "Samodejno predvajaj", DlgFlashChkLoop : "Ponavljanje", DlgFlashChkMenu : "Omogoči Flash Meni", DlgFlashScale : "Povečava", DlgFlashScaleAll : "Pokaži vse", DlgFlashScaleNoBorder : "Brez obrobe", DlgFlashScaleFit : "Natančno prileganje", // Link Dialog DlgLnkWindowTitle : "Povezava", DlgLnkInfoTab : "Podatki o povezavi", DlgLnkTargetTab : "Cilj", DlgLnkType : "Vrsta povezave", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Zaznamek na tej strani", DlgLnkTypeEMail : "Elektronski naslov", DlgLnkProto : "Protokol", DlgLnkProtoOther : "<drugo>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Izberi zaznamek", DlgLnkAnchorByName : "Po imenu zaznamka", DlgLnkAnchorById : "Po ID-ju elementa", DlgLnkNoAnchors : "(V tem dokumentu ni zaznamkov)", DlgLnkEMail : "Elektronski naslov", DlgLnkEMailSubject : "Predmet sporočila", DlgLnkEMailBody : "Vsebina sporočila", DlgLnkUpload : "Prenesi", DlgLnkBtnUpload : "Pošlji na strežnik", DlgLnkTarget : "Cilj", DlgLnkTargetFrame : "<okvir>", DlgLnkTargetPopup : "<pojavno okno>", DlgLnkTargetBlank : "Novo okno (_blank)", DlgLnkTargetParent : "Starševsko okno (_parent)", DlgLnkTargetSelf : "Isto okno (_self)", DlgLnkTargetTop : "Najvišje okno (_top)", DlgLnkTargetFrameName : "Ime ciljnega okvirja", DlgLnkPopWinName : "Ime pojavnega okna", DlgLnkPopWinFeat : "Značilnosti pojavnega okna", DlgLnkPopResize : "Spremenljive velikosti", DlgLnkPopLocation : "Naslovna vrstica", DlgLnkPopMenu : "Menijska vrstica", DlgLnkPopScroll : "Drsniki", DlgLnkPopStatus : "Vrstica stanja", DlgLnkPopToolbar : "Orodna vrstica", DlgLnkPopFullScrn : "Celozaslonska slika (IE)", DlgLnkPopDependent : "Podokno (Netscape)", DlgLnkPopWidth : "Širina", DlgLnkPopHeight : "Višina", DlgLnkPopLeft : "Lega levo", DlgLnkPopTop : "Lega na vrhu", DlnLnkMsgNoUrl : "Vnesite URL povezave", DlnLnkMsgNoEMail : "Vnesite elektronski naslov", DlnLnkMsgNoAnchor : "Izberite zaznamek", DlnLnkMsgInvPopName : "Ime pojavnega okna se mora začeti s črko ali številko in ne sme vsebovati presledkov", // Color Dialog DlgColorTitle : "Izberite barvo", DlgColorBtnClear : "Počisti", DlgColorHighlight : "Označi", DlgColorSelected : "Izbrano", // Smiley Dialog DlgSmileyTitle : "Vstavi smeška", // Special Character Dialog DlgSpecialCharTitle : "Izberi posebni znak", // Table Dialog DlgTableTitle : "Lastnosti tabele", DlgTableRows : "Vrstice", DlgTableColumns : "Stolpci", DlgTableBorder : "Velikost obrobe", DlgTableAlign : "Poravnava", DlgTableAlignNotSet : "<Ni nastavljeno>", DlgTableAlignLeft : "Levo", DlgTableAlignCenter : "Sredinsko", DlgTableAlignRight : "Desno", DlgTableWidth : "Širina", DlgTableWidthPx : "pik", DlgTableWidthPc : "procentov", DlgTableHeight : "Višina", DlgTableCellSpace : "Razmik med celicami", DlgTableCellPad : "Polnilo med celicami", DlgTableCaption : "Naslov", DlgTableSummary : "Povzetek", // Table Cell Dialog DlgCellTitle : "Lastnosti celice", DlgCellWidth : "Širina", DlgCellWidthPx : "pik", DlgCellWidthPc : "procentov", DlgCellHeight : "Višina", DlgCellWordWrap : "Pomikanje besedila", DlgCellWordWrapNotSet : "<Ni nastavljeno>", DlgCellWordWrapYes : "Da", DlgCellWordWrapNo : "Ne", DlgCellHorAlign : "Vodoravna poravnava", DlgCellHorAlignNotSet : "<Ni nastavljeno>", DlgCellHorAlignLeft : "Levo", DlgCellHorAlignCenter : "Sredinsko", DlgCellHorAlignRight: "Desno", DlgCellVerAlign : "Navpična poravnava", DlgCellVerAlignNotSet : "<Ni nastavljeno>", DlgCellVerAlignTop : "Na vrh", DlgCellVerAlignMiddle : "V sredino", DlgCellVerAlignBottom : "Na dno", DlgCellVerAlignBaseline : "Na osnovno črto", DlgCellRowSpan : "Spojenih vrstic (row-span)", DlgCellCollSpan : "Spojenih stolpcev (col-span)", DlgCellBackColor : "Barva ozadja", DlgCellBorderColor : "Barva obrobe", DlgCellBtnSelect : "Izberi...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Najdi in zamenjaj", // Find Dialog DlgFindTitle : "Najdi", DlgFindFindBtn : "Najdi", DlgFindNotFoundMsg : "Navedeno besedilo ni bilo najdeno.", // Replace Dialog DlgReplaceTitle : "Zamenjaj", DlgReplaceFindLbl : "Najdi:", DlgReplaceReplaceLbl : "Zamenjaj z:", DlgReplaceCaseChk : "Razlikuj velike in male črke", DlgReplaceReplaceBtn : "Zamenjaj", DlgReplaceReplAllBtn : "Zamenjaj vse", DlgReplaceWordChk : "Samo cele besede", // Paste Operations / Dialog PasteErrorCut : "Varnostne nastavitve brskalnika ne dopuščajo samodejnega izrezovanja. Uporabite kombinacijo tipk na tipkovnici (Ctrl+X).", PasteErrorCopy : "Varnostne nastavitve brskalnika ne dopuščajo samodejnega kopiranja. Uporabite kombinacijo tipk na tipkovnici (Ctrl+C).", PasteAsText : "Prilepi kot golo besedilo", PasteFromWord : "Prilepi iz Worda", DlgPasteMsg2 : "Prosim prilepite v sleči okvir s pomočjo tipkovnice (<STRONG>Ctrl+V</STRONG>) in pritisnite <STRONG>V redu</STRONG>.", DlgPasteSec : "Zaradi varnostnih nastavitev vašega brskalnika urejevalnik ne more neposredno dostopati do odložišča. Vsebino odložišča ponovno prilepite v to okno.", DlgPasteIgnoreFont : "Prezri obliko pisave", DlgPasteRemoveStyles : "Odstrani nastavitve stila", // Color Picker ColorAutomatic : "Samodejno", ColorMoreColors : "Več barv...", // Document Properties DocProps : "Lastnosti dokumenta", // Anchor Dialog DlgAnchorTitle : "Lastnosti zaznamka", DlgAnchorName : "Ime zaznamka", DlgAnchorErrorName : "Prosim vnesite ime zaznamka", // Speller Pages Dialog DlgSpellNotInDic : "Ni v slovarju", DlgSpellChangeTo : "Spremeni v", DlgSpellBtnIgnore : "Prezri", DlgSpellBtnIgnoreAll : "Prezri vse", DlgSpellBtnReplace : "Zamenjaj", DlgSpellBtnReplaceAll : "Zamenjaj vse", DlgSpellBtnUndo : "Razveljavi", DlgSpellNoSuggestions : "- Ni predlogov -", DlgSpellProgress : "Preverjanje črkovanja se izvaja...", DlgSpellNoMispell : "Črkovanje je končano: Brez napak", DlgSpellNoChanges : "Črkovanje je končano: Nobena beseda ni bila spremenjena", DlgSpellOneChange : "Črkovanje je končano: Spremenjena je bila ena beseda", DlgSpellManyChanges : "Črkovanje je končano: Spremenjenih je bilo %1 besed", IeSpellDownload : "Črkovalnik ni nameščen. Ali ga želite prenesti sedaj?", // Button Dialog DlgButtonText : "Besedilo (Vrednost)", DlgButtonType : "Tip", DlgButtonTypeBtn : "Gumb", DlgButtonTypeSbm : "Potrdi", DlgButtonTypeRst : "Ponastavi", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Ime", DlgCheckboxValue : "Vrednost", DlgCheckboxSelected : "Izbrano", // Form Dialog DlgFormName : "Ime", DlgFormAction : "Akcija", DlgFormMethod : "Metoda", // Select Field Dialog DlgSelectName : "Ime", DlgSelectValue : "Vrednost", DlgSelectSize : "Velikost", DlgSelectLines : "vrstic", DlgSelectChkMulti : "Dovoli izbor večih vrstic", DlgSelectOpAvail : "Razpoložljive izbire", DlgSelectOpText : "Besedilo", DlgSelectOpValue : "Vrednost", DlgSelectBtnAdd : "Dodaj", DlgSelectBtnModify : "Spremeni", DlgSelectBtnUp : "Gor", DlgSelectBtnDown : "Dol", DlgSelectBtnSetValue : "Postavi kot privzeto izbiro", DlgSelectBtnDelete : "Izbriši", // Textarea Dialog DlgTextareaName : "Ime", DlgTextareaCols : "Stolpcev", DlgTextareaRows : "Vrstic", // Text Field Dialog DlgTextName : "Ime", DlgTextValue : "Vrednost", DlgTextCharWidth : "Dolžina", DlgTextMaxChars : "Največje število znakov", DlgTextType : "Tip", DlgTextTypeText : "Besedilo", DlgTextTypePass : "Geslo", // Hidden Field Dialog DlgHiddenName : "Ime", DlgHiddenValue : "Vrednost", // Bulleted List Dialog BulletedListProp : "Lastnosti označenega seznama", NumberedListProp : "Lastnosti oštevilčenega seznama", DlgLstStart : "Začetek", DlgLstType : "Tip", DlgLstTypeCircle : "Pikica", DlgLstTypeDisc : "Kroglica", DlgLstTypeSquare : "Kvadratek", DlgLstTypeNumbers : "Številke (1, 2, 3)", DlgLstTypeLCase : "Male črke (a, b, c)", DlgLstTypeUCase : "Velike črke (A, B, C)", DlgLstTypeSRoman : "Male rimske številke (i, ii, iii)", DlgLstTypeLRoman : "Velike rimske številke (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Splošno", DlgDocBackTab : "Ozadje", DlgDocColorsTab : "Barve in zamiki", DlgDocMetaTab : "Meta podatki", DlgDocPageTitle : "Naslov strani", DlgDocLangDir : "Smer jezika", DlgDocLangDirLTR : "Od leve proti desni (LTR)", DlgDocLangDirRTL : "Od desne proti levi (RTL)", DlgDocLangCode : "Oznaka jezika", DlgDocCharSet : "Kodna tabela", DlgDocCharSetCE : "Srednjeevropsko", DlgDocCharSetCT : "Tradicionalno Kitajsko (Big5)", DlgDocCharSetCR : "Cirilica", DlgDocCharSetGR : "Grško", DlgDocCharSetJP : "Japonsko", DlgDocCharSetKR : "Korejsko", DlgDocCharSetTR : "Turško", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "Zahodnoevropsko", DlgDocCharSetOther : "Druga kodna tabela", DlgDocDocType : "Glava tipa dokumenta", DlgDocDocTypeOther : "Druga glava tipa dokumenta", DlgDocIncXHTML : "Vstavi XHTML deklaracije", DlgDocBgColor : "Barva ozadja", DlgDocBgImage : "URL slike za ozadje", DlgDocBgNoScroll : "Nepremično ozadje", DlgDocCText : "Besedilo", DlgDocCLink : "Povezava", DlgDocCVisited : "Obiskana povezava", DlgDocCActive : "Aktivna povezava", DlgDocMargins : "Zamiki strani", DlgDocMaTop : "Na vrhu", DlgDocMaLeft : "Levo", DlgDocMaRight : "Desno", DlgDocMaBottom : "Spodaj", DlgDocMeIndex : "Ključne besede (ločene z vejicami)", DlgDocMeDescr : "Opis strani", DlgDocMeAuthor : "Avtor", DlgDocMeCopy : "Avtorske pravice", DlgDocPreview : "Predogled", // Templates Dialog Templates : "Predloge", DlgTemplatesTitle : "Vsebinske predloge", DlgTemplatesSelMsg : "Izberite predlogo, ki jo želite odpreti v urejevalniku<br>(trenutna vsebina bo izgubljena):", DlgTemplatesLoading : "Nalagam seznam predlog. Prosim počakajte...", DlgTemplatesNoTpl : "(Ni pripravljenih predlog)", DlgTemplatesReplace : "Zamenjaj trenutno vsebino", // About Dialog DlgAboutAboutTab : "Vizitka", DlgAboutBrowserInfoTab : "Informacije o brskalniku", DlgAboutLicenseTab : "Dovoljenja", DlgAboutVersion : "različica", DlgAboutInfo : "Za več informacij obiščite", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Romanian language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Ascunde bara cu opţiuni", ToolbarExpand : "Expandează bara cu opţiuni", // Toolbar Items and Context Menu Save : "Salvează", NewPage : "Pagină nouă", Preview : "Previzualizare", Cut : "Taie", Copy : "Copiază", Paste : "Adaugă", PasteText : "Adaugă ca text simplu", PasteWord : "Adaugă din Word", Print : "Printează", SelectAll : "Selectează tot", RemoveFormat : "Înlătură formatarea", InsertLinkLbl : "Link (Legătură web)", InsertLink : "Inserează/Editează link (legătură web)", RemoveLink : "Înlătură link (legătură web)", VisitLink : "Open Link", //MISSING Anchor : "Inserează/Editează ancoră", AnchorDelete : "Şterge ancoră", InsertImageLbl : "Imagine", InsertImage : "Inserează/Editează imagine", InsertFlashLbl : "Flash", InsertFlash : "Inserează/Editează flash", InsertTableLbl : "Tabel", InsertTable : "Inserează/Editează tabel", InsertLineLbl : "Linie", InsertLine : "Inserează linie orizontă", InsertSpecialCharLbl: "Caracter special", InsertSpecialChar : "Inserează caracter special", InsertSmileyLbl : "Figură expresivă (Emoticon)", InsertSmiley : "Inserează Figură expresivă (Emoticon)", About : "Despre FCKeditor", Bold : "Îngroşat (bold)", Italic : "Înclinat (italic)", Underline : "Subliniat (underline)", StrikeThrough : "Tăiat (strike through)", Subscript : "Indice (subscript)", Superscript : "Putere (superscript)", LeftJustify : "Aliniere la stânga", CenterJustify : "Aliniere centrală", RightJustify : "Aliniere la dreapta", BlockJustify : "Aliniere în bloc (Block Justify)", DecreaseIndent : "Scade indentarea", IncreaseIndent : "Creşte indentarea", Blockquote : "Citat", CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "Starea anterioară (undo)", Redo : "Starea ulterioară (redo)", NumberedListLbl : "Listă numerotată", NumberedList : "Inserează/Şterge listă numerotată", BulletedListLbl : "Listă cu puncte", BulletedList : "Inserează/Şterge listă cu puncte", ShowTableBorders : "Arată marginile tabelului", ShowDetails : "Arată detalii", Style : "Stil", FontFormat : "Formatare", Font : "Font", FontSize : "Mărime", TextColor : "Culoarea textului", BGColor : "Coloarea fundalului", Source : "Sursa", Find : "Găseşte", Replace : "Înlocuieşte", SpellCheck : "Verifică text", UniversalKeyboard : "Tastatură universală", PageBreakLbl : "Separator de pagină (Page Break)", PageBreak : "Inserează separator de pagină (Page Break)", Form : "Formular (Form)", Checkbox : "Bifă (Checkbox)", RadioButton : "Buton radio (RadioButton)", TextField : "Câmp text (TextField)", Textarea : "Suprafaţă text (Textarea)", HiddenField : "Câmp ascuns (HiddenField)", Button : "Buton", SelectionField : "Câmp selecţie (SelectionField)", ImageButton : "Buton imagine (ImageButton)", FitWindow : "Maximizează mărimea editorului", ShowBlocks : "Arată blocurile", // Context Menu EditLink : "Editează Link", CellCM : "Celulă", RowCM : "Linie", ColumnCM : "Coloană", InsertRowAfter : "Inserează linie după", InsertRowBefore : "Inserează linie înainte", DeleteRows : "Şterge linii", InsertColumnAfter : "Inserează coloană după", InsertColumnBefore : "Inserează coloană înainte", DeleteColumns : "Şterge celule", InsertCellAfter : "Inserează celulă după", InsertCellBefore : "Inserează celulă înainte", DeleteCells : "Şterge celule", MergeCells : "Uneşte celule", MergeRight : "Uneşte la dreapta", MergeDown : "Uneşte jos", HorizontalSplitCell : "Împarte celula pe orizontală", VerticalSplitCell : "Împarte celula pe verticală", TableDelete : "Şterge tabel", CellProperties : "Proprietăţile celulei", TableProperties : "Proprietăţile tabelului", ImageProperties : "Proprietăţile imaginii", FlashProperties : "Proprietăţile flash-ului", AnchorProp : "Proprietăţi ancoră", ButtonProp : "Proprietăţi buton", CheckboxProp : "Proprietăţi bifă (Checkbox)", HiddenFieldProp : "Proprietăţi câmp ascuns (Hidden Field)", RadioButtonProp : "Proprietăţi buton radio (Radio Button)", ImageButtonProp : "Proprietăţi buton imagine (Image Button)", TextFieldProp : "Proprietăţi câmp text (Text Field)", SelectionFieldProp : "Proprietăţi câmp selecţie (Selection Field)", TextareaProp : "Proprietăţi suprafaţă text (Textarea)", FormProp : "Proprietăţi formular (Form)", FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", //MISSING // Alerts and Messages ProcessingXHTML : "Procesăm XHTML. Vă rugăm aşteptaţi...", Done : "Am terminat", PasteWordConfirm : "Textul pe care doriţi să-l adăugaţi pare a fi formatat pentru Word. Doriţi să-l curăţaţi de această formatare înainte de a-l adăuga?", NotCompatiblePaste : "Această facilitate e disponibilă doar pentru Microsoft Internet Explorer, versiunea 5.5 sau ulterioară. Vreţi să-l adăugaţi fără a-i fi înlăturat formatarea?", UnknownToolbarItem : "Obiectul \"%1\" din bara cu opţiuni necunoscut", UnknownCommand : "Comanda \"%1\" necunoscută", NotImplemented : "Comandă neimplementată", UnknownToolbarSet : "Grupul din bara cu opţiuni \"%1\" nu există", NoActiveX : "Setările de securitate ale programului dvs. cu care navigaţi pe internet (browser) pot limita anumite funcţionalităţi ale editorului. Pentru a evita asta, trebuie să activaţi opţiunea \"Run ActiveX controls and plug-ins\". Poate veţi întâlni erori sau veţi observa funcţionalităţi lipsă.", BrowseServerBlocked : "The resources browser could not be opened. Asiguraţi-vă că nu e activ niciun \"popup blocker\" (funcţionalitate a programului de navigat (browser) sau a unui plug-in al acestuia de a bloca deschiderea unui noi ferestre).", DialogBlocked : "Nu a fost posibilă deschiderea unei ferestre de dialog. Asiguraţi-vă că nu e activ niciun \"popup blocker\" (funcţionalitate a programului de navigat (browser) sau a unui plug-in al acestuia de a bloca deschiderea unui noi ferestre).", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "Bine", DlgBtnCancel : "Anulare", DlgBtnClose : "Închidere", DlgBtnBrowseServer : "Răsfoieşte server", DlgAdvancedTag : "Avansat", DlgOpOther : "<Altul>", DlgInfoTab : "Informaţii", DlgAlertUrl : "Vă rugăm să scrieţi URL-ul", // General Dialogs Labels DlgGenNotSet : "<nesetat>", DlgGenId : "Id", DlgGenLangDir : "Direcţia cuvintelor", DlgGenLangDirLtr : "stânga-dreapta (LTR)", DlgGenLangDirRtl : "dreapta-stânga (RTL)", DlgGenLangCode : "Codul limbii", DlgGenAccessKey : "Tasta de acces", DlgGenName : "Nume", DlgGenTabIndex : "Indexul tabului", DlgGenLongDescr : "Descrierea lungă URL", DlgGenClass : "Clasele cu stilul paginii (CSS)", DlgGenTitle : "Titlul consultativ", DlgGenContType : "Tipul consultativ al titlului", DlgGenLinkCharset : "Setul de caractere al resursei legate", DlgGenStyle : "Stil", // Image Dialog DlgImgTitle : "Proprietăţile imaginii", DlgImgInfoTab : "Informaţii despre imagine", DlgImgBtnUpload : "Trimite la server", DlgImgURL : "URL", DlgImgUpload : "Încarcă", DlgImgAlt : "Text alternativ", DlgImgWidth : "Lăţime", DlgImgHeight : "Înălţime", DlgImgLockRatio : "Păstrează proporţiile", DlgBtnResetSize : "Resetează mărimea", DlgImgBorder : "Margine", DlgImgHSpace : "HSpace", DlgImgVSpace : "VSpace", DlgImgAlign : "Aliniere", DlgImgAlignLeft : "Stânga", DlgImgAlignAbsBottom: "Jos absolut (Abs Bottom)", DlgImgAlignAbsMiddle: "Mijloc absolut (Abs Middle)", DlgImgAlignBaseline : "Linia de jos (Baseline)", DlgImgAlignBottom : "Jos", DlgImgAlignMiddle : "Mijloc", DlgImgAlignRight : "Dreapta", DlgImgAlignTextTop : "Text sus", DlgImgAlignTop : "Sus", DlgImgPreview : "Previzualizare", DlgImgAlertUrl : "Vă rugăm să scrieţi URL-ul imaginii", DlgImgLinkTab : "Link (Legătură web)", // Flash Dialog DlgFlashTitle : "Proprietăţile flash-ului", DlgFlashChkPlay : "Rulează automat", DlgFlashChkLoop : "Repetă (Loop)", DlgFlashChkMenu : "Activează meniul flash", DlgFlashScale : "Scală", DlgFlashScaleAll : "Arată tot", DlgFlashScaleNoBorder : "Fără margini (No border)", DlgFlashScaleFit : "Potriveşte", // Link Dialog DlgLnkWindowTitle : "Link (Legătură web)", DlgLnkInfoTab : "Informaţii despre link (Legătură web)", DlgLnkTargetTab : "Ţintă (Target)", DlgLnkType : "Tipul link-ului (al legăturii web)", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Ancoră în această pagină", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protocol", DlgLnkProtoOther : "<altul>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Selectaţi o ancoră", DlgLnkAnchorByName : "după numele ancorei", DlgLnkAnchorById : "după Id-ul elementului", DlgLnkNoAnchors : "(Nicio ancoră disponibilă în document)", DlgLnkEMail : "Adresă de e-mail", DlgLnkEMailSubject : "Subiectul mesajului", DlgLnkEMailBody : "Conţinutul mesajului", DlgLnkUpload : "Încarcă", DlgLnkBtnUpload : "Trimite la server", DlgLnkTarget : "Ţintă (Target)", DlgLnkTargetFrame : "<frame>", DlgLnkTargetPopup : "<fereastra popup>", DlgLnkTargetBlank : "Fereastră nouă (_blank)", DlgLnkTargetParent : "Fereastra părinte (_parent)", DlgLnkTargetSelf : "Aceeaşi fereastră (_self)", DlgLnkTargetTop : "Fereastra din topul ierarhiei (_top)", DlgLnkTargetFrameName : "Numele frame-ului ţintă", DlgLnkPopWinName : "Numele ferestrei popup", DlgLnkPopWinFeat : "Proprietăţile ferestrei popup", DlgLnkPopResize : "Scalabilă", DlgLnkPopLocation : "Bara de locaţie", DlgLnkPopMenu : "Bara de meniu", DlgLnkPopScroll : "Scroll Bars", DlgLnkPopStatus : "Bara de status", DlgLnkPopToolbar : "Bara de opţiuni", DlgLnkPopFullScrn : "Tot ecranul (Full Screen)(IE)", DlgLnkPopDependent : "Dependent (Netscape)", DlgLnkPopWidth : "Lăţime", DlgLnkPopHeight : "Înălţime", DlgLnkPopLeft : "Poziţia la stânga", DlgLnkPopTop : "Poziţia la dreapta", DlnLnkMsgNoUrl : "Vă rugăm să scrieţi URL-ul", DlnLnkMsgNoEMail : "Vă rugăm să scrieţi adresa de e-mail", DlnLnkMsgNoAnchor : "Vă rugăm să selectaţi o ancoră", DlnLnkMsgInvPopName : "Numele 'popup'-ului trebuie să înceapă cu un caracter alfabetic şi trebuie să nu conţină spaţii", // Color Dialog DlgColorTitle : "Selectează culoare", DlgColorBtnClear : "Curăţă", DlgColorHighlight : "Subliniază (Highlight)", DlgColorSelected : "Selectat", // Smiley Dialog DlgSmileyTitle : "Inserează o figură expresivă (Emoticon)", // Special Character Dialog DlgSpecialCharTitle : "Selectează caracter special", // Table Dialog DlgTableTitle : "Proprietăţile tabelului", DlgTableRows : "Linii", DlgTableColumns : "Coloane", DlgTableBorder : "Mărimea marginii", DlgTableAlign : "Aliniament", DlgTableAlignNotSet : "<Nesetat>", DlgTableAlignLeft : "Stânga", DlgTableAlignCenter : "Centru", DlgTableAlignRight : "Dreapta", DlgTableWidth : "Lăţime", DlgTableWidthPx : "pixeli", DlgTableWidthPc : "procente", DlgTableHeight : "Înălţime", DlgTableCellSpace : "Spaţiu între celule", DlgTableCellPad : "Spaţiu în cadrul celulei", DlgTableCaption : "Titlu (Caption)", DlgTableSummary : "Rezumat", // Table Cell Dialog DlgCellTitle : "Proprietăţile celulei", DlgCellWidth : "Lăţime", DlgCellWidthPx : "pixeli", DlgCellWidthPc : "procente", DlgCellHeight : "Înălţime", DlgCellWordWrap : "Desparte cuvintele (Wrap)", DlgCellWordWrapNotSet : "<Nesetat>", DlgCellWordWrapYes : "Da", DlgCellWordWrapNo : "Nu", DlgCellHorAlign : "Aliniament orizontal", DlgCellHorAlignNotSet : "<Nesetat>", DlgCellHorAlignLeft : "Stânga", DlgCellHorAlignCenter : "Centru", DlgCellHorAlignRight: "Dreapta", DlgCellVerAlign : "Aliniament vertical", DlgCellVerAlignNotSet : "<Nesetat>", DlgCellVerAlignTop : "Sus", DlgCellVerAlignMiddle : "Mijloc", DlgCellVerAlignBottom : "Jos", DlgCellVerAlignBaseline : "Linia de jos (Baseline)", DlgCellRowSpan : "Lungimea în linii (Span)", DlgCellCollSpan : "Lungimea în coloane (Span)", DlgCellBackColor : "Culoarea fundalului", DlgCellBorderColor : "Culoarea marginii", DlgCellBtnSelect : "Selectaţi...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Găseşte şi înlocuieşte", // Find Dialog DlgFindTitle : "Găseşte", DlgFindFindBtn : "Găseşte", DlgFindNotFoundMsg : "Textul specificat nu a fost găsit.", // Replace Dialog DlgReplaceTitle : "Replace", DlgReplaceFindLbl : "Găseşte:", DlgReplaceReplaceLbl : "Înlocuieşte cu:", DlgReplaceCaseChk : "Deosebeşte majuscule de minuscule (Match case)", DlgReplaceReplaceBtn : "Înlocuieşte", DlgReplaceReplAllBtn : "Înlocuieşte tot", DlgReplaceWordChk : "Doar cuvintele întregi", // Paste Operations / Dialog PasteErrorCut : "Setările de securitate ale navigatorului (browser) pe care îl folosiţi nu permit editorului să execute automat operaţiunea de tăiere. Vă rugăm folosiţi tastatura (Ctrl+X).", PasteErrorCopy : "Setările de securitate ale navigatorului (browser) pe care îl folosiţi nu permit editorului să execute automat operaţiunea de copiere. Vă rugăm folosiţi tastatura (Ctrl+C).", PasteAsText : "Adaugă ca text simplu (Plain Text)", PasteFromWord : "Adaugă din Word", DlgPasteMsg2 : "Vă rugăm adăugaţi în căsuţa următoare folosind tastatura (<STRONG>Ctrl+V</STRONG>) şi apăsaţi <STRONG>OK</STRONG>.", DlgPasteSec : "Din cauza setărilor de securitate ale programului dvs. cu care navigaţi pe internet (browser), editorul nu poate accesa direct datele din clipboard. Va trebui să adăugaţi din nou datele în această fereastră.", DlgPasteIgnoreFont : "Ignoră definiţiile Font Face", DlgPasteRemoveStyles : "Şterge definiţiile stilurilor", // Color Picker ColorAutomatic : "Automatic", ColorMoreColors : "Mai multe culori...", // Document Properties DocProps : "Proprietăţile documentului", // Anchor Dialog DlgAnchorTitle : "Proprietăţile ancorei", DlgAnchorName : "Numele ancorei", DlgAnchorErrorName : "Vă rugăm scrieţi numele ancorei", // Speller Pages Dialog DlgSpellNotInDic : "Nu e în dicţionar", DlgSpellChangeTo : "Schimbă în", DlgSpellBtnIgnore : "Ignoră", DlgSpellBtnIgnoreAll : "Ignoră toate", DlgSpellBtnReplace : "Înlocuieşte", DlgSpellBtnReplaceAll : "Înlocuieşte tot", DlgSpellBtnUndo : "Starea anterioară (undo)", DlgSpellNoSuggestions : "- Fără sugestii -", DlgSpellProgress : "Verificarea textului în desfăşurare...", DlgSpellNoMispell : "Verificarea textului terminată: Nicio greşeală găsită", DlgSpellNoChanges : "Verificarea textului terminată: Niciun cuvânt modificat", DlgSpellOneChange : "Verificarea textului terminată: Un cuvânt modificat", DlgSpellManyChanges : "Verificarea textului terminată: 1% cuvinte modificate", IeSpellDownload : "Unealta pentru verificat textul (Spell checker) neinstalată. Doriţi să o descărcaţi acum?", // Button Dialog DlgButtonText : "Text (Valoare)", DlgButtonType : "Tip", DlgButtonTypeBtn : "Button", DlgButtonTypeSbm : "Submit", DlgButtonTypeRst : "Reset", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Nume", DlgCheckboxValue : "Valoare", DlgCheckboxSelected : "Selectat", // Form Dialog DlgFormName : "Nume", DlgFormAction : "Acţiune", DlgFormMethod : "Metodă", // Select Field Dialog DlgSelectName : "Nume", DlgSelectValue : "Valoare", DlgSelectSize : "Mărime", DlgSelectLines : "linii", DlgSelectChkMulti : "Permite selecţii multiple", DlgSelectOpAvail : "Opţiuni disponibile", DlgSelectOpText : "Text", DlgSelectOpValue : "Valoare", DlgSelectBtnAdd : "Adaugă", DlgSelectBtnModify : "Modifică", DlgSelectBtnUp : "Sus", DlgSelectBtnDown : "Jos", DlgSelectBtnSetValue : "Setează ca valoare selectată", DlgSelectBtnDelete : "Şterge", // Textarea Dialog DlgTextareaName : "Nume", DlgTextareaCols : "Coloane", DlgTextareaRows : "Linii", // Text Field Dialog DlgTextName : "Nume", DlgTextValue : "Valoare", DlgTextCharWidth : "Lărgimea caracterului", DlgTextMaxChars : "Caractere maxime", DlgTextType : "Tip", DlgTextTypeText : "Text", DlgTextTypePass : "Parolă", // Hidden Field Dialog DlgHiddenName : "Nume", DlgHiddenValue : "Valoare", // Bulleted List Dialog BulletedListProp : "Proprietăţile listei punctate (Bulleted List)", NumberedListProp : "Proprietăţile listei numerotate (Numbered List)", DlgLstStart : "Start", DlgLstType : "Tip", DlgLstTypeCircle : "Cerc", DlgLstTypeDisc : "Disc", DlgLstTypeSquare : "Pătrat", DlgLstTypeNumbers : "Numere (1, 2, 3)", DlgLstTypeLCase : "Minuscule-litere mici (a, b, c)", DlgLstTypeUCase : "Majuscule (A, B, C)", DlgLstTypeSRoman : "Cifre romane mici (i, ii, iii)", DlgLstTypeLRoman : "Cifre romane mari (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "General", DlgDocBackTab : "Fundal", DlgDocColorsTab : "Culori si margini", DlgDocMetaTab : "Meta Data", DlgDocPageTitle : "Titlul paginii", DlgDocLangDir : "Descrierea limbii", DlgDocLangDirLTR : "stânga-dreapta (LTR)", DlgDocLangDirRTL : "dreapta-stânga (RTL)", DlgDocLangCode : "Codul limbii", DlgDocCharSet : "Encoding setului de caractere", DlgDocCharSetCE : "Central european", DlgDocCharSetCT : "Chinezesc tradiţional (Big5)", DlgDocCharSetCR : "Chirilic", DlgDocCharSetGR : "Grecesc", DlgDocCharSetJP : "Japonez", DlgDocCharSetKR : "Corean", DlgDocCharSetTR : "Turcesc", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "Vest european", DlgDocCharSetOther : "Alt encoding al setului de caractere", DlgDocDocType : "Document Type Heading", DlgDocDocTypeOther : "Alt Document Type Heading", DlgDocIncXHTML : "Include declaraţii XHTML", DlgDocBgColor : "Culoarea fundalului (Background Color)", DlgDocBgImage : "URL-ul imaginii din fundal (Background Image URL)", DlgDocBgNoScroll : "Fundal neflotant, fix (Nonscrolling Background)", DlgDocCText : "Text", DlgDocCLink : "Link (Legătură web)", DlgDocCVisited : "Link (Legătură web) vizitat", DlgDocCActive : "Link (Legătură web) activ", DlgDocMargins : "Marginile paginii", DlgDocMaTop : "Sus", DlgDocMaLeft : "Stânga", DlgDocMaRight : "Dreapta", DlgDocMaBottom : "Jos", DlgDocMeIndex : "Cuvinte cheie după care se va indexa documentul (separate prin virgulă)", DlgDocMeDescr : "Descrierea documentului", DlgDocMeAuthor : "Autor", DlgDocMeCopy : "Drepturi de autor", DlgDocPreview : "Previzualizare", // Templates Dialog Templates : "Template-uri (şabloane)", DlgTemplatesTitle : "Template-uri (şabloane) de conţinut", DlgTemplatesSelMsg : "Vă rugăm selectaţi template-ul (şablonul) ce se va deschide în editor<br>(conţinutul actual va fi pierdut):", DlgTemplatesLoading : "Se încarcă lista cu template-uri (şabloane). Vă rugăm aşteptaţi...", DlgTemplatesNoTpl : "(Niciun template (şablon) definit)", DlgTemplatesReplace : "Înlocuieşte cuprinsul actual", // About Dialog DlgAboutAboutTab : "Despre", DlgAboutBrowserInfoTab : "Informaţii browser", DlgAboutLicenseTab : "Licenţă", DlgAboutVersion : "versiune", DlgAboutInfo : "Pentru informaţii amănunţite, vizitaţi", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Galician language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Ocultar Ferramentas", ToolbarExpand : "Mostrar Ferramentas", // Toolbar Items and Context Menu Save : "Gardar", NewPage : "Nova Páxina", Preview : "Vista Previa", Cut : "Cortar", Copy : "Copiar", Paste : "Pegar", PasteText : "Pegar como texto plano", PasteWord : "Pegar dende Word", Print : "Imprimir", SelectAll : "Seleccionar todo", RemoveFormat : "Eliminar Formato", InsertLinkLbl : "Ligazón", InsertLink : "Inserir/Editar Ligazón", RemoveLink : "Eliminar Ligazón", VisitLink : "Open Link", //MISSING Anchor : "Inserir/Editar Referencia", AnchorDelete : "Remove Anchor", //MISSING InsertImageLbl : "Imaxe", InsertImage : "Inserir/Editar Imaxe", InsertFlashLbl : "Flash", InsertFlash : "Inserir/Editar Flash", InsertTableLbl : "Tabla", InsertTable : "Inserir/Editar Tabla", InsertLineLbl : "Liña", InsertLine : "Inserir Liña Horizontal", InsertSpecialCharLbl: "Carácter Special", InsertSpecialChar : "Inserir Carácter Especial", InsertSmileyLbl : "Smiley", InsertSmiley : "Inserir Smiley", About : "Acerca de FCKeditor", Bold : "Negrita", Italic : "Cursiva", Underline : "Sub-raiado", StrikeThrough : "Tachado", Subscript : "Subíndice", Superscript : "Superíndice", LeftJustify : "Aliñar á Esquerda", CenterJustify : "Centrado", RightJustify : "Aliñar á Dereita", BlockJustify : "Xustificado", DecreaseIndent : "Disminuir Sangría", IncreaseIndent : "Aumentar Sangría", Blockquote : "Blockquote", //MISSING CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "Desfacer", Redo : "Refacer", NumberedListLbl : "Lista Numerada", NumberedList : "Inserir/Eliminar Lista Numerada", BulletedListLbl : "Marcas", BulletedList : "Inserir/Eliminar Marcas", ShowTableBorders : "Mostrar Bordes das Táboas", ShowDetails : "Mostrar Marcas Parágrafo", Style : "Estilo", FontFormat : "Formato", Font : "Tipo", FontSize : "Tamaño", TextColor : "Cor do Texto", BGColor : "Cor do Fondo", Source : "Código Fonte", Find : "Procurar", Replace : "Substituir", SpellCheck : "Corrección Ortográfica", UniversalKeyboard : "Teclado Universal", PageBreakLbl : "Salto de Páxina", PageBreak : "Inserir Salto de Páxina", Form : "Formulario", Checkbox : "Cadro de Verificación", RadioButton : "Botón de Radio", TextField : "Campo de Texto", Textarea : "Área de Texto", HiddenField : "Campo Oculto", Button : "Botón", SelectionField : "Campo de Selección", ImageButton : "Botón de Imaxe", FitWindow : "Maximizar o tamaño do editor", ShowBlocks : "Show Blocks", //MISSING // Context Menu EditLink : "Editar Ligazón", CellCM : "Cela", RowCM : "Fila", ColumnCM : "Columna", InsertRowAfter : "Insert Row After", //MISSING InsertRowBefore : "Insert Row Before", //MISSING DeleteRows : "Borrar Filas", InsertColumnAfter : "Insert Column After", //MISSING InsertColumnBefore : "Insert Column Before", //MISSING DeleteColumns : "Borrar Columnas", InsertCellAfter : "Insert Cell After", //MISSING InsertCellBefore : "Insert Cell Before", //MISSING DeleteCells : "Borrar Cela", MergeCells : "Unir Celas", MergeRight : "Merge Right", //MISSING MergeDown : "Merge Down", //MISSING HorizontalSplitCell : "Split Cell Horizontally", //MISSING VerticalSplitCell : "Split Cell Vertically", //MISSING TableDelete : "Borrar Táboa", CellProperties : "Propriedades da Cela", TableProperties : "Propriedades da Táboa", ImageProperties : "Propriedades Imaxe", FlashProperties : "Propriedades Flash", AnchorProp : "Propriedades da Referencia", ButtonProp : "Propriedades do Botón", CheckboxProp : "Propriedades do Cadro de Verificación", HiddenFieldProp : "Propriedades do Campo Oculto", RadioButtonProp : "Propriedades do Botón de Radio", ImageButtonProp : "Propriedades do Botón de Imaxe", TextFieldProp : "Propriedades do Campo de Texto", SelectionFieldProp : "Propriedades do Campo de Selección", TextareaProp : "Propriedades da Área de Texto", FormProp : "Propriedades do Formulario", FontFormats : "Normal;Formateado;Enderezo;Enacabezado 1;Encabezado 2;Encabezado 3;Encabezado 4;Encabezado 5;Encabezado 6;Paragraph (DIV)", // Alerts and Messages ProcessingXHTML : "Procesando XHTML. Por facor, agarde...", Done : "Feiro", PasteWordConfirm : "Parece que o texto que quere pegar está copiado do Word.¿Quere limpar o formato antes de pegalo?", NotCompatiblePaste : "Este comando está disponible para Internet Explorer versión 5.5 ou superior. ¿Quere pegalo sen limpar o formato?", UnknownToolbarItem : "Ítem de ferramentas descoñecido \"%1\"", UnknownCommand : "Nome de comando descoñecido \"%1\"", NotImplemented : "Comando non implementado", UnknownToolbarSet : "O conxunto de ferramentas \"%1\" non existe", NoActiveX : "As opcións de seguridade do seu navegador poderían limitar algunha das características de editor. Debe activar a opción \"Executar controis ActiveX e plug-ins\". Pode notar que faltan características e experimentar erros", BrowseServerBlocked : "Non se poido abrir o navegador de recursos. Asegúrese de que están desactivados os bloqueadores de xanelas emerxentes", DialogBlocked : "Non foi posible abrir a xanela de diálogo. Asegúrese de que están desactivados os bloqueadores de xanelas emerxentes", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Cancelar", DlgBtnClose : "Pechar", DlgBtnBrowseServer : "Navegar no Servidor", DlgAdvancedTag : "Advanzado", DlgOpOther : "<Outro>", DlgInfoTab : "Info", DlgAlertUrl : "Por favor, insira a URL", // General Dialogs Labels DlgGenNotSet : "<non definido>", DlgGenId : "Id", DlgGenLangDir : "Orientación do Idioma", DlgGenLangDirLtr : "Esquerda a Dereita (LTR)", DlgGenLangDirRtl : "Dereita a Esquerda (RTL)", DlgGenLangCode : "Código do Idioma", DlgGenAccessKey : "Chave de Acceso", DlgGenName : "Nome", DlgGenTabIndex : "Índice de Tabulación", DlgGenLongDescr : "Descrición Completa da URL", DlgGenClass : "Clases da Folla de Estilos", DlgGenTitle : "Título", DlgGenContType : "Tipo de Contido", DlgGenLinkCharset : "Fonte de Caracteres Vinculado", DlgGenStyle : "Estilo", // Image Dialog DlgImgTitle : "Propriedades da Imaxe", DlgImgInfoTab : "Información da Imaxe", DlgImgBtnUpload : "Enviar ó Servidor", DlgImgURL : "URL", DlgImgUpload : "Carregar", DlgImgAlt : "Texto Alternativo", DlgImgWidth : "Largura", DlgImgHeight : "Altura", DlgImgLockRatio : "Proporcional", DlgBtnResetSize : "Tamaño Orixinal", DlgImgBorder : "Límite", DlgImgHSpace : "Esp. Horiz.", DlgImgVSpace : "Esp. Vert.", DlgImgAlign : "Aliñamento", DlgImgAlignLeft : "Esquerda", DlgImgAlignAbsBottom: "Abs Inferior", DlgImgAlignAbsMiddle: "Abs Centro", DlgImgAlignBaseline : "Liña Base", DlgImgAlignBottom : "Pé", DlgImgAlignMiddle : "Centro", DlgImgAlignRight : "Dereita", DlgImgAlignTextTop : "Tope do Texto", DlgImgAlignTop : "Tope", DlgImgPreview : "Vista Previa", DlgImgAlertUrl : "Por favor, escriba a URL da imaxe", DlgImgLinkTab : "Ligazón", // Flash Dialog DlgFlashTitle : "Propriedades Flash", DlgFlashChkPlay : "Auto Execución", DlgFlashChkLoop : "Bucle", DlgFlashChkMenu : "Activar Menú Flash", DlgFlashScale : "Escalar", DlgFlashScaleAll : "Amosar Todo", DlgFlashScaleNoBorder : "Sen Borde", DlgFlashScaleFit : "Encaixar axustando", // Link Dialog DlgLnkWindowTitle : "Ligazón", DlgLnkInfoTab : "Información da Ligazón", DlgLnkTargetTab : "Referencia a esta páxina", DlgLnkType : "Tipo de Ligazón", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Referencia nesta páxina", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protocolo", DlgLnkProtoOther : "<outro>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Seleccionar unha Referencia", DlgLnkAnchorByName : "Por Nome de Referencia", DlgLnkAnchorById : "Por Element Id", DlgLnkNoAnchors : "(Non hai referencias disponibles no documento)", DlgLnkEMail : "Enderezo de E-Mail", DlgLnkEMailSubject : "Asunto do Mensaxe", DlgLnkEMailBody : "Corpo do Mensaxe", DlgLnkUpload : "Carregar", DlgLnkBtnUpload : "Enviar ó servidor", DlgLnkTarget : "Destino", DlgLnkTargetFrame : "<frame>", DlgLnkTargetPopup : "<Xanela Emerxente>", DlgLnkTargetBlank : "Nova Xanela (_blank)", DlgLnkTargetParent : "Xanela Pai (_parent)", DlgLnkTargetSelf : "Mesma Xanela (_self)", DlgLnkTargetTop : "Xanela Primaria (_top)", DlgLnkTargetFrameName : "Nome do Marco Destino", DlgLnkPopWinName : "Nome da Xanela Emerxente", DlgLnkPopWinFeat : "Características da Xanela Emerxente", DlgLnkPopResize : "Axustable", DlgLnkPopLocation : "Barra de Localización", DlgLnkPopMenu : "Barra de Menú", DlgLnkPopScroll : "Barras de Desplazamento", DlgLnkPopStatus : "Barra de Estado", DlgLnkPopToolbar : "Barra de Ferramentas", DlgLnkPopFullScrn : "A Toda Pantalla (IE)", DlgLnkPopDependent : "Dependente (Netscape)", DlgLnkPopWidth : "Largura", DlgLnkPopHeight : "Altura", DlgLnkPopLeft : "Posición Esquerda", DlgLnkPopTop : "Posición dende Arriba", DlnLnkMsgNoUrl : "Por favor, escriba a ligazón URL", DlnLnkMsgNoEMail : "Por favor, escriba o enderezo de e-mail", DlnLnkMsgNoAnchor : "Por favor, seleccione un destino", DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING // Color Dialog DlgColorTitle : "Seleccionar Color", DlgColorBtnClear : "Nengunha", DlgColorHighlight : "Destacado", DlgColorSelected : "Seleccionado", // Smiley Dialog DlgSmileyTitle : "Inserte un Smiley", // Special Character Dialog DlgSpecialCharTitle : "Seleccione Caracter Especial", // Table Dialog DlgTableTitle : "Propiedades da Táboa", DlgTableRows : "Filas", DlgTableColumns : "Columnas", DlgTableBorder : "Tamaño do Borde", DlgTableAlign : "Aliñamento", DlgTableAlignNotSet : "<Non Definido>", DlgTableAlignLeft : "Esquerda", DlgTableAlignCenter : "Centro", DlgTableAlignRight : "Ereita", DlgTableWidth : "Largura", DlgTableWidthPx : "pixels", DlgTableWidthPc : "percent", DlgTableHeight : "Altura", DlgTableCellSpace : "Marxe entre Celas", DlgTableCellPad : "Marxe interior", DlgTableCaption : "Título", DlgTableSummary : "Sumario", // Table Cell Dialog DlgCellTitle : "Propriedades da Cela", DlgCellWidth : "Largura", DlgCellWidthPx : "pixels", DlgCellWidthPc : "percent", DlgCellHeight : "Altura", DlgCellWordWrap : "Axustar Liñas", DlgCellWordWrapNotSet : "<Non Definido>", DlgCellWordWrapYes : "Si", DlgCellWordWrapNo : "Non", DlgCellHorAlign : "Aliñamento Horizontal", DlgCellHorAlignNotSet : "<Non definido>", DlgCellHorAlignLeft : "Esquerda", DlgCellHorAlignCenter : "Centro", DlgCellHorAlignRight: "Dereita", DlgCellVerAlign : "Aliñamento Vertical", DlgCellVerAlignNotSet : "<Non definido>", DlgCellVerAlignTop : "Arriba", DlgCellVerAlignMiddle : "Medio", DlgCellVerAlignBottom : "Abaixo", DlgCellVerAlignBaseline : "Liña de Base", DlgCellRowSpan : "Ocupar Filas", DlgCellCollSpan : "Ocupar Columnas", DlgCellBackColor : "Color de Fondo", DlgCellBorderColor : "Color de Borde", DlgCellBtnSelect : "Seleccionar...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Find and Replace", //MISSING // Find Dialog DlgFindTitle : "Procurar", DlgFindFindBtn : "Procurar", DlgFindNotFoundMsg : "Non te atopou o texto indicado.", // Replace Dialog DlgReplaceTitle : "Substituir", DlgReplaceFindLbl : "Texto a procurar:", DlgReplaceReplaceLbl : "Substituir con:", DlgReplaceCaseChk : "Coincidir Mai./min.", DlgReplaceReplaceBtn : "Substituir", DlgReplaceReplAllBtn : "Substitiur Todo", DlgReplaceWordChk : "Coincidir con toda a palabra", // Paste Operations / Dialog PasteErrorCut : "Os axustes de seguridade do seu navegador non permiten que o editor realice automáticamente as tarefas de corte. Por favor, use o teclado para iso (Ctrl+X).", PasteErrorCopy : "Os axustes de seguridade do seu navegador non permiten que o editor realice automáticamente as tarefas de copia. Por favor, use o teclado para iso (Ctrl+C).", PasteAsText : "Pegar como texto plano", PasteFromWord : "Pegar dende Word", DlgPasteMsg2 : "Por favor, pegue dentro do seguinte cadro usando o teclado (<STRONG>Ctrl+V</STRONG>) e pulse <STRONG>OK</STRONG>.", DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING DlgPasteIgnoreFont : "Ignorar as definicións de Tipografía", DlgPasteRemoveStyles : "Eliminar as definicións de Estilos", // Color Picker ColorAutomatic : "Automático", ColorMoreColors : "Máis Cores...", // Document Properties DocProps : "Propriedades do Documento", // Anchor Dialog DlgAnchorTitle : "Propriedades da Referencia", DlgAnchorName : "Nome da Referencia", DlgAnchorErrorName : "Por favor, escriba o nome da referencia", // Speller Pages Dialog DlgSpellNotInDic : "Non está no diccionario", DlgSpellChangeTo : "Cambiar a", DlgSpellBtnIgnore : "Ignorar", DlgSpellBtnIgnoreAll : "Ignorar Todas", DlgSpellBtnReplace : "Substituir", DlgSpellBtnReplaceAll : "Substituir Todas", DlgSpellBtnUndo : "Desfacer", DlgSpellNoSuggestions : "- Sen candidatos -", DlgSpellProgress : "Corrección ortográfica en progreso...", DlgSpellNoMispell : "Corrección ortográfica rematada: Non se atoparon erros", DlgSpellNoChanges : "Corrección ortográfica rematada: Non se substituiu nengunha verba", DlgSpellOneChange : "Corrección ortográfica rematada: Unha verba substituida", DlgSpellManyChanges : "Corrección ortográfica rematada: %1 verbas substituidas", IeSpellDownload : "O corrector ortográfico non está instalado. ¿Quere descargalo agora?", // Button Dialog DlgButtonText : "Texto (Valor)", DlgButtonType : "Tipo", DlgButtonTypeBtn : "Button", //MISSING DlgButtonTypeSbm : "Submit", //MISSING DlgButtonTypeRst : "Reset", //MISSING // Checkbox and Radio Button Dialogs DlgCheckboxName : "Nome", DlgCheckboxValue : "Valor", DlgCheckboxSelected : "Seleccionado", // Form Dialog DlgFormName : "Nome", DlgFormAction : "Acción", DlgFormMethod : "Método", // Select Field Dialog DlgSelectName : "Nome", DlgSelectValue : "Valor", DlgSelectSize : "Tamaño", DlgSelectLines : "liñas", DlgSelectChkMulti : "Permitir múltiples seleccións", DlgSelectOpAvail : "Opcións Disponibles", DlgSelectOpText : "Texto", DlgSelectOpValue : "Valor", DlgSelectBtnAdd : "Engadir", DlgSelectBtnModify : "Modificar", DlgSelectBtnUp : "Subir", DlgSelectBtnDown : "Baixar", DlgSelectBtnSetValue : "Definir como valor por defecto", DlgSelectBtnDelete : "Borrar", // Textarea Dialog DlgTextareaName : "Nome", DlgTextareaCols : "Columnas", DlgTextareaRows : "Filas", // Text Field Dialog DlgTextName : "Nome", DlgTextValue : "Valor", DlgTextCharWidth : "Tamaño do Caracter", DlgTextMaxChars : "Máximo de Caracteres", DlgTextType : "Tipo", DlgTextTypeText : "Texto", DlgTextTypePass : "Chave", // Hidden Field Dialog DlgHiddenName : "Nome", DlgHiddenValue : "Valor", // Bulleted List Dialog BulletedListProp : "Propriedades das Marcas", NumberedListProp : "Propriedades da Lista de Numeración", DlgLstStart : "Start", //MISSING DlgLstType : "Tipo", DlgLstTypeCircle : "Círculo", DlgLstTypeDisc : "Disco", DlgLstTypeSquare : "Cuadrado", DlgLstTypeNumbers : "Números (1, 2, 3)", DlgLstTypeLCase : "Letras Minúsculas (a, b, c)", DlgLstTypeUCase : "Letras Maiúsculas (A, B, C)", DlgLstTypeSRoman : "Números Romanos en minúscula (i, ii, iii)", DlgLstTypeLRoman : "Números Romanos en Maiúscula (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Xeral", DlgDocBackTab : "Fondo", DlgDocColorsTab : "Cores e Marxes", DlgDocMetaTab : "Meta Data", DlgDocPageTitle : "Título da Páxina", DlgDocLangDir : "Orientación do Idioma", DlgDocLangDirLTR : "Esquerda a Dereita (LTR)", DlgDocLangDirRTL : "Dereita a Esquerda (RTL)", DlgDocLangCode : "Código de Idioma", DlgDocCharSet : "Codificación do Xogo de Caracteres", DlgDocCharSetCE : "Central European", //MISSING DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING DlgDocCharSetCR : "Cyrillic", //MISSING DlgDocCharSetGR : "Greek", //MISSING DlgDocCharSetJP : "Japanese", //MISSING DlgDocCharSetKR : "Korean", //MISSING DlgDocCharSetTR : "Turkish", //MISSING DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING DlgDocCharSetWE : "Western European", //MISSING DlgDocCharSetOther : "Outra Codificación do Xogo de Caracteres", DlgDocDocType : "Encabezado do Tipo de Documento", DlgDocDocTypeOther : "Outro Encabezado do Tipo de Documento", DlgDocIncXHTML : "Incluir Declaracións XHTML", DlgDocBgColor : "Cor de Fondo", DlgDocBgImage : "URL da Imaxe de Fondo", DlgDocBgNoScroll : "Fondo Fixo", DlgDocCText : "Texto", DlgDocCLink : "Ligazóns", DlgDocCVisited : "Ligazón Visitada", DlgDocCActive : "Ligazón Activa", DlgDocMargins : "Marxes da Páxina", DlgDocMaTop : "Arriba", DlgDocMaLeft : "Esquerda", DlgDocMaRight : "Dereita", DlgDocMaBottom : "Abaixo", DlgDocMeIndex : "Palabras Chave de Indexación do Documento (separadas por comas)", DlgDocMeDescr : "Descripción do Documento", DlgDocMeAuthor : "Autor", DlgDocMeCopy : "Copyright", DlgDocPreview : "Vista Previa", // Templates Dialog Templates : "Plantillas", DlgTemplatesTitle : "Plantillas de Contido", DlgTemplatesSelMsg : "Por favor, seleccione a plantilla a abrir no editor<br>(o contido actual perderase):", DlgTemplatesLoading : "Cargando listado de plantillas. Por favor, espere...", DlgTemplatesNoTpl : "(Non hai plantillas definidas)", DlgTemplatesReplace : "Replace actual contents", //MISSING // About Dialog DlgAboutAboutTab : "Acerca de", DlgAboutBrowserInfoTab : "Información do Navegador", DlgAboutLicenseTab : "Licencia", DlgAboutVersion : "versión", DlgAboutInfo : "Para máis información visitar:", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Chinese Simplified language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "折叠工具栏", ToolbarExpand : "展开工具栏", // Toolbar Items and Context Menu Save : "保存", NewPage : "新建", Preview : "预览", Cut : "剪切", Copy : "复制", Paste : "粘贴", PasteText : "粘贴为无格式文本", PasteWord : "从 MS Word 粘贴", Print : "打印", SelectAll : "全选", RemoveFormat : "清除格式", InsertLinkLbl : "超链接", InsertLink : "插入/编辑超链接", RemoveLink : "取消超链接", VisitLink : "打开超链接", Anchor : "插入/编辑锚点链接", AnchorDelete : "清除锚点链接", InsertImageLbl : "图象", InsertImage : "插入/编辑图象", InsertFlashLbl : "Flash", InsertFlash : "插入/编辑 Flash", InsertTableLbl : "表格", InsertTable : "插入/编辑表格", InsertLineLbl : "水平线", InsertLine : "插入水平线", InsertSpecialCharLbl: "特殊符号", InsertSpecialChar : "插入特殊符号", InsertSmileyLbl : "表情符", InsertSmiley : "插入表情图标", About : "关于 FCKeditor", Bold : "加粗", Italic : "倾斜", Underline : "下划线", StrikeThrough : "删除线", Subscript : "下标", Superscript : "上标", LeftJustify : "左对齐", CenterJustify : "居中对齐", RightJustify : "右对齐", BlockJustify : "两端对齐", DecreaseIndent : "减少缩进量", IncreaseIndent : "增加缩进量", Blockquote : "块引用", CreateDiv : "新增 Div 标籤", EditDiv : "更改 Div 标籤", DeleteDiv : "删除 Div 标籤", Undo : "撤消", Redo : "重做", NumberedListLbl : "编号列表", NumberedList : "插入/删除编号列表", BulletedListLbl : "项目列表", BulletedList : "插入/删除项目列表", ShowTableBorders : "显示表格边框", ShowDetails : "显示详细资料", Style : "样式", FontFormat : "格式", Font : "字体", FontSize : "大小", TextColor : "文本颜色", BGColor : "背景颜色", Source : "源代码", Find : "查找", Replace : "替换", SpellCheck : "拼写检查", UniversalKeyboard : "软键盘", PageBreakLbl : "分页符", PageBreak : "插入分页符", Form : "表单", Checkbox : "复选框", RadioButton : "单选按钮", TextField : "单行文本", Textarea : "多行文本", HiddenField : "隐藏域", Button : "按钮", SelectionField : "列表/菜单", ImageButton : "图像域", FitWindow : "全屏编辑", ShowBlocks : "显示区块", // Context Menu EditLink : "编辑超链接", CellCM : "单元格", RowCM : "行", ColumnCM : "列", InsertRowAfter : "下插入行", InsertRowBefore : "上插入行", DeleteRows : "删除行", InsertColumnAfter : "右插入列", InsertColumnBefore : "左插入列", DeleteColumns : "删除列", InsertCellAfter : "右插入单元格", InsertCellBefore : "左插入单元格", DeleteCells : "删除单元格", MergeCells : "合并单元格", MergeRight : "右合并单元格", MergeDown : "下合并单元格", HorizontalSplitCell : "橫拆分单元格", VerticalSplitCell : "縱拆分单元格", TableDelete : "删除表格", CellProperties : "单元格属性", TableProperties : "表格属性", ImageProperties : "图象属性", FlashProperties : "Flash 属性", AnchorProp : "锚点链接属性", ButtonProp : "按钮属性", CheckboxProp : "复选框属性", HiddenFieldProp : "隐藏域属性", RadioButtonProp : "单选按钮属性", ImageButtonProp : "图像域属性", TextFieldProp : "单行文本属性", SelectionFieldProp : "菜单/列表属性", TextareaProp : "多行文本属性", FormProp : "表单属性", FontFormats : "普通;已编排格式;地址;标题 1;标题 2;标题 3;标题 4;标题 5;标题 6;段落(DIV)", // Alerts and Messages ProcessingXHTML : "正在处理 XHTML,请稍等...", Done : "完成", PasteWordConfirm : "您要粘贴的内容好像是来自 MS Word,是否要清除 MS Word 格式后再粘贴?", NotCompatiblePaste : "该命令需要 Internet Explorer 5.5 或更高版本的支持,是否按常规粘贴进行?", UnknownToolbarItem : "未知工具栏项目 \"%1\"", UnknownCommand : "未知命令名称 \"%1\"", NotImplemented : "命令无法执行", UnknownToolbarSet : "工具栏设置 \"%1\" 不存在", NoActiveX : "浏览器安全设置限制了本编辑器的某些功能。您必须启用安全设置中的“运行 ActiveX 控件和插件”,否则将出现某些错误并缺少功能。", BrowseServerBlocked : "无法打开资源浏览器,请确认是否启用了禁止弹出窗口。", DialogBlocked : "无法打开对话框窗口,请确认是否启用了禁止弹出窗口或网页对话框(IE)。", VisitLinkBlocked : "无法打开新窗口,请确认是否启用了禁止弹出窗口或网页对话框(IE)。", // Dialogs DlgBtnOK : "确定", DlgBtnCancel : "取消", DlgBtnClose : "关闭", DlgBtnBrowseServer : "浏览服务器", DlgAdvancedTag : "高级", DlgOpOther : "<其它>", DlgInfoTab : "信息", DlgAlertUrl : "请插入 URL", // General Dialogs Labels DlgGenNotSet : "<没有设置>", DlgGenId : "ID", DlgGenLangDir : "语言方向", DlgGenLangDirLtr : "从左到右 (LTR)", DlgGenLangDirRtl : "从右到左 (RTL)", DlgGenLangCode : "语言代码", DlgGenAccessKey : "访问键", DlgGenName : "名称", DlgGenTabIndex : "Tab 键次序", DlgGenLongDescr : "详细说明地址", DlgGenClass : "样式类名称", DlgGenTitle : "标题", DlgGenContType : "内容类型", DlgGenLinkCharset : "字符编码", DlgGenStyle : "行内样式", // Image Dialog DlgImgTitle : "图象属性", DlgImgInfoTab : "图象", DlgImgBtnUpload : "发送到服务器上", DlgImgURL : "源文件", DlgImgUpload : "上传", DlgImgAlt : "替换文本", DlgImgWidth : "宽度", DlgImgHeight : "高度", DlgImgLockRatio : "锁定比例", DlgBtnResetSize : "恢复尺寸", DlgImgBorder : "边框大小", DlgImgHSpace : "水平间距", DlgImgVSpace : "垂直间距", DlgImgAlign : "对齐方式", DlgImgAlignLeft : "左对齐", DlgImgAlignAbsBottom: "绝对底边", DlgImgAlignAbsMiddle: "绝对居中", DlgImgAlignBaseline : "基线", DlgImgAlignBottom : "底边", DlgImgAlignMiddle : "居中", DlgImgAlignRight : "右对齐", DlgImgAlignTextTop : "文本上方", DlgImgAlignTop : "顶端", DlgImgPreview : "预览", DlgImgAlertUrl : "请输入图象地址", DlgImgLinkTab : "链接", // Flash Dialog DlgFlashTitle : "Flash 属性", DlgFlashChkPlay : "自动播放", DlgFlashChkLoop : "循环", DlgFlashChkMenu : "启用 Flash 菜单", DlgFlashScale : "缩放", DlgFlashScaleAll : "全部显示", DlgFlashScaleNoBorder : "无边框", DlgFlashScaleFit : "严格匹配", // Link Dialog DlgLnkWindowTitle : "超链接", DlgLnkInfoTab : "超链接信息", DlgLnkTargetTab : "目标", DlgLnkType : "超链接类型", DlgLnkTypeURL : "超链接", DlgLnkTypeAnchor : "页内锚点链接", DlgLnkTypeEMail : "电子邮件", DlgLnkProto : "协议", DlgLnkProtoOther : "<其它>", DlgLnkURL : "地址", DlgLnkAnchorSel : "选择一个锚点", DlgLnkAnchorByName : "按锚点名称", DlgLnkAnchorById : "按锚点 ID", DlgLnkNoAnchors : "(此文档没有可用的锚点)", DlgLnkEMail : "地址", DlgLnkEMailSubject : "主题", DlgLnkEMailBody : "内容", DlgLnkUpload : "上传", DlgLnkBtnUpload : "发送到服务器上", DlgLnkTarget : "目标", DlgLnkTargetFrame : "<框架>", DlgLnkTargetPopup : "<弹出窗口>", DlgLnkTargetBlank : "新窗口 (_blank)", DlgLnkTargetParent : "父窗口 (_parent)", DlgLnkTargetSelf : "本窗口 (_self)", DlgLnkTargetTop : "整页 (_top)", DlgLnkTargetFrameName : "目标框架名称", DlgLnkPopWinName : "弹出窗口名称", DlgLnkPopWinFeat : "弹出窗口属性", DlgLnkPopResize : "调整大小", DlgLnkPopLocation : "地址栏", DlgLnkPopMenu : "菜单栏", DlgLnkPopScroll : "滚动条", DlgLnkPopStatus : "状态栏", DlgLnkPopToolbar : "工具栏", DlgLnkPopFullScrn : "全屏 (IE)", DlgLnkPopDependent : "依附 (NS)", DlgLnkPopWidth : "宽", DlgLnkPopHeight : "高", DlgLnkPopLeft : "左", DlgLnkPopTop : "右", DlnLnkMsgNoUrl : "请输入超链接地址", DlnLnkMsgNoEMail : "请输入电子邮件地址", DlnLnkMsgNoAnchor : "请选择一个锚点", DlnLnkMsgInvPopName : "弹出窗口名称必须以字母开头,并且不能含有空格。", // Color Dialog DlgColorTitle : "选择颜色", DlgColorBtnClear : "清除", DlgColorHighlight : "预览", DlgColorSelected : "选择", // Smiley Dialog DlgSmileyTitle : "插入表情图标", // Special Character Dialog DlgSpecialCharTitle : "选择特殊符号", // Table Dialog DlgTableTitle : "表格属性", DlgTableRows : "行数", DlgTableColumns : "列数", DlgTableBorder : "边框", DlgTableAlign : "对齐", DlgTableAlignNotSet : "<没有设置>", DlgTableAlignLeft : "左对齐", DlgTableAlignCenter : "居中", DlgTableAlignRight : "右对齐", DlgTableWidth : "宽度", DlgTableWidthPx : "像素", DlgTableWidthPc : "百分比", DlgTableHeight : "高度", DlgTableCellSpace : "间距", DlgTableCellPad : "边距", DlgTableCaption : "标题", DlgTableSummary : "摘要", // Table Cell Dialog DlgCellTitle : "单元格属性", DlgCellWidth : "宽度", DlgCellWidthPx : "像素", DlgCellWidthPc : "百分比", DlgCellHeight : "高度", DlgCellWordWrap : "自动换行", DlgCellWordWrapNotSet : "<没有设置>", DlgCellWordWrapYes : "是", DlgCellWordWrapNo : "否", DlgCellHorAlign : "水平对齐", DlgCellHorAlignNotSet : "<没有设置>", DlgCellHorAlignLeft : "左对齐", DlgCellHorAlignCenter : "居中", DlgCellHorAlignRight: "右对齐", DlgCellVerAlign : "垂直对齐", DlgCellVerAlignNotSet : "<没有设置>", DlgCellVerAlignTop : "顶端", DlgCellVerAlignMiddle : "居中", DlgCellVerAlignBottom : "底部", DlgCellVerAlignBaseline : "基线", DlgCellRowSpan : "纵跨行数", DlgCellCollSpan : "横跨列数", DlgCellBackColor : "背景颜色", DlgCellBorderColor : "边框颜色", DlgCellBtnSelect : "选择...", // Find and Replace Dialog DlgFindAndReplaceTitle : "查找和替换", // Find Dialog DlgFindTitle : "查找", DlgFindFindBtn : "查找", DlgFindNotFoundMsg : "指定文本没有找到。", // Replace Dialog DlgReplaceTitle : "替换", DlgReplaceFindLbl : "查找:", DlgReplaceReplaceLbl : "替换:", DlgReplaceCaseChk : "区分大小写", DlgReplaceReplaceBtn : "替换", DlgReplaceReplAllBtn : "全部替换", DlgReplaceWordChk : "全字匹配", // Paste Operations / Dialog PasteErrorCut : "您的浏览器安全设置不允许编辑器自动执行剪切操作,请使用键盘快捷键(Ctrl+X)来完成。", PasteErrorCopy : "您的浏览器安全设置不允许编辑器自动执行复制操作,请使用键盘快捷键(Ctrl+C)来完成。", PasteAsText : "粘贴为无格式文本", PasteFromWord : "从 MS Word 粘贴", DlgPasteMsg2 : "请使用键盘快捷键(<STRONG>Ctrl+V</STRONG>)把内容粘贴到下面的方框里,再按 <STRONG>确定</STRONG>。", DlgPasteSec : "因为你的浏览器的安全设置原因,本编辑器不能直接访问你的剪贴板内容,你需要在本窗口重新粘贴一次。", DlgPasteIgnoreFont : "忽略 Font 标签", DlgPasteRemoveStyles : "清理 CSS 样式", // Color Picker ColorAutomatic : "自动", ColorMoreColors : "其它颜色...", // Document Properties DocProps : "页面属性", // Anchor Dialog DlgAnchorTitle : "命名锚点", DlgAnchorName : "锚点名称", DlgAnchorErrorName : "请输入锚点名称", // Speller Pages Dialog DlgSpellNotInDic : "没有在字典里", DlgSpellChangeTo : "更改为", DlgSpellBtnIgnore : "忽略", DlgSpellBtnIgnoreAll : "全部忽略", DlgSpellBtnReplace : "替换", DlgSpellBtnReplaceAll : "全部替换", DlgSpellBtnUndo : "撤消", DlgSpellNoSuggestions : "- 没有建议 -", DlgSpellProgress : "正在进行拼写检查...", DlgSpellNoMispell : "拼写检查完成:没有发现拼写错误", DlgSpellNoChanges : "拼写检查完成:没有更改任何单词", DlgSpellOneChange : "拼写检查完成:更改了一个单词", DlgSpellManyChanges : "拼写检查完成:更改了 %1 个单词", IeSpellDownload : "拼写检查插件还没安装,你是否想现在就下载?", // Button Dialog DlgButtonText : "标签(值)", DlgButtonType : "类型", DlgButtonTypeBtn : "按钮", DlgButtonTypeSbm : "提交", DlgButtonTypeRst : "重设", // Checkbox and Radio Button Dialogs DlgCheckboxName : "名称", DlgCheckboxValue : "选定值", DlgCheckboxSelected : "已勾选", // Form Dialog DlgFormName : "名称", DlgFormAction : "动作", DlgFormMethod : "方法", // Select Field Dialog DlgSelectName : "名称", DlgSelectValue : "选定", DlgSelectSize : "高度", DlgSelectLines : "行", DlgSelectChkMulti : "允许多选", DlgSelectOpAvail : "列表值", DlgSelectOpText : "标签", DlgSelectOpValue : "值", DlgSelectBtnAdd : "新增", DlgSelectBtnModify : "修改", DlgSelectBtnUp : "上移", DlgSelectBtnDown : "下移", DlgSelectBtnSetValue : "设为初始化时选定", DlgSelectBtnDelete : "删除", // Textarea Dialog DlgTextareaName : "名称", DlgTextareaCols : "字符宽度", DlgTextareaRows : "行数", // Text Field Dialog DlgTextName : "名称", DlgTextValue : "初始值", DlgTextCharWidth : "字符宽度", DlgTextMaxChars : "最多字符数", DlgTextType : "类型", DlgTextTypeText : "文本", DlgTextTypePass : "密码", // Hidden Field Dialog DlgHiddenName : "名称", DlgHiddenValue : "初始值", // Bulleted List Dialog BulletedListProp : "项目列表属性", NumberedListProp : "编号列表属性", DlgLstStart : "开始序号", DlgLstType : "列表类型", DlgLstTypeCircle : "圆圈", DlgLstTypeDisc : "圆点", DlgLstTypeSquare : "方块", DlgLstTypeNumbers : "数字 (1, 2, 3)", DlgLstTypeLCase : "小写字母 (a, b, c)", DlgLstTypeUCase : "大写字母 (A, B, C)", DlgLstTypeSRoman : "小写罗马数字 (i, ii, iii)", DlgLstTypeLRoman : "大写罗马数字 (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "常规", DlgDocBackTab : "背景", DlgDocColorsTab : "颜色和边距", DlgDocMetaTab : "Meta 数据", DlgDocPageTitle : "页面标题", DlgDocLangDir : "语言方向", DlgDocLangDirLTR : "从左到右 (LTR)", DlgDocLangDirRTL : "从右到左 (RTL)", DlgDocLangCode : "语言代码", DlgDocCharSet : "字符编码", DlgDocCharSetCE : "中欧", DlgDocCharSetCT : "繁体中文 (Big5)", DlgDocCharSetCR : "西里尔文", DlgDocCharSetGR : "希腊文", DlgDocCharSetJP : "日文", DlgDocCharSetKR : "韩文", DlgDocCharSetTR : "土耳其文", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "西欧", DlgDocCharSetOther : "其它字符编码", DlgDocDocType : "文档类型", DlgDocDocTypeOther : "其它文档类型", DlgDocIncXHTML : "包含 XHTML 声明", DlgDocBgColor : "背景颜色", DlgDocBgImage : "背景图像", DlgDocBgNoScroll : "不滚动背景图像", DlgDocCText : "文本", DlgDocCLink : "超链接", DlgDocCVisited : "已访问的超链接", DlgDocCActive : "活动超链接", DlgDocMargins : "页面边距", DlgDocMaTop : "上", DlgDocMaLeft : "左", DlgDocMaRight : "右", DlgDocMaBottom : "下", DlgDocMeIndex : "页面索引关键字 (用半角逗号[,]分隔)", DlgDocMeDescr : "页面说明", DlgDocMeAuthor : "作者", DlgDocMeCopy : "版权", DlgDocPreview : "预览", // Templates Dialog Templates : "模板", DlgTemplatesTitle : "内容模板", DlgTemplatesSelMsg : "请选择编辑器内容模板<br>(当前内容将会被清除替换):", DlgTemplatesLoading : "正在加载模板列表,请稍等...", DlgTemplatesNoTpl : "(没有模板)", DlgTemplatesReplace : "替换当前内容", // About Dialog DlgAboutAboutTab : "关于", DlgAboutBrowserInfoTab : "浏览器信息", DlgAboutLicenseTab : "许可证", DlgAboutVersion : "版本", DlgAboutInfo : "要获得更多信息请访问 ", // Div Dialog DlgDivGeneralTab : "常规", DlgDivAdvancedTab : "高级", DlgDivStyle : "样式", DlgDivInlineStyle : "CSS 样式" };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Japanese language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "ツールバーを隠す", ToolbarExpand : "ツールバーを表示", // Toolbar Items and Context Menu Save : "保存", NewPage : "新しいページ", Preview : "プレビュー", Cut : "切り取り", Copy : "コピー", Paste : "貼り付け", PasteText : "プレーンテキスト貼り付け", PasteWord : "ワード文章から貼り付け", Print : "印刷", SelectAll : "すべて選択", RemoveFormat : "フォーマット削除", InsertLinkLbl : "リンク", InsertLink : "リンク挿入/編集", RemoveLink : "リンク削除", VisitLink : "リンクを開く", Anchor : "アンカー挿入/編集", AnchorDelete : "アンカー削除", InsertImageLbl : "イメージ", InsertImage : "イメージ挿入/編集", InsertFlashLbl : "Flash", InsertFlash : "Flash挿入/編集", InsertTableLbl : "テーブル", InsertTable : "テーブル挿入/編集", InsertLineLbl : "ライン", InsertLine : "横罫線", InsertSpecialCharLbl: "特殊文字", InsertSpecialChar : "特殊文字挿入", InsertSmileyLbl : "絵文字", InsertSmiley : "絵文字挿入", About : "FCKeditorヘルプ", Bold : "太字", Italic : "斜体", Underline : "下線", StrikeThrough : "打ち消し線", Subscript : "添え字", Superscript : "上付き文字", LeftJustify : "左揃え", CenterJustify : "中央揃え", RightJustify : "右揃え", BlockJustify : "両端揃え", DecreaseIndent : "インデント解除", IncreaseIndent : "インデント", Blockquote : "ブロック引用", CreateDiv : "Div 作成", EditDiv : "Div 編集", DeleteDiv : "Div 削除", Undo : "元に戻す", Redo : "やり直し", NumberedListLbl : "段落番号", NumberedList : "段落番号の追加/削除", BulletedListLbl : "箇条書き", BulletedList : "箇条書きの追加/削除", ShowTableBorders : "テーブルボーダー表示", ShowDetails : "詳細表示", Style : "スタイル", FontFormat : "フォーマット", Font : "フォント", FontSize : "サイズ", TextColor : "テキスト色", BGColor : "背景色", Source : "ソース", Find : "検索", Replace : "置き換え", SpellCheck : "スペルチェック", UniversalKeyboard : "ユニバーサル・キーボード", PageBreakLbl : "改ページ", PageBreak : "改ページ挿入", Form : "フォーム", Checkbox : "チェックボックス", RadioButton : "ラジオボタン", TextField : "1行テキスト", Textarea : "テキストエリア", HiddenField : "不可視フィールド", Button : "ボタン", SelectionField : "選択フィールド", ImageButton : "画像ボタン", FitWindow : "エディタサイズを最大にします", ShowBlocks : "ブロック表示", // Context Menu EditLink : "リンク編集", CellCM : "セル", RowCM : "行", ColumnCM : "カラム", InsertRowAfter : "列の後に挿入", InsertRowBefore : "列の前に挿入", DeleteRows : "行削除", InsertColumnAfter : "カラムの後に挿入", InsertColumnBefore : "カラムの前に挿入", DeleteColumns : "列削除", InsertCellAfter : "セルの後に挿入", InsertCellBefore : "セルの前に挿入", DeleteCells : "セル削除", MergeCells : "セル結合", MergeRight : "右に結合", MergeDown : "下に結合", HorizontalSplitCell : "セルを水平方向分割", VerticalSplitCell : "セルを垂直方向に分割", TableDelete : "テーブル削除", CellProperties : "セル プロパティ", TableProperties : "テーブル プロパティ", ImageProperties : "イメージ プロパティ", FlashProperties : "Flash プロパティ", AnchorProp : "アンカー プロパティ", ButtonProp : "ボタン プロパティ", CheckboxProp : "チェックボックス プロパティ", HiddenFieldProp : "不可視フィールド プロパティ", RadioButtonProp : "ラジオボタン プロパティ", ImageButtonProp : "画像ボタン プロパティ", TextFieldProp : "1行テキスト プロパティ", SelectionFieldProp : "選択フィールド プロパティ", TextareaProp : "テキストエリア プロパティ", FormProp : "フォーム プロパティ", FontFormats : "標準;書式付き;アドレス;見出し 1;見出し 2;見出し 3;見出し 4;見出し 5;見出し 6;標準 (DIV)", // Alerts and Messages ProcessingXHTML : "XHTML処理中. しばらくお待ちください...", Done : "完了", PasteWordConfirm : "貼り付けを行うテキストは、ワード文章からコピーされようとしています。貼り付ける前にクリーニングを行いますか?", NotCompatiblePaste : "このコマンドはインターネット・エクスプローラーバージョン5.5以上で利用可能です。クリーニングしないで貼り付けを行いますか?", UnknownToolbarItem : "未知のツールバー項目 \"%1\"", UnknownCommand : "未知のコマンド名 \"%1\"", NotImplemented : "コマンドはインプリメントされませんでした。", UnknownToolbarSet : "ツールバー設定 \"%1\" 存在しません。", NoActiveX : "エラー、警告メッセージなどが発生した場合、ブラウザーのセキュリティ設定によりエディタのいくつかの機能が制限されている可能性があります。セキュリティ設定のオプションで\"ActiveXコントロールとプラグインの実行\"を有効にするにしてください。", BrowseServerBlocked : "サーバーブラウザーを開くことができませんでした。ポップアップ・ブロック機能が無効になっているか確認してください。", DialogBlocked : "ダイアログウィンドウを開くことができませんでした。ポップアップ・ブロック機能が無効になっているか確認してください。", VisitLinkBlocked : "新しいウィンドウを開くことができませんでした。ポップアップ・ブロック機能が無効になっているか確認してください。", // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "キャンセル", DlgBtnClose : "閉じる", DlgBtnBrowseServer : "サーバーブラウザー", DlgAdvancedTag : "高度な設定", DlgOpOther : "<その他>", DlgInfoTab : "情報", DlgAlertUrl : "URLを挿入してください", // General Dialogs Labels DlgGenNotSet : "<なし>", DlgGenId : "Id", DlgGenLangDir : "文字表記の方向", DlgGenLangDirLtr : "左から右 (LTR)", DlgGenLangDirRtl : "右から左 (RTL)", DlgGenLangCode : "言語コード", DlgGenAccessKey : "アクセスキー", DlgGenName : "Name属性", DlgGenTabIndex : "タブインデックス", DlgGenLongDescr : "longdesc属性(長文説明)", DlgGenClass : "スタイルシートクラス", DlgGenTitle : "Title属性", DlgGenContType : "Content Type属性", DlgGenLinkCharset : "リンクcharset属性", DlgGenStyle : "スタイルシート", // Image Dialog DlgImgTitle : "イメージ プロパティ", DlgImgInfoTab : "イメージ 情報", DlgImgBtnUpload : "サーバーに送信", DlgImgURL : "URL", DlgImgUpload : "アップロード", DlgImgAlt : "代替テキスト", DlgImgWidth : "幅", DlgImgHeight : "高さ", DlgImgLockRatio : "ロック比率", DlgBtnResetSize : "サイズリセット", DlgImgBorder : "ボーダー", DlgImgHSpace : "横間隔", DlgImgVSpace : "縦間隔", DlgImgAlign : "行揃え", DlgImgAlignLeft : "左", DlgImgAlignAbsBottom: "下部(絶対的)", DlgImgAlignAbsMiddle: "中央(絶対的)", DlgImgAlignBaseline : "ベースライン", DlgImgAlignBottom : "下", DlgImgAlignMiddle : "中央", DlgImgAlignRight : "右", DlgImgAlignTextTop : "テキスト上部", DlgImgAlignTop : "上", DlgImgPreview : "プレビュー", DlgImgAlertUrl : "イメージのURLを入力してください。", DlgImgLinkTab : "リンク", // Flash Dialog DlgFlashTitle : "Flash プロパティ", DlgFlashChkPlay : "再生", DlgFlashChkLoop : "ループ再生", DlgFlashChkMenu : "Flashメニュー可能", DlgFlashScale : "拡大縮小設定", DlgFlashScaleAll : "すべて表示", DlgFlashScaleNoBorder : "外が見えない様に拡大", DlgFlashScaleFit : "上下左右にフィット", // Link Dialog DlgLnkWindowTitle : "ハイパーリンク", DlgLnkInfoTab : "ハイパーリンク 情報", DlgLnkTargetTab : "ターゲット", DlgLnkType : "リンクタイプ", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "このページのアンカー", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "プロトコル", DlgLnkProtoOther : "<その他>", DlgLnkURL : "URL", DlgLnkAnchorSel : "アンカーを選択", DlgLnkAnchorByName : "アンカー名", DlgLnkAnchorById : "エレメントID", DlgLnkNoAnchors : "(ドキュメントにおいて利用可能なアンカーはありません。)", DlgLnkEMail : "E-Mail アドレス", DlgLnkEMailSubject : "件名", DlgLnkEMailBody : "本文", DlgLnkUpload : "アップロード", DlgLnkBtnUpload : "サーバーに送信", DlgLnkTarget : "ターゲット", DlgLnkTargetFrame : "<フレーム>", DlgLnkTargetPopup : "<ポップアップウィンドウ>", DlgLnkTargetBlank : "新しいウィンドウ (_blank)", DlgLnkTargetParent : "親ウィンドウ (_parent)", DlgLnkTargetSelf : "同じウィンドウ (_self)", DlgLnkTargetTop : "最上位ウィンドウ (_top)", DlgLnkTargetFrameName : "目的のフレーム名", DlgLnkPopWinName : "ポップアップウィンドウ名", DlgLnkPopWinFeat : "ポップアップウィンドウ特徴", DlgLnkPopResize : "リサイズ可能", DlgLnkPopLocation : "ロケーションバー", DlgLnkPopMenu : "メニューバー", DlgLnkPopScroll : "スクロールバー", DlgLnkPopStatus : "ステータスバー", DlgLnkPopToolbar : "ツールバー", DlgLnkPopFullScrn : "全画面モード(IE)", DlgLnkPopDependent : "開いたウィンドウに連動して閉じる (Netscape)", DlgLnkPopWidth : "幅", DlgLnkPopHeight : "高さ", DlgLnkPopLeft : "左端からの座標で指定", DlgLnkPopTop : "上端からの座標で指定", DlnLnkMsgNoUrl : "リンクURLを入力してください。", DlnLnkMsgNoEMail : "メールアドレスを入力してください。", DlnLnkMsgNoAnchor : "アンカーを選択してください。", DlnLnkMsgInvPopName : "ポップ・アップ名は英字で始まる文字で指定してくだい。ポップ・アップ名にスペースは含めません", // Color Dialog DlgColorTitle : "色選択", DlgColorBtnClear : "クリア", DlgColorHighlight : "ハイライト", DlgColorSelected : "選択色", // Smiley Dialog DlgSmileyTitle : "顔文字挿入", // Special Character Dialog DlgSpecialCharTitle : "特殊文字選択", // Table Dialog DlgTableTitle : "テーブル プロパティ", DlgTableRows : "行", DlgTableColumns : "列", DlgTableBorder : "ボーダーサイズ", DlgTableAlign : "キャプションの整列", DlgTableAlignNotSet : "<なし>", DlgTableAlignLeft : "左", DlgTableAlignCenter : "中央", DlgTableAlignRight : "右", DlgTableWidth : "テーブル幅", DlgTableWidthPx : "ピクセル", DlgTableWidthPc : "パーセント", DlgTableHeight : "テーブル高さ", DlgTableCellSpace : "セル内余白", DlgTableCellPad : "セル内間隔", DlgTableCaption : "キャプション", DlgTableSummary : "テーブル目的/構造", // Table Cell Dialog DlgCellTitle : "セル プロパティ", DlgCellWidth : "幅", DlgCellWidthPx : "ピクセル", DlgCellWidthPc : "パーセント", DlgCellHeight : "高さ", DlgCellWordWrap : "折り返し", DlgCellWordWrapNotSet : "<なし>", DlgCellWordWrapYes : "Yes", DlgCellWordWrapNo : "No", DlgCellHorAlign : "セル横の整列", DlgCellHorAlignNotSet : "<なし>", DlgCellHorAlignLeft : "左", DlgCellHorAlignCenter : "中央", DlgCellHorAlignRight: "右", DlgCellVerAlign : "セル縦の整列", DlgCellVerAlignNotSet : "<なし>", DlgCellVerAlignTop : "上", DlgCellVerAlignMiddle : "中央", DlgCellVerAlignBottom : "下", DlgCellVerAlignBaseline : "ベースライン", DlgCellRowSpan : "縦幅(行数)", DlgCellCollSpan : "横幅(列数)", DlgCellBackColor : "背景色", DlgCellBorderColor : "ボーダーカラー", DlgCellBtnSelect : "選択...", // Find and Replace Dialog DlgFindAndReplaceTitle : "検索して置換", // Find Dialog DlgFindTitle : "検索", DlgFindFindBtn : "検索", DlgFindNotFoundMsg : "指定された文字列は見つかりませんでした。", // Replace Dialog DlgReplaceTitle : "置き換え", DlgReplaceFindLbl : "検索する文字列:", DlgReplaceReplaceLbl : "置換えする文字列:", DlgReplaceCaseChk : "部分一致", DlgReplaceReplaceBtn : "置換え", DlgReplaceReplAllBtn : "すべて置換え", DlgReplaceWordChk : "単語単位で一致", // Paste Operations / Dialog PasteErrorCut : "ブラウザーのセキュリティ設定によりエディタの切り取り操作が自動で実行することができません。実行するには手動でキーボードの(Ctrl+X)を使用してください。", PasteErrorCopy : "ブラウザーのセキュリティ設定によりエディタのコピー操作が自動で実行することができません。実行するには手動でキーボードの(Ctrl+C)を使用してください。", PasteAsText : "プレーンテキスト貼り付け", PasteFromWord : "ワード文章から貼り付け", DlgPasteMsg2 : "キーボード(<STRONG>Ctrl+V</STRONG>)を使用して、次の入力エリア内で貼って、<STRONG>OK</STRONG>を押してください。", DlgPasteSec : "ブラウザのセキュリティ設定により、エディタはクリップボード・データに直接アクセスすることができません。このウィンドウは貼り付け操作を行う度に表示されます。", DlgPasteIgnoreFont : "FontタグのFace属性を無視します。", DlgPasteRemoveStyles : "スタイル定義を削除します。", // Color Picker ColorAutomatic : "自動", ColorMoreColors : "その他の色...", // Document Properties DocProps : "文書 プロパティ", // Anchor Dialog DlgAnchorTitle : "アンカー プロパティ", DlgAnchorName : "アンカー名", DlgAnchorErrorName : "アンカー名を必ず入力してください。", // Speller Pages Dialog DlgSpellNotInDic : "辞書にありません", DlgSpellChangeTo : "変更", DlgSpellBtnIgnore : "無視", DlgSpellBtnIgnoreAll : "すべて無視", DlgSpellBtnReplace : "置換", DlgSpellBtnReplaceAll : "すべて置換", DlgSpellBtnUndo : "やり直し", DlgSpellNoSuggestions : "- 該当なし -", DlgSpellProgress : "スペルチェック処理中...", DlgSpellNoMispell : "スペルチェック完了: スペルの誤りはありませんでした", DlgSpellNoChanges : "スペルチェック完了: 語句は変更されませんでした", DlgSpellOneChange : "スペルチェック完了: 1語句変更されました", DlgSpellManyChanges : "スペルチェック完了: %1 語句変更されました", IeSpellDownload : "スペルチェッカーがインストールされていません。今すぐダウンロードしますか?", // Button Dialog DlgButtonText : "テキスト (値)", DlgButtonType : "タイプ", DlgButtonTypeBtn : "ボタン", DlgButtonTypeSbm : "送信", DlgButtonTypeRst : "リセット", // Checkbox and Radio Button Dialogs DlgCheckboxName : "名前", DlgCheckboxValue : "値", DlgCheckboxSelected : "選択済み", // Form Dialog DlgFormName : "フォーム名", DlgFormAction : "アクション", DlgFormMethod : "メソッド", // Select Field Dialog DlgSelectName : "名前", DlgSelectValue : "値", DlgSelectSize : "サイズ", DlgSelectLines : "行", DlgSelectChkMulti : "複数項目選択を許可", DlgSelectOpAvail : "利用可能なオプション", DlgSelectOpText : "選択項目名", DlgSelectOpValue : "選択項目値", DlgSelectBtnAdd : "追加", DlgSelectBtnModify : "編集", DlgSelectBtnUp : "上へ", DlgSelectBtnDown : "下へ", DlgSelectBtnSetValue : "選択した値を設定", DlgSelectBtnDelete : "削除", // Textarea Dialog DlgTextareaName : "名前", DlgTextareaCols : "列", DlgTextareaRows : "行", // Text Field Dialog DlgTextName : "名前", DlgTextValue : "値", DlgTextCharWidth : "サイズ", DlgTextMaxChars : "最大長", DlgTextType : "タイプ", DlgTextTypeText : "テキスト", DlgTextTypePass : "パスワード入力", // Hidden Field Dialog DlgHiddenName : "名前", DlgHiddenValue : "値", // Bulleted List Dialog BulletedListProp : "箇条書き プロパティ", NumberedListProp : "段落番号 プロパティ", DlgLstStart : "開始文字", DlgLstType : "タイプ", DlgLstTypeCircle : "白丸", DlgLstTypeDisc : "黒丸", DlgLstTypeSquare : "四角", DlgLstTypeNumbers : "アラビア数字 (1, 2, 3)", DlgLstTypeLCase : "英字小文字 (a, b, c)", DlgLstTypeUCase : "英字大文字 (A, B, C)", DlgLstTypeSRoman : "ローマ数字小文字 (i, ii, iii)", DlgLstTypeLRoman : "ローマ数字大文字 (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "全般", DlgDocBackTab : "背景", DlgDocColorsTab : "色とマージン", DlgDocMetaTab : "メタデータ", DlgDocPageTitle : "ページタイトル", DlgDocLangDir : "言語文字表記の方向", DlgDocLangDirLTR : "左から右に表記(LTR)", DlgDocLangDirRTL : "右から左に表記(RTL)", DlgDocLangCode : "言語コード", DlgDocCharSet : "文字セット符号化", DlgDocCharSetCE : "Central European", DlgDocCharSetCT : "Chinese Traditional (Big5)", DlgDocCharSetCR : "Cyrillic", DlgDocCharSetGR : "Greek", DlgDocCharSetJP : "Japanese", DlgDocCharSetKR : "Korean", DlgDocCharSetTR : "Turkish", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "Western European", DlgDocCharSetOther : "他の文字セット符号化", DlgDocDocType : "文書タイプヘッダー", DlgDocDocTypeOther : "その他文書タイプヘッダー", DlgDocIncXHTML : "XHTML宣言をインクルード", DlgDocBgColor : "背景色", DlgDocBgImage : "背景画像 URL", DlgDocBgNoScroll : "スクロールしない背景", DlgDocCText : "テキスト", DlgDocCLink : "リンク", DlgDocCVisited : "アクセス済みリンク", DlgDocCActive : "アクセス中リンク", DlgDocMargins : "ページ・マージン", DlgDocMaTop : "上部", DlgDocMaLeft : "左", DlgDocMaRight : "右", DlgDocMaBottom : "下部", DlgDocMeIndex : "文書のキーワード(カンマ区切り)", DlgDocMeDescr : "文書の概要", DlgDocMeAuthor : "文書の作者", DlgDocMeCopy : "文書の著作権", DlgDocPreview : "プレビュー", // Templates Dialog Templates : "テンプレート(雛形)", DlgTemplatesTitle : "テンプレート内容", DlgTemplatesSelMsg : "エディターで使用するテンプレートを選択してください。<br>(現在のエディタの内容は失われます):", DlgTemplatesLoading : "テンプレート一覧読み込み中. しばらくお待ちください...", DlgTemplatesNoTpl : "(テンプレートが定義されていません)", DlgTemplatesReplace : "現在のエディタの内容と置換えをします", // About Dialog DlgAboutAboutTab : "バージョン情報", DlgAboutBrowserInfoTab : "ブラウザ情報", DlgAboutLicenseTab : "ライセンス", DlgAboutVersion : "バージョン", DlgAboutInfo : "より詳しい情報はこちらで", // Div Dialog DlgDivGeneralTab : "全般", DlgDivAdvancedTab : "高度な設定", DlgDivStyle : "スタイル", DlgDivInlineStyle : "インラインスタイル" };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Hebrew language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "rtl", ToolbarCollapse : "כיווץ סרגל הכלים", ToolbarExpand : "פתיחת סרגל הכלים", // Toolbar Items and Context Menu Save : "שמירה", NewPage : "דף חדש", Preview : "תצוגה מקדימה", Cut : "גזירה", Copy : "העתקה", Paste : "הדבקה", PasteText : "הדבקה כטקסט פשוט", PasteWord : "הדבקה מ-וורד", Print : "הדפסה", SelectAll : "בחירת הכל", RemoveFormat : "הסרת העיצוב", InsertLinkLbl : "קישור", InsertLink : "הוספת/עריכת קישור", RemoveLink : "הסרת הקישור", VisitLink : "פתח קישור", Anchor : "הוספת/עריכת נקודת עיגון", AnchorDelete : "הסר נקודת עיגון", InsertImageLbl : "תמונה", InsertImage : "הוספת/עריכת תמונה", InsertFlashLbl : "פלאש", InsertFlash : "הוסף/ערוך פלאש", InsertTableLbl : "טבלה", InsertTable : "הוספת/עריכת טבלה", InsertLineLbl : "קו", InsertLine : "הוספת קו אופקי", InsertSpecialCharLbl: "תו מיוחד", InsertSpecialChar : "הוספת תו מיוחד", InsertSmileyLbl : "סמיילי", InsertSmiley : "הוספת סמיילי", About : "אודות FCKeditor", Bold : "מודגש", Italic : "נטוי", Underline : "קו תחתון", StrikeThrough : "כתיב מחוק", Subscript : "כתיב תחתון", Superscript : "כתיב עליון", LeftJustify : "יישור לשמאל", CenterJustify : "מרכוז", RightJustify : "יישור לימין", BlockJustify : "יישור לשוליים", DecreaseIndent : "הקטנת אינדנטציה", IncreaseIndent : "הגדלת אינדנטציה", Blockquote : "בלוק ציטוט", CreateDiv : "צור מיכל(תג)DIV", EditDiv : "ערוך מיכל (תג)DIV", DeleteDiv : "הסר מיכל(תג) DIV", Undo : "ביטול צעד אחרון", Redo : "חזרה על צעד אחרון", NumberedListLbl : "רשימה ממוספרת", NumberedList : "הוספת/הסרת רשימה ממוספרת", BulletedListLbl : "רשימת נקודות", BulletedList : "הוספת/הסרת רשימת נקודות", ShowTableBorders : "הצגת מסגרת הטבלה", ShowDetails : "הצגת פרטים", Style : "סגנון", FontFormat : "עיצוב", Font : "גופן", FontSize : "גודל", TextColor : "צבע טקסט", BGColor : "צבע רקע", Source : "מקור", Find : "חיפוש", Replace : "החלפה", SpellCheck : "בדיקת איות", UniversalKeyboard : "מקלדת אוניברסלית", PageBreakLbl : "שבירת דף", PageBreak : "הוסף שבירת דף", Form : "טופס", Checkbox : "תיבת סימון", RadioButton : "לחצן אפשרויות", TextField : "שדה טקסט", Textarea : "איזור טקסט", HiddenField : "שדה חבוי", Button : "כפתור", SelectionField : "שדה בחירה", ImageButton : "כפתור תמונה", FitWindow : "הגדל את גודל העורך", ShowBlocks : "הצג בלוקים", // Context Menu EditLink : "עריכת קישור", CellCM : "תא", RowCM : "שורה", ColumnCM : "עמודה", InsertRowAfter : "הוסף שורה אחרי", InsertRowBefore : "הוסף שורה לפני", DeleteRows : "מחיקת שורות", InsertColumnAfter : "הוסף עמודה אחרי", InsertColumnBefore : "הוסף עמודה לפני", DeleteColumns : "מחיקת עמודות", InsertCellAfter : "הוסף תא אחרי", InsertCellBefore : "הוסף תא אחרי", DeleteCells : "מחיקת תאים", MergeCells : "מיזוג תאים", MergeRight : "מזג ימינה", MergeDown : "מזג למטה", HorizontalSplitCell : "פצל תא אופקית", VerticalSplitCell : "פצל תא אנכית", TableDelete : "מחק טבלה", CellProperties : "תכונות התא", TableProperties : "תכונות הטבלה", ImageProperties : "תכונות התמונה", FlashProperties : "מאפייני פלאש", AnchorProp : "מאפייני נקודת עיגון", ButtonProp : "מאפייני כפתור", CheckboxProp : "מאפייני תיבת סימון", HiddenFieldProp : "מאפיני שדה חבוי", RadioButtonProp : "מאפייני לחצן אפשרויות", ImageButtonProp : "מאפיני כפתור תמונה", TextFieldProp : "מאפייני שדה טקסט", SelectionFieldProp : "מאפייני שדה בחירה", TextareaProp : "מאפיני איזור טקסט", FormProp : "מאפיני טופס", FontFormats : "נורמלי;קוד;כתובת;כותרת;כותרת 2;כותרת 3;כותרת 4;כותרת 5;כותרת 6", // Alerts and Messages ProcessingXHTML : "מעבד XHTML, נא להמתין...", Done : "המשימה הושלמה", PasteWordConfirm : "נראה הטקסט שבכוונתך להדביק מקורו בקובץ וורד. האם ברצונך לנקות אותו טרם ההדבקה?", NotCompatiblePaste : "פעולה זו זמינה לדפדפן אינטרנט אקספלורר מגירסא 5.5 ומעלה. האם להמשיך בהדבקה ללא הניקוי?", UnknownToolbarItem : "פריט לא ידוע בסרגל הכלים \"%1\"", UnknownCommand : "שם פעולה לא ידוע \"%1\"", NotImplemented : "הפקודה לא מיושמת", UnknownToolbarSet : "ערכת סרגל הכלים \"%1\" לא קיימת", NoActiveX : "הגדרות אבטחה של הדפדפן עלולות לגביל את אפשרויות העריכה.יש לאפשר את האופציה \"הרץ פקדים פעילים ותוספות\". תוכל לחוות טעויות וחיווים של אפשרויות שחסרים.", BrowseServerBlocked : "לא ניתן לגשת לדפדפן משאבים.אנא וודא שחוסם חלונות הקופצים לא פעיל.", DialogBlocked : "לא היה ניתן לפתוח חלון דיאלוג. אנא וודא שחוסם חלונות קופצים לא פעיל.", VisitLinkBlocked : "לא ניתן לפתוח חלון חדש.נא לוודא שחוסמי החלונות הקופצים לא פעילים.", // Dialogs DlgBtnOK : "אישור", DlgBtnCancel : "ביטול", DlgBtnClose : "סגירה", DlgBtnBrowseServer : "סייר השרת", DlgAdvancedTag : "אפשרויות מתקדמות", DlgOpOther : "<אחר>", DlgInfoTab : "מידע", DlgAlertUrl : "אנא הזן URL", // General Dialogs Labels DlgGenNotSet : "<לא נקבע>", DlgGenId : "זיהוי (Id)", DlgGenLangDir : "כיוון שפה", DlgGenLangDirLtr : "שמאל לימין (LTR)", DlgGenLangDirRtl : "ימין לשמאל (RTL)", DlgGenLangCode : "קוד שפה", DlgGenAccessKey : "מקש גישה", DlgGenName : "שם", DlgGenTabIndex : "מספר טאב", DlgGenLongDescr : "קישור לתיאור מפורט", DlgGenClass : "גיליונות עיצוב קבוצות", DlgGenTitle : "כותרת מוצעת", DlgGenContType : "Content Type מוצע", DlgGenLinkCharset : "קידוד המשאב המקושר", DlgGenStyle : "סגנון", // Image Dialog DlgImgTitle : "תכונות התמונה", DlgImgInfoTab : "מידע על התמונה", DlgImgBtnUpload : "שליחה לשרת", DlgImgURL : "כתובת (URL)", DlgImgUpload : "העלאה", DlgImgAlt : "טקסט חלופי", DlgImgWidth : "רוחב", DlgImgHeight : "גובה", DlgImgLockRatio : "נעילת היחס", DlgBtnResetSize : "איפוס הגודל", DlgImgBorder : "מסגרת", DlgImgHSpace : "מרווח אופקי", DlgImgVSpace : "מרווח אנכי", DlgImgAlign : "יישור", DlgImgAlignLeft : "לשמאל", DlgImgAlignAbsBottom: "לתחתית האבסולוטית", DlgImgAlignAbsMiddle: "מרכוז אבסולוטי", DlgImgAlignBaseline : "לקו התחתית", DlgImgAlignBottom : "לתחתית", DlgImgAlignMiddle : "לאמצע", DlgImgAlignRight : "לימין", DlgImgAlignTextTop : "לראש הטקסט", DlgImgAlignTop : "למעלה", DlgImgPreview : "תצוגה מקדימה", DlgImgAlertUrl : "נא להקליד את כתובת התמונה", DlgImgLinkTab : "קישור", // Flash Dialog DlgFlashTitle : "מאפיני פלאש", DlgFlashChkPlay : "נגן אוטומטי", DlgFlashChkLoop : "לולאה", DlgFlashChkMenu : "אפשר תפריט פלאש", DlgFlashScale : "גודל", DlgFlashScaleAll : "הצג הכל", DlgFlashScaleNoBorder : "ללא גבולות", DlgFlashScaleFit : "התאמה מושלמת", // Link Dialog DlgLnkWindowTitle : "קישור", DlgLnkInfoTab : "מידע על הקישור", DlgLnkTargetTab : "מטרה", DlgLnkType : "סוג קישור", DlgLnkTypeURL : "כתובת (URL)", DlgLnkTypeAnchor : "עוגן בעמוד זה", DlgLnkTypeEMail : "דוא''ל", DlgLnkProto : "פרוטוקול", DlgLnkProtoOther : "<אחר>", DlgLnkURL : "כתובת (URL)", DlgLnkAnchorSel : "בחירת עוגן", DlgLnkAnchorByName : "עפ''י שם העוגן", DlgLnkAnchorById : "עפ''י זיהוי (Id) הרכיב", DlgLnkNoAnchors : "(אין עוגנים זמינים בדף)", DlgLnkEMail : "כתובת הדוא''ל", DlgLnkEMailSubject : "נושא ההודעה", DlgLnkEMailBody : "גוף ההודעה", DlgLnkUpload : "העלאה", DlgLnkBtnUpload : "שליחה לשרת", DlgLnkTarget : "מטרה", DlgLnkTargetFrame : "<מסגרת>", DlgLnkTargetPopup : "<חלון קופץ>", DlgLnkTargetBlank : "חלון חדש (_blank)", DlgLnkTargetParent : "חלון האב (_parent)", DlgLnkTargetSelf : "באותו החלון (_self)", DlgLnkTargetTop : "חלון ראשי (_top)", DlgLnkTargetFrameName : "שם מסגרת היעד", DlgLnkPopWinName : "שם החלון הקופץ", DlgLnkPopWinFeat : "תכונות החלון הקופץ", DlgLnkPopResize : "בעל גודל ניתן לשינוי", DlgLnkPopLocation : "סרגל כתובת", DlgLnkPopMenu : "סרגל תפריט", DlgLnkPopScroll : "ניתן לגלילה", DlgLnkPopStatus : "סרגל חיווי", DlgLnkPopToolbar : "סרגל הכלים", DlgLnkPopFullScrn : "מסך מלא (IE)", DlgLnkPopDependent : "תלוי (Netscape)", DlgLnkPopWidth : "רוחב", DlgLnkPopHeight : "גובה", DlgLnkPopLeft : "מיקום צד שמאל", DlgLnkPopTop : "מיקום צד עליון", DlnLnkMsgNoUrl : "נא להקליד את כתובת הקישור (URL)", DlnLnkMsgNoEMail : "נא להקליד את כתובת הדוא''ל", DlnLnkMsgNoAnchor : "נא לבחור עוגן במסמך", DlnLnkMsgInvPopName : "שם החלון הקופץ חייב להתחיל באותיות ואסור לכלול רווחים", // Color Dialog DlgColorTitle : "בחירת צבע", DlgColorBtnClear : "איפוס", DlgColorHighlight : "נוכחי", DlgColorSelected : "נבחר", // Smiley Dialog DlgSmileyTitle : "הוספת סמיילי", // Special Character Dialog DlgSpecialCharTitle : "בחירת תו מיוחד", // Table Dialog DlgTableTitle : "תכונות טבלה", DlgTableRows : "שורות", DlgTableColumns : "עמודות", DlgTableBorder : "גודל מסגרת", DlgTableAlign : "יישור", DlgTableAlignNotSet : "<לא נקבע>", DlgTableAlignLeft : "שמאל", DlgTableAlignCenter : "מרכז", DlgTableAlignRight : "ימין", DlgTableWidth : "רוחב", DlgTableWidthPx : "פיקסלים", DlgTableWidthPc : "אחוז", DlgTableHeight : "גובה", DlgTableCellSpace : "מרווח תא", DlgTableCellPad : "ריפוד תא", DlgTableCaption : "כיתוב", DlgTableSummary : "סיכום", // Table Cell Dialog DlgCellTitle : "תכונות תא", DlgCellWidth : "רוחב", DlgCellWidthPx : "פיקסלים", DlgCellWidthPc : "אחוז", DlgCellHeight : "גובה", DlgCellWordWrap : "גלילת שורות", DlgCellWordWrapNotSet : "<לא נקבע>", DlgCellWordWrapYes : "כן", DlgCellWordWrapNo : "לא", DlgCellHorAlign : "יישור אופקי", DlgCellHorAlignNotSet : "<לא נקבע>", DlgCellHorAlignLeft : "שמאל", DlgCellHorAlignCenter : "מרכז", DlgCellHorAlignRight: "ימין", DlgCellVerAlign : "יישור אנכי", DlgCellVerAlignNotSet : "<לא נקבע>", DlgCellVerAlignTop : "למעלה", DlgCellVerAlignMiddle : "לאמצע", DlgCellVerAlignBottom : "לתחתית", DlgCellVerAlignBaseline : "קו תחתית", DlgCellRowSpan : "טווח שורות", DlgCellCollSpan : "טווח עמודות", DlgCellBackColor : "צבע רקע", DlgCellBorderColor : "צבע מסגרת", DlgCellBtnSelect : "בחירה...", // Find and Replace Dialog DlgFindAndReplaceTitle : "חפש והחלף", // Find Dialog DlgFindTitle : "חיפוש", DlgFindFindBtn : "חיפוש", DlgFindNotFoundMsg : "הטקסט המבוקש לא נמצא.", // Replace Dialog DlgReplaceTitle : "החלפה", DlgReplaceFindLbl : "חיפוש מחרוזת:", DlgReplaceReplaceLbl : "החלפה במחרוזת:", DlgReplaceCaseChk : "התאמת סוג אותיות (Case)", DlgReplaceReplaceBtn : "החלפה", DlgReplaceReplAllBtn : "החלפה בכל העמוד", DlgReplaceWordChk : "התאמה למילה המלאה", // Paste Operations / Dialog PasteErrorCut : "הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות גזירה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl+X).", PasteErrorCopy : "הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות העתקה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl+C).", PasteAsText : "הדבקה כטקסט פשוט", PasteFromWord : "הדבקה מ-וורד", DlgPasteMsg2 : "אנא הדבק בתוך הקופסה באמצעות (<STRONG>Ctrl+V</STRONG>) ולחץ על <STRONG>אישור</STRONG>.", DlgPasteSec : "עקב הגדרות אבטחה בדפדפן, לא ניתן לגשת אל לוח הגזירים (clipboard) בצורה ישירה.אנא בצע הדבק שוב בחלון זה.", DlgPasteIgnoreFont : "התעלם מהגדרות סוג פונט", DlgPasteRemoveStyles : "הסר הגדרות סגנון", // Color Picker ColorAutomatic : "אוטומטי", ColorMoreColors : "צבעים נוספים...", // Document Properties DocProps : "מאפיני מסמך", // Anchor Dialog DlgAnchorTitle : "מאפיני נקודת עיגון", DlgAnchorName : "שם לנקודת עיגון", DlgAnchorErrorName : "אנא הזן שם לנקודת עיגון", // Speller Pages Dialog DlgSpellNotInDic : "לא נמצא במילון", DlgSpellChangeTo : "שנה ל", DlgSpellBtnIgnore : "התעלם", DlgSpellBtnIgnoreAll : "התעלם מהכל", DlgSpellBtnReplace : "החלף", DlgSpellBtnReplaceAll : "החלף הכל", DlgSpellBtnUndo : "החזר", DlgSpellNoSuggestions : "- אין הצעות -", DlgSpellProgress : "בדיקות איות בתהליך ....", DlgSpellNoMispell : "בדיקות איות הסתיימה: לא נמצאו שגיעות כתיב", DlgSpellNoChanges : "בדיקות איות הסתיימה: לא שונתה אף מילה", DlgSpellOneChange : "בדיקות איות הסתיימה: שונתה מילה אחת", DlgSpellManyChanges : "בדיקות איות הסתיימה: %1 מילים שונו", IeSpellDownload : "בודק האיות לא מותקן, האם אתה מעוניין להוריד?", // Button Dialog DlgButtonText : "טקסט (ערך)", DlgButtonType : "סוג", DlgButtonTypeBtn : "כפתור", DlgButtonTypeSbm : "שלח", DlgButtonTypeRst : "אפס", // Checkbox and Radio Button Dialogs DlgCheckboxName : "שם", DlgCheckboxValue : "ערך", DlgCheckboxSelected : "בחור", // Form Dialog DlgFormName : "שם", DlgFormAction : "שלח אל", DlgFormMethod : "סוג שליחה", // Select Field Dialog DlgSelectName : "שם", DlgSelectValue : "ערך", DlgSelectSize : "גודל", DlgSelectLines : "שורות", DlgSelectChkMulti : "אפשר בחירות מרובות", DlgSelectOpAvail : "אפשרויות זמינות", DlgSelectOpText : "טקסט", DlgSelectOpValue : "ערך", DlgSelectBtnAdd : "הוסף", DlgSelectBtnModify : "שנה", DlgSelectBtnUp : "למעלה", DlgSelectBtnDown : "למטה", DlgSelectBtnSetValue : "קבע כברירת מחדל", DlgSelectBtnDelete : "מחק", // Textarea Dialog DlgTextareaName : "שם", DlgTextareaCols : "עמודות", DlgTextareaRows : "שורות", // Text Field Dialog DlgTextName : "שם", DlgTextValue : "ערך", DlgTextCharWidth : "רוחב באותיות", DlgTextMaxChars : "מקסימות אותיות", DlgTextType : "סוג", DlgTextTypeText : "טקסט", DlgTextTypePass : "סיסמה", // Hidden Field Dialog DlgHiddenName : "שם", DlgHiddenValue : "ערך", // Bulleted List Dialog BulletedListProp : "מאפייני רשימה", NumberedListProp : "מאפייני רשימה ממוספרת", DlgLstStart : "התחלה", DlgLstType : "סוג", DlgLstTypeCircle : "עיגול", DlgLstTypeDisc : "דיסק", DlgLstTypeSquare : "מרובע", DlgLstTypeNumbers : "מספרים (1, 2, 3)", DlgLstTypeLCase : "אותיות קטנות (a, b, c)", DlgLstTypeUCase : "אותיות גדולות (A, B, C)", DlgLstTypeSRoman : "ספרות רומאיות קטנות (i, ii, iii)", DlgLstTypeLRoman : "ספרות רומאיות גדולות (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "כללי", DlgDocBackTab : "רקע", DlgDocColorsTab : "צבעים וגבולות", DlgDocMetaTab : "נתוני META", DlgDocPageTitle : "כותרת דף", DlgDocLangDir : "כיוון שפה", DlgDocLangDirLTR : "שמאל לימין (LTR)", DlgDocLangDirRTL : "ימין לשמאל (RTL)", DlgDocLangCode : "קוד שפה", DlgDocCharSet : "קידוד אותיות", DlgDocCharSetCE : "מרכז אירופה", DlgDocCharSetCT : "סיני מסורתי (Big5)", DlgDocCharSetCR : "קירילי", DlgDocCharSetGR : "יוונית", DlgDocCharSetJP : "יפנית", DlgDocCharSetKR : "קוראנית", DlgDocCharSetTR : "טורקית", DlgDocCharSetUN : "יוני קוד (UTF-8)", DlgDocCharSetWE : "מערב אירופה", DlgDocCharSetOther : "קידוד אותיות אחר", DlgDocDocType : "הגדרות סוג מסמך", DlgDocDocTypeOther : "הגדרות סוג מסמך אחרות", DlgDocIncXHTML : "כלול הגדרות XHTML", DlgDocBgColor : "צבע רקע", DlgDocBgImage : "URL לתמונת רקע", DlgDocBgNoScroll : "רגע ללא גלילה", DlgDocCText : "טקסט", DlgDocCLink : "קישור", DlgDocCVisited : "קישור שבוקר", DlgDocCActive : " קישור פעיל", DlgDocMargins : "גבולות דף", DlgDocMaTop : "למעלה", DlgDocMaLeft : "שמאלה", DlgDocMaRight : "ימינה", DlgDocMaBottom : "למטה", DlgDocMeIndex : "מפתח עניינים של המסמך )מופרד בפסיק(", DlgDocMeDescr : "תאור מסמך", DlgDocMeAuthor : "מחבר", DlgDocMeCopy : "זכויות יוצרים", DlgDocPreview : "תצוגה מקדימה", // Templates Dialog Templates : "תבניות", DlgTemplatesTitle : "תביות תוכן", DlgTemplatesSelMsg : "אנא בחר תבנית לפתיחה בעורך <BR>התוכן המקורי ימחק:", DlgTemplatesLoading : "מעלה רשימת תבניות אנא המתן", DlgTemplatesNoTpl : "(לא הוגדרו תבניות)", DlgTemplatesReplace : "החלפת תוכן ממשי", // About Dialog DlgAboutAboutTab : "אודות", DlgAboutBrowserInfoTab : "גירסת דפדפן", DlgAboutLicenseTab : "רשיון", DlgAboutVersion : "גירסא", DlgAboutInfo : "מידע נוסף ניתן למצוא כאן:", // Div Dialog DlgDivGeneralTab : "כללי", DlgDivAdvancedTab : "מתקדם", DlgDivStyle : "סגנון", DlgDivInlineStyle : "סגנון בתוך השורה" };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Danish language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Skjul værktøjslinier", ToolbarExpand : "Vis værktøjslinier", // Toolbar Items and Context Menu Save : "Gem", NewPage : "Ny side", Preview : "Vis eksempel", Cut : "Klip", Copy : "Kopier", Paste : "Indsæt", PasteText : "Indsæt som ikke-formateret tekst", PasteWord : "Indsæt fra Word", Print : "Udskriv", SelectAll : "Vælg alt", RemoveFormat : "Fjern formatering", InsertLinkLbl : "Hyperlink", InsertLink : "Indsæt/rediger hyperlink", RemoveLink : "Fjern hyperlink", VisitLink : "Open Link", //MISSING Anchor : "Indsæt/rediger bogmærke", AnchorDelete : "Remove Anchor", //MISSING InsertImageLbl : "Indsæt billede", InsertImage : "Indsæt/rediger billede", InsertFlashLbl : "Flash", InsertFlash : "Indsæt/rediger Flash", InsertTableLbl : "Table", InsertTable : "Indsæt/rediger tabel", InsertLineLbl : "Linie", InsertLine : "Indsæt vandret linie", InsertSpecialCharLbl: "Symbol", InsertSpecialChar : "Indsæt symbol", InsertSmileyLbl : "Smiley", InsertSmiley : "Indsæt smiley", About : "Om FCKeditor", Bold : "Fed", Italic : "Kursiv", Underline : "Understreget", StrikeThrough : "Overstreget", Subscript : "Sænket skrift", Superscript : "Hævet skrift", LeftJustify : "Venstrestillet", CenterJustify : "Centreret", RightJustify : "Højrestillet", BlockJustify : "Lige margener", DecreaseIndent : "Formindsk indrykning", IncreaseIndent : "Forøg indrykning", Blockquote : "Blockquote", //MISSING CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "Fortryd", Redo : "Annuller fortryd", NumberedListLbl : "Talopstilling", NumberedList : "Indsæt/fjern talopstilling", BulletedListLbl : "Punktopstilling", BulletedList : "Indsæt/fjern punktopstilling", ShowTableBorders : "Vis tabelkanter", ShowDetails : "Vis detaljer", Style : "Typografi", FontFormat : "Formatering", Font : "Skrifttype", FontSize : "Skriftstørrelse", TextColor : "Tekstfarve", BGColor : "Baggrundsfarve", Source : "Kilde", Find : "Søg", Replace : "Erstat", SpellCheck : "Stavekontrol", UniversalKeyboard : "Universaltastatur", PageBreakLbl : "Sidskift", PageBreak : "Indsæt sideskift", Form : "Indsæt formular", Checkbox : "Indsæt afkrydsningsfelt", RadioButton : "Indsæt alternativknap", TextField : "Indsæt tekstfelt", Textarea : "Indsæt tekstboks", HiddenField : "Indsæt skjult felt", Button : "Indsæt knap", SelectionField : "Indsæt liste", ImageButton : "Indsæt billedknap", FitWindow : "Maksimer editor vinduet", ShowBlocks : "Show Blocks", //MISSING // Context Menu EditLink : "Rediger hyperlink", CellCM : "Celle", RowCM : "Række", ColumnCM : "Kolonne", InsertRowAfter : "Insert Row After", //MISSING InsertRowBefore : "Insert Row Before", //MISSING DeleteRows : "Slet række", InsertColumnAfter : "Insert Column After", //MISSING InsertColumnBefore : "Insert Column Before", //MISSING DeleteColumns : "Slet kolonne", InsertCellAfter : "Insert Cell After", //MISSING InsertCellBefore : "Insert Cell Before", //MISSING DeleteCells : "Slet celle", MergeCells : "Flet celler", MergeRight : "Merge Right", //MISSING MergeDown : "Merge Down", //MISSING HorizontalSplitCell : "Split Cell Horizontally", //MISSING VerticalSplitCell : "Split Cell Vertically", //MISSING TableDelete : "Slet tabel", CellProperties : "Egenskaber for celle", TableProperties : "Egenskaber for tabel", ImageProperties : "Egenskaber for billede", FlashProperties : "Egenskaber for Flash", AnchorProp : "Egenskaber for bogmærke", ButtonProp : "Egenskaber for knap", CheckboxProp : "Egenskaber for afkrydsningsfelt", HiddenFieldProp : "Egenskaber for skjult felt", RadioButtonProp : "Egenskaber for alternativknap", ImageButtonProp : "Egenskaber for billedknap", TextFieldProp : "Egenskaber for tekstfelt", SelectionFieldProp : "Egenskaber for liste", TextareaProp : "Egenskaber for tekstboks", FormProp : "Egenskaber for formular", FontFormats : "Normal;Formateret;Adresse;Overskrift 1;Overskrift 2;Overskrift 3;Overskrift 4;Overskrift 5;Overskrift 6;Normal (DIV)", // Alerts and Messages ProcessingXHTML : "Behandler XHTML...", Done : "Færdig", PasteWordConfirm : "Den tekst du forsøger at indsætte ser ud til at komme fra Word.<br>Vil du rense teksten før den indsættes?", NotCompatiblePaste : "Denne kommando er tilgændelig i Internet Explorer 5.5 eller senere.<br>Vil du indsætte teksten uden at rense den ?", UnknownToolbarItem : "Ukendt værktøjslinjeobjekt \"%1\"!", UnknownCommand : "Ukendt kommandonavn \"%1\"!", NotImplemented : "Kommandoen er ikke implementeret!", UnknownToolbarSet : "Værktøjslinjen \"%1\" eksisterer ikke!", NoActiveX : "Din browsers sikkerhedsindstillinger begrænser nogle af editorens muligheder.<br>Slå \"Kør ActiveX-objekter og plug-ins\" til, ellers vil du opleve fejl og manglende muligheder.", BrowseServerBlocked : "Browseren kunne ikke åbne de nødvendige ressourcer!<br>Slå pop-up blokering fra.", DialogBlocked : "Dialogvinduet kunne ikke åbnes!<br>Slå pop-up blokering fra.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Annuller", DlgBtnClose : "Luk", DlgBtnBrowseServer : "Gennemse...", DlgAdvancedTag : "Avanceret", DlgOpOther : "<Andet>", DlgInfoTab : "Generelt", DlgAlertUrl : "Indtast URL", // General Dialogs Labels DlgGenNotSet : "<intet valgt>", DlgGenId : "Id", DlgGenLangDir : "Tekstretning", DlgGenLangDirLtr : "Fra venstre mod højre (LTR)", DlgGenLangDirRtl : "Fra højre mod venstre (RTL)", DlgGenLangCode : "Sprogkode", DlgGenAccessKey : "Genvejstast", DlgGenName : "Navn", DlgGenTabIndex : "Tabulator indeks", DlgGenLongDescr : "Udvidet beskrivelse", DlgGenClass : "Typografiark", DlgGenTitle : "Titel", DlgGenContType : "Indholdstype", DlgGenLinkCharset : "Tegnsæt", DlgGenStyle : "Typografi", // Image Dialog DlgImgTitle : "Egenskaber for billede", DlgImgInfoTab : "Generelt", DlgImgBtnUpload : "Upload", DlgImgURL : "URL", DlgImgUpload : "Upload", DlgImgAlt : "Alternativ tekst", DlgImgWidth : "Bredde", DlgImgHeight : "Højde", DlgImgLockRatio : "Lås størrelsesforhold", DlgBtnResetSize : "Nulstil størrelse", DlgImgBorder : "Ramme", DlgImgHSpace : "HMargen", DlgImgVSpace : "VMargen", DlgImgAlign : "Justering", DlgImgAlignLeft : "Venstre", DlgImgAlignAbsBottom: "Absolut nederst", DlgImgAlignAbsMiddle: "Absolut centreret", DlgImgAlignBaseline : "Grundlinje", DlgImgAlignBottom : "Nederst", DlgImgAlignMiddle : "Centreret", DlgImgAlignRight : "Højre", DlgImgAlignTextTop : "Toppen af teksten", DlgImgAlignTop : "Øverst", DlgImgPreview : "Vis eksempel", DlgImgAlertUrl : "Indtast stien til billedet", DlgImgLinkTab : "Hyperlink", // Flash Dialog DlgFlashTitle : "Egenskaber for Flash", DlgFlashChkPlay : "Automatisk afspilning", DlgFlashChkLoop : "Gentagelse", DlgFlashChkMenu : "Vis Flash menu", DlgFlashScale : "Skalér", DlgFlashScaleAll : "Vis alt", DlgFlashScaleNoBorder : "Ingen ramme", DlgFlashScaleFit : "Tilpas størrelse", // Link Dialog DlgLnkWindowTitle : "Egenskaber for hyperlink", DlgLnkInfoTab : "Generelt", DlgLnkTargetTab : "Mål", DlgLnkType : "Hyperlink type", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Bogmærke på denne side", DlgLnkTypeEMail : "E-mail", DlgLnkProto : "Protokol", DlgLnkProtoOther : "<anden>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Vælg et anker", DlgLnkAnchorByName : "Efter anker navn", DlgLnkAnchorById : "Efter element Id", DlgLnkNoAnchors : "(Ingen bogmærker dokumentet)", DlgLnkEMail : "E-mailadresse", DlgLnkEMailSubject : "Emne", DlgLnkEMailBody : "Brødtekst", DlgLnkUpload : "Upload", DlgLnkBtnUpload : "Upload", DlgLnkTarget : "Mål", DlgLnkTargetFrame : "<ramme>", DlgLnkTargetPopup : "<popup vindue>", DlgLnkTargetBlank : "Nyt vindue (_blank)", DlgLnkTargetParent : "Overordnet ramme (_parent)", DlgLnkTargetSelf : "Samme vindue (_self)", DlgLnkTargetTop : "Hele vinduet (_top)", DlgLnkTargetFrameName : "Destinationsvinduets navn", DlgLnkPopWinName : "Pop-up vinduets navn", DlgLnkPopWinFeat : "Egenskaber for pop-up", DlgLnkPopResize : "Skalering", DlgLnkPopLocation : "Adresselinje", DlgLnkPopMenu : "Menulinje", DlgLnkPopScroll : "Scrollbars", DlgLnkPopStatus : "Statuslinje", DlgLnkPopToolbar : "Værktøjslinje", DlgLnkPopFullScrn : "Fuld skærm (IE)", DlgLnkPopDependent : "Koblet/dependent (Netscape)", DlgLnkPopWidth : "Bredde", DlgLnkPopHeight : "Højde", DlgLnkPopLeft : "Position fra venstre", DlgLnkPopTop : "Position fra toppen", DlnLnkMsgNoUrl : "Indtast hyperlink URL!", DlnLnkMsgNoEMail : "Indtast e-mailaddresse!", DlnLnkMsgNoAnchor : "Vælg bogmærke!", DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING // Color Dialog DlgColorTitle : "Vælg farve", DlgColorBtnClear : "Nulstil", DlgColorHighlight : "Markeret", DlgColorSelected : "Valgt", // Smiley Dialog DlgSmileyTitle : "Vælg smiley", // Special Character Dialog DlgSpecialCharTitle : "Vælg symbol", // Table Dialog DlgTableTitle : "Egenskaber for tabel", DlgTableRows : "Rækker", DlgTableColumns : "Kolonner", DlgTableBorder : "Rammebredde", DlgTableAlign : "Justering", DlgTableAlignNotSet : "<intet valgt>", DlgTableAlignLeft : "Venstrestillet", DlgTableAlignCenter : "Centreret", DlgTableAlignRight : "Højrestillet", DlgTableWidth : "Bredde", DlgTableWidthPx : "pixels", DlgTableWidthPc : "procent", DlgTableHeight : "Højde", DlgTableCellSpace : "Celleafstand", DlgTableCellPad : "Cellemargen", DlgTableCaption : "Titel", DlgTableSummary : "Resume", // Table Cell Dialog DlgCellTitle : "Egenskaber for celle", DlgCellWidth : "Bredde", DlgCellWidthPx : "pixels", DlgCellWidthPc : "procent", DlgCellHeight : "Højde", DlgCellWordWrap : "Orddeling", DlgCellWordWrapNotSet : "<intet valgt>", DlgCellWordWrapYes : "Ja", DlgCellWordWrapNo : "Nej", DlgCellHorAlign : "Vandret justering", DlgCellHorAlignNotSet : "<intet valgt>", DlgCellHorAlignLeft : "Venstrestillet", DlgCellHorAlignCenter : "Centreret", DlgCellHorAlignRight: "Højrestillet", DlgCellVerAlign : "Lodret justering", DlgCellVerAlignNotSet : "<intet valgt>", DlgCellVerAlignTop : "Øverst", DlgCellVerAlignMiddle : "Centreret", DlgCellVerAlignBottom : "Nederst", DlgCellVerAlignBaseline : "Grundlinje", DlgCellRowSpan : "Højde i antal rækker", DlgCellCollSpan : "Bredde i antal kolonner", DlgCellBackColor : "Baggrundsfarve", DlgCellBorderColor : "Rammefarve", DlgCellBtnSelect : "Vælg...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Find and Replace", //MISSING // Find Dialog DlgFindTitle : "Find", DlgFindFindBtn : "Find", DlgFindNotFoundMsg : "Søgeteksten blev ikke fundet!", // Replace Dialog DlgReplaceTitle : "Erstat", DlgReplaceFindLbl : "Søg efter:", DlgReplaceReplaceLbl : "Erstat med:", DlgReplaceCaseChk : "Forskel på store og små bogstaver", DlgReplaceReplaceBtn : "Erstat", DlgReplaceReplAllBtn : "Erstat alle", DlgReplaceWordChk : "Kun hele ord", // Paste Operations / Dialog PasteErrorCut : "Din browsers sikkerhedsindstillinger tillader ikke editoren at klippe tekst automatisk!<br>Brug i stedet tastaturet til at klippe teksten (Ctrl+X).", PasteErrorCopy : "Din browsers sikkerhedsindstillinger tillader ikke editoren at kopiere tekst automatisk!<br>Brug i stedet tastaturet til at kopiere teksten (Ctrl+C).", PasteAsText : "Indsæt som ikke-formateret tekst", PasteFromWord : "Indsæt fra Word", DlgPasteMsg2 : "Indsæt i feltet herunder (<STRONG>Ctrl+V</STRONG>) og klik <STRONG>OK</STRONG>.", DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING DlgPasteIgnoreFont : "Ignorer font definitioner", DlgPasteRemoveStyles : "Ignorer typografi", // Color Picker ColorAutomatic : "Automatisk", ColorMoreColors : "Flere farver...", // Document Properties DocProps : "Egenskaber for dokument", // Anchor Dialog DlgAnchorTitle : "Egenskaber for bogmærke", DlgAnchorName : "Bogmærke navn", DlgAnchorErrorName : "Indtast bogmærke navn!", // Speller Pages Dialog DlgSpellNotInDic : "Ikke i ordbogen", DlgSpellChangeTo : "Forslag", DlgSpellBtnIgnore : "Ignorer", DlgSpellBtnIgnoreAll : "Ignorer alle", DlgSpellBtnReplace : "Erstat", DlgSpellBtnReplaceAll : "Erstat alle", DlgSpellBtnUndo : "Tilbage", DlgSpellNoSuggestions : "- ingen forslag -", DlgSpellProgress : "Stavekontrolen arbejder...", DlgSpellNoMispell : "Stavekontrol færdig: Ingen fejl fundet", DlgSpellNoChanges : "Stavekontrol færdig: Ingen ord ændret", DlgSpellOneChange : "Stavekontrol færdig: Et ord ændret", DlgSpellManyChanges : "Stavekontrol færdig: %1 ord ændret", IeSpellDownload : "Stavekontrol ikke installeret.<br>Vil du hente den nu?", // Button Dialog DlgButtonText : "Tekst", DlgButtonType : "Type", DlgButtonTypeBtn : "Button", //MISSING DlgButtonTypeSbm : "Submit", //MISSING DlgButtonTypeRst : "Reset", //MISSING // Checkbox and Radio Button Dialogs DlgCheckboxName : "Navn", DlgCheckboxValue : "Værdi", DlgCheckboxSelected : "Valgt", // Form Dialog DlgFormName : "Navn", DlgFormAction : "Handling", DlgFormMethod : "Metod", // Select Field Dialog DlgSelectName : "Navn", DlgSelectValue : "Værdi", DlgSelectSize : "Størrelse", DlgSelectLines : "linier", DlgSelectChkMulti : "Tillad flere valg", DlgSelectOpAvail : "Valgmuligheder", DlgSelectOpText : "Tekst", DlgSelectOpValue : "Værdi", DlgSelectBtnAdd : "Tilføj", DlgSelectBtnModify : "Rediger", DlgSelectBtnUp : "Op", DlgSelectBtnDown : "Ned", DlgSelectBtnSetValue : "Sæt som valgt", DlgSelectBtnDelete : "Slet", // Textarea Dialog DlgTextareaName : "Navn", DlgTextareaCols : "Kolonner", DlgTextareaRows : "Rækker", // Text Field Dialog DlgTextName : "Navn", DlgTextValue : "Værdi", DlgTextCharWidth : "Bredde (tegn)", DlgTextMaxChars : "Max antal tegn", DlgTextType : "Type", DlgTextTypeText : "Tekst", DlgTextTypePass : "Adgangskode", // Hidden Field Dialog DlgHiddenName : "Navn", DlgHiddenValue : "Værdi", // Bulleted List Dialog BulletedListProp : "Egenskaber for punktopstilling", NumberedListProp : "Egenskaber for talopstilling", DlgLstStart : "Start", //MISSING DlgLstType : "Type", DlgLstTypeCircle : "Cirkel", DlgLstTypeDisc : "Udfyldt cirkel", DlgLstTypeSquare : "Firkant", DlgLstTypeNumbers : "Nummereret (1, 2, 3)", DlgLstTypeLCase : "Små bogstaver (a, b, c)", DlgLstTypeUCase : "Store bogstaver (A, B, C)", DlgLstTypeSRoman : "Små romertal (i, ii, iii)", DlgLstTypeLRoman : "Store romertal (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Generelt", DlgDocBackTab : "Baggrund", DlgDocColorsTab : "Farver og margen", DlgDocMetaTab : "Metadata", DlgDocPageTitle : "Sidetitel", DlgDocLangDir : "Sprog", DlgDocLangDirLTR : "Fra venstre mod højre (LTR)", DlgDocLangDirRTL : "Fra højre mod venstre (RTL)", DlgDocLangCode : "Landekode", DlgDocCharSet : "Tegnsæt kode", DlgDocCharSetCE : "Central European", //MISSING DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING DlgDocCharSetCR : "Cyrillic", //MISSING DlgDocCharSetGR : "Greek", //MISSING DlgDocCharSetJP : "Japanese", //MISSING DlgDocCharSetKR : "Korean", //MISSING DlgDocCharSetTR : "Turkish", //MISSING DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING DlgDocCharSetWE : "Western European", //MISSING DlgDocCharSetOther : "Anden tegnsæt kode", DlgDocDocType : "Dokumenttype kategori", DlgDocDocTypeOther : "Anden dokumenttype kategori", DlgDocIncXHTML : "Inkludere XHTML deklartion", DlgDocBgColor : "Baggrundsfarve", DlgDocBgImage : "Baggrundsbillede URL", DlgDocBgNoScroll : "Fastlåst baggrund", DlgDocCText : "Tekst", DlgDocCLink : "Hyperlink", DlgDocCVisited : "Besøgt hyperlink", DlgDocCActive : "Aktivt hyperlink", DlgDocMargins : "Sidemargen", DlgDocMaTop : "Øverst", DlgDocMaLeft : "Venstre", DlgDocMaRight : "Højre", DlgDocMaBottom : "Nederst", DlgDocMeIndex : "Dokument index nøgleord (kommasepareret)", DlgDocMeDescr : "Dokument beskrivelse", DlgDocMeAuthor : "Forfatter", DlgDocMeCopy : "Copyright", DlgDocPreview : "Vis", // Templates Dialog Templates : "Skabeloner", DlgTemplatesTitle : "Indholdsskabeloner", DlgTemplatesSelMsg : "Vælg den skabelon, som skal åbnes i editoren.<br>(Nuværende indhold vil blive overskrevet!):", DlgTemplatesLoading : "Henter liste over skabeloner...", DlgTemplatesNoTpl : "(Der er ikke defineret nogen skabelon!)", DlgTemplatesReplace : "Replace actual contents", //MISSING // About Dialog DlgAboutAboutTab : "Om", DlgAboutBrowserInfoTab : "Generelt", DlgAboutLicenseTab : "Licens", DlgAboutVersion : "version", DlgAboutInfo : "For yderlig information gå til", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Hungarian language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Eszköztár elrejtése", ToolbarExpand : "Eszköztár megjelenítése", // Toolbar Items and Context Menu Save : "Mentés", NewPage : "Új oldal", Preview : "Előnézet", Cut : "Kivágás", Copy : "Másolás", Paste : "Beillesztés", PasteText : "Beillesztés formázás nélkül", PasteWord : "Beillesztés Word-ből", Print : "Nyomtatás", SelectAll : "Mindent kijelöl", RemoveFormat : "Formázás eltávolítása", InsertLinkLbl : "Hivatkozás", InsertLink : "Hivatkozás beillesztése/módosítása", RemoveLink : "Hivatkozás törlése", VisitLink : "Open Link", //MISSING Anchor : "Horgony beillesztése/szerkesztése", AnchorDelete : "Horgony eltávolítása", InsertImageLbl : "Kép", InsertImage : "Kép beillesztése/módosítása", InsertFlashLbl : "Flash", InsertFlash : "Flash beillesztése, módosítása", InsertTableLbl : "Táblázat", InsertTable : "Táblázat beillesztése/módosítása", InsertLineLbl : "Vonal", InsertLine : "Elválasztóvonal beillesztése", InsertSpecialCharLbl: "Speciális karakter", InsertSpecialChar : "Speciális karakter beillesztése", InsertSmileyLbl : "Hangulatjelek", InsertSmiley : "Hangulatjelek beillesztése", About : "FCKeditor névjegy", Bold : "Félkövér", Italic : "Dőlt", Underline : "Aláhúzott", StrikeThrough : "Áthúzott", Subscript : "Alsó index", Superscript : "Felső index", LeftJustify : "Balra", CenterJustify : "Középre", RightJustify : "Jobbra", BlockJustify : "Sorkizárt", DecreaseIndent : "Behúzás csökkentése", IncreaseIndent : "Behúzás növelése", Blockquote : "Idézet blokk", CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "Visszavonás", Redo : "Ismétlés", NumberedListLbl : "Számozás", NumberedList : "Számozás beillesztése/törlése", BulletedListLbl : "Felsorolás", BulletedList : "Felsorolás beillesztése/törlése", ShowTableBorders : "Táblázat szegély mutatása", ShowDetails : "Részletek mutatása", Style : "Stílus", FontFormat : "Formátum", Font : "Betűtípus", FontSize : "Méret", TextColor : "Betűszín", BGColor : "Háttérszín", Source : "Forráskód", Find : "Keresés", Replace : "Csere", SpellCheck : "Helyesírás-ellenőrzés", UniversalKeyboard : "Univerzális billentyűzet", PageBreakLbl : "Oldaltörés", PageBreak : "Oldaltörés beillesztése", Form : "Űrlap", Checkbox : "Jelölőnégyzet", RadioButton : "Választógomb", TextField : "Szövegmező", Textarea : "Szövegterület", HiddenField : "Rejtettmező", Button : "Gomb", SelectionField : "Legördülő lista", ImageButton : "Képgomb", FitWindow : "Maximalizálás", ShowBlocks : "Blokkok megjelenítése", // Context Menu EditLink : "Hivatkozás módosítása", CellCM : "Cella", RowCM : "Sor", ColumnCM : "Oszlop", InsertRowAfter : "Sor beillesztése az aktuális sor mögé", InsertRowBefore : "Sor beillesztése az aktuális sor elé", DeleteRows : "Sorok törlése", InsertColumnAfter : "Oszlop beillesztése az aktuális oszlop mögé", InsertColumnBefore : "Oszlop beillesztése az aktuális oszlop elé", DeleteColumns : "Oszlopok törlése", InsertCellAfter : "Cella beillesztése az aktuális cella mögé", InsertCellBefore : "Cella beillesztése az aktuális cella elé", DeleteCells : "Cellák törlése", MergeCells : "Cellák egyesítése", MergeRight : "Cellák egyesítése jobbra", MergeDown : "Cellák egyesítése lefelé", HorizontalSplitCell : "Cellák szétválasztása vízszintesen", VerticalSplitCell : "Cellák szétválasztása függőlegesen", TableDelete : "Táblázat törlése", CellProperties : "Cella tulajdonságai", TableProperties : "Táblázat tulajdonságai", ImageProperties : "Kép tulajdonságai", FlashProperties : "Flash tulajdonságai", AnchorProp : "Horgony tulajdonságai", ButtonProp : "Gomb tulajdonságai", CheckboxProp : "Jelölőnégyzet tulajdonságai", HiddenFieldProp : "Rejtett mező tulajdonságai", RadioButtonProp : "Választógomb tulajdonságai", ImageButtonProp : "Képgomb tulajdonságai", TextFieldProp : "Szövegmező tulajdonságai", SelectionFieldProp : "Legördülő lista tulajdonságai", TextareaProp : "Szövegterület tulajdonságai", FormProp : "Űrlap tulajdonságai", FontFormats : "Normál;Formázott;Címsor;Fejléc 1;Fejléc 2;Fejléc 3;Fejléc 4;Fejléc 5;Fejléc 6;Bekezdés (DIV)", // Alerts and Messages ProcessingXHTML : "XHTML feldolgozása. Kérem várjon...", Done : "Kész", PasteWordConfirm : "A beilleszteni kívánt szöveg Word-ből van másolva. El kívánja távolítani a formázást a beillesztés előtt?", NotCompatiblePaste : "Ez a parancs csak Internet Explorer 5.5 verziótól használható. Megpróbálja beilleszteni a szöveget az eredeti formázással?", UnknownToolbarItem : "Ismeretlen eszköztár elem \"%1\"", UnknownCommand : "Ismeretlen parancs \"%1\"", NotImplemented : "A parancs nem hajtható végre", UnknownToolbarSet : "Az eszközkészlet \"%1\" nem létezik", NoActiveX : "A böngésző biztonsági beállításai korlátozzák a szerkesztő lehetőségeit. Engedélyezni kell ezt az opciót: \"Run ActiveX controls and plug-ins\". Ettől függetlenül előfordulhatnak hibaüzenetek ill. bizonyos funkciók hiányozhatnak.", BrowseServerBlocked : "Nem lehet megnyitni a fájlböngészőt. Bizonyosodjon meg róla, hogy a felbukkanó ablakok engedélyezve vannak.", DialogBlocked : "Nem lehet megnyitni a párbeszédablakot. Bizonyosodjon meg róla, hogy a felbukkanó ablakok engedélyezve vannak.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "Rendben", DlgBtnCancel : "Mégsem", DlgBtnClose : "Bezárás", DlgBtnBrowseServer : "Böngészés a szerveren", DlgAdvancedTag : "További opciók", DlgOpOther : "Egyéb", DlgInfoTab : "Alaptulajdonságok", DlgAlertUrl : "Illessze be a webcímet", // General Dialogs Labels DlgGenNotSet : "<nincs beállítva>", DlgGenId : "Azonosító", DlgGenLangDir : "Írás iránya", DlgGenLangDirLtr : "Balról jobbra", DlgGenLangDirRtl : "Jobbról balra", DlgGenLangCode : "Nyelv kódja", DlgGenAccessKey : "Billentyűkombináció", DlgGenName : "Név", DlgGenTabIndex : "Tabulátor index", DlgGenLongDescr : "Részletes leírás webcíme", DlgGenClass : "Stíluskészlet", DlgGenTitle : "Súgócimke", DlgGenContType : "Súgó tartalomtípusa", DlgGenLinkCharset : "Hivatkozott tartalom kódlapja", DlgGenStyle : "Stílus", // Image Dialog DlgImgTitle : "Kép tulajdonságai", DlgImgInfoTab : "Alaptulajdonságok", DlgImgBtnUpload : "Küldés a szerverre", DlgImgURL : "Hivatkozás", DlgImgUpload : "Feltöltés", DlgImgAlt : "Buborék szöveg", DlgImgWidth : "Szélesség", DlgImgHeight : "Magasság", DlgImgLockRatio : "Arány megtartása", DlgBtnResetSize : "Eredeti méret", DlgImgBorder : "Keret", DlgImgHSpace : "Vízsz. táv", DlgImgVSpace : "Függ. táv", DlgImgAlign : "Igazítás", DlgImgAlignLeft : "Bal", DlgImgAlignAbsBottom: "Legaljára", DlgImgAlignAbsMiddle: "Közepére", DlgImgAlignBaseline : "Alapvonalhoz", DlgImgAlignBottom : "Aljára", DlgImgAlignMiddle : "Középre", DlgImgAlignRight : "Jobbra", DlgImgAlignTextTop : "Szöveg tetejére", DlgImgAlignTop : "Tetejére", DlgImgPreview : "Előnézet", DlgImgAlertUrl : "Töltse ki a kép webcímét", DlgImgLinkTab : "Hivatkozás", // Flash Dialog DlgFlashTitle : "Flash tulajdonságai", DlgFlashChkPlay : "Automata lejátszás", DlgFlashChkLoop : "Folyamatosan", DlgFlashChkMenu : "Flash menü engedélyezése", DlgFlashScale : "Méretezés", DlgFlashScaleAll : "Mindent mutat", DlgFlashScaleNoBorder : "Keret nélkül", DlgFlashScaleFit : "Teljes kitöltés", // Link Dialog DlgLnkWindowTitle : "Hivatkozás tulajdonságai", DlgLnkInfoTab : "Alaptulajdonságok", DlgLnkTargetTab : "Megjelenítés", DlgLnkType : "Hivatkozás típusa", DlgLnkTypeURL : "Webcím", DlgLnkTypeAnchor : "Horgony az oldalon", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protokoll", DlgLnkProtoOther : "<más>", DlgLnkURL : "Webcím", DlgLnkAnchorSel : "Horgony választása", DlgLnkAnchorByName : "Horgony név szerint", DlgLnkAnchorById : "Azonosító szerint", DlgLnkNoAnchors : "(Nincs horgony a dokumentumban)", DlgLnkEMail : "E-Mail cím", DlgLnkEMailSubject : "Üzenet tárgya", DlgLnkEMailBody : "Üzenet", DlgLnkUpload : "Feltöltés", DlgLnkBtnUpload : "Küldés a szerverre", DlgLnkTarget : "Tartalom megjelenítése", DlgLnkTargetFrame : "<keretben>", DlgLnkTargetPopup : "<felugró ablakban>", DlgLnkTargetBlank : "Új ablakban (_blank)", DlgLnkTargetParent : "Szülő ablakban (_parent)", DlgLnkTargetSelf : "Azonos ablakban (_self)", DlgLnkTargetTop : "Legfelső ablakban (_top)", DlgLnkTargetFrameName : "Keret neve", DlgLnkPopWinName : "Felugró ablak neve", DlgLnkPopWinFeat : "Felugró ablak jellemzői", DlgLnkPopResize : "Méretezhető", DlgLnkPopLocation : "Címsor", DlgLnkPopMenu : "Menü sor", DlgLnkPopScroll : "Gördítősáv", DlgLnkPopStatus : "Állapotsor", DlgLnkPopToolbar : "Eszköztár", DlgLnkPopFullScrn : "Teljes képernyő (csak IE)", DlgLnkPopDependent : "Szülőhöz kapcsolt (csak Netscape)", DlgLnkPopWidth : "Szélesség", DlgLnkPopHeight : "Magasság", DlgLnkPopLeft : "Bal pozíció", DlgLnkPopTop : "Felső pozíció", DlnLnkMsgNoUrl : "Adja meg a hivatkozás webcímét", DlnLnkMsgNoEMail : "Adja meg az E-Mail címet", DlnLnkMsgNoAnchor : "Válasszon egy horgonyt", DlnLnkMsgInvPopName : "A felbukkanó ablak neve alfanumerikus karakterrel kezdôdjön, valamint ne tartalmazzon szóközt", // Color Dialog DlgColorTitle : "Színválasztás", DlgColorBtnClear : "Törlés", DlgColorHighlight : "Előnézet", DlgColorSelected : "Kiválasztott", // Smiley Dialog DlgSmileyTitle : "Hangulatjel beszúrása", // Special Character Dialog DlgSpecialCharTitle : "Speciális karakter választása", // Table Dialog DlgTableTitle : "Táblázat tulajdonságai", DlgTableRows : "Sorok", DlgTableColumns : "Oszlopok", DlgTableBorder : "Szegélyméret", DlgTableAlign : "Igazítás", DlgTableAlignNotSet : "<Nincs beállítva>", DlgTableAlignLeft : "Balra", DlgTableAlignCenter : "Középre", DlgTableAlignRight : "Jobbra", DlgTableWidth : "Szélesség", DlgTableWidthPx : "képpont", DlgTableWidthPc : "százalék", DlgTableHeight : "Magasság", DlgTableCellSpace : "Cella térköz", DlgTableCellPad : "Cella belső margó", DlgTableCaption : "Felirat", DlgTableSummary : "Leírás", // Table Cell Dialog DlgCellTitle : "Cella tulajdonságai", DlgCellWidth : "Szélesség", DlgCellWidthPx : "képpont", DlgCellWidthPc : "százalék", DlgCellHeight : "Magasság", DlgCellWordWrap : "Sortörés", DlgCellWordWrapNotSet : "<Nincs beállítva>", DlgCellWordWrapYes : "Igen", DlgCellWordWrapNo : "Nem", DlgCellHorAlign : "Vízsz. igazítás", DlgCellHorAlignNotSet : "<Nincs beállítva>", DlgCellHorAlignLeft : "Balra", DlgCellHorAlignCenter : "Középre", DlgCellHorAlignRight: "Jobbra", DlgCellVerAlign : "Függ. igazítás", DlgCellVerAlignNotSet : "<Nincs beállítva>", DlgCellVerAlignTop : "Tetejére", DlgCellVerAlignMiddle : "Középre", DlgCellVerAlignBottom : "Aljára", DlgCellVerAlignBaseline : "Egyvonalba", DlgCellRowSpan : "Sorok egyesítése", DlgCellCollSpan : "Oszlopok egyesítése", DlgCellBackColor : "Háttérszín", DlgCellBorderColor : "Szegélyszín", DlgCellBtnSelect : "Kiválasztás...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Keresés és csere", // Find Dialog DlgFindTitle : "Keresés", DlgFindFindBtn : "Keresés", DlgFindNotFoundMsg : "A keresett szöveg nem található.", // Replace Dialog DlgReplaceTitle : "Csere", DlgReplaceFindLbl : "Keresett szöveg:", DlgReplaceReplaceLbl : "Csere erre:", DlgReplaceCaseChk : "kis- és nagybetű megkülönböztetése", DlgReplaceReplaceBtn : "Csere", DlgReplaceReplAllBtn : "Az összes cseréje", DlgReplaceWordChk : "csak ha ez a teljes szó", // Paste Operations / Dialog PasteErrorCut : "A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a kivágás műveletet. Használja az alábbi billentyűkombinációt (Ctrl+X).", PasteErrorCopy : "A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a másolás műveletet. Használja az alábbi billentyűkombinációt (Ctrl+X).", PasteAsText : "Beillesztés formázatlan szövegként", PasteFromWord : "Beillesztés Word-ből", DlgPasteMsg2 : "Másolja be az alábbi mezőbe a <STRONG>Ctrl+V</STRONG> billentyűk lenyomásával, majd nyomjon <STRONG>Rendben</STRONG>-t.", DlgPasteSec : "A böngésző biztonsági beállításai miatt a szerkesztő nem képes hozzáférni a vágólap adataihoz. Illeszd be újra ebben az ablakban.", DlgPasteIgnoreFont : "Betű formázások megszüntetése", DlgPasteRemoveStyles : "Stílusok eltávolítása", // Color Picker ColorAutomatic : "Automatikus", ColorMoreColors : "További színek...", // Document Properties DocProps : "Dokumentum tulajdonságai", // Anchor Dialog DlgAnchorTitle : "Horgony tulajdonságai", DlgAnchorName : "Horgony neve", DlgAnchorErrorName : "Kérem adja meg a horgony nevét", // Speller Pages Dialog DlgSpellNotInDic : "Nincs a szótárban", DlgSpellChangeTo : "Módosítás", DlgSpellBtnIgnore : "Kihagyja", DlgSpellBtnIgnoreAll : "Mindet kihagyja", DlgSpellBtnReplace : "Csere", DlgSpellBtnReplaceAll : "Összes cseréje", DlgSpellBtnUndo : "Visszavonás", DlgSpellNoSuggestions : "Nincs javaslat", DlgSpellProgress : "Helyesírás-ellenőrzés folyamatban...", DlgSpellNoMispell : "Helyesírás-ellenőrzés kész: Nem találtam hibát", DlgSpellNoChanges : "Helyesírás-ellenőrzés kész: Nincs változtatott szó", DlgSpellOneChange : "Helyesírás-ellenőrzés kész: Egy szó cserélve", DlgSpellManyChanges : "Helyesírás-ellenőrzés kész: %1 szó cserélve", IeSpellDownload : "A helyesírás-ellenőrző nincs telepítve. Szeretné letölteni most?", // Button Dialog DlgButtonText : "Szöveg (Érték)", DlgButtonType : "Típus", DlgButtonTypeBtn : "Gomb", DlgButtonTypeSbm : "Küldés", DlgButtonTypeRst : "Alaphelyzet", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Név", DlgCheckboxValue : "Érték", DlgCheckboxSelected : "Kiválasztott", // Form Dialog DlgFormName : "Név", DlgFormAction : "Adatfeldolgozást végző hivatkozás", DlgFormMethod : "Adatküldés módja", // Select Field Dialog DlgSelectName : "Név", DlgSelectValue : "Érték", DlgSelectSize : "Méret", DlgSelectLines : "sor", DlgSelectChkMulti : "több sor is kiválasztható", DlgSelectOpAvail : "Elérhető opciók", DlgSelectOpText : "Szöveg", DlgSelectOpValue : "Érték", DlgSelectBtnAdd : "Hozzáad", DlgSelectBtnModify : "Módosít", DlgSelectBtnUp : "Fel", DlgSelectBtnDown : "Le", DlgSelectBtnSetValue : "Legyen az alapértelmezett érték", DlgSelectBtnDelete : "Töröl", // Textarea Dialog DlgTextareaName : "Név", DlgTextareaCols : "Karakterek száma egy sorban", DlgTextareaRows : "Sorok száma", // Text Field Dialog DlgTextName : "Név", DlgTextValue : "Érték", DlgTextCharWidth : "Megjelenített karakterek száma", DlgTextMaxChars : "Maximális karakterszám", DlgTextType : "Típus", DlgTextTypeText : "Szöveg", DlgTextTypePass : "Jelszó", // Hidden Field Dialog DlgHiddenName : "Név", DlgHiddenValue : "Érték", // Bulleted List Dialog BulletedListProp : "Felsorolás tulajdonságai", NumberedListProp : "Számozás tulajdonságai", DlgLstStart : "Start", DlgLstType : "Formátum", DlgLstTypeCircle : "Kör", DlgLstTypeDisc : "Lemez", DlgLstTypeSquare : "Négyzet", DlgLstTypeNumbers : "Számok (1, 2, 3)", DlgLstTypeLCase : "Kisbetűk (a, b, c)", DlgLstTypeUCase : "Nagybetűk (A, B, C)", DlgLstTypeSRoman : "Kis római számok (i, ii, iii)", DlgLstTypeLRoman : "Nagy római számok (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Általános", DlgDocBackTab : "Háttér", DlgDocColorsTab : "Színek és margók", DlgDocMetaTab : "Meta adatok", DlgDocPageTitle : "Oldalcím", DlgDocLangDir : "Írás iránya", DlgDocLangDirLTR : "Balról jobbra", DlgDocLangDirRTL : "Jobbról balra", DlgDocLangCode : "Nyelv kód", DlgDocCharSet : "Karakterkódolás", DlgDocCharSetCE : "Közép-Európai", DlgDocCharSetCT : "Kínai Tradicionális (Big5)", DlgDocCharSetCR : "Cyrill", DlgDocCharSetGR : "Görög", DlgDocCharSetJP : "Japán", DlgDocCharSetKR : "Koreai", DlgDocCharSetTR : "Török", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "Nyugat-Európai", DlgDocCharSetOther : "Más karakterkódolás", DlgDocDocType : "Dokumentum típus fejléc", DlgDocDocTypeOther : "Más dokumentum típus fejléc", DlgDocIncXHTML : "XHTML deklarációk beillesztése", DlgDocBgColor : "Háttérszín", DlgDocBgImage : "Háttérkép cím", DlgDocBgNoScroll : "Nem gördíthető háttér", DlgDocCText : "Szöveg", DlgDocCLink : "Cím", DlgDocCVisited : "Látogatott cím", DlgDocCActive : "Aktív cím", DlgDocMargins : "Oldal margók", DlgDocMaTop : "Felső", DlgDocMaLeft : "Bal", DlgDocMaRight : "Jobb", DlgDocMaBottom : "Alsó", DlgDocMeIndex : "Dokumentum keresőszavak (vesszővel elválasztva)", DlgDocMeDescr : "Dokumentum leírás", DlgDocMeAuthor : "Szerző", DlgDocMeCopy : "Szerzői jog", DlgDocPreview : "Előnézet", // Templates Dialog Templates : "Sablonok", DlgTemplatesTitle : "Elérhető sablonok", DlgTemplatesSelMsg : "Válassza ki melyik sablon nyíljon meg a szerkesztőben<br>(a jelenlegi tartalom elveszik):", DlgTemplatesLoading : "Sablon lista betöltése. Kis türelmet...", DlgTemplatesNoTpl : "(Nincs sablon megadva)", DlgTemplatesReplace : "Kicseréli a jelenlegi tartalmat", // About Dialog DlgAboutAboutTab : "Névjegy", DlgAboutBrowserInfoTab : "Böngésző információ", DlgAboutLicenseTab : "Licensz", DlgAboutVersion : "verzió", DlgAboutInfo : "További információkért látogasson el ide:", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Swedish language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Dölj verktygsfält", ToolbarExpand : "Visa verktygsfält", // Toolbar Items and Context Menu Save : "Spara", NewPage : "Ny sida", Preview : "Förhandsgranska", Cut : "Klipp ut", Copy : "Kopiera", Paste : "Klistra in", PasteText : "Klistra in som text", PasteWord : "Klistra in från Word", Print : "Skriv ut", SelectAll : "Markera allt", RemoveFormat : "Radera formatering", InsertLinkLbl : "Länk", InsertLink : "Infoga/Redigera länk", RemoveLink : "Radera länk", VisitLink : "Open Link", //MISSING Anchor : "Infoga/Redigera ankarlänk", AnchorDelete : "Radera ankarlänk", InsertImageLbl : "Bild", InsertImage : "Infoga/Redigera bild", InsertFlashLbl : "Flash", InsertFlash : "Infoga/Redigera Flash", InsertTableLbl : "Tabell", InsertTable : "Infoga/Redigera tabell", InsertLineLbl : "Linje", InsertLine : "Infoga horisontal linje", InsertSpecialCharLbl: "Utökade tecken", InsertSpecialChar : "Klistra in utökat tecken", InsertSmileyLbl : "Smiley", InsertSmiley : "Infoga Smiley", About : "Om FCKeditor", Bold : "Fet", Italic : "Kursiv", Underline : "Understruken", StrikeThrough : "Genomstruken", Subscript : "Nedsänkta tecken", Superscript : "Upphöjda tecken", LeftJustify : "Vänsterjustera", CenterJustify : "Centrera", RightJustify : "Högerjustera", BlockJustify : "Justera till marginaler", DecreaseIndent : "Minska indrag", IncreaseIndent : "Öka indrag", Blockquote : "Blockquote", //MISSING CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "Ångra", Redo : "Gör om", NumberedListLbl : "Numrerad lista", NumberedList : "Infoga/Radera numrerad lista", BulletedListLbl : "Punktlista", BulletedList : "Infoga/Radera punktlista", ShowTableBorders : "Visa tabellkant", ShowDetails : "Visa radbrytningar", Style : "Anpassad stil", FontFormat : "Teckenformat", Font : "Typsnitt", FontSize : "Storlek", TextColor : "Textfärg", BGColor : "Bakgrundsfärg", Source : "Källa", Find : "Sök", Replace : "Ersätt", SpellCheck : "Stavningskontroll", UniversalKeyboard : "Universellt tangentbord", PageBreakLbl : "Sidbrytning", PageBreak : "Infoga sidbrytning", Form : "Formulär", Checkbox : "Kryssruta", RadioButton : "Alternativknapp", TextField : "Textfält", Textarea : "Textruta", HiddenField : "Dolt fält", Button : "Knapp", SelectionField : "Flervalslista", ImageButton : "Bildknapp", FitWindow : "Anpassa till fönstrets storlek", ShowBlocks : "Show Blocks", //MISSING // Context Menu EditLink : "Redigera länk", CellCM : "Cell", RowCM : "Rad", ColumnCM : "Kolumn", InsertRowAfter : "Lägg till Rad Efter", InsertRowBefore : "Lägg till Rad Före", DeleteRows : "Radera rad", InsertColumnAfter : "Lägg till Kolumn Efter", InsertColumnBefore : "Lägg till Kolumn Före", DeleteColumns : "Radera kolumn", InsertCellAfter : "Lägg till Cell Efter", InsertCellBefore : "Lägg till Cell Före", DeleteCells : "Radera celler", MergeCells : "Sammanfoga celler", MergeRight : "Sammanfoga Höger", MergeDown : "Sammanfoga Ner", HorizontalSplitCell : "Dela Cell Horisontellt", VerticalSplitCell : "Dela Cell Vertikalt", TableDelete : "Radera tabell", CellProperties : "Cellegenskaper", TableProperties : "Tabellegenskaper", ImageProperties : "Bildegenskaper", FlashProperties : "Flashegenskaper", AnchorProp : "Egenskaper för ankarlänk", ButtonProp : "Egenskaper för knapp", CheckboxProp : "Egenskaper för kryssruta", HiddenFieldProp : "Egenskaper för dolt fält", RadioButtonProp : "Egenskaper för alternativknapp", ImageButtonProp : "Egenskaper för bildknapp", TextFieldProp : "Egenskaper för textfält", SelectionFieldProp : "Egenskaper för flervalslista", TextareaProp : "Egenskaper för textruta", FormProp : "Egenskaper för formulär", FontFormats : "Normal;Formaterad;Adress;Rubrik 1;Rubrik 2;Rubrik 3;Rubrik 4;Rubrik 5;Rubrik 6;Normal (DIV)", // Alerts and Messages ProcessingXHTML : "Bearbetar XHTML. Var god vänta...", Done : "Klar", PasteWordConfirm : "Texten du vill klistra in verkar vara kopierad från Word. Vill du rensa innan du klistar in?", NotCompatiblePaste : "Denna åtgärd är inte tillgängligt för Internet Explorer version 5.5 eller högre. Vill du klistra in utan att rensa?", UnknownToolbarItem : "Okänt verktygsfält \"%1\"", UnknownCommand : "Okänt kommando \"%1\"", NotImplemented : "Kommandot finns ej", UnknownToolbarSet : "Verktygsfält \"%1\" finns ej", NoActiveX : "Din webläsares säkerhetsinställningar kan begränsa funktionaliteten. Du bör aktivera \"Kör ActiveX kontroller och plug-ins\". Fel och avsaknad av funktioner kan annars uppstå.", BrowseServerBlocked : "Kunde Ej öppna resursfönstret. Var god och avaktivera alla popup-blockerare.", DialogBlocked : "Kunde Ej öppna dialogfönstret. Var god och avaktivera alla popup-blockerare.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Avbryt", DlgBtnClose : "Stäng", DlgBtnBrowseServer : "Bläddra på server", DlgAdvancedTag : "Avancerad", DlgOpOther : "Övrigt", DlgInfoTab : "Information", DlgAlertUrl : "Var god och ange en URL", // General Dialogs Labels DlgGenNotSet : "<ej angivet>", DlgGenId : "Id", DlgGenLangDir : "Språkriktning", DlgGenLangDirLtr : "Vänster till Höger (VTH)", DlgGenLangDirRtl : "Höger till Vänster (HTV)", DlgGenLangCode : "Språkkod", DlgGenAccessKey : "Behörighetsnyckel", DlgGenName : "Namn", DlgGenTabIndex : "Tabindex", DlgGenLongDescr : "URL-beskrivning", DlgGenClass : "Stylesheet class", DlgGenTitle : "Titel", DlgGenContType : "Innehållstyp", DlgGenLinkCharset : "Teckenuppställning", DlgGenStyle : "Style", // Image Dialog DlgImgTitle : "Bildegenskaper", DlgImgInfoTab : "Bildinformation", DlgImgBtnUpload : "Skicka till server", DlgImgURL : "URL", DlgImgUpload : "Ladda upp", DlgImgAlt : "Alternativ text", DlgImgWidth : "Bredd", DlgImgHeight : "Höjd", DlgImgLockRatio : "Lås höjd/bredd förhållanden", DlgBtnResetSize : "Återställ storlek", DlgImgBorder : "Kant", DlgImgHSpace : "Horis. marginal", DlgImgVSpace : "Vert. marginal", DlgImgAlign : "Justering", DlgImgAlignLeft : "Vänster", DlgImgAlignAbsBottom: "Absolut nederkant", DlgImgAlignAbsMiddle: "Absolut centrering", DlgImgAlignBaseline : "Baslinje", DlgImgAlignBottom : "Nederkant", DlgImgAlignMiddle : "Mitten", DlgImgAlignRight : "Höger", DlgImgAlignTextTop : "Text överkant", DlgImgAlignTop : "Överkant", DlgImgPreview : "Förhandsgranska", DlgImgAlertUrl : "Var god och ange bildens URL", DlgImgLinkTab : "Länk", // Flash Dialog DlgFlashTitle : "Flashegenskaper", DlgFlashChkPlay : "Automatisk uppspelning", DlgFlashChkLoop : "Upprepa/Loopa", DlgFlashChkMenu : "Aktivera Flashmeny", DlgFlashScale : "Skala", DlgFlashScaleAll : "Visa allt", DlgFlashScaleNoBorder : "Ingen ram", DlgFlashScaleFit : "Exakt passning", // Link Dialog DlgLnkWindowTitle : "Länk", DlgLnkInfoTab : "Länkinformation", DlgLnkTargetTab : "Mål", DlgLnkType : "Länktyp", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Ankare i sidan", DlgLnkTypeEMail : "E-post", DlgLnkProto : "Protokoll", DlgLnkProtoOther : "<övrigt>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Välj ett ankare", DlgLnkAnchorByName : "efter ankarnamn", DlgLnkAnchorById : "efter objektid", DlgLnkNoAnchors : "(Inga ankare kunde hittas)", DlgLnkEMail : "E-postadress", DlgLnkEMailSubject : "Ämne", DlgLnkEMailBody : "Innehåll", DlgLnkUpload : "Ladda upp", DlgLnkBtnUpload : "Skicka till servern", DlgLnkTarget : "Mål", DlgLnkTargetFrame : "<ram>", DlgLnkTargetPopup : "<popup-fönster>", DlgLnkTargetBlank : "Nytt fönster (_blank)", DlgLnkTargetParent : "Föregående Window (_parent)", DlgLnkTargetSelf : "Detta fönstret (_self)", DlgLnkTargetTop : "Översta fönstret (_top)", DlgLnkTargetFrameName : "Målets ramnamn", DlgLnkPopWinName : "Popup-fönstrets namn", DlgLnkPopWinFeat : "Popup-fönstrets egenskaper", DlgLnkPopResize : "Kan ändra storlek", DlgLnkPopLocation : "Adressfält", DlgLnkPopMenu : "Menyfält", DlgLnkPopScroll : "Scrolllista", DlgLnkPopStatus : "Statusfält", DlgLnkPopToolbar : "Verktygsfält", DlgLnkPopFullScrn : "Helskärm (endast IE)", DlgLnkPopDependent : "Beroende (endest Netscape)", DlgLnkPopWidth : "Bredd", DlgLnkPopHeight : "Höjd", DlgLnkPopLeft : "Position från vänster", DlgLnkPopTop : "Position från sidans topp", DlnLnkMsgNoUrl : "Var god ange länkens URL", DlnLnkMsgNoEMail : "Var god ange E-postadress", DlnLnkMsgNoAnchor : "Var god ange ett ankare", DlnLnkMsgInvPopName : "Popup-rutans namn måste börja med en alfabetisk bokstav och får inte innehålla mellanslag", // Color Dialog DlgColorTitle : "Välj färg", DlgColorBtnClear : "Rensa", DlgColorHighlight : "Markera", DlgColorSelected : "Vald", // Smiley Dialog DlgSmileyTitle : "Infoga smiley", // Special Character Dialog DlgSpecialCharTitle : "Välj utökat tecken", // Table Dialog DlgTableTitle : "Tabellegenskaper", DlgTableRows : "Rader", DlgTableColumns : "Kolumner", DlgTableBorder : "Kantstorlek", DlgTableAlign : "Justering", DlgTableAlignNotSet : "<ej angivet>", DlgTableAlignLeft : "Vänster", DlgTableAlignCenter : "Centrerad", DlgTableAlignRight : "Höger", DlgTableWidth : "Bredd", DlgTableWidthPx : "pixlar", DlgTableWidthPc : "procent", DlgTableHeight : "Höjd", DlgTableCellSpace : "Cellavstånd", DlgTableCellPad : "Cellutfyllnad", DlgTableCaption : "Rubrik", DlgTableSummary : "Sammanfattning", // Table Cell Dialog DlgCellTitle : "Cellegenskaper", DlgCellWidth : "Bredd", DlgCellWidthPx : "pixlar", DlgCellWidthPc : "procent", DlgCellHeight : "Höjd", DlgCellWordWrap : "Automatisk radbrytning", DlgCellWordWrapNotSet : "<Ej angivet>", DlgCellWordWrapYes : "Ja", DlgCellWordWrapNo : "Nej", DlgCellHorAlign : "Horisontal justering", DlgCellHorAlignNotSet : "<Ej angivet>", DlgCellHorAlignLeft : "Vänster", DlgCellHorAlignCenter : "Centrerad", DlgCellHorAlignRight: "Höger", DlgCellVerAlign : "Vertikal justering", DlgCellVerAlignNotSet : "<Ej angivet>", DlgCellVerAlignTop : "Topp", DlgCellVerAlignMiddle : "Mitten", DlgCellVerAlignBottom : "Nederkant", DlgCellVerAlignBaseline : "Underst", DlgCellRowSpan : "Radomfång", DlgCellCollSpan : "Kolumnomfång", DlgCellBackColor : "Bakgrundsfärg", DlgCellBorderColor : "Kantfärg", DlgCellBtnSelect : "Välj...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Sök och ersätt", // Find Dialog DlgFindTitle : "Sök", DlgFindFindBtn : "Sök", DlgFindNotFoundMsg : "Angiven text kunde ej hittas.", // Replace Dialog DlgReplaceTitle : "Ersätt", DlgReplaceFindLbl : "Sök efter:", DlgReplaceReplaceLbl : "Ersätt med:", DlgReplaceCaseChk : "Skiftläge", DlgReplaceReplaceBtn : "Ersätt", DlgReplaceReplAllBtn : "Ersätt alla", DlgReplaceWordChk : "Inkludera hela ord", // Paste Operations / Dialog PasteErrorCut : "Säkerhetsinställningar i Er webläsare tillåter inte åtgården Klipp ut. Använd (Ctrl+X) istället.", PasteErrorCopy : "Säkerhetsinställningar i Er webläsare tillåter inte åtgården Kopiera. Använd (Ctrl+C) istället", PasteAsText : "Klistra in som vanlig text", PasteFromWord : "Klistra in från Word", DlgPasteMsg2 : "Var god och klistra in Er text i rutan nedan genom att använda (<STRONG>Ctrl+V</STRONG>) klicka sen på <STRONG>OK</STRONG>.", DlgPasteSec : "På grund av din webläsares säkerhetsinställningar kan verktyget inte få åtkomst till urklippsdatan. Var god och använd detta fönster istället.", DlgPasteIgnoreFont : "Ignorera typsnittsdefinitioner", DlgPasteRemoveStyles : "Radera Stildefinitioner", // Color Picker ColorAutomatic : "Automatisk", ColorMoreColors : "Fler färger...", // Document Properties DocProps : "Dokumentegenskaper", // Anchor Dialog DlgAnchorTitle : "Ankaregenskaper", DlgAnchorName : "Ankarnamn", DlgAnchorErrorName : "Var god ange ett ankarnamn", // Speller Pages Dialog DlgSpellNotInDic : "Saknas i ordlistan", DlgSpellChangeTo : "Ändra till", DlgSpellBtnIgnore : "Ignorera", DlgSpellBtnIgnoreAll : "Ignorera alla", DlgSpellBtnReplace : "Ersätt", DlgSpellBtnReplaceAll : "Ersätt alla", DlgSpellBtnUndo : "Ångra", DlgSpellNoSuggestions : "- Förslag saknas -", DlgSpellProgress : "Stavningskontroll pågår...", DlgSpellNoMispell : "Stavningskontroll slutförd: Inga stavfel påträffades.", DlgSpellNoChanges : "Stavningskontroll slutförd: Inga ord rättades.", DlgSpellOneChange : "Stavningskontroll slutförd: Ett ord rättades.", DlgSpellManyChanges : "Stavningskontroll slutförd: %1 ord rättades.", IeSpellDownload : "Stavningskontrollen är ej installerad. Vill du göra det nu?", // Button Dialog DlgButtonText : "Text (Värde)", DlgButtonType : "Typ", DlgButtonTypeBtn : "Knapp", DlgButtonTypeSbm : "Skicka", DlgButtonTypeRst : "Återställ", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Namn", DlgCheckboxValue : "Värde", DlgCheckboxSelected : "Vald", // Form Dialog DlgFormName : "Namn", DlgFormAction : "Funktion", DlgFormMethod : "Metod", // Select Field Dialog DlgSelectName : "Namn", DlgSelectValue : "Värde", DlgSelectSize : "Storlek", DlgSelectLines : "Linjer", DlgSelectChkMulti : "Tillåt flerval", DlgSelectOpAvail : "Befintliga val", DlgSelectOpText : "Text", DlgSelectOpValue : "Värde", DlgSelectBtnAdd : "Lägg till", DlgSelectBtnModify : "Redigera", DlgSelectBtnUp : "Upp", DlgSelectBtnDown : "Ner", DlgSelectBtnSetValue : "Markera som valt värde", DlgSelectBtnDelete : "Radera", // Textarea Dialog DlgTextareaName : "Namn", DlgTextareaCols : "Kolumner", DlgTextareaRows : "Rader", // Text Field Dialog DlgTextName : "Namn", DlgTextValue : "Värde", DlgTextCharWidth : "Teckenbredd", DlgTextMaxChars : "Max antal tecken", DlgTextType : "Typ", DlgTextTypeText : "Text", DlgTextTypePass : "Lösenord", // Hidden Field Dialog DlgHiddenName : "Namn", DlgHiddenValue : "Värde", // Bulleted List Dialog BulletedListProp : "Egenskaper för punktlista", NumberedListProp : "Egenskaper för numrerad lista", DlgLstStart : "Start", DlgLstType : "Typ", DlgLstTypeCircle : "Cirkel", DlgLstTypeDisc : "Punkt", DlgLstTypeSquare : "Ruta", DlgLstTypeNumbers : "Nummer (1, 2, 3)", DlgLstTypeLCase : "Gemener (a, b, c)", DlgLstTypeUCase : "Versaler (A, B, C)", DlgLstTypeSRoman : "Små romerska siffror (i, ii, iii)", DlgLstTypeLRoman : "Stora romerska siffror (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Allmän", DlgDocBackTab : "Bakgrund", DlgDocColorsTab : "Färg och marginal", DlgDocMetaTab : "Metadata", DlgDocPageTitle : "Sidtitel", DlgDocLangDir : "Språkriktning", DlgDocLangDirLTR : "Vänster till Höger", DlgDocLangDirRTL : "Höger till Vänster", DlgDocLangCode : "Språkkod", DlgDocCharSet : "Teckenuppsättningar", DlgDocCharSetCE : "Central Europa", DlgDocCharSetCT : "Traditionell Kinesisk (Big5)", DlgDocCharSetCR : "Kyrillisk", DlgDocCharSetGR : "Grekiska", DlgDocCharSetJP : "Japanska", DlgDocCharSetKR : "Koreanska", DlgDocCharSetTR : "Turkiska", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "Väst Europa", DlgDocCharSetOther : "Övriga teckenuppsättningar", DlgDocDocType : "Sidhuvud", DlgDocDocTypeOther : "Övriga sidhuvuden", DlgDocIncXHTML : "Inkludera XHTML deklaration", DlgDocBgColor : "Bakgrundsfärg", DlgDocBgImage : "Bakgrundsbildens URL", DlgDocBgNoScroll : "Fast bakgrund", DlgDocCText : "Text", DlgDocCLink : "Länk", DlgDocCVisited : "Besökt länk", DlgDocCActive : "Aktiv länk", DlgDocMargins : "Sidmarginal", DlgDocMaTop : "Topp", DlgDocMaLeft : "Vänster", DlgDocMaRight : "Höger", DlgDocMaBottom : "Botten", DlgDocMeIndex : "Sidans nyckelord", DlgDocMeDescr : "Sidans beskrivning", DlgDocMeAuthor : "Författare", DlgDocMeCopy : "Upphovsrätt", DlgDocPreview : "Förhandsgranska", // Templates Dialog Templates : "Sidmallar", DlgTemplatesTitle : "Sidmallar", DlgTemplatesSelMsg : "Var god välj en mall att använda med editorn<br>(allt nuvarande innehåll raderas):", DlgTemplatesLoading : "Laddar mallar. Var god vänta...", DlgTemplatesNoTpl : "(Ingen mall är vald)", DlgTemplatesReplace : "Ersätt aktuellt innehåll", // About Dialog DlgAboutAboutTab : "Om", DlgAboutBrowserInfoTab : "Webläsare", DlgAboutLicenseTab : "Licens", DlgAboutVersion : "version", DlgAboutInfo : "För mer information se", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Turkish language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Araç Çubuğunu Kapat", ToolbarExpand : "Araç Çubuğunu Aç", // Toolbar Items and Context Menu Save : "Kaydet", NewPage : "Yeni Sayfa", Preview : "Ön İzleme", Cut : "Kes", Copy : "Kopyala", Paste : "Yapıştır", PasteText : "Düzyazı Olarak Yapıştır", PasteWord : "Word'den Yapıştır", Print : "Yazdır", SelectAll : "Tümünü Seç", RemoveFormat : "Biçimi Kaldır", InsertLinkLbl : "Köprü", InsertLink : "Köprü Ekle/Düzenle", RemoveLink : "Köprü Kaldır", VisitLink : "Open Link", //MISSING Anchor : "Çapa Ekle/Düzenle", AnchorDelete : "Remove Anchor", //MISSING InsertImageLbl : "Resim", InsertImage : "Resim Ekle/Düzenle", InsertFlashLbl : "Flash", InsertFlash : "Flash Ekle/Düzenle", InsertTableLbl : "Tablo", InsertTable : "Tablo Ekle/Düzenle", InsertLineLbl : "Satır", InsertLine : "Yatay Satır Ekle", InsertSpecialCharLbl: "Özel Karakter", InsertSpecialChar : "Özel Karakter Ekle", InsertSmileyLbl : "İfade", InsertSmiley : "İfade Ekle", About : "FCKeditor Hakkında", Bold : "Kalın", Italic : "İtalik", Underline : "Altı Çizgili", StrikeThrough : "Üstü Çizgili", Subscript : "Alt Simge", Superscript : "Üst Simge", LeftJustify : "Sola Dayalı", CenterJustify : "Ortalanmış", RightJustify : "Sağa Dayalı", BlockJustify : "İki Kenara Yaslanmış", DecreaseIndent : "Sekme Azalt", IncreaseIndent : "Sekme Arttır", Blockquote : "Blockquote", //MISSING CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "Geri Al", Redo : "Tekrarla", NumberedListLbl : "Numaralı Liste", NumberedList : "Numaralı Liste Ekle/Kaldır", BulletedListLbl : "Simgeli Liste", BulletedList : "Simgeli Liste Ekle/Kaldır", ShowTableBorders : "Tablo Kenarlarını Göster", ShowDetails : "Detayları Göster", Style : "Biçem", FontFormat : "Biçim", Font : "Yazı Türü", FontSize : "Boyut", TextColor : "Yazı Rengi", BGColor : "Arka Renk", Source : "Kaynak", Find : "Bul", Replace : "Değiştir", SpellCheck : "Yazım Denetimi", UniversalKeyboard : "Evrensel Klavye", PageBreakLbl : "Sayfa sonu", PageBreak : "Sayfa Sonu Ekle", Form : "Form", Checkbox : "Onay Kutusu", RadioButton : "Seçenek Düğmesi", TextField : "Metin Girişi", Textarea : "Çok Satırlı Metin", HiddenField : "Gizli Veri", Button : "Düğme", SelectionField : "Seçim Menüsü", ImageButton : "Resimli Düğme", FitWindow : "Düzenleyici boyutunu büyüt", ShowBlocks : "Show Blocks", //MISSING // Context Menu EditLink : "Köprü Düzenle", CellCM : "Hücre", RowCM : "Satır", ColumnCM : "Sütun", InsertRowAfter : "Insert Row After", //MISSING InsertRowBefore : "Insert Row Before", //MISSING DeleteRows : "Satır Sil", InsertColumnAfter : "Insert Column After", //MISSING InsertColumnBefore : "Insert Column Before", //MISSING DeleteColumns : "Sütun Sil", InsertCellAfter : "Insert Cell After", //MISSING InsertCellBefore : "Insert Cell Before", //MISSING DeleteCells : "Hücre Sil", MergeCells : "Hücreleri Birleştir", MergeRight : "Merge Right", //MISSING MergeDown : "Merge Down", //MISSING HorizontalSplitCell : "Split Cell Horizontally", //MISSING VerticalSplitCell : "Split Cell Vertically", //MISSING TableDelete : "Tabloyu Sil", CellProperties : "Hücre Özellikleri", TableProperties : "Tablo Özellikleri", ImageProperties : "Resim Özellikleri", FlashProperties : "Flash Özellikleri", AnchorProp : "Çapa Özellikleri", ButtonProp : "Düğme Özellikleri", CheckboxProp : "Onay Kutusu Özellikleri", HiddenFieldProp : "Gizli Veri Özellikleri", RadioButtonProp : "Seçenek Düğmesi Özellikleri", ImageButtonProp : "Resimli Düğme Özellikleri", TextFieldProp : "Metin Girişi Özellikleri", SelectionFieldProp : "Seçim Menüsü Özellikleri", TextareaProp : "Çok Satırlı Metin Özellikleri", FormProp : "Form Özellikleri", FontFormats : "Normal;Biçimli;Adres;Başlık 1;Başlık 2;Başlık 3;Başlık 4;Başlık 5;Başlık 6;Paragraf (DIV)", // Alerts and Messages ProcessingXHTML : "XHTML işleniyor. Lütfen bekleyin...", Done : "Bitti", PasteWordConfirm : "Yapıştırdığınız yazı Word'den gelmişe benziyor. Yapıştırmadan önce gereksiz eklentileri silmek ister misiniz?", NotCompatiblePaste : "Bu komut Internet Explorer 5.5 ve ileriki sürümleri için mevcuttur. Temizlenmeden yapıştırılmasını ister misiniz ?", UnknownToolbarItem : "Bilinmeyen araç çubugu öğesi \"%1\"", UnknownCommand : "Bilinmeyen komut \"%1\"", NotImplemented : "Komut uyarlanamadı", UnknownToolbarSet : "\"%1\" araç çubuğu öğesi mevcut değil", NoActiveX : "Kullandığınız tarayıcının güvenlik ayarları bazı özelliklerin kullanılmasını engelliyor. Bu özelliklerin çalışması için \"Run ActiveX controls and plug-ins (Activex ve eklentileri çalıştır)\" seçeneğinin aktif yapılması gerekiyor. Kullanılamayan eklentiler ve hatalar konusunda daha fazla bilgi sahibi olun.", BrowseServerBlocked : "Kaynak tarayıcısı açılamadı. Tüm \"popup blocker\" programlarının devre dışı olduğundan emin olun. (Yahoo toolbar, Msn toolbar, Google toolbar gibi)", DialogBlocked : "Diyalog açmak mümkün olmadı. Tüm \"Popup Blocker\" programlarının devre dışı olduğundan emin olun.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "Tamam", DlgBtnCancel : "İptal", DlgBtnClose : "Kapat", DlgBtnBrowseServer : "Sunucuyu Gez", DlgAdvancedTag : "Gelişmiş", DlgOpOther : "<Diğer>", DlgInfoTab : "Bilgi", DlgAlertUrl : "Lütfen URL girin", // General Dialogs Labels DlgGenNotSet : "<tanımlanmamış>", DlgGenId : "Kimlik", DlgGenLangDir : "Dil Yönü", DlgGenLangDirLtr : "Soldan Sağa (LTR)", DlgGenLangDirRtl : "Sağdan Sola (RTL)", DlgGenLangCode : "Dil Kodlaması", DlgGenAccessKey : "Erişim Tuşu", DlgGenName : "Ad", DlgGenTabIndex : "Sekme İndeksi", DlgGenLongDescr : "Uzun Tanımlı URL", DlgGenClass : "Biçem Sayfası Sınıfları", DlgGenTitle : "Danışma Başlığı", DlgGenContType : "Danışma İçerik Türü", DlgGenLinkCharset : "Bağlı Kaynak Karakter Gurubu", DlgGenStyle : "Biçem", // Image Dialog DlgImgTitle : "Resim Özellikleri", DlgImgInfoTab : "Resim Bilgisi", DlgImgBtnUpload : "Sunucuya Yolla", DlgImgURL : "URL", DlgImgUpload : "Karşıya Yükle", DlgImgAlt : "Alternatif Yazı", DlgImgWidth : "Genişlik", DlgImgHeight : "Yükseklik", DlgImgLockRatio : "Oranı Kilitle", DlgBtnResetSize : "Boyutu Başa Döndür", DlgImgBorder : "Kenar", DlgImgHSpace : "Yatay Boşluk", DlgImgVSpace : "Dikey Boşluk", DlgImgAlign : "Hizalama", DlgImgAlignLeft : "Sol", DlgImgAlignAbsBottom: "Tam Altı", DlgImgAlignAbsMiddle: "Tam Ortası", DlgImgAlignBaseline : "Taban Çizgisi", DlgImgAlignBottom : "Alt", DlgImgAlignMiddle : "Orta", DlgImgAlignRight : "Sağ", DlgImgAlignTextTop : "Yazı Tepeye", DlgImgAlignTop : "Tepe", DlgImgPreview : "Ön İzleme", DlgImgAlertUrl : "Lütfen resmin URL'sini yazınız", DlgImgLinkTab : "Köprü", // Flash Dialog DlgFlashTitle : "Flash Özellikleri", DlgFlashChkPlay : "Otomatik Oynat", DlgFlashChkLoop : "Döngü", DlgFlashChkMenu : "Flash Menüsünü Kullan", DlgFlashScale : "Boyutlandır", DlgFlashScaleAll : "Hepsini Göster", DlgFlashScaleNoBorder : "Kenar Yok", DlgFlashScaleFit : "Tam Sığdır", // Link Dialog DlgLnkWindowTitle : "Köprü", DlgLnkInfoTab : "Köprü Bilgisi", DlgLnkTargetTab : "Hedef", DlgLnkType : "Köprü Türü", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Bu sayfada çapa", DlgLnkTypeEMail : "E-Posta", DlgLnkProto : "Protokol", DlgLnkProtoOther : "<diğer>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Çapa Seç", DlgLnkAnchorByName : "Çapa Adı ile", DlgLnkAnchorById : "Eleman Kimlik Numarası ile", DlgLnkNoAnchors : "(Bu belgede hiç çapa yok)", DlgLnkEMail : "E-Posta Adresi", DlgLnkEMailSubject : "İleti Konusu", DlgLnkEMailBody : "İleti Gövdesi", DlgLnkUpload : "Karşıya Yükle", DlgLnkBtnUpload : "Sunucuya Gönder", DlgLnkTarget : "Hedef", DlgLnkTargetFrame : "<çerçeve>", DlgLnkTargetPopup : "<yeni açılan pencere>", DlgLnkTargetBlank : "Yeni Pencere(_blank)", DlgLnkTargetParent : "Anne Pencere (_parent)", DlgLnkTargetSelf : "Kendi Penceresi (_self)", DlgLnkTargetTop : "En Üst Pencere (_top)", DlgLnkTargetFrameName : "Hedef Çerçeve Adı", DlgLnkPopWinName : "Yeni Açılan Pencere Adı", DlgLnkPopWinFeat : "Yeni Açılan Pencere Özellikleri", DlgLnkPopResize : "Boyutlandırılabilir", DlgLnkPopLocation : "Yer Çubuğu", DlgLnkPopMenu : "Menü Çubuğu", DlgLnkPopScroll : "Kaydırma Çubukları", DlgLnkPopStatus : "Durum Çubuğu", DlgLnkPopToolbar : "Araç Çubuğu", DlgLnkPopFullScrn : "Tam Ekran (IE)", DlgLnkPopDependent : "Bağımlı (Netscape)", DlgLnkPopWidth : "Genişlik", DlgLnkPopHeight : "Yükseklik", DlgLnkPopLeft : "Sola Göre Konum", DlgLnkPopTop : "Yukarıya Göre Konum", DlnLnkMsgNoUrl : "Lütfen köprü URL'sini yazın", DlnLnkMsgNoEMail : "Lütfen E-posta adresini yazın", DlnLnkMsgNoAnchor : "Lütfen bir çapa seçin", DlnLnkMsgInvPopName : "Açılır pencere adı abecesel bir karakterle başlamalı ve boşluk içermemelidir", // Color Dialog DlgColorTitle : "Renk Seç", DlgColorBtnClear : "Temizle", DlgColorHighlight : "Vurgula", DlgColorSelected : "Seçilmiş", // Smiley Dialog DlgSmileyTitle : "İfade Ekle", // Special Character Dialog DlgSpecialCharTitle : "Özel Karakter Seç", // Table Dialog DlgTableTitle : "Tablo Özellikleri", DlgTableRows : "Satırlar", DlgTableColumns : "Sütunlar", DlgTableBorder : "Kenar Kalınlığı", DlgTableAlign : "Hizalama", DlgTableAlignNotSet : "<Tanımlanmamış>", DlgTableAlignLeft : "Sol", DlgTableAlignCenter : "Merkez", DlgTableAlignRight : "Sağ", DlgTableWidth : "Genişlik", DlgTableWidthPx : "piksel", DlgTableWidthPc : "yüzde", DlgTableHeight : "Yükseklik", DlgTableCellSpace : "Izgara kalınlığı", DlgTableCellPad : "Izgara yazı arası", DlgTableCaption : "Başlık", DlgTableSummary : "Özet", // Table Cell Dialog DlgCellTitle : "Hücre Özellikleri", DlgCellWidth : "Genişlik", DlgCellWidthPx : "piksel", DlgCellWidthPc : "yüzde", DlgCellHeight : "Yükseklik", DlgCellWordWrap : "Sözcük Kaydır", DlgCellWordWrapNotSet : "<Tanımlanmamış>", DlgCellWordWrapYes : "Evet", DlgCellWordWrapNo : "Hayır", DlgCellHorAlign : "Yatay Hizalama", DlgCellHorAlignNotSet : "<Tanımlanmamış>", DlgCellHorAlignLeft : "Sol", DlgCellHorAlignCenter : "Merkez", DlgCellHorAlignRight: "Sağ", DlgCellVerAlign : "Dikey Hizalama", DlgCellVerAlignNotSet : "<Tanımlanmamış>", DlgCellVerAlignTop : "Tepe", DlgCellVerAlignMiddle : "Orta", DlgCellVerAlignBottom : "Alt", DlgCellVerAlignBaseline : "Taban Çizgisi", DlgCellRowSpan : "Satır Kapla", DlgCellCollSpan : "Sütun Kapla", DlgCellBackColor : "Arka Plan Rengi", DlgCellBorderColor : "Kenar Rengi", DlgCellBtnSelect : "Seç...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Find and Replace", //MISSING // Find Dialog DlgFindTitle : "Bul", DlgFindFindBtn : "Bul", DlgFindNotFoundMsg : "Belirtilen yazı bulunamadı.", // Replace Dialog DlgReplaceTitle : "Değiştir", DlgReplaceFindLbl : "Aranan:", DlgReplaceReplaceLbl : "Bununla değiştir:", DlgReplaceCaseChk : "Büyük/küçük harf duyarlı", DlgReplaceReplaceBtn : "Değiştir", DlgReplaceReplAllBtn : "Tümünü Değiştir", DlgReplaceWordChk : "Kelimenin tamamı uysun", // Paste Operations / Dialog PasteErrorCut : "Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kesme işlemine izin vermiyor. İşlem için (Ctrl+X) tuşlarını kullanın.", PasteErrorCopy : "Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kopyalama işlemine izin vermiyor. İşlem için (Ctrl+C) tuşlarını kullanın.", PasteAsText : "Düz Metin Olarak Yapıştır", PasteFromWord : "Word'den yapıştır", DlgPasteMsg2 : "Lütfen aşağıdaki kutunun içine yapıştırın. (<STRONG>Ctrl+V</STRONG>) ve <STRONG>Tamam</STRONG> butonunu tıklayın.", DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING DlgPasteIgnoreFont : "Yazı Tipi tanımlarını yoksay", DlgPasteRemoveStyles : "Biçem Tanımlarını çıkar", // Color Picker ColorAutomatic : "Otomatik", ColorMoreColors : "Diğer renkler...", // Document Properties DocProps : "Belge Özellikleri", // Anchor Dialog DlgAnchorTitle : "Çapa Özellikleri", DlgAnchorName : "Çapa Adı", DlgAnchorErrorName : "Lütfen çapa için ad giriniz", // Speller Pages Dialog DlgSpellNotInDic : "Sözlükte Yok", DlgSpellChangeTo : "Şuna değiştir:", DlgSpellBtnIgnore : "Yoksay", DlgSpellBtnIgnoreAll : "Tümünü Yoksay", DlgSpellBtnReplace : "Değiştir", DlgSpellBtnReplaceAll : "Tümünü Değiştir", DlgSpellBtnUndo : "Geri Al", DlgSpellNoSuggestions : "- Öneri Yok -", DlgSpellProgress : "Yazım denetimi işlemde...", DlgSpellNoMispell : "Yazım denetimi tamamlandı: Yanlış yazıma rastlanmadı", DlgSpellNoChanges : "Yazım denetimi tamamlandı: Hiçbir kelime değiştirilmedi", DlgSpellOneChange : "Yazım denetimi tamamlandı: Bir kelime değiştirildi", DlgSpellManyChanges : "Yazım denetimi tamamlandı: %1 kelime değiştirildi", IeSpellDownload : "Yazım denetimi yüklenmemiş. Şimdi yüklemek ister misiniz?", // Button Dialog DlgButtonText : "Metin (Değer)", DlgButtonType : "Tip", DlgButtonTypeBtn : "Düğme", DlgButtonTypeSbm : "Gönder", DlgButtonTypeRst : "Sıfırla", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Ad", DlgCheckboxValue : "Değer", DlgCheckboxSelected : "Seçili", // Form Dialog DlgFormName : "Ad", DlgFormAction : "İşlem", DlgFormMethod : "Yöntem", // Select Field Dialog DlgSelectName : "Ad", DlgSelectValue : "Değer", DlgSelectSize : "Boyut", DlgSelectLines : "satır", DlgSelectChkMulti : "Çoklu seçime izin ver", DlgSelectOpAvail : "Mevcut Seçenekler", DlgSelectOpText : "Metin", DlgSelectOpValue : "Değer", DlgSelectBtnAdd : "Ekle", DlgSelectBtnModify : "Düzenle", DlgSelectBtnUp : "Yukarı", DlgSelectBtnDown : "Aşağı", DlgSelectBtnSetValue : "Seçili değer olarak ata", DlgSelectBtnDelete : "Sil", // Textarea Dialog DlgTextareaName : "Ad", DlgTextareaCols : "Sütunlar", DlgTextareaRows : "Satırlar", // Text Field Dialog DlgTextName : "Ad", DlgTextValue : "Değer", DlgTextCharWidth : "Karakter Genişliği", DlgTextMaxChars : "En Fazla Karakter", DlgTextType : "Tür", DlgTextTypeText : "Metin", DlgTextTypePass : "Parola", // Hidden Field Dialog DlgHiddenName : "Ad", DlgHiddenValue : "Değer", // Bulleted List Dialog BulletedListProp : "Simgeli Liste Özellikleri", NumberedListProp : "Numaralı Liste Özellikleri", DlgLstStart : "Başlangıç", DlgLstType : "Tip", DlgLstTypeCircle : "Çember", DlgLstTypeDisc : "Disk", DlgLstTypeSquare : "Kare", DlgLstTypeNumbers : "Sayılar (1, 2, 3)", DlgLstTypeLCase : "Küçük Harfler (a, b, c)", DlgLstTypeUCase : "Büyük Harfler (A, B, C)", DlgLstTypeSRoman : "Küçük Romen Rakamları (i, ii, iii)", DlgLstTypeLRoman : "Büyük Romen Rakamları (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Genel", DlgDocBackTab : "Arka Plan", DlgDocColorsTab : "Renkler ve Kenar Boşlukları", DlgDocMetaTab : "Tanım Bilgisi (Meta)", DlgDocPageTitle : "Sayfa Başlığı", DlgDocLangDir : "Dil Yönü", DlgDocLangDirLTR : "Soldan Sağa (LTR)", DlgDocLangDirRTL : "Sağdan Sola (RTL)", DlgDocLangCode : "Dil Kodu", DlgDocCharSet : "Karakter Kümesi Kodlaması", DlgDocCharSetCE : "Orta Avrupa", DlgDocCharSetCT : "Geleneksel Çince (Big5)", DlgDocCharSetCR : "Kiril", DlgDocCharSetGR : "Yunanca", DlgDocCharSetJP : "Japonca", DlgDocCharSetKR : "Korece", DlgDocCharSetTR : "Türkçe", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "Batı Avrupa", DlgDocCharSetOther : "Diğer Karakter Kümesi Kodlaması", DlgDocDocType : "Belge Türü Başlığı", DlgDocDocTypeOther : "Diğer Belge Türü Başlığı", DlgDocIncXHTML : "XHTML Bildirimlerini Dahil Et", DlgDocBgColor : "Arka Plan Rengi", DlgDocBgImage : "Arka Plan Resim URLsi", DlgDocBgNoScroll : "Sabit Arka Plan", DlgDocCText : "Metin", DlgDocCLink : "Köprü", DlgDocCVisited : "Ziyaret Edilmiş Köprü", DlgDocCActive : "Etkin Köprü", DlgDocMargins : "Kenar Boşlukları", DlgDocMaTop : "Tepe", DlgDocMaLeft : "Sol", DlgDocMaRight : "Sağ", DlgDocMaBottom : "Alt", DlgDocMeIndex : "Belge Dizinleme Anahtar Kelimeleri (virgülle ayrılmış)", DlgDocMeDescr : "Belge Tanımı", DlgDocMeAuthor : "Yazar", DlgDocMeCopy : "Telif", DlgDocPreview : "Ön İzleme", // Templates Dialog Templates : "Şablonlar", DlgTemplatesTitle : "İçerik Şablonları", DlgTemplatesSelMsg : "Düzenleyicide açmak için lütfen bir şablon seçin.<br>(hali hazırdaki içerik kaybolacaktır.):", DlgTemplatesLoading : "Şablon listesi yüklenmekte. Lütfen bekleyiniz...", DlgTemplatesNoTpl : "(Belirli bir şablon seçilmedi)", DlgTemplatesReplace : "Mevcut içerik ile değiştir", // About Dialog DlgAboutAboutTab : "Hakkında", DlgAboutBrowserInfoTab : "Gezgin Bilgisi", DlgAboutLicenseTab : "Lisans", DlgAboutVersion : "sürüm", DlgAboutInfo : "Daha fazla bilgi için:", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Gujarati language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "ટૂલબાર નાનું કરવું", ToolbarExpand : "ટૂલબાર મોટું કરવું", // Toolbar Items and Context Menu Save : "સેવ", NewPage : "નવુ પાનું", Preview : "પૂર્વદર્શન", Cut : "કાપવું", Copy : "નકલ", Paste : "પેસ્ટ", PasteText : "પેસ્ટ (સાદી ટેક્સ્ટ)", PasteWord : "પેસ્ટ (વડૅ ટેક્સ્ટ)", Print : "પ્રિન્ટ", SelectAll : "બઘું પસંદ કરવું", RemoveFormat : "ફૉર્મટ કાઢવું", InsertLinkLbl : "સંબંધન, લિંક", InsertLink : "લિંક ઇન્સર્ટ/દાખલ કરવી", RemoveLink : "લિંક કાઢવી", VisitLink : "Open Link", //MISSING Anchor : "ઍંકર ઇન્સર્ટ/દાખલ કરવી", AnchorDelete : "ઍંકર કાઢવી", InsertImageLbl : "ચિત્ર", InsertImage : "ચિત્ર ઇન્સર્ટ/દાખલ કરવું", InsertFlashLbl : "ફ્લૅશ", InsertFlash : "ફ્લૅશ ઇન્સર્ટ/દાખલ કરવું", InsertTableLbl : "ટેબલ, કોઠો", InsertTable : "ટેબલ, કોઠો ઇન્સર્ટ/દાખલ કરવું", InsertLineLbl : "રેખા", InsertLine : "સમસ્તરીય રેખા ઇન્સર્ટ/દાખલ કરવી", InsertSpecialCharLbl: "વિશિષ્ટ અક્ષર", InsertSpecialChar : "વિશિષ્ટ અક્ષર ઇન્સર્ટ/દાખલ કરવું", InsertSmileyLbl : "સ્માઇલી", InsertSmiley : "સ્માઇલી ઇન્સર્ટ/દાખલ કરવી", About : "FCKeditorના વિષે", Bold : "બોલ્ડ/સ્પષ્ટ", Italic : "ઇટેલિક, ત્રાંસા", Underline : "અન્ડર્લાઇન, નીચે લીટી", StrikeThrough : "છેકી નાખવું", Subscript : "એક ચિહ્નની નીચે કરેલું બીજું ચિહ્ન", Superscript : "એક ચિહ્ન ઉપર કરેલું બીજું ચિહ્ન.", LeftJustify : "ડાબી બાજુએ/બાજુ તરફ", CenterJustify : "સંકેંદ્રણ/સેંટરિંગ", RightJustify : "જમણી બાજુએ/બાજુ તરફ", BlockJustify : "બ્લૉક, અંતરાય જસ્ટિફાઇ", DecreaseIndent : "ઇન્ડેન્ટ લીટીના આરંભમાં જગ્યા ઘટાડવી", IncreaseIndent : "ઇન્ડેન્ટ, લીટીના આરંભમાં જગ્યા વધારવી", Blockquote : "બ્લૉક-કોટ, અવતરણચિહ્નો", CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "રદ કરવું; પહેલાં હતી એવી સ્થિતિ પાછી લાવવી", Redo : "રિડૂ; પછી હતી એવી સ્થિતિ પાછી લાવવી", NumberedListLbl : "સંખ્યાંકન સૂચિ", NumberedList : "સંખ્યાંકન સૂચિ ઇન્સર્ટ/દાખલ કરવી", BulletedListLbl : "બુલેટ સૂચિ", BulletedList : "બુલેટ સૂચિ ઇન્સર્ટ/દાખલ કરવી", ShowTableBorders : "ટેબલ, કોઠાની બાજુ(બોર્ડર) બતાવવી", ShowDetails : "વિસ્તૃત વિગતવાર બતાવવું", Style : "શૈલી/રીત", FontFormat : "ફૉન્ટ ફૉર્મટ, રચનાની શૈલી", Font : "ફૉન્ટ", FontSize : "ફૉન્ટ સાઇઝ/કદ", TextColor : "શબ્દનો રંગ", BGColor : "બૅકગ્રાઉન્ડ રંગ,", Source : "મૂળ કે પ્રાથમિક દસ્તાવેજ", Find : "શોધવું", Replace : "રિપ્લેસ/બદલવું", SpellCheck : "જોડણી (સ્પેલિંગ) તપાસવી", UniversalKeyboard : "યૂનિવર્સલ/વિશ્વવ્યાપક કીબૉર્ડ", PageBreakLbl : "પેજબ્રેક/પાનાને અલગ કરવું", PageBreak : "ઇન્સર્ટ પેજબ્રેક/પાનાને અલગ કરવું/દાખલ કરવું", Form : "ફૉર્મ/પત્રક", Checkbox : "ચેક બોક્સ", RadioButton : "રેડિઓ બટન", TextField : "ટેક્સ્ટ ફીલ્ડ, શબ્દ ક્ષેત્ર", Textarea : "ટેક્સ્ટ એરિઆ, શબ્દ વિસ્તાર", HiddenField : "ગુપ્ત ક્ષેત્ર", Button : "બટન", SelectionField : "પસંદગી ક્ષેત્ર", ImageButton : "ચિત્ર બટન", FitWindow : "એડિટરની સાઇઝ અધિકતમ કરવી", ShowBlocks : "બ્લૉક બતાવવું", // Context Menu EditLink : " લિંક એડિટ/માં ફેરફાર કરવો", CellCM : "કોષના ખાના", RowCM : "પંક્તિના ખાના", ColumnCM : "કૉલમ/ઊભી કટાર", InsertRowAfter : "પછી પંક્તિ ઉમેરવી", InsertRowBefore : "પહેલાં પંક્તિ ઉમેરવી", DeleteRows : "પંક્તિઓ ડિલીટ/કાઢી નાખવી", InsertColumnAfter : "પછી કૉલમ/ઊભી કટાર ઉમેરવી", InsertColumnBefore : "પહેલાં કૉલમ/ઊભી કટાર ઉમેરવી", DeleteColumns : "કૉલમ/ઊભી કટાર ડિલીટ/કાઢી નાખવી", InsertCellAfter : "પછી કોષ ઉમેરવો", InsertCellBefore : "પહેલાં કોષ ઉમેરવો", DeleteCells : "કોષ ડિલીટ/કાઢી નાખવો", MergeCells : "કોષ ભેગા કરવા", MergeRight : "જમણી બાજુ ભેગા કરવા", MergeDown : "નીચે ભેગા કરવા", HorizontalSplitCell : "કોષને સમસ્તરીય વિભાજન કરવું", VerticalSplitCell : "કોષને સીધું ને ઊભું વિભાજન કરવું", TableDelete : "કોઠો ડિલીટ/કાઢી નાખવું", CellProperties : "કોષના ગુણ", TableProperties : "કોઠાના ગુણ", ImageProperties : "ચિત્રના ગુણ", FlashProperties : "ફ્લૅશના ગુણ", AnchorProp : "ઍંકરના ગુણ", ButtonProp : "બટનના ગુણ", CheckboxProp : "ચેક બોક્સ ગુણ", HiddenFieldProp : "ગુપ્ત ક્ષેત્રના ગુણ", RadioButtonProp : "રેડિઓ બટનના ગુણ", ImageButtonProp : "ચિત્ર બટનના ગુણ", TextFieldProp : "ટેક્સ્ટ ફીલ્ડ, શબ્દ ક્ષેત્રના ગુણ", SelectionFieldProp : "પસંદગી ક્ષેત્રના ગુણ", TextareaProp : "ટેક્સ્ટ એઅરિઆ, શબ્દ વિસ્તારના ગુણ", FormProp : "ફૉર્મ/પત્રકના ગુણ", FontFormats : "સામાન્ય;ફૉર્મટેડ;સરનામું;શીર્ષક 1;શીર્ષક 2;શીર્ષક 3;શીર્ષક 4;શીર્ષક 5;શીર્ષક 6;શીર્ષક (DIV)", // Alerts and Messages ProcessingXHTML : "XHTML પ્રક્રિયા ચાલુ છે. મહેરબાની કરીને રાહ જોવો...", Done : "પતી ગયું", PasteWordConfirm : "તમે જે ટેક્સ્ટ પેસ્ટ કરવા માંગો છો, તે વડૅમાંથી કોપી કરેલુ લાગે છે. પેસ્ટ કરતા પહેલાં ટેક્સ્ટ સાફ કરવી છે?", NotCompatiblePaste : "આ કમાન્ડ ઈનટરનેટ એક્સપ્લોરર(Internet Explorer) 5.5 અથવા એના પછીના વર્ઝન માટેજ છે. ટેક્સ્ટને સાફ કયૅા પહેલાં પેસ્ટ કરવી છે?", UnknownToolbarItem : "અજાણી ટૂલબાર આઇટમ \"%1\"", UnknownCommand : "અજાણયો કમાન્ડ \"%1\"", NotImplemented : "કમાન્ડ ઇમ્પ્લિમન્ટ નથી કરોયો", UnknownToolbarSet : "ટૂલબાર સેટ \"%1\" ઉપલબ્ધ નથી", NoActiveX : "તમારા બ્રાઉઝરની સુરક્ષા સેટિંગસ એડિટરના અમુક ફીચરને પરવાનગી આપતી નથી. કૃપયા \"Run ActiveX controls and plug-ins\" વિકલ્પને ઇનેબલ/સમર્થ કરો. તમારા બ્રાઉઝરમાં એરર ઇન્વિઝિબલ ફીચરનો અનુભવ થઈ શકે છે. કૃપયા પૉપ-અપ બ્લૉકર ડિસેબલ કરો.", BrowseServerBlocked : "રિસૉર્સ બ્રાઉઝર ખોલી ન સકાયું.", DialogBlocked : "ડાયલૉગ વિન્ડો ખોલી ન સકાયું. કૃપયા પૉપ-અપ બ્લૉકર ડિસેબલ કરો.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "ઠીક છે", DlgBtnCancel : "રદ કરવું", DlgBtnClose : "બંધ કરવું", DlgBtnBrowseServer : "સર્વર બ્રાઉઝ કરો", DlgAdvancedTag : "અડ્વાન્સડ", DlgOpOther : "<અન્ય>", DlgInfoTab : "સૂચના", DlgAlertUrl : "URL ઇન્સર્ટ કરો", // General Dialogs Labels DlgGenNotSet : "<સેટ નથી>", DlgGenId : "Id", DlgGenLangDir : "ભાષા લેખવાની પદ્ધતિ", DlgGenLangDirLtr : "ડાબે થી જમણે (LTR)", DlgGenLangDirRtl : "જમણે થી ડાબે (RTL)", DlgGenLangCode : "ભાષા કોડ", DlgGenAccessKey : "ઍક્સેસ કી", DlgGenName : "નામ", DlgGenTabIndex : "ટૅબ ઇન્ડેક્સ", DlgGenLongDescr : "વધારે માહિતી માટે URL", DlgGenClass : "સ્ટાઇલ-શીટ ક્લાસ", DlgGenTitle : "મુખ્ય મથાળું", DlgGenContType : "મુખ્ય કન્ટેન્ટ પ્રકાર", DlgGenLinkCharset : "લિંક રિસૉર્સ કૅરિક્ટર સેટ", DlgGenStyle : "સ્ટાઇલ", // Image Dialog DlgImgTitle : "ચિત્રના ગુણ", DlgImgInfoTab : "ચિત્ર ની જાણકારી", DlgImgBtnUpload : "આ સર્વરને મોકલવું", DlgImgURL : "URL", DlgImgUpload : "અપલોડ", DlgImgAlt : "ઑલ્ટર્નટ ટેક્સ્ટ", DlgImgWidth : "પહોળાઈ", DlgImgHeight : "ઊંચાઈ", DlgImgLockRatio : "લૉક ગુણોત્તર", DlgBtnResetSize : "રીસેટ સાઇઝ", DlgImgBorder : "બોર્ડર", DlgImgHSpace : "સમસ્તરીય જગ્યા", DlgImgVSpace : "લંબરૂપ જગ્યા", DlgImgAlign : "લાઇનદોરીમાં ગોઠવવું", DlgImgAlignLeft : "ડાબી બાજુ ગોઠવવું", DlgImgAlignAbsBottom: "Abs નીચે", DlgImgAlignAbsMiddle: "Abs ઉપર", DlgImgAlignBaseline : "આધાર લીટી", DlgImgAlignBottom : "નીચે", DlgImgAlignMiddle : "વચ્ચે", DlgImgAlignRight : "જમણી", DlgImgAlignTextTop : "ટેક્સ્ટ ઉપર", DlgImgAlignTop : "ઉપર", DlgImgPreview : "પૂર્વદર્શન", DlgImgAlertUrl : "ચિત્રની URL ટાઇપ કરો", DlgImgLinkTab : "લિંક", // Flash Dialog DlgFlashTitle : "ફ્લૅશ ગુણ", DlgFlashChkPlay : "ઑટો/સ્વયં પ્લે", DlgFlashChkLoop : "લૂપ", DlgFlashChkMenu : "ફ્લૅશ મેન્યૂ નો પ્રયોગ કરો", DlgFlashScale : "સ્કેલ", DlgFlashScaleAll : "સ્કેલ ઓલ/બધુ બતાવો", DlgFlashScaleNoBorder : "સ્કેલ બોર્ડર વગર", DlgFlashScaleFit : "સ્કેલ એકદમ ફીટ", // Link Dialog DlgLnkWindowTitle : "લિંક", DlgLnkInfoTab : "લિંક ઇન્ફૉ ટૅબ", DlgLnkTargetTab : "ટાર્ગેટ/લક્ષ્ય ટૅબ", DlgLnkType : "લિંક પ્રકાર", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "આ પેજનો ઍંકર", DlgLnkTypeEMail : "ઈ-મેલ", DlgLnkProto : "પ્રોટોકૉલ", DlgLnkProtoOther : "<અન્ય>", DlgLnkURL : "URL", DlgLnkAnchorSel : "ઍંકર પસંદ કરો", DlgLnkAnchorByName : "ઍંકર નામથી પસંદ કરો", DlgLnkAnchorById : "ઍંકર એલિમન્ટ Id થી પસંદ કરો", DlgLnkNoAnchors : "(ડૉક્યુમન્ટમાં ઍંકરની સંખ્યા)", DlgLnkEMail : "ઈ-મેલ સરનામું", DlgLnkEMailSubject : "ઈ-મેલ વિષય", DlgLnkEMailBody : "સંદેશ", DlgLnkUpload : "અપલોડ", DlgLnkBtnUpload : "આ સર્વરને મોકલવું", DlgLnkTarget : "ટાર્ગેટ/લક્ષ્ય", DlgLnkTargetFrame : "<ફ્રેમ>", DlgLnkTargetPopup : "<પૉપ-અપ વિન્ડો>", DlgLnkTargetBlank : "નવી વિન્ડો (_blank)", DlgLnkTargetParent : "મૂળ વિન્ડો (_parent)", DlgLnkTargetSelf : "આજ વિન્ડો (_self)", DlgLnkTargetTop : "ઉપરની વિન્ડો (_top)", DlgLnkTargetFrameName : "ટાર્ગેટ ફ્રેમ નું નામ", DlgLnkPopWinName : "પૉપ-અપ વિન્ડો નું નામ", DlgLnkPopWinFeat : "પૉપ-અપ વિન્ડો ફીચરસૅ", DlgLnkPopResize : "સાઇઝ બદલી સકાય છે", DlgLnkPopLocation : "લોકેશન બાર", DlgLnkPopMenu : "મેન્યૂ બાર", DlgLnkPopScroll : "સ્ક્રોલ બાર", DlgLnkPopStatus : "સ્ટૅટસ બાર", DlgLnkPopToolbar : "ટૂલ બાર", DlgLnkPopFullScrn : "ફુલ સ્ક્રીન (IE)", DlgLnkPopDependent : "ડિપેન્ડન્ટ (Netscape)", DlgLnkPopWidth : "પહોળાઈ", DlgLnkPopHeight : "ઊંચાઈ", DlgLnkPopLeft : "ડાબી બાજુ", DlgLnkPopTop : "જમણી બાજુ", DlnLnkMsgNoUrl : "લિંક URL ટાઇપ કરો", DlnLnkMsgNoEMail : "ઈ-મેલ સરનામું ટાઇપ કરો", DlnLnkMsgNoAnchor : "ઍંકર પસંદ કરો", DlnLnkMsgInvPopName : "પૉપ-અપ વિન્ડો નું નામ ઍલ્ફબેટથી શરૂ કરવો અને તેમાં સ્પેઇસ ન હોવી જોઈએ", // Color Dialog DlgColorTitle : "રંગ પસંદ કરો", DlgColorBtnClear : "સાફ કરો", DlgColorHighlight : "હાઈલાઇટ", DlgColorSelected : "સિલેક્ટેડ/પસંદ કરવું", // Smiley Dialog DlgSmileyTitle : "સ્માઇલી પસંદ કરો", // Special Character Dialog DlgSpecialCharTitle : "સ્પેશિઅલ વિશિષ્ટ અક્ષર પસંદ કરો", // Table Dialog DlgTableTitle : "ટેબલ, કોઠાનું મથાળું", DlgTableRows : "પંક્તિના ખાના", DlgTableColumns : "કૉલમ/ઊભી કટાર", DlgTableBorder : "કોઠાની બાજુ(બોર્ડર) સાઇઝ", DlgTableAlign : "અલાઇનમન્ટ/ગોઠવાયેલું ", DlgTableAlignNotSet : "<સેટ નથી>", DlgTableAlignLeft : "ડાબી બાજુ", DlgTableAlignCenter : "મધ્ય સેન્ટર", DlgTableAlignRight : "જમણી બાજુ", DlgTableWidth : "પહોળાઈ", DlgTableWidthPx : "પિકસલ", DlgTableWidthPc : "પ્રતિશત", DlgTableHeight : "ઊંચાઈ", DlgTableCellSpace : "સેલ અંતર", DlgTableCellPad : "સેલ પૅડિંગ", DlgTableCaption : "મથાળું/કૅપ્શન ", DlgTableSummary : "ટૂંકો એહેવાલ", // Table Cell Dialog DlgCellTitle : "પંક્તિના ખાનાના ગુણ", DlgCellWidth : "પહોળાઈ", DlgCellWidthPx : "પિકસલ", DlgCellWidthPc : "પ્રતિશત", DlgCellHeight : "ઊંચાઈ", DlgCellWordWrap : "વર્ડ રૅપ", DlgCellWordWrapNotSet : "<સેટ નથી>", DlgCellWordWrapYes : "હા", DlgCellWordWrapNo : "ના", DlgCellHorAlign : "સમસ્તરીય ગોઠવવું", DlgCellHorAlignNotSet : "<સેટ નથી>", DlgCellHorAlignLeft : "ડાબી બાજુ", DlgCellHorAlignCenter : "મધ્ય સેન્ટર", DlgCellHorAlignRight: "જમણી બાજુ", DlgCellVerAlign : "લંબરૂપ ગોઠવવું", DlgCellVerAlignNotSet : "<સેટ નથી>", DlgCellVerAlignTop : "ઉપર", DlgCellVerAlignMiddle : "મધ્ય સેન્ટર", DlgCellVerAlignBottom : "નીચે", DlgCellVerAlignBaseline : "મૂળ રેખા", DlgCellRowSpan : "પંક્તિ સ્પાન", DlgCellCollSpan : "કૉલમ/ઊભી કટાર સ્પાન", DlgCellBackColor : "બૅકગ્રાઉન્ડ રંગ", DlgCellBorderColor : "બોર્ડરનો રંગ", DlgCellBtnSelect : "પસંદ કરો...", // Find and Replace Dialog DlgFindAndReplaceTitle : "શોધવું અને બદલવું", // Find Dialog DlgFindTitle : "શોધવું", DlgFindFindBtn : "શોધવું", DlgFindNotFoundMsg : "તમે શોધેલી ટેક્સ્ટ નથી મળી", // Replace Dialog DlgReplaceTitle : "બદલવું", DlgReplaceFindLbl : "આ શોધો", DlgReplaceReplaceLbl : "આનાથી બદલો", DlgReplaceCaseChk : "કેસ સરખા રાખો", DlgReplaceReplaceBtn : "બદલવું", DlgReplaceReplAllBtn : "બઘા બદલી ", DlgReplaceWordChk : "બઘા શબ્દ સરખા રાખો", // Paste Operations / Dialog PasteErrorCut : "તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસ કટ કરવાની પરવાનગી નથી આપતી. (Ctrl+X) નો ઉપયોગ કરો.", PasteErrorCopy : "તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસ કોપી કરવાની પરવાનગી નથી આપતી. (Ctrl+C) का प्रयोग करें।", PasteAsText : "પેસ્ટ (ટેક્સ્ટ)", PasteFromWord : "પેસ્ટ (વર્ડ થી)", DlgPasteMsg2 : "Ctrl+V નો પ્રયોગ કરી પેસ્ટ કરો", DlgPasteSec : "તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસના કારણે,એડિટર તમારા કિલ્પબોર્ડ ડેટા ને કોપી નથી કરી શકતો. તમારે આ વિન્ડોમાં ફરીથી પેસ્ટ કરવું પડશે.", DlgPasteIgnoreFont : "ફૉન્ટફેસ વ્યાખ્યાની અવગણના", DlgPasteRemoveStyles : "સ્ટાઇલ વ્યાખ્યા કાઢી નાખવી", // Color Picker ColorAutomatic : "સ્વચાલિત", ColorMoreColors : "ઔર રંગ...", // Document Properties DocProps : "ડૉક્યુમન્ટ ગુણ/પ્રૉપર્ટિઝ", // Anchor Dialog DlgAnchorTitle : "ઍંકર ગુણ/પ્રૉપર્ટિઝ", DlgAnchorName : "ઍંકરનું નામ", DlgAnchorErrorName : "ઍંકરનું નામ ટાઈપ કરો", // Speller Pages Dialog DlgSpellNotInDic : "શબ્દકોશમાં નથી", DlgSpellChangeTo : "આનાથી બદલવું", DlgSpellBtnIgnore : "ઇગ્નોર/અવગણના કરવી", DlgSpellBtnIgnoreAll : "બધાની ઇગ્નોર/અવગણના કરવી", DlgSpellBtnReplace : "બદલવું", DlgSpellBtnReplaceAll : "બધા બદલી કરો", DlgSpellBtnUndo : "અન્ડૂ", DlgSpellNoSuggestions : "- કઇ સજેશન નથી -", DlgSpellProgress : "શબ્દની જોડણી/સ્પેલ ચેક ચાલુ છે...", DlgSpellNoMispell : "શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: ખોટી જોડણી મળી નથી", DlgSpellNoChanges : "શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: એકપણ શબ્દ બદલયો નથી", DlgSpellOneChange : "શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: એક શબ્દ બદલયો છે", DlgSpellManyChanges : "શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: %1 શબ્દ બદલયા છે", IeSpellDownload : "સ્પેલ-ચેકર ઇન્સ્ટોલ નથી. શું તમે ડાઉનલોડ કરવા માંગો છો?", // Button Dialog DlgButtonText : "ટેક્સ્ટ (વૅલ્યૂ)", DlgButtonType : "પ્રકાર", DlgButtonTypeBtn : "બટન", DlgButtonTypeSbm : "સબ્મિટ", DlgButtonTypeRst : "રિસેટ", // Checkbox and Radio Button Dialogs DlgCheckboxName : "નામ", DlgCheckboxValue : "વૅલ્યૂ", DlgCheckboxSelected : "સિલેક્ટેડ", // Form Dialog DlgFormName : "નામ", DlgFormAction : "ક્રિયા", DlgFormMethod : "પદ્ધતિ", // Select Field Dialog DlgSelectName : "નામ", DlgSelectValue : "વૅલ્યૂ", DlgSelectSize : "સાઇઝ", DlgSelectLines : "લીટીઓ", DlgSelectChkMulti : "એકથી વધારે પસંદ કરી શકો", DlgSelectOpAvail : "ઉપલબ્ધ વિકલ્પ", DlgSelectOpText : "ટેક્સ્ટ", DlgSelectOpValue : "વૅલ્યૂ", DlgSelectBtnAdd : "ઉમેરવું", DlgSelectBtnModify : "બદલવું", DlgSelectBtnUp : "ઉપર", DlgSelectBtnDown : "નીચે", DlgSelectBtnSetValue : "પસંદ કરલી વૅલ્યૂ સેટ કરો", DlgSelectBtnDelete : "રદ કરવું", // Textarea Dialog DlgTextareaName : "નામ", DlgTextareaCols : "કૉલમ/ઊભી કટાર", DlgTextareaRows : "પંક્તિઓ", // Text Field Dialog DlgTextName : "નામ", DlgTextValue : "વૅલ્યૂ", DlgTextCharWidth : "કેરેક્ટરની પહોળાઈ", DlgTextMaxChars : "અધિકતમ કેરેક્ટર", DlgTextType : "ટાઇપ", DlgTextTypeText : "ટેક્સ્ટ", DlgTextTypePass : "પાસવર્ડ", // Hidden Field Dialog DlgHiddenName : "નામ", DlgHiddenValue : "વૅલ્યૂ", // Bulleted List Dialog BulletedListProp : "બુલેટ સૂચિ ગુણ", NumberedListProp : "સંખ્યાંક્તિ સૂચિ ગુણ", DlgLstStart : "શરૂઆતથી", DlgLstType : "પ્રકાર", DlgLstTypeCircle : "વર્તુળ", DlgLstTypeDisc : "ડિસ્ક", DlgLstTypeSquare : "ચોરસ", DlgLstTypeNumbers : "સંખ્યા (1, 2, 3)", DlgLstTypeLCase : "નાના અક્ષર (a, b, c)", DlgLstTypeUCase : "મોટા અક્ષર (A, B, C)", DlgLstTypeSRoman : "નાના રોમન આંક (i, ii, iii)", DlgLstTypeLRoman : "મોટા રોમન આંક (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "સાધારણ", DlgDocBackTab : "બૅકગ્રાઉન્ડ", DlgDocColorsTab : "રંગ અને માર્જિન/કિનાર", DlgDocMetaTab : "મેટાડૅટા", DlgDocPageTitle : "પેજ મથાળું/ટાઇટલ", DlgDocLangDir : "ભાષા લેખવાની પદ્ધતિ", DlgDocLangDirLTR : "ડાબે થી જમણે (LTR)", DlgDocLangDirRTL : "જમણે થી ડાબે (RTL)", DlgDocLangCode : "ભાષા કોડ", DlgDocCharSet : "કેરેક્ટર સેટ એન્કોડિંગ", DlgDocCharSetCE : "મધ્ય યુરોપિઅન (Central European)", DlgDocCharSetCT : "ચાઇનીઝ (Chinese Traditional Big5)", DlgDocCharSetCR : "સિરીલિક (Cyrillic)", DlgDocCharSetGR : "ગ્રીક (Greek)", DlgDocCharSetJP : "જાપાનિઝ (Japanese)", DlgDocCharSetKR : "કોરીયન (Korean)", DlgDocCharSetTR : "ટર્કિ (Turkish)", DlgDocCharSetUN : "યૂનિકોડ (UTF-8)", DlgDocCharSetWE : "પશ્ચિમ યુરોપિઅન (Western European)", DlgDocCharSetOther : "અન્ય કેરેક્ટર સેટ એન્કોડિંગ", DlgDocDocType : "ડૉક્યુમન્ટ પ્રકાર શીર્ષક", DlgDocDocTypeOther : "અન્ય ડૉક્યુમન્ટ પ્રકાર શીર્ષક", DlgDocIncXHTML : "XHTML સૂચના સમાવિષ્ટ કરવી", DlgDocBgColor : "બૅકગ્રાઉન્ડ રંગ", DlgDocBgImage : "બૅકગ્રાઉન્ડ ચિત્ર URL", DlgDocBgNoScroll : "સ્ક્રોલ ન થાય તેવું બૅકગ્રાઉન્ડ", DlgDocCText : "ટેક્સ્ટ", DlgDocCLink : "લિંક", DlgDocCVisited : "વિઝિટેડ લિંક", DlgDocCActive : "સક્રિય લિંક", DlgDocMargins : "પેજ માર્જિન", DlgDocMaTop : "ઉપર", DlgDocMaLeft : "ડાબી", DlgDocMaRight : "જમણી", DlgDocMaBottom : "નીચે", DlgDocMeIndex : "ડૉક્યુમન્ટ ઇન્ડેક્સ સંકેતશબ્દ (અલ્પવિરામ (,) થી અલગ કરો)", DlgDocMeDescr : "ડૉક્યુમન્ટ વર્ણન", DlgDocMeAuthor : "લેખક", DlgDocMeCopy : "કૉપિરાઇટ", DlgDocPreview : "પૂર્વદર્શન", // Templates Dialog Templates : "ટેમ્પ્લેટ", DlgTemplatesTitle : "કન્ટેન્ટ ટેમ્પ્લેટ", DlgTemplatesSelMsg : "એડિટરમાં ઓપન કરવા ટેમ્પ્લેટ પસંદ કરો (વર્તમાન કન્ટેન્ટ સેવ નહીં થાય):", DlgTemplatesLoading : "ટેમ્પ્લેટ સૂચિ લોડ થાય છે. રાહ જુઓ...", DlgTemplatesNoTpl : "(કોઈ ટેમ્પ્લેટ ડિફાઇન નથી)", DlgTemplatesReplace : "મૂળ શબ્દને બદલો", // About Dialog DlgAboutAboutTab : "FCKEditor ના વિષે", DlgAboutBrowserInfoTab : "બ્રાઉઝર ના વિષે", DlgAboutLicenseTab : "લાઇસન્સ", DlgAboutVersion : "વર્ઝન", DlgAboutInfo : "વધારે માહિતી માટે:", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Dutch language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Menubalk inklappen", ToolbarExpand : "Menubalk uitklappen", // Toolbar Items and Context Menu Save : "Opslaan", NewPage : "Nieuwe pagina", Preview : "Voorbeeld", Cut : "Knippen", Copy : "Kopiëren", Paste : "Plakken", PasteText : "Plakken als platte tekst", PasteWord : "Plakken als Word-gegevens", Print : "Printen", SelectAll : "Alles selecteren", RemoveFormat : "Opmaak verwijderen", InsertLinkLbl : "Link", InsertLink : "Link invoegen/wijzigen", RemoveLink : "Link verwijderen", VisitLink : "Link volgen", Anchor : "Interne link", AnchorDelete : "Anker verwijderen", InsertImageLbl : "Afbeelding", InsertImage : "Afbeelding invoegen/wijzigen", InsertFlashLbl : "Flash", InsertFlash : "Flash invoegen/wijzigen", InsertTableLbl : "Tabel", InsertTable : "Tabel invoegen/wijzigen", InsertLineLbl : "Lijn", InsertLine : "Horizontale lijn invoegen", InsertSpecialCharLbl: "Speciale tekens", InsertSpecialChar : "Speciaal teken invoegen", InsertSmileyLbl : "Smiley", InsertSmiley : "Smiley invoegen", About : "Over FCKeditor", Bold : "Vet", Italic : "Schuingedrukt", Underline : "Onderstreept", StrikeThrough : "Doorhalen", Subscript : "Subscript", Superscript : "Superscript", LeftJustify : "Links uitlijnen", CenterJustify : "Centreren", RightJustify : "Rechts uitlijnen", BlockJustify : "Uitvullen", DecreaseIndent : "Inspringen verkleinen", IncreaseIndent : "Inspringen vergroten", Blockquote : "Citaatblok", CreateDiv : "DIV aanmaken", EditDiv : "DIV wijzigen", DeleteDiv : "DIV verwijderen", Undo : "Ongedaan maken", Redo : "Opnieuw uitvoeren", NumberedListLbl : "Genummerde lijst", NumberedList : "Genummerde lijst invoegen/verwijderen", BulletedListLbl : "Opsomming", BulletedList : "Opsomming invoegen/verwijderen", ShowTableBorders : "Randen tabel weergeven", ShowDetails : "Details weergeven", Style : "Stijl", FontFormat : "Opmaak", Font : "Lettertype", FontSize : "Grootte", TextColor : "Tekstkleur", BGColor : "Achtergrondkleur", Source : "Code", Find : "Zoeken", Replace : "Vervangen", SpellCheck : "Spellingscontrole", UniversalKeyboard : "Universeel toetsenbord", PageBreakLbl : "Pagina-einde", PageBreak : "Pagina-einde invoegen", Form : "Formulier", Checkbox : "Aanvinkvakje", RadioButton : "Selectievakje", TextField : "Tekstveld", Textarea : "Tekstvak", HiddenField : "Verborgen veld", Button : "Knop", SelectionField : "Selectieveld", ImageButton : "Afbeeldingsknop", FitWindow : "De editor maximaliseren", ShowBlocks : "Toon blokken", // Context Menu EditLink : "Link wijzigen", CellCM : "Cel", RowCM : "Rij", ColumnCM : "Kolom", InsertRowAfter : "Voeg rij in achter", InsertRowBefore : "Voeg rij in voor", DeleteRows : "Rijen verwijderen", InsertColumnAfter : "Voeg kolom in achter", InsertColumnBefore : "Voeg kolom in voor", DeleteColumns : "Kolommen verwijderen", InsertCellAfter : "Voeg cel in achter", InsertCellBefore : "Voeg cel in voor", DeleteCells : "Cellen verwijderen", MergeCells : "Cellen samenvoegen", MergeRight : "Voeg samen naar rechts", MergeDown : "Voeg samen naar beneden", HorizontalSplitCell : "Splits cellen horizontaal", VerticalSplitCell : "Splits cellen verticaal", TableDelete : "Tabel verwijderen", CellProperties : "Eigenschappen cel", TableProperties : "Eigenschappen tabel", ImageProperties : "Eigenschappen afbeelding", FlashProperties : "Eigenschappen Flash", AnchorProp : "Eigenschappen interne link", ButtonProp : "Eigenschappen knop", CheckboxProp : "Eigenschappen aanvinkvakje", HiddenFieldProp : "Eigenschappen verborgen veld", RadioButtonProp : "Eigenschappen selectievakje", ImageButtonProp : "Eigenschappen afbeeldingsknop", TextFieldProp : "Eigenschappen tekstveld", SelectionFieldProp : "Eigenschappen selectieveld", TextareaProp : "Eigenschappen tekstvak", FormProp : "Eigenschappen formulier", FontFormats : "Normaal;Met opmaak;Adres;Kop 1;Kop 2;Kop 3;Kop 4;Kop 5;Kop 6;Normaal (DIV)", // Alerts and Messages ProcessingXHTML : "Bezig met verwerken XHTML. Even geduld aub...", Done : "Klaar", PasteWordConfirm : "De tekst die je plakte lijkt gekopieerd uit te zijn Word. Wil je de tekst opschonen voordat deze geplakt wordt?", NotCompatiblePaste : "Deze opdracht is beschikbaar voor Internet Explorer versie 5.5 of hoger. Wil je plakken zonder op te schonen?", UnknownToolbarItem : "Onbekend item op menubalk \"%1\"", UnknownCommand : "Onbekende opdrachtnaam: \"%1\"", NotImplemented : "Opdracht niet geïmplementeerd.", UnknownToolbarSet : "Menubalk \"%1\" bestaat niet.", NoActiveX : "De beveilingsinstellingen van je browser zouden sommige functies van de editor kunnen beperken. De optie \"Activeer ActiveX-elementen en plug-ins\" dient ingeschakeld te worden. Het kan zijn dat er nu functies ontbreken of niet werken.", BrowseServerBlocked : "De bestandsbrowser kon niet geopend worden. Zorg ervoor dat pop-up-blokkeerders uit staan.", DialogBlocked : "Kan het dialoogvenster niet weergeven. Zorg ervoor dat pop-up-blokkeerders uit staan.", VisitLinkBlocked : "Het was niet mogelijk een nieuw venster te openen. Controleer of er geen pop-up-blocker aktief is.", // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Annuleren", DlgBtnClose : "Afsluiten", DlgBtnBrowseServer : "Bladeren op server", DlgAdvancedTag : "Geavanceerd", DlgOpOther : "<Anders>", DlgInfoTab : "Informatie", DlgAlertUrl : "Geef URL op", // General Dialogs Labels DlgGenNotSet : "<niet ingevuld>", DlgGenId : "Kenmerk", DlgGenLangDir : "Schrijfrichting", DlgGenLangDirLtr : "Links naar rechts (LTR)", DlgGenLangDirRtl : "Rechts naar links (RTL)", DlgGenLangCode : "Taalcode", DlgGenAccessKey : "Toegangstoets", DlgGenName : "Naam", DlgGenTabIndex : "Tabvolgorde", DlgGenLongDescr : "Lange URL-omschrijving", DlgGenClass : "Stylesheet-klassen", DlgGenTitle : "Aanbevolen titel", DlgGenContType : "Aanbevolen content-type", DlgGenLinkCharset : "Karakterset van gelinkte bron", DlgGenStyle : "Stijl", // Image Dialog DlgImgTitle : "Eigenschappen afbeelding", DlgImgInfoTab : "Informatie afbeelding", DlgImgBtnUpload : "Naar server verzenden", DlgImgURL : "URL", DlgImgUpload : "Upload", DlgImgAlt : "Alternatieve tekst", DlgImgWidth : "Breedte", DlgImgHeight : "Hoogte", DlgImgLockRatio : "Afmetingen vergrendelen", DlgBtnResetSize : "Afmetingen resetten", DlgImgBorder : "Rand", DlgImgHSpace : "HSpace", DlgImgVSpace : "VSpace", DlgImgAlign : "Uitlijning", DlgImgAlignLeft : "Links", DlgImgAlignAbsBottom: "Absoluut-onder", DlgImgAlignAbsMiddle: "Absoluut-midden", DlgImgAlignBaseline : "Basislijn", DlgImgAlignBottom : "Beneden", DlgImgAlignMiddle : "Midden", DlgImgAlignRight : "Rechts", DlgImgAlignTextTop : "Boven tekst", DlgImgAlignTop : "Boven", DlgImgPreview : "Voorbeeld", DlgImgAlertUrl : "Geef de URL van de afbeelding", DlgImgLinkTab : "Link", // Flash Dialog DlgFlashTitle : "Eigenschappen Flash", DlgFlashChkPlay : "Automatisch afspelen", DlgFlashChkLoop : "Herhalen", DlgFlashChkMenu : "Flashmenu\'s inschakelen", DlgFlashScale : "Schaal", DlgFlashScaleAll : "Alles tonen", DlgFlashScaleNoBorder : "Geen rand", DlgFlashScaleFit : "Precies passend", // Link Dialog DlgLnkWindowTitle : "Link", DlgLnkInfoTab : "Linkomschrijving", DlgLnkTargetTab : "Doel", DlgLnkType : "Linktype", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Interne link in pagina", DlgLnkTypeEMail : "E-mail", DlgLnkProto : "Protocol", DlgLnkProtoOther : "<anders>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Kies een interne link", DlgLnkAnchorByName : "Op naam interne link", DlgLnkAnchorById : "Op kenmerk interne link", DlgLnkNoAnchors : "(Geen interne links in document gevonden)", DlgLnkEMail : "E-mailadres", DlgLnkEMailSubject : "Onderwerp bericht", DlgLnkEMailBody : "Inhoud bericht", DlgLnkUpload : "Upload", DlgLnkBtnUpload : "Naar de server versturen", DlgLnkTarget : "Doel", DlgLnkTargetFrame : "<frame>", DlgLnkTargetPopup : "<popup window>", DlgLnkTargetBlank : "Nieuw venster (_blank)", DlgLnkTargetParent : "Origineel venster (_parent)", DlgLnkTargetSelf : "Zelfde venster (_self)", DlgLnkTargetTop : "Hele venster (_top)", DlgLnkTargetFrameName : "Naam doelframe", DlgLnkPopWinName : "Naam popupvenster", DlgLnkPopWinFeat : "Instellingen popupvenster", DlgLnkPopResize : "Grootte wijzigen", DlgLnkPopLocation : "Locatiemenu", DlgLnkPopMenu : "Menubalk", DlgLnkPopScroll : "Schuifbalken", DlgLnkPopStatus : "Statusbalk", DlgLnkPopToolbar : "Menubalk", DlgLnkPopFullScrn : "Volledig scherm (IE)", DlgLnkPopDependent : "Afhankelijk (Netscape)", DlgLnkPopWidth : "Breedte", DlgLnkPopHeight : "Hoogte", DlgLnkPopLeft : "Positie links", DlgLnkPopTop : "Positie boven", DlnLnkMsgNoUrl : "Geef de link van de URL", DlnLnkMsgNoEMail : "Geef een e-mailadres", DlnLnkMsgNoAnchor : "Selecteer een interne link", DlnLnkMsgInvPopName : "De naam van de popup moet met een alfa-numerieke waarde beginnen, en mag geen spaties bevatten.", // Color Dialog DlgColorTitle : "Selecteer kleur", DlgColorBtnClear : "Opschonen", DlgColorHighlight : "Accentueren", DlgColorSelected : "Geselecteerd", // Smiley Dialog DlgSmileyTitle : "Smiley invoegen", // Special Character Dialog DlgSpecialCharTitle : "Selecteer speciaal teken", // Table Dialog DlgTableTitle : "Eigenschappen tabel", DlgTableRows : "Rijen", DlgTableColumns : "Kolommen", DlgTableBorder : "Breedte rand", DlgTableAlign : "Uitlijning", DlgTableAlignNotSet : "<Niet ingevoerd>", DlgTableAlignLeft : "Links", DlgTableAlignCenter : "Centreren", DlgTableAlignRight : "Rechts", DlgTableWidth : "Breedte", DlgTableWidthPx : "pixels", DlgTableWidthPc : "procent", DlgTableHeight : "Hoogte", DlgTableCellSpace : "Afstand tussen cellen", DlgTableCellPad : "Afstand vanaf rand cel", DlgTableCaption : "Naam", DlgTableSummary : "Samenvatting", // Table Cell Dialog DlgCellTitle : "Eigenschappen cel", DlgCellWidth : "Breedte", DlgCellWidthPx : "pixels", DlgCellWidthPc : "procent", DlgCellHeight : "Hoogte", DlgCellWordWrap : "Afbreken woorden", DlgCellWordWrapNotSet : "<Niet ingevoerd>", DlgCellWordWrapYes : "Ja", DlgCellWordWrapNo : "Nee", DlgCellHorAlign : "Horizontale uitlijning", DlgCellHorAlignNotSet : "<Niet ingevoerd>", DlgCellHorAlignLeft : "Links", DlgCellHorAlignCenter : "Centreren", DlgCellHorAlignRight: "Rechts", DlgCellVerAlign : "Verticale uitlijning", DlgCellVerAlignNotSet : "<Niet ingevoerd>", DlgCellVerAlignTop : "Boven", DlgCellVerAlignMiddle : "Midden", DlgCellVerAlignBottom : "Beneden", DlgCellVerAlignBaseline : "Basislijn", DlgCellRowSpan : "Overkoepeling rijen", DlgCellCollSpan : "Overkoepeling kolommen", DlgCellBackColor : "Achtergrondkleur", DlgCellBorderColor : "Randkleur", DlgCellBtnSelect : "Selecteren...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Zoeken en vervangen", // Find Dialog DlgFindTitle : "Zoeken", DlgFindFindBtn : "Zoeken", DlgFindNotFoundMsg : "De opgegeven tekst is niet gevonden.", // Replace Dialog DlgReplaceTitle : "Vervangen", DlgReplaceFindLbl : "Zoeken naar:", DlgReplaceReplaceLbl : "Vervangen met:", DlgReplaceCaseChk : "Hoofdlettergevoelig", DlgReplaceReplaceBtn : "Vervangen", DlgReplaceReplAllBtn : "Alles vervangen", DlgReplaceWordChk : "Hele woord moet voorkomen", // Paste Operations / Dialog PasteErrorCut : "De beveiligingsinstelling van de browser verhinderen het automatisch knippen. Gebruik de sneltoets Ctrl+X van het toetsenbord.", PasteErrorCopy : "De beveiligingsinstelling van de browser verhinderen het automatisch kopiëren. Gebruik de sneltoets Ctrl+C van het toetsenbord.", PasteAsText : "Plakken als platte tekst", PasteFromWord : "Plakken als Word-gegevens", DlgPasteMsg2 : "Plak de tekst in het volgende vak gebruik makend van je toetstenbord (<strong>Ctrl+V</strong>) en klik op <strong>OK</strong>.", DlgPasteSec : "Door de beveiligingsinstellingen van uw browser is het niet mogelijk om direct vanuit het klembord in de editor te plakken. Middels opnieuw plakken in dit venster kunt u de tekst alsnog plakken in de editor.", DlgPasteIgnoreFont : "Negeer \"Font Face\"-definities", DlgPasteRemoveStyles : "Verwijder \"Style\"-definities", // Color Picker ColorAutomatic : "Automatisch", ColorMoreColors : "Meer kleuren...", // Document Properties DocProps : "Eigenschappen document", // Anchor Dialog DlgAnchorTitle : "Eigenschappen interne link", DlgAnchorName : "Naam interne link", DlgAnchorErrorName : "Geef de naam van de interne link op", // Speller Pages Dialog DlgSpellNotInDic : "Niet in het woordenboek", DlgSpellChangeTo : "Wijzig in", DlgSpellBtnIgnore : "Negeren", DlgSpellBtnIgnoreAll : "Alles negeren", DlgSpellBtnReplace : "Vervangen", DlgSpellBtnReplaceAll : "Alles vervangen", DlgSpellBtnUndo : "Ongedaan maken", DlgSpellNoSuggestions : "-Geen suggesties-", DlgSpellProgress : "Bezig met spellingscontrole...", DlgSpellNoMispell : "Klaar met spellingscontrole: geen fouten gevonden", DlgSpellNoChanges : "Klaar met spellingscontrole: geen woorden aangepast", DlgSpellOneChange : "Klaar met spellingscontrole: één woord aangepast", DlgSpellManyChanges : "Klaar met spellingscontrole: %1 woorden aangepast", IeSpellDownload : "De spellingscontrole niet geïnstalleerd. Wil je deze nu downloaden?", // Button Dialog DlgButtonText : "Tekst (waarde)", DlgButtonType : "Soort", DlgButtonTypeBtn : "Knop", DlgButtonTypeSbm : "Versturen", DlgButtonTypeRst : "Leegmaken", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Naam", DlgCheckboxValue : "Waarde", DlgCheckboxSelected : "Geselecteerd", // Form Dialog DlgFormName : "Naam", DlgFormAction : "Actie", DlgFormMethod : "Methode", // Select Field Dialog DlgSelectName : "Naam", DlgSelectValue : "Waarde", DlgSelectSize : "Grootte", DlgSelectLines : "Regels", DlgSelectChkMulti : "Gecombineerde selecties toestaan", DlgSelectOpAvail : "Beschikbare opties", DlgSelectOpText : "Tekst", DlgSelectOpValue : "Waarde", DlgSelectBtnAdd : "Toevoegen", DlgSelectBtnModify : "Wijzigen", DlgSelectBtnUp : "Omhoog", DlgSelectBtnDown : "Omlaag", DlgSelectBtnSetValue : "Als geselecteerde waarde instellen", DlgSelectBtnDelete : "Verwijderen", // Textarea Dialog DlgTextareaName : "Naam", DlgTextareaCols : "Kolommen", DlgTextareaRows : "Rijen", // Text Field Dialog DlgTextName : "Naam", DlgTextValue : "Waarde", DlgTextCharWidth : "Breedte (tekens)", DlgTextMaxChars : "Maximum aantal tekens", DlgTextType : "Soort", DlgTextTypeText : "Tekst", DlgTextTypePass : "Wachtwoord", // Hidden Field Dialog DlgHiddenName : "Naam", DlgHiddenValue : "Waarde", // Bulleted List Dialog BulletedListProp : "Eigenschappen opsommingslijst", NumberedListProp : "Eigenschappen genummerde opsommingslijst", DlgLstStart : "Start", DlgLstType : "Soort", DlgLstTypeCircle : "Cirkel", DlgLstTypeDisc : "Schijf", DlgLstTypeSquare : "Vierkant", DlgLstTypeNumbers : "Nummers (1, 2, 3)", DlgLstTypeLCase : "Kleine letters (a, b, c)", DlgLstTypeUCase : "Hoofdletters (A, B, C)", DlgLstTypeSRoman : "Klein Romeins (i, ii, iii)", DlgLstTypeLRoman : "Groot Romeins (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Algemeen", DlgDocBackTab : "Achtergrond", DlgDocColorsTab : "Kleuring en marges", DlgDocMetaTab : "META-data", DlgDocPageTitle : "Paginatitel", DlgDocLangDir : "Schrijfrichting", DlgDocLangDirLTR : "Links naar rechts", DlgDocLangDirRTL : "Rechts naar links", DlgDocLangCode : "Taalcode", DlgDocCharSet : "Karakterset-encoding", DlgDocCharSetCE : "Centraal Europees", DlgDocCharSetCT : "Traditioneel Chinees (Big5)", DlgDocCharSetCR : "Cyriliaans", DlgDocCharSetGR : "Grieks", DlgDocCharSetJP : "Japans", DlgDocCharSetKR : "Koreaans", DlgDocCharSetTR : "Turks", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "West europees", DlgDocCharSetOther : "Andere karakterset-encoding", DlgDocDocType : "Opschrift documentsoort", DlgDocDocTypeOther : "Ander opschrift documentsoort", DlgDocIncXHTML : "XHTML-declaraties meenemen", DlgDocBgColor : "Achtergrondkleur", DlgDocBgImage : "URL achtergrondplaatje", DlgDocBgNoScroll : "Vaste achtergrond", DlgDocCText : "Tekst", DlgDocCLink : "Link", DlgDocCVisited : "Bezochte link", DlgDocCActive : "Active link", DlgDocMargins : "Afstandsinstellingen document", DlgDocMaTop : "Boven", DlgDocMaLeft : "Links", DlgDocMaRight : "Rechts", DlgDocMaBottom : "Onder", DlgDocMeIndex : "Trefwoorden betreffende document (kommagescheiden)", DlgDocMeDescr : "Beschrijving document", DlgDocMeAuthor : "Auteur", DlgDocMeCopy : "Copyright", DlgDocPreview : "Voorbeeld", // Templates Dialog Templates : "Sjablonen", DlgTemplatesTitle : "Inhoud sjabonen", DlgTemplatesSelMsg : "Selecteer het sjabloon dat in de editor geopend moet worden (de actuele inhoud gaat verloren):", DlgTemplatesLoading : "Bezig met laden sjabonen. Even geduld alstublieft...", DlgTemplatesNoTpl : "(Geen sjablonen gedefinieerd)", DlgTemplatesReplace : "Vervang de huidige inhoud", // About Dialog DlgAboutAboutTab : "Over", DlgAboutBrowserInfoTab : "Browserinformatie", DlgAboutLicenseTab : "Licentie", DlgAboutVersion : "Versie", DlgAboutInfo : "Voor meer informatie ga naar ", // Div Dialog DlgDivGeneralTab : "Algemeen", DlgDivAdvancedTab : "Geavanceerd", DlgDivStyle : "Style", DlgDivInlineStyle : "Inline Style" };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * English (Canadian) language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Collapse Toolbar", ToolbarExpand : "Expand Toolbar", // Toolbar Items and Context Menu Save : "Save", NewPage : "New Page", Preview : "Preview", Cut : "Cut", Copy : "Copy", Paste : "Paste", PasteText : "Paste as plain text", PasteWord : "Paste from Word", Print : "Print", SelectAll : "Select All", RemoveFormat : "Remove Format", InsertLinkLbl : "Link", InsertLink : "Insert/Edit Link", RemoveLink : "Remove Link", VisitLink : "Open Link", Anchor : "Insert/Edit Anchor", AnchorDelete : "Remove Anchor", InsertImageLbl : "Image", InsertImage : "Insert/Edit Image", InsertFlashLbl : "Flash", InsertFlash : "Insert/Edit Flash", InsertTableLbl : "Table", InsertTable : "Insert/Edit Table", InsertLineLbl : "Line", InsertLine : "Insert Horizontal Line", InsertSpecialCharLbl: "Special Character", InsertSpecialChar : "Insert Special Character", InsertSmileyLbl : "Smiley", InsertSmiley : "Insert Smiley", About : "About FCKeditor", Bold : "Bold", Italic : "Italic", Underline : "Underline", StrikeThrough : "Strike Through", Subscript : "Subscript", Superscript : "Superscript", LeftJustify : "Left Justify", CenterJustify : "Centre Justify", RightJustify : "Right Justify", BlockJustify : "Block Justify", DecreaseIndent : "Decrease Indent", IncreaseIndent : "Increase Indent", Blockquote : "Blockquote", CreateDiv : "Create Div Container", EditDiv : "Edit Div Container", DeleteDiv : "Remove Div Container", Undo : "Undo", Redo : "Redo", NumberedListLbl : "Numbered List", NumberedList : "Insert/Remove Numbered List", BulletedListLbl : "Bulleted List", BulletedList : "Insert/Remove Bulleted List", ShowTableBorders : "Show Table Borders", ShowDetails : "Show Details", Style : "Style", FontFormat : "Format", Font : "Font", FontSize : "Size", TextColor : "Text Colour", BGColor : "Background Colour", Source : "Source", Find : "Find", Replace : "Replace", SpellCheck : "Check Spelling", UniversalKeyboard : "Universal Keyboard", PageBreakLbl : "Page Break", PageBreak : "Insert Page Break", Form : "Form", Checkbox : "Checkbox", RadioButton : "Radio Button", TextField : "Text Field", Textarea : "Textarea", HiddenField : "Hidden Field", Button : "Button", SelectionField : "Selection Field", ImageButton : "Image Button", FitWindow : "Maximize the editor size", ShowBlocks : "Show Blocks", // Context Menu EditLink : "Edit Link", CellCM : "Cell", RowCM : "Row", ColumnCM : "Column", InsertRowAfter : "Insert Row After", InsertRowBefore : "Insert Row Before", DeleteRows : "Delete Rows", InsertColumnAfter : "Insert Column After", InsertColumnBefore : "Insert Column Before", DeleteColumns : "Delete Columns", InsertCellAfter : "Insert Cell After", InsertCellBefore : "Insert Cell Before", DeleteCells : "Delete Cells", MergeCells : "Merge Cells", MergeRight : "Merge Right", MergeDown : "Merge Down", HorizontalSplitCell : "Split Cell Horizontally", VerticalSplitCell : "Split Cell Vertically", TableDelete : "Delete Table", CellProperties : "Cell Properties", TableProperties : "Table Properties", ImageProperties : "Image Properties", FlashProperties : "Flash Properties", AnchorProp : "Anchor Properties", ButtonProp : "Button Properties", CheckboxProp : "Checkbox Properties", HiddenFieldProp : "Hidden Field Properties", RadioButtonProp : "Radio Button Properties", ImageButtonProp : "Image Button Properties", TextFieldProp : "Text Field Properties", SelectionFieldProp : "Selection Field Properties", TextareaProp : "Textarea Properties", FormProp : "Form Properties", FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", // Alerts and Messages ProcessingXHTML : "Processing XHTML. Please wait...", Done : "Done", PasteWordConfirm : "The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?", NotCompatiblePaste : "This command is available for Internet Explorer version 5.5 or more. Do you want to paste without cleaning?", UnknownToolbarItem : "Unknown toolbar item \"%1\"", UnknownCommand : "Unknown command name \"%1\"", NotImplemented : "Command not implemented", UnknownToolbarSet : "Toolbar set \"%1\" doesn't exist", NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Cancel", DlgBtnClose : "Close", DlgBtnBrowseServer : "Browse Server", DlgAdvancedTag : "Advanced", DlgOpOther : "<Other>", DlgInfoTab : "Info", DlgAlertUrl : "Please insert the URL", // General Dialogs Labels DlgGenNotSet : "<not set>", DlgGenId : "Id", DlgGenLangDir : "Language Direction", DlgGenLangDirLtr : "Left to Right (LTR)", DlgGenLangDirRtl : "Right to Left (RTL)", DlgGenLangCode : "Language Code", DlgGenAccessKey : "Access Key", DlgGenName : "Name", DlgGenTabIndex : "Tab Index", DlgGenLongDescr : "Long Description URL", DlgGenClass : "Stylesheet Classes", DlgGenTitle : "Advisory Title", DlgGenContType : "Advisory Content Type", DlgGenLinkCharset : "Linked Resource Charset", DlgGenStyle : "Style", // Image Dialog DlgImgTitle : "Image Properties", DlgImgInfoTab : "Image Info", DlgImgBtnUpload : "Send it to the Server", DlgImgURL : "URL", DlgImgUpload : "Upload", DlgImgAlt : "Alternative Text", DlgImgWidth : "Width", DlgImgHeight : "Height", DlgImgLockRatio : "Lock Ratio", DlgBtnResetSize : "Reset Size", DlgImgBorder : "Border", DlgImgHSpace : "HSpace", DlgImgVSpace : "VSpace", DlgImgAlign : "Align", DlgImgAlignLeft : "Left", DlgImgAlignAbsBottom: "Abs Bottom", DlgImgAlignAbsMiddle: "Abs Middle", DlgImgAlignBaseline : "Baseline", DlgImgAlignBottom : "Bottom", DlgImgAlignMiddle : "Middle", DlgImgAlignRight : "Right", DlgImgAlignTextTop : "Text Top", DlgImgAlignTop : "Top", DlgImgPreview : "Preview", DlgImgAlertUrl : "Please type the image URL", DlgImgLinkTab : "Link", // Flash Dialog DlgFlashTitle : "Flash Properties", DlgFlashChkPlay : "Auto Play", DlgFlashChkLoop : "Loop", DlgFlashChkMenu : "Enable Flash Menu", DlgFlashScale : "Scale", DlgFlashScaleAll : "Show all", DlgFlashScaleNoBorder : "No Border", DlgFlashScaleFit : "Exact Fit", // Link Dialog DlgLnkWindowTitle : "Link", DlgLnkInfoTab : "Link Info", DlgLnkTargetTab : "Target", DlgLnkType : "Link Type", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Link to anchor in the text", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Protocol", DlgLnkProtoOther : "<other>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Select an Anchor", DlgLnkAnchorByName : "By Anchor Name", DlgLnkAnchorById : "By Element Id", DlgLnkNoAnchors : "(No anchors available in the document)", DlgLnkEMail : "E-Mail Address", DlgLnkEMailSubject : "Message Subject", DlgLnkEMailBody : "Message Body", DlgLnkUpload : "Upload", DlgLnkBtnUpload : "Send it to the Server", DlgLnkTarget : "Target", DlgLnkTargetFrame : "<frame>", DlgLnkTargetPopup : "<popup window>", DlgLnkTargetBlank : "New Window (_blank)", DlgLnkTargetParent : "Parent Window (_parent)", DlgLnkTargetSelf : "Same Window (_self)", DlgLnkTargetTop : "Topmost Window (_top)", DlgLnkTargetFrameName : "Target Frame Name", DlgLnkPopWinName : "Popup Window Name", DlgLnkPopWinFeat : "Popup Window Features", DlgLnkPopResize : "Resizable", DlgLnkPopLocation : "Location Bar", DlgLnkPopMenu : "Menu Bar", DlgLnkPopScroll : "Scroll Bars", DlgLnkPopStatus : "Status Bar", DlgLnkPopToolbar : "Toolbar", DlgLnkPopFullScrn : "Full Screen (IE)", DlgLnkPopDependent : "Dependent (Netscape)", DlgLnkPopWidth : "Width", DlgLnkPopHeight : "Height", DlgLnkPopLeft : "Left Position", DlgLnkPopTop : "Top Position", DlnLnkMsgNoUrl : "Please type the link URL", DlnLnkMsgNoEMail : "Please type the e-mail address", DlnLnkMsgNoAnchor : "Please select an anchor", DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", // Color Dialog DlgColorTitle : "Select Colour", DlgColorBtnClear : "Clear", DlgColorHighlight : "Highlight", DlgColorSelected : "Selected", // Smiley Dialog DlgSmileyTitle : "Insert a Smiley", // Special Character Dialog DlgSpecialCharTitle : "Select Special Character", // Table Dialog DlgTableTitle : "Table Properties", DlgTableRows : "Rows", DlgTableColumns : "Columns", DlgTableBorder : "Border size", DlgTableAlign : "Alignment", DlgTableAlignNotSet : "<Not set>", DlgTableAlignLeft : "Left", DlgTableAlignCenter : "Centre", DlgTableAlignRight : "Right", DlgTableWidth : "Width", DlgTableWidthPx : "pixels", DlgTableWidthPc : "percent", DlgTableHeight : "Height", DlgTableCellSpace : "Cell spacing", DlgTableCellPad : "Cell padding", DlgTableCaption : "Caption", DlgTableSummary : "Summary", // Table Cell Dialog DlgCellTitle : "Cell Properties", DlgCellWidth : "Width", DlgCellWidthPx : "pixels", DlgCellWidthPc : "percent", DlgCellHeight : "Height", DlgCellWordWrap : "Word Wrap", DlgCellWordWrapNotSet : "<Not set>", DlgCellWordWrapYes : "Yes", DlgCellWordWrapNo : "No", DlgCellHorAlign : "Horizontal Alignment", DlgCellHorAlignNotSet : "<Not set>", DlgCellHorAlignLeft : "Left", DlgCellHorAlignCenter : "Centre", DlgCellHorAlignRight: "Right", DlgCellVerAlign : "Vertical Alignment", DlgCellVerAlignNotSet : "<Not set>", DlgCellVerAlignTop : "Top", DlgCellVerAlignMiddle : "Middle", DlgCellVerAlignBottom : "Bottom", DlgCellVerAlignBaseline : "Baseline", DlgCellRowSpan : "Rows Span", DlgCellCollSpan : "Columns Span", DlgCellBackColor : "Background Colour", DlgCellBorderColor : "Border Colour", DlgCellBtnSelect : "Select...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Find and Replace", // Find Dialog DlgFindTitle : "Find", DlgFindFindBtn : "Find", DlgFindNotFoundMsg : "The specified text was not found.", // Replace Dialog DlgReplaceTitle : "Replace", DlgReplaceFindLbl : "Find what:", DlgReplaceReplaceLbl : "Replace with:", DlgReplaceCaseChk : "Match case", DlgReplaceReplaceBtn : "Replace", DlgReplaceReplAllBtn : "Replace All", DlgReplaceWordChk : "Match whole word", // Paste Operations / Dialog PasteErrorCut : "Your browser security settings don't permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).", PasteErrorCopy : "Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).", PasteAsText : "Paste as Plain Text", PasteFromWord : "Paste from Word", DlgPasteMsg2 : "Please paste inside the following box using the keyboard (<strong>Ctrl+V</strong>) and hit <strong>OK</strong>.", DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", DlgPasteIgnoreFont : "Ignore Font Face definitions", DlgPasteRemoveStyles : "Remove Styles definitions", // Color Picker ColorAutomatic : "Automatic", ColorMoreColors : "More Colours...", // Document Properties DocProps : "Document Properties", // Anchor Dialog DlgAnchorTitle : "Anchor Properties", DlgAnchorName : "Anchor Name", DlgAnchorErrorName : "Please type the anchor name", // Speller Pages Dialog DlgSpellNotInDic : "Not in dictionary", DlgSpellChangeTo : "Change to", DlgSpellBtnIgnore : "Ignore", DlgSpellBtnIgnoreAll : "Ignore All", DlgSpellBtnReplace : "Replace", DlgSpellBtnReplaceAll : "Replace All", DlgSpellBtnUndo : "Undo", DlgSpellNoSuggestions : "- No suggestions -", DlgSpellProgress : "Spell check in progress...", DlgSpellNoMispell : "Spell check complete: No misspellings found", DlgSpellNoChanges : "Spell check complete: No words changed", DlgSpellOneChange : "Spell check complete: One word changed", DlgSpellManyChanges : "Spell check complete: %1 words changed", IeSpellDownload : "Spell checker not installed. Do you want to download it now?", // Button Dialog DlgButtonText : "Text (Value)", DlgButtonType : "Type", DlgButtonTypeBtn : "Button", DlgButtonTypeSbm : "Submit", DlgButtonTypeRst : "Reset", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Name", DlgCheckboxValue : "Value", DlgCheckboxSelected : "Selected", // Form Dialog DlgFormName : "Name", DlgFormAction : "Action", DlgFormMethod : "Method", // Select Field Dialog DlgSelectName : "Name", DlgSelectValue : "Value", DlgSelectSize : "Size", DlgSelectLines : "lines", DlgSelectChkMulti : "Allow multiple selections", DlgSelectOpAvail : "Available Options", DlgSelectOpText : "Text", DlgSelectOpValue : "Value", DlgSelectBtnAdd : "Add", DlgSelectBtnModify : "Modify", DlgSelectBtnUp : "Up", DlgSelectBtnDown : "Down", DlgSelectBtnSetValue : "Set as selected value", DlgSelectBtnDelete : "Delete", // Textarea Dialog DlgTextareaName : "Name", DlgTextareaCols : "Columns", DlgTextareaRows : "Rows", // Text Field Dialog DlgTextName : "Name", DlgTextValue : "Value", DlgTextCharWidth : "Character Width", DlgTextMaxChars : "Maximum Characters", DlgTextType : "Type", DlgTextTypeText : "Text", DlgTextTypePass : "Password", // Hidden Field Dialog DlgHiddenName : "Name", DlgHiddenValue : "Value", // Bulleted List Dialog BulletedListProp : "Bulleted List Properties", NumberedListProp : "Numbered List Properties", DlgLstStart : "Start", DlgLstType : "Type", DlgLstTypeCircle : "Circle", DlgLstTypeDisc : "Disc", DlgLstTypeSquare : "Square", DlgLstTypeNumbers : "Numbers (1, 2, 3)", DlgLstTypeLCase : "Lowercase Letters (a, b, c)", DlgLstTypeUCase : "Uppercase Letters (A, B, C)", DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "General", DlgDocBackTab : "Background", DlgDocColorsTab : "Colours and Margins", DlgDocMetaTab : "Meta Data", DlgDocPageTitle : "Page Title", DlgDocLangDir : "Language Direction", DlgDocLangDirLTR : "Left to Right (LTR)", DlgDocLangDirRTL : "Right to Left (RTL)", DlgDocLangCode : "Language Code", DlgDocCharSet : "Character Set Encoding", DlgDocCharSetCE : "Central European", DlgDocCharSetCT : "Chinese Traditional (Big5)", DlgDocCharSetCR : "Cyrillic", DlgDocCharSetGR : "Greek", DlgDocCharSetJP : "Japanese", DlgDocCharSetKR : "Korean", DlgDocCharSetTR : "Turkish", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "Western European", DlgDocCharSetOther : "Other Character Set Encoding", DlgDocDocType : "Document Type Heading", DlgDocDocTypeOther : "Other Document Type Heading", DlgDocIncXHTML : "Include XHTML Declarations", DlgDocBgColor : "Background Colour", DlgDocBgImage : "Background Image URL", DlgDocBgNoScroll : "Nonscrolling Background", DlgDocCText : "Text", DlgDocCLink : "Link", DlgDocCVisited : "Visited Link", DlgDocCActive : "Active Link", DlgDocMargins : "Page Margins", DlgDocMaTop : "Top", DlgDocMaLeft : "Left", DlgDocMaRight : "Right", DlgDocMaBottom : "Bottom", DlgDocMeIndex : "Document Indexing Keywords (comma separated)", DlgDocMeDescr : "Document Description", DlgDocMeAuthor : "Author", DlgDocMeCopy : "Copyright", DlgDocPreview : "Preview", // Templates Dialog Templates : "Templates", DlgTemplatesTitle : "Content Templates", DlgTemplatesSelMsg : "Please select the template to open in the editor<br />(the actual contents will be lost):", DlgTemplatesLoading : "Loading templates list. Please wait...", DlgTemplatesNoTpl : "(No templates defined)", DlgTemplatesReplace : "Replace actual contents", // About Dialog DlgAboutAboutTab : "About", DlgAboutBrowserInfoTab : "Browser Info", DlgAboutLicenseTab : "License", DlgAboutVersion : "version", DlgAboutInfo : "For further information go to", // Div Dialog DlgDivGeneralTab : "General", DlgDivAdvancedTab : "Advanced", DlgDivStyle : "Style", DlgDivInlineStyle : "Inline Style" };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Khmer language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "បង្រួមរបាឧបរកណ៍", ToolbarExpand : "ពង្រីករបាឧបរណ៍", // Toolbar Items and Context Menu Save : "រក្សាទុក", NewPage : "ទំព័រថ្មី", Preview : "មើលសាកល្បង", Cut : "កាត់យក", Copy : "ចំលងយក", Paste : "ចំលងដាក់", PasteText : "ចំលងដាក់ជាអត្ថបទធម្មតា", PasteWord : "ចំលងដាក់ពី Word", Print : "បោះពុម្ភ", SelectAll : "ជ្រើសរើសទាំងអស់", RemoveFormat : "លប់ចោល ការរចនា", InsertLinkLbl : "ឈ្នាប់", InsertLink : "បន្ថែម/កែប្រែ ឈ្នាប់", RemoveLink : "លប់ឈ្នាប់", VisitLink : "Open Link", //MISSING Anchor : "បន្ថែម/កែប្រែ យុថ្កា", AnchorDelete : "Remove Anchor", //MISSING InsertImageLbl : "រូបភាព", InsertImage : "បន្ថែម/កែប្រែ រូបភាព", InsertFlashLbl : "Flash", InsertFlash : "បន្ថែម/កែប្រែ Flash", InsertTableLbl : "តារាង", InsertTable : "បន្ថែម/កែប្រែ តារាង", InsertLineLbl : "បន្ទាត់", InsertLine : "បន្ថែមបន្ទាត់ផ្តេក", InsertSpecialCharLbl: "អក្សរពិសេស", InsertSpecialChar : "បន្ថែមអក្សរពិសេស", InsertSmileyLbl : "រូបភាព", InsertSmiley : "បន្ថែម រូបភាព", About : "អំពី FCKeditor", Bold : "អក្សរដិតធំ", Italic : "អក្សរផ្តេក", Underline : "ដិតបន្ទាត់ពីក្រោមអក្សរ", StrikeThrough : "ដិតបន្ទាត់ពាក់កណ្តាលអក្សរ", Subscript : "អក្សរតូចក្រោម", Superscript : "អក្សរតូចលើ", LeftJustify : "តំរឹមឆ្វេង", CenterJustify : "តំរឹមកណ្តាល", RightJustify : "តំរឹមស្តាំ", BlockJustify : "តំរឹមសងខាង", DecreaseIndent : "បន្ថយការចូលបន្ទាត់", IncreaseIndent : "បន្ថែមការចូលបន្ទាត់", Blockquote : "Blockquote", //MISSING CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "សារឡើងវិញ", Redo : "ធ្វើឡើងវិញ", NumberedListLbl : "បញ្ជីជាអក្សរ", NumberedList : "បន្ថែម/លប់ បញ្ជីជាអក្សរ", BulletedListLbl : "បញ្ជីជារង្វង់មូល", BulletedList : "បន្ថែម/លប់ បញ្ជីជារង្វង់មូល", ShowTableBorders : "បង្ហាញស៊ុមតារាង", ShowDetails : "បង្ហាញពិស្តារ", Style : "ម៉ូត", FontFormat : "រចនា", Font : "ហ្វុង", FontSize : "ទំហំ", TextColor : "ពណ៌អក្សរ", BGColor : "ពណ៌ផ្ទៃខាងក្រោយ", Source : "កូត", Find : "ស្វែងរក", Replace : "ជំនួស", SpellCheck : "ពិនិត្យអក្ខរាវិរុទ្ធ", UniversalKeyboard : "ក្តារពុម្ភអក្សរសកល", PageBreakLbl : "ការផ្តាច់ទំព័រ", PageBreak : "បន្ថែម ការផ្តាច់ទំព័រ", Form : "បែបបទ", Checkbox : "ប្រអប់ជ្រើសរើស", RadioButton : "ប៉ូតុនរង្វង់មូល", TextField : "ជួរសរសេរអត្ថបទ", Textarea : "តំបន់សរសេរអត្ថបទ", HiddenField : "ជួរលាក់", Button : "ប៉ូតុន", SelectionField : "ជួរជ្រើសរើស", ImageButton : "ប៉ូតុនរូបភាព", FitWindow : "Maximize the editor size", //MISSING ShowBlocks : "Show Blocks", //MISSING // Context Menu EditLink : "កែប្រែឈ្នាប់", CellCM : "Cell", //MISSING RowCM : "Row", //MISSING ColumnCM : "Column", //MISSING InsertRowAfter : "Insert Row After", //MISSING InsertRowBefore : "Insert Row Before", //MISSING DeleteRows : "លប់ជួរផ្តេក", InsertColumnAfter : "Insert Column After", //MISSING InsertColumnBefore : "Insert Column Before", //MISSING DeleteColumns : "លប់ជួរឈរ", InsertCellAfter : "Insert Cell After", //MISSING InsertCellBefore : "Insert Cell Before", //MISSING DeleteCells : "លប់សែល", MergeCells : "បញ្ជូលសែល", MergeRight : "Merge Right", //MISSING MergeDown : "Merge Down", //MISSING HorizontalSplitCell : "Split Cell Horizontally", //MISSING VerticalSplitCell : "Split Cell Vertically", //MISSING TableDelete : "លប់តារាង", CellProperties : "ការកំណត់សែល", TableProperties : "ការកំណត់តារាង", ImageProperties : "ការកំណត់រូបភាព", FlashProperties : "ការកំណត់ Flash", AnchorProp : "ការកំណត់យុថ្កា", ButtonProp : "ការកំណត់ ប៉ូតុន", CheckboxProp : "ការកំណត់ប្រអប់ជ្រើសរើស", HiddenFieldProp : "ការកំណត់ជួរលាក់", RadioButtonProp : "ការកំណត់ប៉ូតុនរង្វង់", ImageButtonProp : "ការកំណត់ប៉ូតុនរូបភាព", TextFieldProp : "ការកំណត់ជួរអត្ថបទ", SelectionFieldProp : "ការកំណត់ជួរជ្រើសរើស", TextareaProp : "ការកំណត់កន្លែងសរសេរអត្ថបទ", FormProp : "ការកំណត់បែបបទ", FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", // Alerts and Messages ProcessingXHTML : "កំពុងដំណើរការ XHTML ។ សូមរងចាំ...", Done : "ចប់រួចរាល់", PasteWordConfirm : "អត្ថបទដែលលោកអ្នកបំរុងចំលងដាក់ ហាក់បីដូចជាត្រូវចំលងមកពីកម្មវិធី​Word​។ តើលោកអ្នកចង់សំអាតមុនចំលងអត្ថបទដាក់ទេ?", NotCompatiblePaste : "ពាក្យបញ្ជានេះប្រើបានតែជាមួយ Internet Explorer កំរិត 5.5 រឺ លើសនេះ ។ តើលោកអ្នកចង់ចំលងដាក់ដោយមិនចាំបាច់សំអាតទេ?", UnknownToolbarItem : "វត្ថុលើរបាឧបរកណ៍ មិនស្គាល់ \"%1\"", UnknownCommand : "ឈ្មោះពាក្យបញ្ជា មិនស្គាល់ \"%1\"", NotImplemented : "ពាក្យបញ្ជា មិនបានអនុវត្ត", UnknownToolbarSet : "របាឧបរកណ៍ \"%1\" ពុំមាន ។", NoActiveX : "ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ​អាចធ្វើអោយលោកអ្នកមិនអាចប្រើមុខងារខ្លះរបស់កម្មវិធីតាក់តែងអត្ថបទនេះ ។ លោកអ្នកត្រូវកំណត់អោយ \"ActiveX និង​កម្មវិធីជំនួយក្នុង (plug-ins)\" អោយដំណើរការ ។ លោកអ្នកអាចជួបប្រទះនឹង បញ្ហា ព្រមជាមួយនឹងការបាត់បង់មុខងារណាមួយរបស់កម្មវិធីតាក់តែងអត្ថបទនេះ ។", BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING DialogBlocked : "វីនដូវមិនអាចបើកបានទេ ។ សូមពិនិត្យចំពោះកម្មវិធីបិទ វីនដូវលោត (popup) ថាតើវាដំណើរការរឺទេ ។", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "យល់ព្រម", DlgBtnCancel : "មិនយល់ព្រម", DlgBtnClose : "បិទ", DlgBtnBrowseServer : "មើល", DlgAdvancedTag : "កំរិតខ្ពស់", DlgOpOther : "<ផ្សេងទៅត>", DlgInfoTab : "ពត៌មាន", DlgAlertUrl : "សូមសរសេរ URL", // General Dialogs Labels DlgGenNotSet : "<មិនមែន>", DlgGenId : "Id", DlgGenLangDir : "ទិសដៅភាសា", DlgGenLangDirLtr : "ពីឆ្វេងទៅស្តាំ(LTR)", DlgGenLangDirRtl : "ពីស្តាំទៅឆ្វេង(RTL)", DlgGenLangCode : "លេខកូតភាសា", DlgGenAccessKey : "ឃី សំរាប់ចូល", DlgGenName : "ឈ្មោះ", DlgGenTabIndex : "លេខ Tab", DlgGenLongDescr : "អធិប្បាយ URL វែង", DlgGenClass : "Stylesheet Classes", DlgGenTitle : "ចំណងជើង ប្រឹក្សា", DlgGenContType : "ប្រភេទអត្ថបទ ប្រឹក្សា", DlgGenLinkCharset : "លេខកូតអក្សររបស់ឈ្នាប់", DlgGenStyle : "ម៉ូត", // Image Dialog DlgImgTitle : "ការកំណត់រូបភាព", DlgImgInfoTab : "ពត៌មានអំពីរូបភាព", DlgImgBtnUpload : "បញ្ជូនទៅកាន់ម៉ាស៊ីនផ្តល់សេវា", DlgImgURL : "URL", DlgImgUpload : "ទាញយក", DlgImgAlt : "អត្ថបទជំនួស", DlgImgWidth : "ទទឹង", DlgImgHeight : "កំពស់", DlgImgLockRatio : "អត្រាឡុក", DlgBtnResetSize : "កំណត់ទំហំឡើងវិញ", DlgImgBorder : "ស៊ុម", DlgImgHSpace : "គំលាតទទឹង", DlgImgVSpace : "គំលាតបណ្តោយ", DlgImgAlign : "កំណត់ទីតាំង", DlgImgAlignLeft : "ខាងឆ្វង", DlgImgAlignAbsBottom: "Abs Bottom", //MISSING DlgImgAlignAbsMiddle: "Abs Middle", //MISSING DlgImgAlignBaseline : "បន្ទាត់ជាមូលដ្ឋាន", DlgImgAlignBottom : "ខាងក្រោម", DlgImgAlignMiddle : "កណ្តាល", DlgImgAlignRight : "ខាងស្តាំ", DlgImgAlignTextTop : "លើអត្ថបទ", DlgImgAlignTop : "ខាងលើ", DlgImgPreview : "មើលសាកល្បង", DlgImgAlertUrl : "សូមសរសេរងាស័យដ្ឋានរបស់រូបភាព", DlgImgLinkTab : "ឈ្នាប់", // Flash Dialog DlgFlashTitle : "ការកំណត់ Flash", DlgFlashChkPlay : "លេងដោយស្វ័យប្រវត្ត", DlgFlashChkLoop : "ចំនួនដង", DlgFlashChkMenu : "បង្ហាញ មឺនុយរបស់ Flash", DlgFlashScale : "ទំហំ", DlgFlashScaleAll : "បង្ហាញទាំងអស់", DlgFlashScaleNoBorder : "មិនបង្ហាញស៊ុម", DlgFlashScaleFit : "ត្រូវល្មម", // Link Dialog DlgLnkWindowTitle : "ឈ្នាប់", DlgLnkInfoTab : "ពត៌មានអំពីឈ្នាប់", DlgLnkTargetTab : "គោលដៅ", DlgLnkType : "ប្រភេទឈ្នាប់", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "យុថ្កានៅក្នុងទំព័រនេះ", DlgLnkTypeEMail : "អ៊ីមែល", DlgLnkProto : "ប្រូតូកូល", DlgLnkProtoOther : "<ផ្សេងទៀត>", DlgLnkURL : "URL", DlgLnkAnchorSel : "ជ្រើសរើសយុថ្កា", DlgLnkAnchorByName : "តាមឈ្មោះរបស់យុថ្កា", DlgLnkAnchorById : "តាម Id", DlgLnkNoAnchors : "(No anchors available in the document)", //MISSING DlgLnkEMail : "អ៊ីមែល", DlgLnkEMailSubject : "ចំណងជើងអត្ថបទ", DlgLnkEMailBody : "អត្ថបទ", DlgLnkUpload : "ទាញយក", DlgLnkBtnUpload : "ទាញយក", DlgLnkTarget : "គោលដៅ", DlgLnkTargetFrame : "<ហ្វ្រេម>", DlgLnkTargetPopup : "<វីនដូវ លោត>", DlgLnkTargetBlank : "វីនដូវថ្មី (_blank)", DlgLnkTargetParent : "វីនដូវមេ (_parent)", DlgLnkTargetSelf : "វីនដូវដដែល (_self)", DlgLnkTargetTop : "វីនដូវនៅលើគេ(_top)", DlgLnkTargetFrameName : "ឈ្មោះហ្រ្វេមដែលជាគោលដៅ", DlgLnkPopWinName : "ឈ្មោះវីនដូវលោត", DlgLnkPopWinFeat : "លក្ខណះរបស់វីនដូលលោត", DlgLnkPopResize : "ទំហំអាចផ្លាស់ប្តូរ", DlgLnkPopLocation : "របា ទីតាំង", DlgLnkPopMenu : "របា មឺនុយ", DlgLnkPopScroll : "របា ទាញ", DlgLnkPopStatus : "របា ពត៌មាន", DlgLnkPopToolbar : "របា ឩបករណ៍", DlgLnkPopFullScrn : "អេក្រុងពេញ(IE)", DlgLnkPopDependent : "អាស្រ័យលើ (Netscape)", DlgLnkPopWidth : "ទទឹង", DlgLnkPopHeight : "កំពស់", DlgLnkPopLeft : "ទីតាំងខាងឆ្វេង", DlgLnkPopTop : "ទីតាំងខាងលើ", DlnLnkMsgNoUrl : "សូមសរសេរ អាស័យដ្ឋាន URL", DlnLnkMsgNoEMail : "សូមសរសេរ អាស័យដ្ឋាន អ៊ីមែល", DlnLnkMsgNoAnchor : "សូមជ្រើសរើស យុថ្កា", DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING // Color Dialog DlgColorTitle : "ជ្រើសរើស ពណ៌", DlgColorBtnClear : "លប់", DlgColorHighlight : "ផាត់ពណ៌", DlgColorSelected : "បានជ្រើសរើស", // Smiley Dialog DlgSmileyTitle : "បញ្ជូលរូបភាព", // Special Character Dialog DlgSpecialCharTitle : "តូអក្សរពិសេស", // Table Dialog DlgTableTitle : "ការកំណត់ តារាង", DlgTableRows : "ជួរផ្តេក", DlgTableColumns : "ជួរឈរ", DlgTableBorder : "ទំហំស៊ុម", DlgTableAlign : "ការកំណត់ទីតាំង", DlgTableAlignNotSet : "<មិនកំណត់>", DlgTableAlignLeft : "ខាងឆ្វេង", DlgTableAlignCenter : "កណ្តាល", DlgTableAlignRight : "ខាងស្តាំ", DlgTableWidth : "ទទឹង", DlgTableWidthPx : "ភីកសែល", DlgTableWidthPc : "ភាគរយ", DlgTableHeight : "កំពស់", DlgTableCellSpace : "គំលាតសែល", DlgTableCellPad : "គែមសែល", DlgTableCaption : "ចំណងជើង", DlgTableSummary : "សេចក្តីសង្ខេប", // Table Cell Dialog DlgCellTitle : "ការកំណត់ សែល", DlgCellWidth : "ទទឹង", DlgCellWidthPx : "ភីកសែល", DlgCellWidthPc : "ភាគរយ", DlgCellHeight : "កំពស់", DlgCellWordWrap : "បង្ហាញអត្ថបទទាំងអស់", DlgCellWordWrapNotSet : "<មិនកំណត់>", DlgCellWordWrapYes : "បាទ(ចា)", DlgCellWordWrapNo : "ទេ", DlgCellHorAlign : "តំរឹមផ្តេក", DlgCellHorAlignNotSet : "<មិនកំណត់>", DlgCellHorAlignLeft : "ខាងឆ្វេង", DlgCellHorAlignCenter : "កណ្តាល", DlgCellHorAlignRight: "Right", //MISSING DlgCellVerAlign : "តំរឹមឈរ", DlgCellVerAlignNotSet : "<មិនកណត់>", DlgCellVerAlignTop : "ខាងលើ", DlgCellVerAlignMiddle : "កណ្តាល", DlgCellVerAlignBottom : "ខាងក្រោម", DlgCellVerAlignBaseline : "បន្ទាត់ជាមូលដ្ឋាន", DlgCellRowSpan : "បញ្ជូលជួរផ្តេក", DlgCellCollSpan : "បញ្ជូលជួរឈរ", DlgCellBackColor : "ពណ៌ផ្នែកខាងក្រោម", DlgCellBorderColor : "ពណ៌ស៊ុម", DlgCellBtnSelect : "ជ្រើសរើស...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Find and Replace", //MISSING // Find Dialog DlgFindTitle : "ស្វែងរក", DlgFindFindBtn : "ស្វែងរក", DlgFindNotFoundMsg : "ពាក្យនេះ រកមិនឃើញទេ ។", // Replace Dialog DlgReplaceTitle : "ជំនួស", DlgReplaceFindLbl : "ស្វែងរកអ្វី:", DlgReplaceReplaceLbl : "ជំនួសជាមួយ:", DlgReplaceCaseChk : "ករណ៉ត្រូវរក", DlgReplaceReplaceBtn : "ជំនួស", DlgReplaceReplAllBtn : "ជំនួសទាំងអស់", DlgReplaceWordChk : "ត្រូវពាក្យទាំងអស់", // Paste Operations / Dialog PasteErrorCut : "ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ​មិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ កាត់អត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl+X) ។", PasteErrorCopy : "ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ​មិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ ចំលងអត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl+C)។", PasteAsText : "ចំលងដាក់អត្ថបទធម្មតា", PasteFromWord : "ចំលងពាក្យពីកម្មវិធី Word", DlgPasteMsg2 : "សូមចំលងអត្ថបទទៅដាក់ក្នុងប្រអប់ដូចខាងក្រោមដោយប្រើប្រាស់ ឃី ​(<STRONG>Ctrl+V</STRONG>) ហើយចុច <STRONG>OK</STRONG> ។", DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING DlgPasteIgnoreFont : "មិនគិតអំពីប្រភេទពុម្ភអក្សរ", DlgPasteRemoveStyles : "លប់ម៉ូត", // Color Picker ColorAutomatic : "ស្វ័យប្រវត្ត", ColorMoreColors : "ពណ៌ផ្សេងទៀត..", // Document Properties DocProps : "ការកំណត់ ឯកសារ", // Anchor Dialog DlgAnchorTitle : "ការកំណត់ចំណងជើងយុទ្ធថ្កា", DlgAnchorName : "ឈ្មោះយុទ្ធថ្កា", DlgAnchorErrorName : "សូមសរសេរ ឈ្មោះយុទ្ធថ្កា", // Speller Pages Dialog DlgSpellNotInDic : "គ្មានក្នុងវចនានុក្រម", DlgSpellChangeTo : "ផ្លាស់ប្តូរទៅ", DlgSpellBtnIgnore : "មិនផ្លាស់ប្តូរ", DlgSpellBtnIgnoreAll : "មិនផ្លាស់ប្តូរ ទាំងអស់", DlgSpellBtnReplace : "ជំនួស", DlgSpellBtnReplaceAll : "ជំនួសទាំងអស់", DlgSpellBtnUndo : "សារឡើងវិញ", DlgSpellNoSuggestions : "- គ្មានសំណើរ -", DlgSpellProgress : "កំពុងពិនិត្យអក្ខរាវិរុទ្ធ...", DlgSpellNoMispell : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: គ្មានកំហុស", DlgSpellNoChanges : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពុំមានផ្លាស់ប្តូរ", DlgSpellOneChange : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពាក្យមួយត្រូចបានផ្លាស់ប្តូរ", DlgSpellManyChanges : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: %1 ពាក្យបានផ្លាស់ប្តូរ", IeSpellDownload : "ពុំមានកម្មវិធីពិនិត្យអក្ខរាវិរុទ្ធ ។ តើចង់ទាញយកពីណា?", // Button Dialog DlgButtonText : "អត្ថបទ(តំលៃ)", DlgButtonType : "ប្រភេទ", DlgButtonTypeBtn : "Button", //MISSING DlgButtonTypeSbm : "Submit", //MISSING DlgButtonTypeRst : "Reset", //MISSING // Checkbox and Radio Button Dialogs DlgCheckboxName : "ឈ្មោះ", DlgCheckboxValue : "តំលៃ", DlgCheckboxSelected : "បានជ្រើសរើស", // Form Dialog DlgFormName : "ឈ្មោះ", DlgFormAction : "សកម្មភាព", DlgFormMethod : "វិធី", // Select Field Dialog DlgSelectName : "ឈ្មោះ", DlgSelectValue : "តំលៃ", DlgSelectSize : "ទំហំ", DlgSelectLines : "បន្ទាត់", DlgSelectChkMulti : "អនុញ្ញាតអោយជ្រើសរើសច្រើន", DlgSelectOpAvail : "ការកំណត់ជ្រើសរើស ដែលអាចកំណត់បាន", DlgSelectOpText : "ពាក្យ", DlgSelectOpValue : "តំលៃ", DlgSelectBtnAdd : "បន្ថែម", DlgSelectBtnModify : "ផ្លាស់ប្តូរ", DlgSelectBtnUp : "លើ", DlgSelectBtnDown : "ក្រោម", DlgSelectBtnSetValue : "Set as selected value", //MISSING DlgSelectBtnDelete : "លប់", // Textarea Dialog DlgTextareaName : "ឈ្មោះ", DlgTextareaCols : "ជូរឈរ", DlgTextareaRows : "ជូរផ្តេក", // Text Field Dialog DlgTextName : "ឈ្មោះ", DlgTextValue : "តំលៃ", DlgTextCharWidth : "ទទឹង អក្សរ", DlgTextMaxChars : "អក្សរអតិបរិមា", DlgTextType : "ប្រភេទ", DlgTextTypeText : "ពាក្យ", DlgTextTypePass : "ពាក្យសំងាត់", // Hidden Field Dialog DlgHiddenName : "ឈ្មោះ", DlgHiddenValue : "តំលៃ", // Bulleted List Dialog BulletedListProp : "កំណត់បញ្ជីរង្វង់", NumberedListProp : "កំណត់បញ្េជីលេខ", DlgLstStart : "Start", //MISSING DlgLstType : "ប្រភេទ", DlgLstTypeCircle : "រង្វង់", DlgLstTypeDisc : "Disc", DlgLstTypeSquare : "ការេ", DlgLstTypeNumbers : "លេខ(1, 2, 3)", DlgLstTypeLCase : "អក្សរតូច(a, b, c)", DlgLstTypeUCase : "អក្សរធំ(A, B, C)", DlgLstTypeSRoman : "អក្សរឡាតាំងតូច(i, ii, iii)", DlgLstTypeLRoman : "អក្សរឡាតាំងធំ(I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "ទូទៅ", DlgDocBackTab : "ផ្នែកខាងក្រោយ", DlgDocColorsTab : "ទំព័រ​និង ស៊ុម", DlgDocMetaTab : "ទិន្នន័យមេ", DlgDocPageTitle : "ចំណងជើងទំព័រ", DlgDocLangDir : "ទិសដៅសរសេរភាសា", DlgDocLangDirLTR : "ពីឆ្វេងទៅស្ដាំ(LTR)", DlgDocLangDirRTL : "ពីស្ដាំទៅឆ្វេង(RTL)", DlgDocLangCode : "លេខកូតភាសា", DlgDocCharSet : "កំណត់លេខកូតភាសា", DlgDocCharSetCE : "Central European", //MISSING DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING DlgDocCharSetCR : "Cyrillic", //MISSING DlgDocCharSetGR : "Greek", //MISSING DlgDocCharSetJP : "Japanese", //MISSING DlgDocCharSetKR : "Korean", //MISSING DlgDocCharSetTR : "Turkish", //MISSING DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING DlgDocCharSetWE : "Western European", //MISSING DlgDocCharSetOther : "កំណត់លេខកូតភាសាផ្សេងទៀត", DlgDocDocType : "ប្រភេទក្បាលទំព័រ", DlgDocDocTypeOther : "ប្រភេទក្បាលទំព័រផ្សេងទៀត", DlgDocIncXHTML : "បញ្ជូល XHTML", DlgDocBgColor : "ពណ៌ខាងក្រោម", DlgDocBgImage : "URL របស់រូបភាពខាងក្រោម", DlgDocBgNoScroll : "ទំព័រក្រោមមិនប្តូរ", DlgDocCText : "អត្តបទ", DlgDocCLink : "ឈ្នាប់", DlgDocCVisited : "ឈ្នាប់មើលហើយ", DlgDocCActive : "ឈ្នាប់កំពុងមើល", DlgDocMargins : "ស៊ុមទំព័រ", DlgDocMaTop : "លើ", DlgDocMaLeft : "ឆ្វេង", DlgDocMaRight : "ស្ដាំ", DlgDocMaBottom : "ក្រោម", DlgDocMeIndex : "ពាក្យនៅក្នុងឯកសារ (ផ្តាច់ពីគ្នាដោយក្បៀស)", DlgDocMeDescr : "សេចក្តីអត្ថាធិប្បាយអំពីឯកសារ", DlgDocMeAuthor : "អ្នកនិពន្ធ", DlgDocMeCopy : "រក្សាសិទ្ធិ៏", DlgDocPreview : "មើលសាកល្បង", // Templates Dialog Templates : "ឯកសារគំរូ", DlgTemplatesTitle : "ឯកសារគំរូ របស់អត្ថន័យ", DlgTemplatesSelMsg : "សូមជ្រើសរើសឯកសារគំរូ ដើម្បីបើកនៅក្នុងកម្មវិធីតាក់តែងអត្ថបទ<br>(អត្ថបទនឹងបាត់បង់):", DlgTemplatesLoading : "កំពុងអានបញ្ជីឯកសារគំរូ ។ សូមរងចាំ...", DlgTemplatesNoTpl : "(ពុំមានឯកសារគំរូត្រូវបានកំណត់)", DlgTemplatesReplace : "Replace actual contents", //MISSING // About Dialog DlgAboutAboutTab : "អំពី", DlgAboutBrowserInfoTab : "ព៌តមានកម្មវិធីរុករក", DlgAboutLicenseTab : "License", //MISSING DlgAboutVersion : "ជំនាន់", DlgAboutInfo : "សំរាប់ព៌តមានផ្សេងទៀត សូមទាក់ទង", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Greek language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Απόκρυψη Μπάρας Εργαλείων", ToolbarExpand : "Εμφάνιση Μπάρας Εργαλείων", // Toolbar Items and Context Menu Save : "Αποθήκευση", NewPage : "Νέα Σελίδα", Preview : "Προεπισκόπιση", Cut : "Αποκοπή", Copy : "Αντιγραφή", Paste : "Επικόλληση", PasteText : "Επικόλληση (απλό κείμενο)", PasteWord : "Επικόλληση από το Word", Print : "Εκτύπωση", SelectAll : "Επιλογή όλων", RemoveFormat : "Αφαίρεση Μορφοποίησης", InsertLinkLbl : "Σύνδεσμος (Link)", InsertLink : "Εισαγωγή/Μεταβολή Συνδέσμου (Link)", RemoveLink : "Αφαίρεση Συνδέσμου (Link)", VisitLink : "Open Link", //MISSING Anchor : "Εισαγωγή/επεξεργασία Anchor", AnchorDelete : "Remove Anchor", //MISSING InsertImageLbl : "Εικόνα", InsertImage : "Εισαγωγή/Μεταβολή Εικόνας", InsertFlashLbl : "Εισαγωγή Flash", InsertFlash : "Εισαγωγή/επεξεργασία Flash", InsertTableLbl : "Πίνακας", InsertTable : "Εισαγωγή/Μεταβολή Πίνακα", InsertLineLbl : "Γραμμή", InsertLine : "Εισαγωγή Οριζόντιας Γραμμής", InsertSpecialCharLbl: "Ειδικό Σύμβολο", InsertSpecialChar : "Εισαγωγή Ειδικού Συμβόλου", InsertSmileyLbl : "Smiley", InsertSmiley : "Εισαγωγή Smiley", About : "Περί του FCKeditor", Bold : "Έντονα", Italic : "Πλάγια", Underline : "Υπογράμμιση", StrikeThrough : "Διαγράμμιση", Subscript : "Δείκτης", Superscript : "Εκθέτης", LeftJustify : "Στοίχιση Αριστερά", CenterJustify : "Στοίχιση στο Κέντρο", RightJustify : "Στοίχιση Δεξιά", BlockJustify : "Πλήρης Στοίχιση (Block)", DecreaseIndent : "Μείωση Εσοχής", IncreaseIndent : "Αύξηση Εσοχής", Blockquote : "Blockquote", //MISSING CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "Αναίρεση", Redo : "Επαναφορά", NumberedListLbl : "Λίστα με Αριθμούς", NumberedList : "Εισαγωγή/Διαγραφή Λίστας με Αριθμούς", BulletedListLbl : "Λίστα με Bullets", BulletedList : "Εισαγωγή/Διαγραφή Λίστας με Bullets", ShowTableBorders : "Προβολή Ορίων Πίνακα", ShowDetails : "Προβολή Λεπτομερειών", Style : "Στυλ", FontFormat : "Μορφή Γραμματοσειράς", Font : "Γραμματοσειρά", FontSize : "Μέγεθος", TextColor : "Χρώμα Γραμμάτων", BGColor : "Χρώμα Υποβάθρου", Source : "HTML κώδικας", Find : "Αναζήτηση", Replace : "Αντικατάσταση", SpellCheck : "Ορθογραφικός έλεγχος", UniversalKeyboard : "Διεθνής πληκτρολόγιο", PageBreakLbl : "Τέλος σελίδας", PageBreak : "Εισαγωγή τέλους σελίδας", Form : "Φόρμα", Checkbox : "Κουτί επιλογής", RadioButton : "Κουμπί Radio", TextField : "Πεδίο κειμένου", Textarea : "Περιοχή κειμένου", HiddenField : "Κρυφό πεδίο", Button : "Κουμπί", SelectionField : "Πεδίο επιλογής", ImageButton : "Κουμπί εικόνας", FitWindow : "Μεγιστοποίηση προγράμματος", ShowBlocks : "Show Blocks", //MISSING // Context Menu EditLink : "Μεταβολή Συνδέσμου (Link)", CellCM : "Κελί", RowCM : "Σειρά", ColumnCM : "Στήλη", InsertRowAfter : "Insert Row After", //MISSING InsertRowBefore : "Insert Row Before", //MISSING DeleteRows : "Διαγραφή Γραμμών", InsertColumnAfter : "Insert Column After", //MISSING InsertColumnBefore : "Insert Column Before", //MISSING DeleteColumns : "Διαγραφή Κολωνών", InsertCellAfter : "Insert Cell After", //MISSING InsertCellBefore : "Insert Cell Before", //MISSING DeleteCells : "Διαγραφή Κελιών", MergeCells : "Ενοποίηση Κελιών", MergeRight : "Merge Right", //MISSING MergeDown : "Merge Down", //MISSING HorizontalSplitCell : "Split Cell Horizontally", //MISSING VerticalSplitCell : "Split Cell Vertically", //MISSING TableDelete : "Διαγραφή πίνακα", CellProperties : "Ιδιότητες Κελιού", TableProperties : "Ιδιότητες Πίνακα", ImageProperties : "Ιδιότητες Εικόνας", FlashProperties : "Ιδιότητες Flash", AnchorProp : "Ιδιότητες άγκυρας", ButtonProp : "Ιδιότητες κουμπιού", CheckboxProp : "Ιδιότητες κουμπιού επιλογής", HiddenFieldProp : "Ιδιότητες κρυφού πεδίου", RadioButtonProp : "Ιδιότητες κουμπιού radio", ImageButtonProp : "Ιδιότητες κουμπιού εικόνας", TextFieldProp : "Ιδιότητες πεδίου κειμένου", SelectionFieldProp : "Ιδιότητες πεδίου επιλογής", TextareaProp : "Ιδιότητες περιοχής κειμένου", FormProp : "Ιδιότητες φόρμας", FontFormats : "Κανονικό;Μορφοποιημένο;Διεύθυνση;Επικεφαλίδα 1;Επικεφαλίδα 2;Επικεφαλίδα 3;Επικεφαλίδα 4;Επικεφαλίδα 5;Επικεφαλίδα 6", // Alerts and Messages ProcessingXHTML : "Επεξεργασία XHTML. Παρακαλώ περιμένετε...", Done : "Έτοιμο", PasteWordConfirm : "Το κείμενο που θέλετε να επικολήσετε, φαίνεται πως προέρχεται από το Word. Θέλετε να καθαριστεί πριν επικοληθεί;", NotCompatiblePaste : "Αυτή η επιλογή είναι διαθέσιμη στον Internet Explorer έκδοση 5.5+. Θέλετε να γίνει η επικόλληση χωρίς καθαρισμό;", UnknownToolbarItem : "Άγνωστο αντικείμενο της μπάρας εργαλείων \"%1\"", UnknownCommand : "Άγνωστή εντολή \"%1\"", NotImplemented : "Η εντολή δεν έχει ενεργοποιηθεί", UnknownToolbarSet : "Η μπάρα εργαλείων \"%1\" δεν υπάρχει", NoActiveX : "Οι ρυθμίσεις ασφαλείας του browser σας μπορεί να περιορίσουν κάποιες ρυθμίσεις του προγράμματος. Χρειάζεται να ενεργοποιήσετε την επιλογή \"Run ActiveX controls and plug-ins\". Ίσως παρουσιαστούν λάθη και παρατηρήσετε ελειπείς λειτουργίες.", BrowseServerBlocked : "Οι πόροι του browser σας δεν είναι προσπελάσιμοι. Σιγουρευτείτε ότι δεν υπάρχουν ενεργοί popup blockers.", DialogBlocked : "Δεν ήταν δυνατό να ανοίξει το παράθυρο διαλόγου. Σιγουρευτείτε ότι δεν υπάρχουν ενεργοί popup blockers.", VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Ακύρωση", DlgBtnClose : "Κλείσιμο", DlgBtnBrowseServer : "Εξερεύνηση διακομιστή", DlgAdvancedTag : "Για προχωρημένους", DlgOpOther : "<Άλλα>", DlgInfoTab : "Πληροφορίες", DlgAlertUrl : "Παρακαλώ εισάγετε URL", // General Dialogs Labels DlgGenNotSet : "<χωρίς>", DlgGenId : "Id", DlgGenLangDir : "Κατεύθυνση κειμένου", DlgGenLangDirLtr : "Αριστερά προς Δεξιά (LTR)", DlgGenLangDirRtl : "Δεξιά προς Αριστερά (RTL)", DlgGenLangCode : "Κωδικός Γλώσσας", DlgGenAccessKey : "Συντόμευση (Access Key)", DlgGenName : "Όνομα", DlgGenTabIndex : "Tab Index", DlgGenLongDescr : "Αναλυτική περιγραφή URL", DlgGenClass : "Stylesheet Classes", DlgGenTitle : "Συμβουλευτικός τίτλος", DlgGenContType : "Συμβουλευτικός τίτλος περιεχομένου", DlgGenLinkCharset : "Linked Resource Charset", DlgGenStyle : "Στύλ", // Image Dialog DlgImgTitle : "Ιδιότητες Εικόνας", DlgImgInfoTab : "Πληροφορίες Εικόνας", DlgImgBtnUpload : "Αποστολή στον Διακομιστή", DlgImgURL : "URL", DlgImgUpload : "Αποστολή", DlgImgAlt : "Εναλλακτικό Κείμενο (ALT)", DlgImgWidth : "Πλάτος", DlgImgHeight : "Ύψος", DlgImgLockRatio : "Κλείδωμα Αναλογίας", DlgBtnResetSize : "Επαναφορά Αρχικού Μεγέθους", DlgImgBorder : "Περιθώριο", DlgImgHSpace : "Οριζόντιος Χώρος (HSpace)", DlgImgVSpace : "Κάθετος Χώρος (VSpace)", DlgImgAlign : "Ευθυγράμμιση (Align)", DlgImgAlignLeft : "Αριστερά", DlgImgAlignAbsBottom: "Απόλυτα Κάτω (Abs Bottom)", DlgImgAlignAbsMiddle: "Απόλυτα στη Μέση (Abs Middle)", DlgImgAlignBaseline : "Γραμμή Βάσης (Baseline)", DlgImgAlignBottom : "Κάτω (Bottom)", DlgImgAlignMiddle : "Μέση (Middle)", DlgImgAlignRight : "Δεξιά (Right)", DlgImgAlignTextTop : "Κορυφή Κειμένου (Text Top)", DlgImgAlignTop : "Πάνω (Top)", DlgImgPreview : "Προεπισκόπιση", DlgImgAlertUrl : "Εισάγετε την τοποθεσία (URL) της εικόνας", DlgImgLinkTab : "Σύνδεσμος", // Flash Dialog DlgFlashTitle : "Ιδιότητες flash", DlgFlashChkPlay : "Αυτόματη έναρξη", DlgFlashChkLoop : "Επανάληψη", DlgFlashChkMenu : "Ενεργοποίηση Flash Menu", DlgFlashScale : "Κλίμακα", DlgFlashScaleAll : "Εμφάνιση όλων", DlgFlashScaleNoBorder : "Χωρίς όρια", DlgFlashScaleFit : "Ακριβής εφαρμογή", // Link Dialog DlgLnkWindowTitle : "Σύνδεσμος (Link)", DlgLnkInfoTab : "Link", DlgLnkTargetTab : "Παράθυρο Στόχος (Target)", DlgLnkType : "Τύπος συνδέσμου (Link)", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Άγκυρα σε αυτή τη σελίδα", DlgLnkTypeEMail : "E-Mail", DlgLnkProto : "Προτόκολο", DlgLnkProtoOther : "<άλλο>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Επιλέξτε μια άγκυρα", DlgLnkAnchorByName : "Βάσει του Ονόματος (Name) της άγκυρας", DlgLnkAnchorById : "Βάσει του Element Id", DlgLnkNoAnchors : "(Δεν υπάρχουν άγκυρες στο κείμενο)", DlgLnkEMail : "Διεύθυνση Ηλεκτρονικού Ταχυδρομείου", DlgLnkEMailSubject : "Θέμα Μηνύματος", DlgLnkEMailBody : "Κείμενο Μηνύματος", DlgLnkUpload : "Αποστολή", DlgLnkBtnUpload : "Αποστολή στον Διακομιστή", DlgLnkTarget : "Παράθυρο Στόχος (Target)", DlgLnkTargetFrame : "<πλαίσιο>", DlgLnkTargetPopup : "<παράθυρο popup>", DlgLnkTargetBlank : "Νέο Παράθυρο (_blank)", DlgLnkTargetParent : "Γονικό Παράθυρο (_parent)", DlgLnkTargetSelf : "Ίδιο Παράθυρο (_self)", DlgLnkTargetTop : "Ανώτατο Παράθυρο (_top)", DlgLnkTargetFrameName : "Όνομα πλαισίου στόχου", DlgLnkPopWinName : "Όνομα Popup Window", DlgLnkPopWinFeat : "Επιλογές Popup Window", DlgLnkPopResize : "Με αλλαγή Μεγέθους", DlgLnkPopLocation : "Μπάρα Τοποθεσίας", DlgLnkPopMenu : "Μπάρα Menu", DlgLnkPopScroll : "Μπάρες Κύλισης", DlgLnkPopStatus : "Μπάρα Status", DlgLnkPopToolbar : "Μπάρα Εργαλείων", DlgLnkPopFullScrn : "Ολόκληρη η Οθόνη (IE)", DlgLnkPopDependent : "Dependent (Netscape)", DlgLnkPopWidth : "Πλάτος", DlgLnkPopHeight : "Ύψος", DlgLnkPopLeft : "Τοποθεσία Αριστερής Άκρης", DlgLnkPopTop : "Τοποθεσία Πάνω Άκρης", DlnLnkMsgNoUrl : "Εισάγετε την τοποθεσία (URL) του υπερσυνδέσμου (Link)", DlnLnkMsgNoEMail : "Εισάγετε την διεύθυνση ηλεκτρονικού ταχυδρομείου", DlnLnkMsgNoAnchor : "Επιλέξτε ένα Anchor", DlnLnkMsgInvPopName : "Το όνομα του popup πρέπει να αρχίζει με χαρακτήρα της αλφαβήτου και να μην περιέχει κενά", // Color Dialog DlgColorTitle : "Επιλογή χρώματος", DlgColorBtnClear : "Καθαρισμός", DlgColorHighlight : "Προεπισκόπιση", DlgColorSelected : "Επιλεγμένο", // Smiley Dialog DlgSmileyTitle : "Επιλέξτε ένα Smiley", // Special Character Dialog DlgSpecialCharTitle : "Επιλέξτε ένα Ειδικό Σύμβολο", // Table Dialog DlgTableTitle : "Ιδιότητες Πίνακα", DlgTableRows : "Γραμμές", DlgTableColumns : "Κολώνες", DlgTableBorder : "Μέγεθος Περιθωρίου", DlgTableAlign : "Στοίχιση", DlgTableAlignNotSet : "<χωρίς>", DlgTableAlignLeft : "Αριστερά", DlgTableAlignCenter : "Κέντρο", DlgTableAlignRight : "Δεξιά", DlgTableWidth : "Πλάτος", DlgTableWidthPx : "pixels", DlgTableWidthPc : "\%", DlgTableHeight : "Ύψος", DlgTableCellSpace : "Απόσταση κελιών", DlgTableCellPad : "Γέμισμα κελιών", DlgTableCaption : "Υπέρτιτλος", DlgTableSummary : "Περίληψη", // Table Cell Dialog DlgCellTitle : "Ιδιότητες Κελιού", DlgCellWidth : "Πλάτος", DlgCellWidthPx : "pixels", DlgCellWidthPc : "\%", DlgCellHeight : "Ύψος", DlgCellWordWrap : "Με αλλαγή γραμμής", DlgCellWordWrapNotSet : "<χωρίς>", DlgCellWordWrapYes : "Ναι", DlgCellWordWrapNo : "Όχι", DlgCellHorAlign : "Οριζόντια Στοίχιση", DlgCellHorAlignNotSet : "<χωρίς>", DlgCellHorAlignLeft : "Αριστερά", DlgCellHorAlignCenter : "Κέντρο", DlgCellHorAlignRight: "Δεξιά", DlgCellVerAlign : "Κάθετη Στοίχιση", DlgCellVerAlignNotSet : "<χωρίς>", DlgCellVerAlignTop : "Πάνω (Top)", DlgCellVerAlignMiddle : "Μέση (Middle)", DlgCellVerAlignBottom : "Κάτω (Bottom)", DlgCellVerAlignBaseline : "Γραμμή Βάσης (Baseline)", DlgCellRowSpan : "Αριθμός Γραμμών (Rows Span)", DlgCellCollSpan : "Αριθμός Κολωνών (Columns Span)", DlgCellBackColor : "Χρώμα Υποβάθρου", DlgCellBorderColor : "Χρώμα Περιθωρίου", DlgCellBtnSelect : "Επιλογή...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Find and Replace", //MISSING // Find Dialog DlgFindTitle : "Αναζήτηση", DlgFindFindBtn : "Αναζήτηση", DlgFindNotFoundMsg : "Το κείμενο δεν βρέθηκε.", // Replace Dialog DlgReplaceTitle : "Αντικατάσταση", DlgReplaceFindLbl : "Αναζήτηση:", DlgReplaceReplaceLbl : "Αντικατάσταση με:", DlgReplaceCaseChk : "Έλεγχος πεζών/κεφαλαίων", DlgReplaceReplaceBtn : "Αντικατάσταση", DlgReplaceReplAllBtn : "Αντικατάσταση Όλων", DlgReplaceWordChk : "Εύρεση πλήρους λέξης", // Paste Operations / Dialog PasteErrorCut : "Οι ρυθμίσεις ασφαλείας του φυλλομετρητή σας δεν επιτρέπουν την επιλεγμένη εργασία αποκοπής. Χρησιμοποιείστε το πληκτρολόγιο (Ctrl+X).", PasteErrorCopy : "Οι ρυθμίσεις ασφαλείας του φυλλομετρητή σας δεν επιτρέπουν την επιλεγμένη εργασία αντιγραφής. Χρησιμοποιείστε το πληκτρολόγιο (Ctrl+C).", PasteAsText : "Επικόλληση ως Απλό Κείμενο", PasteFromWord : "Επικόλληση από το Word", DlgPasteMsg2 : "Παρακαλώ επικολήστε στο ακόλουθο κουτί χρησιμοποιόντας το πληκτρολόγιο (<STRONG>Ctrl+V</STRONG>) και πατήστε <STRONG>OK</STRONG>.", DlgPasteSec : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING DlgPasteIgnoreFont : "Αγνόηση προδιαγραφών γραμματοσειράς", DlgPasteRemoveStyles : "Αφαίρεση προδιαγραφών στύλ", // Color Picker ColorAutomatic : "Αυτόματο", ColorMoreColors : "Περισσότερα χρώματα...", // Document Properties DocProps : "Ιδιότητες εγγράφου", // Anchor Dialog DlgAnchorTitle : "Ιδιότητες άγκυρας", DlgAnchorName : "Όνομα άγκυρας", DlgAnchorErrorName : "Παρακαλούμε εισάγετε όνομα άγκυρας", // Speller Pages Dialog DlgSpellNotInDic : "Δεν υπάρχει στο λεξικό", DlgSpellChangeTo : "Αλλαγή σε", DlgSpellBtnIgnore : "Αγνόηση", DlgSpellBtnIgnoreAll : "Αγνόηση όλων", DlgSpellBtnReplace : "Αντικατάσταση", DlgSpellBtnReplaceAll : "Αντικατάσταση όλων", DlgSpellBtnUndo : "Αναίρεση", DlgSpellNoSuggestions : "- Δεν υπάρχουν προτάσεις -", DlgSpellProgress : "Ορθογραφικός έλεγχος σε εξέλιξη...", DlgSpellNoMispell : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν βρέθηκαν λάθη", DlgSpellNoChanges : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν άλλαξαν λέξεις", DlgSpellOneChange : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Μια λέξη άλλαξε", DlgSpellManyChanges : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: %1 λέξεις άλλαξαν", IeSpellDownload : "Δεν υπάρχει εγκατεστημένος ορθογράφος. Θέλετε να τον κατεβάσετε τώρα;", // Button Dialog DlgButtonText : "Κείμενο (Τιμή)", DlgButtonType : "Τύπος", DlgButtonTypeBtn : "Κουμπί", DlgButtonTypeSbm : "Καταχώρηση", DlgButtonTypeRst : "Επαναφορά", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Όνομα", DlgCheckboxValue : "Τιμή", DlgCheckboxSelected : "Επιλεγμένο", // Form Dialog DlgFormName : "Όνομα", DlgFormAction : "Δράση", DlgFormMethod : "Μάθοδος", // Select Field Dialog DlgSelectName : "Όνομα", DlgSelectValue : "Τιμή", DlgSelectSize : "Μέγεθος", DlgSelectLines : "γραμμές", DlgSelectChkMulti : "Πολλαπλές επιλογές", DlgSelectOpAvail : "Διαθέσιμες επιλογές", DlgSelectOpText : "Κείμενο", DlgSelectOpValue : "Τιμή", DlgSelectBtnAdd : "Προσθήκη", DlgSelectBtnModify : "Αλλαγή", DlgSelectBtnUp : "Πάνω", DlgSelectBtnDown : "Κάτω", DlgSelectBtnSetValue : "Προεπιλεγμένη επιλογή", DlgSelectBtnDelete : "Διαγραφή", // Textarea Dialog DlgTextareaName : "Όνομα", DlgTextareaCols : "Στήλες", DlgTextareaRows : "Σειρές", // Text Field Dialog DlgTextName : "Όνομα", DlgTextValue : "Τιμή", DlgTextCharWidth : "Μήκος χαρακτήρων", DlgTextMaxChars : "Μέγιστοι χαρακτήρες", DlgTextType : "Τύπος", DlgTextTypeText : "Κείμενο", DlgTextTypePass : "Κωδικός", // Hidden Field Dialog DlgHiddenName : "Όνομα", DlgHiddenValue : "Τιμή", // Bulleted List Dialog BulletedListProp : "Ιδιότητες λίστας Bulleted", NumberedListProp : "Ιδιότητες αριθμημένης λίστας ", DlgLstStart : "Αρχή", DlgLstType : "Τύπος", DlgLstTypeCircle : "Κύκλος", DlgLstTypeDisc : "Δίσκος", DlgLstTypeSquare : "Τετράγωνο", DlgLstTypeNumbers : "Αριθμοί (1, 2, 3)", DlgLstTypeLCase : "Πεζά γράμματα (a, b, c)", DlgLstTypeUCase : "Κεφαλαία γράμματα (A, B, C)", DlgLstTypeSRoman : "Μικρά λατινικά αριθμητικά (i, ii, iii)", DlgLstTypeLRoman : "Μεγάλα λατινικά αριθμητικά (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Γενικά", DlgDocBackTab : "Φόντο", DlgDocColorsTab : "Χρώματα και περιθώρια", DlgDocMetaTab : "Δεδομένα Meta", DlgDocPageTitle : "Τίτλος σελίδας", DlgDocLangDir : "Κατεύθυνση γραφής", DlgDocLangDirLTR : "αριστερά προς δεξιά (LTR)", DlgDocLangDirRTL : "δεξιά προς αριστερά (RTL)", DlgDocLangCode : "Κωδικός γλώσσας", DlgDocCharSet : "Κωδικοποίηση χαρακτήρων", DlgDocCharSetCE : "Κεντρικής Ευρώπης", DlgDocCharSetCT : "Παραδοσιακά κινέζικα (Big5)", DlgDocCharSetCR : "Κυριλλική", DlgDocCharSetGR : "Ελληνική", DlgDocCharSetJP : "Ιαπωνική", DlgDocCharSetKR : "Κορεάτικη", DlgDocCharSetTR : "Τουρκική", DlgDocCharSetUN : "Διεθνής (UTF-8)", DlgDocCharSetWE : "Δυτικής Ευρώπης", DlgDocCharSetOther : "Άλλη κωδικοποίηση χαρακτήρων", DlgDocDocType : "Επικεφαλίδα τύπου εγγράφου", DlgDocDocTypeOther : "Άλλη επικεφαλίδα τύπου εγγράφου", DlgDocIncXHTML : "Να συμπεριληφθούν οι δηλώσεις XHTML", DlgDocBgColor : "Χρώμα φόντου", DlgDocBgImage : "Διεύθυνση εικόνας φόντου", DlgDocBgNoScroll : "Φόντο χωρίς κύλιση", DlgDocCText : "Κείμενο", DlgDocCLink : "Σύνδεσμος", DlgDocCVisited : "Σύνδεσμος που έχει επισκευθεί", DlgDocCActive : "Ενεργός σύνδεσμος", DlgDocMargins : "Περιθώρια σελίδας", DlgDocMaTop : "Κορυφή", DlgDocMaLeft : "Αριστερά", DlgDocMaRight : "Δεξιά", DlgDocMaBottom : "Κάτω", DlgDocMeIndex : "Λέξεις κλειδιά δείκτες εγγράφου (διαχωρισμός με κόμμα)", DlgDocMeDescr : "Περιγραφή εγγράφου", DlgDocMeAuthor : "Συγγραφέας", DlgDocMeCopy : "Πνευματικά δικαιώματα", DlgDocPreview : "Προεπισκόπηση", // Templates Dialog Templates : "Πρότυπα", DlgTemplatesTitle : "Πρότυπα περιεχομένου", DlgTemplatesSelMsg : "Παρακαλώ επιλέξτε πρότυπο για εισαγωγή στο πρόγραμμα<br>(τα υπάρχοντα περιεχόμενα θα χαθούν):", DlgTemplatesLoading : "Φόρτωση καταλόγου προτύπων. Παρακαλώ περιμένετε...", DlgTemplatesNoTpl : "(Δεν έχουν καθοριστεί πρότυπα)", DlgTemplatesReplace : "Αντικατάσταση υπάρχοντων περιεχομένων", // About Dialog DlgAboutAboutTab : "Σχετικά", DlgAboutBrowserInfoTab : "Πληροφορίες Browser", DlgAboutLicenseTab : "Άδεια", DlgAboutVersion : "έκδοση", DlgAboutInfo : "Για περισσότερες πληροφορίες", // Div Dialog DlgDivGeneralTab : "General", //MISSING DlgDivAdvancedTab : "Advanced", //MISSING DlgDivStyle : "Style", //MISSING DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Norwegian Bokmål language file. */ var FCKLang = { // Language direction : "ltr" (left to right) or "rtl" (right to left). Dir : "ltr", ToolbarCollapse : "Skjul verktøylinje", ToolbarExpand : "Vis verktøylinje", // Toolbar Items and Context Menu Save : "Lagre", NewPage : "Ny Side", Preview : "Forhåndsvis", Cut : "Klipp ut", Copy : "Kopier", Paste : "Lim inn", PasteText : "Lim inn som ren tekst", PasteWord : "Lim inn fra Word", Print : "Skriv ut", SelectAll : "Merk alt", RemoveFormat : "Fjern format", InsertLinkLbl : "Lenke", InsertLink : "Sett inn/Rediger lenke", RemoveLink : "Fjern lenke", VisitLink : "Åpne lenke", Anchor : "Sett inn/Rediger anker", AnchorDelete : "Fjern anker", InsertImageLbl : "Bilde", InsertImage : "Sett inn/Rediger bilde", InsertFlashLbl : "Flash", InsertFlash : "Sett inn/Rediger Flash", InsertTableLbl : "Tabell", InsertTable : "Sett inn/Rediger tabell", InsertLineLbl : "Linje", InsertLine : "Sett inn horisontal linje", InsertSpecialCharLbl: "Spesielt tegn", InsertSpecialChar : "Sett inn spesielt tegn", InsertSmileyLbl : "Smil", InsertSmiley : "Sett inn smil", About : "Om FCKeditor", Bold : "Fet", Italic : "Kursiv", Underline : "Understrek", StrikeThrough : "Gjennomstrek", Subscript : "Senket skrift", Superscript : "Hevet skrift", LeftJustify : "Venstrejuster", CenterJustify : "Midtjuster", RightJustify : "Høyrejuster", BlockJustify : "Blokkjuster", DecreaseIndent : "Senk nivå", IncreaseIndent : "Øk nivå", Blockquote : "Blockquote", //MISSING CreateDiv : "Create Div Container", //MISSING EditDiv : "Edit Div Container", //MISSING DeleteDiv : "Remove Div Container", //MISSING Undo : "Angre", Redo : "Gjør om", NumberedListLbl : "Nummerert liste", NumberedList : "Sett inn/Fjern nummerert liste", BulletedListLbl : "Uordnet liste", BulletedList : "Sett inn/Fjern uordnet liste", ShowTableBorders : "Vis tabellrammer", ShowDetails : "Vis detaljer", Style : "Stil", FontFormat : "Format", Font : "Skrift", FontSize : "Størrelse", TextColor : "Tekstfarge", BGColor : "Bakgrunnsfarge", Source : "Kilde", Find : "Søk", Replace : "Erstatt", SpellCheck : "Stavekontroll", UniversalKeyboard : "Universelt tastatur", PageBreakLbl : "Sideskift", PageBreak : "Sett inn sideskift", Form : "Skjema", Checkbox : "Avmerkingsboks", RadioButton : "Alternativknapp", TextField : "Tekstboks", Textarea : "Tekstområde", HiddenField : "Skjult felt", Button : "Knapp", SelectionField : "Rullegardinliste", ImageButton : "Bildeknapp", FitWindow : "Maksimer størrelsen på redigeringsverktøyet", ShowBlocks : "Show Blocks", //MISSING // Context Menu EditLink : "Rediger lenke", CellCM : "Celle", RowCM : "Rader", ColumnCM : "Kolonne", InsertRowAfter : "Sett inn rad etter", InsertRowBefore : "Sett inn rad før", DeleteRows : "Slett rader", InsertColumnAfter : "Sett inn kolonne etter", InsertColumnBefore : "Sett inn kolonne før", DeleteColumns : "Slett kolonner", InsertCellAfter : "Sett inn celle etter", InsertCellBefore : "Sett inn celle før", DeleteCells : "Slett celler", MergeCells : "Slå sammen celler", MergeRight : "Slå sammen høyre", MergeDown : "Slå sammen ned", HorizontalSplitCell : "Del celle horisontalt", VerticalSplitCell : "Del celle vertikalt", TableDelete : "Slett tabell", CellProperties : "Egenskaper for celle", TableProperties : "Egenskaper for tabell", ImageProperties : "Egenskaper for bilde", FlashProperties : "Egenskaper for Flash-objekt", AnchorProp : "Egenskaper for anker", ButtonProp : "Egenskaper for knapp", CheckboxProp : "Egenskaper for avmerkingsboks", HiddenFieldProp : "Egenskaper for skjult felt", RadioButtonProp : "Egenskaper for alternativknapp", ImageButtonProp : "Egenskaper for bildeknapp", TextFieldProp : "Egenskaper for tekstfelt", SelectionFieldProp : "Egenskaper for rullegardinliste", TextareaProp : "Egenskaper for tekstområde", FormProp : "Egenskaper for skjema", FontFormats : "Normal;Formatert;Adresse;Tittel 1;Tittel 2;Tittel 3;Tittel 4;Tittel 5;Tittel 6;Normal (DIV)", // Alerts and Messages ProcessingXHTML : "Lager XHTML. Vennligst vent...", Done : "Ferdig", PasteWordConfirm : "Teksten du prøver å lime inn ser ut som om den kommer fra Word. Vil du rense den for unødvendig kode før du limer inn?", NotCompatiblePaste : "Denne kommandoen er kun tilgjenglig for Internet Explorer versjon 5.5 eller bedre. Vil du fortsette uten å rense? (Du kan lime inn som ren tekst)", UnknownToolbarItem : "Ukjent menyvalg \"%1\"", UnknownCommand : "Ukjent kommando \"%1\"", NotImplemented : "Kommando ikke implimentert", UnknownToolbarSet : "Verktøylinjesett \"%1\" finnes ikke", NoActiveX : "Din nettlesers sikkerhetsinstillinger kan begrense noen av funksjonene i redigeringsverktøyet. Du må aktivere \"Kjør ActiveX-kontroller og plugin-modeller\". Du kan oppleve feil og advarsler om manglende funksjoner", BrowseServerBlocked : "Kunne ikke åpne dialogboksen for filarkiv. Sjekk at popup-blokkering er deaktivert.", DialogBlocked : "Kunne ikke åpne dialogboksen. Sjekk at popup-blokkering er deaktivert.", VisitLinkBlocked : "Kunne ikke åpne et nytt vindu. Sjekk at popup-blokkering er deaktivert.", // Dialogs DlgBtnOK : "OK", DlgBtnCancel : "Avbryt", DlgBtnClose : "Lukk", DlgBtnBrowseServer : "Bla igjennom server", DlgAdvancedTag : "Avansert", DlgOpOther : "<Annet>", DlgInfoTab : "Info", DlgAlertUrl : "Vennligst skriv inn URL-en", // General Dialogs Labels DlgGenNotSet : "<ikke satt>", DlgGenId : "Id", DlgGenLangDir : "Språkretning", DlgGenLangDirLtr : "Venstre til høyre (VTH)", DlgGenLangDirRtl : "Høyre til venstre (HTV)", DlgGenLangCode : "Språkkode", DlgGenAccessKey : "Aksessknapp", DlgGenName : "Navn", DlgGenTabIndex : "Tab Indeks", DlgGenLongDescr : "Utvidet beskrivelse", DlgGenClass : "Stilarkklasser", DlgGenTitle : "Tittel", DlgGenContType : "Type", DlgGenLinkCharset : "Lenket språkkart", DlgGenStyle : "Stil", // Image Dialog DlgImgTitle : "Bildeegenskaper", DlgImgInfoTab : "Bildeinformasjon", DlgImgBtnUpload : "Send det til serveren", DlgImgURL : "URL", DlgImgUpload : "Last opp", DlgImgAlt : "Alternativ tekst", DlgImgWidth : "Bredde", DlgImgHeight : "Høyde", DlgImgLockRatio : "Lås forhold", DlgBtnResetSize : "Tilbakestill størrelse", DlgImgBorder : "Ramme", DlgImgHSpace : "HMarg", DlgImgVSpace : "VMarg", DlgImgAlign : "Juster", DlgImgAlignLeft : "Venstre", DlgImgAlignAbsBottom: "Abs bunn", DlgImgAlignAbsMiddle: "Abs midten", DlgImgAlignBaseline : "Bunnlinje", DlgImgAlignBottom : "Bunn", DlgImgAlignMiddle : "Midten", DlgImgAlignRight : "Høyre", DlgImgAlignTextTop : "Tekst topp", DlgImgAlignTop : "Topp", DlgImgPreview : "Forhåndsvis", DlgImgAlertUrl : "Vennligst skriv bilde-urlen", DlgImgLinkTab : "Lenke", // Flash Dialog DlgFlashTitle : "Flash-egenskaper", DlgFlashChkPlay : "Autospill", DlgFlashChkLoop : "Loop", DlgFlashChkMenu : "Slå på Flash-meny", DlgFlashScale : "Skaler", DlgFlashScaleAll : "Vis alt", DlgFlashScaleNoBorder : "Ingen ramme", DlgFlashScaleFit : "Skaler til å passe", // Link Dialog DlgLnkWindowTitle : "Lenke", DlgLnkInfoTab : "Lenkeinfo", DlgLnkTargetTab : "Mål", DlgLnkType : "Lenketype", DlgLnkTypeURL : "URL", DlgLnkTypeAnchor : "Lenke til anker i teksten", DlgLnkTypeEMail : "E-post", DlgLnkProto : "Protokoll", DlgLnkProtoOther : "<annet>", DlgLnkURL : "URL", DlgLnkAnchorSel : "Velg et anker", DlgLnkAnchorByName : "Anker etter navn", DlgLnkAnchorById : "Element etter ID", DlgLnkNoAnchors : "(Ingen anker i dokumentet)", DlgLnkEMail : "E-postadresse", DlgLnkEMailSubject : "Meldingsemne", DlgLnkEMailBody : "Melding", DlgLnkUpload : "Last opp", DlgLnkBtnUpload : "Send til server", DlgLnkTarget : "Mål", DlgLnkTargetFrame : "<ramme>", DlgLnkTargetPopup : "<popup vindu>", DlgLnkTargetBlank : "Nytt vindu (_blank)", DlgLnkTargetParent : "Foreldrevindu (_parent)", DlgLnkTargetSelf : "Samme vindu (_self)", DlgLnkTargetTop : "Hele vindu (_top)", DlgLnkTargetFrameName : "Målramme", DlgLnkPopWinName : "Navn på popup-vindus", DlgLnkPopWinFeat : "Egenskaper for popup-vindu", DlgLnkPopResize : "Endre størrelse", DlgLnkPopLocation : "Adresselinje", DlgLnkPopMenu : "Menylinje", DlgLnkPopScroll : "Scrollbar", DlgLnkPopStatus : "Statuslinje", DlgLnkPopToolbar : "Verktøylinje", DlgLnkPopFullScrn : "Full skjerm (IE)", DlgLnkPopDependent : "Avhenging (Netscape)", DlgLnkPopWidth : "Bredde", DlgLnkPopHeight : "Høyde", DlgLnkPopLeft : "Venstre posisjon", DlgLnkPopTop : "Topp-posisjon", DlnLnkMsgNoUrl : "Vennligst skriv inn lenkens url", DlnLnkMsgNoEMail : "Vennligst skriv inn e-postadressen", DlnLnkMsgNoAnchor : "Vennligst velg et anker", DlnLnkMsgInvPopName : "Popup-vinduets navn må begynne med en bokstav, og kan ikke inneholde mellomrom", // Color Dialog DlgColorTitle : "Velg farge", DlgColorBtnClear : "Tøm", DlgColorHighlight : "Marker", DlgColorSelected : "Valgt", // Smiley Dialog DlgSmileyTitle : "Sett inn smil", // Special Character Dialog DlgSpecialCharTitle : "Velg spesielt tegn", // Table Dialog DlgTableTitle : "Egenskaper for tabell", DlgTableRows : "Rader", DlgTableColumns : "Kolonner", DlgTableBorder : "Rammestørrelse", DlgTableAlign : "Justering", DlgTableAlignNotSet : "<Ikke satt>", DlgTableAlignLeft : "Venstre", DlgTableAlignCenter : "Midtjuster", DlgTableAlignRight : "Høyre", DlgTableWidth : "Bredde", DlgTableWidthPx : "piksler", DlgTableWidthPc : "prosent", DlgTableHeight : "Høyde", DlgTableCellSpace : "Cellemarg", DlgTableCellPad : "Cellepolstring", DlgTableCaption : "Tittel", DlgTableSummary : "Sammendrag", // Table Cell Dialog DlgCellTitle : "Celleegenskaper", DlgCellWidth : "Bredde", DlgCellWidthPx : "piksler", DlgCellWidthPc : "prosent", DlgCellHeight : "Høyde", DlgCellWordWrap : "Tekstbrytning", DlgCellWordWrapNotSet : "<Ikke satt>", DlgCellWordWrapYes : "Ja", DlgCellWordWrapNo : "Nei", DlgCellHorAlign : "Horisontal justering", DlgCellHorAlignNotSet : "<Ikke satt>", DlgCellHorAlignLeft : "Venstre", DlgCellHorAlignCenter : "Midtjuster", DlgCellHorAlignRight: "Høyre", DlgCellVerAlign : "Vertikal justering", DlgCellVerAlignNotSet : "<Ikke satt>", DlgCellVerAlignTop : "Topp", DlgCellVerAlignMiddle : "Midten", DlgCellVerAlignBottom : "Bunn", DlgCellVerAlignBaseline : "Bunnlinje", DlgCellRowSpan : "Radspenn", DlgCellCollSpan : "Kolonnespenn", DlgCellBackColor : "Bakgrunnsfarge", DlgCellBorderColor : "Rammefarge", DlgCellBtnSelect : "Velg...", // Find and Replace Dialog DlgFindAndReplaceTitle : "Søk og erstatt", // Find Dialog DlgFindTitle : "Søk", DlgFindFindBtn : "Søk", DlgFindNotFoundMsg : "Fant ikke søketeksten.", // Replace Dialog DlgReplaceTitle : "Erstatt", DlgReplaceFindLbl : "Søk etter:", DlgReplaceReplaceLbl : "Erstatt med:", DlgReplaceCaseChk : "Skill mellom store og små bokstaver", DlgReplaceReplaceBtn : "Erstatt", DlgReplaceReplAllBtn : "Erstatt alle", DlgReplaceWordChk : "Bare hele ord", // Paste Operations / Dialog PasteErrorCut : "Din nettlesers sikkerhetsinstillinger tillater ikke automatisk klipping av tekst. Vennligst bruk snareveien (Ctrl+X).", PasteErrorCopy : "Din nettlesers sikkerhetsinstillinger tillater ikke automatisk kopiering av tekst. Vennligst bruk snareveien (Ctrl+C).", PasteAsText : "Lim inn som ren tekst", PasteFromWord : "Lim inn fra Word", DlgPasteMsg2 : "Vennligst lim inn i den følgende boksen med tastaturet (<STRONG>Ctrl+V</STRONG>) og trykk <STRONG>OK</STRONG>.", DlgPasteSec : "Din nettlesers sikkerhetsinstillinger gir ikke redigeringsverktøyet direkte tilgang til utklippstavlen. Du må lime det igjen i dette vinduet.", DlgPasteIgnoreFont : "Fjern skrifttyper", DlgPasteRemoveStyles : "Fjern stildefinisjoner", // Color Picker ColorAutomatic : "Automatisk", ColorMoreColors : "Flere farger...", // Document Properties DocProps : "Dokumentegenskaper", // Anchor Dialog DlgAnchorTitle : "Ankeregenskaper", DlgAnchorName : "Ankernavn", DlgAnchorErrorName : "Vennligst skriv inn ankernavnet", // Speller Pages Dialog DlgSpellNotInDic : "Ikke i ordboken", DlgSpellChangeTo : "Endre til", DlgSpellBtnIgnore : "Ignorer", DlgSpellBtnIgnoreAll : "Ignorer alle", DlgSpellBtnReplace : "Erstatt", DlgSpellBtnReplaceAll : "Erstatt alle", DlgSpellBtnUndo : "Angre", DlgSpellNoSuggestions : "- Ingen forslag -", DlgSpellProgress : "Stavekontroll pågår...", DlgSpellNoMispell : "Stavekontroll fullført: ingen feilstavinger funnet", DlgSpellNoChanges : "Stavekontroll fullført: ingen ord endret", DlgSpellOneChange : "Stavekontroll fullført: Ett ord endret", DlgSpellManyChanges : "Stavekontroll fullført: %1 ord endret", IeSpellDownload : "Stavekontroll er ikke installert. Vil du laste den ned nå?", // Button Dialog DlgButtonText : "Tekst (verdi)", DlgButtonType : "Type", DlgButtonTypeBtn : "Knapp", DlgButtonTypeSbm : "Send", DlgButtonTypeRst : "Nullstill", // Checkbox and Radio Button Dialogs DlgCheckboxName : "Navn", DlgCheckboxValue : "Verdi", DlgCheckboxSelected : "Valgt", // Form Dialog DlgFormName : "Navn", DlgFormAction : "Handling", DlgFormMethod : "Metode", // Select Field Dialog DlgSelectName : "Navn", DlgSelectValue : "Verdi", DlgSelectSize : "Størrelse", DlgSelectLines : "Linjer", DlgSelectChkMulti : "Tillat flervalg", DlgSelectOpAvail : "Tilgjenglige alternativer", DlgSelectOpText : "Tekst", DlgSelectOpValue : "Verdi", DlgSelectBtnAdd : "Legg til", DlgSelectBtnModify : "Endre", DlgSelectBtnUp : "Opp", DlgSelectBtnDown : "Ned", DlgSelectBtnSetValue : "Sett som valgt", DlgSelectBtnDelete : "Slett", // Textarea Dialog DlgTextareaName : "Navn", DlgTextareaCols : "Kolonner", DlgTextareaRows : "Rader", // Text Field Dialog DlgTextName : "Navn", DlgTextValue : "Verdi", DlgTextCharWidth : "Tegnbredde", DlgTextMaxChars : "Maks antall tegn", DlgTextType : "Type", DlgTextTypeText : "Tekst", DlgTextTypePass : "Passord", // Hidden Field Dialog DlgHiddenName : "Navn", DlgHiddenValue : "Verdi", // Bulleted List Dialog BulletedListProp : "Egenskaper for uordnet liste", NumberedListProp : "Egenskaper for ordnet liste", DlgLstStart : "Start", DlgLstType : "Type", DlgLstTypeCircle : "Sirkel", DlgLstTypeDisc : "Hel sirkel", DlgLstTypeSquare : "Firkant", DlgLstTypeNumbers : "Numre (1, 2, 3)", DlgLstTypeLCase : "Små bokstaver (a, b, c)", DlgLstTypeUCase : "Store bokstaver (A, B, C)", DlgLstTypeSRoman : "Små romerske tall (i, ii, iii)", DlgLstTypeLRoman : "Store romerske tall (I, II, III)", // Document Properties Dialog DlgDocGeneralTab : "Generelt", DlgDocBackTab : "Bakgrunn", DlgDocColorsTab : "Farger og marginer", DlgDocMetaTab : "Meta-data", DlgDocPageTitle : "Sidetittel", DlgDocLangDir : "Språkretning", DlgDocLangDirLTR : "Venstre til høyre (LTR)", DlgDocLangDirRTL : "Høyre til venstre (RTL)", DlgDocLangCode : "Språkkode", DlgDocCharSet : "Tegnsett", DlgDocCharSetCE : "Sentraleuropeisk", DlgDocCharSetCT : "Tradisonell kinesisk(Big5)", DlgDocCharSetCR : "Cyrillic", DlgDocCharSetGR : "Gresk", DlgDocCharSetJP : "Japansk", DlgDocCharSetKR : "Koreansk", DlgDocCharSetTR : "Tyrkisk", DlgDocCharSetUN : "Unicode (UTF-8)", DlgDocCharSetWE : "Vesteuropeisk", DlgDocCharSetOther : "Annet tegnsett", DlgDocDocType : "Dokumenttype header", DlgDocDocTypeOther : "Annet dokumenttype header", DlgDocIncXHTML : "Inkluder XHTML-deklarasjon", DlgDocBgColor : "Bakgrunnsfarge", DlgDocBgImage : "URL for bakgrunnsbilde", DlgDocBgNoScroll : "Lås bakgrunnsbilde", DlgDocCText : "Tekst", DlgDocCLink : "Link", DlgDocCVisited : "Besøkt lenke", DlgDocCActive : "Aktiv lenke", DlgDocMargins : "Sidemargin", DlgDocMaTop : "Topp", DlgDocMaLeft : "Venstre", DlgDocMaRight : "Høyre", DlgDocMaBottom : "Bunn", DlgDocMeIndex : "Dokument nøkkelord (kommaseparert)", DlgDocMeDescr : "Dokumentbeskrivelse", DlgDocMeAuthor : "Forfatter", DlgDocMeCopy : "Kopirett", DlgDocPreview : "Forhåndsvising", // Templates Dialog Templates : "Maler", DlgTemplatesTitle : "Innholdsmaler", DlgTemplatesSelMsg : "Velg malen du vil åpne<br>(innholdet du har skrevet blir tapt!):", DlgTemplatesLoading : "Laster malliste. Vennligst vent...", DlgTemplatesNoTpl : "(Ingen maler definert)", DlgTemplatesReplace : "Erstatt faktisk innold", // About Dialog DlgAboutAboutTab : "Om", DlgAboutBrowserInfoTab : "Nettleserinfo", DlgAboutLicenseTab : "Lisens", DlgAboutVersion : "versjon", DlgAboutInfo : "For mer informasjon, se", // Div Dialog DlgDivGeneralTab : "Generelt", DlgDivAdvancedTab : "Avansert", DlgDivStyle : "Stil", DlgDivInlineStyle : "Inline Style" //MISSING };
JavaScript