code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Bulgarian language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['bg'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'Код', newPage : 'Нова страница', save : 'Запази', preview : 'Предварителен изглед', cut : 'Изрежи', copy : 'Запамети', paste : 'Вмъкни', print : 'Печат', underline : 'Подчертан', bold : 'Удебелен', italic : 'Курсив', selectAll : 'Селектирай всичко', removeFormat : 'Изтрий форматирането', strike : 'Зачертан', subscript : 'Индекс за база', superscript : 'Индекс за степен', horizontalrule : 'Вмъкни хоризонтална линия', pagebreak : 'Вмъкни нов ред', pagebreakAlt : 'Page Break', // MISSING unlink : 'Изтрий връзка', undo : 'Отмени', redo : 'Повтори', // Common messages and labels. common : { browseServer : 'Разгледай сървъра', url : 'Пълен път (URL)', protocol : 'Протокол', upload : 'Качи', uploadSubmit : 'Прати към сървъра', image : 'Изображение', flash : 'Flash', form : 'Формуляр', checkbox : 'Поле за отметка', radio : 'Поле за опция', textField : 'Текстово поле', textarea : 'Текстова област', hiddenField : 'Скрито поле', button : 'Бутон', select : 'Падащо меню с опции', imageButton : 'Бутон-изображение', notSet : '<не е настроен>', id : 'Идентификатор', name : 'Име', langDir : 'посока на речта', langDirLtr : 'От ляво на дясно', langDirRtl : 'От дясно на ляво', langCode : 'Код на езика', longDescr : 'Описание на връзката', cssClass : 'Клас от стиловите таблици', advisoryTitle : 'Препоръчително заглавие', cssStyle : 'Стил', ok : 'ОК', cancel : 'Отказ', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', // MISSING advancedTab : 'Подробности...', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Ширина', height : 'Височина', align : 'Подравняване', alignLeft : 'Ляво', alignRight : 'Дясно', alignCenter : 'Център', alignTop : 'Отгоре', alignMiddle : 'По средата', alignBottom : 'Долу', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Вмъкни специален символ', title : 'Изберете специален символ', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Добави/Редактирай връзка', other : '<друг>', menu : 'Редактирай връзка', title : 'Връзка', info : 'Информация за връзката', target : 'Цел', upload : 'Качи', advanced : 'Подробности...', type : 'Вид на връзката', toUrl : 'URL', // MISSING toAnchor : 'Котва в текущата страница', toEmail : 'Е-поща', targetFrame : '<рамка>', targetPopup : '<дъщерен прозорец>', targetFrameName : 'Име на целевия прозорец', targetPopupName : 'Име на дъщерния прозорец', popupFeatures : 'Параметри на дъщерния прозорец', popupResizable : 'Resizable', // MISSING popupStatusBar : 'Поле за статус', popupLocationBar: 'Поле за адрес', popupToolbar : 'Панел с бутони', popupMenuBar : 'Меню', popupFullScreen : 'Голям екран (MS IE)', popupScrollBars : 'Плъзгач', popupDependent : 'Зависим (Netscape)', popupLeft : 'Координати - X', popupTop : 'Координати - Y', id : 'Id', // MISSING langDir : 'посока на речта', langDirLTR : 'От ляво на дясно', langDirRTL : 'От дясно на ляво', acccessKey : 'Бърз клавиш', name : 'Име', langCode : 'посока на речта', tabIndex : 'Ред на достъп', advisoryTitle : 'Препоръчително заглавие', advisoryContentType : 'Препоръчителен тип на съдържанието', cssClasses : 'Клас от стиловите таблици', charset : 'Тип на свързания ресурс', styles : 'Стил', rel : 'Relationship', // MISSING selectAnchor : 'Изберете котва', anchorName : 'По име на котвата', anchorId : 'По идентификатор на елемент', emailAddress : 'Адрес за е-поща', emailSubject : 'Тема на писмото', emailBody : 'Текст на писмото', noAnchors : '(Няма котви в текущия документ)', noUrl : 'Моля, напишете пълния път (URL)', noEmail : 'Моля, напишете адреса за е-поща' }, // Anchor dialog anchor : { toolbar : 'Добави/Редактирай котва', menu : 'Параметри на котвата', title : 'Параметри на котвата', name : 'Име на котвата', errorName : 'Моля, въведете име на котвата', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Find and Replace', // MISSING find : 'Търси', replace : 'Замести', findWhat : 'Търси:', replaceWith : 'Замести с:', notFoundMsg : 'Указания текст не беше намерен.', findOptions : 'Find Options', // MISSING matchCase : 'Със същия регистър', matchWord : 'Търси същата дума', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'Замести всички', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'Таблица', title : 'Параметри на таблицата', menu : 'Параметри на таблицата', deleteTable : 'Изтрий таблицата', rows : 'Редове', columns : 'Колони', border : 'Размер на рамката', widthPx : 'пиксели', widthPc : 'проценти', widthUnit : 'width unit', // MISSING cellSpace : 'Разстояние между клетките', cellPad : 'Отстъп на съдържанието в клетките', caption : 'Заглавие', summary : 'Резюме', headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'Cell', // MISSING insertBefore : 'Insert Cell Before', // MISSING insertAfter : 'Insert Cell After', // MISSING deleteCell : 'Изтрий клетките', merge : 'Обедини клетките', mergeRight : 'Merge Right', // MISSING mergeDown : 'Merge Down', // MISSING splitHorizontal : 'Split Cell Horizontally', // MISSING splitVertical : 'Split Cell Vertically', // MISSING title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'Row', // MISSING insertBefore : 'Insert Row Before', // MISSING insertAfter : 'Insert Row After', // MISSING deleteRow : 'Изтрий редовете' }, column : { menu : 'Column', // MISSING insertBefore : 'Insert Column Before', // MISSING insertAfter : 'Insert Column After', // MISSING deleteColumn : 'Изтрий колоните' } }, // Button Dialog. button : { title : 'Параметри на бутона', text : 'Текст (Стойност)', type : 'Тип', typeBtn : 'Button', // MISSING typeSbm : 'Submit', // MISSING typeRst : 'Reset' // MISSING }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Параметри на полето за отметка', radioTitle : 'Параметри на полето за опция', value : 'Стойност', selected : 'Отметнато' }, // Form Dialog. form : { title : 'Параметри на формуляра', menu : 'Параметри на формуляра', action : 'Действие', method : 'Метод', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'Параметри на падащото меню с опции', selectInfo : 'Информация', opAvail : 'Възможни опции', value : 'Стойност', size : 'Размер', lines : 'линии', chkMulti : 'Разрешено множествено селектиране', opText : 'Текст', opValue : 'Стойност', btnAdd : 'Добави', btnModify : 'Промени', btnUp : 'Нагоре', btnDown : 'Надолу', btnSetValue : 'Настрой като избрана стойност', btnDelete : 'Изтрий' }, // Textarea Dialog. textarea : { title : 'Параметри на текстовата област', cols : 'Колони', rows : 'Редове' }, // Text Field Dialog. textfield : { title : 'Параметри на текстовото-поле', name : 'Име', value : 'Стойност', charWidth : 'Ширина на символите', maxChars : 'Максимум символи', type : 'Тип', typeText : 'Текст', typePass : 'Парола' }, // Hidden Field Dialog. hidden : { title : 'Параметри на скритото поле', name : 'Име', value : 'Стойност' }, // Image Dialog. image : { title : 'Параметри на изображението', titleButton : 'Параметри на бутона-изображение', menu : 'Параметри на изображението', infoTab : 'Информация за изображението', btnUpload : 'Прати към сървъра', upload : 'Качи', alt : 'Алтернативен текст', lockRatio : 'Запази пропорцията', resetSize : 'Възстанови размера', border : 'Рамка', hSpace : 'Хоризонтален отстъп', vSpace : 'Вертикален отстъп', alertUrl : 'Моля, въведете пълния път до изображението', linkTab : 'Връзка', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Параметри на Flash обекта', propertiesTab : 'Properties', // MISSING title : 'Параметри на Flash обекта', chkPlay : 'Автоматично стартиране', chkLoop : 'Ново стартиране след завършването', chkMenu : 'Разрешено Flash меню', chkFull : 'Allow Fullscreen', // MISSING scale : 'Оразмеряване', scaleAll : 'Покажи целия обект', scaleNoBorder : 'Без рамка', scaleFit : 'Според мястото', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Най-долу', alignAbsMiddle : 'Точно по средата', alignBaseline : 'По базовата линия', alignTextTop : 'Върху текста', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'Цвят на фона', hSpace : 'Хоризонтален отстъп', vSpace : 'Вертикален отстъп', validateSrc : 'Моля, напишете пълния път (URL)', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'Провери правописа', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'Липсва в речника', changeTo : 'Промени на', btnIgnore : 'Игнорирай', btnIgnoreAll : 'Игнорирай всички', btnReplace : 'Замести', btnReplaceAll : 'Замести всички', btnUndo : 'Отмени', noSuggestions : '- Няма предложения -', progress : 'Извършване на проверката за правопис...', noMispell : 'Проверката за правопис завършена: не са открити правописни грешки', noChanges : 'Проверката за правопис завършена: няма променени думи', oneChange : 'Проверката за правопис завършена: една дума е променена', manyChanges : 'Проверката за правопис завършена: %1 думи са променени', ieSpellDownload : 'Инструментът за проверка на правопис не е инсталиран. Желаете ли да го инсталирате ?' }, smiley : { toolbar : 'Усмивка', title : 'Добави усмивка', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'Нумериран списък', bulletedlist : 'Ненумериран списък', indent : 'Увеличи отстъпа', outdent : 'Намали отстъпа', justify : { left : 'Подравняване в ляво', center : 'Подравнявне в средата', right : 'Подравняване в дясно', block : 'Двустранно подравняване' }, blockquote : 'Block Quote', // MISSING clipboard : { title : 'Вмъкни', cutError : 'Настройките за сигурност на вашия бразуър не разрешават на редактора да изпълни изрязването. За целта използвайте клавиатурата (Ctrl/Cmd+X).', copyError : 'Настройките за сигурност на вашия бразуър не разрешават на редактора да изпълни запаметяването. За целта използвайте клавиатурата (Ctrl/Cmd+C).', pasteMsg : 'Вмъкнете тук съдъжанието с клавиатуарата (<STRONG>Ctrl/Cmd+V</STRONG>) и натиснете <STRONG>OK</STRONG>.', securityMsg : '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 pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Вмъкни от MS Word', title : 'Вмъкни от MS Word', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Вмъкни като чист текст', title : 'Вмъкни като чист текст' }, templates : { button : 'Шаблони', title : 'Шаблони', options : 'Template Options', // MISSING insertOption : 'Replace actual contents', // MISSING selectPromptMsg : 'Изберете шаблон <br>(текущото съдържание на редактора ще бъде загубено):', emptyListMsg : '(Няма дефинирани шаблони)' }, showBlocks : 'Show Blocks', // MISSING stylesCombo : { label : 'Стил', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'Формат', panelTitle : 'Формат', tag_p : 'Нормален', tag_pre : 'Форматиран', tag_address : 'Адрес', tag_h1 : 'Заглавие 1', tag_h2 : 'Заглавие 2', tag_h3 : 'Заглавие 3', tag_h4 : 'Заглавие 4', tag_h5 : 'Заглавие 5', tag_h6 : 'Заглавие 6', tag_div : 'Параграф (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Шрифт', voiceLabel : 'Font', // MISSING panelTitle : 'Шрифт' }, fontSize : { label : 'Размер', voiceLabel : 'Font Size', // MISSING panelTitle : 'Размер' }, colorButton : { textColorTitle : 'Цвят на текста', bgColorTitle : 'Цвят на фона', panelTitle : 'Colors', // MISSING auto : 'По подразбиране', more : 'Други цветове...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Параметри на документа', title : 'Параметри на документа', design : 'Design', // MISSING meta : 'Мета данни', chooseColor : 'Choose', // MISSING other : '<друг>', docTitle : 'Заглавие на страницата', charset : 'Кодиране на символите', charsetOther : 'Друго кодиране на символите', charsetASCII : 'ASCII', // MISSING charsetCE : 'Central European', // MISSING charsetCT : 'Chinese Traditional (Big5)', // MISSING charsetCR : 'Cyrillic', // MISSING charsetGR : 'Greek', // MISSING charsetJP : 'Japanese', // MISSING charsetKR : 'Korean', // MISSING charsetTR : 'Turkish', // MISSING charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Western European', // MISSING docType : 'Тип на документа', docTypeOther : 'Друг тип на документа', xhtmlDec : 'Включи XHTML декларация', bgColor : 'Цвят на фона', bgImage : 'Пълен път до фоновото изображение', bgFixed : 'Не-повтарящо се фоново изображение', txtColor : 'Цвят на текста', margin : 'Отстъпи на страницата', marginTop : 'Горе', marginLeft : 'Ляво', marginRight : 'Дясно', marginBottom : 'Долу', metaKeywords : 'Ключови думи за документа (разделени със запетаи)', metaDescription : 'Описание на документа', metaAuthor : 'Автор', metaCopyright : 'Авторски права', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/bg.js
JavaScript
asf20
31,160
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Greek language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['el'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'HTML κώδικας', newPage : 'Νέα Σελίδα', save : 'Αποθήκευση', preview : 'Προεπισκόπιση', cut : 'Αποκοπή', copy : 'Αντιγραφή', paste : 'Επικόλληση', print : 'Εκτύπωση', underline : 'Υπογράμμιση', bold : 'Έντονα', italic : 'Πλάγια', selectAll : 'Επιλογή όλων', removeFormat : 'Αφαίρεση Μορφοποίησης', strike : 'Διαγράμμιση', subscript : 'Δείκτης', superscript : 'Εκθέτης', horizontalrule : 'Εισαγωγή Οριζόντιας Γραμμής', pagebreak : 'Εισαγωγή τέλους σελίδας', pagebreakAlt : 'Page Break', // MISSING unlink : 'Αφαίρεση Συνδέσμου (Link)', undo : 'Αναίρεση', redo : 'Επαναφορά', // Common messages and labels. common : { browseServer : 'Εξερεύνηση διακομιστή', url : 'URL', protocol : 'Προτόκολο', upload : 'Αποστολή', uploadSubmit : 'Αποστολή στον Διακομιστή', image : 'Εικόνα', flash : 'Εισαγωγή Flash', form : 'Φόρμα', checkbox : 'Κουτί επιλογής', radio : 'Κουμπί Radio', textField : 'Πεδίο κειμένου', textarea : 'Περιοχή κειμένου', hiddenField : 'Κρυφό πεδίο', button : 'Κουμπί', select : 'Πεδίο επιλογής', imageButton : 'Κουμπί εικόνας', notSet : '<χωρίς>', id : 'Id', name : 'Όνομα', langDir : 'Κατεύθυνση κειμένου', langDirLtr : 'Αριστερά προς Δεξιά (LTR)', langDirRtl : 'Δεξιά προς Αριστερά (RTL)', langCode : 'Κωδικός Γλώσσας', longDescr : 'Αναλυτική περιγραφή URL', cssClass : 'Stylesheet Classes', advisoryTitle : 'Συμβουλευτικός τίτλος', cssStyle : 'Στύλ', ok : 'OK', cancel : 'Ακύρωση', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', // MISSING advancedTab : 'Για προχωρημένους', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Πλάτος', height : 'Ύψος', align : 'Ευθυγράμμιση (Align)', alignLeft : 'Αριστερά', alignRight : 'Δεξιά (Right)', alignCenter : 'Κέντρο', alignTop : 'Πάνω (Top)', alignMiddle : 'Μέση (Middle)', alignBottom : 'Κάτω (Bottom)', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Εισαγωγή Ειδικού Συμβόλου', title : 'Επιλέξτε ένα Ειδικό Σύμβολο', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Εισαγωγή/Μεταβολή Συνδέσμου (Link)', other : '<άλλος>', menu : 'Μεταβολή Συνδέσμου (Link)', title : 'Σύνδεσμος (Link)', info : 'Link', target : 'Παράθυρο Στόχος (Target)', upload : 'Αποστολή', advanced : 'Για προχωρημένους', type : 'Τύπος συνδέσμου (Link)', toUrl : 'URL', // MISSING toAnchor : 'Άγκυρα σε αυτή τη σελίδα', toEmail : 'E-Mail', targetFrame : '<πλαίσιο>', targetPopup : '<παράθυρο popup>', targetFrameName : 'Όνομα πλαισίου στόχου', targetPopupName : 'Όνομα Popup Window', popupFeatures : 'Επιλογές Popup Window', popupResizable : 'Resizable', // MISSING popupStatusBar : 'Μπάρα Status', popupLocationBar: 'Μπάρα Τοποθεσίας', popupToolbar : 'Μπάρα Εργαλείων', popupMenuBar : 'Μπάρα Menu', popupFullScreen : 'Ολόκληρη η Οθόνη (IE)', popupScrollBars : 'Μπάρες Κύλισης', popupDependent : 'Dependent (Netscape)', popupLeft : 'Τοποθεσία Αριστερής Άκρης', popupTop : 'Τοποθεσία Πάνω Άκρης', id : 'Id', // MISSING langDir : 'Κατεύθυνση κειμένου', langDirLTR : 'Αριστερά προς Δεξιά (LTR)', langDirRTL : 'Δεξιά προς Αριστερά (RTL)', acccessKey : 'Συντόμευση (Access Key)', name : 'Όνομα', langCode : 'Κατεύθυνση κειμένου', tabIndex : 'Tab Index', advisoryTitle : 'Συμβουλευτικός τίτλος', advisoryContentType : 'Συμβουλευτικός τίτλος περιεχομένου', cssClasses : 'Stylesheet Classes', charset : 'Linked Resource Charset', styles : 'Στύλ', rel : 'Relationship', // MISSING selectAnchor : 'Επιλέξτε μια άγκυρα', anchorName : 'Βάσει του Ονόματος (Name) της άγκυρας', anchorId : 'Βάσει του Element Id', emailAddress : 'Διεύθυνση Ηλεκτρονικού Ταχυδρομείου', emailSubject : 'Θέμα Μηνύματος', emailBody : 'Κείμενο Μηνύματος', noAnchors : '(Δεν υπάρχουν άγκυρες στο κείμενο)', noUrl : 'Εισάγετε την τοποθεσία (URL) του υπερσυνδέσμου (Link)', noEmail : 'Εισάγετε την διεύθυνση ηλεκτρονικού ταχυδρομείου' }, // Anchor dialog anchor : { toolbar : 'Εισαγωγή/επεξεργασία Anchor', menu : 'Ιδιότητες άγκυρας', title : 'Ιδιότητες άγκυρας', name : 'Όνομα άγκυρας', errorName : 'Παρακαλούμε εισάγετε όνομα άγκυρας', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Find and Replace', // MISSING find : 'Αναζήτηση', replace : 'Αντικατάσταση', findWhat : 'Αναζήτηση:', replaceWith : 'Αντικατάσταση με:', notFoundMsg : 'Το κείμενο δεν βρέθηκε.', findOptions : 'Find Options', // MISSING matchCase : 'Έλεγχος πεζών/κεφαλαίων', matchWord : 'Εύρεση πλήρους λέξης', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'Αντικατάσταση Όλων', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'Πίνακας', title : 'Ιδιότητες Πίνακα', menu : 'Ιδιότητες Πίνακα', deleteTable : 'Διαγραφή πίνακα', rows : 'Γραμμές', columns : 'Κολώνες', border : 'Μέγεθος Περιθωρίου', widthPx : 'pixels', widthPc : '%', widthUnit : 'width unit', // MISSING cellSpace : 'Απόσταση κελιών', cellPad : 'Γέμισμα κελιών', caption : 'Υπέρτιτλος', summary : 'Περίληψη', headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'Κελί', insertBefore : 'Insert Cell Before', // MISSING insertAfter : 'Insert Cell After', // MISSING deleteCell : 'Διαγραφή Κελιών', merge : 'Ενοποίηση Κελιών', mergeRight : 'Merge Right', // MISSING mergeDown : 'Merge Down', // MISSING splitHorizontal : 'Split Cell Horizontally', // MISSING splitVertical : 'Split Cell Vertically', // MISSING title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'Σειρά', insertBefore : 'Insert Row Before', // MISSING insertAfter : 'Insert Row After', // MISSING deleteRow : 'Διαγραφή Γραμμών' }, column : { menu : 'Στήλη', insertBefore : 'Insert Column Before', // MISSING insertAfter : 'Insert Column After', // MISSING deleteColumn : 'Διαγραφή Κολωνών' } }, // Button Dialog. button : { title : 'Ιδιότητες κουμπιού', text : 'Κείμενο (Τιμή)', type : 'Τύπος', typeBtn : 'Κουμπί', typeSbm : 'Καταχώρηση', typeRst : 'Επαναφορά' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Ιδιότητες κουμπιού επιλογής', radioTitle : 'Ιδιότητες κουμπιού radio', value : 'Τιμή', selected : 'Επιλεγμένο' }, // Form Dialog. form : { title : 'Ιδιότητες φόρμας', menu : 'Ιδιότητες φόρμας', action : 'Δράση', method : 'Μάθοδος', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'Ιδιότητες πεδίου επιλογής', selectInfo : 'Πληροφορίες', opAvail : 'Διαθέσιμες επιλογές', value : 'Τιμή', size : 'Μέγεθος', lines : 'γραμμές', chkMulti : 'Πολλαπλές επιλογές', opText : 'Κείμενο', opValue : 'Τιμή', btnAdd : 'Προσθήκη', btnModify : 'Αλλαγή', btnUp : 'Πάνω', btnDown : 'Κάτω', btnSetValue : 'Προεπιλεγμένη επιλογή', btnDelete : 'Διαγραφή' }, // Textarea Dialog. textarea : { title : 'Ιδιότητες περιοχής κειμένου', cols : 'Στήλες', rows : 'Σειρές' }, // Text Field Dialog. textfield : { title : 'Ιδιότητες πεδίου κειμένου', name : 'Όνομα', value : 'Τιμή', charWidth : 'Μήκος χαρακτήρων', maxChars : 'Μέγιστοι χαρακτήρες', type : 'Τύπος', typeText : 'Κείμενο', typePass : 'Κωδικός' }, // Hidden Field Dialog. hidden : { title : 'Ιδιότητες κρυφού πεδίου', name : 'Όνομα', value : 'Τιμή' }, // Image Dialog. image : { title : 'Ιδιότητες Εικόνας', titleButton : 'Ιδιότητες κουμπιού εικόνας', menu : 'Ιδιότητες Εικόνας', infoTab : 'Πληροφορίες Εικόνας', btnUpload : 'Αποστολή στον Διακομιστή', upload : 'Αποστολή', alt : 'Εναλλακτικό Κείμενο (ALT)', lockRatio : 'Κλείδωμα Αναλογίας', resetSize : 'Επαναφορά Αρχικού Μεγέθους', border : 'Περιθώριο', hSpace : 'Οριζόντιος Χώρος (HSpace)', vSpace : 'Κάθετος Χώρος (VSpace)', alertUrl : 'Εισάγετε την τοποθεσία (URL) της εικόνας', linkTab : 'Σύνδεσμος', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Ιδιότητες Flash', propertiesTab : 'Properties', // MISSING title : 'Ιδιότητες flash', chkPlay : 'Αυτόματη έναρξη', chkLoop : 'Επανάληψη', chkMenu : 'Ενεργοποίηση Flash Menu', chkFull : 'Allow Fullscreen', // MISSING scale : 'Κλίμακα', scaleAll : 'Εμφάνιση όλων', scaleNoBorder : 'Χωρίς όρια', scaleFit : 'Ακριβής εφαρμογή', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Απόλυτα Κάτω (Abs Bottom)', alignAbsMiddle : 'Απόλυτα στη Μέση (Abs Middle)', alignBaseline : 'Γραμμή Βάσης (Baseline)', alignTextTop : 'Κορυφή Κειμένου (Text Top)', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'Χρώμα Υποβάθρου', hSpace : 'Οριζόντιος Χώρος (HSpace)', vSpace : 'Κάθετος Χώρος (VSpace)', validateSrc : 'Εισάγετε την τοποθεσία (URL) του υπερσυνδέσμου (Link)', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'Ορθογραφικός έλεγχος', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'Δεν υπάρχει στο λεξικό', changeTo : 'Αλλαγή σε', btnIgnore : 'Αγνόηση', btnIgnoreAll : 'Αγνόηση όλων', btnReplace : 'Αντικατάσταση', btnReplaceAll : 'Αντικατάσταση όλων', btnUndo : 'Αναίρεση', noSuggestions : '- Δεν υπάρχουν προτάσεις -', progress : 'Ορθογραφικός έλεγχος σε εξέλιξη...', noMispell : 'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν βρέθηκαν λάθη', noChanges : 'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν άλλαξαν λέξεις', oneChange : 'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Μια λέξη άλλαξε', manyChanges : 'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: %1 λέξεις άλλαξαν', ieSpellDownload : 'Δεν υπάρχει εγκατεστημένος ορθογράφος. Θέλετε να τον κατεβάσετε τώρα;' }, smiley : { toolbar : 'Smiley', title : 'Επιλέξτε ένα Smiley', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'Λίστα με Αριθμούς', bulletedlist : 'Λίστα με Bullets', indent : 'Αύξηση Εσοχής', outdent : 'Μείωση Εσοχής', justify : { left : 'Στοίχιση Αριστερά', center : 'Στοίχιση στο Κέντρο', right : 'Στοίχιση Δεξιά', block : 'Πλήρης Στοίχιση (Block)' }, blockquote : 'Block Quote', // MISSING clipboard : { title : 'Επικόλληση', cutError : 'Οι ρυθμίσεις ασφαλείας του φυλλομετρητή σας δεν επιτρέπουν την επιλεγμένη εργασία αποκοπής. Χρησιμοποιείστε το πληκτρολόγιο (Ctrl/Cmd+X).', copyError : 'Οι ρυθμίσεις ασφαλείας του φυλλομετρητή σας δεν επιτρέπουν την επιλεγμένη εργασία αντιγραφής. Χρησιμοποιείστε το πληκτρολόγιο (Ctrl/Cmd+C).', pasteMsg : 'Παρακαλώ επικολήστε στο ακόλουθο κουτί χρησιμοποιόντας το πληκτρολόγιο (<STRONG>Ctrl/Cmd+V</STRONG>) και πατήστε <STRONG>OK</STRONG>.', securityMsg : '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 pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Επικόλληση από το Word', title : 'Επικόλληση από το Word', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Επικόλληση ως Απλό Κείμενο', title : 'Επικόλληση ως Απλό Κείμενο' }, templates : { button : 'Πρότυπα', title : 'Πρότυπα περιεχομένου', options : 'Template Options', // MISSING insertOption : 'Αντικατάσταση υπάρχοντων περιεχομένων', selectPromptMsg : 'Παρακαλώ επιλέξτε πρότυπο για εισαγωγή στο πρόγραμμα<br>(τα υπάρχοντα περιεχόμενα θα χαθούν):', emptyListMsg : '(Δεν έχουν καθοριστεί πρότυπα)' }, showBlocks : 'Show Blocks', // MISSING stylesCombo : { label : 'Στυλ', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'Μορφή Γραμματοσειράς', panelTitle : 'Μορφή Γραμματοσειράς', tag_p : 'Κανονικό', tag_pre : 'Μορφοποιημένο', tag_address : 'Διεύθυνση', tag_h1 : 'Επικεφαλίδα 1', tag_h2 : 'Επικεφαλίδα 2', tag_h3 : 'Επικεφαλίδα 3', tag_h4 : 'Επικεφαλίδα 4', tag_h5 : 'Επικεφαλίδα 5', tag_h6 : 'Επικεφαλίδα 6', tag_div : 'Normal (DIV)' // MISSING }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Γραμματοσειρά', voiceLabel : 'Font', // MISSING panelTitle : 'Γραμματοσειρά' }, fontSize : { label : 'Μέγεθος', voiceLabel : 'Font Size', // MISSING panelTitle : 'Μέγεθος' }, colorButton : { textColorTitle : 'Χρώμα Γραμμάτων', bgColorTitle : 'Χρώμα Υποβάθρου', panelTitle : 'Colors', // MISSING auto : 'Αυτόματο', more : 'Περισσότερα χρώματα...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Ιδιότητες εγγράφου', title : 'Ιδιότητες εγγράφου', design : 'Design', // MISSING meta : 'Δεδομένα Meta', chooseColor : 'Choose', // MISSING other : '<άλλος>', docTitle : 'Τίτλος σελίδας', charset : 'Κωδικοποίηση χαρακτήρων', charsetOther : 'Άλλη κωδικοποίηση χαρακτήρων', charsetASCII : 'ASCII', // MISSING charsetCE : 'Κεντρικής Ευρώπης', charsetCT : 'Παραδοσιακά κινέζικα (Big5)', charsetCR : 'Κυριλλική', charsetGR : 'Ελληνική', charsetJP : 'Ιαπωνική', charsetKR : 'Κορεάτικη', charsetTR : 'Τουρκική', charsetUN : 'Διεθνής (UTF-8)', charsetWE : 'Δυτικής Ευρώπης', docType : 'Επικεφαλίδα τύπου εγγράφου', docTypeOther : 'Άλλη επικεφαλίδα τύπου εγγράφου', xhtmlDec : 'Να συμπεριληφθούν οι δηλώσεις XHTML', bgColor : 'Χρώμα φόντου', bgImage : 'Διεύθυνση εικόνας φόντου', bgFixed : 'Φόντο χωρίς κύλιση', txtColor : 'Χρώμα Γραμμάτων', margin : 'Περιθώρια σελίδας', marginTop : 'Κορυφή', marginLeft : 'Αριστερά', marginRight : 'Δεξιά', marginBottom : 'Κάτω', metaKeywords : 'Λέξεις κλειδιά δείκτες εγγράφου (διαχωρισμός με κόμμα)', metaDescription : 'Περιγραφή εγγράφου', metaAuthor : 'Συγγραφέας', metaCopyright : 'Πνευματικά δικαιώματα', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/el.js
JavaScript
asf20
31,565
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * English (Canadian) language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['en-ca'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'Source', newPage : 'New Page', save : 'Save', preview : 'Preview', cut : 'Cut', copy : 'Copy', paste : 'Paste', print : 'Print', underline : 'Underline', bold : 'Bold', italic : 'Italic', selectAll : 'Select All', removeFormat : 'Remove Format', strike : 'Strike Through', subscript : 'Subscript', superscript : 'Superscript', horizontalrule : 'Insert Horizontal Line', pagebreak : 'Insert Page Break for Printing', pagebreakAlt : 'Page Break', // MISSING unlink : 'Unlink', undo : 'Undo', redo : 'Redo', // Common messages and labels. common : { browseServer : 'Browse Server', url : 'URL', protocol : 'Protocol', upload : 'Upload', uploadSubmit : 'Send it to the Server', image : 'Image', flash : 'Flash', form : 'Form', checkbox : 'Checkbox', radio : 'Radio Button', textField : 'Text Field', textarea : 'Textarea', hiddenField : 'Hidden Field', button : 'Button', select : 'Selection Field', imageButton : 'Image Button', notSet : '<not set>', id : 'Id', name : 'Name', langDir : 'Language Direction', langDirLtr : 'Left to Right (LTR)', langDirRtl : 'Right to Left (RTL)', langCode : 'Language Code', longDescr : 'Long Description URL', cssClass : 'Stylesheet Classes', advisoryTitle : 'Advisory Title', cssStyle : 'Style', ok : 'OK', cancel : 'Cancel', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', advancedTab : 'Advanced', validateNumberFailed : 'This value is not a number.', confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Width', // MISSING height : 'Height', // MISSING align : 'Align', alignLeft : 'Left', // MISSING alignRight : 'Right', // MISSING alignCenter : 'Centre', alignTop : 'Top', // MISSING alignMiddle : 'Middle', // MISSING alignBottom : 'Bottom', // MISSING invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Insert Special Character', title : 'Select Special Character', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Link', other : '<other>', menu : 'Edit Link', title : 'Link', info : 'Link Info', target : 'Target', upload : 'Upload', advanced : 'Advanced', type : 'Link Type', toUrl : 'URL', // MISSING toAnchor : 'Link to anchor in the text', toEmail : 'E-mail', targetFrame : '<frame>', targetPopup : '<popup window>', targetFrameName : 'Target Frame Name', targetPopupName : 'Popup Window Name', popupFeatures : 'Popup Window Features', popupResizable : 'Resizable', popupStatusBar : 'Status Bar', popupLocationBar: 'Location Bar', popupToolbar : 'Toolbar', popupMenuBar : 'Menu Bar', popupFullScreen : 'Full Screen (IE)', popupScrollBars : 'Scroll Bars', popupDependent : 'Dependent (Netscape)', popupLeft : 'Left Position', popupTop : 'Top Position', id : 'Id', langDir : 'Language Direction', langDirLTR : 'Left to Right (LTR)', langDirRTL : 'Right to Left (RTL)', acccessKey : 'Access Key', name : 'Name', langCode : 'Language Code', tabIndex : 'Tab Index', advisoryTitle : 'Advisory Title', advisoryContentType : 'Advisory Content Type', cssClasses : 'Stylesheet Classes', charset : 'Linked Resource Charset', styles : 'Style', rel : 'Relationship', // MISSING selectAnchor : 'Select an Anchor', anchorName : 'By Anchor Name', anchorId : 'By Element Id', emailAddress : 'E-Mail Address', emailSubject : 'Message Subject', emailBody : 'Message Body', noAnchors : '(No anchors available in the document)', noUrl : 'Please type the link URL', noEmail : 'Please type the e-mail address' }, // Anchor dialog anchor : { toolbar : 'Anchor', menu : 'Edit Anchor', title : 'Anchor Properties', name : 'Anchor Name', errorName : 'Please type the anchor name', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Find and Replace', find : 'Find', replace : 'Replace', findWhat : 'Find what:', replaceWith : 'Replace with:', notFoundMsg : 'The specified text was not found.', findOptions : 'Find Options', // MISSING matchCase : 'Match case', matchWord : 'Match whole word', matchCyclic : 'Match cyclic', replaceAll : 'Replace All', replaceSuccessMsg : '%1 occurrence(s) replaced.' }, // Table Dialog table : { toolbar : 'Table', title : 'Table Properties', menu : 'Table Properties', deleteTable : 'Delete Table', rows : 'Rows', columns : 'Columns', border : 'Border size', widthPx : 'pixels', widthPc : 'percent', widthUnit : 'width unit', // MISSING cellSpace : 'Cell spacing', cellPad : 'Cell padding', caption : 'Caption', summary : 'Summary', headers : 'Headers', headersNone : 'None', headersColumn : 'First column', headersRow : 'First Row', headersBoth : 'Both', invalidRows : 'Number of rows must be a number greater than 0.', invalidCols : 'Number of columns must be a number greater than 0.', invalidBorder : 'Border size must be a number.', invalidWidth : 'Table width must be a number.', invalidHeight : 'Table height must be a number.', invalidCellSpacing : 'Cell spacing must be a number.', invalidCellPadding : 'Cell padding must be a number.', cell : { menu : 'Cell', insertBefore : 'Insert Cell Before', insertAfter : 'Insert Cell After', deleteCell : 'Delete Cells', merge : 'Merge Cells', mergeRight : 'Merge Right', mergeDown : 'Merge Down', splitHorizontal : 'Split Cell Horizontally', splitVertical : 'Split Cell Vertically', title : 'Cell Properties', cellType : 'Cell Type', rowSpan : 'Rows Span', colSpan : 'Columns Span', wordWrap : 'Word Wrap', hAlign : 'Horizontal Alignment', vAlign : 'Vertical Alignment', alignBaseline : 'Baseline', bgColor : 'Background Color', borderColor : 'Border Color', data : 'Data', header : 'Header', yes : 'Yes', no : 'No', invalidWidth : 'Cell width must be a number.', invalidHeight : 'Cell height must be a number.', invalidRowSpan : 'Rows span must be a whole number.', invalidColSpan : 'Columns span must be a whole number.', chooseColor : 'Choose' // MISSING }, row : { menu : 'Row', insertBefore : 'Insert Row Before', insertAfter : 'Insert Row After', deleteRow : 'Delete Rows' }, column : { menu : 'Column', insertBefore : 'Insert Column Before', insertAfter : 'Insert Column After', deleteColumn : 'Delete Columns' } }, // Button Dialog. button : { title : 'Button Properties', text : 'Text (Value)', type : 'Type', typeBtn : 'Button', typeSbm : 'Submit', typeRst : 'Reset' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Checkbox Properties', radioTitle : 'Radio Button Properties', value : 'Value', selected : 'Selected' }, // Form Dialog. form : { title : 'Form Properties', menu : 'Form Properties', action : 'Action', method : 'Method', encoding : 'Encoding' }, // Select Field Dialog. select : { title : 'Selection Field Properties', selectInfo : 'Select Info', opAvail : 'Available Options', value : 'Value', size : 'Size', lines : 'lines', chkMulti : 'Allow multiple selections', opText : 'Text', opValue : 'Value', btnAdd : 'Add', btnModify : 'Modify', btnUp : 'Up', btnDown : 'Down', btnSetValue : 'Set as selected value', btnDelete : 'Delete' }, // Textarea Dialog. textarea : { title : 'Textarea Properties', cols : 'Columns', rows : 'Rows' }, // Text Field Dialog. textfield : { title : 'Text Field Properties', name : 'Name', value : 'Value', charWidth : 'Character Width', maxChars : 'Maximum Characters', type : 'Type', typeText : 'Text', typePass : 'Password' }, // Hidden Field Dialog. hidden : { title : 'Hidden Field Properties', name : 'Name', value : 'Value' }, // Image Dialog. image : { title : 'Image Properties', titleButton : 'Image Button Properties', menu : 'Image Properties', infoTab : 'Image Info', btnUpload : 'Send it to the Server', upload : 'Upload', alt : 'Alternative Text', lockRatio : 'Lock Ratio', resetSize : 'Reset Size', border : 'Border', hSpace : 'HSpace', vSpace : 'VSpace', alertUrl : 'Please type the image URL', linkTab : 'Link', button2Img : 'Do you want to transform the selected image button on a simple image?', img2Button : 'Do you want to transform the selected image on a image button?', urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Flash Properties', propertiesTab : 'Properties', title : 'Flash Properties', chkPlay : 'Auto Play', chkLoop : 'Loop', chkMenu : 'Enable Flash Menu', chkFull : 'Allow Fullscreen', scale : 'Scale', scaleAll : 'Show all', scaleNoBorder : 'No Border', scaleFit : 'Exact Fit', access : 'Script Access', accessAlways : 'Always', accessSameDomain: 'Same domain', accessNever : 'Never', alignAbsBottom : 'Abs Bottom', alignAbsMiddle : 'Abs Middle', alignBaseline : 'Baseline', alignTextTop : 'Text Top', quality : 'Quality', qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', flashvars : 'Variables for Flash', bgcolor : 'Background colour', hSpace : 'HSpace', vSpace : 'VSpace', validateSrc : 'URL must not be empty.', validateHSpace : 'HSpace must be a number.', validateVSpace : 'VSpace must be a number.' }, // Speller Pages Dialog spellCheck : { toolbar : 'Check Spelling', title : 'Spell Check', notAvailable : 'Sorry, but service is unavailable now.', errorLoading : 'Error loading application service host: %s.', notInDic : 'Not in dictionary', changeTo : 'Change to', btnIgnore : 'Ignore', btnIgnoreAll : 'Ignore All', btnReplace : 'Replace', btnReplaceAll : 'Replace All', btnUndo : 'Undo', noSuggestions : '- No suggestions -', progress : 'Spell check in progress...', noMispell : 'Spell check complete: No misspellings found', noChanges : 'Spell check complete: No words changed', oneChange : 'Spell check complete: One word changed', manyChanges : 'Spell check complete: %1 words changed', ieSpellDownload : 'Spell checker not installed. Do you want to download it now?' }, smiley : { toolbar : 'Smiley', title : 'Insert a Smiley', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' }, numberedlist : 'Insert/Remove Numbered List', bulletedlist : 'Insert/Remove Bulleted List', indent : 'Increase Indent', outdent : 'Decrease Indent', justify : { left : 'Align Left', center : 'Centre', right : 'Align Right', block : 'Justify' }, blockquote : 'Block Quote', clipboard : { title : 'Paste', cutError : 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).', copyError : 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).', pasteMsg : 'Please paste inside the following box using the keyboard (<strong>Ctrl/Cmd+V</strong>) and hit OK', securityMsg : '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.', pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Paste from Word', title : 'Paste from Word', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Paste as plain text', title : 'Paste as Plain Text' }, templates : { button : 'Templates', title : 'Content Templates', options : 'Template Options', // MISSING insertOption : 'Replace actual contents', selectPromptMsg : 'Please select the template to open in the editor', emptyListMsg : '(No templates defined)' }, showBlocks : 'Show Blocks', stylesCombo : { label : 'Styles', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', panelTitle2 : 'Inline Styles', panelTitle3 : 'Object Styles' }, format : { label : 'Format', panelTitle : 'Paragraph Format', tag_p : 'Normal', tag_pre : 'Formatted', tag_address : 'Address', tag_h1 : 'Heading 1', tag_h2 : 'Heading 2', tag_h3 : 'Heading 3', tag_h4 : 'Heading 4', tag_h5 : 'Heading 5', tag_h6 : 'Heading 6', tag_div : 'Normal (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Font', voiceLabel : 'Font', // MISSING panelTitle : 'Font Name' }, fontSize : { label : 'Size', voiceLabel : 'Font Size', // MISSING panelTitle : 'Font Size' }, colorButton : { textColorTitle : 'Text Colour', bgColorTitle : 'Background Colour', panelTitle : 'Colors', // MISSING auto : 'Automatic', more : 'More Colours...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', copy : 'Copyright &copy; $1. All rights reserved.' }, maximize : 'Maximize', minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Document Properties', // MISSING title : 'Document Properties', // MISSING design : 'Design', // MISSING meta : 'Meta Tags', // MISSING chooseColor : 'Choose', // MISSING other : 'Other...', // MISSING docTitle : 'Page Title', // MISSING charset : 'Character Set Encoding', // MISSING charsetOther : 'Other Character Set Encoding', // MISSING charsetASCII : 'ASCII', // MISSING charsetCE : 'Central European', // MISSING charsetCT : 'Chinese Traditional (Big5)', // MISSING charsetCR : 'Cyrillic', // MISSING charsetGR : 'Greek', // MISSING charsetJP : 'Japanese', // MISSING charsetKR : 'Korean', // MISSING charsetTR : 'Turkish', // MISSING charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Western European', // MISSING docType : 'Document Type Heading', // MISSING docTypeOther : 'Other Document Type Heading', // MISSING xhtmlDec : 'Include XHTML Declarations', // MISSING bgColor : 'Background Color', // MISSING bgImage : 'Background Image URL', // MISSING bgFixed : 'Non-scrolling (Fixed) Background', // MISSING txtColor : 'Text Color', // MISSING margin : 'Page Margins', // MISSING marginTop : 'Top', // MISSING marginLeft : 'Left', // MISSING marginRight : 'Right', // MISSING marginBottom : 'Bottom', // MISSING metaKeywords : 'Document Indexing Keywords (comma separated)', // MISSING metaDescription : 'Document Description', // MISSING metaAuthor : 'Author', // MISSING metaCopyright : 'Copyright', // MISSING previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/en-ca.js
JavaScript
asf20
25,464
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Thai language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['th'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'ดูรหัส HTML', newPage : 'สร้างหน้าเอกสารใหม่', save : 'บันทึก', preview : 'ดูหน้าเอกสารตัวอย่าง', cut : 'ตัด', copy : 'สำเนา', paste : 'วาง', print : 'สั่งพิมพ์', underline : 'ตัวขีดเส้นใต้', bold : 'ตัวหนา', italic : 'ตัวเอียง', selectAll : 'เลือกทั้งหมด', removeFormat : 'ล้างรูปแบบ', strike : 'ตัวขีดเส้นทับ', subscript : 'ตัวห้อย', superscript : 'ตัวยก', horizontalrule : 'แทรกเส้นคั่นบรรทัด', pagebreak : 'แทรกตัวแบ่งหน้า Page Break', pagebreakAlt : 'Page Break', // MISSING unlink : 'ลบ ลิงค์', undo : 'ยกเลิกคำสั่ง', redo : 'ทำซ้ำคำสั่ง', // Common messages and labels. common : { browseServer : 'เปิดหน้าต่างจัดการไฟล์อัพโหลด', url : 'ที่อยู่อ้างอิง URL', protocol : 'โปรโตคอล', upload : 'อัพโหลดไฟล์', uploadSubmit : 'อัพโหลดไฟล์ไปเก็บไว้ที่เครื่องแม่ข่าย (เซิร์ฟเวอร์)', image : 'รูปภาพ', flash : 'ไฟล์ Flash', form : 'แบบฟอร์ม', checkbox : 'เช็คบ๊อก', radio : 'เรดิโอบัตตอน', textField : 'เท็กซ์ฟิลด์', textarea : 'เท็กซ์แอเรีย', hiddenField : 'ฮิดเดนฟิลด์', button : 'ปุ่ม', select : 'แถบตัวเลือก', imageButton : 'ปุ่มแบบรูปภาพ', notSet : '<ไม่ระบุ>', id : 'ไอดี', name : 'ชื่อ', langDir : 'การเขียน-อ่านภาษา', langDirLtr : 'จากซ้ายไปขวา (LTR)', langDirRtl : 'จากขวามาซ้าย (RTL)', langCode : 'รหัสภาษา', longDescr : 'คำอธิบายประกอบ URL', cssClass : 'คลาสของไฟล์กำหนดลักษณะการแสดงผล', advisoryTitle : 'คำเกริ่นนำ', cssStyle : 'ลักษณะการแสดงผล', ok : 'ตกลง', cancel : 'ยกเลิก', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', // MISSING advancedTab : 'ขั้นสูง', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'ความกว้าง', height : 'ความสูง', align : 'การจัดวาง', alignLeft : 'ชิดซ้าย', alignRight : 'ชิดขวา', alignCenter : 'กึ่งกลาง', alignTop : 'บนสุด', alignMiddle : 'กึ่งกลางแนวตั้ง', alignBottom : 'ชิดด้านล่าง', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'แทรกตัวอักษรพิเศษ', title : 'แทรกตัวอักษรพิเศษ', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'แทรก/แก้ไข ลิงค์', other : '<อื่น ๆ>', menu : 'แก้ไข ลิงค์', title : 'ลิงค์เชื่อมโยงเว็บ อีเมล์ รูปภาพ หรือไฟล์อื่นๆ', info : 'รายละเอียด', target : 'การเปิดหน้าลิงค์', upload : 'อัพโหลดไฟล์', advanced : 'ขั้นสูง', type : 'ประเภทของลิงค์', toUrl : 'URL', // MISSING toAnchor : 'จุดเชื่อมโยง (Anchor)', toEmail : 'ส่งอีเมล์ (E-Mail)', targetFrame : '<เปิดในเฟรม>', targetPopup : '<เปิดหน้าจอเล็ก (Pop-up)>', targetFrameName : 'ชื่อทาร์เก็ตเฟรม', targetPopupName : 'ระบุชื่อหน้าจอเล็ก (Pop-up)', popupFeatures : 'คุณสมบัติของหน้าจอเล็ก (Pop-up)', popupResizable : 'Resizable', // MISSING popupStatusBar : 'แสดงแถบสถานะ', popupLocationBar: 'แสดงที่อยู่ของไฟล์', popupToolbar : 'แสดงแถบเครื่องมือ', popupMenuBar : 'แสดงแถบเมนู', popupFullScreen : 'แสดงเต็มหน้าจอ (IE5.5++ เท่านั้น)', popupScrollBars : 'แสดงแถบเลื่อน', popupDependent : 'แสดงเต็มหน้าจอ (Netscape)', popupLeft : 'พิกัดซ้าย (Left Position)', popupTop : 'พิกัดบน (Top Position)', id : 'Id', // MISSING langDir : 'การเขียน-อ่านภาษา', langDirLTR : 'จากซ้ายไปขวา (LTR)', langDirRTL : 'จากขวามาซ้าย (RTL)', acccessKey : 'แอคเซส คีย์', name : 'ชื่อ', langCode : 'การเขียน-อ่านภาษา', tabIndex : 'ลำดับของ แท็บ', advisoryTitle : 'คำเกริ่นนำ', advisoryContentType : 'ชนิดของคำเกริ่นนำ', cssClasses : 'คลาสของไฟล์กำหนดลักษณะการแสดงผล', charset : 'ลิงค์เชื่อมโยงไปยังชุดตัวอักษร', styles : 'ลักษณะการแสดงผล', rel : 'Relationship', // MISSING selectAnchor : 'ระบุข้อมูลของจุดเชื่อมโยง (Anchor)', anchorName : 'ชื่อ', anchorId : 'ไอดี', emailAddress : 'อีเมล์ (E-Mail)', emailSubject : 'หัวเรื่อง', emailBody : 'ข้อความ', noAnchors : '(ยังไม่มีจุดเชื่อมโยงภายในหน้าเอกสารนี้)', noUrl : 'กรุณาระบุที่อยู่อ้างอิงออนไลน์ (URL)', noEmail : 'กรุณาระบุอีเมล์ (E-mail)' }, // Anchor dialog anchor : { toolbar : 'แทรก/แก้ไข Anchor', menu : 'รายละเอียด Anchor', title : 'รายละเอียด Anchor', name : 'ชื่อ Anchor', errorName : 'กรุณาระบุชื่อของ Anchor', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Find and Replace', // MISSING find : 'ค้นหา', replace : 'ค้นหาและแทนที่', findWhat : 'ค้นหาคำว่า:', replaceWith : 'แทนที่ด้วย:', notFoundMsg : 'ไม่พบคำที่ค้นหา.', findOptions : 'Find Options', // MISSING matchCase : 'ตัวโหญ่-เล็ก ต้องตรงกัน', matchWord : 'ต้องตรงกันทุกคำ', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'แทนที่ทั้งหมดที่พบ', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'ตาราง', title : 'คุณสมบัติของ ตาราง', menu : 'คุณสมบัติของ ตาราง', deleteTable : 'ลบตาราง', rows : 'แถว', columns : 'สดมน์', border : 'ขนาดเส้นขอบ', widthPx : 'จุดสี', widthPc : 'เปอร์เซ็น', widthUnit : 'width unit', // MISSING cellSpace : 'ระยะแนวนอนน', cellPad : 'ระยะแนวตั้ง', caption : 'หัวเรื่องของตาราง', summary : 'สรุปความ', headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'ช่องตาราง', insertBefore : 'Insert Cell Before', // MISSING insertAfter : 'Insert Cell After', // MISSING deleteCell : 'ลบช่อง', merge : 'ผสานช่อง', mergeRight : 'Merge Right', // MISSING mergeDown : 'Merge Down', // MISSING splitHorizontal : 'Split Cell Horizontally', // MISSING splitVertical : 'Split Cell Vertically', // MISSING title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'แถว', insertBefore : 'Insert Row Before', // MISSING insertAfter : 'Insert Row After', // MISSING deleteRow : 'ลบแถว' }, column : { menu : 'คอลัมน์', insertBefore : 'Insert Column Before', // MISSING insertAfter : 'Insert Column After', // MISSING deleteColumn : 'ลบสดมน์' } }, // Button Dialog. button : { title : 'รายละเอียดของ ปุ่ม', text : 'ข้อความ (ค่าตัวแปร)', type : 'ข้อความ', typeBtn : 'Button', typeSbm : 'Submit', typeRst : 'Reset' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'คุณสมบัติของ เช็คบ๊อก', radioTitle : 'คุณสมบัติของ เรดิโอบัตตอน', value : 'ค่าตัวแปร', selected : 'เลือกเป็นค่าเริ่มต้น' }, // Form Dialog. form : { title : 'คุณสมบัติของ แบบฟอร์ม', menu : 'คุณสมบัติของ แบบฟอร์ม', action : 'แอคชั่น', method : 'เมธอด', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'คุณสมบัติของ แถบตัวเลือก', selectInfo : 'อินโฟ', opAvail : 'รายการตัวเลือก', value : 'ค่าตัวแปร', size : 'ขนาด', lines : 'บรรทัด', chkMulti : 'เลือกหลายค่าได้', opText : 'ข้อความ', opValue : 'ค่าตัวแปร', btnAdd : 'เพิ่ม', btnModify : 'แก้ไข', btnUp : 'บน', btnDown : 'ล่าง', btnSetValue : 'เลือกเป็นค่าเริ่มต้น', btnDelete : 'ลบ' }, // Textarea Dialog. textarea : { title : 'คุณสมบัติของ เท็กแอเรีย', cols : 'สดมภ์', rows : 'แถว' }, // Text Field Dialog. textfield : { title : 'คุณสมบัติของ เท็กซ์ฟิลด์', name : 'ชื่อ', value : 'ค่าตัวแปร', charWidth : 'ความกว้าง', maxChars : 'จำนวนตัวอักษรสูงสุด', type : 'ชนิด', typeText : 'ข้อความ', typePass : 'รหัสผ่าน' }, // Hidden Field Dialog. hidden : { title : 'คุณสมบัติของ ฮิดเดนฟิลด์', name : 'ชื่อ', value : 'ค่าตัวแปร' }, // Image Dialog. image : { title : 'คุณสมบัติของ รูปภาพ', titleButton : 'คุณสมบัติของ ปุ่มแบบรูปภาพ', menu : 'คุณสมบัติของ รูปภาพ', infoTab : 'ข้อมูลของรูปภาพ', btnUpload : 'อัพโหลดไฟล์ไปเก็บไว้ที่เครื่องแม่ข่าย (เซิร์ฟเวอร์)', upload : 'อัพโหลดไฟล์', alt : 'คำประกอบรูปภาพ', lockRatio : 'กำหนดอัตราส่วน กว้าง-สูง แบบคงที่', resetSize : 'กำหนดรูปเท่าขนาดจริง', border : 'ขนาดขอบรูป', hSpace : 'ระยะแนวนอน', vSpace : 'ระยะแนวตั้ง', alertUrl : 'กรุณาระบุที่อยู่อ้างอิงออนไลน์ของไฟล์รูปภาพ (URL)', linkTab : 'ลิ้งค์', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'คุณสมบัติของไฟล์ Flash', propertiesTab : 'Properties', // MISSING title : 'คุณสมบัติของไฟล์ Flash', chkPlay : 'เล่นอัตโนมัติ Auto Play', chkLoop : 'เล่นวนรอบ Loop', chkMenu : 'ให้ใช้งานเมนูของ Flash', chkFull : 'Allow Fullscreen', // MISSING scale : 'อัตราส่วน Scale', scaleAll : 'แสดงให้เห็นทั้งหมด Show all', scaleNoBorder : 'ไม่แสดงเส้นขอบ No Border', scaleFit : 'แสดงให้พอดีกับพื้นที่ Exact Fit', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'ชิดด้านล่างสุด', alignAbsMiddle : 'กึ่งกลาง', alignBaseline : 'ชิดบรรทัด', alignTextTop : 'ใต้ตัวอักษร', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'สีพื้นหลัง', hSpace : 'ระยะแนวนอน', vSpace : 'ระยะแนวตั้ง', validateSrc : 'กรุณาระบุที่อยู่อ้างอิงออนไลน์ (URL)', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'ตรวจการสะกดคำ', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'ไม่พบในดิกชันนารี', changeTo : 'แก้ไขเป็น', btnIgnore : 'ยกเว้น', btnIgnoreAll : 'ยกเว้นทั้งหมด', btnReplace : 'แทนที่', btnReplaceAll : 'แทนที่ทั้งหมด', btnUndo : 'ยกเลิก', noSuggestions : '- ไม่มีคำแนะนำใดๆ -', progress : 'กำลังตรวจสอบคำสะกด...', noMispell : 'ตรวจสอบคำสะกดเสร็จสิ้น: ไม่พบคำสะกดผิด', noChanges : 'ตรวจสอบคำสะกดเสร็จสิ้น: ไม่มีการแก้คำใดๆ', oneChange : 'ตรวจสอบคำสะกดเสร็จสิ้น: แก้ไข1คำ', manyChanges : 'ตรวจสอบคำสะกดเสร็จสิ้น:: แก้ไข %1 คำ', ieSpellDownload : 'ไม่ได้ติดตั้งระบบตรวจสอบคำสะกด. ต้องการติดตั้งไหมครับ?' }, smiley : { toolbar : 'รูปสื่ออารมณ์', title : 'แทรกสัญลักษณ์สื่ออารมณ์', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'ลำดับรายการแบบตัวเลข', bulletedlist : 'ลำดับรายการแบบสัญลักษณ์', indent : 'เพิ่มระยะย่อหน้า', outdent : 'ลดระยะย่อหน้า', justify : { left : 'จัดชิดซ้าย', center : 'จัดกึ่งกลาง', right : 'จัดชิดขวา', block : 'จัดพอดีหน้ากระดาษ' }, blockquote : 'Block Quote', // MISSING clipboard : { title : 'วาง', cutError : 'ไม่สามารถตัดข้อความที่เลือกไว้ได้เนื่องจากการกำหนดค่าระดับความปลอดภัย. กรุณาใช้ปุ่มลัดเพื่อวางข้อความแทน (กดปุ่ม Ctrl/Cmd และตัว X พร้อมกัน).', copyError : 'ไม่สามารถสำเนาข้อความที่เลือกไว้ได้เนื่องจากการกำหนดค่าระดับความปลอดภัย. กรุณาใช้ปุ่มลัดเพื่อวางข้อความแทน (กดปุ่ม Ctrl/Cmd และตัว C พร้อมกัน).', pasteMsg : 'กรุณาใช้คีย์บอร์ดเท่านั้น โดยกดปุ๋ม (<strong>Ctrl/Cmd และ V</strong>)พร้อมๆกัน และกด <strong>OK</strong>.', securityMsg : '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 pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'วางสำเนาจากตัวอักษรเวิร์ด', title : 'วางสำเนาจากตัวอักษรเวิร์ด', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'วางแบบตัวอักษรธรรมดา', title : 'วางแบบตัวอักษรธรรมดา' }, templates : { button : 'เทมเพลต', title : 'เทมเพลตของส่วนเนื้อหาเว็บไซต์', options : 'Template Options', // MISSING insertOption : 'แทนที่เนื้อหาเว็บไซต์ที่เลือก', selectPromptMsg : 'กรุณาเลือก เทมเพลต เพื่อนำไปแก้ไขในอีดิตเตอร์<br />(เนื้อหาส่วนนี้จะหายไป):', emptyListMsg : '(ยังไม่มีการกำหนดเทมเพลต)' }, showBlocks : 'Show Blocks', // MISSING stylesCombo : { label : 'ลักษณะ', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'รูปแบบ', panelTitle : 'รูปแบบ', tag_p : 'Normal', tag_pre : 'Formatted', tag_address : 'Address', tag_h1 : 'Heading 1', tag_h2 : 'Heading 2', tag_h3 : 'Heading 3', tag_h4 : 'Heading 4', tag_h5 : 'Heading 5', tag_h6 : 'Heading 6', tag_div : 'Paragraph (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'แบบอักษร', voiceLabel : 'Font', // MISSING panelTitle : 'แบบอักษร' }, fontSize : { label : 'ขนาด', voiceLabel : 'Font Size', // MISSING panelTitle : 'ขนาด' }, colorButton : { textColorTitle : 'สีตัวอักษร', bgColorTitle : 'สีพื้นหลัง', panelTitle : 'Colors', // MISSING auto : 'สีอัตโนมัติ', more : 'เลือกสีอื่นๆ...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'คุณสมบัติของเอกสาร', title : 'คุณสมบัติของเอกสาร', design : 'Design', // MISSING meta : 'ข้อมูลสำหรับเสิร์ชเอนจิ้น', chooseColor : 'Choose', // MISSING other : '<อื่น ๆ>', docTitle : 'ชื่อไตเติ้ล', charset : 'ชุดตัวอักษร', charsetOther : 'ชุดตัวอักษรอื่นๆ', charsetASCII : 'ASCII', // MISSING charsetCE : 'Central European', // MISSING charsetCT : 'Chinese Traditional (Big5)', // MISSING charsetCR : 'Cyrillic', // MISSING charsetGR : 'Greek', // MISSING charsetJP : 'Japanese', // MISSING charsetKR : 'Korean', // MISSING charsetTR : 'Turkish', // MISSING charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Western European', // MISSING docType : 'ประเภทของเอกสาร', docTypeOther : 'ประเภทเอกสารอื่นๆ', xhtmlDec : 'รวมเอา XHTML Declarations ไว้ด้วย', bgColor : 'สีพื้นหลัง', bgImage : 'ที่อยู่อ้างอิงออนไลน์ของรูปพื้นหลัง (Image URL)', bgFixed : 'พื้นหลังแบบไม่มีแถบเลื่อน', txtColor : 'สีตัวอักษร', margin : 'ระยะขอบของหน้าเอกสาร', marginTop : 'ด้านบน', marginLeft : 'ด้านซ้าย', marginRight : 'ด้านขวา', marginBottom : 'ด้านล่าง', metaKeywords : 'คำสำคัญอธิบายเอกสาร (คั่นคำด้วย คอมม่า)', metaDescription : 'ประโยคอธิบายเกี่ยวกับเอกสาร', metaAuthor : 'ผู้สร้างเอกสาร', metaCopyright : 'สงวนลิขสิทธิ์', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/th.js
JavaScript
asf20
34,899
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Bengali/Bangla language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['bn'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'সোর্স', newPage : 'নতুন পেজ', save : 'সংরক্ষন কর', preview : 'প্রিভিউ', cut : 'কাট', copy : 'কপি', paste : 'পেস্ট', print : 'প্রিন্ট', underline : 'আন্ডারলাইন', bold : 'বোল্ড', italic : 'ইটালিক', selectAll : 'সব সিলেক্ট কর', removeFormat : 'ফরমেট সরাও', strike : 'স্ট্রাইক থ্রু', subscript : 'অধোলেখ', superscript : 'অভিলেখ', horizontalrule : 'রেখা যুক্ত কর', pagebreak : 'পেজ ব্রেক', pagebreakAlt : 'Page Break', // MISSING unlink : 'লিংক সরাও', undo : 'আনডু', redo : 'রি-ডু', // Common messages and labels. common : { browseServer : 'ব্রাউজ সার্ভার', url : 'URL', protocol : 'প্রোটোকল', upload : 'আপলোড', uploadSubmit : 'ইহাকে সার্ভারে প্রেরন কর', image : 'ছবির লেবেল যুক্ত কর', flash : 'ফ্লাশ লেবেল যুক্ত কর', form : 'ফর্ম', checkbox : 'চেক বাক্স', radio : 'রেডিও বাটন', textField : 'টেক্সট ফীল্ড', textarea : 'টেক্সট এরিয়া', hiddenField : 'গুপ্ত ফীল্ড', button : 'বাটন', select : 'বাছাই ফীল্ড', imageButton : 'ছবির বাটন', notSet : '<সেট নেই>', id : 'আইডি', name : 'নাম', langDir : 'ভাষা লেখার দিক', langDirLtr : 'বাম থেকে ডান (LTR)', langDirRtl : 'ডান থেকে বাম (RTL)', langCode : 'ভাষা কোড', longDescr : 'URL এর লম্বা বর্ণনা', cssClass : 'স্টাইল-শীট ক্লাস', advisoryTitle : 'পরামর্শ শীর্ষক', cssStyle : 'স্টাইল', ok : 'ওকে', cancel : 'বাতিল', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', // MISSING advancedTab : 'এডভান্সড', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'প্রস্থ', height : 'দৈর্ঘ্য', align : 'এলাইন', alignLeft : 'বামে', alignRight : 'ডানে', alignCenter : 'মাঝখানে', alignTop : 'উপর', alignMiddle : 'মধ্য', alignBottom : 'নীচে', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'বিশেষ অক্ষর যুক্ত কর', title : 'বিশেষ ক্যারেক্টার বাছাই কর', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'লিংক যুক্ত কর', other : '<other>', // MISSING menu : 'লিংক সম্পাদন', title : 'লিংক', info : 'লিংক তথ্য', target : 'টার্গেট', upload : 'আপলোড', advanced : 'এডভান্সড', type : 'লিংক প্রকার', toUrl : 'URL', // MISSING toAnchor : 'এই পেজে নোঙর কর', toEmail : 'ইমেইল', targetFrame : '<ফ্রেম>', targetPopup : '<পপআপ উইন্ডো>', targetFrameName : 'টার্গেট ফ্রেমের নাম', targetPopupName : 'পপআপ উইন্ডোর নাম', popupFeatures : 'পপআপ উইন্ডো ফীচার সমূহ', popupResizable : 'Resizable', // MISSING popupStatusBar : 'স্ট্যাটাস বার', popupLocationBar: 'লোকেশন বার', popupToolbar : 'টুল বার', popupMenuBar : 'মেন্যু বার', popupFullScreen : 'পূর্ণ পর্দা জুড়ে (IE)', popupScrollBars : 'স্ক্রল বার', popupDependent : 'ডিপেন্ডেন্ট (Netscape)', popupLeft : 'বামের পজিশন', popupTop : 'ডানের পজিশন', id : 'Id', // MISSING langDir : 'ভাষা লেখার দিক', langDirLTR : 'বাম থেকে ডান (LTR)', langDirRTL : 'ডান থেকে বাম (RTL)', acccessKey : 'এক্সেস কী', name : 'নাম', langCode : 'ভাষা লেখার দিক', tabIndex : 'ট্যাব ইন্ডেক্স', advisoryTitle : 'পরামর্শ শীর্ষক', advisoryContentType : 'পরামর্শ কন্টেন্টের প্রকার', cssClasses : 'স্টাইল-শীট ক্লাস', charset : 'লিংক রিসোর্স ক্যারেক্টর সেট', styles : 'স্টাইল', rel : 'Relationship', // MISSING selectAnchor : 'নোঙর বাছাই', anchorName : 'নোঙরের নাম দিয়ে', anchorId : 'নোঙরের আইডি দিয়ে', emailAddress : 'ইমেইল ঠিকানা', emailSubject : 'মেসেজের বিষয়', emailBody : 'মেসেজের দেহ', noAnchors : '(No anchors available in the document)', // MISSING noUrl : 'অনুগ্রহ করে URL লিংক টাইপ করুন', noEmail : 'অনুগ্রহ করে ইমেইল এড্রেস টাইপ করুন' }, // Anchor dialog anchor : { toolbar : 'নোঙ্গর', menu : 'নোঙর প্রোপার্টি', title : 'নোঙর প্রোপার্টি', name : 'নোঙরের নাম', errorName : 'নোঙরের নাম টাইপ করুন', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Find and Replace', // MISSING find : 'খোজো', replace : 'রিপ্লেস', findWhat : 'যা খুঁজতে হবে:', replaceWith : 'যার সাথে বদলাতে হবে:', notFoundMsg : 'আপনার উল্লেখিত টেকস্ট পাওয়া যায়নি', findOptions : 'Find Options', // MISSING matchCase : 'কেস মিলাও', matchWord : 'পুরা শব্দ মেলাও', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'সব বদলে দাও', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'টেবিলের লেবেল যুক্ত কর', title : 'টেবিল প্রোপার্টি', menu : 'টেবিল প্রোপার্টি', deleteTable : 'টেবিল ডিলীট কর', rows : 'রো', columns : 'কলাম', border : 'বর্ডার সাইজ', widthPx : 'পিক্সেল', widthPc : 'শতকরা', widthUnit : 'width unit', // MISSING cellSpace : 'সেল স্পেস', cellPad : 'সেল প্যাডিং', caption : 'শীর্ষক', summary : 'সারাংশ', headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'সেল', insertBefore : 'Insert Cell Before', // MISSING insertAfter : 'Insert Cell After', // MISSING deleteCell : 'সেল মুছে দাও', merge : 'সেল জোড়া দাও', mergeRight : 'Merge Right', // MISSING mergeDown : 'Merge Down', // MISSING splitHorizontal : 'Split Cell Horizontally', // MISSING splitVertical : 'Split Cell Vertically', // MISSING title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'রো', insertBefore : 'Insert Row Before', // MISSING insertAfter : 'Insert Row After', // MISSING deleteRow : 'রো মুছে দাও' }, column : { menu : 'কলাম', insertBefore : 'Insert Column Before', // MISSING insertAfter : 'Insert Column After', // MISSING deleteColumn : 'কলাম মুছে দাও' } }, // Button Dialog. button : { title : 'বাটন প্রোপার্টি', text : 'টেক্সট (ভ্যালু)', type : 'প্রকার', typeBtn : 'Button', // MISSING typeSbm : 'Submit', // MISSING typeRst : 'Reset' // MISSING }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'চেক বক্স প্রোপার্টি', radioTitle : 'রেডিও বাটন প্রোপার্টি', value : 'ভ্যালু', selected : 'সিলেক্টেড' }, // Form Dialog. form : { title : 'ফর্ম প্রোপার্টি', menu : 'ফর্ম প্রোপার্টি', action : 'একশ্যন', method : 'পদ্ধতি', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'বাছাই ফীল্ড প্রোপার্টি', selectInfo : 'তথ্য', opAvail : 'অন্যান্য বিকল্প', value : 'ভ্যালু', size : 'সাইজ', lines : 'লাইন সমূহ', chkMulti : 'একাধিক সিলেকশন এলাউ কর', opText : 'টেক্সট', opValue : 'ভ্যালু', btnAdd : 'যুক্ত', btnModify : 'বদলে দাও', btnUp : 'উপর', btnDown : 'নীচে', btnSetValue : 'বাছাই করা ভ্যালু হিসেবে সেট কর', btnDelete : 'ডিলীট' }, // Textarea Dialog. textarea : { title : 'টেক্সট এরিয়া প্রোপার্টি', cols : 'কলাম', rows : 'রো' }, // Text Field Dialog. textfield : { title : 'টেক্সট ফীল্ড প্রোপার্টি', name : 'নাম', value : 'ভ্যালু', charWidth : 'ক্যারেক্টার প্রশস্ততা', maxChars : 'সর্বাধিক ক্যারেক্টার', type : 'টাইপ', typeText : 'টেক্সট', typePass : 'পাসওয়ার্ড' }, // Hidden Field Dialog. hidden : { title : 'গুপ্ত ফীল্ড প্রোপার্টি', name : 'নাম', value : 'ভ্যালু' }, // Image Dialog. image : { title : 'ছবির প্রোপার্টি', titleButton : 'ছবি বাটন প্রোপার্টি', menu : 'ছবির প্রোপার্টি', infoTab : 'ছবির তথ্য', btnUpload : 'ইহাকে সার্ভারে প্রেরন কর', upload : 'আপলোড', alt : 'বিকল্প টেক্সট', lockRatio : 'অনুপাত লক কর', resetSize : 'সাইজ পূর্বাবস্থায় ফিরিয়ে দাও', border : 'বর্ডার', hSpace : 'হরাইজন্টাল স্পেস', vSpace : 'ভার্টিকেল স্পেস', alertUrl : 'অনুগ্রহক করে ছবির URL টাইপ করুন', linkTab : 'লিংক', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'ফ্লাশ প্রোপার্টি', propertiesTab : 'Properties', // MISSING title : 'ফ্ল্যাশ প্রোপার্টি', chkPlay : 'অটো প্লে', chkLoop : 'লূপ', chkMenu : 'ফ্ল্যাশ মেনু এনাবল কর', chkFull : 'Allow Fullscreen', // MISSING scale : 'স্কেল', scaleAll : 'সব দেখাও', scaleNoBorder : 'কোনো বর্ডার নেই', scaleFit : 'নিখুঁত ফিট', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Abs নীচে', alignAbsMiddle : 'Abs উপর', alignBaseline : 'মূল রেখা', alignTextTop : 'টেক্সট উপর', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'বেকগ্রাউন্ড রং', hSpace : 'হরাইজন্টাল স্পেস', vSpace : 'ভার্টিকেল স্পেস', validateSrc : 'অনুগ্রহ করে URL লিংক টাইপ করুন', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'বানান চেক', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'শব্দকোষে নেই', changeTo : 'এতে বদলাও', btnIgnore : 'ইগনোর কর', btnIgnoreAll : 'সব ইগনোর কর', btnReplace : 'বদলে দাও', btnReplaceAll : 'সব বদলে দাও', btnUndo : 'আন্ডু', noSuggestions : '- কোন সাজেশন নেই -', progress : 'বানান পরীক্ষা চলছে...', noMispell : 'বানান পরীক্ষা শেষ: কোন ভুল বানান পাওয়া যায়নি', noChanges : 'বানান পরীক্ষা শেষ: কোন শব্দ পরিবর্তন করা হয়নি', oneChange : 'বানান পরীক্ষা শেষ: একটি মাত্র শব্দ পরিবর্তন করা হয়েছে', manyChanges : 'বানান পরীক্ষা শেষ: %1 গুলো শব্দ বদলে গ্যাছে', ieSpellDownload : 'বানান পরীক্ষক ইনস্টল করা নেই। আপনি কি এখনই এটা ডাউনলোড করতে চান?' }, smiley : { toolbar : 'স্মাইলী', title : 'স্মাইলী যুক্ত কর', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'সাংখ্যিক লিস্টের লেবেল', bulletedlist : 'বুলেট লিস্ট লেবেল', indent : 'ইনডেন্ট বাড়াও', outdent : 'ইনডেন্ট কমাও', justify : { left : 'বা দিকে ঘেঁষা', center : 'মাঝ বরাবর ঘেষা', right : 'ডান দিকে ঘেঁষা', block : 'ব্লক জাস্টিফাই' }, blockquote : 'Block Quote', // MISSING clipboard : { title : 'পেস্ট', cutError : 'আপনার ব্রাউজারের সুরক্ষা সেটিংস এডিটরকে অটোমেটিক কাট করার অনুমতি দেয়নি। দয়া করে এই কাজের জন্য কিবোর্ড ব্যবহার করুন (Ctrl/Cmd+X)।', copyError : 'আপনার ব্রাউজারের সুরক্ষা সেটিংস এডিটরকে অটোমেটিক কপি করার অনুমতি দেয়নি। দয়া করে এই কাজের জন্য কিবোর্ড ব্যবহার করুন (Ctrl/Cmd+C)।', pasteMsg : 'অনুগ্রহ করে নীচের বাক্সে কিবোর্ড ব্যবহার করে (<STRONG>Ctrl/Cmd+V</STRONG>) পেস্ট করুন এবং <STRONG>OK</STRONG> চাপ দিন', securityMsg : '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 pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'পেস্ট (শব্দ)', title : 'পেস্ট (শব্দ)', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'সাদা টেক্সট হিসেবে পেস্ট কর', title : 'সাদা টেক্সট হিসেবে পেস্ট কর' }, templates : { button : 'টেমপ্লেট', title : 'কনটেন্ট টেমপ্লেট', options : 'Template Options', // MISSING insertOption : 'Replace actual contents', // MISSING selectPromptMsg : 'অনুগ্রহ করে এডিটরে ওপেন করার জন্য টেমপ্লেট বাছাই করুন<br>(আসল কনটেন্ট হারিয়ে যাবে):', emptyListMsg : '(কোন টেমপ্লেট ডিফাইন করা নেই)' }, showBlocks : 'Show Blocks', // MISSING stylesCombo : { label : 'স্টাইল', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'ফন্ট ফরমেট', panelTitle : 'ফন্ট ফরমেট', tag_p : 'সাধারণ', tag_pre : 'ফর্মেটেড', tag_address : 'ঠিকানা', tag_h1 : 'শীর্ষক ১', tag_h2 : 'শীর্ষক ২', tag_h3 : 'শীর্ষক ৩', tag_h4 : 'শীর্ষক ৪', tag_h5 : 'শীর্ষক ৫', tag_h6 : 'শীর্ষক ৬', tag_div : 'শীর্ষক (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'ফন্ট', voiceLabel : 'Font', // MISSING panelTitle : 'ফন্ট' }, fontSize : { label : 'সাইজ', voiceLabel : 'Font Size', // MISSING panelTitle : 'সাইজ' }, colorButton : { textColorTitle : 'টেক্স্ট রং', bgColorTitle : 'বেকগ্রাউন্ড রং', panelTitle : 'Colors', // MISSING auto : 'অটোমেটিক', more : 'আরও রং...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'ডক্যুমেন্ট প্রোপার্টি', title : 'ডক্যুমেন্ট প্রোপার্টি', design : 'Design', // MISSING meta : 'মেটাডেটা', chooseColor : 'Choose', // MISSING other : '<other>', docTitle : 'পেজ শীর্ষক', charset : 'ক্যারেক্টার সেট এনকোডিং', charsetOther : 'অন্য ক্যারেক্টার সেট এনকোডিং', charsetASCII : 'ASCII', // MISSING charsetCE : 'Central European', // MISSING charsetCT : 'Chinese Traditional (Big5)', // MISSING charsetCR : 'Cyrillic', // MISSING charsetGR : 'Greek', // MISSING charsetJP : 'Japanese', // MISSING charsetKR : 'Korean', // MISSING charsetTR : 'Turkish', // MISSING charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Western European', // MISSING docType : 'ডক্যুমেন্ট টাইপ হেডিং', docTypeOther : 'অন্য ডক্যুমেন্ট টাইপ হেডিং', xhtmlDec : 'XHTML ডেক্লারেশন যুক্ত কর', bgColor : 'ব্যাকগ্রাউন্ড রং', bgImage : 'ব্যাকগ্রাউন্ড ছবির URL', bgFixed : 'স্ক্রলহীন ব্যাকগ্রাউন্ড', txtColor : 'টেক্স্ট রং', margin : 'পেজ মার্জিন', marginTop : 'উপর', marginLeft : 'বামে', marginRight : 'ডানে', marginBottom : 'নীচে', metaKeywords : 'ডক্যুমেন্ট ইন্ডেক্স কিওয়ার্ড (কমা দ্বারা বিচ্ছিন্ন)', metaDescription : 'ডক্যূমেন্ট বর্ণনা', metaAuthor : 'লেখক', metaCopyright : 'কপীরাইট', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/bn.js
JavaScript
asf20
33,000
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Spanish language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['es'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Editor de texto, %1, pulse ALT 0 para ayuda.', // ARIA descriptions. toolbars : 'Barras de herramientas del editor', editor : 'Editor de texto enriquecido', // Toolbar buttons without dialogs. source : 'Fuente HTML', newPage : 'Nueva Página', save : 'Guardar', preview : 'Vista Previa', cut : 'Cortar', copy : 'Copiar', paste : 'Pegar', print : 'Imprimir', underline : 'Subrayado', bold : 'Negrita', italic : 'Cursiva', selectAll : 'Seleccionar Todo', removeFormat : 'Eliminar Formato', strike : 'Tachado', subscript : 'Subíndice', superscript : 'Superíndice', horizontalrule : 'Insertar Línea Horizontal', pagebreak : 'Insertar Salto de Página', pagebreakAlt : 'Salto de página', unlink : 'Eliminar Vínculo', undo : 'Deshacer', redo : 'Rehacer', // Common messages and labels. common : { browseServer : 'Ver Servidor', url : 'URL', protocol : 'Protocolo', upload : 'Cargar', uploadSubmit : 'Enviar al Servidor', image : 'Imagen', flash : 'Flash', form : 'Formulario', checkbox : 'Casilla de Verificación', radio : 'Botones de Radio', textField : 'Campo de Texto', textarea : 'Area de Texto', hiddenField : 'Campo Oculto', button : 'Botón', select : 'Campo de Selección', imageButton : 'Botón Imagen', notSet : '<No definido>', id : 'Id', name : 'Nombre', langDir : 'Orientación', langDirLtr : 'Izquierda a Derecha (LTR)', langDirRtl : 'Derecha a Izquierda (RTL)', langCode : 'Cód. de idioma', longDescr : 'Descripción larga URL', cssClass : 'Clases de hojas de estilo', advisoryTitle : 'Título', cssStyle : 'Estilo', ok : 'Aceptar', cancel : 'Cancelar', close : 'Cerrar', preview : 'Previsualización', generalTab : 'General', advancedTab : 'Avanzado', validateNumberFailed : 'El valor no es un número.', confirmNewPage : 'Cualquier cambio que no se haya guardado se perderá.\r\n¿Está seguro de querer crear una nueva página?', confirmCancel : 'Algunas de las opciones se han cambiado.\r\n¿Está seguro de querer cerrar el diálogo?', options : 'Opciones', target : 'Destino', targetNew : 'Nueva ventana (_blank)', targetTop : 'Ventana principal (_top)', targetSelf : 'Misma ventana (_self)', targetParent : 'Ventana padre (_parent)', langDirLTR : 'Izquierda a derecha (LTR)', langDirRTL : 'Derecha a izquierda (RTL)', styles : 'Estilos', cssClasses : 'Clase de la hoja de estilos', width : 'Anchura', height : 'Altura', align : 'Alineación', alignLeft : 'Izquierda', alignRight : 'Derecha', alignCenter : 'Centrado', alignTop : 'Tope', alignMiddle : 'Centro', alignBottom : 'Pie', invalidHeight : 'Altura debe ser un número.', invalidWidth : 'Anchura debe ser un número.', invalidCssLength : 'El valor especificado para el campo "%1" debe ser un número positivo, incluyendo optionalmente una unidad de medida CSS válida (px, %, in, cm, mm, em, ex, pt, o pc).', invalidHtmlLength : 'El valor especificado para el campo "%1" debe ser un número positivo, incluyendo optionalmente una unidad de medida HTML válida (px o %).', invalidInlineStyle : 'El valor especificado para el estilo debe consistir en uno o más pares con el formato "nombre: valor", separados por punto y coma.', cssLengthTooltip : 'Introduca un número para el valor en pixels o un número con una unidad de medida CSS válida (px, %, in, cm, mm, em, ex, pt, o pc).', // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, no disponible</span>' }, contextmenu : { options : 'Opciones del menú contextual' }, // Special char dialog. specialChar : { toolbar : 'Insertar Caracter Especial', title : 'Seleccione un caracter especial', options : 'Opciones de caracteres especiales' }, // Link dialog. link : { toolbar : 'Insertar/Editar Vínculo', other : '<otro>', menu : 'Editar Vínculo', title : 'Vínculo', info : 'Información de Vínculo', target : 'Destino', upload : 'Cargar', advanced : 'Avanzado', type : 'Tipo de vínculo', toUrl : 'URL', toAnchor : 'Referencia en esta página', toEmail : 'E-Mail', targetFrame : '<marco>', targetPopup : '<ventana emergente>', targetFrameName : 'Nombre del Marco Destino', targetPopupName : 'Nombre de Ventana Emergente', popupFeatures : 'Características de Ventana Emergente', popupResizable : 'Redimensionable', popupStatusBar : 'Barra de Estado', popupLocationBar: 'Barra de ubicación', popupToolbar : 'Barra de Herramientas', popupMenuBar : 'Barra de Menú', popupFullScreen : 'Pantalla Completa (IE)', popupScrollBars : 'Barras de desplazamiento', popupDependent : 'Dependiente (Netscape)', popupLeft : 'Posición Izquierda', popupTop : 'Posición Derecha', id : 'Id', langDir : 'Orientación', langDirLTR : 'Izquierda a Derecha (LTR)', langDirRTL : 'Derecha a Izquierda (RTL)', acccessKey : 'Tecla de Acceso', name : 'Nombre', langCode : 'Código idioma', tabIndex : 'Indice de tabulación', advisoryTitle : 'Título', advisoryContentType : 'Tipo de Contenido', cssClasses : 'Clases de hojas de estilo', charset : 'Fuente de caracteres vinculado', styles : 'Estilo', rel : 'Relación', selectAnchor : 'Seleccionar una referencia', anchorName : 'Por Nombre de Referencia', anchorId : 'Por ID de elemento', emailAddress : 'Dirección de E-Mail', emailSubject : 'Título del Mensaje', emailBody : 'Cuerpo del Mensaje', noAnchors : '(No hay referencias disponibles en el documento)', noUrl : 'Por favor escriba el vínculo URL', noEmail : 'Por favor escriba la dirección de e-mail' }, // Anchor dialog anchor : { toolbar : 'Referencia', menu : 'Propiedades de Referencia', title : 'Propiedades de Referencia', name : 'Nombre de la Referencia', errorName : 'Por favor, complete el nombre de la Referencia', remove : 'Quitar Referencia' }, // List style dialog list: { numberedTitle : 'Propiedades de lista numerada', bulletedTitle : 'Propiedades de viñetas', type : 'Tipo', start : 'Inicio', validateStartNumber :'El Inicio debe ser un número entero.', circle : 'Círculo', disc : 'Disco', square : 'Cuadrado', none : 'Ninguno', notset : '<sin establecer>', armenian : 'Numeración armenia', georgian : 'Numeración georgiana (an, ban, gan, etc.)', lowerRoman : 'Números romanos en minúsculas (i, ii, iii, iv, v, etc.)', upperRoman : 'Números romanos en mayúsculas (I, II, III, IV, V, etc.)', lowerAlpha : 'Alfabeto en minúsculas (a, b, c, d, e, etc.)', upperAlpha : 'Alfabeto en mayúsculas (A, B, C, D, E, etc.)', lowerGreek : 'Letras griegas (alpha, beta, gamma, etc.)', decimal : 'Decimal (1, 2, 3, etc.)', decimalLeadingZero : 'Decimal con cero inicial (01, 02, 03, etc.)' }, // Find And Replace Dialog findAndReplace : { title : 'Buscar y Reemplazar', find : 'Buscar', replace : 'Reemplazar', findWhat : 'Texto a buscar:', replaceWith : 'Reemplazar con:', notFoundMsg : 'El texto especificado no ha sido encontrado.', findOptions : 'Opciones de búsqueda', matchCase : 'Coincidir may/min', matchWord : 'Coincidir toda la palabra', matchCyclic : 'Buscar en todo el contenido', replaceAll : 'Reemplazar Todo', replaceSuccessMsg : 'La expresión buscada ha sido reemplazada %1 veces.' }, // Table Dialog table : { toolbar : 'Tabla', title : 'Propiedades de Tabla', menu : 'Propiedades de Tabla', deleteTable : 'Eliminar Tabla', rows : 'Filas', columns : 'Columnas', border : 'Tamaño de Borde', widthPx : 'pixeles', widthPc : 'porcentaje', widthUnit : 'unidad de la anchura', cellSpace : 'Esp. e/celdas', cellPad : 'Esp. interior', caption : 'Título', summary : 'Síntesis', headers : 'Encabezados', headersNone : 'Ninguno', headersColumn : 'Primera columna', headersRow : 'Primera fila', headersBoth : 'Ambas', invalidRows : 'El número de filas debe ser un número mayor que 0.', invalidCols : 'El número de columnas debe ser un número mayor que 0.', invalidBorder : 'El tamaño del borde debe ser un número.', invalidWidth : 'La anchura de tabla debe ser un número.', invalidHeight : 'La altura de tabla debe ser un número.', invalidCellSpacing : 'El espaciado entre celdas debe ser un número.', invalidCellPadding : 'El espaciado interior debe ser un número.', cell : { menu : 'Celda', insertBefore : 'Insertar celda a la izquierda', insertAfter : 'Insertar celda a la derecha', deleteCell : 'Eliminar Celdas', merge : 'Combinar Celdas', mergeRight : 'Combinar a la derecha', mergeDown : 'Combinar hacia abajo', splitHorizontal : 'Dividir la celda horizontalmente', splitVertical : 'Dividir la celda verticalmente', title : 'Propiedades de celda', cellType : 'Tipo de Celda', rowSpan : 'Expandir filas', colSpan : 'Expandir columnas', wordWrap : 'Ajustar al contenido', hAlign : 'Alineación Horizontal', vAlign : 'Alineación Vertical', alignBaseline : 'Linea de base', bgColor : 'Color de fondo', borderColor : 'Color de borde', data : 'Datos', header : 'Encabezado', yes : 'Sí', no : 'No', invalidWidth : 'La anchura de celda debe ser un número.', invalidHeight : 'La altura de celda debe ser un número.', invalidRowSpan : 'La expansión de filas debe ser un número entero.', invalidColSpan : 'La expansión de columnas debe ser un número entero.', chooseColor : 'Elegir' }, row : { menu : 'Fila', insertBefore : 'Insertar fila en la parte superior', insertAfter : 'Insertar fila en la parte inferior', deleteRow : 'Eliminar Filas' }, column : { menu : 'Columna', insertBefore : 'Insertar columna a la izquierda', insertAfter : 'Insertar columna a la derecha', deleteColumn : 'Eliminar Columnas' } }, // Button Dialog. button : { title : 'Propiedades de Botón', text : 'Texto (Valor)', type : 'Tipo', typeBtn : 'Boton', typeSbm : 'Enviar', typeRst : 'Reestablecer' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Propiedades de Casilla', radioTitle : 'Propiedades de Botón de Radio', value : 'Valor', selected : 'Seleccionado' }, // Form Dialog. form : { title : 'Propiedades de Formulario', menu : 'Propiedades de Formulario', action : 'Acción', method : 'Método', encoding : 'Codificación' }, // Select Field Dialog. select : { title : 'Propiedades de Campo de Selección', selectInfo : 'Información', opAvail : 'Opciones disponibles', value : 'Valor', size : 'Tamaño', lines : 'Lineas', chkMulti : 'Permitir múltiple selección', opText : 'Texto', opValue : 'Valor', btnAdd : 'Agregar', btnModify : 'Modificar', btnUp : 'Subir', btnDown : 'Bajar', btnSetValue : 'Establecer como predeterminado', btnDelete : 'Eliminar' }, // Textarea Dialog. textarea : { title : 'Propiedades de Area de Texto', cols : 'Columnas', rows : 'Filas' }, // Text Field Dialog. textfield : { title : 'Propiedades de Campo de Texto', name : 'Nombre', value : 'Valor', charWidth : 'Caracteres de ancho', maxChars : 'Máximo caracteres', type : 'Tipo', typeText : 'Texto', typePass : 'Contraseña' }, // Hidden Field Dialog. hidden : { title : 'Propiedades de Campo Oculto', name : 'Nombre', value : 'Valor' }, // Image Dialog. image : { title : 'Propiedades de Imagen', titleButton : 'Propiedades de Botón de Imagen', menu : 'Propiedades de Imagen', infoTab : 'Información de Imagen', btnUpload : 'Enviar al Servidor', upload : 'Cargar', alt : 'Texto Alternativo', lockRatio : 'Proporcional', resetSize : 'Tamaño Original', border : 'Borde', hSpace : 'Esp.Horiz', vSpace : 'Esp.Vert', alertUrl : 'Por favor escriba la URL de la imagen', linkTab : 'Vínculo', button2Img : '¿Desea convertir el botón de imagen en una simple imagen?', img2Button : '¿Desea convertir la imagen en un botón de imagen?', urlMissing : 'Debe indicar la URL de la imagen.', validateBorder : 'El borde debe ser un número.', validateHSpace : 'El espaciado horizontal debe ser un número.', validateVSpace : 'El espaciado vertical debe ser un número.' }, // Flash Dialog flash : { properties : 'Propiedades de Flash', propertiesTab : 'Propiedades', title : 'Propiedades de Flash', chkPlay : 'Autoejecución', chkLoop : 'Repetir', chkMenu : 'Activar Menú Flash', chkFull : 'Permitir pantalla completa', scale : 'Escala', scaleAll : 'Mostrar todo', scaleNoBorder : 'Sin Borde', scaleFit : 'Ajustado', access : 'Acceso de scripts', accessAlways : 'Siempre', accessSameDomain: 'Mismo dominio', accessNever : 'Nunca', alignAbsBottom : 'Abs inferior', alignAbsMiddle : 'Abs centro', alignBaseline : 'Línea de base', alignTextTop : 'Tope del texto', quality : 'Calidad', qualityBest : 'La mejor', qualityHigh : 'Alta', qualityAutoHigh : 'Auto Alta', qualityMedium : 'Media', qualityAutoLow : 'Auto Baja', qualityLow : 'Baja', windowModeWindow: 'Ventana', windowModeOpaque: 'Opaco', windowModeTransparent : 'Transparente', windowMode : 'WindowMode', flashvars : 'Opciones', bgcolor : 'Color de Fondo', hSpace : 'Esp.Horiz', vSpace : 'Esp.Vert', validateSrc : 'Por favor escriba el vínculo URL', validateHSpace : 'Esp.Horiz debe ser un número.', validateVSpace : 'Esp.Vert debe ser un número.' }, // Speller Pages Dialog spellCheck : { toolbar : 'Ortografía', title : 'Comprobar ortografía', notAvailable : 'Lo sentimos pero el servicio no está disponible.', errorLoading : 'Error cargando la aplicación del servidor: %s.', notInDic : 'No se encuentra en el Diccionario', changeTo : 'Cambiar a', btnIgnore : 'Ignorar', btnIgnoreAll : 'Ignorar Todo', btnReplace : 'Reemplazar', btnReplaceAll : 'Reemplazar Todo', btnUndo : 'Deshacer', noSuggestions : '- No hay sugerencias -', progress : 'Control de Ortografía en progreso...', noMispell : 'Control finalizado: no se encontraron errores', noChanges : 'Control finalizado: no se ha cambiado ninguna palabra', oneChange : 'Control finalizado: se ha cambiado una palabra', manyChanges : 'Control finalizado: se ha cambiado %1 palabras', ieSpellDownload : 'Módulo de Control de Ortografía no instalado.\r\n¿Desea descargarlo ahora?' }, smiley : { toolbar : 'Emoticonos', title : 'Insertar un Emoticon', options : 'Opciones de emoticonos' }, elementsPath : { eleLabel : 'Ruta de los elementos', eleTitle : '%1 elemento' }, numberedlist : 'Numeración', bulletedlist : 'Viñetas', indent : 'Aumentar Sangría', outdent : 'Disminuir Sangría', justify : { left : 'Alinear a Izquierda', center : 'Centrar', right : 'Alinear a Derecha', block : 'Justificado' }, blockquote : 'Cita', clipboard : { title : 'Pegar', cutError : 'La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de cortado.\r\nPor favor use el teclado (Ctrl/Cmd+X).', copyError : 'La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de copiado.\r\nPor favor use el teclado (Ctrl/Cmd+C).', pasteMsg : 'Por favor pegue dentro del cuadro utilizando el teclado (<STRONG>Ctrl/Cmd+V</STRONG>);\r\nluego presione <STRONG>Aceptar</STRONG>.', securityMsg : 'Debido a la configuración de seguridad de su navegador, el editor no tiene acceso al portapapeles.\r\nEs necesario que lo pegue de nuevo en esta ventana.', pasteArea : 'Zona de pegado' }, pastefromword : { confirmCleanup : 'El texto que desea parece provenir de Word.\r\n¿Desea depurarlo antes de pegarlo?', toolbar : 'Pegar desde Word', title : 'Pegar desde Word', error : 'No ha sido posible limpiar los datos debido a un error interno' }, pasteText : { button : 'Pegar como Texto Plano', title : 'Pegar como Texto Plano' }, templates : { button : 'Plantillas', title : 'Contenido de Plantillas', options : 'Opciones de plantillas', insertOption : 'Reemplazar el contenido actual', selectPromptMsg : 'Por favor selecciona la plantilla a abrir en el editor<br>(el contenido actual se perderá):', emptyListMsg : '(No hay plantillas definidas)' }, showBlocks : 'Mostrar bloques', stylesCombo : { label : 'Estilo', panelTitle : 'Estilos para formatear', panelTitle1 : 'Estilos de párrafo', panelTitle2 : 'Estilos de carácter', panelTitle3 : 'Estilos de objeto' }, format : { label : 'Formato', panelTitle : 'Formato', tag_p : 'Normal', tag_pre : 'Con formato', tag_address : 'Dirección', tag_h1 : 'Encabezado 1', tag_h2 : 'Encabezado 2', tag_h3 : 'Encabezado 3', tag_h4 : 'Encabezado 4', tag_h5 : 'Encabezado 5', tag_h6 : 'Encabezado 6', tag_div : 'Normal (DIV)' }, div : { title : 'Crear contenedor DIV', toolbar : 'Crear contenedor DIV', cssClassInputLabel : 'Clase de hoja de estilos', styleSelectLabel : 'Estilo', IdInputLabel : 'Id', languageCodeInputLabel : ' Codigo de idioma', inlineStyleInputLabel : 'Estilo', advisoryTitleInputLabel : 'Título', langDirLabel : 'Orientación', langDirLTRLabel : 'Izquierda a Derecha (LTR)', langDirRTLLabel : 'Derecha a Izquierda (RTL)', edit : 'Editar Div', remove : 'Quitar Div' }, iframe : { title : 'Propiedades de iframe', toolbar : 'IFrame', noUrl : 'Por favor, escriba la dirección del iframe', scrolling : 'Activar barras de desplazamiento', border : 'Mostrar borde del marco' }, font : { label : 'Fuente', voiceLabel : 'Fuente', panelTitle : 'Fuente' }, fontSize : { label : 'Tamaño', voiceLabel : 'Tamaño de fuente', panelTitle : 'Tamaño' }, colorButton : { textColorTitle : 'Color de Texto', bgColorTitle : 'Color de Fondo', panelTitle : 'Colores', auto : 'Automático', more : 'Más Colores...' }, colors : { '000' : 'Negro', '800000' : 'Marrón oscuro', '8B4513' : 'Marrón tierra', '2F4F4F' : 'Pizarra Oscuro', '008080' : 'Azul verdoso', '000080' : 'Azul marino', '4B0082' : 'Añil', '696969' : 'Gris oscuro', 'B22222' : 'Ladrillo', 'A52A2A' : 'Marrón', 'DAA520' : 'Oro oscuro', '006400' : 'Verde oscuro', '40E0D0' : 'Turquesa', '0000CD' : 'Azul medio-oscuro', '800080' : 'Púrpura', '808080' : 'Gris', 'F00' : 'Rojo', 'FF8C00' : 'Naranja oscuro', 'FFD700' : 'Oro', '008000' : 'Verde', '0FF' : 'Cian', '00F' : 'Azul', 'EE82EE' : 'Violeta', 'A9A9A9' : 'Gris medio', 'FFA07A' : 'Salmón claro', 'FFA500' : 'Naranja', 'FFFF00' : 'Amarillo', '00FF00' : 'Lima', 'AFEEEE' : 'Turquesa claro', 'ADD8E6' : 'Azul claro', 'DDA0DD' : 'Violeta claro', 'D3D3D3' : 'Gris claro', 'FFF0F5' : 'Lavanda rojizo', 'FAEBD7' : 'Blanco antiguo', 'FFFFE0' : 'Amarillo claro', 'F0FFF0' : 'Miel', 'F0FFFF' : 'Azul celeste', 'F0F8FF' : 'Azul pálido', 'E6E6FA' : 'Lavanda', 'FFF' : 'Blanco' }, scayt : { title : 'Comprobar Ortografía Mientras Escribe', opera_title : 'No soportado en Opera', enable : 'Activar Corrector', disable : 'Desactivar Corrector', about : 'Acerca de Corrector', toggle : 'Cambiar Corrector', options : 'Opciones', langs : 'Idiomas', moreSuggestions : 'Más sugerencias', ignore : 'Ignorar', ignoreAll : 'Ignorar Todas', addWord : 'Añadir palabra', emptyDic : 'El nombre del diccionario no puede estar en blanco.', optionsTab : 'Opciones', allCaps : 'Omitir palabras en MAYÚSCULAS', ignoreDomainNames : 'Omitir nombres de dominio', mixedCase : 'Ignorar palabras con combinación de mayúsculas y minúsculas', mixedWithDigits : 'Omitir palabras con números', languagesTab : 'Idiomas', dictionariesTab : 'Diccionarios', dic_field_name : 'Nombre del diccionario', dic_create : 'Crear', dic_restore : 'Recuperar', dic_delete : 'Borrar', dic_rename : 'Renombrar', dic_info : 'Inicialmente el Diccionario de usuario se guarda en una Cookie. Sin embargo, las cookies están limitadas en tamaño. Cuando el diccionario crece a un punto en el que no se puede guardar en una Cookie, el diccionario puede ser almacenado en nuestro servidor. Para almacenar su diccionario personalizado en nuestro servidor debe especificar un nombre para su diccionario. Si ya ha guardado un diccionaro, por favor, escriba su nombre y pulse el botón Recuperar', aboutTab : 'Acerca de' }, about : { title : 'Acerca de CKEditor', dlgTitle : 'Acerca de CKEditor', help : 'Lea la $1 para resolver sus dudas.', userGuide : 'Guía de usuario de CKEditor', moreInfo : 'Para información de licencia, por favor visite nuestro sitio web:', copy : 'Copyright &copy; $1. Todos los derechos reservados.' }, maximize : 'Maximizar', minimize : 'Minimizar', fakeobjects : { anchor : 'Ancla', flash : 'Animación flash', iframe : 'IFrame', hiddenfield : 'Campo oculto', unknown : 'Objeto desconocido' }, resize : 'Arrastre para redimensionar', colordialog : { title : 'Elegir color', options : 'Opciones de colores', highlight : 'Muestra', selected : 'Elegido', clear : 'Borrar' }, toolbarCollapse : 'Contraer barra de herramientas', toolbarExpand : 'Expandir barra de herramientas', toolbarGroups : { document : 'Documento', clipboard : 'Portapapeles/Deshacer', editing : 'Edición', forms : 'Formularios', basicstyles : 'Estilos básicos', paragraph : 'Párrafo', links : 'Enlaces', insert : 'Insertar', styles : 'Estilos', colors : 'Colores', tools : 'Herramientas' }, bidi : { ltr : 'Dirección del texto de izquierda a derecha', rtl : 'Dirección del texto de derecha a izquierda' }, docprops : { label : 'Propiedades del documento', title : 'Propiedades del documento', design : 'Diseño', meta : 'Meta Tags', chooseColor : 'Elegir', other : 'Otro...', docTitle : 'Título de página', charset : 'Codificación de caracteres', charsetOther : 'Otra codificación de caracteres', charsetASCII : 'ASCII', charsetCE : 'Centro Europeo', charsetCT : 'Chino Tradicional (Big5)', charsetCR : 'Ruso', charsetGR : 'Griego', charsetJP : 'Japonés', charsetKR : 'Koreano', charsetTR : 'Turco', charsetUN : 'Unicode (UTF-8)', charsetWE : 'Europeo occidental', docType : 'Tipo de documento', docTypeOther : 'Otro tipo de documento', xhtmlDec : 'Incluir declaración XHTML', bgColor : 'Color de fondo', bgImage : 'Imagen de fondo', bgFixed : 'Fondo fijo (no se desplaza)', txtColor : 'Color del texto', margin : 'Márgenes', marginTop : 'Superior', marginLeft : 'Izquierdo', marginRight : 'Derecho', marginBottom : 'Inferior', metaKeywords : 'Palabras claves del documento separadas por coma (meta keywords)', metaDescription : 'Descripción del documento', metaAuthor : 'Autor', metaCopyright : 'Copyright', previewHtml : '<p>Este es un <strong>texto de ejemplo</strong>. Usted está usando <a href="javascript:void(0)">CKEditor</a>.</p>' } };
zysms
trunk/zysms/include/ckeditor/_source/lang/es.js
JavaScript
asf20
25,154
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Mongolian language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['mn'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'Код', newPage : 'Шинэ хуудас', save : 'Хадгалах', preview : 'Уридчлан харах', cut : 'Хайчлах', copy : 'Хуулах', paste : 'Буулгах', print : 'Хэвлэх', underline : 'Доогуур нь зураастай болгох', bold : 'Тод бүдүүн', italic : 'Налуу', selectAll : 'Бүгдийг нь сонгох', removeFormat : 'Формат авч хаях', strike : 'Дундуур нь зураастай болгох', subscript : 'Суурь болгох', superscript : 'Зэрэг болгох', horizontalrule : 'Хөндлөн зураас оруулах', pagebreak : 'Хуудас тусгаарлагч оруулах', pagebreakAlt : 'Page Break', // MISSING unlink : 'Линк авч хаях', undo : 'Хүчингүй болгох', redo : 'Өмнөх үйлдлээ сэргээх', // Common messages and labels. common : { browseServer : 'Сервер харуулах', url : 'URL', protocol : 'Протокол', upload : 'Хуулах', uploadSubmit : 'Үүнийг сервэррүү илгээ', image : 'Зураг', flash : 'Флаш', form : 'Форм', checkbox : 'Чекбокс', radio : 'Радио товч', textField : 'Техт талбар', textarea : 'Техт орчин', hiddenField : 'Нууц талбар', button : 'Товч', select : 'Сонгогч талбар', imageButton : 'Зурагтай товч', notSet : '<Оноохгүй>', id : 'Id', name : 'Нэр', langDir : 'Хэлний чиглэл', langDirLtr : 'Зүүнээс баруун (LTR)', langDirRtl : 'Баруунаас зүүн (RTL)', langCode : 'Хэлний код', longDescr : 'URL-ын тайлбар', cssClass : 'Stylesheet классууд', advisoryTitle : 'Зөвлөлдөх гарчиг', cssStyle : 'Загвар', ok : 'OK', cancel : 'Болих', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', // MISSING advancedTab : 'Нэмэлт', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Өргөн', height : 'Өндөр', align : 'Эгнээ', alignLeft : 'Зүүн', alignRight : 'Баруун', alignCenter : 'Төвд', alignTop : 'Дээд талд', alignMiddle : 'Дунд талд', alignBottom : 'Доод талд', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Онцгой тэмдэгт оруулах', title : 'Онцгой тэмдэгт сонгох', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Линк Оруулах/Засварлах', other : '<other>', // MISSING menu : 'Холбоос засварлах', title : 'Линк', info : 'Линкийн мэдээлэл', target : 'Байрлал', upload : 'Хуулах', advanced : 'Нэмэлт', type : 'Линкийн төрөл', toUrl : 'URL', // MISSING toAnchor : 'Энэ хуудасандах холбоос', toEmail : 'E-Mail', targetFrame : '<Агуулах хүрээ>', targetPopup : '<popup цонх>', targetFrameName : 'Очих фремын нэр', targetPopupName : 'Popup цонхны нэр', popupFeatures : 'Popup цонхны онцлог', popupResizable : 'Resizable', // MISSING popupStatusBar : 'Статус хэсэг', popupLocationBar: 'Location хэсэг', popupToolbar : 'Багажны хэсэг', popupMenuBar : 'Meню хэсэг', popupFullScreen : 'Цонх дүүргэх (IE)', popupScrollBars : 'Скрол хэсэгүүд', popupDependent : 'Хамаатай (Netscape)', popupLeft : 'Зүүн байрлал', popupTop : 'Дээд байрлал', id : 'Id', // MISSING langDir : 'Хэлний чиглэл', langDirLTR : 'Зүүнээс баруун (LTR)', langDirRTL : 'Баруунаас зүүн (RTL)', acccessKey : 'Холбох түлхүүр', name : 'Нэр', langCode : 'Хэлний чиглэл', tabIndex : 'Tab индекс', advisoryTitle : 'Зөвлөлдөх гарчиг', advisoryContentType : 'Зөвлөлдөх төрлийн агуулга', cssClasses : 'Stylesheet классууд', charset : 'Тэмдэгт оноох нөөцөд холбогдсон', styles : 'Загвар', rel : 'Relationship', // MISSING selectAnchor : 'Холбоос сонгох', anchorName : 'Холбоосын нэрээр', anchorId : 'Элемэнт Id-гаар', emailAddress : 'E-Mail Хаяг', emailSubject : 'Message гарчиг', emailBody : 'Message-ийн агуулга', noAnchors : '(Баримт бичиг холбоосгүй байна)', noUrl : 'Линк URL-ээ төрөлжүүлнэ үү', noEmail : 'Е-mail хаягаа төрөлжүүлнэ үү' }, // Anchor dialog anchor : { toolbar : 'Холбоос Оруулах/Засварлах', menu : 'Холбоос шинж чанар', title : 'Холбоос шинж чанар', name : 'Холбоос нэр', errorName : 'Холбоос төрөл оруулна уу', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Хай мөн Дарж бич', find : 'Хайх', replace : 'Солих', findWhat : 'Хайх үг/үсэг:', replaceWith : 'Солих үг:', notFoundMsg : 'Хайсан текст олсонгүй.', findOptions : 'Find Options', // MISSING matchCase : 'Тэнцэх төлөв', matchWord : 'Тэнцэх бүтэн үг', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'Бүгдийг нь Солих', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'Хүснэгт', title : 'Хүснэгт', menu : 'Хүснэгт', deleteTable : 'Хүснэгт устгах', rows : 'Мөр', columns : 'Багана', border : 'Хүрээний хэмжээ', widthPx : 'цэг', widthPc : 'хувь', widthUnit : 'width unit', // MISSING cellSpace : 'Нүх хоорондын зай (spacing)', cellPad : 'Нүх доторлох(padding)', caption : 'Тайлбар', summary : 'Тайлбар', headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'Нүх/зай', insertBefore : 'Нүх/зай өмнө нь оруулах', insertAfter : 'Нүх/зай дараа нь оруулах', deleteCell : 'Нүх устгах', merge : 'Нүх нэгтэх', mergeRight : 'Баруун тийш нэгтгэх', mergeDown : 'Доош нэгтгэх', splitHorizontal : 'Нүх/зайг босоогоор нь тусгаарлах', splitVertical : 'Нүх/зайг хөндлөнгөөр нь тусгаарлах', title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'Мөр', insertBefore : 'Мөр өмнө нь оруулах', insertAfter : 'Мөр дараа нь оруулах', deleteRow : 'Мөр устгах' }, column : { menu : 'Багана', insertBefore : 'Багана өмнө нь оруулах', insertAfter : 'Багана дараа нь оруулах', deleteColumn : 'Багана устгах' } }, // Button Dialog. button : { title : 'Товчны шинж чанар', text : 'Тэкст (Утга)', type : 'Төрөл', typeBtn : 'Товч', typeSbm : 'Submit', typeRst : 'Болих' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Чекбоксны шинж чанар', radioTitle : 'Радио товчны шинж чанар', value : 'Утга', selected : 'Сонгогдсон' }, // Form Dialog. form : { title : 'Форм шинж чанар', menu : 'Форм шинж чанар', action : 'Үйлдэл', method : 'Арга', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'Согогч талбарын шинж чанар', selectInfo : 'Мэдээлэл', opAvail : 'Идвэхтэй сонголт', value : 'Утга', size : 'Хэмжээ', lines : 'Мөр', chkMulti : 'Олон сонголт зөвшөөрөх', opText : 'Тэкст', opValue : 'Утга', btnAdd : 'Нэмэх', btnModify : 'Өөрчлөх', btnUp : 'Дээш', btnDown : 'Доош', btnSetValue : 'Сонгогдсан утга оноох', btnDelete : 'Устгах' }, // Textarea Dialog. textarea : { title : 'Текст орчны шинж чанар', cols : 'Багана', rows : 'Мөр' }, // Text Field Dialog. textfield : { title : 'Текст талбарын шинж чанар', name : 'Нэр', value : 'Утга', charWidth : 'Тэмдэгтын өргөн', maxChars : 'Хамгийн их тэмдэгт', type : 'Төрөл', typeText : 'Текст', typePass : 'Нууц үг' }, // Hidden Field Dialog. hidden : { title : 'Нууц талбарын шинж чанар', name : 'Нэр', value : 'Утга' }, // Image Dialog. image : { title : 'Зураг', titleButton : 'Зурган товчны шинж чанар', menu : 'Зураг', infoTab : 'Зурагны мэдээлэл', btnUpload : 'Үүнийг сервэррүү илгээ', upload : 'Хуулах', alt : 'Тайлбар текст', lockRatio : 'Радио түгжих', resetSize : 'хэмжээ дахин оноох', border : 'Хүрээ', hSpace : 'Хөндлөн зай', vSpace : 'Босоо зай', alertUrl : 'Зурагны URL-ын төрлийн сонгоно уу', linkTab : 'Линк', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Флаш шинж чанар', propertiesTab : 'Properties', // MISSING title : 'Флаш шинж чанар', chkPlay : 'Автоматаар тоглох', chkLoop : 'Давтах', chkMenu : 'Флаш цэс идвэхжүүлэх', chkFull : 'Allow Fullscreen', // MISSING scale : 'Өргөгтгөх', scaleAll : 'Бүгдийг харуулах', scaleNoBorder : 'Хүрээгүй', scaleFit : 'Яг тааруулах', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Abs доод талд', alignAbsMiddle : 'Abs Дунд талд', alignBaseline : 'Baseline', alignTextTop : 'Текст дээр', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'Фонны өнгө', hSpace : 'Хөндлөн зай', vSpace : 'Босоо зай', validateSrc : 'Линк URL-ээ төрөлжүүлнэ үү', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'Үгийн дүрэх шалгах', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'Толь бичиггүй', changeTo : 'Өөрчлөх', btnIgnore : 'Зөвшөөрөх', btnIgnoreAll : 'Бүгдийг зөвшөөрөх', btnReplace : 'Дарж бичих', btnReplaceAll : 'Бүгдийг Дарж бичих', btnUndo : 'Буцаах', noSuggestions : '- Тайлбаргүй -', progress : 'Дүрэм шалгаж байгаа үйл явц...', noMispell : 'Дүрэм шалгаад дууссан: Алдаа олдсонгүй', noChanges : 'Дүрэм шалгаад дууссан: үг өөрчлөгдөөгүй', oneChange : 'Дүрэм шалгаад дууссан: 1 үг өөрчлөгдсөн', manyChanges : 'Дүрэм шалгаад дууссан: %1 үг өөрчлөгдсөн', ieSpellDownload : 'Дүрэм шалгагч суугаагүй байна. Татаж авахыг хүсч байна уу?' }, smiley : { toolbar : 'Тодорхойлолт', title : 'Тодорхойлолт оруулах', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'Дугаарлагдсан жагсаалт', bulletedlist : 'Цэгтэй жагсаалт', indent : 'Догол мөр хасах', outdent : 'Догол мөр нэмэх', justify : { left : 'Зүүн талд байрлуулах', center : 'Төвд байрлуулах', right : 'Баруун талд байрлуулах', block : 'Блок хэлбэрээр байрлуулах' }, blockquote : 'Хайрцаглах', clipboard : { title : 'Буулгах', cutError : 'Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хайчлах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl/Cmd+X) товчны хослолыг ашиглана уу.', copyError : 'Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хуулах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl/Cmd+C) товчны хослолыг ашиглана уу.', pasteMsg : '(<strong>Ctrl/Cmd+V</strong>) товчийг ашиглан paste хийнэ үү. Мөн <strong>OK</strong> дар.', securityMsg : 'Таны үзүүлэгч/browser/-н хамгаалалтын тохиргооноос болоод editor clipboard өгөгдөлрүү шууд хандах боломжгүй. Энэ цонход дахин paste хийхийг оролд.', pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Word-оос буулгах', title : 'Word-оос буулгах', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Plain Text-ээс буулгах', title : 'Plain Text-ээс буулгах' }, templates : { button : 'Загварууд', title : 'Загварын агуулга', options : 'Template Options', // MISSING insertOption : 'Одоогийн агууллагыг дарж бичих', selectPromptMsg : 'Загварыг нээж editor-рүү сонгож оруулна уу<br />(Одоогийн агууллагыг устаж магадгүй):', emptyListMsg : '(Загвар тодорхойлогдоогүй байна)' }, showBlocks : 'Block-уудыг үзүүлэх', stylesCombo : { label : 'Загвар', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'Формат', panelTitle : 'Формат', tag_p : 'Хэвийн', tag_pre : 'Formatted', tag_address : 'Хаяг', tag_h1 : 'Heading 1', tag_h2 : 'Heading 2', tag_h3 : 'Heading 3', tag_h4 : 'Heading 4', tag_h5 : 'Heading 5', tag_h6 : 'Heading 6', tag_div : 'Paragraph (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Фонт', voiceLabel : 'Font', // MISSING panelTitle : 'Фонт' }, fontSize : { label : 'Хэмжээ', voiceLabel : 'Font Size', // MISSING panelTitle : 'Хэмжээ' }, colorButton : { textColorTitle : 'Фонтны өнгө', bgColorTitle : 'Фонны өнгө', panelTitle : 'Colors', // MISSING auto : 'Автоматаар', more : 'Нэмэлт өнгөнүүд...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Баримт бичиг шинж чанар', title : 'Баримт бичиг шинж чанар', design : 'Design', // MISSING meta : 'Meta өгөгдөл', chooseColor : 'Choose', // MISSING other : '<other>', docTitle : 'Хуудасны гарчиг', charset : 'Encoding тэмдэгт', charsetOther : 'Encoding-д өөр тэмдэгт оноох', charsetASCII : 'ASCII', // MISSING charsetCE : 'Төв европ', charsetCT : 'Хятадын уламжлалт (Big5)', charsetCR : 'Крил', charsetGR : 'Гред', charsetJP : 'Япон', charsetKR : 'Солонгос', charsetTR : 'Tурк', charsetUN : 'Юникод (UTF-8)', charsetWE : 'Баруун европ', docType : 'Баримт бичгийн төрөл Heading', docTypeOther : 'Бусад баримт бичгийн төрөл Heading', xhtmlDec : 'XHTML агуулж зарлах', bgColor : 'Фоно өнгө', bgImage : 'Фоно зурагны URL', bgFixed : 'Гүйдэггүй фоно', txtColor : 'Фонтны өнгө', margin : 'Хуудасны захын зай', marginTop : 'Дээд тал', marginLeft : 'Зүүн тал', marginRight : 'Баруун тал', marginBottom : 'Доод тал', metaKeywords : 'Баримт бичгийн индекс түлхүүр үг (таслалаар тусгаарлагдана)', metaDescription : 'Баримт бичгийн тайлбар', metaAuthor : 'Зохиогч', metaCopyright : 'Зохиогчийн эрх', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/mn.js
JavaScript
asf20
29,952
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object for the * Finnish language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['fi'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rikastekstieditori, %1, paina ALT 0 nähdäksesi ohjeen.', // ARIA descriptions. toolbars : 'Editorin työkalupalkit', editor : 'Rikastekstieditori', // Toolbar buttons without dialogs. source : 'Koodi', newPage : 'Tyhjennä', save : 'Tallenna', preview : 'Esikatsele', cut : 'Leikkaa', copy : 'Kopioi', paste : 'Liitä', print : 'Tulosta', underline : 'Alleviivattu', bold : 'Lihavoitu', italic : 'Kursivoitu', selectAll : 'Valitse kaikki', removeFormat : 'Poista muotoilu', strike : 'Yliviivattu', subscript : 'Alaindeksi', superscript : 'Yläindeksi', horizontalrule : 'Lisää murtoviiva', pagebreak : 'Lisää sivunvaihto', pagebreakAlt : 'Sivunvaihto', unlink : 'Poista linkki', undo : 'Kumoa', redo : 'Toista', // Common messages and labels. common : { browseServer : 'Selaa palvelinta', url : 'Osoite', protocol : 'Protokolla', upload : 'Lisää tiedosto', uploadSubmit : 'Lähetä palvelimelle', image : 'Kuva', flash : 'Flash-animaatio', form : 'Lomake', checkbox : 'Valintaruutu', radio : 'Radiopainike', textField : 'Tekstikenttä', textarea : 'Tekstilaatikko', hiddenField : 'Piilokenttä', button : 'Painike', select : 'Valintakenttä', imageButton : 'Kuvapainike', notSet : '<ei asetettu>', id : 'Tunniste', name : 'Nimi', langDir : 'Kielen suunta', langDirLtr : 'Vasemmalta oikealle (LTR)', langDirRtl : 'Oikealta vasemmalle (RTL)', langCode : 'Kielikoodi', longDescr : 'Pitkän kuvauksen URL', cssClass : 'Tyyliluokat', advisoryTitle : 'Avustava otsikko', cssStyle : 'Tyyli', ok : 'OK', cancel : 'Peruuta', close : 'Sulje', preview : 'Esikatselu', generalTab : 'Yleinen', advancedTab : 'Lisäominaisuudet', validateNumberFailed : 'Arvon pitää olla numero.', confirmNewPage : 'Kaikki tallentamattomat muutokset tähän sisältöön menetetään. Oletko varma, että haluat ladata uuden sivun?', confirmCancel : 'Jotkut asetuksista on muuttuneet. Oletko varma, että haluat sulkea valintaikkunan?', options : 'Asetukset', target : 'Kohde', targetNew : 'Uusi ikkuna (_blank)', targetTop : 'Päällimmäinen ikkuna (_top)', targetSelf : 'Sama ikkuna (_self)', targetParent : 'Ylemmän tason ikkuna (_parent)', langDirLTR : 'Vasemmalta oikealle (LTR)', langDirRTL : 'Oikealta vasemmalle (RTL)', styles : 'Tyyli', cssClasses : 'Tyylitiedoston luokat', width : 'Leveys', height : 'Korkeus', align : 'Kohdistus', alignLeft : 'Vasemmalle', alignRight : 'Oikealle', alignCenter : 'Keskelle', alignTop : 'Ylös', alignMiddle : 'Keskelle', alignBottom : 'Alas', invalidHeight : 'Korkeuden täytyy olla numero.', invalidWidth : 'Leveyden täytyy olla numero.', invalidCssLength : 'Kentän "%1" arvon täytyy olla positiivinen luku CSS mittayksikön (px, %, in, cm, mm, em, ex, pt tai pc) kanssa tai ilman.', invalidHtmlLength : 'Kentän "%1" arvon täytyy olla positiivinen luku HTML mittayksikön (px tai %) kanssa tai ilman.', invalidInlineStyle : 'Tyylille annetun arvon täytyy koostua yhdestä tai useammasta "nimi : arvo" parista, jotka ovat eroteltuna toisistaan puolipisteillä.', cssLengthTooltip : 'Anna numeroarvo pikseleinä tai numeroarvo CSS mittayksikön kanssa (px, %, in, cm, mm, em, ex, pt, tai pc).', // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, ei saatavissa</span>' }, contextmenu : { options : 'Pikavalikon ominaisuudet' }, // Special char dialog. specialChar : { toolbar : 'Lisää erikoismerkki', title : 'Valitse erikoismerkki', options : 'Erikoismerkin ominaisuudet' }, // Link dialog. link : { toolbar : 'Lisää linkki/muokkaa linkkiä', other : '<muu>', menu : 'Muokkaa linkkiä', title : 'Linkki', info : 'Linkin tiedot', target : 'Kohde', upload : 'Lisää tiedosto', advanced : 'Lisäominaisuudet', type : 'Linkkityyppi', toUrl : 'Osoite', toAnchor : 'Ankkuri tässä sivussa', toEmail : 'Sähköposti', targetFrame : '<kehys>', targetPopup : '<popup ikkuna>', targetFrameName : 'Kohdekehyksen nimi', targetPopupName : 'Popup ikkunan nimi', popupFeatures : 'Popup ikkunan ominaisuudet', popupResizable : 'Venytettävä', popupStatusBar : 'Tilarivi', popupLocationBar: 'Osoiterivi', popupToolbar : 'Vakiopainikkeet', popupMenuBar : 'Valikkorivi', popupFullScreen : 'Täysi ikkuna (IE)', popupScrollBars : 'Vierityspalkit', popupDependent : 'Riippuva (Netscape)', popupLeft : 'Vasemmalta (px)', popupTop : 'Ylhäältä (px)', id : 'Tunniste', langDir : 'Kielen suunta', langDirLTR : 'Vasemmalta oikealle (LTR)', langDirRTL : 'Oikealta vasemmalle (RTL)', acccessKey : 'Pikanäppäin', name : 'Nimi', langCode : 'Kielen suunta', tabIndex : 'Tabulaattori indeksi', advisoryTitle : 'Avustava otsikko', advisoryContentType : 'Avustava sisällön tyyppi', cssClasses : 'Tyyliluokat', charset : 'Linkitetty kirjaimisto', styles : 'Tyyli', rel : 'Suhde', selectAnchor : 'Valitse ankkuri', anchorName : 'Ankkurin nimen mukaan', anchorId : 'Ankkurin ID:n mukaan', emailAddress : 'Sähköpostiosoite', emailSubject : 'Aihe', emailBody : 'Viesti', noAnchors : '(Ei ankkureita tässä dokumentissa)', noUrl : 'Linkille on kirjoitettava URL', noEmail : 'Kirjoita sähköpostiosoite' }, // Anchor dialog anchor : { toolbar : 'Lisää ankkuri/muokkaa ankkuria', menu : 'Ankkurin ominaisuudet', title : 'Ankkurin ominaisuudet', name : 'Nimi', errorName : 'Ankkurille on kirjoitettava nimi', remove : 'Poista ankkuri' }, // List style dialog list: { numberedTitle : 'Numeroidun listan ominaisuudet', bulletedTitle : 'Numeroimattoman listan ominaisuudet', type : 'Tyyppi', start : 'Alku', validateStartNumber :'Listan ensimmäisen numeron tulee olla kokonaisluku.', circle : 'Ympyrä', disc : 'Levy', square : 'Neliö', none : 'Ei mikään', notset : '<ei asetettu>', armenian : 'Armeenialainen numerointi', georgian : 'Georgialainen numerointi (an, ban, gan, etc.)', lowerRoman : 'Pienet roomalaiset (i, ii, iii, iv, v, jne.)', upperRoman : 'Isot roomalaiset (I, II, III, IV, V, jne.)', lowerAlpha : 'Pienet aakkoset (a, b, c, d, e, jne.)', upperAlpha : 'Isot aakkoset (A, B, C, D, E, jne.)', lowerGreek : 'Pienet kreikkalaiset (alpha, beta, gamma, jne.)', decimal : 'Desimaalit (1, 2, 3, jne.)', decimalLeadingZero : 'Desimaalit, alussa nolla (01, 02, 03, jne.)' }, // Find And Replace Dialog findAndReplace : { title : 'Etsi ja korvaa', find : 'Etsi', replace : 'Korvaa', findWhat : 'Etsi mitä:', replaceWith : 'Korvaa tällä:', notFoundMsg : 'Etsittyä tekstiä ei löytynyt.', findOptions : 'Hakuasetukset', matchCase : 'Sama kirjainkoko', matchWord : 'Koko sana', matchCyclic : 'Kierrä ympäri', replaceAll : 'Korvaa kaikki', replaceSuccessMsg : '%1 esiintymä(ä) korvattu.' }, // Table Dialog table : { toolbar : 'Taulu', title : 'Taulun ominaisuudet', menu : 'Taulun ominaisuudet', deleteTable : 'Poista taulu', rows : 'Rivit', columns : 'Sarakkeet', border : 'Rajan paksuus', widthPx : 'pikseliä', widthPc : 'prosenttia', widthUnit : 'leveysyksikkö', cellSpace : 'Solujen väli', cellPad : 'Solujen sisennys', caption : 'Otsikko', summary : 'Yhteenveto', headers : 'Ylätunnisteet', headersNone : 'Ei', headersColumn : 'Ensimmäinen sarake', headersRow : 'Ensimmäinen rivi', headersBoth : 'Molemmat', invalidRows : 'Rivien määrän täytyy olla suurempi kuin 0.', invalidCols : 'Sarakkeiden määrän täytyy olla suurempi kuin 0.', invalidBorder : 'Reunan koon täytyy olla numero.', invalidWidth : 'Taulun leveyden täytyy olla numero.', invalidHeight : 'Taulun korkeuden täytyy olla numero.', invalidCellSpacing : 'Solujen välin täytyy olla numero.', invalidCellPadding : 'Solujen sisennyksen täytyy olla numero.', cell : { menu : 'Solu', insertBefore : 'Lisää solu eteen', insertAfter : 'Lisää solu perään', deleteCell : 'Poista solut', merge : 'Yhdistä solut', mergeRight : 'Yhdistä oikealla olevan kanssa', mergeDown : 'Yhdistä alla olevan kanssa', splitHorizontal : 'Jaa solu vaakasuunnassa', splitVertical : 'Jaa solu pystysuunnassa', title : 'Solun ominaisuudet', cellType : 'Solun tyyppi', rowSpan : 'Rivin jatkuvuus', colSpan : 'Solun jatkuvuus', wordWrap : 'Rivitys', hAlign : 'Horisontaali kohdistus', vAlign : 'Vertikaali kohdistus', alignBaseline : 'Alas (teksti)', bgColor : 'Taustan väri', borderColor : 'Reunan väri', data : 'Data', header : 'Ylätunniste', yes : 'Kyllä', no : 'Ei', invalidWidth : 'Solun leveyden täytyy olla numero.', invalidHeight : 'Solun korkeuden täytyy olla numero.', invalidRowSpan : 'Rivin jatkuvuuden täytyy olla kokonaisluku.', invalidColSpan : 'Solun jatkuvuuden täytyy olla kokonaisluku.', chooseColor : 'Valitse' }, row : { menu : 'Rivi', insertBefore : 'Lisää rivi yläpuolelle', insertAfter : 'Lisää rivi alapuolelle', deleteRow : 'Poista rivit' }, column : { menu : 'Sarake', insertBefore : 'Lisää sarake vasemmalle', insertAfter : 'Lisää sarake oikealle', deleteColumn : 'Poista sarakkeet' } }, // Button Dialog. button : { title : 'Painikkeen ominaisuudet', text : 'Teksti (arvo)', type : 'Tyyppi', typeBtn : 'Painike', typeSbm : 'Lähetä', typeRst : 'Tyhjennä' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Valintaruudun ominaisuudet', radioTitle : 'Radiopainikkeen ominaisuudet', value : 'Arvo', selected : 'Valittu' }, // Form Dialog. form : { title : 'Lomakkeen ominaisuudet', menu : 'Lomakkeen ominaisuudet', action : 'Toiminto', method : 'Tapa', encoding : 'Enkoodaus' }, // Select Field Dialog. select : { title : 'Valintakentän ominaisuudet', selectInfo : 'Info', opAvail : 'Ominaisuudet', value : 'Arvo', size : 'Koko', lines : 'Rivit', chkMulti : 'Salli usea valinta', opText : 'Teksti', opValue : 'Arvo', btnAdd : 'Lisää', btnModify : 'Muuta', btnUp : 'Ylös', btnDown : 'Alas', btnSetValue : 'Aseta valituksi', btnDelete : 'Poista' }, // Textarea Dialog. textarea : { title : 'Tekstilaatikon ominaisuudet', cols : 'Sarakkeita', rows : 'Rivejä' }, // Text Field Dialog. textfield : { title : 'Tekstikentän ominaisuudet', name : 'Nimi', value : 'Arvo', charWidth : 'Leveys', maxChars : 'Maksimi merkkimäärä', type : 'Tyyppi', typeText : 'Teksti', typePass : 'Salasana' }, // Hidden Field Dialog. hidden : { title : 'Piilokentän ominaisuudet', name : 'Nimi', value : 'Arvo' }, // Image Dialog. image : { title : 'Kuvan ominaisuudet', titleButton : 'Kuvapainikkeen ominaisuudet', menu : 'Kuvan ominaisuudet', infoTab : 'Kuvan tiedot', btnUpload : 'Lähetä palvelimelle', upload : 'Lisää kuva', alt : 'Vaihtoehtoinen teksti', lockRatio : 'Lukitse suhteet', resetSize : 'Alkuperäinen koko', border : 'Kehys', hSpace : 'Vaakatila', vSpace : 'Pystytila', alertUrl : 'Kirjoita kuvan osoite (URL)', linkTab : 'Linkki', button2Img : 'Haluatko muuntaa valitun kuvanäppäimen kuvaksi?', img2Button : 'Haluatko muuntaa valitun kuvan kuvanäppäimeksi?', urlMissing : 'Kuvan lähdeosoite puuttuu.', validateBorder : 'Kehyksen täytyy olla kokonaisluku.', validateHSpace : 'HSpace-määrityksen täytyy olla kokonaisluku.', validateVSpace : 'VSpace-määrityksen täytyy olla kokonaisluku.' }, // Flash Dialog flash : { properties : 'Flash-ominaisuudet', propertiesTab : 'Ominaisuudet', title : 'Flash ominaisuudet', chkPlay : 'Automaattinen käynnistys', chkLoop : 'Toisto', chkMenu : 'Näytä Flash-valikko', chkFull : 'Salli kokoruututila', scale : 'Levitä', scaleAll : 'Näytä kaikki', scaleNoBorder : 'Ei rajaa', scaleFit : 'Tarkka koko', access : 'Skriptien pääsy', accessAlways : 'Aina', accessSameDomain: 'Sama verkkotunnus', accessNever : 'Ei koskaan', alignAbsBottom : 'Aivan alas', alignAbsMiddle : 'Aivan keskelle', alignBaseline : 'Alas (teksti)', alignTextTop : 'Ylös (teksti)', quality : 'Laatu', qualityBest : 'Paras', qualityHigh : 'Korkea', qualityAutoHigh : 'Automaattinen korkea', qualityMedium : 'Keskitaso', qualityAutoLow : 'Automaattinen matala', qualityLow : 'Matala', windowModeWindow: 'Ikkuna', windowModeOpaque: 'Läpinäkyvyys', windowModeTransparent : 'Läpinäkyvä', windowMode : 'Ikkuna tila', flashvars : 'Muuttujat Flash:lle', bgcolor : 'Taustaväri', hSpace : 'Vaakatila', vSpace : 'Pystytila', validateSrc : 'Linkille on kirjoitettava URL', validateHSpace : 'Vaakatilan täytyy olla numero.', validateVSpace : 'Pystytilan täytyy olla numero.' }, // Speller Pages Dialog spellCheck : { toolbar : 'Tarkista oikeinkirjoitus', title : 'Oikoluku', notAvailable : 'Valitettavasti oikoluku ei ole käytössä tällä hetkellä.', errorLoading : 'Virhe ladattaessa oikolukupalvelua isännältä: %s.', notInDic : 'Ei sanakirjassa', changeTo : 'Vaihda', btnIgnore : 'Jätä huomioimatta', btnIgnoreAll : 'Jätä kaikki huomioimatta', btnReplace : 'Korvaa', btnReplaceAll : 'Korvaa kaikki', btnUndo : 'Kumoa', noSuggestions : 'Ei ehdotuksia', progress : 'Tarkistus käynnissä...', noMispell : 'Tarkistus valmis: Ei virheitä', noChanges : 'Tarkistus valmis: Yhtään sanaa ei muutettu', oneChange : 'Tarkistus valmis: Yksi sana muutettiin', manyChanges : 'Tarkistus valmis: %1 sanaa muutettiin', ieSpellDownload : 'Oikeinkirjoituksen tarkistusta ei ole asennettu. Haluatko ladata sen nyt?' }, smiley : { toolbar : 'Hymiö', title : 'Lisää hymiö', options : 'Hymiön ominaisuudet' }, elementsPath : { eleLabel : 'Elementin polku', eleTitle : '%1 elementti' }, numberedlist : 'Numerointi', bulletedlist : 'Luottelomerkit', indent : 'Suurenna sisennystä', outdent : 'Pienennä sisennystä', justify : { left : 'Tasaa vasemmat reunat', center : 'Keskitä', right : 'Tasaa oikeat reunat', block : 'Tasaa molemmat reunat' }, blockquote : 'Lainaus', clipboard : { title : 'Liitä', cutError : 'Selaimesi turva-asetukset eivät salli editorin toteuttaa leikkaamista. Käytä näppäimistöä leikkaamiseen (Ctrl+X).', copyError : 'Selaimesi turva-asetukset eivät salli editorin toteuttaa kopioimista. Käytä näppäimistöä kopioimiseen (Ctrl+C).', pasteMsg : 'Liitä painamalla (<STRONG>Ctrl+V</STRONG>) ja painamalla <STRONG>OK</STRONG>.', securityMsg : 'Selaimesi turva-asetukset eivät salli editorin käyttää leikepöytää suoraan. Sinun pitää suorittaa liittäminen tässä ikkunassa.', pasteArea : 'Leikealue' }, pastefromword : { confirmCleanup : 'Liittämäsi teksti näyttäisi olevan Word-dokumentista. Haluatko siivota sen ennen liittämistä? (Suositus: Kyllä)', toolbar : 'Liitä Word-dokumentista', title : 'Liitä Word-dokumentista', error : 'Liitetyn tiedon siivoaminen ei onnistunut sisäisen virheen takia' }, pasteText : { button : 'Liitä tekstinä', title : 'Liitä tekstinä' }, templates : { button : 'Pohjat', title : 'Sisältöpohjat', options : 'Sisältöpohjan ominaisuudet', insertOption : 'Korvaa editorin koko sisältö', selectPromptMsg : 'Valitse pohja editoriin<br>(aiempi sisältö menetetään):', emptyListMsg : '(Ei määriteltyjä pohjia)' }, showBlocks : 'Näytä elementit', stylesCombo : { label : 'Tyyli', panelTitle : 'Muotoilujen tyylit', panelTitle1 : 'Lohkojen tyylit', panelTitle2 : 'Rivinsisäiset tyylit', panelTitle3 : 'Objektien tyylit' }, format : { label : 'Muotoilu', panelTitle : 'Muotoilu', tag_p : 'Normaali', tag_pre : 'Muotoiltu', tag_address : 'Osoite', tag_h1 : 'Otsikko 1', tag_h2 : 'Otsikko 2', tag_h3 : 'Otsikko 3', tag_h4 : 'Otsikko 4', tag_h5 : 'Otsikko 5', tag_h6 : 'Otsikko 6', tag_div : 'Normaali (DIV)' }, div : { title : 'Luo div-kehikko', toolbar : 'Luo div-kehikko', cssClassInputLabel : 'Tyylitiedoston luokat', styleSelectLabel : 'Tyyli', IdInputLabel : 'Id', languageCodeInputLabel : ' Kielen koodi', inlineStyleInputLabel : 'Sisätyyli', advisoryTitleInputLabel : 'Ohjeistava otsikko', langDirLabel : 'Kielen suunta', langDirLTRLabel : 'Vasemmalta oikealle (LTR)', langDirRTLLabel : 'Oikealta vasemmalle (RTL)', edit : 'Muokkaa Diviä', remove : 'Poista Div' }, iframe : { title : 'IFrame-kehyksen ominaisuudet', toolbar : 'IFrame-kehys', noUrl : 'Anna IFrame-kehykselle lähdeosoite (src)', scrolling : 'Näytä vierityspalkit', border : 'Näytä kehyksen reunat' }, font : { label : 'Kirjaisinlaji', voiceLabel : 'Kirjaisinlaji', panelTitle : 'Kirjaisinlaji' }, fontSize : { label : 'Koko', voiceLabel : 'Kirjaisimen koko', panelTitle : 'Koko' }, colorButton : { textColorTitle : 'Tekstiväri', bgColorTitle : 'Taustaväri', panelTitle : 'Värit', auto : 'Automaattinen', more : 'Lisää värejä...' }, colors : { '000' : 'Musta', '800000' : 'Kastanjanruskea', '8B4513' : 'Satulanruskea', '2F4F4F' : 'Tumma liuskekivenharmaa', '008080' : 'Sinivihreä', '000080' : 'Laivastonsininen', '4B0082' : 'Indigonsininen', '696969' : 'Tummanharmaa', 'B22222' : 'Tiili', 'A52A2A' : 'Ruskea', 'DAA520' : 'Kultapiisku', '006400' : 'Tummanvihreä', '40E0D0' : 'Turkoosi', '0000CD' : 'Keskisininen', '800080' : 'Purppura', '808080' : 'Harmaa', 'F00' : 'Punainen', 'FF8C00' : 'Tumma oranssi', 'FFD700' : 'Kulta', '008000' : 'Vihreä', '0FF' : 'Syaani', '00F' : 'Sininen', 'EE82EE' : 'Violetti', 'A9A9A9' : 'Tummanharmaa', 'FFA07A' : 'Vaaleanlohenpunainen', 'FFA500' : 'Oranssi', 'FFFF00' : 'Keltainen', '00FF00' : 'Limetin vihreä', 'AFEEEE' : 'Haalea turkoosi', 'ADD8E6' : 'Vaaleansininen', 'DDA0DD' : 'Luumu', 'D3D3D3' : 'Vaaleanharmaa', 'FFF0F5' : 'Laventelinpunainen', 'FAEBD7' : 'Antiikinvalkoinen', 'FFFFE0' : 'Vaaleankeltainen', 'F0FFF0' : 'Hunajameloni', 'F0FFFF' : 'Asurinsininen', 'F0F8FF' : 'Alice Blue -sininen', 'E6E6FA' : 'Lavanteli', 'FFF' : 'Valkoinen' }, scayt : { title : 'Oikolue kirjoitettaessa', opera_title : 'Opera ei tue tätä ominaisuutta', enable : 'Ota käyttöön oikoluku kirjoitettaessa', disable : 'Poista käytöstä oikoluku kirjoitetaessa', about : 'Tietoja oikoluvusta kirjoitetaessa', toggle : 'Vaihda oikoluku kirjoittaessa tilaa', options : 'Asetukset', langs : 'Kielet', moreSuggestions : 'Lisää ehdotuksia', ignore : 'Ohita', ignoreAll : 'Ohita kaikki', addWord : 'Lisää sana', emptyDic : 'Sanakirjan nimi on annettava.', optionsTab : 'Asetukset', allCaps : 'Ohita sanat, jotka on kirjoitettu kokonaan isoilla kirjaimilla', ignoreDomainNames : 'Ohita verkkotunnukset', mixedCase : 'Ohita sanat, joissa on sekoitettu isoja ja pieniä kirjaimia', mixedWithDigits : 'Ohita sanat, joissa on numeroita', languagesTab : 'Kielet', dictionariesTab : 'Sanakirjat', dic_field_name : 'Sanakirjan nimi', dic_create : 'Luo', dic_restore : 'Palauta', dic_delete : 'Poista', dic_rename : 'Nimeä uudelleen', dic_info : 'Oletuksena sanakirjat tallennetaan evästeeseen, mutta evästeiden koko on kuitenkin rajallinen. Sanakirjan kasvaessa niin suureksi, ettei se enää mahdu evästeeseen, sanakirja täytyy tallentaa palvelimellemme. Tallentaaksesi sanakirjasi palvelimellemme tulee sinun antaa sille nimi. Jos olet jo tallentanut sanakirjan, anna sen nimi ja klikkaa Palauta-painiketta', aboutTab : 'Tietoa' }, about : { title : 'Tietoa CKEditorista', dlgTitle : 'Tietoa CKEditorista', help : 'Katso ohjeet: $1.', userGuide : 'CKEditorin käyttäjäopas', moreInfo : 'Lisenssitiedot löytyvät kotisivuiltamme:', copy : 'Copyright &copy; $1. Kaikki oikeuden pidätetään.' }, maximize : 'Suurenna', minimize : 'Pienennä', fakeobjects : { anchor : 'Ankkuri', flash : 'Flash animaatio', iframe : 'IFrame-kehys', hiddenfield : 'Piilokenttä', unknown : 'Tuntematon objekti' }, resize : 'Raahaa muuttaaksesi kokoa', colordialog : { title : 'Valitse väri', options : 'Värin ominaisuudet', highlight : 'Korostus', selected : 'Valittu', clear : 'Poista' }, toolbarCollapse : 'Kutista työkalupalkki', toolbarExpand : 'Laajenna työkalupalkki', toolbarGroups : { document : 'Dokumentti', clipboard : 'Leikepöytä/Kumoa', editing : 'Muokkaus', forms : 'Lomakkeet', basicstyles : 'Perustyylit', paragraph : 'Kappale', links : 'Linkit', insert : 'Lisää', styles : 'Tyylit', colors : 'Värit', tools : 'Työkalut' }, bidi : { ltr : 'Tekstin suunta vasemmalta oikealle', rtl : 'Tekstin suunta oikealta vasemmalle' }, docprops : { label : 'Dokumentin ominaisuudet', title : 'Dokumentin ominaisuudet', design : 'Sommittelu', meta : 'Metatieto', chooseColor : 'Valitse', other : '<muu>', docTitle : 'Sivun nimi', charset : 'Merkistökoodaus', charsetOther : 'Muu merkistökoodaus', charsetASCII : 'ASCII', charsetCE : 'Keskieurooppalainen', charsetCT : 'Kiina, perinteinen (Big5)', charsetCR : 'Kyrillinen', charsetGR : 'Kreikka', charsetJP : 'Japani', charsetKR : 'Korealainen', charsetTR : 'Turkkilainen', charsetUN : 'Unicode (UTF-8)', charsetWE : 'Länsieurooppalainen', docType : 'Dokumentin tyyppi', docTypeOther : 'Muu dokumentin tyyppi', xhtmlDec : 'Lisää XHTML julistukset', bgColor : 'Taustaväri', bgImage : 'Taustakuva', bgFixed : 'Paikallaanpysyvä tausta', txtColor : 'Tekstiväri', margin : 'Sivun marginaalit', marginTop : 'Ylä', marginLeft : 'Vasen', marginRight : 'Oikea', marginBottom : 'Ala', metaKeywords : 'Hakusanat (pilkulla erotettuna)', metaDescription : 'Kuvaus', metaAuthor : 'Tekijä', metaCopyright : 'Tekijänoikeudet', previewHtml : '<p>Tämä on <strong>esimerkkitekstiä</strong>. Käytät juuri <a href="javascript:void(0)">CKEditoria</a>.</p>' } };
zysms
trunk/zysms/include/ckeditor/_source/lang/fi.js
JavaScript
asf20
24,250
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Welsh language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['cy'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Golygydd testun cyfoethog, %1, gwasgwch ALT 0 am gymorth.', // ARIA descriptions. toolbars : 'Bariau offer golygydd', editor : 'Golygydd Testun Cyfoethog', // Toolbar buttons without dialogs. source : 'Tarddle', newPage : 'Tudalen newydd', save : 'Cadw', preview : 'Rhagolwg', cut : 'Torri', copy : 'Copïo', paste : 'Gludo', print : 'Argraffu', underline : 'Tanlinellu', bold : 'Bras', italic : 'Italig', selectAll : 'Dewis Popeth', removeFormat : 'Tynnu Fformat', strike : 'Llinell Trwyddo', subscript : 'Is-sgript', superscript : 'Uwchsgript', horizontalrule : 'Mewnosod Llinell Lorweddol', pagebreak : 'Mewnosod Toriad Tudalen i Argraffu', pagebreakAlt : 'Toriad Tudalen', unlink : 'Datgysylltu', undo : 'Dadwneud', redo : 'Ailadrodd', // Common messages and labels. common : { browseServer : 'Pori\'r Gweinydd', url : 'URL', protocol : 'Protocol', upload : 'Lanlwytho', uploadSubmit : 'Anfon i\'r Gweinydd', image : 'Delwedd', flash : 'Flash', form : 'Ffurflen', checkbox : 'Blwch ticio', radio : 'Botwm Radio', textField : 'Maes Testun', textarea : 'Ardal Testun', hiddenField : 'Maes Cudd', button : 'Botwm', select : 'Maes Dewis', imageButton : 'Botwm Delwedd', notSet : '<heb osod>', id : 'Id', name : 'Name', langDir : 'Cyfeiriad Iaith', langDirLtr : 'Chwith i\'r Dde (LTR)', langDirRtl : 'Dde i\'r Chwith (RTL)', langCode : 'Cod Iaith', longDescr : 'URL Disgrifiad Hir', cssClass : 'Dosbarth Dalen Arddull', advisoryTitle : 'Teitl Cynghorol', cssStyle : 'Arddull', ok : 'Iawn', cancel : 'Diddymu', close : 'Cau', preview : 'Rhagolwg', generalTab : 'Cyffredinol', advancedTab : 'Uwch', validateNumberFailed : 'Nid yw\'r gwerth hwn yn rhif.', confirmNewPage : 'Byddwch yn colli unrhyw newidiadau i\'r cynnwys sydd heb eu cadw. A ydych am barhau i lwytho tudalen newydd?', confirmCancel : 'Mae rhai o\'r opsiynau wedi\'u newid. A ydych wir am gau\'r deialog?', options : 'Opsiynau', target : 'Targed', targetNew : 'Ffenest Newydd (_blank)', targetTop : 'Ffenest ar y Brig (_top)', targetSelf : 'Yr un Ffenest (_self)', targetParent : 'Ffenest y Rhiant (_parent)', langDirLTR : 'Chwith i\'r Dde (LTR)', langDirRTL : 'Dde i\'r Chwith (RTL)', styles : 'Arddull', cssClasses : 'Dosbarthiadau Ffeil Ddiwyg', width : 'Lled', height : 'Uchder', align : 'Alinio', alignLeft : 'Chwith', alignRight : 'Dde', alignCenter : 'Canol', alignTop : 'Brig', alignMiddle : 'Canol', alignBottom : 'Gwaelod', invalidHeight : 'Rhaid i\'r Uchder fod yn rhif.', invalidWidth : 'Rhaid i\'r Lled fod yn rhif.', invalidCssLength : 'Mae\'n rhaid i\'r gwerth ar gyfer maes "%1" fod yn rhif positif gyda neu heb uned fesuriad CSS dilys (px, %, in, cm, mm, em, ex, pt, neu pc).', invalidHtmlLength : 'Mae\'n rhaid i\'r gwerth ar gyfer maes "%1" fod yn rhif positif gyda neu heb uned fesuriad HTML dilys (px neu %).', invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, ddim ar gael</span>' }, contextmenu : { options : 'Opsiynau Dewislen Cyd-destun' }, // Special char dialog. specialChar : { toolbar : 'Mewnosod Nodau Arbennig', title : 'Dewis Nod Arbennig', options : 'Opsiynau Nodau Arbennig' }, // Link dialog. link : { toolbar : 'Dolen', other : '<eraill>', menu : 'Golygu Dolen', title : 'Dolen', info : 'Gwyb ar y Ddolen', target : 'Targed', upload : 'Lanlwytho', advanced : 'Uwch', type : 'Math y Ddolen', toUrl : 'URL', toAnchor : 'Dolen at angor yn y testun', toEmail : 'E-bost', targetFrame : '<ffrâm>', targetPopup : '<ffenestr bop>', targetFrameName : 'Enw Ffrâm y Targed', targetPopupName : 'Enw Ffenestr Bop', popupFeatures : 'Nodweddion Ffenestr Bop', popupResizable : 'Ailfeintiol', popupStatusBar : 'Bar Statws', popupLocationBar: 'Bar Safle', popupToolbar : 'Bar Offer', popupMenuBar : 'Dewislen', popupFullScreen : 'Sgrin Llawn (IE)', popupScrollBars : 'Barrau Sgrolio', popupDependent : 'Dibynnol (Netscape)', popupLeft : 'Safle Chwith', popupTop : 'Safle Top', id : 'Id', langDir : 'Cyfeiriad Iaith', langDirLTR : 'Chwith i\'r Dde (LTR)', langDirRTL : 'Dde i\'r Chwith (RTL)', acccessKey : 'Allwedd Mynediad', name : 'Enw', langCode : 'Cod Iaith', tabIndex : 'Indecs Tab', advisoryTitle : 'Teitl Cynghorol', advisoryContentType : 'Math y Cynnwys Cynghorol', cssClasses : 'Dosbarthiadau Dalen Arddull', charset : 'Set nodau\'r Adnodd Cysylltiedig', styles : 'Arddull', rel : 'Perthynas', selectAnchor : 'Dewiswch Angor', anchorName : 'Gan Enw\'r Angor', anchorId : 'Gan Id yr Elfen', emailAddress : 'Cyfeiriad E-Bost', emailSubject : 'Testun y Message Subject', emailBody : 'Pwnc y Neges', noAnchors : '(Dim angorau ar gael yn y ddogfen)', noUrl : 'Teipiwch URL y ddolen', noEmail : 'Teipiwch gyfeiriad yr e-bost' }, // Anchor dialog anchor : { toolbar : 'Angor', menu : 'Golygwch yr Angor', title : 'Priodweddau\'r Angor', name : 'Enw\'r Angor', errorName : 'Teipiwch enw\'r angor', remove : 'Tynnwch yr Angor' }, // List style dialog list: { numberedTitle : 'Priodweddau Rhestr Rifol', bulletedTitle : 'Priodweddau Rhestr Fwled', type : 'Math', start : 'Dechrau', validateStartNumber :'Rhaid bod y rhif cychwynnol yn gyfanrif.', circle : 'Cylch', disc : 'Disg', square : 'Sgwâr', none : 'Dim', notset : '<heb osod>', armenian : 'Rhifau Armeneg', georgian : 'Rhifau Sioraidd (an, ban, gan, ayyb.)', lowerRoman : 'Rhufeinig Is (i, ii, iii, iv, v, ayyb.)', upperRoman : 'Rhufeinig Uwch (I, II, III, IV, V, ayyb.)', lowerAlpha : 'Alffa Is (a, b, c, d, e, ayyb.)', upperAlpha : 'Alffa Uwch (A, B, C, D, E, ayyb.)', lowerGreek : 'Groeg Is (alpha, beta, gamma, ayyb.)', decimal : 'Degol (1, 2, 3, ayyb.)', decimalLeadingZero : 'Degol â sero arweiniol (01, 02, 03, ayyb.)' }, // Find And Replace Dialog findAndReplace : { title : 'Chwilio ac Amnewid', find : 'Chwilio', replace : 'Amnewid', findWhat : 'Chwilio\'r term:', replaceWith : 'Amnewid gyda:', notFoundMsg : 'Nid oedd y testun wedi\'i ddarganfod.', findOptions : 'Find Options', // MISSING matchCase : 'Cyfateb i\'r cas', matchWord : 'Cyfateb gair cyfan', matchCyclic : 'Cyfateb cylchol', replaceAll : 'Amnewid pob un', replaceSuccessMsg : 'Amnewidiwyd %1 achlysur.' }, // Table Dialog table : { toolbar : 'Tabl', title : 'Nodweddion Tabl', menu : 'Nodweddion Tabl', deleteTable : 'Dileu Tabl', rows : 'Rhesi', columns : 'Colofnau', border : 'Maint yr Ymyl', widthPx : 'picsel', widthPc : 'y cant', widthUnit : 'uned lled', cellSpace : 'Bylchu\'r gell', cellPad : 'Padio\'r gell', caption : 'Pennawd', summary : 'Crynodeb', headers : 'Penynnau', headersNone : 'Dim', headersColumn : 'Colofn gyntaf', headersRow : 'Rhes gyntaf', headersBoth : 'Y Ddau', invalidRows : 'Mae\'n rhaid cael o leiaf un rhes.', invalidCols : 'Mae\'n rhaid cael o leiaf un golofn.', invalidBorder : 'Mae\'n rhaid i faint yr ymyl fod yn rhif.', invalidWidth : 'Mae\'n rhaid i led y tabl fod yn rhif.', invalidHeight : 'Mae\'n rhaid i uchder y tabl fod yn rhif.', invalidCellSpacing : 'Mae\'n rhaid i fylchiad y gell fod yn rhif positif.', invalidCellPadding : 'Mae\'n rhaid i badiad y gell fod yn rhif positif.', cell : { menu : 'Cell', insertBefore : 'Mewnosod Cell Cyn', insertAfter : 'Mewnosod Cell Ar Ôl', deleteCell : 'Dileu Celloedd', merge : 'Cyfuno Celloedd', mergeRight : 'Cyfuno i\'r Dde', mergeDown : 'Cyfuno i Lawr', splitHorizontal : 'Hollti\'r Gell yn Lorweddol', splitVertical : 'Hollti\'r Gell yn Fertigol', title : 'Priodweddau\'r Gell', cellType : 'Math y Gell', rowSpan : 'Rhychwant Rhesi', colSpan : 'Rhychwant Colofnau', wordWrap : 'Lapio Geiriau', hAlign : 'Aliniad Llorweddol', vAlign : 'Aliniad Fertigol', alignBaseline : 'Baslinell', bgColor : 'Lliw Cefndir', borderColor : 'Lliw Ymyl', data : 'Data', header : 'Pennyn', yes : 'Ie', no : 'Na', invalidWidth : 'Mae\'n rhaid i led y gell fod yn rhif.', invalidHeight : 'Mae\'n rhaid i uchder y gell fod yn rhif.', invalidRowSpan : 'Mae\'n rhaid i rychwant y rhesi fod yn gyfanrif.', invalidColSpan : 'Mae\'n rhaid i rychwant y colofnau fod yn gyfanrif.', chooseColor : 'Choose' }, row : { menu : 'Rhes', insertBefore : 'Mewnosod Rhes Cyn', insertAfter : 'Mewnosod Rhes Ar Ôl', deleteRow : 'Dileu Rhesi' }, column : { menu : 'Colofn', insertBefore : 'Mewnosod Colofn Cyn', insertAfter : 'Mewnosod Colofn Ar Ôl', deleteColumn : 'Dileu Colofnau' } }, // Button Dialog. button : { title : 'Priodweddau Botymau', text : 'Testun (Gwerth)', type : 'Math', typeBtn : 'Botwm', typeSbm : 'Gyrru', typeRst : 'Ailosod' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Priodweddau Blwch Ticio', radioTitle : 'Priodweddau Botwm Radio', value : 'Gwerth', selected : 'Dewiswyd' }, // Form Dialog. form : { title : 'Priodweddau Ffurflen', menu : 'Priodweddau Ffurflen', action : 'Gweithred', method : 'Dull', encoding : 'Amgodio' }, // Select Field Dialog. select : { title : 'Priodweddau Maes Dewis', selectInfo : 'Gwyb Dewis', opAvail : 'Opsiynau ar Gael', value : 'Gwerth', size : 'Maint', lines : 'llinellau', chkMulti : 'Caniatàu aml-ddewisiadau', opText : 'Testun', opValue : 'Gwerth', btnAdd : 'Ychwanegu', btnModify : 'Newid', btnUp : 'Lan', btnDown : 'Lawr', btnSetValue : 'Gosod fel gwerth a ddewiswyd', btnDelete : 'Dileu' }, // Textarea Dialog. textarea : { title : 'Priodweddau Ardal Testun', cols : 'Colofnau', rows : 'Rhesi' }, // Text Field Dialog. textfield : { title : 'Priodweddau Maes Testun', name : 'Enw', value : 'Gwerth', charWidth : 'Lled Nod', maxChars : 'Uchafswm y Nodau', type : 'Math', typeText : 'Testun', typePass : 'Cyfrinair' }, // Hidden Field Dialog. hidden : { title : 'Priodweddau Maes Cudd', name : 'Enw', value : 'Gwerth' }, // Image Dialog. image : { title : 'Priodweddau Delwedd', titleButton : 'Priodweddau Botwm Delwedd', menu : 'Priodweddau Delwedd', infoTab : 'Gwyb Delwedd', btnUpload : 'Anfon i\'r Gweinydd', upload : 'lanlwytho', alt : 'Testun Amgen', lockRatio : 'Cloi Cymhareb', resetSize : 'Ailosod Maint', border : 'Ymyl', hSpace : 'BwlchLl', vSpace : 'BwlchF', alertUrl : 'Rhowch URL y ddelwedd', linkTab : 'Dolen', button2Img : 'Ydych am drawsffurfio\'r botwm ddelwedd hwn ar ddelwedd syml?', img2Button : 'Ydych am drawsffurfio\'r ddelwedd hon ar fotwm delwedd?', urlMissing : 'URL tarddle\'r ddelwedd ar goll.', validateBorder : 'Rhaid i\'r ymyl fod yn gyfanrif.', validateHSpace : 'Rhaid i\'r HSpace fod yn gyfanrif.', validateVSpace : 'Rhaid i\'r VSpace fod yn gyfanrif.' }, // Flash Dialog flash : { properties : 'Priodweddau Flash', propertiesTab : 'Priodweddau', title : 'Priodweddau Flash', chkPlay : 'AwtoChwarae', chkLoop : 'Lwpio', chkMenu : 'Galluogi Dewislen Flash', chkFull : 'Caniatàu Sgrin Llawn', scale : 'Graddfa', scaleAll : 'Dangos pob', scaleNoBorder : 'Dim Ymyl', scaleFit : 'Ffit Union', access : 'Mynediad Sgript', accessAlways : 'Pob amser', accessSameDomain: 'R\'un parth', accessNever : 'Byth', alignAbsBottom : 'Gwaelod Abs', alignAbsMiddle : 'Canol Abs', alignBaseline : 'Baslinell', alignTextTop : 'Testun Top', quality : 'Ansawdd', qualityBest : 'Gorau', qualityHigh : 'Uchel', qualityAutoHigh : 'Uchel Awto', qualityMedium : 'Canolig', qualityAutoLow : 'Isel Awto', qualityLow : 'Isel', windowModeWindow: 'Ffenestr', windowModeOpaque: 'Afloyw', windowModeTransparent : 'Tryloyw', windowMode : 'Modd ffenestr', flashvars : 'Newidynnau ar gyfer Flash', bgcolor : 'Lliw cefndir', hSpace : 'BwlchLl', vSpace : 'BwlchF', validateSrc : 'Ni all yr URL fod yn wag.', validateHSpace : 'Rhaid i\'r BwlchLl fod yn rhif.', validateVSpace : 'Rhaid i\'r BwlchF fod yn rhif.' }, // Speller Pages Dialog spellCheck : { toolbar : 'Gwirio Sillafu', title : 'Gwirio Sillafu', notAvailable : 'Nid yw\'r gwasanaeth hwn ar gael yn bresennol.', errorLoading : 'Error loading application service host: %s.', notInDic : 'Nid i\'w gael yn y geiriadur', changeTo : 'Newid i', btnIgnore : 'Anwybyddu Un', btnIgnoreAll : 'Anwybyddu Pob', btnReplace : 'Amnewid Un', btnReplaceAll : 'Amnewid Pob', btnUndo : 'Dadwneud', noSuggestions : '- Dim awgrymiadau -', progress : 'Gwirio sillafu yn ar y gweill...', noMispell : 'Gwirio sillafu wedi gorffen: Dim camsillaf.', noChanges : 'Gwirio sillafu wedi gorffen: Dim newidiadau', oneChange : 'Gwirio sillafu wedi gorffen: Newidiwyd 1 gair', manyChanges : 'Gwirio sillafu wedi gorffen: Newidiwyd %1 gair', ieSpellDownload : 'Gwirydd sillafu heb ei arsefydlu. A ydych am ei lawrlwytho nawr?' }, smiley : { toolbar : 'Gwenoglun', title : 'Mewnosod Gwenoglun', options : 'Opsiynau Gwenogluniau' }, elementsPath : { eleLabel : 'Llwybr elfennau', eleTitle : 'Elfen %1' }, numberedlist : 'Mewnosod/Tynnu Rhestr Rhifol', bulletedlist : 'Mewnosod/Tynnu Rhestr Bwled', indent : 'Cynyddu\'r Mewnoliad', outdent : 'Lleihau\'r Mewnoliad', justify : { left : 'Alinio i\'r Chwith', center : 'Alinio i\'r Canol', right : 'Alinio i\'r Dde', block : 'Aliniad Bloc' }, blockquote : 'Dyfyniad bloc', clipboard : { title : 'Gludo', cutError : 'Nid yw gosodiadau diogelwch eich porwr yn caniatàu\'r golygydd i gynnal \'gweithredoedd torri\' yn awtomatig. Defnyddiwch y bysellfwrdd (Ctrl/Cmd+X).', copyError : 'Nid yw gosodiadau diogelwch eich porwr yn caniatàu\'r golygydd i gynnal \'gweithredoedd copïo\' yn awtomatig. Defnyddiwch y bysellfwrdd (Ctrl/Cmd+C).', pasteMsg : 'Gludwch i mewn i\'r blwch canlynol gan ddefnyddio\'r bysellfwrdd (<strong>Ctrl/Cmd+V</strong>) a phwyso <strong>Iawn</strong>.', securityMsg : 'Oherwydd gosodiadau diogelwch eich porwr, nid yw\'r porwr yn gallu ennill mynediad i\'r data ar y clipfwrdd yn uniongyrchol. Mae angen i chi ei ludo eto i\'r ffenestr hon.', pasteArea : 'Ardal Gludo' }, pastefromword : { confirmCleanup : 'Mae\'r testun rydych chi am ludo wedi\'i gopïo o Word. Ydych chi am ei lanhau cyn ei ludo?', toolbar : 'Gludo o Word', title : 'Gludo o Word', error : 'Doedd dim modd glanhau y data a ludwyd oherwydd gwall mewnol' }, pasteText : { button : 'Gludo fel testun plaen', title : 'Gludo fel Testun Plaen' }, templates : { button : 'Templedi', title : 'Templedi Cynnwys', options : 'Opsiynau Templedi', insertOption : 'Amnewid y cynnwys go iawn', selectPromptMsg : 'Dewiswch dempled i\'w agor yn y golygydd', emptyListMsg : '(Dim templedi wedi\'u diffinio)' }, showBlocks : 'Dangos Blociau', stylesCombo : { label : 'Arddulliau', panelTitle : 'Arddulliau Fformatio', panelTitle1 : 'Arddulliau Bloc', panelTitle2 : 'Arddulliau Mewnol', panelTitle3 : 'Arddulliau Gwrthrych' }, format : { label : 'Fformat', panelTitle : 'Fformat Paragraff', tag_p : 'Normal', tag_pre : 'Wedi\'i Fformatio', tag_address : 'Cyfeiriad', tag_h1 : 'Pennawd 1', tag_h2 : 'Pennawd 2', tag_h3 : 'Pennawd 3', tag_h4 : 'Pennawd 4', tag_h5 : 'Pennawd 5', tag_h6 : 'Pennawd 6', tag_div : 'Normal (DIV)' }, div : { title : 'Creu Cynhwysydd Div', toolbar : 'Creu Cynhwysydd Div', cssClassInputLabel : 'Dosbarthiadau Ffeil Ddiwyg', styleSelectLabel : 'Arddull', IdInputLabel : 'Id', languageCodeInputLabel : ' Cod Iaith', inlineStyleInputLabel : 'Arddull Mewn Llinell', advisoryTitleInputLabel : 'Teitl Cynghorol', langDirLabel : 'Cyfeiriad yr Iaith', langDirLTRLabel : 'Chwith i\'r Dde (LTR)', langDirRTLLabel : 'Dde i\'r Chwith (RTL)', edit : 'Golygu Div', remove : 'Tynnu Div' }, iframe : { title : 'Priodweddau IFrame', toolbar : 'IFrame', noUrl : 'Rhowch fath URL yr iframe', scrolling : 'Galluogi bariau sgrolio', border : 'Dangos ymyl y ffrâm' }, font : { label : 'Ffont', voiceLabel : 'Ffont', panelTitle : 'Enw\'r Ffont' }, fontSize : { label : 'Maint', voiceLabel : 'Maint y Ffont', panelTitle : 'Maint y Ffont' }, colorButton : { textColorTitle : 'Lliw Testun', bgColorTitle : 'Lliw Cefndir', panelTitle : 'Lliwiau', auto : 'Awtomatig', more : 'Mwy o Liwiau...' }, colors : { '000' : 'Du', '800000' : 'Marwn', '8B4513' : 'Brown Cyfrwy', '2F4F4F' : 'Llechen Tywyll', '008080' : 'Corhwyad', '000080' : 'Nefi', '4B0082' : 'Indigo', '696969' : 'Llwyd Pwl', 'B22222' : 'Bric Tân', 'A52A2A' : 'Brown', 'DAA520' : 'Rhoden Aur', '006400' : 'Gwyrdd Tywyll', '40E0D0' : 'Gwyrddlas', '0000CD' : 'Glas Canolig', '800080' : 'Porffor', '808080' : 'Llwyd', 'F00' : 'Coch', 'FF8C00' : 'Oren Tywyll', 'FFD700' : 'Aur', '008000' : 'Gwyrdd', '0FF' : 'Cyan', '00F' : 'Glas', 'EE82EE' : 'Fioled', 'A9A9A9' : 'Llwyd Tywyll', 'FFA07A' : 'Samwn Golau', 'FFA500' : 'Oren', 'FFFF00' : 'Melyn', '00FF00' : 'Leim', 'AFEEEE' : 'Gwyrddlas Golau', 'ADD8E6' : 'Glas Golau', 'DDA0DD' : 'Eirinen', 'D3D3D3' : 'Llwyd Golau', 'FFF0F5' : 'Gwrid Lafant', 'FAEBD7' : 'Gwyn Hynafol', 'FFFFE0' : 'Melyn Golau', 'F0FFF0' : 'Melwn Gwyrdd Golau', 'F0FFFF' : 'Aswr', 'F0F8FF' : 'Glas Alys', 'E6E6FA' : 'Lafant', 'FFF' : 'Gwyn' }, scayt : { title : 'Gwirio\'r Sillafu Wrth Deipio', opera_title : 'Heb ei gynnal gan Opera', enable : 'Galluogi SCAYT', disable : 'Analluogi SCAYT', about : 'Ynghylch SCAYT', toggle : 'Togl SCAYT', options : 'Opsiynau', langs : 'Ieithoedd', moreSuggestions : 'Awgrymiadau pellach', ignore : 'Anwybyddu', ignoreAll : 'Anwybyddu pob', addWord : 'Ychwanegu Gair', emptyDic : 'Ni ddylai enw\'r geiriadur fod yn wag.', optionsTab : 'Opsiynau', allCaps : 'Anwybyddu Geiriau Nodau Uwch i Gyd', ignoreDomainNames : 'Anwybyddu Enwau Parth', mixedCase : 'Anwybyddu Geiriau â Chymysgedd Nodau Uwch ac Is', mixedWithDigits : 'Anwybyddu Geiriau â Rhifau', languagesTab : 'Ieithoedd', dictionariesTab : 'Geiriaduron', dic_field_name : 'Enw\'r geiriadur', dic_create : 'Creu', dic_restore : 'Adfer', dic_delete : 'Dileu', dic_rename : 'Ailenwi', dic_info : 'Ar y cychwyn, caiff y Geiriadur ei storio mewn Cwci. Er, mae terfyn ar faint cwcis. Pan fydd Gweiriadur Defnyddiwr yn tyfu tu hwnt i gyfyngiadau maint Cwci, caiff y geiriadur ei storio ar ein gweinydd ni. er mwyn storio eich geiriadur poersonol chi ar ein gweinydd, bydd angen i chi osod enw ar gyfer y geiriadur. Os oes geiriadur \'da chi ar ein gweinydd yn barod, teipiwch ei enw a chliciwch y botwm Adfer.', aboutTab : 'Ynghylch' }, about : { title : 'Ynghylch CKEditor', dlgTitle : 'Ynghylch CKEditor', help : 'Gwirio $1 am gymorth.', userGuide : 'Canllawiau Defnyddiwr CKEditor', moreInfo : 'Am wybodaeth ynghylch trwyddedau, ewch i\'n gwefan:', copy : 'Hawlfraint &copy; $1. Cedwir pob hawl.' }, maximize : 'Mwyhau', minimize : 'Lleihau', fakeobjects : { anchor : 'Angor', flash : 'Animeiddiant Flash', iframe : 'IFrame', hiddenfield : 'Maes Cudd', unknown : 'Gwrthrych Anhysbys' }, resize : 'Llusgo i ailfeintio', colordialog : { title : 'Dewis lliw', options : 'Opsiynau Lliw', highlight : 'Uwcholeuo', selected : 'Dewiswyd', clear : 'Clirio' }, toolbarCollapse : 'Cyfangu\'r Bar Offer', toolbarExpand : 'Ehangu\'r Bar Offer', toolbarGroups : { document : 'Dogfen', clipboard : 'Clipfwrdd/Dadwneud', editing : 'Golygu', forms : 'Ffurflenni', basicstyles : 'Arddulliau Sylfaenol', paragraph : 'Paragraff', links : 'Dolenni', insert : 'Mewnosod', styles : 'Arddulliau', colors : 'Lliwiau', tools : 'Offer' }, bidi : { ltr : 'Cyfeiriad testun o\'r chwith i\'r dde', rtl : 'Cyfeiriad testun o\'r dde i\'r chwith' }, docprops : { label : 'Priodweddau Dogfen', title : 'Priodweddau Dogfen', design : 'Cynllunio', meta : 'Tagiau Meta', chooseColor : 'Dewis', other : 'Arall...', docTitle : 'Teitl y Dudalen', charset : 'Amgodio Set Nodau', charsetOther : 'Amgodio Set Nodau Arall', charsetASCII : 'ASCII', charsetCE : 'Ewropeaidd Canol', charsetCT : 'Tsieinëeg Traddodiadol (Big5)', charsetCR : 'Syrilig', charsetGR : 'Groeg', charsetJP : 'Siapanëeg', charsetKR : 'Corëeg', charsetTR : 'Tyrceg', charsetUN : 'Unicode (UTF-8)', charsetWE : 'Ewropeaidd Gorllewinol', docType : 'Pennawd Math y Ddogfen', docTypeOther : 'Pennawd Math y Ddogfen Arall', xhtmlDec : 'Cynnwys Datganiadau XHTML', bgColor : 'Lliw Cefndir', bgImage : 'URL Delwedd Cefndir', bgFixed : 'Cefndir Sefydlog (Ddim yn Sgrolio)', txtColor : 'Lliw y Testun', margin : 'Ffin y Dudalen', marginTop : 'Brig', marginLeft : 'Chwith', marginRight : 'Dde', marginBottom : 'Gwaelod', metaKeywords : 'Allweddeiriau Indecsio Dogfen (gwahanu gyda choma)', metaDescription : 'Disgrifiad y Ddogfen', metaAuthor : 'Awdur', metaCopyright : 'Hawlfraint', previewHtml : '<p>Dyma ychydig o <strong>destun sampl</strong>. Rydych chi\'n defnyddio <a href="javascript:void(0)">CKEditor</a>.</p>' } };
zysms
trunk/zysms/include/ckeditor/_source/lang/cy.js
JavaScript
asf20
23,787
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Serbian (Latin) language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['sr-latn'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'Kôd', newPage : 'Nova stranica', save : 'Sačuvaj', preview : 'Izgled stranice', cut : 'Iseci', copy : 'Kopiraj', paste : 'Zalepi', print : 'Štampa', underline : 'Podvučeno', bold : 'Podebljano', italic : 'Kurziv', selectAll : 'Označi sve', removeFormat : 'Ukloni formatiranje', strike : 'Precrtano', subscript : 'Indeks', superscript : 'Stepen', horizontalrule : 'Unesi horizontalnu liniju', pagebreak : 'Insert Page Break for Printing', // MISSING pagebreakAlt : 'Page Break', // MISSING unlink : 'Ukloni link', undo : 'Poni�ti akciju', redo : 'Ponovi akciju', // Common messages and labels. common : { browseServer : 'Pretraži server', url : 'URL', protocol : 'Protokol', upload : 'Pošalji', uploadSubmit : 'Pošalji na server', image : 'Slika', flash : 'Fleš', form : 'Forma', checkbox : 'Polje za potvrdu', radio : 'Radio-dugme', textField : 'Tekstualno polje', textarea : 'Zona teksta', hiddenField : 'Skriveno polje', button : 'Dugme', select : 'Izborno polje', imageButton : 'Dugme sa slikom', notSet : '<nije postavljeno>', id : 'Id', name : 'Naziv', langDir : 'Smer jezika', langDirLtr : 'S leva na desno (LTR)', langDirRtl : 'S desna na levo (RTL)', langCode : 'Kôd jezika', longDescr : 'Pun opis URL', cssClass : 'Stylesheet klase', advisoryTitle : 'Advisory naslov', cssStyle : 'Stil', ok : 'OK', cancel : 'Otkaži', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', // MISSING advancedTab : 'Napredni tagovi', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Širina', height : 'Visina', align : 'Ravnanje', alignLeft : 'Levo', alignRight : 'Desno', alignCenter : 'Sredina', alignTop : 'Vrh', alignMiddle : 'Sredina', alignBottom : 'Dole', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Unesi specijalni karakter', title : 'Odaberite specijalni karakter', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Unesi/izmeni link', other : '<остало>', menu : 'Izmeni link', title : 'Link', info : 'Link Info', target : 'Meta', upload : 'Pošalji', advanced : 'Napredni tagovi', type : 'Vrsta linka', toUrl : 'URL', // MISSING toAnchor : 'Sidro na ovoj stranici', toEmail : 'E-Mail', targetFrame : '<okvir>', targetPopup : '<popup prozor>', targetFrameName : 'Naziv odredišnog frejma', targetPopupName : 'Naziv popup prozora', popupFeatures : 'Mogućnosti popup prozora', popupResizable : 'Resizable', // MISSING popupStatusBar : 'Statusna linija', popupLocationBar: 'Lokacija', popupToolbar : 'Toolbar', popupMenuBar : 'Kontekstni meni', popupFullScreen : 'Prikaz preko celog ekrana (IE)', popupScrollBars : 'Scroll bar', popupDependent : 'Zavisno (Netscape)', popupLeft : 'Od leve ivice ekrana (px)', popupTop : 'Od vrha ekrana (px)', id : 'Id', // MISSING langDir : 'Smer jezika', langDirLTR : 'S leva na desno (LTR)', langDirRTL : 'S desna na levo (RTL)', acccessKey : 'Pristupni taster', name : 'Naziv', langCode : 'Smer jezika', tabIndex : 'Tab indeks', advisoryTitle : 'Advisory naslov', advisoryContentType : 'Advisory vrsta sadržaja', cssClasses : 'Stylesheet klase', charset : 'Linked Resource Charset', styles : 'Stil', rel : 'Relationship', // MISSING selectAnchor : 'Odaberi sidro', anchorName : 'Po nazivu sidra', anchorId : 'Po Id-ju elementa', emailAddress : 'E-Mail adresa', emailSubject : 'Naslov', emailBody : 'Sadržaj poruke', noAnchors : '(Nema dostupnih sidra)', noUrl : 'Unesite URL linka', noEmail : 'Otkucajte adresu elektronske pote' }, // Anchor dialog anchor : { toolbar : 'Unesi/izmeni sidro', menu : 'Osobine sidra', title : 'Osobine sidra', name : 'Ime sidra', errorName : 'Unesite ime sidra', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Find and Replace', // MISSING find : 'Pretraga', replace : 'Zamena', findWhat : 'Pronadi:', replaceWith : 'Zameni sa:', notFoundMsg : 'Traženi tekst nije pronađen.', findOptions : 'Find Options', // MISSING matchCase : 'Razlikuj mala i velika slova', matchWord : 'Uporedi cele reci', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'Zameni sve', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'Tabela', title : 'Osobine tabele', menu : 'Osobine tabele', deleteTable : 'Delete Table', // MISSING rows : 'Redova', columns : 'Kolona', border : 'Veličina okvira', widthPx : 'piksela', widthPc : 'procenata', widthUnit : 'width unit', // MISSING cellSpace : 'Ćelijski prostor', cellPad : 'Razmak ćelija', caption : 'Naslov tabele', summary : 'Summary', // MISSING headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'Cell', // MISSING insertBefore : 'Insert Cell Before', // MISSING insertAfter : 'Insert Cell After', // MISSING deleteCell : 'Obriši ćelije', merge : 'Spoj celije', mergeRight : 'Merge Right', // MISSING mergeDown : 'Merge Down', // MISSING splitHorizontal : 'Split Cell Horizontally', // MISSING splitVertical : 'Split Cell Vertically', // MISSING title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'Row', // MISSING insertBefore : 'Insert Row Before', // MISSING insertAfter : 'Insert Row After', // MISSING deleteRow : 'Obriši redove' }, column : { menu : 'Column', // MISSING insertBefore : 'Insert Column Before', // MISSING insertAfter : 'Insert Column After', // MISSING deleteColumn : 'Obriši kolone' } }, // Button Dialog. button : { title : 'Osobine dugmeta', text : 'Tekst (vrednost)', type : 'Tip', typeBtn : 'Button', // MISSING typeSbm : 'Submit', // MISSING typeRst : 'Reset' // MISSING }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Osobine polja za potvrdu', radioTitle : 'Osobine radio-dugmeta', value : 'Vrednost', selected : 'Označeno' }, // Form Dialog. form : { title : 'Osobine forme', menu : 'Osobine forme', action : 'Akcija', method : 'Metoda', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'Osobine izbornog polja', selectInfo : 'Info', opAvail : 'Dostupne opcije', value : 'Vrednost', size : 'Veličina', lines : 'linija', chkMulti : 'Dozvoli višestruku selekciju', opText : 'Tekst', opValue : 'Vrednost', btnAdd : 'Dodaj', btnModify : 'Izmeni', btnUp : 'Gore', btnDown : 'Dole', btnSetValue : 'Podesi kao označenu vrednost', btnDelete : 'Obriši' }, // Textarea Dialog. textarea : { title : 'Osobine zone teksta', cols : 'Broj kolona', rows : 'Broj redova' }, // Text Field Dialog. textfield : { title : 'Osobine tekstualnog polja', name : 'Naziv', value : 'Vrednost', charWidth : 'Širina (karaktera)', maxChars : 'Maksimalno karaktera', type : 'Tip', typeText : 'Tekst', typePass : 'Lozinka' }, // Hidden Field Dialog. hidden : { title : 'Osobine skrivenog polja', name : 'Naziv', value : 'Vrednost' }, // Image Dialog. image : { title : 'Osobine slika', titleButton : 'Osobine dugmeta sa slikom', menu : 'Osobine slika', infoTab : 'Info slike', btnUpload : 'Pošalji na server', upload : 'Pošalji', alt : 'Alternativni tekst', lockRatio : 'Zaključaj odnos', resetSize : 'Resetuj veličinu', border : 'Okvir', hSpace : 'HSpace', vSpace : 'VSpace', alertUrl : 'Unesite URL slike', linkTab : 'Link', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Osobine fleša', propertiesTab : 'Properties', // MISSING title : 'Osobine fleša', chkPlay : 'Automatski start', chkLoop : 'Ponavljaj', chkMenu : 'Uključi fleš meni', chkFull : 'Allow Fullscreen', // MISSING scale : 'Skaliraj', scaleAll : 'Prikaži sve', scaleNoBorder : 'Bez ivice', scaleFit : 'Popuni površinu', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Abs dole', alignAbsMiddle : 'Abs sredina', alignBaseline : 'Bazno', alignTextTop : 'Vrh teksta', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'Boja pozadine', hSpace : 'HSpace', vSpace : 'VSpace', validateSrc : 'Unesite URL linka', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'Proveri spelovanje', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'Nije u rečniku', changeTo : 'Izmeni', btnIgnore : 'Ignoriši', btnIgnoreAll : 'Ignoriši sve', btnReplace : 'Zameni', btnReplaceAll : 'Zameni sve', btnUndo : 'Vrati akciju', noSuggestions : '- Bez sugestija -', progress : 'Provera spelovanja u toku...', noMispell : 'Provera spelovanja završena: greške nisu pronadene', noChanges : 'Provera spelovanja završena: Nije izmenjena nijedna rec', oneChange : 'Provera spelovanja završena: Izmenjena je jedna reč', manyChanges : 'Provera spelovanja završena: %1 reč(i) je izmenjeno', ieSpellDownload : 'Provera spelovanja nije instalirana. Da li želite da je skinete sa Interneta?' }, smiley : { toolbar : 'Smajli', title : 'Unesi smajlija', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'Nabrojiva lista', bulletedlist : 'Nenabrojiva lista', indent : 'Uvećaj levu marginu', outdent : 'Smanji levu marginu', justify : { left : 'Levo ravnanje', center : 'Centriran tekst', right : 'Desno ravnanje', block : 'Obostrano ravnanje' }, blockquote : 'Block Quote', // MISSING clipboard : { title : 'Zalepi', cutError : 'Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog isecanja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl/Cmd+X).', copyError : 'Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog kopiranja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl/Cmd+C).', pasteMsg : 'Molimo Vas da zalepite unutar donje povrine koristeći tastaturnu prečicu (<STRONG>Ctrl/Cmd+V</STRONG>) i da pritisnete <STRONG>OK</STRONG>.', securityMsg : '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 pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Zalepi iz Worda', title : 'Zalepi iz Worda', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Zalepi kao čist tekst', title : 'Zalepi kao čist tekst' }, templates : { button : 'Obrasci', title : 'Obrasci za sadržaj', options : 'Template Options', // MISSING insertOption : 'Replace actual contents', // MISSING selectPromptMsg : 'Molimo Vas da odaberete obrazac koji ce biti primenjen na stranicu (trenutni sadržaj ce biti obrisan):', emptyListMsg : '(Nema definisanih obrazaca)' }, showBlocks : 'Show Blocks', // MISSING stylesCombo : { label : 'Stil', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'Format', panelTitle : 'Format', tag_p : 'Normal', tag_pre : 'Formatirano', tag_address : 'Adresa', tag_h1 : 'Naslov 1', tag_h2 : 'Naslov 2', tag_h3 : 'Naslov 3', tag_h4 : 'Naslov 4', tag_h5 : 'Naslov 5', tag_h6 : 'Naslov 6', tag_div : 'Normal (DIV)' // MISSING }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Font', voiceLabel : 'Font', // MISSING panelTitle : 'Font' }, fontSize : { label : 'Veličina fonta', voiceLabel : 'Font Size', // MISSING panelTitle : 'Veličina fonta' }, colorButton : { textColorTitle : 'Boja teksta', bgColorTitle : 'Boja pozadine', panelTitle : 'Colors', // MISSING auto : 'Automatski', more : 'Više boja...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Osobine dokumenta', title : 'Osobine dokumenta', design : 'Design', // MISSING meta : 'Metapodaci', chooseColor : 'Choose', // MISSING other : '<остало>', docTitle : 'Naslov stranice', charset : 'Kodiranje skupa karaktera', charsetOther : 'Ostala kodiranja skupa karaktera', charsetASCII : 'ASCII', // MISSING charsetCE : 'Central European', // MISSING charsetCT : 'Chinese Traditional (Big5)', // MISSING charsetCR : 'Cyrillic', // MISSING charsetGR : 'Greek', // MISSING charsetJP : 'Japanese', // MISSING charsetKR : 'Korean', // MISSING charsetTR : 'Turkish', // MISSING charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Western European', // MISSING docType : 'Zaglavlje tipa dokumenta', docTypeOther : 'Ostala zaglavlja tipa dokumenta', xhtmlDec : 'Ukljuci XHTML deklaracije', bgColor : 'Boja pozadine', bgImage : 'URL pozadinske slike', bgFixed : 'Fiksirana pozadina', txtColor : 'Boja teksta', margin : 'Margine stranice', marginTop : 'Gornja', marginLeft : 'Leva', marginRight : 'Desna', marginBottom : 'Donja', metaKeywords : 'Ključne reci za indeksiranje dokumenta (razdvojene zarezima)', metaDescription : 'Opis dokumenta', metaAuthor : 'Autor', metaCopyright : 'Autorska prava', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/sr-latn.js
JavaScript
asf20
26,616
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Norwegian language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['no'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rikteksteditor, %1, trykk ALT 0 for hjelp.', // ARIA descriptions. toolbars : 'Verktøylinjer for editor', editor : 'Rikteksteditor', // Toolbar buttons without dialogs. source : 'Kilde', newPage : 'Ny side', save : 'Lagre', preview : 'Forhåndsvis', cut : 'Klipp ut', copy : 'Kopier', paste : 'Lim inn', print : 'Skriv ut', underline : 'Understreking', bold : 'Fet', italic : 'Kursiv', selectAll : 'Merk alt', removeFormat : 'Fjern formatering', strike : 'Gjennomstreking', subscript : 'Senket skrift', superscript : 'Hevet skrift', horizontalrule : 'Sett inn horisontal linje', pagebreak : 'Sett inn sideskift for utskrift', pagebreakAlt : 'Sideskift', unlink : 'Fjern lenke', undo : 'Angre', redo : 'Gjør om', // Common messages and labels. common : { browseServer : 'Bla igjennom server', url : 'URL', protocol : 'Protokoll', upload : 'Last opp', uploadSubmit : 'Send det til serveren', image : 'Bilde', flash : 'Flash', form : 'Skjema', checkbox : 'Avmerkingsboks', radio : 'Alternativknapp', textField : 'Tekstboks', textarea : 'Tekstområde', hiddenField : 'Skjult felt', button : 'Knapp', select : 'Rullegardinliste', imageButton : 'Bildeknapp', notSet : '<ikke satt>', id : 'Id', name : 'Navn', langDir : 'Språkretning', langDirLtr : 'Venstre til høyre (VTH)', langDirRtl : 'Høyre til venstre (HTV)', langCode : 'Språkkode', longDescr : 'Utvidet beskrivelse', cssClass : 'Stilarkklasser', advisoryTitle : 'Tittel', cssStyle : 'Stil', ok : 'OK', cancel : 'Avbryt', close : 'Lukk', preview : 'Forhåndsvis', generalTab : 'Generelt', advancedTab : 'Avansert', validateNumberFailed : 'Denne verdien er ikke et tall.', confirmNewPage : 'Alle ulagrede endringer som er gjort i dette innholdet vil bli tapt. Er du sikker på at du vil laste en ny side?', confirmCancel : 'Noen av valgene har blitt endret. Er du sikker på at du vil lukke dialogen?', options : 'Valg', target : 'Mål', targetNew : 'Nytt vindu (_blank)', targetTop : 'Hele vindu (_top)', targetSelf : 'Samme vindu (_self)', targetParent : 'Foreldrevindu (_parent)', langDirLTR : 'Venstre til høyre (VTH)', langDirRTL : 'Høyre til venstre (HTV)', styles : 'Stil', cssClasses : 'Stilarkklasser', width : 'Bredde', height : 'Høyde', align : 'Juster', alignLeft : 'Venstre', alignRight : 'Høyre', alignCenter : 'Midtjuster', alignTop : 'Topp', alignMiddle : 'Midten', alignBottom : 'Bunn', invalidHeight : 'Høyde må være et tall.', invalidWidth : 'Bredde må være et tall.', invalidCssLength : 'Den angitte verdien for feltet "%1" må være et positivt tall med eller uten en gyldig CSS-målingsenhet (px, %, in, cm, mm, em, ex, pt, eller pc).', invalidHtmlLength : 'Den angitte verdien for feltet "%1" må være et positivt tall med eller uten en gyldig HTML-målingsenhet (px eller %).', invalidInlineStyle : 'Verdi angitt for inline stil må bestå av en eller flere sett med formatet "navn : verdi", separert med semikolon', cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, utilgjenglig</span>' }, contextmenu : { options : 'Alternativer for høyreklikkmeny' }, // Special char dialog. specialChar : { toolbar : 'Sett inn spesialtegn', title : 'Velg spesialtegn', options : 'Alternativer for spesialtegn' }, // Link dialog. link : { toolbar : 'Sett inn/Rediger lenke', other : '<annen>', menu : 'Rediger lenke', title : 'Lenke', info : 'Lenkeinfo', target : 'Mål', upload : 'Last opp', advanced : 'Avansert', type : 'Lenketype', toUrl : 'URL', toAnchor : 'Lenke til anker i teksten', toEmail : 'E-post', targetFrame : '<ramme>', targetPopup : '<popup-vindu>', targetFrameName : 'Målramme', targetPopupName : 'Navn på popup-vindu', popupFeatures : 'Egenskaper for popup-vindu', popupResizable : 'Skalerbar', popupStatusBar : 'Statuslinje', popupLocationBar: 'Adresselinje', popupToolbar : 'Verktøylinje', popupMenuBar : 'Menylinje', popupFullScreen : 'Fullskjerm (IE)', popupScrollBars : 'Scrollbar', popupDependent : 'Avhenging (Netscape)', popupLeft : 'Venstre posisjon', popupTop : 'Topp-posisjon', id : 'Id', langDir : 'Språkretning', langDirLTR : 'Venstre til høyre (VTH)', langDirRTL : 'Høyre til venstre (HTV)', acccessKey : 'Aksessknapp', name : 'Navn', langCode : 'Språkkode', tabIndex : 'Tabindeks', advisoryTitle : 'Tittel', advisoryContentType : 'Type', cssClasses : 'Stilarkklasser', charset : 'Lenket tegnsett', styles : 'Stil', rel : 'Relasjon (rel)', selectAnchor : 'Velg et anker', anchorName : 'Anker etter navn', anchorId : 'Element etter ID', emailAddress : 'E-postadresse', emailSubject : 'Meldingsemne', emailBody : 'Melding', noAnchors : '(Ingen anker i dokumentet)', noUrl : 'Vennligst skriv inn lenkens URL', noEmail : 'Vennligst skriv inn e-postadressen' }, // Anchor dialog anchor : { toolbar : 'Sett inn/Rediger anker', menu : 'Egenskaper for anker', title : 'Egenskaper for anker', name : 'Ankernavn', errorName : 'Vennligst skriv inn ankernavnet', remove : 'Fjern anker' }, // List style dialog list: { numberedTitle : 'Egenskaper for nummerert liste', bulletedTitle : 'Egenskaper for punktmerket liste', type : 'Type', start : 'Start', validateStartNumber :'Starten på listen må være et heltall.', circle : 'Sirkel', disc : 'Disk', square : 'Firkant', none : 'Ingen', notset : '<ikke satt>', armenian : 'Armensk nummerering', georgian : 'Georgisk nummerering (an, ban, gan, osv.)', lowerRoman : 'Romertall, små (i, ii, iii, iv, v, osv.)', upperRoman : 'Romertall, store (I, II, III, IV, V, osv.)', lowerAlpha : 'Alfabetisk, små (a, b, c, d, e, osv.)', upperAlpha : 'Alfabetisk, store (A, B, C, D, E, osv.)', lowerGreek : 'Gresk, små (alpha, beta, gamma, osv.)', decimal : 'Tall (1, 2, 3, osv.)', decimalLeadingZero : 'Tall, med førstesiffer null (01, 02, 03, osv.)' }, // Find And Replace Dialog findAndReplace : { title : 'Søk og erstatt', find : 'Søk', replace : 'Erstatt', findWhat : 'Søk etter:', replaceWith : 'Erstatt med:', notFoundMsg : 'Fant ikke søketeksten.', findOptions : 'Søkealternativer', matchCase : 'Skill mellom store og små bokstaver', matchWord : 'Bare hele ord', matchCyclic : 'Søk i hele dokumentet', replaceAll : 'Erstatt alle', replaceSuccessMsg : '%1 tilfelle(r) erstattet.' }, // Table Dialog table : { toolbar : 'Tabell', title : 'Egenskaper for tabell', menu : 'Egenskaper for tabell', deleteTable : 'Slett tabell', rows : 'Rader', columns : 'Kolonner', border : 'Rammestørrelse', widthPx : 'piksler', widthPc : 'prosent', widthUnit : 'Bredde-enhet', cellSpace : 'Cellemarg', cellPad : 'Cellepolstring', caption : 'Tittel', summary : 'Sammendrag', headers : 'Overskrifter', headersNone : 'Ingen', headersColumn : 'Første kolonne', headersRow : 'Første rad', headersBoth : 'Begge', invalidRows : 'Antall rader må være et tall større enn 0.', invalidCols : 'Antall kolonner må være et tall større enn 0.', invalidBorder : 'Rammestørrelse må være et tall.', invalidWidth : 'Tabellbredde må være et tall.', invalidHeight : 'Tabellhøyde må være et tall.', invalidCellSpacing : 'Cellemarg må være et positivt tall.', invalidCellPadding : 'Cellepolstring må være et positivt tall.', cell : { menu : 'Celle', insertBefore : 'Sett inn celle før', insertAfter : 'Sett inn celle etter', deleteCell : 'Slett celler', merge : 'Slå sammen celler', mergeRight : 'Slå sammen høyre', mergeDown : 'Slå sammen ned', splitHorizontal : 'Del celle horisontalt', splitVertical : 'Del celle vertikalt', title : 'Celleegenskaper', cellType : 'Celletype', rowSpan : 'Radspenn', colSpan : 'Kolonnespenn', wordWrap : 'Tekstbrytning', hAlign : 'Horisontal justering', vAlign : 'Vertikal justering', alignBaseline : 'Grunnlinje', bgColor : 'Bakgrunnsfarge', borderColor : 'Rammefarge', data : 'Data', header : 'Overskrift', yes : 'Ja', no : 'Nei', invalidWidth : 'Cellebredde må være et tall.', invalidHeight : 'Cellehøyde må være et tall.', invalidRowSpan : 'Radspenn må være et heltall.', invalidColSpan : 'Kolonnespenn må være et heltall.', chooseColor : 'Velg' }, row : { menu : 'Rader', insertBefore : 'Sett inn rad før', insertAfter : 'Sett inn rad etter', deleteRow : 'Slett rader' }, column : { menu : 'Kolonne', insertBefore : 'Sett inn kolonne før', insertAfter : 'Sett inn kolonne etter', deleteColumn : 'Slett kolonner' } }, // Button Dialog. button : { title : 'Egenskaper for knapp', text : 'Tekst (verdi)', type : 'Type', typeBtn : 'Knapp', typeSbm : 'Send', typeRst : 'Nullstill' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Egenskaper for avmerkingsboks', radioTitle : 'Egenskaper for alternativknapp', value : 'Verdi', selected : 'Valgt' }, // Form Dialog. form : { title : 'Egenskaper for skjema', menu : 'Egenskaper for skjema', action : 'Handling', method : 'Metode', encoding : 'Encoding' }, // Select Field Dialog. select : { title : 'Egenskaper for rullegardinliste', selectInfo : 'Info', opAvail : 'Tilgjenglige alternativer', value : 'Verdi', size : 'Størrelse', lines : 'Linjer', chkMulti : 'Tillat flervalg', opText : 'Tekst', opValue : 'Verdi', btnAdd : 'Legg til', btnModify : 'Endre', btnUp : 'Opp', btnDown : 'Ned', btnSetValue : 'Sett som valgt', btnDelete : 'Slett' }, // Textarea Dialog. textarea : { title : 'Egenskaper for tekstområde', cols : 'Kolonner', rows : 'Rader' }, // Text Field Dialog. textfield : { title : 'Egenskaper for tekstfelt', name : 'Navn', value : 'Verdi', charWidth : 'Tegnbredde', maxChars : 'Maks antall tegn', type : 'Type', typeText : 'Tekst', typePass : 'Passord' }, // Hidden Field Dialog. hidden : { title : 'Egenskaper for skjult felt', name : 'Navn', value : 'Verdi' }, // Image Dialog. image : { title : 'Bildeegenskaper', titleButton : 'Egenskaper for bildeknapp', menu : 'Bildeegenskaper', infoTab : 'Bildeinformasjon', btnUpload : 'Send det til serveren', upload : 'Last opp', alt : 'Alternativ tekst', lockRatio : 'Lås forhold', resetSize : 'Tilbakestill størrelse', border : 'Ramme', hSpace : 'HMarg', vSpace : 'VMarg', alertUrl : 'Vennligst skriv bilde-urlen', linkTab : 'Lenke', button2Img : 'Vil du endre den valgte bildeknappen til et vanlig bilde?', img2Button : 'Vil du endre det valgte bildet til en bildeknapp?', urlMissing : 'Bildets adresse mangler.', validateBorder : 'Ramme må være et heltall.', validateHSpace : 'HMarg må være et heltall.', validateVSpace : 'VMarg må være et heltall.' }, // Flash Dialog flash : { properties : 'Egenskaper for Flash-objekt', propertiesTab : 'Egenskaper', title : 'Flash-egenskaper', chkPlay : 'Autospill', chkLoop : 'Loop', chkMenu : 'Slå på Flash-meny', chkFull : 'Tillat fullskjerm', scale : 'Skaler', scaleAll : 'Vis alt', scaleNoBorder : 'Ingen ramme', scaleFit : 'Skaler til å passe', access : 'Scripttilgang', accessAlways : 'Alltid', accessSameDomain: 'Samme domene', accessNever : 'Aldri', alignAbsBottom : 'Abs bunn', alignAbsMiddle : 'Abs midten', alignBaseline : 'Bunnlinje', alignTextTop : 'Tekst topp', quality : 'Kvalitet', qualityBest : 'Best', qualityHigh : 'Høy', qualityAutoHigh : 'Auto høy', qualityMedium : 'Medium', qualityAutoLow : 'Auto lav', qualityLow : 'Lav', windowModeWindow: 'Vindu', windowModeOpaque: 'Opaque', windowModeTransparent : 'Gjennomsiktig', windowMode : 'Vindumodus', flashvars : 'Variabler for flash', bgcolor : 'Bakgrunnsfarge', hSpace : 'HMarg', vSpace : 'VMarg', validateSrc : 'Vennligst skriv inn lenkens url.', validateHSpace : 'HMarg må være et tall.', validateVSpace : 'VMarg må være et tall.' }, // Speller Pages Dialog spellCheck : { toolbar : 'Stavekontroll', title : 'Stavekontroll', notAvailable : 'Beklager, tjenesten er utilgjenglig nå.', errorLoading : 'Feil under lasting av applikasjonstjenestetjener: %s.', notInDic : 'Ikke i ordboken', changeTo : 'Endre til', btnIgnore : 'Ignorer', btnIgnoreAll : 'Ignorer alle', btnReplace : 'Erstatt', btnReplaceAll : 'Erstatt alle', btnUndo : 'Angre', noSuggestions : '- Ingen forslag -', progress : 'Stavekontroll pågår...', noMispell : 'Stavekontroll fullført: ingen feilstavinger funnet', noChanges : 'Stavekontroll fullført: ingen ord endret', oneChange : 'Stavekontroll fullført: Ett ord endret', manyChanges : 'Stavekontroll fullført: %1 ord endret', ieSpellDownload : 'Stavekontroll er ikke installert. Vil du laste den ned nå?' }, smiley : { toolbar : 'Smil', title : 'Sett inn smil', options : 'Alternativer for smil' }, elementsPath : { eleLabel : 'Element-sti', eleTitle : '%1 element' }, numberedlist : 'Legg til/Fjern nummerert liste', bulletedlist : 'Legg til/Fjern punktmerket liste', indent : 'Øk innrykk', outdent : 'Reduser innrykk', justify : { left : 'Venstrejuster', center : 'Midtstill', right : 'Høyrejuster', block : 'Blokkjuster' }, blockquote : 'Sitatblokk', clipboard : { title : 'Lim inn', cutError : 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk klipping av tekst. Vennligst bruk snareveien (Ctrl/Cmd+X).', copyError : 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk kopiering av tekst. Vennligst bruk snareveien (Ctrl/Cmd+C).', pasteMsg : 'Vennligst lim inn i følgende boks med tastaturet (<STRONG>Ctrl/Cmd+V</STRONG>) og trykk <STRONG>OK</STRONG>.', securityMsg : 'Din nettlesers sikkerhetsinstillinger gir ikke redigeringsverktøyet direkte tilgang til utklippstavlen. Du må derfor lime det inn på nytt i dette vinduet.', pasteArea : 'Innlimingsområde' }, pastefromword : { confirmCleanup : 'Teksten du limer inn ser ut til å være kopiert fra Word. Vil du renske den før du limer den inn?', toolbar : 'Lim inn fra Word', title : 'Lim inn fra Word', error : 'Det var ikke mulig å renske den innlimte teksten på grunn av en intern feil' }, pasteText : { button : 'Lim inn som ren tekst', title : 'Lim inn som ren tekst' }, templates : { button : 'Maler', title : 'Innholdsmaler', options : 'Alternativer for mal', insertOption : 'Erstatt gjeldende innhold', selectPromptMsg : 'Velg malen du vil åpne i redigeringsverktøyet:', emptyListMsg : '(Ingen maler definert)' }, showBlocks : 'Vis blokker', stylesCombo : { label : 'Stil', panelTitle : 'Stilformater', panelTitle1 : 'Blokkstiler', panelTitle2 : 'Inlinestiler', panelTitle3 : 'Objektstiler' }, format : { label : 'Format', panelTitle : 'Avsnittsformat', tag_p : 'Normal', tag_pre : 'Formatert', tag_address : 'Adresse', tag_h1 : 'Overskrift 1', tag_h2 : 'Overskrift 2', tag_h3 : 'Overskrift 3', tag_h4 : 'Overskrift 4', tag_h5 : 'Overskrift 5', tag_h6 : 'Overskrift 6', tag_div : 'Normal (DIV)' }, div : { title : 'Sett inn Div Container', toolbar : 'Sett inn Div Container', cssClassInputLabel : 'Stilark-klasser', styleSelectLabel : 'Stil', IdInputLabel : 'Id', languageCodeInputLabel : ' Språkkode', inlineStyleInputLabel : 'Inlinestiler', advisoryTitleInputLabel : 'Tittel', langDirLabel : 'Språkretning', langDirLTRLabel : 'Venstre til høyre (VTH)', langDirRTLLabel : 'Høyre til venstre (HTV)', edit : 'Rediger Div', remove : 'Fjern Div' }, iframe : { title : 'Egenskaper for IFrame', toolbar : 'IFrame', noUrl : 'Vennligst skriv inn URL for iframe', scrolling : 'Aktiver scrollefelt', border : 'Viss ramme rundt iframe' }, font : { label : 'Skrift', voiceLabel : 'Font', panelTitle : 'Skrift' }, fontSize : { label : 'Størrelse', voiceLabel : 'Font Størrelse', panelTitle : 'Størrelse' }, colorButton : { textColorTitle : 'Tekstfarge', bgColorTitle : 'Bakgrunnsfarge', panelTitle : 'Farger', auto : 'Automatisk', more : 'Flere farger...' }, colors : { '000' : 'Svart', '800000' : 'Rødbrun', '8B4513' : 'Salbrun', '2F4F4F' : 'Grønnsvart', '008080' : 'Blågrønn', '000080' : 'Marineblått', '4B0082' : 'Indigo', '696969' : 'Mørk grå', 'B22222' : 'Mørkerød', 'A52A2A' : 'Brun', 'DAA520' : 'Lys brun', '006400' : 'Mørk grønn', '40E0D0' : 'Turkis', '0000CD' : 'Medium blå', '800080' : 'Purpur', '808080' : 'Grå', 'F00' : 'Rød', 'FF8C00' : 'Mørk oransje', 'FFD700' : 'Gull', '008000' : 'Grønn', '0FF' : 'Cyan', '00F' : 'Blå', 'EE82EE' : 'Fiolett', 'A9A9A9' : 'Svak grå', 'FFA07A' : 'Rosa-oransje', 'FFA500' : 'Oransje', 'FFFF00' : 'Gul', '00FF00' : 'Lime', 'AFEEEE' : 'Svak turkis', 'ADD8E6' : 'Lys Blå', 'DDA0DD' : 'Plomme', 'D3D3D3' : 'Lys grå', 'FFF0F5' : 'Svak lavendelrosa', 'FAEBD7' : 'Antikk-hvit', 'FFFFE0' : 'Lys gul', 'F0FFF0' : 'Honningmelon', 'F0FFFF' : 'Svakt asurblått', 'F0F8FF' : 'Svak cyan', 'E6E6FA' : 'Lavendel', 'FFF' : 'Hvit' }, scayt : { title : 'Stavekontroll mens du skriver', opera_title : 'Ikke støttet av Opera', enable : 'Slå på SCAYT', disable : 'Slå av SCAYT', about : 'Om SCAYT', toggle : 'Veksle SCAYT', options : 'Valg', langs : 'Språk', moreSuggestions : 'Flere forslag', ignore : 'Ignorer', ignoreAll : 'Ignorer Alle', addWord : 'Legg til ord', emptyDic : 'Ordboknavn bør ikke være tom.', optionsTab : 'Valg', allCaps : 'Ikke kontroller ord med kun store bokstaver', ignoreDomainNames : 'Ikke kontroller domenenavn', mixedCase : 'Ikke kontroller ord med blandet små og store bokstaver', mixedWithDigits : 'Ikke kontroller ord som inneholder tall', languagesTab : 'Språk', dictionariesTab : 'Ordbøker', dic_field_name : 'Ordboknavn', dic_create : 'Opprett', dic_restore : 'Gjenopprett', dic_delete : 'Slett', dic_rename : 'Gi nytt navn', dic_info : 'Brukerordboken lagres først i en informasjonskapsel på din maskin, men det er en begrensning på hvor mye som kan lagres her. Når ordboken blir for stor til å lagres i en informasjonskapsel, vil vi i stedet lagre ordboken på vår server. For å lagre din personlige ordbok på vår server, burde du velge et navn for ordboken din. Hvis du allerede har lagret en ordbok, vennligst skriv inn ordbokens navn og klikk på Gjenopprett-knappen.', aboutTab : 'Om' }, about : { title : 'Om CKEditor', dlgTitle : 'Om CKEditor', help : 'Se $1 for hjelp.', userGuide : 'CKEditors brukerveiledning', moreInfo : 'For lisensieringsinformasjon, vennligst besøk vårt nettsted:', copy : 'Copyright &copy; $1. Alle rettigheter reservert.' }, maximize : 'Maksimer', minimize : 'Minimer', fakeobjects : { anchor : 'Anker', flash : 'Flash-animasjon', iframe : 'IFrame', hiddenfield : 'Skjult felt', unknown : 'Ukjent objekt' }, resize : 'Dra for å skalere', colordialog : { title : 'Velg farge', options : 'Alternativer for farge', highlight : 'Merk', selected : 'Valgt', clear : 'Tøm' }, toolbarCollapse : 'Skjul verktøylinje', toolbarExpand : 'Vis verktøylinje', toolbarGroups : { document : 'Dokument', clipboard : 'Utklippstavle/Angre', editing : 'Redigering', forms : 'Skjema', basicstyles : 'Basisstiler', paragraph : 'Avsnitt', links : 'Lenker', insert : 'Innsetting', styles : 'Stiler', colors : 'Farger', tools : 'Verktøy' }, bidi : { ltr : 'Tekstretning fra venstre til høyre', rtl : 'Tekstretning fra høyre til venstre' }, docprops : { label : 'Dokumentegenskaper', title : 'Dokumentegenskaper', design : 'Design', meta : 'Meta-data', chooseColor : 'Velg', other : '<annen>', docTitle : 'Sidetittel', charset : 'Tegnsett', charsetOther : 'Annet tegnsett', charsetASCII : 'ASCII', charsetCE : 'Sentraleuropeisk', charsetCT : 'Tradisonell kinesisk(Big5)', charsetCR : 'Kyrillisk', charsetGR : 'Gresk', charsetJP : 'Japansk', charsetKR : 'Koreansk', charsetTR : 'Tyrkisk', charsetUN : 'Unicode (UTF-8)', charsetWE : 'Vesteuropeisk', docType : 'Dokumenttype header', docTypeOther : 'Annet dokumenttype header', xhtmlDec : 'Inkluder XHTML-deklarasjon', bgColor : 'Bakgrunnsfarge', bgImage : 'URL for bakgrunnsbilde', bgFixed : 'Lås bakgrunnsbilde', txtColor : 'Tekstfarge', margin : 'Sidemargin', marginTop : 'Topp', marginLeft : 'Venstre', marginRight : 'Høyre', marginBottom : 'Bunn', metaKeywords : 'Dokument nøkkelord (kommaseparert)', metaDescription : 'Dokumentbeskrivelse', metaAuthor : 'Forfatter', metaCopyright : 'Kopirett', previewHtml : '<p>Dette er en <strong>eksempeltekst</strong>. Du bruker <a href="javascript:void(0)">CKEditor</a>.</p>' } };
zysms
trunk/zysms/include/ckeditor/_source/lang/no.js
JavaScript
asf20
23,381
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Icelandic language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['is'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'Kóði', newPage : 'Ný síða', save : 'Vista', preview : 'Forskoða', cut : 'Klippa', copy : 'Afrita', paste : 'Líma', print : 'Prenta', underline : 'Undirstrikað', bold : 'Feitletrað', italic : 'Skáletrað', selectAll : 'Velja allt', removeFormat : 'Fjarlægja snið', strike : 'Yfirstrikað', subscript : 'Niðurskrifað', superscript : 'Uppskrifað', horizontalrule : 'Lóðrétt lína', pagebreak : 'Setja inn síðuskil', pagebreakAlt : 'Page Break', // MISSING unlink : 'Fjarlægja stiklu', undo : 'Afturkalla', redo : 'Hætta við afturköllun', // Common messages and labels. common : { browseServer : 'Fletta í skjalasafni', url : 'Vefslóð', protocol : 'Samskiptastaðall', upload : 'Senda upp', uploadSubmit : 'Hlaða upp', image : 'Setja inn mynd', flash : 'Flash', form : 'Setja inn innsláttarform', checkbox : 'Setja inn hökunarreit', radio : 'Setja inn valhnapp', textField : 'Setja inn textareit', textarea : 'Setja inn textasvæði', hiddenField : 'Setja inn falið svæði', button : 'Setja inn hnapp', select : 'Setja inn lista', imageButton : 'Setja inn myndahnapp', notSet : '<ekkert valið>', id : 'Auðkenni', name : 'Nafn', langDir : 'Lesstefna', langDirLtr : 'Frá vinstri til hægri (LTR)', langDirRtl : 'Frá hægri til vinstri (RTL)', langCode : 'Tungumálakóði', longDescr : 'Nánari lýsing', cssClass : 'Stílsniðsflokkur', advisoryTitle : 'Titill', cssStyle : 'Stíll', ok : 'Í lagi', cancel : 'Hætta við', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'Almennt', advancedTab : 'Tæknilegt', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Breidd', height : 'Hæð', align : 'Jöfnun', alignLeft : 'Vinstri', alignRight : 'Hægri', alignCenter : 'Miðjað', alignTop : 'Efst', alignMiddle : 'Miðjuð', alignBottom : 'Neðst', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Setja inn merki', title : 'Velja tákn', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Stofna/breyta stiklu', other : '<annar>', menu : 'Breyta stiklu', title : 'Stikla', info : 'Almennt', target : 'Mark', upload : 'Senda upp', advanced : 'Tæknilegt', type : 'Stikluflokkur', toUrl : 'URL', // MISSING toAnchor : 'Bókamerki á þessari síðu', toEmail : 'Netfang', targetFrame : '<rammi>', targetPopup : '<sprettigluggi>', targetFrameName : 'Nafn markglugga', targetPopupName : 'Nafn sprettiglugga', popupFeatures : 'Eigindi sprettiglugga', popupResizable : 'Resizable', // MISSING popupStatusBar : 'Stöðustika', popupLocationBar: 'Fanglína', popupToolbar : 'Verkfærastika', popupMenuBar : 'Vallína', popupFullScreen : 'Heilskjár (IE)', popupScrollBars : 'Skrunstikur', popupDependent : 'Háð venslum (Netscape)', popupLeft : 'Fjarlægð frá vinstri', popupTop : 'Fjarlægð frá efri brún', id : 'Id', // MISSING langDir : 'Lesstefna', langDirLTR : 'Frá vinstri til hægri (LTR)', langDirRTL : 'Frá hægri til vinstri (RTL)', acccessKey : 'Skammvalshnappur', name : 'Nafn', langCode : 'Lesstefna', tabIndex : 'Raðnúmer innsláttarreits', advisoryTitle : 'Titill', advisoryContentType : 'Tegund innihalds', cssClasses : 'Stílsniðsflokkur', charset : 'Táknróf', styles : 'Stíll', rel : 'Relationship', // MISSING selectAnchor : 'Veldu akkeri', anchorName : 'Eftir akkerisnafni', anchorId : 'Eftir auðkenni einingar', emailAddress : 'Netfang', emailSubject : 'Efni', emailBody : 'Meginmál', noAnchors : '<Engin bókamerki á skrá>', noUrl : 'Sláðu inn veffang stiklunnar!', noEmail : 'Sláðu inn netfang!' }, // Anchor dialog anchor : { toolbar : 'Stofna/breyta kaflamerki', menu : 'Eigindi kaflamerkis', title : 'Eigindi kaflamerkis', name : 'Nafn bókamerkis', errorName : 'Sláðu inn nafn bókamerkis!', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Finna og skipta', find : 'Leita', replace : 'Skipta út', findWhat : 'Leita að:', replaceWith : 'Skipta út fyrir:', notFoundMsg : 'Leitartexti fannst ekki!', findOptions : 'Find Options', // MISSING matchCase : 'Gera greinarmun á¡ há¡- og lágstöfum', matchWord : 'Aðeins heil orð', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'Skipta út allsstaðar', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'Tafla', title : 'Eigindi töflu', menu : 'Eigindi töflu', deleteTable : 'Fella töflu', rows : 'Raðir', columns : 'Dálkar', border : 'Breidd ramma', widthPx : 'myndeindir', widthPc : 'prósent', widthUnit : 'width unit', // MISSING cellSpace : 'Bil milli reita', cellPad : 'Reitaspássía', caption : 'Titill', summary : 'Áfram', headers : 'Fyrirsagnir', headersNone : 'Engar', headersColumn : 'Fyrsti dálkur', headersRow : 'Fyrsta röð', headersBoth : 'Hvort tveggja', invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'Reitur', insertBefore : 'Skjóta inn reiti fyrir aftan', insertAfter : 'Skjóta inn reiti fyrir framan', deleteCell : 'Fella reit', merge : 'Sameina reiti', mergeRight : 'Sameina til hægri', mergeDown : 'Sameina niður á við', splitHorizontal : 'Kljúfa reit lárétt', splitVertical : 'Kljúfa reit lóðrétt', title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'Röð', insertBefore : 'Skjóta inn röð fyrir ofan', insertAfter : 'Skjóta inn röð fyrir neðan', deleteRow : 'Eyða röð' }, column : { menu : 'Dálkur', insertBefore : 'Skjóta inn dálki vinstra megin', insertAfter : 'Skjóta inn dálki hægra megin', deleteColumn : 'Fella dálk' } }, // Button Dialog. button : { title : 'Eigindi hnapps', text : 'Texti', type : 'Gerð', typeBtn : 'Hnappur', typeSbm : 'Staðfesta', typeRst : 'Hreinsa' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Eigindi markreits', radioTitle : 'Eigindi valhnapps', value : 'Gildi', selected : 'Valið' }, // Form Dialog. form : { title : 'Eigindi innsláttarforms', menu : 'Eigindi innsláttarforms', action : 'Aðgerð', method : 'Aðferð', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'Eigindi lista', selectInfo : 'Upplýsingar', opAvail : 'Kostir', value : 'Gildi', size : 'Stærð', lines : 'línur', chkMulti : 'Leyfa fleiri kosti', opText : 'Texti', opValue : 'Gildi', btnAdd : 'Bæta við', btnModify : 'Breyta', btnUp : 'Upp', btnDown : 'Niður', btnSetValue : 'Merkja sem valið', btnDelete : 'Eyða' }, // Textarea Dialog. textarea : { title : 'Eigindi textasvæðis', cols : 'Dálkar', rows : 'Línur' }, // Text Field Dialog. textfield : { title : 'Eigindi textareits', name : 'Nafn', value : 'Gildi', charWidth : 'Breidd (leturtákn)', maxChars : 'Hámarksfjöldi leturtákna', type : 'Gerð', typeText : 'Texti', typePass : 'Lykilorð' }, // Hidden Field Dialog. hidden : { title : 'Eigindi falins svæðis', name : 'Nafn', value : 'Gildi' }, // Image Dialog. image : { title : 'Eigindi myndar', titleButton : 'Eigindi myndahnapps', menu : 'Eigindi myndar', infoTab : 'Almennt', btnUpload : 'Hlaða upp', upload : 'Hlaða upp', alt : 'Baklægur texti', lockRatio : 'Festa stærðarhlutfall', resetSize : 'Reikna stærð', border : 'Rammi', hSpace : 'Vinstri bil', vSpace : 'Hægri bil', alertUrl : 'Sláðu inn slóðina að myndinni', linkTab : 'Stikla', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Eigindi Flash', propertiesTab : 'Properties', // MISSING title : 'Eigindi Flash', chkPlay : 'Sjálfvirk spilun', chkLoop : 'Endurtekning', chkMenu : 'Sýna Flash-valmynd', chkFull : 'Allow Fullscreen', // MISSING scale : 'Skali', scaleAll : 'Sýna allt', scaleNoBorder : 'Án ramma', scaleFit : 'Fella skala að stærð', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Abs neðst', alignAbsMiddle : 'Abs miðjuð', alignBaseline : 'Grunnlína', alignTextTop : 'Efri brún texta', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'Bakgrunnslitur', hSpace : 'Vinstri bil', vSpace : 'Hægri bil', validateSrc : 'Sláðu inn veffang stiklunnar!', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'Villuleit', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'Ekki í orðabókinni', changeTo : 'Tillaga', btnIgnore : 'Hunsa', btnIgnoreAll : 'Hunsa allt', btnReplace : 'Skipta', btnReplaceAll : 'Skipta öllu', btnUndo : 'Til baka', noSuggestions : '- engar tillögur -', progress : 'Villuleit í gangi...', noMispell : 'Villuleit lokið: Engin villa fannst', noChanges : 'Villuleit lokið: Engu orði breytt', oneChange : 'Villuleit lokið: Einu orði breytt', manyChanges : 'Villuleit lokið: %1 orðum breytt', ieSpellDownload : 'Villuleit ekki sett upp.<br>Viltu setja hana upp?' }, smiley : { toolbar : 'Svipur', title : 'Velja svip', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'Númeraður listi', bulletedlist : 'Punktalisti', indent : 'Minnka inndrátt', outdent : 'Auka inndrátt', justify : { left : 'Vinstrijöfnun', center : 'Miðja texta', right : 'Hægrijöfnun', block : 'Jafna báðum megin' }, blockquote : 'Inndráttur', clipboard : { title : 'Líma', cutError : 'Öryggisstillingar vafrans þíns leyfa ekki klippingu texta með músaraðgerð. Notaðu lyklaborðið í klippa (Ctrl/Cmd+X).', copyError : 'Öryggisstillingar vafrans þíns leyfa ekki afritun texta með músaraðgerð. Notaðu lyklaborðið í afrita (Ctrl/Cmd+C).', pasteMsg : 'Límdu í svæðið hér að neðan og (<STRONG>Ctrl/Cmd+V</STRONG>) og smelltu á <STRONG>OK</STRONG>.', securityMsg : 'Vegna öryggisstillinga í vafranum þínum fær ritillinn ekki beinan aðgang að klippuborðinu. Þú verður að líma innihaldið aftur inn í þennan glugga.', pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Líma úr Word', title : 'Líma úr Word', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Líma sem ósniðinn texta', title : 'Líma sem ósniðinn texta' }, templates : { button : 'Sniðmát', title : 'Innihaldssniðmát', options : 'Template Options', // MISSING insertOption : 'Skipta út raunverulegu innihaldi', selectPromptMsg : 'Veldu sniðmát til að opna í ritlinum.<br>(Núverandi innihald víkur fyrir því!):', emptyListMsg : '(Ekkert sniðmát er skilgreint!)' }, showBlocks : 'Sýna blokkir', stylesCombo : { label : 'Stílflokkur', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'Stílsnið', panelTitle : 'Stílsnið', tag_p : 'Venjulegt letur', tag_pre : 'Forsniðið', tag_address : 'Vistfang', tag_h1 : 'Fyrirsögn 1', tag_h2 : 'Fyrirsögn 2', tag_h3 : 'Fyrirsögn 3', tag_h4 : 'Fyrirsögn 4', tag_h5 : 'Fyrirsögn 5', tag_h6 : 'Fyrirsögn 6', tag_div : 'Venjulegt (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Leturgerð ', voiceLabel : 'Font', // MISSING panelTitle : 'Leturgerð ' }, fontSize : { label : 'Leturstærð ', voiceLabel : 'Font Size', // MISSING panelTitle : 'Leturstærð ' }, colorButton : { textColorTitle : 'Litur texta', bgColorTitle : 'Bakgrunnslitur', panelTitle : 'Colors', // MISSING auto : 'Sjálfval', more : 'Fleiri liti...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Eigindi skjals', title : 'Eigindi skjals', design : 'Design', // MISSING meta : 'Lýsigögn', chooseColor : 'Choose', // MISSING other : '<annar>', docTitle : 'Titill síðu', charset : 'Letursett', charsetOther : 'Annað letursett', charsetASCII : 'ASCII', // MISSING charsetCE : 'Mið-evrópskt', charsetCT : 'Kínverskt, hefðbundið (Big5)', charsetCR : 'Kýrilskt', charsetGR : 'Grískt', charsetJP : 'Japanskt', charsetKR : 'Kóreskt', charsetTR : 'Tyrkneskt', charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Vestur-evrópst', docType : 'Flokkur skjalategunda', docTypeOther : 'Annar flokkur skjalategunda', xhtmlDec : 'Fella inn XHTML lýsingu', bgColor : 'Bakgrunnslitur', bgImage : 'Slóð bakgrunnsmyndar', bgFixed : 'Læstur bakgrunnur', txtColor : 'Litur texta', margin : 'Hliðarspássía', marginTop : 'Efst', marginLeft : 'Vinstri', marginRight : 'Hægri', marginBottom : 'Neðst', metaKeywords : 'Lykilorð efnisorðaskrár (aðgreind með kommum)', metaDescription : 'Lýsing skjals', metaAuthor : 'Höfundur', metaCopyright : 'Höfundarréttur', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/is.js
JavaScript
asf20
26,229
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Malay language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['ms'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'Sumber', newPage : 'Helaian Baru', save : 'Simpan', preview : 'Prebiu', cut : 'Potong', copy : 'Salin', paste : 'Tampal', print : 'Cetak', underline : 'Underline', bold : 'Bold', italic : 'Italic', selectAll : 'Pilih Semua', removeFormat : 'Buang Format', strike : 'Strike Through', subscript : 'Subscript', superscript : 'Superscript', horizontalrule : 'Masukkan Garisan Membujur', pagebreak : 'Insert Page Break for Printing', // MISSING pagebreakAlt : 'Page Break', // MISSING unlink : 'Buang Sambungan', undo : 'Batalkan', redo : 'Ulangkan', // Common messages and labels. common : { browseServer : 'Browse Server', url : 'URL', protocol : 'Protokol', upload : 'Muat Naik', uploadSubmit : 'Hantar ke Server', image : 'Gambar', flash : 'Flash', // MISSING form : 'Borang', checkbox : 'Checkbox', radio : 'Butang Radio', textField : 'Text Field', textarea : 'Textarea', hiddenField : 'Field Tersembunyi', button : 'Butang', select : 'Field Pilihan', imageButton : 'Butang Bergambar', notSet : '<tidak di set>', id : 'Id', name : 'Nama', langDir : 'Arah Tulisan', langDirLtr : 'Kiri ke Kanan (LTR)', langDirRtl : 'Kanan ke Kiri (RTL)', langCode : 'Kod Bahasa', longDescr : 'Butiran Panjang URL', cssClass : 'Kelas-kelas Stylesheet', advisoryTitle : 'Tajuk Makluman', cssStyle : 'Stail', ok : 'OK', cancel : 'Batal', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', // MISSING advancedTab : 'Advanced', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Lebar', height : 'Tinggi', align : 'Jajaran', alignLeft : 'Kiri', alignRight : 'Kanan', alignCenter : 'Tengah', alignTop : 'Atas', alignMiddle : 'Pertengahan', alignBottom : 'Bawah', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Masukkan Huruf Istimewa', title : 'Sila pilih huruf istimewa', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Masukkan/Sunting Sambungan', other : '<lain>', menu : 'Sunting Sambungan', title : 'Sambungan', info : 'Butiran Sambungan', target : 'Sasaran', upload : 'Muat Naik', advanced : 'Advanced', type : 'Jenis Sambungan', toUrl : 'URL', // MISSING toAnchor : 'Pautan dalam muka surat ini', toEmail : 'E-Mail', targetFrame : '<bingkai>', targetPopup : '<tetingkap popup>', targetFrameName : 'Nama Bingkai Sasaran', targetPopupName : 'Nama Tetingkap Popup', popupFeatures : 'Ciri Tetingkap Popup', popupResizable : 'Resizable', // MISSING popupStatusBar : 'Bar Status', popupLocationBar: 'Bar Lokasi', popupToolbar : 'Toolbar', popupMenuBar : 'Bar Menu', popupFullScreen : 'Skrin Penuh (IE)', popupScrollBars : 'Bar-bar skrol', popupDependent : 'Bergantungan (Netscape)', popupLeft : 'Posisi Kiri', popupTop : 'Posisi Atas', id : 'Id', // MISSING langDir : 'Arah Tulisan', langDirLTR : 'Kiri ke Kanan (LTR)', langDirRTL : 'Kanan ke Kiri (RTL)', acccessKey : 'Kunci Akses', name : 'Nama', langCode : 'Arah Tulisan', tabIndex : 'Indeks Tab ', advisoryTitle : 'Tajuk Makluman', advisoryContentType : 'Jenis Kandungan Makluman', cssClasses : 'Kelas-kelas Stylesheet', charset : 'Linked Resource Charset', styles : 'Stail', rel : 'Relationship', // MISSING selectAnchor : 'Sila pilih pautan', anchorName : 'dengan menggunakan nama pautan', anchorId : 'dengan menggunakan ID elemen', emailAddress : 'Alamat E-Mail', emailSubject : 'Subjek Mesej', emailBody : 'Isi Kandungan Mesej', noAnchors : '(Tiada pautan terdapat dalam dokumen ini)', noUrl : 'Sila taip sambungan URL', noEmail : 'Sila taip alamat e-mail' }, // Anchor dialog anchor : { toolbar : 'Masukkan/Sunting Pautan', menu : 'Ciri-ciri Pautan', title : 'Ciri-ciri Pautan', name : 'Nama Pautan', errorName : 'Sila taip nama pautan', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Find and Replace', // MISSING find : 'Cari', replace : 'Ganti', findWhat : 'Perkataan yang dicari:', replaceWith : 'Diganti dengan:', notFoundMsg : 'Text yang dicari tidak dijumpai.', findOptions : 'Find Options', // MISSING matchCase : 'Padanan case huruf', matchWord : 'Padana Keseluruhan perkataan', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'Ganti semua', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'Jadual', title : 'Ciri-ciri Jadual', menu : 'Ciri-ciri Jadual', deleteTable : 'Delete Table', // MISSING rows : 'Barisan', columns : 'Jaluran', border : 'Saiz Border', widthPx : 'piksel-piksel', widthPc : 'peratus', widthUnit : 'width unit', // MISSING cellSpace : 'Ruangan Antara Sel', cellPad : 'Tambahan Ruang Sel', caption : 'Keterangan', summary : 'Summary', // MISSING headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'Cell', // MISSING insertBefore : 'Insert Cell Before', // MISSING insertAfter : 'Insert Cell After', // MISSING deleteCell : 'Buangkan Sel-sel', merge : 'Cantumkan Sel-sel', mergeRight : 'Merge Right', // MISSING mergeDown : 'Merge Down', // MISSING splitHorizontal : 'Split Cell Horizontally', // MISSING splitVertical : 'Split Cell Vertically', // MISSING title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'Row', // MISSING insertBefore : 'Insert Row Before', // MISSING insertAfter : 'Insert Row After', // MISSING deleteRow : 'Buangkan Baris' }, column : { menu : 'Column', // MISSING insertBefore : 'Insert Column Before', // MISSING insertAfter : 'Insert Column After', // MISSING deleteColumn : 'Buangkan Lajur' } }, // Button Dialog. button : { title : 'Ciri-ciri Butang', text : 'Teks (Nilai)', type : 'Jenis', typeBtn : 'Button', // MISSING typeSbm : 'Submit', // MISSING typeRst : 'Reset' // MISSING }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Ciri-ciri Checkbox', radioTitle : 'Ciri-ciri Butang Radio', value : 'Nilai', selected : 'Dipilih' }, // Form Dialog. form : { title : 'Ciri-ciri Borang', menu : 'Ciri-ciri Borang', action : 'Tindakan borang', method : 'Cara borang dihantar', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'Ciri-ciri Selection Field', selectInfo : 'Select Info', // MISSING opAvail : 'Pilihan sediada', value : 'Nilai', size : 'Saiz', lines : 'garisan', chkMulti : 'Benarkan pilihan pelbagai', opText : 'Teks', opValue : 'Nilai', btnAdd : 'Tambah Pilihan', btnModify : 'Ubah Pilihan', btnUp : 'Naik ke atas', btnDown : 'Turun ke bawah', btnSetValue : 'Set sebagai nilai terpilih', btnDelete : 'Padam' }, // Textarea Dialog. textarea : { title : 'Ciri-ciri Textarea', cols : 'Lajur', rows : 'Baris' }, // Text Field Dialog. textfield : { title : 'Ciri-ciri Text Field', name : 'Nama', value : 'Nilai', charWidth : 'Lebar isian', maxChars : 'Isian Maksimum', type : 'Jenis', typeText : 'Teks', typePass : 'Kata Laluan' }, // Hidden Field Dialog. hidden : { title : 'Ciri-ciri Field Tersembunyi', name : 'Nama', value : 'Nilai' }, // Image Dialog. image : { title : 'Ciri-ciri Imej', titleButton : 'Ciri-ciri Butang Bergambar', menu : 'Ciri-ciri Imej', infoTab : 'Info Imej', btnUpload : 'Hantar ke Server', upload : 'Muat Naik', alt : 'Text Alternatif', lockRatio : 'Tetapkan Nisbah', resetSize : 'Saiz Set Semula', border : 'Border', hSpace : 'Ruang Melintang', vSpace : 'Ruang Menegak', alertUrl : 'Sila taip URL untuk fail gambar', linkTab : 'Sambungan', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Flash Properties', // MISSING propertiesTab : 'Properties', // MISSING title : 'Flash Properties', // MISSING chkPlay : 'Auto Play', // MISSING chkLoop : 'Loop', // MISSING chkMenu : 'Enable Flash Menu', // MISSING chkFull : 'Allow Fullscreen', // MISSING scale : 'Scale', // MISSING scaleAll : 'Show all', // MISSING scaleNoBorder : 'No Border', // MISSING scaleFit : 'Exact Fit', // MISSING access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Bawah Mutlak', alignAbsMiddle : 'Pertengahan Mutlak', alignBaseline : 'Garis Dasar', alignTextTop : 'Atas Text', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'Warna Latarbelakang', hSpace : 'Ruang Melintang', vSpace : 'Ruang Menegak', validateSrc : 'Sila taip sambungan URL', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'Semak Ejaan', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'Tidak terdapat didalam kamus', changeTo : 'Tukarkan kepada', btnIgnore : 'Biar', btnIgnoreAll : 'Biarkan semua', btnReplace : 'Ganti', btnReplaceAll : 'Gantikan Semua', btnUndo : 'Batalkan', noSuggestions : '- Tiada cadangan -', progress : 'Pemeriksaan ejaan sedang diproses...', noMispell : 'Pemeriksaan ejaan siap: Tiada salah ejaan', noChanges : 'Pemeriksaan ejaan siap: Tiada perkataan diubah', oneChange : 'Pemeriksaan ejaan siap: Satu perkataan telah diubah', manyChanges : 'Pemeriksaan ejaan siap: %1 perkataan diubah', ieSpellDownload : 'Pemeriksa ejaan tidak dipasang. Adakah anda mahu muat turun sekarang?' }, smiley : { toolbar : 'Smiley', title : 'Masukkan Smiley', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'Senarai bernombor', bulletedlist : 'Senarai tidak bernombor', indent : 'Tambahkan Inden', outdent : 'Kurangkan Inden', justify : { left : 'Jajaran Kiri', center : 'Jajaran Tengah', right : 'Jajaran Kanan', block : 'Jajaran Blok' }, blockquote : 'Block Quote', // MISSING clipboard : { title : 'Tampal', cutError : 'Keselamatan perisian browser anda tidak membenarkan operasi suntingan text/imej. Sila gunakan papan kekunci (Ctrl/Cmd+X).', copyError : 'Keselamatan perisian browser anda tidak membenarkan operasi salinan text/imej. Sila gunakan papan kekunci (Ctrl/Cmd+C).', pasteMsg : 'Please paste inside the following box using the keyboard (<strong>Ctrl/Cmd+V</strong>) and hit OK', // MISSING securityMsg : '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 pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Tampal dari Word', title : 'Tampal dari Word', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Tampal sebagai text biasa', title : 'Tampal sebagai text biasa' }, templates : { button : 'Templat', title : 'Templat Kandungan', options : 'Template Options', // MISSING insertOption : 'Replace actual contents', // MISSING selectPromptMsg : 'Sila pilih templat untuk dibuka oleh editor<br>(kandungan sebenar akan hilang):', emptyListMsg : '(Tiada Templat Disimpan)' }, showBlocks : 'Show Blocks', // MISSING stylesCombo : { label : 'Stail', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'Format', panelTitle : 'Format', tag_p : 'Normal', tag_pre : 'Telah Diformat', tag_address : 'Alamat', tag_h1 : 'Heading 1', tag_h2 : 'Heading 2', tag_h3 : 'Heading 3', tag_h4 : 'Heading 4', tag_h5 : 'Heading 5', tag_h6 : 'Heading 6', tag_div : 'Perenggan (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Font', voiceLabel : 'Font', // MISSING panelTitle : 'Font' }, fontSize : { label : 'Saiz', voiceLabel : 'Font Size', // MISSING panelTitle : 'Saiz' }, colorButton : { textColorTitle : 'Warna Text', bgColorTitle : 'Warna Latarbelakang', panelTitle : 'Colors', // MISSING auto : 'Otomatik', more : 'Warna lain-lain...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Ciri-ciri dokumen', title : 'Ciri-ciri dokumen', design : 'Design', // MISSING meta : 'Data Meta', chooseColor : 'Choose', // MISSING other : '<lain>', docTitle : 'Tajuk Muka Surat', charset : 'Enkod Set Huruf', charsetOther : 'Enkod Set Huruf yang Lain', charsetASCII : 'ASCII', // MISSING charsetCE : 'Central European', // MISSING charsetCT : 'Chinese Traditional (Big5)', // MISSING charsetCR : 'Cyrillic', // MISSING charsetGR : 'Greek', // MISSING charsetJP : 'Japanese', // MISSING charsetKR : 'Korean', // MISSING charsetTR : 'Turkish', // MISSING charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Western European', // MISSING docType : 'Jenis Kepala Dokumen', docTypeOther : 'Jenis Kepala Dokumen yang Lain', xhtmlDec : 'Masukkan pemula kod XHTML', bgColor : 'Warna Latarbelakang', bgImage : 'URL Gambar Latarbelakang', bgFixed : 'Imej Latarbelakang tanpa Skrol', txtColor : 'Warna Text', margin : 'Margin Muka Surat', marginTop : 'Atas', marginLeft : 'Kiri', marginRight : 'Kanan', marginBottom : 'Bawah', metaKeywords : 'Kata Kunci Indeks Dokumen (dipisahkan oleh koma)', metaDescription : 'Keterangan Dokumen', metaAuthor : 'Penulis', metaCopyright : 'Hakcipta', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/ms.js
JavaScript
asf20
26,623
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Bosnian language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['bs'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'HTML kôd', newPage : 'Novi dokument', save : 'Snimi', preview : 'Prikaži', cut : 'Izreži', copy : 'Kopiraj', paste : 'Zalijepi', print : 'Štampaj', underline : 'Podvuci', bold : 'Boldiraj', italic : 'Ukosi', selectAll : 'Selektuj sve', removeFormat : 'Poništi format', strike : 'Precrtaj', subscript : 'Subscript', superscript : 'Superscript', horizontalrule : 'Ubaci horizontalnu liniju', pagebreak : 'Insert Page Break for Printing', // MISSING pagebreakAlt : 'Page Break', // MISSING unlink : 'Izbriši link', undo : 'Vrati', redo : 'Ponovi', // Common messages and labels. common : { browseServer : 'Browse Server', // MISSING url : 'URL', protocol : 'Protokol', upload : 'Šalji', uploadSubmit : 'Šalji na server', image : 'Slika', flash : 'Flash', // MISSING form : 'Form', // MISSING checkbox : 'Checkbox', // MISSING radio : 'Radio Button', // MISSING textField : 'Text Field', // MISSING textarea : 'Textarea', // MISSING hiddenField : 'Hidden Field', // MISSING button : 'Button', // MISSING select : 'Selection Field', // MISSING imageButton : 'Image Button', // MISSING notSet : '<nije podešeno>', id : 'Id', name : 'Naziv', langDir : 'Smjer pisanja', langDirLtr : 'S lijeva na desno (LTR)', langDirRtl : 'S desna na lijevo (RTL)', langCode : 'Jezièni kôd', longDescr : 'Dugaèki opis URL-a', cssClass : 'Klase CSS stilova', advisoryTitle : 'Advisory title', cssStyle : 'Stil', ok : 'OK', cancel : 'Odustani', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', // MISSING advancedTab : 'Naprednije', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Širina', height : 'Visina', align : 'Poravnanje', alignLeft : 'Lijevo', alignRight : 'Desno', alignCenter : 'Centar', alignTop : 'Vrh', alignMiddle : 'Sredina', alignBottom : 'Dno', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Ubaci specijalni karater', title : 'Izaberi specijalni karakter', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Ubaci/Izmjeni link', other : '<other>', // MISSING menu : 'Izmjeni link', title : 'Link', info : 'Link info', target : 'Prozor', upload : 'Šalji', advanced : 'Naprednije', type : 'Tip linka', toUrl : 'URL', // MISSING toAnchor : 'Sidro na ovoj stranici', toEmail : 'E-Mail', targetFrame : '<frejm>', targetPopup : '<popup prozor>', targetFrameName : 'Target Frame Name', // MISSING targetPopupName : 'Naziv popup prozora', popupFeatures : 'Moguænosti popup prozora', popupResizable : 'Resizable', // MISSING popupStatusBar : 'Statusna traka', popupLocationBar: 'Traka za lokaciju', popupToolbar : 'Traka sa alatima', popupMenuBar : 'Izborna traka', popupFullScreen : 'Cijeli ekran (IE)', popupScrollBars : 'Scroll traka', popupDependent : 'Ovisno (Netscape)', popupLeft : 'Lijeva pozicija', popupTop : 'Gornja pozicija', id : 'Id', // MISSING langDir : 'Smjer pisanja', langDirLTR : 'S lijeva na desno (LTR)', langDirRTL : 'S desna na lijevo (RTL)', acccessKey : 'Pristupna tipka', name : 'Naziv', langCode : 'Smjer pisanja', tabIndex : 'Tab indeks', advisoryTitle : 'Advisory title', advisoryContentType : 'Advisory vrsta sadržaja', cssClasses : 'Klase CSS stilova', charset : 'Linked Resource Charset', styles : 'Stil', rel : 'Relationship', // MISSING selectAnchor : 'Izaberi sidro', anchorName : 'Po nazivu sidra', anchorId : 'Po Id-u elementa', emailAddress : 'E-Mail Adresa', emailSubject : 'Subjekt poruke', emailBody : 'Poruka', noAnchors : '(Nema dostupnih sidra na stranici)', noUrl : 'Molimo ukucajte URL link', noEmail : 'Molimo ukucajte e-mail adresu' }, // Anchor dialog anchor : { toolbar : 'Anchor', // MISSING menu : 'Edit Anchor', // MISSING title : 'Anchor Properties', // MISSING name : 'Anchor Name', // MISSING errorName : 'Please type the anchor name', // MISSING remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Find and Replace', // MISSING find : 'Naði', replace : 'Zamjeni', findWhat : 'Naði šta:', replaceWith : 'Zamjeni sa:', notFoundMsg : 'Traženi tekst nije pronaðen.', findOptions : 'Find Options', // MISSING matchCase : 'Uporeðuj velika/mala slova', matchWord : 'Uporeðuj samo cijelu rijeè', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'Zamjeni sve', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'Tabela', title : 'Svojstva tabele', menu : 'Svojstva tabele', deleteTable : 'Delete Table', // MISSING rows : 'Redova', columns : 'Kolona', border : 'Okvir', widthPx : 'piksela', widthPc : 'posto', widthUnit : 'width unit', // MISSING cellSpace : 'Razmak æelija', cellPad : 'Uvod æelija', caption : 'Naslov', summary : 'Summary', // MISSING headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'Cell', // MISSING insertBefore : 'Insert Cell Before', // MISSING insertAfter : 'Insert Cell After', // MISSING deleteCell : 'Briši æelije', merge : 'Spoji æelije', mergeRight : 'Merge Right', // MISSING mergeDown : 'Merge Down', // MISSING splitHorizontal : 'Split Cell Horizontally', // MISSING splitVertical : 'Split Cell Vertically', // MISSING title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'Row', // MISSING insertBefore : 'Insert Row Before', // MISSING insertAfter : 'Insert Row After', // MISSING deleteRow : 'Briši redove' }, column : { menu : 'Column', // MISSING insertBefore : 'Insert Column Before', // MISSING insertAfter : 'Insert Column After', // MISSING deleteColumn : 'Briši kolone' } }, // Button Dialog. button : { title : 'Button Properties', // MISSING text : 'Text (Value)', // MISSING type : 'Type', // MISSING typeBtn : 'Button', // MISSING typeSbm : 'Submit', // MISSING typeRst : 'Reset' // MISSING }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Checkbox Properties', // MISSING radioTitle : 'Radio Button Properties', // MISSING value : 'Value', // MISSING selected : 'Selected' // MISSING }, // Form Dialog. form : { title : 'Form Properties', // MISSING menu : 'Form Properties', // MISSING action : 'Action', // MISSING method : 'Method', // MISSING encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'Selection Field Properties', // MISSING selectInfo : 'Select Info', // MISSING opAvail : 'Available Options', // MISSING value : 'Value', // MISSING size : 'Size', // MISSING lines : 'lines', // MISSING chkMulti : 'Allow multiple selections', // MISSING opText : 'Text', // MISSING opValue : 'Value', // MISSING btnAdd : 'Add', // MISSING btnModify : 'Modify', // MISSING btnUp : 'Up', // MISSING btnDown : 'Down', // MISSING btnSetValue : 'Set as selected value', // MISSING btnDelete : 'Delete' // MISSING }, // Textarea Dialog. textarea : { title : 'Textarea Properties', // MISSING cols : 'Columns', // MISSING rows : 'Rows' // MISSING }, // Text Field Dialog. textfield : { title : 'Text Field Properties', // MISSING name : 'Name', // MISSING value : 'Value', // MISSING charWidth : 'Character Width', // MISSING maxChars : 'Maximum Characters', // MISSING type : 'Type', // MISSING typeText : 'Text', // MISSING typePass : 'Password' // MISSING }, // Hidden Field Dialog. hidden : { title : 'Hidden Field Properties', // MISSING name : 'Name', // MISSING value : 'Value' // MISSING }, // Image Dialog. image : { title : 'Svojstva slike', titleButton : 'Image Button Properties', // MISSING menu : 'Svojstva slike', infoTab : 'Info slike', btnUpload : 'Šalji na server', upload : 'Šalji', alt : 'Tekst na slici', lockRatio : 'Zakljuèaj odnos', resetSize : 'Resetuj dimenzije', border : 'Okvir', hSpace : 'HSpace', vSpace : 'VSpace', alertUrl : 'Molimo ukucajte URL od slike.', linkTab : 'Link', // MISSING button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Flash Properties', // MISSING propertiesTab : 'Properties', // MISSING title : 'Flash Properties', // MISSING chkPlay : 'Auto Play', // MISSING chkLoop : 'Loop', // MISSING chkMenu : 'Enable Flash Menu', // MISSING chkFull : 'Allow Fullscreen', // MISSING scale : 'Scale', // MISSING scaleAll : 'Show all', // MISSING scaleNoBorder : 'No Border', // MISSING scaleFit : 'Exact Fit', // MISSING access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Abs dole', alignAbsMiddle : 'Abs sredina', alignBaseline : 'Bazno', alignTextTop : 'Vrh teksta', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'Boja pozadine', hSpace : 'HSpace', vSpace : 'VSpace', validateSrc : 'Molimo ukucajte URL link', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'Check Spelling', // MISSING title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'Not in dictionary', // MISSING changeTo : 'Change to', // MISSING btnIgnore : 'Ignore', // MISSING btnIgnoreAll : 'Ignore All', // MISSING btnReplace : 'Replace', // MISSING btnReplaceAll : 'Replace All', // MISSING btnUndo : 'Undo', // MISSING noSuggestions : '- No suggestions -', // MISSING progress : 'Spell check in progress...', // MISSING noMispell : 'Spell check complete: No misspellings found', // MISSING noChanges : 'Spell check complete: No words changed', // MISSING oneChange : 'Spell check complete: One word changed', // MISSING manyChanges : 'Spell check complete: %1 words changed', // MISSING ieSpellDownload : 'Spell checker not installed. Do you want to download it now?' // MISSING }, smiley : { toolbar : 'Smješko', title : 'Ubaci smješka', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'Numerisana lista', bulletedlist : 'Lista', indent : 'Poveæaj uvod', outdent : 'Smanji uvod', justify : { left : 'Lijevo poravnanje', center : 'Centralno poravnanje', right : 'Desno poravnanje', block : 'Puno poravnanje' }, blockquote : 'Block Quote', // MISSING clipboard : { title : 'Zalijepi', cutError : 'Sigurnosne postavke vašeg pretraživaèa ne dozvoljavaju operacije automatskog rezanja. Molimo koristite kraticu na tastaturi (Ctrl/Cmd+X).', copyError : 'Sigurnosne postavke Vašeg pretraživaèa ne dozvoljavaju operacije automatskog kopiranja. Molimo koristite kraticu na tastaturi (Ctrl/Cmd+C).', pasteMsg : 'Please paste inside the following box using the keyboard (<strong>Ctrl/Cmd+V</strong>) and hit OK', // MISSING securityMsg : '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 pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Zalijepi iz Word-a', title : 'Zalijepi iz Word-a', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Zalijepi kao obièan tekst', title : 'Zalijepi kao obièan tekst' }, templates : { button : 'Templates', // MISSING title : 'Content Templates', // MISSING options : 'Template Options', // MISSING insertOption : 'Replace actual contents', // MISSING selectPromptMsg : 'Please select the template to open in the editor', // MISSING emptyListMsg : '(No templates defined)' // MISSING }, showBlocks : 'Show Blocks', // MISSING stylesCombo : { label : 'Stil', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'Format', panelTitle : 'Format', tag_p : 'Normal', tag_pre : 'Formatted', tag_address : 'Address', tag_h1 : 'Heading 1', tag_h2 : 'Heading 2', tag_h3 : 'Heading 3', tag_h4 : 'Heading 4', tag_h5 : 'Heading 5', tag_h6 : 'Heading 6', tag_div : 'Normal (DIV)' // MISSING }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Font', voiceLabel : 'Font', // MISSING panelTitle : 'Font' }, fontSize : { label : 'Velièina', voiceLabel : 'Font Size', // MISSING panelTitle : 'Velièina' }, colorButton : { textColorTitle : 'Boja teksta', bgColorTitle : 'Boja pozadine', panelTitle : 'Colors', // MISSING auto : 'Automatska', more : 'Više boja...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Document Properties', // MISSING title : 'Document Properties', // MISSING design : 'Design', // MISSING meta : 'Meta Tags', // MISSING chooseColor : 'Choose', // MISSING other : 'Other...', // MISSING docTitle : 'Page Title', // MISSING charset : 'Character Set Encoding', // MISSING charsetOther : 'Other Character Set Encoding', // MISSING charsetASCII : 'ASCII', // MISSING charsetCE : 'Central European', // MISSING charsetCT : 'Chinese Traditional (Big5)', // MISSING charsetCR : 'Cyrillic', // MISSING charsetGR : 'Greek', // MISSING charsetJP : 'Japanese', // MISSING charsetKR : 'Korean', // MISSING charsetTR : 'Turkish', // MISSING charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Western European', // MISSING docType : 'Document Type Heading', // MISSING docTypeOther : 'Other Document Type Heading', // MISSING xhtmlDec : 'Include XHTML Declarations', // MISSING bgColor : 'Background Color', // MISSING bgImage : 'Background Image URL', // MISSING bgFixed : 'Non-scrolling (Fixed) Background', // MISSING txtColor : 'Text Color', // MISSING margin : 'Page Margins', // MISSING marginTop : 'Top', // MISSING marginLeft : 'Left', // MISSING marginRight : 'Right', // MISSING marginBottom : 'Bottom', // MISSING metaKeywords : 'Document Indexing Keywords (comma separated)', // MISSING metaDescription : 'Document Description', // MISSING metaAuthor : 'Author', // MISSING metaCopyright : 'Copyright', // MISSING previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/bs.js
JavaScript
asf20
27,453
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object for the * Persian language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['fa'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'rtl', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'ویرایشگر متن غنی, %1, کلید Alt+0 را برای راهنمایی بفشارید.', // ARIA descriptions. toolbars : 'نوار ابزار', editor : 'ویرایشگر متن غنی', // Toolbar buttons without dialogs. source : 'منبع', newPage : 'برگهٴ تازه', save : 'ذخیره', preview : 'پیشنمایش', cut : 'برش', copy : 'کپی', paste : 'چسباندن', print : 'چاپ', underline : 'زیرخطدار', bold : 'درشت', italic : 'خمیده', selectAll : 'گزینش همه', removeFormat : 'برداشتن فرمت', strike : 'میانخط', subscript : 'زیرنویس', superscript : 'بالانویس', horizontalrule : 'گنجاندن خط افقی', pagebreak : 'گنجاندن شکستگی پایان برگه', pagebreakAlt : 'شکستن صفحه', unlink : 'برداشتن پیوند', undo : 'واچیدن', redo : 'بازچیدن', // Common messages and labels. common : { browseServer : 'فهرستنمایی سرور', url : 'URL', protocol : 'پروتکل', upload : 'انتقال به سرور', uploadSubmit : 'به سرور بفرست', image : 'تصویر', flash : 'فلش', form : 'فرم', checkbox : 'خانهٴ گزینهای', radio : 'دکمهٴ رادیویی', textField : 'فیلد متنی', textarea : 'ناحیهٴ متنی', hiddenField : 'فیلد پنهان', button : 'دکمه', select : 'فیلد چندگزینهای', imageButton : 'دکمهٴ تصویری', notSet : '<تعین نشده>', id : 'شناسه', name : 'نام', langDir : 'جهتنمای زبان', langDirLtr : 'چپ به راست (LTR)', langDirRtl : 'راست به چپ (RTL)', langCode : 'کد زبان', longDescr : 'URL توصیف طولانی', cssClass : 'کلاسهای شیوهنامه(Stylesheet)', advisoryTitle : 'عنوان کمکی', cssStyle : 'شیوه(style)', ok : 'پذیرش', cancel : 'انصراف', close : 'بستن', preview : 'پیشنمایش', generalTab : 'عمومی', advancedTab : 'پیشرفته', validateNumberFailed : 'این مقدار یک عدد نیست.', confirmNewPage : 'هر تغییر ایجاد شدهی ذخیره نشده از بین خواهد رفت. آیا اطمینان دارید که قصد بارگیری صفحه جدیدی را دارید؟', confirmCancel : 'برخی از گزینهها تغییر کردهاند. آیا واقعا قصد بستن این پنجره را دارید؟', options : 'گزینهها', target : 'مسیر', targetNew : 'پنجره جدید (_blank)', targetTop : 'بالاترین پنجره (_top)', targetSelf : 'همان پنجره (_self)', targetParent : 'پنجره والد (_parent)', langDirLTR : 'چپ به راست (LTR)', langDirRTL : 'راست به چپ (RTL)', styles : 'سبک', cssClasses : 'کلاسهای شیوهنامه', width : 'پهنا', height : 'درازا', align : 'چینش', alignLeft : 'چپ', alignRight : 'راست', alignCenter : 'وسط', alignTop : 'بالا', alignMiddle : 'وسط', alignBottom : 'پائین', invalidHeight : 'ارتفاع باید یک عدد باشد.', invalidWidth : 'پهنا باید یک عدد باشد.', invalidCssLength : 'عدد تعیین شده برای فیلد "%1" باید یک عدد مثبت با یا بدون یک واحد اندازه گیری CSS معتبر باشد (px, %, in, cm, mm, em, ex, pt, or pc).', invalidHtmlLength : 'عدد تعیین شده برای فیلد "%1" باید یک عدد مثبت با یا بدون یک واحد اندازه گیری HTML معتبر باشد (px or %).', invalidInlineStyle : 'عدد تعیین شده برای سبک درونخطی(Inline Style) باید دارای یک یا چند چندتایی با شکلی شبیه "name : value" که باید با یک ","(semi-colons) از هم جدا شوند.', cssLengthTooltip : 'یک عدد برای یک مقدار بر حسب پیکسل و یا یک عدد با یک واحد CSS معتبر وارد کنید (px, %, in, cm, mm, em, ex, pt, or pc).', // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">، غیر قابل دسترس</span>' }, contextmenu : { options : 'گزینههای منوی زمینه' }, // Special char dialog. specialChar : { toolbar : 'گنجاندن نویسهٴ ویژه', title : 'گزینش نویسهٴ ویژه', options : 'گزینههای نویسههای ویژه' }, // Link dialog. link : { toolbar : 'گنجاندن/ویرایش پیوند', other : '<سایر>', menu : 'ویرایش پیوند', title : 'پیوند', info : 'اطلاعات پیوند', target : 'مقصد', upload : 'انتقال به سرور', advanced : 'پیشرفته', type : 'نوع پیوند', toUrl : 'URL', toAnchor : 'لنگر در همین صفحه', toEmail : 'پست الکترونیکی', targetFrame : '<فریم>', targetPopup : '<پنجرهٴ پاپاپ>', targetFrameName : 'نام فریم مقصد', targetPopupName : 'نام پنجرهٴ پاپاپ', popupFeatures : 'ویژگیهای پنجرهٴ پاپاپ', popupResizable : 'قابل تغییر اندازه', popupStatusBar : 'نوار وضعیت', popupLocationBar: 'نوار موقعیت', popupToolbar : 'نوارابزار', popupMenuBar : 'نوار منو', popupFullScreen : 'تمامصفحه (IE)', popupScrollBars : 'میلههای پیمایش', popupDependent : 'وابسته (Netscape)', popupLeft : 'موقعیت چپ', popupTop : 'موقعیت بالا', id : 'شناسه', langDir : 'جهتنمای زبان', langDirLTR : 'چپ به راست (LTR)', langDirRTL : 'راست به چپ (RTL)', acccessKey : 'کلید دستیابی', name : 'نام', langCode : 'جهتنمای زبان', tabIndex : 'نمایهٴ دسترسی با برگه', advisoryTitle : 'عنوان کمکی', advisoryContentType : 'نوع محتوای کمکی', cssClasses : 'کلاسهای شیوهنامه(Stylesheet)', charset : 'نویسهگان منبع پیوند شده', styles : 'شیوه(style)', rel : 'وابستگی', selectAnchor : 'یک لنگر برگزینید', anchorName : 'با نام لنگر', anchorId : 'با شناسهٴ المان', emailAddress : 'نشانی پست الکترونیکی', emailSubject : 'موضوع پیام', emailBody : 'متن پیام', noAnchors : '(در این سند لنگری دردسترس نیست)', noUrl : 'لطفا URL پیوند را بنویسید', noEmail : 'لطفا نشانی پست الکترونیکی را بنویسید' }, // Anchor dialog anchor : { toolbar : 'گنجاندن/ویرایش لنگر', menu : 'ویژگیهای لنگر', title : 'ویژگیهای لنگر', name : 'نام لنگر', errorName : 'لطفا نام لنگر را بنویسید', remove : 'حذف لنگر' }, // List style dialog list: { numberedTitle : 'ویژگیهای فهرست شمارهدار', bulletedTitle : 'ویژگیهای فهرست گلولهدار', type : 'نوع', start : 'شروع', validateStartNumber :'فهرست شماره شروع باید یک عدد صحیح باشد.', circle : 'دایره', disc : 'صفحه گرد', square : 'چهارگوش', none : 'هیچ', notset : '<تنظیم نشده>', armenian : 'شمارهگذاری ارمنی', georgian : 'شمارهگذاری گریگورین (an, ban, gan, etc.)', lowerRoman : 'پانویس رومی (i, ii, iii, iv, v, etc.)', upperRoman : 'بالانویس رومی (I, II, III, IV, V, etc.)', lowerAlpha : 'پانویس الفبایی (a, b, c, d, e, etc.)', upperAlpha : 'بالانویس الفبایی (A, B, C, D, E, etc.)', lowerGreek : 'پانویس یونانی (alpha, beta, gamma, etc.)', decimal : 'دهدهی (1, 2, 3, etc.)', decimalLeadingZero : 'دهدهی همراه با صفر (01, 02, 03, etc.)' }, // Find And Replace Dialog findAndReplace : { title : 'جستجو و جایگزینی', find : 'جستجو', replace : 'جایگزینی', findWhat : 'چه چیز را مییابید:', replaceWith : 'جایگزینی با:', notFoundMsg : 'متن موردنظر یافت نشد.', findOptions : 'گزینههای جستجو', matchCase : 'همسانی در بزرگی و کوچکی نویسهها', matchWord : 'همسانی با واژهٴ کامل', matchCyclic : 'همسانی با چرخه', replaceAll : 'جایگزینی همهٴ یافتهها', replaceSuccessMsg : '%1 رخداد جایگزین شد.' }, // Table Dialog table : { toolbar : 'جدول', title : 'ویژگیهای جدول', menu : 'ویژگیهای جدول', deleteTable : 'پاک کردن جدول', rows : 'سطرها', columns : 'ستونها', border : 'اندازهٴ لبه', widthPx : 'پیکسل', widthPc : 'درصد', widthUnit : 'واحد پهنا', cellSpace : 'فاصلهٴ میان سلولها', cellPad : 'فاصلهٴ پرشده در سلول', caption : 'عنوان', summary : 'خلاصه', headers : 'سرنویسها', headersNone : 'هیچ', headersColumn : 'اولین ستون', headersRow : 'اولین ردیف', headersBoth : 'هردو', invalidRows : 'تعداد ردیفها باید یک عدد بزرگتر از 0 باشد.', invalidCols : 'تعداد ستونها باید یک عدد بزرگتر از 0 باشد.', invalidBorder : 'مقدار اندازه خطوط باید یک عدد باشد.', invalidWidth : 'مقدار پهنای جدول باید یک عدد باشد.', invalidHeight : 'مقدار ارتفاع جدول باید یک عدد باشد.', invalidCellSpacing : 'مقدار فاصلهگذاری سلول باید یک عدد باشد.', invalidCellPadding : 'بالشتک سلول باید یک عدد باشد.', cell : { menu : 'سلول', insertBefore : 'افزودن سلول قبل از', insertAfter : 'افزودن سلول بعد از', deleteCell : 'حذف سلولها', merge : 'ادغام سلولها', mergeRight : 'ادغام به راست', mergeDown : 'ادغام به پایین', splitHorizontal : 'جدا کردن افقی سلول', splitVertical : 'جدا کردن عمودی سلول', title : 'ویژگیهای سلول', cellType : 'نوع سلول', rowSpan : 'محدوده ردیفها', colSpan : 'محدوده ستونها', wordWrap : 'شکستن کلمه', hAlign : 'چینش افقی', vAlign : 'چینش عمودی', alignBaseline : 'خط مبنا', bgColor : 'رنگ زمینه', borderColor : 'رنگ خطوط', data : 'اطلاعات', header : 'سرنویس', yes : 'بله', no : 'خیر', invalidWidth : 'عرض سلول باید یک عدد باشد.', invalidHeight : 'ارتفاع سلول باید عدد باشد.', invalidRowSpan : 'مقدار محدوده ردیفها باید یک عدد باشد.', invalidColSpan : 'مقدار محدوده ستونها باید یک عدد باشد.', chooseColor : 'انتخاب' }, row : { menu : 'سطر', insertBefore : 'افزودن سطر قبل از', insertAfter : 'افزودن سطر بعد از', deleteRow : 'حذف سطرها' }, column : { menu : 'ستون', insertBefore : 'افزودن ستون قبل از', insertAfter : 'افزودن ستون بعد از', deleteColumn : 'حذف ستونها' } }, // Button Dialog. button : { title : 'ویژگیهای دکمه', text : 'متن (مقدار)', type : 'نوع', typeBtn : 'دکمه', typeSbm : 'ثبت', typeRst : 'بازنشانی (Reset)' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'ویژگیهای خانهٴ گزینهای', radioTitle : 'ویژگیهای دکمهٴ رادیویی', value : 'مقدار', selected : 'برگزیده' }, // Form Dialog. form : { title : 'ویژگیهای فرم', menu : 'ویژگیهای فرم', action : 'رویداد', method : 'متد', encoding : 'رمزنگاری' }, // Select Field Dialog. select : { title : 'ویژگیهای فیلد چندگزینهای', selectInfo : 'اطلاعات', opAvail : 'گزینههای دردسترس', value : 'مقدار', size : 'اندازه', lines : 'خطوط', chkMulti : 'گزینش چندگانه فراهم باشد', opText : 'متن', opValue : 'مقدار', btnAdd : 'افزودن', btnModify : 'ویرایش', btnUp : 'بالا', btnDown : 'پائین', btnSetValue : 'تنظیم به عنوان مقدار برگزیده', btnDelete : 'پاککردن' }, // Textarea Dialog. textarea : { title : 'ویژگیهای ناحیهٴ متنی', cols : 'ستونها', rows : 'سطرها' }, // Text Field Dialog. textfield : { title : 'ویژگیهای فیلد متنی', name : 'نام', value : 'مقدار', charWidth : 'پهنای نویسه', maxChars : 'بیشینهٴ نویسهها', type : 'نوع', typeText : 'متن', typePass : 'گذرواژه' }, // Hidden Field Dialog. hidden : { title : 'ویژگیهای فیلد پنهان', name : 'نام', value : 'مقدار' }, // Image Dialog. image : { title : 'ویژگیهای تصویر', titleButton : 'ویژگیهای دکمهٴ تصویری', menu : 'ویژگیهای تصویر', infoTab : 'اطلاعات تصویر', btnUpload : 'به سرور بفرست', upload : 'انتقال به سرور', alt : 'متن جایگزین', lockRatio : 'قفل کردن نسبت', resetSize : 'بازنشانی اندازه', border : 'لبه', hSpace : 'فاصلهٴ افقی', vSpace : 'فاصلهٴ عمودی', alertUrl : 'لطفا URL تصویر را بنویسید', linkTab : 'پیوند', button2Img : 'آیا مایلید از یک تصویر ساده روی دکمه تصویری انتخاب شده استفاده کنید؟', img2Button : 'آیا مایلید از یک دکمه تصویری روی تصویر انتخاب شده استفاده کنید؟', urlMissing : 'آدرس URL اصلی تصویر یافت نشد.', validateBorder : 'مقدار خطوط باید یک عدد باشد.', validateHSpace : 'مقدار فاصلهگذاری افقی باید یک عدد باشد.', validateVSpace : 'مقدار فاصلهگذاری عمودی باید یک عدد باشد.' }, // Flash Dialog flash : { properties : 'ویژگیهای فلش', propertiesTab : 'ویژگیها', title : 'ویژگیهای فلش', chkPlay : 'آغاز خودکار', chkLoop : 'اجرای پیاپی', chkMenu : 'در دسترس بودن منوی فلش', chkFull : 'اجازه تمام صفحه', scale : 'مقیاس', scaleAll : 'نمایش همه', scaleNoBorder : 'بدون کران', scaleFit : 'جایگیری کامل', access : 'دسترسی به اسکریپت', accessAlways : 'همیشه', accessSameDomain: 'همان دامنه', accessNever : 'هرگز', alignAbsBottom : 'پائین مطلق', alignAbsMiddle : 'وسط مطلق', alignBaseline : 'خط پایه', alignTextTop : 'متن بالا', quality : 'کیفیت', qualityBest : 'بهترین', qualityHigh : 'بالا', qualityAutoHigh : 'بالا - خودکار', qualityMedium : 'متوسط', qualityAutoLow : 'پایین - خودکار', qualityLow : 'پایین', windowModeWindow: 'پنجره', windowModeOpaque: 'مات', windowModeTransparent : 'شفاف', windowMode : 'حالت پنجره', flashvars : 'مقادیر برای فلش', bgcolor : 'رنگ پسزمینه', hSpace : 'فاصلهٴ افقی', vSpace : 'فاصلهٴ عمودی', validateSrc : 'لطفا URL پیوند را بنویسید', validateHSpace : 'مقدار فاصلهگذاری افقی باید یک عدد باشد.', validateVSpace : 'مقدار فاصلهگذاری عمودی باید یک عدد باشد.' }, // Speller Pages Dialog spellCheck : { toolbar : 'بررسی املا', title : 'بررسی املا', notAvailable : 'با عرض پوزش خدمات الان در دسترس نیستند.', errorLoading : 'خطا در بارگیری برنامه خدمات میزبان: %s.', notInDic : 'در واژه~نامه یافت نشد', changeTo : 'تغییر به', btnIgnore : 'چشمپوشی', btnIgnoreAll : 'چشمپوشی همه', btnReplace : 'جایگزینی', btnReplaceAll : 'جایگزینی همه', btnUndo : 'واچینش', noSuggestions : '- پیشنهادی نیست -', progress : 'بررسی املا در حال انجام...', noMispell : 'بررسی املا انجام شد. هیچ غلط املائی یافت نشد', noChanges : 'بررسی املا انجام شد. هیچ واژهای تغییر نیافت', oneChange : 'بررسی املا انجام شد. یک واژه تغییر یافت', manyChanges : 'بررسی املا انجام شد. %1 واژه تغییر یافت', ieSpellDownload : 'بررسی کنندهٴ املا نصب نشده است. آیا میخواهید آن را هماکنون دریافت کنید؟' }, smiley : { toolbar : 'خندانک', title : 'گنجاندن خندانک', options : 'گزینههای خندانک' }, elementsPath : { eleLabel : 'مسیر عناصر', eleTitle : '%1 عنصر' }, numberedlist : 'فهرست شمارهدار', bulletedlist : 'فهرست نقطهای', indent : 'افزایش تورفتگی', outdent : 'کاهش تورفتگی', justify : { left : 'چپچین', center : 'میانچین', right : 'راستچین', block : 'بلوکچین' }, blockquote : 'بلوک نقل قول', clipboard : { title : 'چسباندن', cutError : 'تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای برش را انجام دهد. لطفا با دکمههای صفحه کلید این کار را انجام دهید (Ctrl/Cmd+X).', copyError : 'تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای کپی کردن را انجام دهد. لطفا با دکمههای صفحه کلید این کار را انجام دهید (Ctrl/Cmd+C).', pasteMsg : 'لطفا متن را با کلیدهای (<STRONG>Ctrl/Cmd+V</STRONG>) در این جعبهٴ متنی بچسبانید و <STRONG>پذیرش</STRONG> را بزنید.', securityMsg : 'به خاطر تنظیمات امنیتی مرورگر شما، ویرایشگر نمیتواند دسترسی مستقیم به دادههای clipboard داشته باشد. شما باید دوباره آنرا در این پنجره بچسبانید.', pasteArea : 'محل چسباندن' }, pastefromword : { confirmCleanup : 'متنی که میخواهید بچسبانید به نظر میرسد که از Word کپی شده است. آیا میخواهید قبل از چسباندن آن را پاکسازی کنید؟', toolbar : 'چسباندن از Word', title : 'چسباندن از Word', error : 'به دلیل بروز خطای داخلی امکان پاکسازی اطلاعات بازنشانی شده وجود ندارد.' }, pasteText : { button : 'چسباندن به عنوان متن ِساده', title : 'چسباندن به عنوان متن ِساده' }, templates : { button : 'الگوها', title : 'الگوهای محتویات', options : 'گزینههای الگو', insertOption : 'محتویات کنونی جایگزین شوند', selectPromptMsg : 'لطفا الگوی موردنظر را برای بازکردن در ویرایشگر برگزینید<br>(محتویات کنونی از دست خواهند رفت):', emptyListMsg : '(الگوئی تعریف نشده است)' }, showBlocks : 'نمایش بلوکها', stylesCombo : { label : 'سبک', panelTitle : 'سبکهای قالببندی', panelTitle1 : 'سبکهای بلوک', panelTitle2 : 'سبکهای درونخطی', panelTitle3 : 'سبکهای شیء' }, format : { label : 'فرمت', panelTitle : 'فرمت', tag_p : 'نرمال', tag_pre : 'فرمت شده', tag_address : 'آدرس', tag_h1 : 'سرنویس 1', tag_h2 : 'سرنویس 2', tag_h3 : 'سرنویس 3', tag_h4 : 'سرنویس 4', tag_h5 : 'سرنویس 5', tag_h6 : 'سرنویس 6', tag_div : 'بند' }, div : { title : 'ایجاد یک محل DIV', toolbar : 'ایجاد یک محل DIV', cssClassInputLabel : 'کلاسهای شیوهنامه', styleSelectLabel : 'سبک', IdInputLabel : 'شناسه', languageCodeInputLabel : ' کد زبان', inlineStyleInputLabel : 'سبک درونخطی(Inline Style)', advisoryTitleInputLabel : 'عنوان مشاوره', langDirLabel : 'جهت نوشتاری زبان', langDirLTRLabel : 'چپ به راست (LTR)', langDirRTLLabel : 'راست به چپ (RTL)', edit : 'ویرایش Div', remove : 'حذف Div' }, iframe : { title : 'ویژگیهای IFrame', toolbar : 'IFrame', noUrl : 'لطفا مسیر URL iframe را درج کنید', scrolling : 'نمایش خطکشها', border : 'نمایش خطوط frame' }, font : { label : 'قلم', voiceLabel : 'قلم', panelTitle : 'قلم' }, fontSize : { label : 'اندازه', voiceLabel : 'اندازه قلم', panelTitle : 'اندازه' }, colorButton : { textColorTitle : 'رنگ متن', bgColorTitle : 'رنگ پسزمینه', panelTitle : 'رنگها', auto : 'خودکار', more : 'رنگهای بیشتر...' }, colors : { '000' : 'سیاه', '800000' : 'خرمایی', '8B4513' : 'قهوهای شکلاتی', '2F4F4F' : 'ارغوانی مایل به خاکستری', '008080' : 'آبی مایل به خاکستری', '000080' : 'آبی سیر', '4B0082' : 'نیلی', '696969' : 'خاکستری تیره', 'B22222' : 'آتش آجری', 'A52A2A' : 'قهوهای', 'DAA520' : 'میلهی طلایی', '006400' : 'سبز تیره', '40E0D0' : 'فیروزهای', '0000CD' : 'آبی روشن', '800080' : 'ارغوانی', '808080' : 'خاکستری', 'F00' : 'قرمز', 'FF8C00' : 'نارنجی پررنگ', 'FFD700' : 'طلایی', '008000' : 'سبز', '0FF' : 'آبی مایل به سبز', '00F' : 'آبی', 'EE82EE' : 'بنفش', 'A9A9A9' : 'خاکستری مات', 'FFA07A' : 'صورتی کدر روشن', 'FFA500' : 'نارنجی', 'FFFF00' : 'زرد', '00FF00' : 'فسفری', 'AFEEEE' : 'فیروزهای رنگ پریده', 'ADD8E6' : 'آبی کمرنگ', 'DDA0DD' : 'آلویی', 'D3D3D3' : 'خاکستری روشن', 'FFF0F5' : 'بنفش کمرنگ', 'FAEBD7' : 'عتیقه سفید', 'FFFFE0' : 'زرد روشن', 'F0FFF0' : 'عسلی', 'F0FFFF' : 'لاجوردی', 'F0F8FF' : 'آبی براق', 'E6E6FA' : 'بنفش کمرنگ', 'FFF' : 'سفید' }, scayt : { title : 'بررسی املای تایپ شما', opera_title : 'توسط اپرا پشتیبانی نمیشود', enable : 'فعالسازی SCAYT', disable : 'غیرفعالسازی SCAYT', about : 'درباره SCAYT', toggle : 'ضامن SCAYT', options : 'گزینهها', langs : 'زبانها', moreSuggestions : 'پیشنهادهای بیشتر', ignore : 'عبور کردن', ignoreAll : 'عبور کردن از همه', addWord : 'افزودن Word', emptyDic : 'نام دیکشنری نباید خالی باشد.', optionsTab : 'گزینهها', allCaps : 'نادیده گرفتن همه کلاه-واژهها', ignoreDomainNames : 'عبور از نامهای دامنه', mixedCase : 'عبور از کلماتی مرکب از حروف بزرگ و کوچک', mixedWithDigits : 'عبور از کلمات به همراه عدد', languagesTab : 'زبانها', dictionariesTab : 'دیکشنریها', dic_field_name : 'نام دیکشنری', dic_create : 'ایجاد', dic_restore : 'بازیافت', dic_delete : 'حذف', dic_rename : 'تغییر نام', dic_info : 'در ابتدا دیکشنری کاربر در کوکی ذخیره میشود. با این حال، کوکیها در اندازه محدود شدهاند. وقتی که دیکشنری کاربری بزرگ میشود و به نقطهای که نمیتواند در کوکی ذخیره شود، پس از آن دیکشنری ممکن است بر روی سرور ما ذخیره شود. برای ذخیره دیکشنری شخصی شما بر روی سرور ما، باید یک نام برای دیکشنری خود مشخص نمایید. اگر شما قبلا یک دیکشنری روی سرور ما ذخیره کردهاید، لطفا نام آنرا درج و روی دکمه بازیافت کلیک نمایید.', aboutTab : 'درباره' }, about : { title : 'درباره CKEditor', dlgTitle : 'درباره CKEditor', help : 'بررسی $1 برای راهنمایی.', userGuide : 'راهنمای کاربران CKEditor', moreInfo : 'برای کسب اطلاعات مجوز لطفا به وب سایت ما مراجعه کنید:', copy : 'حق نشر &copy; $1. کلیه حقوق محفوظ است.' }, maximize : 'حداکثر کردن', minimize : 'حداقل کردن', fakeobjects : { anchor : 'لنگر', flash : 'انیمشن فلش', iframe : 'IFrame', hiddenfield : 'فیلد پنهان', unknown : 'شیء ناشناخته' }, resize : 'کشیدن برای تغییر اندازه', colordialog : { title : 'انتخاب رنگ', options : 'گزینههای رنگ', highlight : 'متمایز', selected : 'رنگ انتخاب شده', clear : 'پاک کردن' }, toolbarCollapse : 'بستن نوار ابزار', toolbarExpand : 'بازکردن نوار ابزار', toolbarGroups : { document : 'سند', clipboard : 'حافظه موقت/برگشت', editing : 'در حال ویرایش', forms : 'فرمها', basicstyles : 'شیوههای پایه', paragraph : 'بند', links : 'پیوندها', insert : 'ورود', styles : 'شیوهها', colors : 'رنگها', tools : 'ابزارها' }, bidi : { ltr : 'نوشتار متن از چپ به راست', rtl : 'نوشتار متن از راست به چپ' }, docprops : { label : 'ویژگیهای سند', title : 'ویژگیهای سند', design : 'طراحی', meta : 'فراداده', chooseColor : 'انتخاب', other : '<سایر>', docTitle : 'عنوان صفحه', charset : 'رمزگذاری نویسهگان', charsetOther : 'رمزگذاری نویسهگان دیگر', charsetASCII : 'ASCII', charsetCE : 'اروپای مرکزی', charsetCT : 'چینی رسمی (Big5)', charsetCR : 'سیریلیک', charsetGR : 'یونانی', charsetJP : 'ژاپنی', charsetKR : 'کرهای', charsetTR : 'ترکی', charsetUN : 'یونیکُد (UTF-8)', charsetWE : 'اروپای غربی', docType : 'عنوان نوع سند', docTypeOther : 'عنوان نوع سند دیگر', xhtmlDec : 'شامل تعاریف XHTML', bgColor : 'رنگ پسزمینه', bgImage : 'URL تصویر پسزمینه', bgFixed : 'پسزمینهٴ پیمایش ناپذیر', txtColor : 'رنگ متن', margin : 'حاشیههای صفحه', marginTop : 'بالا', marginLeft : 'چپ', marginRight : 'راست', marginBottom : 'پایین', metaKeywords : 'کلیدواژگان نمایهگذاری سند (با کاما جدا شوند)', metaDescription : 'توصیف سند', metaAuthor : 'نویسنده', metaCopyright : 'حق انتشار', previewHtml : '<p>این یک <strong>متن نمونه</strong> است. شما در حال استفاده از <a href="javascript:void(0)">CKEditor</a> هستید.</p>' } };
zysms
trunk/zysms/include/ckeditor/_source/lang/fa.js
JavaScript
asf20
30,154
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Romanian language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['ro'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'Sursa', newPage : 'Pagină nouă', save : 'Salvează', preview : 'Previzualizare', cut : 'Taie', copy : 'Copiază', paste : 'Adaugă', print : 'Printează', underline : 'Subliniat (underline)', bold : 'Îngroşat (bold)', italic : 'Înclinat (italic)', selectAll : 'Selectează tot', removeFormat : 'Înlătură formatarea', strike : 'Tăiat (strike through)', subscript : 'Indice (subscript)', superscript : 'Putere (superscript)', horizontalrule : 'Inserează linie orizontă', pagebreak : 'Inserează separator de pagină (Page Break)', pagebreakAlt : 'Page Break', // MISSING unlink : 'Înlătură link (legătură web)', undo : 'Starea anterioară (undo)', redo : 'Starea ulterioară (redo)', // Common messages and labels. common : { browseServer : 'Răsfoieşte server', url : 'URL', protocol : 'Protocol', upload : 'Încarcă', uploadSubmit : 'Trimite la server', image : 'Imagine', flash : 'Flash', form : 'Formular (Form)', checkbox : 'Bifă (Checkbox)', radio : 'Buton radio (RadioButton)', textField : 'Câmp text (TextField)', textarea : 'Suprafaţă text (Textarea)', hiddenField : 'Câmp ascuns (HiddenField)', button : 'Buton', select : 'Câmp selecţie (SelectionField)', imageButton : 'Buton imagine (ImageButton)', notSet : '<nesetat>', id : 'Id', name : 'Nume', langDir : 'Direcţia cuvintelor', langDirLtr : 'stânga-dreapta (LTR)', langDirRtl : 'dreapta-stânga (RTL)', langCode : 'Codul limbii', longDescr : 'Descrierea lungă URL', cssClass : 'Clasele cu stilul paginii (CSS)', advisoryTitle : 'Titlul consultativ', cssStyle : 'Stil', ok : 'Bine', cancel : 'Anulare', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', // MISSING advancedTab : 'Avansat', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Lăţime', height : 'Înălţime', align : 'Aliniere', alignLeft : 'Stânga', alignRight : 'Dreapta', alignCenter : 'Centru', alignTop : 'Sus', alignMiddle : 'Mijloc', alignBottom : 'Jos', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Inserează caracter special', title : 'Selectează caracter special', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Inserează/Editează link (legătură web)', other : '<alt>', menu : 'Editează Link', title : 'Link (Legătură web)', info : 'Informaţii despre link (Legătură web)', target : 'Ţintă (Target)', upload : 'Încarcă', advanced : 'Avansat', type : 'Tipul link-ului (al legăturii web)', toUrl : 'URL', // MISSING toAnchor : 'Ancoră în această pagină', toEmail : 'E-Mail', targetFrame : '<frame>', targetPopup : '<fereastra popup>', targetFrameName : 'Numele frame-ului ţintă', targetPopupName : 'Numele ferestrei popup', popupFeatures : 'Proprietăţile ferestrei popup', popupResizable : 'Resizable', // MISSING popupStatusBar : 'Bara de status', popupLocationBar: 'Bara de locaţie', popupToolbar : 'Bara de opţiuni', popupMenuBar : 'Bara de meniu', popupFullScreen : 'Tot ecranul (Full Screen)(IE)', popupScrollBars : 'Scroll Bars', popupDependent : 'Dependent (Netscape)', popupLeft : 'Poziţia la stânga', popupTop : 'Poziţia la dreapta', id : 'Id', // MISSING langDir : 'Direcţia cuvintelor', langDirLTR : 'stânga-dreapta (LTR)', langDirRTL : 'dreapta-stânga (RTL)', acccessKey : 'Tasta de acces', name : 'Nume', langCode : 'Direcţia cuvintelor', tabIndex : 'Indexul tabului', advisoryTitle : 'Titlul consultativ', advisoryContentType : 'Tipul consultativ al titlului', cssClasses : 'Clasele cu stilul paginii (CSS)', charset : 'Setul de caractere al resursei legate', styles : 'Stil', rel : 'Relationship', // MISSING selectAnchor : 'Selectaţi o ancoră', anchorName : 'după numele ancorei', anchorId : 'după Id-ul elementului', emailAddress : 'Adresă de e-mail', emailSubject : 'Subiectul mesajului', emailBody : 'Conţinutul mesajului', noAnchors : '(Nicio ancoră disponibilă în document)', noUrl : 'Vă rugăm să scrieţi URL-ul', noEmail : 'Vă rugăm să scrieţi adresa de e-mail' }, // Anchor dialog anchor : { toolbar : 'Inserează/Editează ancoră', menu : 'Proprietăţi ancoră', title : 'Proprietăţi ancoră', name : 'Numele ancorei', errorName : 'Vă rugăm scrieţi numele ancorei', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Găseşte şi înlocuieşte', find : 'Găseşte', replace : 'Înlocuieşte', findWhat : 'Găseşte:', replaceWith : 'Înlocuieşte cu:', notFoundMsg : 'Textul specificat nu a fost găsit.', findOptions : 'Find Options', // MISSING matchCase : 'Deosebeşte majuscule de minuscule (Match case)', matchWord : 'Doar cuvintele întregi', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'Înlocuieşte tot', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'Tabel', title : 'Proprietăţile tabelului', menu : 'Proprietăţile tabelului', deleteTable : 'Şterge tabel', rows : 'Linii', columns : 'Coloane', border : 'Mărimea marginii', widthPx : 'pixeli', widthPc : 'procente', widthUnit : 'width unit', // MISSING cellSpace : 'Spaţiu între celule', cellPad : 'Spaţiu în cadrul celulei', caption : 'Titlu (Caption)', summary : 'Rezumat', headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'Celulă', insertBefore : 'Inserează celulă înainte', insertAfter : 'Inserează celulă după', deleteCell : 'Şterge celule', merge : 'Uneşte celule', mergeRight : 'Uneşte la dreapta', mergeDown : 'Uneşte jos', splitHorizontal : 'Împarte celula pe orizontală', splitVertical : 'Împarte celula pe verticală', title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'Linie', insertBefore : 'Inserează linie înainte', insertAfter : 'Inserează linie după', deleteRow : 'Şterge linii' }, column : { menu : 'Coloană', insertBefore : 'Inserează coloană înainte', insertAfter : 'Inserează coloană după', deleteColumn : 'Şterge celule' } }, // Button Dialog. button : { title : 'Proprietăţi buton', text : 'Text (Valoare)', type : 'Tip', typeBtn : 'Button', typeSbm : 'Submit', typeRst : 'Reset' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Proprietăţi bifă (Checkbox)', radioTitle : 'Proprietăţi buton radio (Radio Button)', value : 'Valoare', selected : 'Selectat' }, // Form Dialog. form : { title : 'Proprietăţi formular (Form)', menu : 'Proprietăţi formular (Form)', action : 'Acţiune', method : 'Metodă', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'Proprietăţi câmp selecţie (Selection Field)', selectInfo : 'Informaţii', opAvail : 'Opţiuni disponibile', value : 'Valoare', size : 'Mărime', lines : 'linii', chkMulti : 'Permite selecţii multiple', opText : 'Text', opValue : 'Valoare', btnAdd : 'Adaugă', btnModify : 'Modifică', btnUp : 'Sus', btnDown : 'Jos', btnSetValue : 'Setează ca valoare selectată', btnDelete : 'Şterge' }, // Textarea Dialog. textarea : { title : 'Proprietăţi suprafaţă text (Textarea)', cols : 'Coloane', rows : 'Linii' }, // Text Field Dialog. textfield : { title : 'Proprietăţi câmp text (Text Field)', name : 'Nume', value : 'Valoare', charWidth : 'Lărgimea caracterului', maxChars : 'Caractere maxime', type : 'Tip', typeText : 'Text', typePass : 'Parolă' }, // Hidden Field Dialog. hidden : { title : 'Proprietăţi câmp ascuns (Hidden Field)', name : 'Nume', value : 'Valoare' }, // Image Dialog. image : { title : 'Proprietăţile imaginii', titleButton : 'Proprietăţi buton imagine (Image Button)', menu : 'Proprietăţile imaginii', infoTab : 'Informaţii despre imagine', btnUpload : 'Trimite la server', upload : 'Încarcă', alt : 'Text alternativ', lockRatio : 'Păstrează proporţiile', resetSize : 'Resetează mărimea', border : 'Margine', hSpace : 'HSpace', vSpace : 'VSpace', alertUrl : 'Vă rugăm să scrieţi URL-ul imaginii', linkTab : 'Link (Legătură web)', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Proprietăţile flash-ului', propertiesTab : 'Properties', // MISSING title : 'Proprietăţile flash-ului', chkPlay : 'Rulează automat', chkLoop : 'Repetă (Loop)', chkMenu : 'Activează meniul flash', chkFull : 'Allow Fullscreen', // MISSING scale : 'Scală', scaleAll : 'Arată tot', scaleNoBorder : 'Fără margini (No border)', scaleFit : 'Potriveşte', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Jos absolut (Abs Bottom)', alignAbsMiddle : 'Mijloc absolut (Abs Middle)', alignBaseline : 'Linia de jos (Baseline)', alignTextTop : 'Text sus', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'Coloarea fundalului', hSpace : 'HSpace', vSpace : 'VSpace', validateSrc : 'Vă rugăm să scrieţi URL-ul', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'Verifică text', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'Nu e în dicţionar', changeTo : 'Schimbă în', btnIgnore : 'Ignoră', btnIgnoreAll : 'Ignoră toate', btnReplace : 'Înlocuieşte', btnReplaceAll : 'Înlocuieşte tot', btnUndo : 'Starea anterioară (undo)', noSuggestions : '- Fără sugestii -', progress : 'Verificarea textului în desfăşurare...', noMispell : 'Verificarea textului terminată: Nicio greşeală găsită', noChanges : 'Verificarea textului terminată: Niciun cuvânt modificat', oneChange : 'Verificarea textului terminată: Un cuvânt modificat', manyChanges : 'Verificarea textului terminată: 1% cuvinte modificate', ieSpellDownload : 'Unealta pentru verificat textul (Spell checker) neinstalată. Doriţi să o descărcaţi acum?' }, smiley : { toolbar : 'Figură expresivă (Emoticon)', title : 'Inserează o figură expresivă (Emoticon)', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'Listă numerotată', bulletedlist : 'Listă cu puncte', indent : 'Creşte indentarea', outdent : 'Scade indentarea', justify : { left : 'Aliniere la stânga', center : 'Aliniere centrală', right : 'Aliniere la dreapta', block : 'Aliniere în bloc (Block Justify)' }, blockquote : 'Citat', clipboard : { title : 'Adaugă', cutError : '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/Cmd+X).', copyError : '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/Cmd+C).', pasteMsg : 'Vă rugăm adăugaţi în căsuţa următoare folosind tastatura (<STRONG>Ctrl/Cmd+V</STRONG>) şi apăsaţi <STRONG>OK</STRONG>.', securityMsg : '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ă.', pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Adaugă din Word', title : 'Adaugă din Word', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Adaugă ca text simplu (Plain Text)', title : 'Adaugă ca text simplu (Plain Text)' }, templates : { button : 'Template-uri (şabloane)', title : 'Template-uri (şabloane) de conţinut', options : 'Template Options', // MISSING insertOption : 'Înlocuieşte cuprinsul actual', selectPromptMsg : 'Vă rugăm selectaţi template-ul (şablonul) ce se va deschide în editor<br>(conţinutul actual va fi pierdut):', emptyListMsg : '(Niciun template (şablon) definit)' }, showBlocks : 'Arată blocurile', stylesCombo : { label : 'Stil', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'Formatare', panelTitle : 'Formatare', tag_p : 'Normal', tag_pre : 'Formatted', tag_address : 'Address', tag_h1 : 'Heading 1', tag_h2 : 'Heading 2', tag_h3 : 'Heading 3', tag_h4 : 'Heading 4', tag_h5 : 'Heading 5', tag_h6 : 'Heading 6', tag_div : 'Normal (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Font', voiceLabel : 'Font', // MISSING panelTitle : 'Font' }, fontSize : { label : 'Mărime', voiceLabel : 'Font Size', // MISSING panelTitle : 'Mărime' }, colorButton : { textColorTitle : 'Culoarea textului', bgColorTitle : 'Coloarea fundalului', panelTitle : 'Colors', // MISSING auto : 'Automatic', more : 'Mai multe culori...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Proprietăţile documentului', title : 'Proprietăţile documentului', design : 'Design', // MISSING meta : 'Meta Tags', // MISSING chooseColor : 'Choose', // MISSING other : '<alt>', docTitle : 'Titlul paginii', charset : 'Encoding setului de caractere', charsetOther : 'Alt encoding al setului de caractere', charsetASCII : 'ASCII', // MISSING charsetCE : 'Central European', // MISSING charsetCT : 'Chinezesc tradiţional (Big5)', charsetCR : 'Chirilic', charsetGR : 'Grecesc', charsetJP : 'Japonez', charsetKR : 'Corean', charsetTR : 'Turcesc', charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Vest european', docType : 'Document Type Heading', // MISSING docTypeOther : 'Alt Document Type Heading', xhtmlDec : 'Include declaraţii XHTML', bgColor : 'Culoarea fundalului (Background Color)', bgImage : 'URL-ul imaginii din fundal (Background Image URL)', bgFixed : 'Fundal neflotant, fix (Non-scrolling Background)', txtColor : 'Culoarea textului', margin : 'Marginile paginii', marginTop : 'Sus', marginLeft : 'Stânga', marginRight : 'Dreapta', marginBottom : 'Jos', metaKeywords : 'Cuvinte cheie după care se va indexa documentul (separate prin virgulă)', metaDescription : 'Descrierea documentului', metaAuthor : 'Autor', metaCopyright : 'Drepturi de autor', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/ro.js
JavaScript
asf20
27,833
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Estonian language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['et'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rikkalik tekstiredaktor %1, abi jaoks vajuta ALT 0.', // ARIA descriptions. toolbars : 'Redaktori tööriistaribad', editor : 'Rikkalik tekstiredaktor', // Toolbar buttons without dialogs. source : 'Lähtekood', newPage : 'Uus leht', save : 'Salvestamine', preview : 'Eelvaade', cut : 'Lõika', copy : 'Kopeeri', paste : 'Aseta', print : 'Printimine', underline : 'Allajoonitud', bold : 'Paks', italic : 'Kursiiv', selectAll : 'Kõige valimine', removeFormat : 'Vormingu eemaldamine', strike : 'Läbijoonitud', subscript : 'Allindeks', superscript : 'Ülaindeks', horizontalrule : 'Horisontaaljoone sisestamine', pagebreak : 'Lehevahetuskoha sisestamine', pagebreakAlt : 'Lehevahetuskoht', unlink : 'Lingi eemaldamine', undo : 'Tagasivõtmine', redo : 'Toimingu kordamine', // Common messages and labels. common : { browseServer : 'Serveri sirvimine', url : 'URL', protocol : 'Protokoll', upload : 'Laadi üles', uploadSubmit : 'Saada serverisse', image : 'Pilt', flash : 'Flash', form : 'Vorm', checkbox : 'Märkeruut', radio : 'Raadionupp', textField : 'Tekstilahter', textarea : 'Tekstiala', hiddenField : 'Varjatud lahter', button : 'Nupp', select : 'Valiklahter', imageButton : 'Piltnupp', notSet : '<määramata>', id : 'ID', name : 'Nimi', langDir : 'Keele suund', langDirLtr : 'Vasakult paremale (LTR)', langDirRtl : 'Paremalt vasakule (RTL)', langCode : 'Keele kood', longDescr : 'Pikk kirjeldus URL', cssClass : 'Stiilistiku klassid', advisoryTitle : 'Soovituslik pealkiri', cssStyle : 'Laad', ok : 'OK', cancel : 'Loobu', close : 'Sulge', preview : 'Eelvaade', generalTab : 'Üldine', advancedTab : 'Täpsemalt', validateNumberFailed : 'See väärtus pole number.', confirmNewPage : 'Kõik salvestamata muudatused lähevad kaotsi. Kas oled kindel, et tahad laadida uue lehe?', confirmCancel : 'Mõned valikud on muudetud. Kas oled kindel, et tahad dialoogi sulgeda?', options : 'Valikud', target : 'Sihtkoht', targetNew : 'Uus aken (_blank)', targetTop : 'Kõige ülemine aken (_top)', targetSelf : 'Sama aken (_self)', targetParent : 'Vanemaken (_parent)', langDirLTR : 'Vasakult paremale (LTR)', langDirRTL : 'Paremalt vasakule (RTL)', styles : 'Stiili', cssClasses : 'Stiililehe klassid', width : 'Laius', height : 'Kõrgus', align : 'Joondus', alignLeft : 'Vasak', alignRight : 'Paremale', alignCenter : 'Kesk', alignTop : 'Üles', alignMiddle : 'Keskele', alignBottom : 'Alla', invalidHeight : 'Kõrgus peab olema number.', invalidWidth : 'Laius peab olema number.', invalidCssLength : '"%1" välja jaoks määratud väärtus peab olema positiivne täisarv CSS ühikuga (px, %, in, cm, mm, em, ex, pt või pc) või ilma.', invalidHtmlLength : '"%1" välja jaoks määratud väärtus peab olema positiivne täisarv HTML ühikuga (px või %) või ilma.', invalidInlineStyle : 'Reasisese stiili määrangud peavad koosnema paarisväärtustest (tuples), mis on semikoolonitega eraldatult järgnevas vormingus: "nimi : väärtus".', cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, pole saadaval</span>' }, contextmenu : { options : 'Kontekstimenüü valikud' }, // Special char dialog. specialChar : { toolbar : 'Erimärgi sisestamine', title : 'Erimärgi valimine', options : 'Erimärkide valikud' }, // Link dialog. link : { toolbar : 'Lingi lisamine/muutmine', other : '<muu>', menu : 'Muuda linki', title : 'Link', info : 'Lingi info', target : 'Sihtkoht', upload : 'Lae üles', advanced : 'Täpsemalt', type : 'Lingi liik', toUrl : 'URL', toAnchor : 'Ankur sellel lehel', toEmail : 'E-post', targetFrame : '<raam>', targetPopup : '<hüpikaken>', targetFrameName : 'Sihtmärk raami nimi', targetPopupName : 'Hüpikakna nimi', popupFeatures : 'Hüpikakna omadused', popupResizable : 'Suurust saab muuta', popupStatusBar : 'Olekuriba', popupLocationBar: 'Aadressiriba', popupToolbar : 'Tööriistariba', popupMenuBar : 'Menüüriba', popupFullScreen : 'Täisekraan (IE)', popupScrollBars : 'Kerimisribad', popupDependent : 'Sõltuv (Netscape)', popupLeft : 'Vasak asukoht', popupTop : 'Ülemine asukoht', id : 'ID', langDir : 'Keele suund', langDirLTR : 'Vasakult paremale (LTR)', langDirRTL : 'Paremalt vasakule (RTL)', acccessKey : 'Juurdepääsu võti', name : 'Nimi', langCode : 'Keele suund', tabIndex : 'Tab indeks', advisoryTitle : 'Juhendav tiitel', advisoryContentType : 'Juhendava sisu tüüp', cssClasses : 'Stiilistiku klassid', charset : 'Lingitud ressursi märgistik', styles : 'Laad', rel : 'Suhe', selectAnchor : 'Vali ankur', anchorName : 'Ankru nime järgi', anchorId : 'Elemendi id järgi', emailAddress : 'E-posti aadress', emailSubject : 'Sõnumi teema', emailBody : 'Sõnumi tekst', noAnchors : '(Selles dokumendis pole ankruid)', noUrl : 'Palun kirjuta lingi URL', noEmail : 'Palun kirjuta e-posti aadress' }, // Anchor dialog anchor : { toolbar : 'Ankru sisestamine/muutmine', menu : 'Ankru omadused', title : 'Ankru omadused', name : 'Ankru nimi', errorName : 'Palun sisesta ankru nimi', remove : 'Eemalda ankur' }, // List style dialog list: { numberedTitle : 'Numberloendi omadused', bulletedTitle : 'Punktloendi omadused', type : 'Liik', start : 'Algus', validateStartNumber :'Loendi algusnumber peab olema täisarv.', circle : 'Ring', disc : 'Täpp', square : 'Ruut', none : 'Puudub', notset : '<pole määratud>', armenian : 'Armeenia numbrid', georgian : 'Gruusia numbrid (an, ban, gan, jne)', lowerRoman : 'Väiksed rooma numbrid (i, ii, iii, iv, v, jne)', upperRoman : 'Suured rooma numbrid (I, II, III, IV, V, jne)', lowerAlpha : 'Väiketähed (a, b, c, d, e, jne)', upperAlpha : 'Suurtähed (A, B, C, D, E, jne)', lowerGreek : 'Kreeka väiketähed (alpha, beta, gamma, jne)', decimal : 'Numbrid (1, 2, 3, jne)', decimalLeadingZero : 'Numbrid algusnulliga (01, 02, 03, jne)' }, // Find And Replace Dialog findAndReplace : { title : 'Otsimine ja asendamine', find : 'Otsi', replace : 'Asenda', findWhat : 'Otsitav:', replaceWith : 'Asendus:', notFoundMsg : 'Otsitud teksti ei leitud.', findOptions : 'Otsingu valikud', matchCase : 'Suur- ja väiketähtede eristamine', matchWord : 'Ainult terved sõnad', matchCyclic : 'Jätkatakse algusest', replaceAll : 'Asenda kõik', replaceSuccessMsg : '%1 vastet asendati.' }, // Table Dialog table : { toolbar : 'Tabel', title : 'Tabeli omadused', menu : 'Tabeli omadused', deleteTable : 'Kustuta tabel', rows : 'Read', columns : 'Veerud', border : 'Joone suurus', widthPx : 'pikslit', widthPc : 'protsenti', widthUnit : 'laiuse ühik', cellSpace : 'Lahtri vahe', cellPad : 'Lahtri täidis', caption : 'Tabeli tiitel', summary : 'Kokkuvõte', headers : 'Päised', headersNone : 'Puudub', headersColumn : 'Esimene tulp', headersRow : 'Esimene rida', headersBoth : 'Mõlemad', invalidRows : 'Ridade arv peab olema nullist suurem.', invalidCols : 'Tulpade arv peab olema nullist suurem.', invalidBorder : 'Äärise suurus peab olema number.', invalidWidth : 'Tabeli laius peab olema number.', invalidHeight : 'Tabeli kõrgus peab olema number.', invalidCellSpacing : 'Lahtrite vahe peab olema positiivne arv.', invalidCellPadding : 'Lahtrite polsterdus (padding) peab olema positiivne arv.', cell : { menu : 'Lahter', insertBefore : 'Sisesta lahter enne', insertAfter : 'Sisesta lahter peale', deleteCell : 'Eemalda lahtrid', merge : 'Ühenda lahtrid', mergeRight : 'Ühenda paremale', mergeDown : 'Ühenda alla', splitHorizontal : 'Poolita lahter horisontaalselt', splitVertical : 'Poolita lahter vertikaalselt', title : 'Lahtri omadused', cellType : 'Lahtri liik', rowSpan : 'Ridade vahe', colSpan : 'Tulpade vahe', wordWrap : 'Sõnade murdmine', hAlign : 'Horisontaalne joondus', vAlign : 'Vertikaalne joondus', alignBaseline : 'Baasjoon', bgColor : 'Tausta värv', borderColor : 'Äärise värv', data : 'Andmed', header : 'Päis', yes : 'Jah', no : 'Ei', invalidWidth : 'Lahtri laius peab olema number.', invalidHeight : 'Lahtri kõrgus peab olema number.', invalidRowSpan : 'Ridade vahe peab olema täisarv.', invalidColSpan : 'Tulpade vahe peab olema täisarv.', chooseColor : 'Vali' }, row : { menu : 'Rida', insertBefore : 'Sisesta rida enne', insertAfter : 'Sisesta rida peale', deleteRow : 'Eemalda read' }, column : { menu : 'Veerg', insertBefore : 'Sisesta veerg enne', insertAfter : 'Sisesta veerg peale', deleteColumn : 'Eemalda veerud' } }, // Button Dialog. button : { title : 'Nupu omadused', text : 'Tekst (väärtus)', type : 'Liik', typeBtn : 'Nupp', typeSbm : 'Saada', typeRst : 'Lähtesta' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Märkeruudu omadused', radioTitle : 'Raadionupu omadused', value : 'Väärtus', selected : 'Märgitud' }, // Form Dialog. form : { title : 'Vormi omadused', menu : 'Vormi omadused', action : 'Toiming', method : 'Meetod', encoding : 'Kodeering' }, // Select Field Dialog. select : { title : 'Valiklahtri omadused', selectInfo : 'Info', opAvail : 'Võimalikud valikud:', value : 'Väärtus', size : 'Suurus', lines : 'ridu', chkMulti : 'Võimalik mitu valikut', opText : 'Tekst', opValue : 'Väärtus', btnAdd : 'Lisa', btnModify : 'Muuda', btnUp : 'Üles', btnDown : 'Alla', btnSetValue : 'Määra vaikimisi', btnDelete : 'Kustuta' }, // Textarea Dialog. textarea : { title : 'Tekstiala omadused', cols : 'Veerge', rows : 'Ridu' }, // Text Field Dialog. textfield : { title : 'Tekstilahtri omadused', name : 'Nimi', value : 'Väärtus', charWidth : 'Laius (tähemärkides)', maxChars : 'Maksimaalselt tähemärke', type : 'Liik', typeText : 'Tekst', typePass : 'Parool' }, // Hidden Field Dialog. hidden : { title : 'Varjatud lahtri omadused', name : 'Nimi', value : 'Väärtus' }, // Image Dialog. image : { title : 'Pildi omadused', titleButton : 'Piltnupu omadused', menu : 'Pildi omadused', infoTab : 'Pildi info', btnUpload : 'Saada serverisse', upload : 'Lae üles', alt : 'Alternatiivne tekst', lockRatio : 'Lukusta kuvasuhe', resetSize : 'Lähtesta suurus', border : 'Joon', hSpace : 'H. vaheruum', vSpace : 'V. vaheruum', alertUrl : 'Palun kirjuta pildi URL', linkTab : 'Link', button2Img : 'Kas tahad teisendada valitud pildiga nupu tavaliseks pildiks?', img2Button : 'Kas tahad teisendada valitud tavalise pildi pildiga nupuks?', urlMissing : 'Pildi lähte-URL on puudu.', validateBorder : 'Äärise laius peab olema täisarv.', validateHSpace : 'Horisontaalne vaheruum peab olema täisarv.', validateVSpace : 'Vertikaalne vaheruum peab olema täisarv.' }, // Flash Dialog flash : { properties : 'Flashi omadused', propertiesTab : 'Omadused', title : 'Flashi omadused', chkPlay : 'Automaatne start ', chkLoop : 'Korduv', chkMenu : 'Flashi menüü lubatud', chkFull : 'Täisekraan lubatud', scale : 'Mastaap', scaleAll : 'Näidatakse kõike', scaleNoBorder : 'Äärist ei ole', scaleFit : 'Täpne sobivus', access : 'Skriptide ligipääs', accessAlways : 'Kõigile', accessSameDomain: 'Samalt domeenilt', accessNever : 'Mitte ühelegi', alignAbsBottom : 'Abs alla', alignAbsMiddle : 'Abs keskele', alignBaseline : 'Baasjoonele', alignTextTop : 'Tekstist üles', quality : 'Kvaliteet', qualityBest : 'Parim', qualityHigh : 'Kõrge', qualityAutoHigh : 'Automaatne kõrge', qualityMedium : 'Keskmine', qualityAutoLow : 'Automaatne madal', qualityLow : 'Madal', windowModeWindow: 'Aken', windowModeOpaque: 'Läbipaistmatu', windowModeTransparent : 'Läbipaistev', windowMode : 'Akna režiim', flashvars : 'Flashi muutujad', bgcolor : 'Tausta värv', hSpace : 'H. vaheruum', vSpace : 'V. vaheruum', validateSrc : 'Palun kirjuta lingi URL', validateHSpace : 'H. vaheruum peab olema number.', validateVSpace : 'V. vaheruum peab olema number.' }, // Speller Pages Dialog spellCheck : { toolbar : 'Õigekirjakontroll', title : 'Õigekirjakontroll', notAvailable : 'Kahjuks ei ole teenus praegu saadaval.', errorLoading : 'Viga rakenduse teenushosti laadimisel: %s.', notInDic : 'Puudub sõnastikust', changeTo : 'Muuda', btnIgnore : 'Ignoreeri', btnIgnoreAll : 'Ignoreeri kõiki', btnReplace : 'Asenda', btnReplaceAll : 'Asenda kõik', btnUndo : 'Võta tagasi', noSuggestions : '- Soovitused puuduvad -', progress : 'Toimub õigekirja kontroll...', noMispell : 'Õigekirja kontroll sooritatud: õigekirjuvigu ei leitud', noChanges : 'Õigekirja kontroll sooritatud: ühtegi sõna ei muudetud', oneChange : 'Õigekirja kontroll sooritatud: üks sõna muudeti', manyChanges : 'Õigekirja kontroll sooritatud: %1 sõna muudetud', ieSpellDownload : 'Õigekirja kontrollija ei ole paigaldatud. Soovid sa selle alla laadida?' }, smiley : { toolbar : 'Emotikon', title : 'Sisesta emotikon', options : 'Emotikonide valikud' }, elementsPath : { eleLabel : 'Elementide asukoht', eleTitle : '%1 element' }, numberedlist : 'Numberloend', bulletedlist : 'Punktloend', indent : 'Taande suurendamine', outdent : 'Taande vähendamine', justify : { left : 'Vasakjoondus', center : 'Keskjoondus', right : 'Paremjoondus', block : 'Rööpjoondus' }, blockquote : 'Blokktsitaat', clipboard : { title : 'Asetamine', cutError : 'Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt lõigata. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl/Cmd+X).', copyError : 'Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt kopeerida. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl/Cmd+C).', pasteMsg : 'Palun aseta tekst järgnevasse kasti kasutades klaviatuuri klahvikombinatsiooni (<STRONG>Ctrl/Cmd+V</STRONG>) ja vajuta seejärel <STRONG>OK</STRONG>.', securityMsg : 'Sinu veebisirvija turvaseadete tõttu ei oma redaktor otsest ligipääsu lõikelaua andmetele. Sa pead asetama need uuesti siia aknasse.', pasteArea : 'Asetamise ala' }, pastefromword : { confirmCleanup : 'Tekst, mida tahad asetada näib pärinevat Wordist. Kas tahad selle enne asetamist puhastada?', toolbar : 'Asetamine Wordist', title : 'Asetamine Wordist', error : 'Asetatud andmete puhastamine ei olnud sisemise vea tõttu võimalik' }, pasteText : { button : 'Asetamine tavalise tekstina', title : 'Asetamine tavalise tekstina' }, templates : { button : 'Mall', title : 'Sisumallid', options : 'Malli valikud', insertOption : 'Praegune sisu asendatakse', selectPromptMsg : 'Palun vali mall, mis avada redaktoris<br />(praegune sisu läheb kaotsi):', emptyListMsg : '(Ühtegi malli ei ole defineeritud)' }, showBlocks : 'Blokkide näitamine', stylesCombo : { label : 'Stiil', panelTitle : 'Vormindusstiilid', panelTitle1 : 'Blokkstiilid', panelTitle2 : 'Reasisesed stiilid', panelTitle3 : 'Objektistiilid' }, format : { label : 'Vorming', panelTitle : 'Vorming', tag_p : 'Tavaline', tag_pre : 'Vormindatud', tag_address : 'Aadress', tag_h1 : 'Pealkiri 1', tag_h2 : 'Pealkiri 2', tag_h3 : 'Pealkiri 3', tag_h4 : 'Pealkiri 4', tag_h5 : 'Pealkiri 5', tag_h6 : 'Pealkiri 6', tag_div : 'Tavaline (DIV)' }, div : { title : 'Div-konteineri loomine', toolbar : 'Div-konteineri loomine', cssClassInputLabel : 'Stiililehe klassid', styleSelectLabel : 'Stiil', IdInputLabel : 'ID', languageCodeInputLabel : ' Keelekood', inlineStyleInputLabel : 'Reasisene stiil', advisoryTitleInputLabel : 'Soovitatav pealkiri', langDirLabel : 'Keele suund', langDirLTRLabel : 'Vasakult paremale (LTR)', langDirRTLLabel : 'Paremalt vasakule (RTL)', edit : 'Muuda Div', remove : 'Eemalda Div' }, iframe : { title : 'IFrame omadused', toolbar : 'IFrame', noUrl : 'Vali iframe URLi liik', scrolling : 'Kerimisribade lubamine', border : 'Raami äärise näitamine' }, font : { label : 'Kiri', voiceLabel : 'Kiri', panelTitle : 'Kiri' }, fontSize : { label : 'Suurus', voiceLabel : 'Kirja suurus', panelTitle : 'Suurus' }, colorButton : { textColorTitle : 'Teksti värv', bgColorTitle : 'Tausta värv', panelTitle : 'Värvid', auto : 'Automaatne', more : 'Rohkem värve...' }, colors : { '000' : 'Must', '800000' : 'Kastanpruun', '8B4513' : 'Sadulapruun', '2F4F4F' : 'Tume paehall', '008080' : 'Sinakasroheline', '000080' : 'Meresinine', '4B0082' : 'Indigosinine', '696969' : 'Tumehall', 'B22222' : 'Šamottkivi', 'A52A2A' : 'Pruun', 'DAA520' : 'Kuldkollane', '006400' : 'Tumeroheline', '40E0D0' : 'Türkiissinine', '0000CD' : 'Keskmine sinine', '800080' : 'Lilla', '808080' : 'Hall', 'F00' : 'Punanae', 'FF8C00' : 'Tumeoranž', 'FFD700' : 'Kuldne', '008000' : 'Roheline', '0FF' : 'Tsüaniidsinine', '00F' : 'Sinine', 'EE82EE' : 'Violetne', 'A9A9A9' : 'Tuhm hall', 'FFA07A' : 'Hele lõhe', 'FFA500' : 'Oranž', 'FFFF00' : 'Kollane', '00FF00' : 'Lubja hall', 'AFEEEE' : 'Kahvatu türkiis', 'ADD8E6' : 'Helesinine', 'DDA0DD' : 'Ploomililla', 'D3D3D3' : 'Helehall', 'FFF0F5' : 'Lavendlipunane', 'FAEBD7' : 'Antiikvalge', 'FFFFE0' : 'Helekollane', 'F0FFF0' : 'Meloniroheline', 'F0FFFF' : 'Taevasinine', 'F0F8FF' : 'Beebisinine', 'E6E6FA' : 'Lavendel', 'FFF' : 'Valge' }, scayt : { title : 'Õigekirjakontroll kirjutamise ajal', opera_title : 'Operas pole toetatud', enable : 'SCAYT lubatud', disable : 'SCAYT keelatud', about : 'SCAYT-ist lähemalt', toggle : 'SCAYT sisse/välja lülitamine', options : 'Valikud', langs : 'Keeled', moreSuggestions : 'Veel soovitusi', ignore : 'Eira', ignoreAll : 'Eira kõiki', addWord : 'Lisa sõna', emptyDic : 'Sõnaraamatu nimi ei tohi olla tühi.', optionsTab : 'Valikud', allCaps : 'Läbivate suurtähtedega sõnade eiramine', ignoreDomainNames : 'Domeeninimede eiramine', mixedCase : 'Tavapäratu tõstuga sõnade eiramine', mixedWithDigits : 'Numbreid sisaldavate sõnade eiramine', languagesTab : 'Keeled', dictionariesTab : 'Sõnaraamatud', dic_field_name : 'Sõnaraamatu nimi', dic_create : 'Loo', dic_restore : 'Taasta', dic_delete : 'Kustuta', dic_rename : 'Nimeta ümber', dic_info : 'Alguses säilitatakse kasutaja sõnaraamatut küpsises. Küpsise suurus on piiratud. Pärast sõnaraamatu kasvamist nii suureks, et see küpsisesse ei mahu, võib sõnaraamatut hoida meie serveris. Oma isikliku sõnaraamatu hoidmiseks meie serveris pead andma sellele nime. Kui sa juba oled sõnaraamatu salvestanud, sisesta selle nimi ja klõpsa taastamise nupule.', aboutTab : 'Lähemalt' }, about : { title : 'CKEditorist', dlgTitle : 'CKEditorist', help : 'Abi jaoks vaata $1.', userGuide : 'CKEditori kasutusjuhendit', moreInfo : 'Litsentsi andmed leiab meie veebilehelt:', copy : 'Copyright &copy; $1. Kõik õigused kaitstud.' }, maximize : 'Maksimeerimine', minimize : 'Minimeerimine', fakeobjects : { anchor : 'Ankur', flash : 'Flashi animatsioon', iframe : 'IFrame', hiddenfield : 'Varjatud väli', unknown : 'Tundmatu objekt' }, resize : 'Suuruse muutmiseks lohista', colordialog : { title : 'Värvi valimine', options : 'Värvi valikud', highlight : 'Näidis', selected : 'Valitud värv', clear : 'Eemalda' }, toolbarCollapse : 'Tööriistariba peitmine', toolbarExpand : 'Tööriistariba näitamine', toolbarGroups : { document : 'Dokument', clipboard : 'Lõikelaud/tagasivõtmine', editing : 'Muutmine', forms : 'Vormid', basicstyles : 'Põhistiilid', paragraph : 'Lõik', links : 'Lingid', insert : 'Sisesta', styles : 'Stiilid', colors : 'Värvid', tools : 'Tööriistad' }, bidi : { ltr : 'Teksti suund vasakult paremale', rtl : 'Teksti suund paremalt vasakule' }, docprops : { label : 'Dokumendi omadused', title : 'Dokumendi omadused', design : 'Disain', meta : 'Meta andmed', chooseColor : 'Vali', other : '<muu>', docTitle : 'Lehekülje tiitel', charset : 'Märgistiku kodeering', charsetOther : 'Ülejäänud märgistike kodeeringud', charsetASCII : 'ASCII', charsetCE : 'Kesk-Euroopa', charsetCT : 'Hiina traditsiooniline (Big5)', charsetCR : 'Kirillisa', charsetGR : 'Kreeka', charsetJP : 'Jaapani', charsetKR : 'Korea', charsetTR : 'Türgi', charsetUN : 'Unicode (UTF-8)', charsetWE : 'Lääne-Euroopa', docType : 'Dokumendi tüüppäis', docTypeOther : 'Teised dokumendi tüüppäised', xhtmlDec : 'Arva kaasa XHTML deklaratsioonid', bgColor : 'Taustavärv', bgImage : 'Taustapildi URL', bgFixed : 'Mittekeritav tagataust', txtColor : 'Teksti värv', margin : 'Lehekülje äärised', marginTop : 'Ülaserv', marginLeft : 'Vasakserv', marginRight : 'Paremserv', marginBottom : 'Alaserv', metaKeywords : 'Dokumendi võtmesõnad (eraldatud komadega)', metaDescription : 'Dokumendi kirjeldus', metaAuthor : 'Autor', metaCopyright : 'Autoriõigus', previewHtml : '<p>See on <strong>näidistekst</strong>. Sa kasutad <a href="javascript:void(0)">CKEditori</a>.</p>' } };
zysms
trunk/zysms/include/ckeditor/_source/lang/et.js
JavaScript
asf20
23,777
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Serbian (Cyrillic) language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['sr'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'Kôд', newPage : 'Нова страница', save : 'Сачувај', preview : 'Изглед странице', cut : 'Исеци', copy : 'Копирај', paste : 'Залепи', print : 'Штампа', underline : 'Подвучено', bold : 'Подебљано', italic : 'Курзив', selectAll : 'Означи све', removeFormat : 'Уклони форматирање', strike : 'Прецртано', subscript : 'Индекс', superscript : 'Степен', horizontalrule : 'Унеси хоризонталну линију', pagebreak : 'Insert Page Break for Printing', // MISSING pagebreakAlt : 'Page Break', // MISSING unlink : 'Уклони линк', undo : 'Поништи акцију', redo : 'Понови акцију', // Common messages and labels. common : { browseServer : 'Претражи сервер', url : 'УРЛ', protocol : 'Протокол', upload : 'Пошаљи', uploadSubmit : 'Пошаљи на сервер', image : 'Слика', flash : 'Флеш елемент', form : 'Форма', checkbox : 'Поље за потврду', radio : 'Радио-дугме', textField : 'Текстуално поље', textarea : 'Зона текста', hiddenField : 'Скривено поље', button : 'Дугме', select : 'Изборно поље', imageButton : 'Дугме са сликом', notSet : '<није постављено>', id : 'Ид', name : 'Назив', langDir : 'Смер језика', langDirLtr : 'С лева на десно (LTR)', langDirRtl : 'С десна на лево (RTL)', langCode : 'Kôд језика', longDescr : 'Пун опис УРЛ', cssClass : 'Stylesheet класе', advisoryTitle : 'Advisory наслов', cssStyle : 'Стил', ok : 'OK', cancel : 'Oткажи', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', // MISSING advancedTab : 'Напредни тагови', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Ширина', height : 'Висина', align : 'Равнање', alignLeft : 'Лево', alignRight : 'Десно', alignCenter : 'Средина', alignTop : 'Врх', alignMiddle : 'Средина', alignBottom : 'Доле', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Унеси специјални карактер', title : 'Одаберите специјални карактер', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Унеси/измени линк', other : '<other>', // MISSING menu : 'Промени линк', title : 'Линк', info : 'Линк инфо', target : 'Meтa', upload : 'Пошаљи', advanced : 'Напредни тагови', type : 'Врста линка', toUrl : 'URL', // MISSING toAnchor : 'Сидро на овој страници', toEmail : 'Eлектронска пошта', targetFrame : '<оквир>', targetPopup : '<искачући прозор>', targetFrameName : 'Назив одредишног фрејма', targetPopupName : 'Назив искачућег прозора', popupFeatures : 'Могућности искачућег прозора', popupResizable : 'Resizable', // MISSING popupStatusBar : 'Статусна линија', popupLocationBar: 'Локација', popupToolbar : 'Toolbar', popupMenuBar : 'Контекстни мени', popupFullScreen : 'Приказ преко целог екрана (ИE)', popupScrollBars : 'Скрол бар', popupDependent : 'Зависно (Netscape)', popupLeft : 'Од леве ивице екрана (пиксела)', popupTop : 'Од врха екрана (пиксела)', id : 'Id', // MISSING langDir : 'Смер језика', langDirLTR : 'С лева на десно (LTR)', langDirRTL : 'С десна на лево (RTL)', acccessKey : 'Приступни тастер', name : 'Назив', langCode : 'Смер језика', tabIndex : 'Таб индекс', advisoryTitle : 'Advisory наслов', advisoryContentType : 'Advisory врста садржаја', cssClasses : 'Stylesheet класе', charset : 'Linked Resource Charset', styles : 'Стил', rel : 'Relationship', // MISSING selectAnchor : 'Одабери сидро', anchorName : 'По називу сидра', anchorId : 'Пo Ид-jу елемента', emailAddress : 'Адреса електронске поште', emailSubject : 'Наслов', emailBody : 'Садржај поруке', noAnchors : '(Нема доступних сидра)', noUrl : 'Унесите УРЛ линка', noEmail : 'Откуцајте адресу електронске поште' }, // Anchor dialog anchor : { toolbar : 'Унеси/измени сидро', menu : 'Особине сидра', title : 'Особине сидра', name : 'Име сидра', errorName : 'Молимо Вас да унесете име сидра', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Find and Replace', // MISSING find : 'Претрага', replace : 'Замена', findWhat : 'Пронађи:', replaceWith : 'Замени са:', notFoundMsg : 'Тражени текст није пронађен.', findOptions : 'Find Options', // MISSING matchCase : 'Разликуј велика и мала слова', matchWord : 'Упореди целе речи', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'Замени све', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'Табела', title : 'Особине табеле', menu : 'Особине табеле', deleteTable : 'Delete Table', // MISSING rows : 'Редова', columns : 'Kолона', border : 'Величина оквира', widthPx : 'пиксела', widthPc : 'процената', widthUnit : 'width unit', // MISSING cellSpace : 'Ћелијски простор', cellPad : 'Размак ћелија', caption : 'Наслов табеле', summary : 'Summary', // MISSING headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'Cell', // MISSING insertBefore : 'Insert Cell Before', // MISSING insertAfter : 'Insert Cell After', // MISSING deleteCell : 'Обриши ћелије', merge : 'Спој ћелије', mergeRight : 'Merge Right', // MISSING mergeDown : 'Merge Down', // MISSING splitHorizontal : 'Split Cell Horizontally', // MISSING splitVertical : 'Split Cell Vertically', // MISSING title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'Row', // MISSING insertBefore : 'Insert Row Before', // MISSING insertAfter : 'Insert Row After', // MISSING deleteRow : 'Обриши редове' }, column : { menu : 'Column', // MISSING insertBefore : 'Insert Column Before', // MISSING insertAfter : 'Insert Column After', // MISSING deleteColumn : 'Обриши колоне' } }, // Button Dialog. button : { title : 'Особине дугмета', text : 'Текст (вредност)', type : 'Tип', typeBtn : 'Button', // MISSING typeSbm : 'Submit', // MISSING typeRst : 'Reset' // MISSING }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Особине поља за потврду', radioTitle : 'Особине радио-дугмета', value : 'Вредност', selected : 'Означено' }, // Form Dialog. form : { title : 'Особине форме', menu : 'Особине форме', action : 'Aкција', method : 'Mетода', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'Особине изборног поља', selectInfo : 'Инфо', opAvail : 'Доступне опције', value : 'Вредност', size : 'Величина', lines : 'линија', chkMulti : 'Дозволи вишеструку селекцију', opText : 'Текст', opValue : 'Вредност', btnAdd : 'Додај', btnModify : 'Измени', btnUp : 'Горе', btnDown : 'Доле', btnSetValue : 'Подеси као означену вредност', btnDelete : 'Обриши' }, // Textarea Dialog. textarea : { title : 'Особине зоне текста', cols : 'Број колона', rows : 'Број редова' }, // Text Field Dialog. textfield : { title : 'Особине текстуалног поља', name : 'Назив', value : 'Вредност', charWidth : 'Ширина (карактера)', maxChars : 'Максимално карактера', type : 'Тип', typeText : 'Текст', typePass : 'Лозинка' }, // Hidden Field Dialog. hidden : { title : 'Особине скривеног поља', name : 'Назив', value : 'Вредност' }, // Image Dialog. image : { title : 'Особине слика', titleButton : 'Особине дугмета са сликом', menu : 'Особине слика', infoTab : 'Инфо слике', btnUpload : 'Пошаљи на сервер', upload : 'Пошаљи', alt : 'Алтернативни текст', lockRatio : 'Закључај однос', resetSize : 'Ресетуј величину', border : 'Оквир', hSpace : 'HSpace', vSpace : 'VSpace', alertUrl : 'Унесите УРЛ слике', linkTab : 'Линк', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Особине Флеша', propertiesTab : 'Properties', // MISSING title : 'Особине флеша', chkPlay : 'Аутоматски старт', chkLoop : 'Понављај', chkMenu : 'Укључи флеш мени', chkFull : 'Allow Fullscreen', // MISSING scale : 'Скалирај', scaleAll : 'Прикажи све', scaleNoBorder : 'Без ивице', scaleFit : 'Попуни површину', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Abs доле', alignAbsMiddle : 'Abs средина', alignBaseline : 'Базно', alignTextTop : 'Врх текста', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'Боја позадине', hSpace : 'HSpace', vSpace : 'VSpace', validateSrc : 'Унесите УРЛ линка', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'Провери спеловање', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'Није у речнику', changeTo : 'Измени', btnIgnore : 'Игнориши', btnIgnoreAll : 'Игнориши све', btnReplace : 'Замени', btnReplaceAll : 'Замени све', btnUndo : 'Врати акцију', noSuggestions : '- Без сугестија -', progress : 'Провера спеловања у току...', noMispell : 'Провера спеловања завршена: грешке нису пронађене', noChanges : 'Провера спеловања завршена: Није измењена ниједна реч', oneChange : 'Провера спеловања завршена: Измењена је једна реч', manyChanges : 'Провера спеловања завршена: %1 реч(и) је измењено', ieSpellDownload : 'Провера спеловања није инсталирана. Да ли желите да је скинете са Интернета?' }, smiley : { toolbar : 'Смајли', title : 'Унеси смајлија', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'Набројиву листу', bulletedlist : 'Ненабројива листа', indent : 'Увећај леву маргину', outdent : 'Смањи леву маргину', justify : { left : 'Лево равнање', center : 'Центриран текст', right : 'Десно равнање', block : 'Обострано равнање' }, blockquote : 'Block Quote', // MISSING clipboard : { title : 'Залепи', cutError : 'Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског исецања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl/Cmd+X).', copyError : 'Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског копирања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl/Cmd+C).', pasteMsg : 'Молимо Вас да залепите унутар доње површине користећи тастатурну пречицу (<STRONG>Ctrl/Cmd+V</STRONG>) и да притиснете <STRONG>OK</STRONG>.', securityMsg : '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 pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Залепи из Worda', title : 'Залепи из Worda', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Залепи као чист текст', title : 'Залепи као чист текст' }, templates : { button : 'Обрасци', title : 'Обрасци за садржај', options : 'Template Options', // MISSING insertOption : 'Replace actual contents', // MISSING selectPromptMsg : 'Молимо Вас да одаберете образац који ће бити примењен на страницу (тренутни садржај ће бити обрисан):', emptyListMsg : '(Нема дефинисаних образаца)' }, showBlocks : 'Show Blocks', // MISSING stylesCombo : { label : 'Стил', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'Формат', panelTitle : 'Формат', tag_p : 'Normal', tag_pre : 'Formatirano', tag_address : 'Adresa', tag_h1 : 'Heading 1', tag_h2 : 'Heading 2', tag_h3 : 'Heading 3', tag_h4 : 'Heading 4', tag_h5 : 'Heading 5', tag_h6 : 'Heading 6', tag_div : 'Normal (DIV)' // MISSING }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Фонт', voiceLabel : 'Font', // MISSING panelTitle : 'Фонт' }, fontSize : { label : 'Величина фонта', voiceLabel : 'Font Size', // MISSING panelTitle : 'Величина фонта' }, colorButton : { textColorTitle : 'Боја текста', bgColorTitle : 'Боја позадине', panelTitle : 'Colors', // MISSING auto : 'Аутоматски', more : 'Више боја...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Особине документа', title : 'Особине документа', design : 'Design', // MISSING meta : 'Метаподаци', chooseColor : 'Choose', // MISSING other : '<other>', docTitle : 'Наслов странице', charset : 'Кодирање скупа карактера', charsetOther : 'Остала кодирања скупа карактера', charsetASCII : 'ASCII', // MISSING charsetCE : 'Central European', // MISSING charsetCT : 'Chinese Traditional (Big5)', // MISSING charsetCR : 'Cyrillic', // MISSING charsetGR : 'Greek', // MISSING charsetJP : 'Japanese', // MISSING charsetKR : 'Korean', // MISSING charsetTR : 'Turkish', // MISSING charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Western European', // MISSING docType : 'Заглавље типа документа', docTypeOther : 'Остала заглавља типа документа', xhtmlDec : 'Улључи XHTML декларације', bgColor : 'Боја позадине', bgImage : 'УРЛ позадинске слике', bgFixed : 'Фиксирана позадина', txtColor : 'Боја текста', margin : 'Маргине странице', marginTop : 'Горња', marginLeft : 'Лева', marginRight : 'Десна', marginBottom : 'Доња', metaKeywords : 'Кључне речи за индексирање документа (раздвојене зарезом)', metaDescription : 'Опис документа', metaAuthor : 'Аутор', metaCopyright : 'Ауторска права', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/sr.js
JavaScript
asf20
30,121
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Latvian language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['lv'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'HTML kods', newPage : 'Jauna lapa', save : 'Saglabāt', preview : 'Pārskatīt', cut : 'Izgriezt', copy : 'Kopēt', paste : 'Ievietot', print : 'Drukāt', underline : 'Apakšsvītra', bold : 'Treknu šriftu', italic : 'Slīprakstā', selectAll : 'Iezīmēt visu', removeFormat : 'Noņemt stilus', strike : 'Pārsvītrots', subscript : 'Zemrakstā', superscript : 'Augšrakstā', horizontalrule : 'Ievietot horizontālu Atdalītājsvītru', pagebreak : 'Ievietot lapas pārtraukumu', pagebreakAlt : 'Page Break', // MISSING unlink : 'Noņemt hipersaiti', undo : 'Atcelt', redo : 'Atkārtot', // Common messages and labels. common : { browseServer : 'Skatīt servera saturu', url : 'URL', protocol : 'Protokols', upload : 'Augšupielādēt', uploadSubmit : 'Nosūtīt serverim', image : 'Attēls', flash : 'Flash', form : 'Forma', checkbox : 'Atzīmēšanas kastīte', radio : 'Izvēles poga', textField : 'Teksta rinda', textarea : 'Teksta laukums', hiddenField : 'Paslēpta teksta rinda', button : 'Poga', select : 'Iezīmēšanas lauks', imageButton : 'Attēlpoga', notSet : '<nav iestatīts>', id : 'Id', name : 'Nosaukums', langDir : 'Valodas lasīšanas virziens', langDirLtr : 'No kreisās uz labo (LTR)', langDirRtl : 'No labās uz kreiso (RTL)', langCode : 'Valodas kods', longDescr : 'Gara apraksta Hipersaite', cssClass : 'Stilu saraksta klases', advisoryTitle : 'Konsultatīvs virsraksts', cssStyle : 'Stils', ok : 'Darīts!', cancel : 'Atcelt', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', // MISSING advancedTab : 'Izvērstais', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Platums', height : 'Augstums', align : 'Nolīdzināt', alignLeft : 'Pa kreisi', alignRight : 'Pa labi', alignCenter : 'Centrēti', alignTop : 'Augšā', alignMiddle : 'Vertikāli centrēts', alignBottom : 'Apakšā', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Ievietot speciālo simbolu', title : 'Ievietot īpašu simbolu', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Ievietot/Labot hipersaiti', other : '<cits>', menu : 'Labot hipersaiti', title : 'Hipersaite', info : 'Hipersaites informācija', target : 'Mērķis', upload : 'Augšupielādēt', advanced : 'Izvērstais', type : 'Hipersaites tips', toUrl : 'URL', // MISSING toAnchor : 'Iezīme šajā lapā', toEmail : 'E-pasts', targetFrame : '<ietvars>', targetPopup : '<uznirstošā logā>', targetFrameName : 'Mērķa ietvara nosaukums', targetPopupName : 'Uznirstošā loga nosaukums', popupFeatures : 'Uznirstošā loga nosaukums īpašības', popupResizable : 'Resizable', // MISSING popupStatusBar : 'Statusa josla', popupLocationBar: 'Atrašanās vietas josla', popupToolbar : 'Rīku josla', popupMenuBar : 'Izvēlnes josla', popupFullScreen : 'Pilnā ekrānā (IE)', popupScrollBars : 'Ritjoslas', popupDependent : 'Atkarīgs (Netscape)', popupLeft : 'Kreisā koordināte', popupTop : 'Augšējā koordināte', id : 'Id', // MISSING langDir : 'Valodas lasīšanas virziens', langDirLTR : 'No kreisās uz labo (LTR)', langDirRTL : 'No labās uz kreiso (RTL)', acccessKey : 'Pieejas kods', name : 'Nosaukums', langCode : 'Valodas lasīšanas virziens', tabIndex : 'Ciļņu indekss', advisoryTitle : 'Konsultatīvs virsraksts', advisoryContentType : 'Konsultatīvs satura tips', cssClasses : 'Stilu saraksta klases', charset : 'Pievienotā resursa kodu tabula', styles : 'Stils', rel : 'Relationship', // MISSING selectAnchor : 'Izvēlēties iezīmi', anchorName : 'Pēc iezīmes nosaukuma', anchorId : 'Pēc elementa ID', emailAddress : 'E-pasta adrese', emailSubject : 'Ziņas tēma', emailBody : 'Ziņas saturs', noAnchors : '(Šajā dokumentā nav iezīmju)', noUrl : 'Lūdzu norādi hipersaiti', noEmail : 'Lūdzu norādi e-pasta adresi' }, // Anchor dialog anchor : { toolbar : 'Ievietot/Labot iezīmi', menu : 'Iezīmes īpašības', title : 'Iezīmes īpašības', name : 'Iezīmes nosaukums', errorName : 'Lūdzu norādiet iezīmes nosaukumu', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Find and Replace', // MISSING find : 'Meklēt', replace : 'Nomainīt', findWhat : 'Meklēt:', replaceWith : 'Nomainīt uz:', notFoundMsg : 'Norādītā frāze netika atrasta.', findOptions : 'Find Options', // MISSING matchCase : 'Reģistrjūtīgs', matchWord : 'Jāsakrīt pilnībā', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'Aizvietot visu', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'Tabula', title : 'Tabulas īpašības', menu : 'Tabulas īpašības', deleteTable : 'Dzēst tabulu', rows : 'Rindas', columns : 'Kolonnas', border : 'Rāmja izmērs', widthPx : 'pikseļos', widthPc : 'procentuāli', widthUnit : 'width unit', // MISSING cellSpace : 'Rūtiņu atstatums', cellPad : 'Rūtiņu nobīde', caption : 'Leģenda', summary : 'Anotācija', headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'Šūna', insertBefore : 'Insert Cell Before', // MISSING insertAfter : 'Insert Cell After', // MISSING deleteCell : 'Dzēst rūtiņas', merge : 'Apvienot rūtiņas', mergeRight : 'Merge Right', // MISSING mergeDown : 'Merge Down', // MISSING splitHorizontal : 'Split Cell Horizontally', // MISSING splitVertical : 'Split Cell Vertically', // MISSING title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'Rinda', insertBefore : 'Insert Row Before', // MISSING insertAfter : 'Insert Row After', // MISSING deleteRow : 'Dzēst rindas' }, column : { menu : 'Kolonna', insertBefore : 'Insert Column Before', // MISSING insertAfter : 'Insert Column After', // MISSING deleteColumn : 'Dzēst kolonnas' } }, // Button Dialog. button : { title : 'Pogas īpašības', text : 'Teksts (vērtība)', type : 'Tips', typeBtn : 'Button', // MISSING typeSbm : 'Submit', // MISSING typeRst : 'Reset' // MISSING }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Atzīmēšanas kastītes īpašības', radioTitle : 'Izvēles poga īpašības', value : 'Vērtība', selected : 'Iezīmēts' }, // Form Dialog. form : { title : 'Formas īpašības', menu : 'Formas īpašības', action : 'Darbība', method : 'Metode', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'Iezīmēšanas lauka īpašības', selectInfo : 'Informācija', opAvail : 'Pieejamās iespējas', value : 'Vērtība', size : 'Izmērs', lines : 'rindas', chkMulti : 'Atļaut vairākus iezīmējumus', opText : 'Teksts', opValue : 'Vērtība', btnAdd : 'Pievienot', btnModify : 'Veikt izmaiņas', btnUp : 'Augšup', btnDown : 'Lejup', btnSetValue : 'Noteikt kā iezīmēto vērtību', btnDelete : 'Dzēst' }, // Textarea Dialog. textarea : { title : 'Teksta laukuma īpašības', cols : 'Kolonnas', rows : 'Rindas' }, // Text Field Dialog. textfield : { title : 'Teksta rindas īpašības', name : 'Nosaukums', value : 'Vērtība', charWidth : 'Simbolu platums', maxChars : 'Simbolu maksimālais daudzums', type : 'Tips', typeText : 'Teksts', typePass : 'Parole' }, // Hidden Field Dialog. hidden : { title : 'Paslēptās teksta rindas īpašības', name : 'Nosaukums', value : 'Vērtība' }, // Image Dialog. image : { title : 'Attēla īpašības', titleButton : 'Attēlpogas īpašības', menu : 'Attēla īpašības', infoTab : 'Informācija par attēlu', btnUpload : 'Nosūtīt serverim', upload : 'Augšupielādēt', alt : 'Alternatīvais teksts', lockRatio : 'Nemainīga Augstuma/Platuma attiecība', resetSize : 'Atjaunot sākotnējo izmēru', border : 'Rāmis', hSpace : 'Horizontālā telpa', vSpace : 'Vertikālā telpa', alertUrl : 'Lūdzu norādīt attēla hipersaiti', linkTab : 'Hipersaite', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Flash īpašības', propertiesTab : 'Properties', // MISSING title : 'Flash īpašības', chkPlay : 'Automātiska atskaņošana', chkLoop : 'Nepārtraukti', chkMenu : 'Atļaut Flash izvēlni', chkFull : 'Allow Fullscreen', // MISSING scale : 'Mainīt izmēru', scaleAll : 'Rādīt visu', scaleNoBorder : 'Bez rāmja', scaleFit : 'Precīzs izmērs', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Absolūti apakšā', alignAbsMiddle : 'Absolūti vertikāli centrēts', alignBaseline : 'Pamatrindā', alignTextTop : 'Teksta augšā', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'Fona krāsa', hSpace : 'Horizontālā telpa', vSpace : 'Vertikālā telpa', validateSrc : 'Lūdzu norādi hipersaiti', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'Pareizrakstības pārbaude', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'Netika atrasts vārdnīcā', changeTo : 'Nomainīt uz', btnIgnore : 'Ignorēt', btnIgnoreAll : 'Ignorēt visu', btnReplace : 'Aizvietot', btnReplaceAll : 'Aizvietot visu', btnUndo : 'Atcelt', noSuggestions : '- Nav ieteikumu -', progress : 'Notiek pareizrakstības pārbaude...', noMispell : 'Pareizrakstības pārbaude pabeigta: kļūdas netika atrastas', noChanges : 'Pareizrakstības pārbaude pabeigta: nekas netika labots', oneChange : 'Pareizrakstības pārbaude pabeigta: 1 vārds izmainīts', manyChanges : '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?' }, smiley : { toolbar : 'Smaidiņi', title : 'Ievietot smaidiņu', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'Numurēts saraksts', bulletedlist : 'Izcelts saraksts', indent : 'Palielināt atkāpi', outdent : 'Samazināt atkāpi', justify : { left : 'Izlīdzināt pa kreisi', center : 'Izlīdzināt pret centru', right : 'Izlīdzināt pa labi', block : 'Izlīdzināt malas' }, blockquote : 'Block Quote', // MISSING clipboard : { title : 'Ievietot', cutError : 'Jūsu pārlūkprogrammas drošības iestatījumi nepieļauj editoram automātiski veikt izgriešanas darbību. Lūdzu, izmantojiet (Ctrl/Cmd+X, lai veiktu šo darbību.', copyError : 'Jūsu pārlūkprogrammas drošības iestatījumi nepieļauj editoram automātiski veikt kopēšanas darbību. Lūdzu, izmantojiet (Ctrl/Cmd+C), lai veiktu šo darbību.', pasteMsg : 'Lūdzu, ievietojiet tekstu šajā laukumā, izmantojot klaviatūru (<STRONG>Ctrl/Cmd+V</STRONG>) un apstipriniet ar <STRONG>Darīts!</STRONG>.', securityMsg : '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 pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Ievietot no Worda', title : 'Ievietot no Worda', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Ievietot kā vienkāršu tekstu', title : 'Ievietot kā vienkāršu tekstu' }, templates : { button : 'Sagataves', title : 'Satura sagataves', options : 'Template Options', // MISSING insertOption : 'Replace actual contents', // MISSING selectPromptMsg : 'Lūdzu, norādiet sagatavi, ko atvērt editorā<br>(patreizējie dati tiks zaudēti):', emptyListMsg : '(Nav norādītas sagataves)' }, showBlocks : 'Show Blocks', // MISSING stylesCombo : { label : 'Stils', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'Formāts', panelTitle : 'Formāts', tag_p : 'Normāls teksts', tag_pre : 'Formatēts teksts', tag_address : 'Adrese', tag_h1 : 'Virsraksts 1', tag_h2 : 'Virsraksts 2', tag_h3 : 'Virsraksts 3', tag_h4 : 'Virsraksts 4', tag_h5 : 'Virsraksts 5', tag_h6 : 'Virsraksts 6', tag_div : 'Rindkopa (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Šrifts', voiceLabel : 'Font', // MISSING panelTitle : 'Šrifts' }, fontSize : { label : 'Izmērs', voiceLabel : 'Font Size', // MISSING panelTitle : 'Izmērs' }, colorButton : { textColorTitle : 'Teksta krāsa', bgColorTitle : 'Fona krāsa', panelTitle : 'Colors', // MISSING auto : 'Automātiska', more : 'Plašāka palete...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Dokumenta īpašības', title : 'Dokumenta īpašības', design : 'Design', // MISSING meta : 'META dati', chooseColor : 'Choose', // MISSING other : '<cits>', docTitle : 'Dokumenta virsraksts <Title>', charset : 'Simbolu kodējums', charsetOther : 'Cits simbolu kodējums', charsetASCII : 'ASCII', // MISSING charsetCE : 'Central European', // MISSING charsetCT : 'Chinese Traditional (Big5)', // MISSING charsetCR : 'Cyrillic', // MISSING charsetGR : 'Greek', // MISSING charsetJP : 'Japanese', // MISSING charsetKR : 'Korean', // MISSING charsetTR : 'Turkish', // MISSING charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Western European', // MISSING docType : 'Dokumenta tips', docTypeOther : 'Cits dokumenta tips', xhtmlDec : 'Ietvert XHTML deklarācijas', bgColor : 'Fona krāsa', bgImage : 'Fona attēla hipersaite', bgFixed : 'Fona attēls ir fiksēts', txtColor : 'Teksta krāsa', margin : 'Lapas robežas', marginTop : 'Augšā', marginLeft : 'Pa kreisi', marginRight : 'Pa labi', marginBottom : 'Apakšā', metaKeywords : 'Dokumentu aprakstoši atslēgvārdi (atdalīti ar komatu)', metaDescription : 'Dokumenta apraksts', metaAuthor : 'Autors', metaCopyright : 'Autortiesības', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/lv.js
JavaScript
asf20
27,418
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Hebrew language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['he'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'rtl', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'עורך טקסט עשיר, %1, לחץ אלט (ALT) + 0 לעזרה.', // ARIA descriptions. toolbars : 'סרגלי כלים של העורך', editor : 'עורך טקסט עשיר', // Toolbar buttons without dialogs. source : 'מקור', newPage : 'דף חדש', save : 'שמירה', preview : 'תצוגה מקדימה', cut : 'גזירה', copy : 'העתקה', paste : 'הדבקה', print : 'הדפסה', underline : 'קו תחתון', bold : 'מודגש', italic : 'נטוי', selectAll : 'בחירת הכל', removeFormat : 'הסרת העיצוב', strike : 'כתיב מחוק', subscript : 'כתיב תחתון', superscript : 'כתיב עליון', horizontalrule : 'הוספת קו אופקי', pagebreak : 'הוספת שבירת דף', pagebreakAlt : 'שבירת דף', unlink : 'הסרת הקישור', undo : 'ביטול צעד אחרון', redo : 'חזרה על צעד אחרון', // Common messages and labels. common : { browseServer : 'סייר השרת', url : 'כתובת (URL)', protocol : 'פרוטוקול', upload : 'העלאה', uploadSubmit : 'שליחה לשרת', image : 'תמונה', flash : 'פלאש', form : 'טופס', checkbox : 'תיבת סימון', radio : 'לחצן אפשרויות', textField : 'שדה טקסט', textarea : 'איזור טקסט', hiddenField : 'שדה חבוי', button : 'כפתור', select : 'שדה בחירה', imageButton : 'כפתור תמונה', notSet : '<לא נקבע>', id : 'זיהוי (ID)', name : 'שם', langDir : 'כיוון שפה', langDirLtr : 'שמאל לימין (LTR)', langDirRtl : 'ימין לשמאל (RTL)', langCode : 'קוד שפה', longDescr : 'קישור לתיאור מפורט', cssClass : 'מחלקת עיצוב (CSS Class)', advisoryTitle : 'כותרת מוצעת', cssStyle : 'סגנון', ok : 'אישור', cancel : 'ביטול', close : 'סגירה', preview : 'תצוגה מקדימה', generalTab : 'כללי', advancedTab : 'אפשרויות מתקדמות', validateNumberFailed : 'הערך חייב להיות מספרי.', confirmNewPage : 'כל השינויים שלא נשמרו יאבדו. האם להעלות דף חדש?', confirmCancel : 'חלק מהאפשרויות שונו, האם לסגור את הדיאלוג?', options : 'אפשרויות', target : 'מטרה', targetNew : 'חלון חדש (_blank)', targetTop : 'החלון העליון ביותר (_top)', targetSelf : 'אותו חלון (_self)', targetParent : 'חלון האב (_parent)', langDirLTR : 'שמאל לימין (LTR)', langDirRTL : 'ימין לשמאל (RTL)', styles : 'סגנון', cssClasses : 'מחלקות גליונות סגנון', width : 'רוחב', height : 'גובה', align : 'יישור', alignLeft : 'לשמאל', alignRight : 'לימין', alignCenter : 'מרכז', alignTop : 'למעלה', alignMiddle : 'לאמצע', alignBottom : 'לתחתית', invalidHeight : 'הגובה חייב להיות מספר.', invalidWidth : 'הרוחב חייב להיות מספר.', invalidCssLength : 'הערך שצוין לשדה "%1" חייב להיות מספר חיובי עם או ללא יחידת מידה חוקית של CSS (px, %, in, cm, mm, em, ex, pt, או pc).', invalidHtmlLength : 'הערך שצוין לשדה "%1" חייב להיות מספר חיובי עם או ללא יחידת מידה חוקית של HTML (px או %).', invalidInlineStyle : 'הערך שצויין לשדה הסגנון חייב להכיל זוג ערכים אחד או יותר בפורמט "שם : ערך", מופרדים על ידי נקודה-פסיק.', cssLengthTooltip : 'יש להכניס מספר המייצג פיקסלים או מספר עם יחידת גליונות סגנון תקינה (px, %, in, cm, mm, em, ex, pt, or pc).', // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, לא זמין</span>' }, contextmenu : { options : 'אפשרויות תפריט ההקשר' }, // Special char dialog. specialChar : { toolbar : 'הוספת תו מיוחד', title : 'בחירת תו מיוחד', options : 'אפשרויות תווים מיוחדים' }, // Link dialog. link : { toolbar : 'הוספת/עריכת קישור', other : '<אחר>', menu : 'מאפייני קישור', title : 'קישור', info : 'מידע על הקישור', target : 'מטרה', upload : 'העלאה', advanced : 'אפשרויות מתקדמות', type : 'סוג קישור', toUrl : 'כתובת (URL)', toAnchor : 'עוגן בעמוד זה', toEmail : 'דוא"ל', targetFrame : '<מסגרת>', targetPopup : '<חלון קופץ>', targetFrameName : 'שם מסגרת היעד', targetPopupName : 'שם החלון הקופץ', popupFeatures : 'תכונות החלון הקופץ', popupResizable : 'שינוי גודל', popupStatusBar : 'סרגל חיווי', popupLocationBar: 'סרגל כתובת', popupToolbar : 'סרגל הכלים', popupMenuBar : 'סרגל תפריט', popupFullScreen : 'מסך מלא (IE)', popupScrollBars : 'ניתן לגלילה', popupDependent : 'תלוי (Netscape)', popupLeft : 'מיקום צד שמאל', popupTop : 'מיקום צד עליון', id : 'זיהוי (ID)', langDir : 'כיוון שפה', langDirLTR : 'שמאל לימין (LTR)', langDirRTL : 'ימין לשמאל (RTL)', acccessKey : 'מקש גישה', name : 'שם', langCode : 'קוד שפה', tabIndex : 'מספר טאב', advisoryTitle : 'כותרת מוצעת', advisoryContentType : 'Content Type מוצע', cssClasses : 'גיליונות עיצוב קבוצות', charset : 'קידוד המשאב המקושר', styles : 'סגנון', rel : 'קשר גומלין', selectAnchor : 'בחירת עוגן', anchorName : 'עפ"י שם העוגן', anchorId : 'עפ"י זיהוי (ID) האלמנט', emailAddress : 'כתובת הדוא"ל', emailSubject : 'נושא ההודעה', emailBody : 'גוף ההודעה', noAnchors : '(אין עוגנים זמינים בדף)', noUrl : 'יש להקליד את כתובת הקישור (URL)', noEmail : 'יש להקליד את כתובת הדוא"ל' }, // Anchor dialog anchor : { toolbar : 'הוספת/עריכת נקודת עיגון', menu : 'מאפייני נקודת עיגון', title : 'מאפייני נקודת עיגון', name : 'שם לנקודת עיגון', errorName : 'יש להקליד שם לנקודת עיגון', remove : 'מחיקת נקודת עיגון' }, // List style dialog list: { numberedTitle : 'תכונות רשימה ממוספרת', bulletedTitle : 'תכונות רשימת תבליטים', type : 'סוג', start : 'תחילת מספור', validateStartNumber :'שדה תחילת המספור חייב להכיל מספר שלם.', circle : 'עיגול ריק', disc : 'עיגול מלא', square : 'ריבוע', none : 'ללא', notset : '<לא נקבע>', armenian : 'ספרות ארמניות', georgian : 'ספרות גיאורגיות (an, ban, gan וכו\')', lowerRoman : 'ספירה רומית באותיות קטנות (i, ii, iii, iv, v וכו\')', upperRoman : 'ספירה רומיות באותיות גדולות (I, II, III, IV, V וכו\')', lowerAlpha : 'אותיות אנגליות קטנות (a, b, c, d, e וכו\')', upperAlpha : 'אותיות אנגליות גדולות (A, B, C, D, E וכו\')', lowerGreek : 'אותיות יווניות קטנות (alpha, beta, gamma וכו\')', decimal : 'ספרות (1, 2, 3 וכו\')', decimalLeadingZero : 'ספרות עם 0 בהתחלה (01, 02, 03 וכו\')' }, // Find And Replace Dialog findAndReplace : { title : 'חיפוש והחלפה', find : 'חיפוש', replace : 'החלפה', findWhat : 'חיפוש מחרוזת:', replaceWith : 'החלפה במחרוזת:', notFoundMsg : 'הטקסט המבוקש לא נמצא.', findOptions : 'אפשרויות חיפוש', matchCase : 'הבחנה בין אותיות רשיות לקטנות (Case)', matchWord : 'התאמה למילה המלאה', matchCyclic : 'התאמה מחזורית', replaceAll : 'החלפה בכל העמוד', replaceSuccessMsg : '%1 טקסטים הוחלפו.' }, // Table Dialog table : { toolbar : 'טבלה', title : 'מאפייני טבלה', menu : 'מאפייני טבלה', deleteTable : 'מחק טבלה', rows : 'שורות', columns : 'עמודות', border : 'גודל מסגרת', widthPx : 'פיקסלים', widthPc : 'אחוז', widthUnit : 'יחידת רוחב', cellSpace : 'מרווח תא', cellPad : 'ריפוד תא', caption : 'כיתוב', summary : 'תקציר', headers : 'כותרות', headersNone : 'אין', headersColumn : 'עמודה ראשונה', headersRow : 'שורה ראשונה', headersBoth : 'שניהם', invalidRows : 'שדה מספר השורות חייב להיות מספר גדול מ 0.', invalidCols : 'שדה מספר העמודות חייב להיות מספר גדול מ 0.', invalidBorder : 'שדה גודל המסגרת חייב להיות מספר.', invalidWidth : 'שדה רוחב הטבלה חייב להיות מספר.', invalidHeight : 'שדה גובה הטבלה חייב להיות מספר.', invalidCellSpacing : 'שדה ריווח התאים חייב להיות מספר חיובי.', invalidCellPadding : 'שדה ריפוד התאים חייב להיות מספר חיובי.', cell : { menu : 'מאפייני תא', insertBefore : 'הוספת תא לפני', insertAfter : 'הוספת תא אחרי', deleteCell : 'מחיקת תאים', merge : 'מיזוג תאים', mergeRight : 'מזג ימינה', mergeDown : 'מזג למטה', splitHorizontal : 'פיצול תא אופקית', splitVertical : 'פיצול תא אנכית', title : 'תכונות התא', cellType : 'סוג התא', rowSpan : 'מתיחת השורות', colSpan : 'מתיחת התאים', wordWrap : 'מניעת גלישת שורות', hAlign : 'יישור אופקי', vAlign : 'יישור אנכי', alignBaseline : 'שורת בסיס', bgColor : 'צבע רקע', borderColor : 'צבע מסגרת', data : 'מידע', header : 'כותרת', yes : 'כן', no : 'לא', invalidWidth : 'שדה רוחב התא חייב להיות מספר.', invalidHeight : 'שדה גובה התא חייב להיות מספר.', invalidRowSpan : 'שדה מתיחת השורות חייב להיות מספר שלם.', invalidColSpan : 'שדה מתיחת העמודות חייב להיות מספר שלם.', chooseColor : 'בחר' }, row : { menu : 'שורה', insertBefore : 'הוספת שורה לפני', insertAfter : 'הוספת שורה אחרי', deleteRow : 'מחיקת שורות' }, column : { menu : 'עמודה', insertBefore : 'הוספת עמודה לפני', insertAfter : 'הוספת עמודה אחרי', deleteColumn : 'מחיקת עמודות' } }, // Button Dialog. button : { title : 'מאפייני כפתור', text : 'טקסט (ערך)', type : 'סוג', typeBtn : 'כפתור', typeSbm : 'שליחה', typeRst : 'איפוס' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'מאפייני תיבת סימון', radioTitle : 'מאפייני לחצן אפשרויות', value : 'ערך', selected : 'מסומן' }, // Form Dialog. form : { title : 'מאפיני טופס', menu : 'מאפיני טופס', action : 'שלח אל', method : 'סוג שליחה', encoding : 'קידוד' }, // Select Field Dialog. select : { title : 'מאפייני שדה בחירה', selectInfo : 'מידע', opAvail : 'אפשרויות זמינות', value : 'ערך', size : 'גודל', lines : 'שורות', chkMulti : 'איפשור בחירות מרובות', opText : 'טקסט', opValue : 'ערך', btnAdd : 'הוספה', btnModify : 'שינוי', btnUp : 'למעלה', btnDown : 'למטה', btnSetValue : 'קביעה כברירת מחדל', btnDelete : 'מחיקה' }, // Textarea Dialog. textarea : { title : 'מאפייני איזור טקסט', cols : 'עמודות', rows : 'שורות' }, // Text Field Dialog. textfield : { title : 'מאפייני שדה טקסט', name : 'שם', value : 'ערך', charWidth : 'רוחב לפי תווים', maxChars : 'מקסימום תווים', type : 'סוג', typeText : 'טקסט', typePass : 'סיסמה' }, // Hidden Field Dialog. hidden : { title : 'מאפיני שדה חבוי', name : 'שם', value : 'ערך' }, // Image Dialog. image : { title : 'מאפייני התמונה', titleButton : 'מאפיני כפתור תמונה', menu : 'תכונות התמונה', infoTab : 'מידע על התמונה', btnUpload : 'שליחה לשרת', upload : 'העלאה', alt : 'טקסט חלופי', lockRatio : 'נעילת היחס', resetSize : 'איפוס הגודל', border : 'מסגרת', hSpace : 'מרווח אופקי', vSpace : 'מרווח אנכי', alertUrl : 'יש להקליד את כתובת התמונה', linkTab : 'קישור', button2Img : 'האם להפוך את תמונת הכפתור לתמונה פשוטה?', img2Button : 'האם להפוך את התמונה לכפתור תמונה?', urlMissing : 'כתובת התמונה חסרה.', validateBorder : 'שדה המסגרת חייב להיות מספר שלם.', validateHSpace : 'שדה המרווח האופקי חייב להיות מספר שלם.', validateVSpace : 'שדה המרווח האנכי חייב להיות מספר שלם.' }, // Flash Dialog flash : { properties : 'מאפייני פלאש', propertiesTab : 'מאפיינים', title : 'מאפיני פלאש', chkPlay : 'ניגון אוטומטי', chkLoop : 'לולאה', chkMenu : 'אפשר תפריט פלאש', chkFull : 'אפשר חלון מלא', scale : 'גודל', scaleAll : 'הצג הכל', scaleNoBorder : 'ללא גבולות', scaleFit : 'התאמה מושלמת', access : 'גישת סקריפט', accessAlways : 'תמיד', accessSameDomain: 'דומיין זהה', accessNever : 'אף פעם', alignAbsBottom : 'לתחתית האבסולוטית', alignAbsMiddle : 'מרכוז אבסולוטי', alignBaseline : 'לקו התחתית', alignTextTop : 'לראש הטקסט', quality : 'איכות', qualityBest : 'מעולה', qualityHigh : 'גבוהה', qualityAutoHigh : 'גבוהה אוטומטית', qualityMedium : 'ממוצעת', qualityAutoLow : 'נמוכה אוטומטית', qualityLow : 'נמוכה', windowModeWindow: 'חלון', windowModeOpaque: 'אטום', windowModeTransparent : 'שקוף', windowMode : 'מצב חלון', flashvars : 'משתנים לפלאש', bgcolor : 'צבע רקע', hSpace : 'מרווח אופקי', vSpace : 'מרווח אנכי', validateSrc : 'יש להקליד את כתובת סרטון הפלאש (URL)', validateHSpace : 'המרווח האופקי חייב להיות מספר.', validateVSpace : 'המרווח האנכי חייב להיות מספר.' }, // Speller Pages Dialog spellCheck : { toolbar : 'בדיקת איות', title : 'בדיקת איות', notAvailable : 'לא נמצא שירות זמין.', errorLoading : 'שגיאה בהעלאת השירות: %s.', notInDic : 'לא נמצא במילון', changeTo : 'שינוי ל', btnIgnore : 'התעלמות', btnIgnoreAll : 'התעלמות מהכל', btnReplace : 'החלפה', btnReplaceAll : 'החלפת הכל', btnUndo : 'החזרה', noSuggestions : '- אין הצעות -', progress : 'בודק האיות בתהליך בדיקה....', noMispell : 'בדיקות איות הסתיימה: לא נמצאו שגיאות כתיב', noChanges : 'בדיקות איות הסתיימה: לא שונתה אף מילה', oneChange : 'בדיקות איות הסתיימה: שונתה מילה אחת', manyChanges : 'בדיקות איות הסתיימה: %1 מילים שונו', ieSpellDownload : 'בודק האיות לא מותקן, האם להורידו?' }, smiley : { toolbar : 'סמיילי', title : 'הוספת סמיילי', options : 'אפשרויות סמיילים' }, elementsPath : { eleLabel : 'עץ האלמנטים', eleTitle : '%1 אלמנט' }, numberedlist : 'רשימה ממוספרת', bulletedlist : 'רשימת נקודות', indent : 'הגדלת הזחה', outdent : 'הקטנת הזחה', justify : { left : 'יישור לשמאל', center : 'מרכוז', right : 'יישור לימין', block : 'יישור לשוליים' }, blockquote : 'בלוק ציטוט', clipboard : { title : 'הדבקה', cutError : 'הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות גזירה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl/Cmd+X).', copyError : 'הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות העתקה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl/Cmd+C).', pasteMsg : 'נא להדביק בתוך הקופסה באמצעות (<b>Ctrl/Cmd+V</b>) וללחוץ על <b>אישור</b>.', securityMsg : 'עקב הגדרות אבטחה בדפדפן, לא ניתן לגשת אל לוח הגזירים (Clipboard) בצורה ישירה. נא להדביק שוב בחלון זה.', pasteArea : 'איזור הדבקה' }, pastefromword : { confirmCleanup : 'נראה הטקסט שבכוונתך להדביק מקורו בקובץ וורד. האם ברצונך לנקות אותו טרם ההדבקה?', toolbar : 'הדבקה מ-Word', title : 'הדבקה מ-Word', error : 'לא ניתן היה לנקות את המידע בשל תקלה פנימית.' }, pasteText : { button : 'הדבקה כטקסט פשוט', title : 'הדבקה כטקסט פשוט' }, templates : { button : 'תבניות', title : 'תביות תוכן', options : 'אפשרויות התבניות', insertOption : 'החלפת תוכן ממשי', selectPromptMsg : 'יש לבחור תבנית לפתיחה בעורך.<br />התוכן המקורי ימחק:', emptyListMsg : '(לא הוגדרו תבניות)' }, showBlocks : 'הצגת בלוקים', stylesCombo : { label : 'סגנון', panelTitle : 'סגנונות פורמט', panelTitle1 : 'סגנונות בלוק', panelTitle2 : 'סגנונות רצף', panelTitle3 : 'סגנונות אובייקט' }, format : { label : 'עיצוב', panelTitle : 'עיצוב', tag_p : 'נורמלי', tag_pre : 'קוד', tag_address : 'כתובת', tag_h1 : 'כותרת', tag_h2 : 'כותרת 2', tag_h3 : 'כותרת 3', tag_h4 : 'כותרת 4', tag_h5 : 'כותרת 5', tag_h6 : 'כותרת 6', tag_div : 'נורמלי (DIV)' }, div : { title : 'יצירת מיכל (Div)', toolbar : 'יצירת מיכל (Div)', cssClassInputLabel : 'מחלקת עיצוב', styleSelectLabel : 'סגנון', IdInputLabel : 'מזהה (ID)', languageCodeInputLabel : 'קוד שפה', inlineStyleInputLabel : 'סגנון פנימי', advisoryTitleInputLabel : 'כותרת מוצעת', langDirLabel : 'כיוון שפה', langDirLTRLabel : 'שמאל לימין (LTR)', langDirRTLLabel : 'ימין לשמאל (RTL)', edit : 'עריכת מיכל (Div)', remove : 'הסרת מיכל (Div)' }, iframe : { title : 'מאפייני חלון פנימי (iframe)', toolbar : 'חלון פנימי (iframe)', noUrl : 'יש להכניס כתובת לחלון.', scrolling : 'אפשר פסי גלילה', border : 'הראה מסגרת לחלון' }, font : { label : 'גופן', voiceLabel : 'גופן', panelTitle : 'גופן' }, fontSize : { label : 'גודל', voiceLabel : 'גודל', panelTitle : 'גודל' }, colorButton : { textColorTitle : 'צבע טקסט', bgColorTitle : 'צבע רקע', panelTitle : 'צבעים', auto : 'אוטומטי', more : 'צבעים נוספים...' }, colors : { '000' : 'שחור', '800000' : 'סגול כהה', '8B4513' : 'חום בהיר', '2F4F4F' : 'אפור צפחה', '008080' : 'כחול-ירוק', '000080' : 'כחול-סגול', '4B0082' : 'אינדיגו', '696969' : 'אפור מעומעם', 'B22222' : 'אדום-חום', 'A52A2A' : 'חום', 'DAA520' : 'כתום זהב', '006400' : 'ירוק כהה', '40E0D0' : 'טורקיז', '0000CD' : 'כחול בינוני', '800080' : 'סגול', '808080' : 'אפור', 'F00' : 'אדום', 'FF8C00' : 'כתום כהה', 'FFD700' : 'זהב', '008000' : 'ירוק', '0FF' : 'ציאן', '00F' : 'כחול', 'EE82EE' : 'סגלגל', 'A9A9A9' : 'אפור כהה', 'FFA07A' : 'כתום-וורוד', 'FFA500' : 'כתום', 'FFFF00' : 'צהוב', '00FF00' : 'ליים', 'AFEEEE' : 'טורקיז בהיר', 'ADD8E6' : 'כחול בהיר', 'DDA0DD' : 'שזיף', 'D3D3D3' : 'אפור בהיר', 'FFF0F5' : 'לבנדר מסמיק', 'FAEBD7' : 'לבן עתיק', 'FFFFE0' : 'צהוב בהיר', 'F0FFF0' : 'טל דבש', 'F0FFFF' : 'תכלת', 'F0F8FF' : 'כחול טיפת מים', 'E6E6FA' : 'לבנדר', 'FFF' : 'לבן' }, scayt : { title : 'בדיקת איות בזמן כתיבה (SCAYT)', opera_title : 'לא זמין בדפדפן אופרה', enable : 'אפשר SCAYT', disable : 'בטל SCAYT', about : 'אודות SCAYT', toggle : 'שינוי SCAYT', options : 'אפשרויות', langs : 'שפות', moreSuggestions : 'הצעות נוספות', ignore : 'התעלמות', ignoreAll : 'התעלמות מהכל', addWord : 'הוספת מילה', emptyDic : 'יש לבחור מילון.', optionsTab : 'אפשרויות', allCaps : 'התעלם ממילים שכל אותיותיהן גדולות', ignoreDomainNames : 'התעלם משמות מתחם', mixedCase : 'התעלם ממילים עם אותיות גדולות וקטנות ביחד', mixedWithDigits : 'התעלם ממילים עם מספרים', languagesTab : 'שפות', dictionariesTab : 'מילון', dic_field_name : 'שם המילון', dic_create : 'יצירה', dic_restore : 'שחזור', dic_delete : 'מחיקה', dic_rename : 'שינוי שם', dic_info : 'בהתחלה מילון המשתמש מאוחסן בעוגיה, אך עוגיות מוגבלות במקום. כאשר המילון מגיע לגודל בו הוא אינו יכול להתאכסן בעוגיה, המילון צריך להתאכסן בשרתנו. לשם כך עליך לתת שם למילון. אם כבר יש לך מילון מאוחסן, יש להכניס את שמו וללחוץ על כפתור השחזור.', aboutTab : 'אודות' }, about : { title : 'אודות CKEditor', dlgTitle : 'אודות CKEditor', help : 'היכנסו ל$1 לעזרה.', userGuide : 'מדריך המשתמש של CKEditor', moreInfo : 'למידע נוסף בקרו באתרנו:', copy : 'Copyright &copy; $1. כל הזכויות שמורות.' }, maximize : 'הגדלה למקסימום', minimize : 'הקטנה למינימום', fakeobjects : { anchor : 'עוגן', flash : 'סרטון פלאש', iframe : 'חלון פנימי (iframe)', hiddenfield : 'שדה חבוי', unknown : 'אובייקט לא ידוע' }, resize : 'יש לגרור בכדי לשנות את הגודל', colordialog : { title : 'בחירת צבע', options : 'אפשרויות צבע', highlight : 'סימון', selected : 'בחירה', clear : 'ניקוי' }, toolbarCollapse : 'מזעור סרגל כלים', toolbarExpand : 'הרחבת סרגל כלים', toolbarGroups : { document : 'מסמך', clipboard : 'לוח הגזירים (Clipboard)/צעד אחרון', editing : 'עריכה', forms : 'טפסים', basicstyles : 'עיצוב בסיסי', paragraph : 'פסקה', links : 'קישורים', insert : 'הכנסה', styles : 'עיצוב', colors : 'צבעים', tools : 'כלים' }, bidi : { ltr : 'כיוון טקסט משמאל לימין (LTR)', rtl : 'כיוון טקסט מימין לשמאל (RTL)' }, docprops : { label : 'מאפייני מסמך', title : 'מאפייני מסמך', design : 'עיצוב', meta : 'תגי Meta', chooseColor : 'בחירה', other : 'אחר...', docTitle : 'כותרת עמוד', charset : 'קידוד תווים', charsetOther : 'קידוד תווים אחר', charsetASCII : 'ASCII', charsetCE : 'מרכז אירופאי', charsetCT : 'סיני מסורתי (Big5)', charsetCR : 'קירילי', charsetGR : 'יווני', charsetJP : 'יפני', charsetKR : 'קוריאני', charsetTR : 'טורקי', charsetUN : 'יוניקוד (UTF-8)', charsetWE : 'מערב אירופאי', docType : 'כותר סוג מסמך', docTypeOther : 'כותר סוג מסמך אחר', xhtmlDec : 'כלול הכרזות XHTML', bgColor : 'צבע רקע', bgImage : 'כתובת של תמונת רקע', bgFixed : 'רקע לא נגלל (צמוד)', txtColor : 'צבע טקסט', margin : 'מרווחי עמוד', marginTop : 'עליון', marginLeft : 'שמאלי', marginRight : 'ימני', marginBottom : 'תחתון', metaKeywords : 'מילות מפתח של המסמך (מופרדות בפסיק)', metaDescription : 'תיאור המסמך', metaAuthor : 'מחבר/ת', metaCopyright : 'זכויות יוצרים', previewHtml : '<p>זהו <strong>טקסט הדגמה</strong>. את/ה משתמש/ת ב<a href="javascript:void(0)">CKEditor</a>.</p>' } };
zysms
trunk/zysms/include/ckeditor/_source/lang/he.js
JavaScript
asf20
28,055
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Chinese Traditional language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['zh'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : '原始碼', newPage : '開新檔案', save : '儲存', preview : '預覽', cut : '剪下', copy : '複製', paste : '貼上', print : '列印', underline : '底線', bold : '粗體', italic : '斜體', selectAll : '全選', removeFormat : '清除格式', strike : '刪除線', subscript : '下標', superscript : '上標', horizontalrule : '插入水平線', pagebreak : '插入分頁符號', pagebreakAlt : 'Page Break', // MISSING unlink : '移除超連結', undo : '復原', redo : '重複', // Common messages and labels. common : { browseServer : '瀏覽伺服器端', url : 'URL', protocol : '通訊協定', upload : '上傳', uploadSubmit : '上傳至伺服器', image : '影像', flash : 'Flash', form : '表單', checkbox : '核取方塊', radio : '選項按鈕', textField : '文字方塊', textarea : '文字區域', hiddenField : '隱藏欄位', button : '按鈕', select : '清單/選單', imageButton : '影像按鈕', notSet : '<尚未設定>', id : 'ID', name : '名稱', langDir : '語言方向', langDirLtr : '由左而右 (LTR)', langDirRtl : '由右而左 (RTL)', langCode : '語言代碼', longDescr : '詳細 URL', cssClass : '樣式表類別', advisoryTitle : '標題', cssStyle : '樣式', ok : '確定', cancel : '取消', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : '一般', advancedTab : '進階', validateNumberFailed : '需要輸入數字格式', confirmNewPage : '現存的修改尚未儲存,要開新檔案?', confirmCancel : '部份選項尚未儲存,要關閉對話盒?', options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : '寬度', height : '高度', align : '對齊', alignLeft : '靠左對齊', alignRight : '靠右對齊', alignCenter : '置中', alignTop : '靠上對齊', alignMiddle : '置中對齊', alignBottom : '靠下對齊', invalidHeight : '高度必須為數字格式', invalidWidth : '寬度必須為數字格式', invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, 已關閉</span>' }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : '插入特殊符號', title : '請選擇特殊符號', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : '插入/編輯超連結', other : '<其他>', menu : '編輯超連結', title : '超連結', info : '超連結資訊', target : '目標', upload : '上傳', advanced : '進階', type : '超連接類型', toUrl : 'URL', // MISSING toAnchor : '本頁錨點', toEmail : '電子郵件', targetFrame : '<框架>', targetPopup : '<快顯視窗>', targetFrameName : '目標框架名稱', targetPopupName : '快顯視窗名稱', popupFeatures : '快顯視窗屬性', popupResizable : '可縮放', popupStatusBar : '狀態列', popupLocationBar: '網址列', popupToolbar : '工具列', popupMenuBar : '選單列', popupFullScreen : '全螢幕 (IE)', popupScrollBars : '捲軸', popupDependent : '從屬 (NS)', popupLeft : '左', popupTop : '右', id : 'ID', langDir : '語言方向', langDirLTR : '由左而右 (LTR)', langDirRTL : '由右而左 (RTL)', acccessKey : '存取鍵', name : '名稱', langCode : '語言方向', tabIndex : '定位順序', advisoryTitle : '標題', advisoryContentType : '內容類型', cssClasses : '樣式表類別', charset : '連結資源之編碼', styles : '樣式', rel : 'Relationship', // MISSING selectAnchor : '請選擇錨點', anchorName : '依錨點名稱', anchorId : '依元件 ID', emailAddress : '電子郵件', emailSubject : '郵件主旨', emailBody : '郵件內容', noAnchors : '(本文件尚無可用之錨點)', noUrl : '請輸入欲連結的 URL', noEmail : '請輸入電子郵件位址' }, // Anchor dialog anchor : { toolbar : '插入/編輯錨點', menu : '錨點屬性', title : '錨點屬性', name : '錨點名稱', errorName : '請輸入錨點名稱', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : '尋找與取代', find : '尋找', replace : '取代', findWhat : '尋找:', replaceWith : '取代:', notFoundMsg : '未找到指定的文字。', findOptions : 'Find Options', // MISSING matchCase : '大小寫須相符', matchWord : '全字相符', matchCyclic : '循環搜索', replaceAll : '全部取代', replaceSuccessMsg : '共完成 %1 次取代' }, // Table Dialog table : { toolbar : '表格', title : '表格屬性', menu : '表格屬性', deleteTable : '刪除表格', rows : '列數', columns : '欄數', border : '邊框', widthPx : '像素', widthPc : '百分比', widthUnit : 'width unit', // MISSING cellSpace : '間距', cellPad : '內距', caption : '標題', summary : '摘要', headers : '標題', headersNone : '無標題', headersColumn : '第一欄', headersRow : '第一列', headersBoth : '第一欄和第一列', invalidRows : '必須有一或更多的列', invalidCols : '必須有一或更多的欄', invalidBorder : '邊框大小必須為數字格式', invalidWidth : '表格寬度必須為數字格式', invalidHeight : '表格高度必須為數字格式', invalidCellSpacing : '儲存格間距必須為數字格式', invalidCellPadding : '儲存格內距必須為數字格式', cell : { menu : '儲存格', insertBefore : '向左插入儲存格', insertAfter : '向右插入儲存格', deleteCell : '刪除儲存格', merge : '合併儲存格', mergeRight : '向右合併儲存格', mergeDown : '向下合併儲存格', splitHorizontal : '橫向分割儲存格', splitVertical : '縱向分割儲存格', title : '儲存格屬性', cellType : '儲存格類別', rowSpan : '儲存格列數', colSpan : '儲存格欄數', wordWrap : '自動換行', hAlign : '水平對齊', vAlign : '垂直對齊', alignBaseline : '基線對齊', bgColor : '背景顏色', borderColor : '邊框顏色', data : '數據', header : '標題', yes : '是', no : '否', invalidWidth : '儲存格寬度必須為數字格式', invalidHeight : '儲存格高度必須為數字格式', invalidRowSpan : '儲存格列數必須為整數格式', invalidColSpan : '儲存格欄數度必須為整數格式', chooseColor : 'Choose' // MISSING }, row : { menu : '列', insertBefore : '向上插入列', insertAfter : '向下插入列', deleteRow : '刪除列' }, column : { menu : '欄', insertBefore : '向左插入欄', insertAfter : '向右插入欄', deleteColumn : '刪除欄' } }, // Button Dialog. button : { title : '按鈕屬性', text : '顯示文字 (值)', type : '類型', typeBtn : '按鈕 (Button)', typeSbm : '送出 (Submit)', typeRst : '重設 (Reset)' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : '核取方塊屬性', radioTitle : '選項按鈕屬性', value : '選取值', selected : '已選取' }, // Form Dialog. form : { title : '表單屬性', menu : '表單屬性', action : '動作', method : '方法', encoding : '表單編碼' }, // Select Field Dialog. select : { title : '清單/選單屬性', selectInfo : '資訊', opAvail : '可用選項', value : '值', size : '大小', lines : '行', chkMulti : '可多選', opText : '顯示文字', opValue : '選取值', btnAdd : '新增', btnModify : '修改', btnUp : '上移', btnDown : '下移', btnSetValue : '設為預設值', btnDelete : '刪除' }, // Textarea Dialog. textarea : { title : '文字區域屬性', cols : '字元寬度', rows : '列數' }, // Text Field Dialog. textfield : { title : '文字方塊屬性', name : '名稱', value : '值', charWidth : '字元寬度', maxChars : '最多字元數', type : '類型', typeText : '文字', typePass : '密碼' }, // Hidden Field Dialog. hidden : { title : '隱藏欄位屬性', name : '名稱', value : '值' }, // Image Dialog. image : { title : '影像屬性', titleButton : '影像按鈕屬性', menu : '影像屬性', infoTab : '影像資訊', btnUpload : '上傳至伺服器', upload : '上傳', alt : '替代文字', lockRatio : '等比例', resetSize : '重設為原大小', border : '邊框', hSpace : '水平距離', vSpace : '垂直距離', alertUrl : '請輸入影像 URL', linkTab : '超連結', button2Img : '要把影像按鈕改成影像嗎?', img2Button : '要把影像改成影像按鈕嗎?', urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Flash 屬性', propertiesTab : '屬性', title : 'Flash 屬性', chkPlay : '自動播放', chkLoop : '重複', chkMenu : '開啟選單', chkFull : '啟動全螢幕顯示', scale : '縮放', scaleAll : '全部顯示', scaleNoBorder : '無邊框', scaleFit : '精確符合', access : '允許腳本訪問', accessAlways : '永遠', accessSameDomain: '相同域名', accessNever : '永不', alignAbsBottom : '絕對下方', alignAbsMiddle : '絕對中間', alignBaseline : '基準線', alignTextTop : '文字上方', quality : '質素', qualityBest : '最好', qualityHigh : '高', qualityAutoHigh : '高(自動)', qualityMedium : '中(自動)', qualityAutoLow : '低(自動)', qualityLow : '低', windowModeWindow: '視窗', windowModeOpaque: '不透明', windowModeTransparent : '透明', windowMode : '視窗模式', flashvars : 'Flash 變數', bgcolor : '背景顏色', hSpace : '水平距離', vSpace : '垂直距離', validateSrc : '請輸入欲連結的 URL', validateHSpace : '水平間距必須為數字格式', validateVSpace : '垂直間距必須為數字格式' }, // Speller Pages Dialog spellCheck : { toolbar : '拼字檢查', title : '拼字檢查', notAvailable : '抱歉,服務目前暫不可用', errorLoading : '無法聯系侍服器: %s.', notInDic : '不在字典中', changeTo : '更改為', btnIgnore : '忽略', btnIgnoreAll : '全部忽略', btnReplace : '取代', btnReplaceAll : '全部取代', btnUndo : '復原', noSuggestions : '- 無建議值 -', progress : '進行拼字檢查中…', noMispell : '拼字檢查完成:未發現拼字錯誤', noChanges : '拼字檢查完成:未更改任何單字', oneChange : '拼字檢查完成:更改了 1 個單字', manyChanges : '拼字檢查完成:更改了 %1 個單字', ieSpellDownload : '尚未安裝拼字檢查元件。您是否想要現在下載?' }, smiley : { toolbar : '表情符號', title : '插入表情符號', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 元素' }, numberedlist : '編號清單', bulletedlist : '項目清單', indent : '增加縮排', outdent : '減少縮排', justify : { left : '靠左對齊', center : '置中', right : '靠右對齊', block : '左右對齊' }, blockquote : '引用文字', clipboard : { title : '貼上', cutError : '瀏覽器的安全性設定不允許編輯器自動執行剪下動作。請使用快捷鍵 (Ctrl/Cmd+X) 剪下。', copyError : '瀏覽器的安全性設定不允許編輯器自動執行複製動作。請使用快捷鍵 (Ctrl/Cmd+C) 複製。', pasteMsg : '請使用快捷鍵 (<strong>Ctrl/Cmd+V</strong>) 貼到下方區域中並按下 <strong>確定</strong>', securityMsg : '因為瀏覽器的安全性設定,本編輯器無法直接存取您的剪貼簿資料,請您自行在本視窗進行貼上動作。', pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : '您想貼上的文字似乎是自 Word 複製而來,請問您是否要先清除 Word 的格式後再行貼上?', toolbar : '自 Word 貼上', title : '自 Word 貼上', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : '貼為純文字格式', title : '貼為純文字格式' }, templates : { button : '樣版', title : '內容樣版', options : 'Template Options', // MISSING insertOption : '取代原有內容', selectPromptMsg : '請選擇欲開啟的樣版<br> (原有的內容將會被清除):', emptyListMsg : '(無樣版)' }, showBlocks : '顯示區塊', stylesCombo : { label : '樣式', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : '塊級元素樣式', panelTitle2 : '內聯元素樣式', panelTitle3 : '物件元素樣式' }, format : { label : '格式', panelTitle : '格式', tag_p : '一般', tag_pre : '已格式化', tag_address : '位址', tag_h1 : '標題 1', tag_h2 : '標題 2', tag_h3 : '標題 3', tag_h4 : '標題 4', tag_h5 : '標題 5', tag_h6 : '標題 6', tag_div : '一般 (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : '字體', voiceLabel : '字體', panelTitle : '字體' }, fontSize : { label : '大小', voiceLabel : '文字大小', panelTitle : '大小' }, colorButton : { textColorTitle : '文字顏色', bgColorTitle : '背景顏色', panelTitle : 'Colors', // MISSING auto : '自動', more : '更多顏色…' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : '即時拼寫檢查', opera_title : 'Not supported by Opera', // MISSING enable : '啟用即時拼寫檢查', disable : '關閉即時拼寫檢查', about : '關於即時拼寫檢查', toggle : '啟用/關閉即時拼寫檢查', options : '選項', langs : '語言', moreSuggestions : '更多拼寫建議', ignore : '忽略', ignoreAll : '全部忽略', addWord : '添加單詞', emptyDic : '字典名不應為空.', optionsTab : '選項', allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : '語言', dictionariesTab : '字典', dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : '關於' }, about : { title : '關於 CKEditor', dlgTitle : '關於 CKEditor', help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : '訪問我們的網站以獲取更多關於協議的信息', copy : 'Copyright &copy; $1. All rights reserved.' }, maximize : '最大化', minimize : 'Minimize', // MISSING fakeobjects : { anchor : '錨點', flash : 'Flash 動畫', iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : '不明物件' }, resize : '拖拽改變大小', colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : '文件屬性', title : '文件屬性', design : 'Design', // MISSING meta : 'Meta 資料', chooseColor : 'Choose', // MISSING other : '<其他>', docTitle : '頁面標題', charset : '字元編碼', charsetOther : '其他字元編碼', charsetASCII : 'ASCII', // MISSING charsetCE : '中歐語系', charsetCT : '正體中文 (Big5)', charsetCR : '斯拉夫文', charsetGR : '希臘文', charsetJP : '日文', charsetKR : '韓文', charsetTR : '土耳其文', charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : '西歐語系', docType : '文件類型', docTypeOther : '其他文件類型', xhtmlDec : '包含 XHTML 定義', bgColor : '背景顏色', bgImage : '背景影像', bgFixed : '浮水印', txtColor : '文字顏色', margin : '頁面邊界', marginTop : '上', marginLeft : '左', marginRight : '右', marginBottom : '下', metaKeywords : '文件索引關鍵字 (用半形逗號[,]分隔)', metaDescription : '文件說明', metaAuthor : '作者', metaCopyright : '版權所有', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/zh.js
JavaScript
asf20
24,410
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Hindi language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['hi'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'सोर्स', newPage : 'नया पेज', save : 'सेव', preview : 'प्रीव्यू', cut : 'कट', copy : 'कॉपी', paste : 'पेस्ट', print : 'प्रिन्ट', underline : 'रेखांकण', bold : 'बोल्ड', italic : 'इटैलिक', selectAll : 'सब सॅलॅक्ट करें', removeFormat : 'फ़ॉर्मैट हटायें', strike : 'स्ट्राइक थ्रू', subscript : 'अधोलेख', superscript : 'अभिलेख', horizontalrule : 'हॉरिज़ॉन्टल रेखा इन्सर्ट करें', pagebreak : 'पेज ब्रेक इन्सर्ट् करें', pagebreakAlt : 'Page Break', // MISSING unlink : 'लिंक हटायें', undo : 'अन्डू', redo : 'रीडू', // Common messages and labels. common : { browseServer : 'सर्वर ब्राउज़ करें', url : 'URL', protocol : 'प्रोटोकॉल', upload : 'अपलोड', uploadSubmit : 'इसे सर्वर को भेजें', image : 'तस्वीर', flash : 'फ़्लैश', form : 'फ़ॉर्म', checkbox : 'चॅक बॉक्स', radio : 'रेडिओ बटन', textField : 'टेक्स्ट फ़ील्ड', textarea : 'टेक्स्ट एरिया', hiddenField : 'गुप्त फ़ील्ड', button : 'बटन', select : 'चुनाव फ़ील्ड', imageButton : 'तस्वीर बटन', notSet : '<सॅट नहीं>', id : 'Id', name : 'नाम', langDir : 'भाषा लिखने की दिशा', langDirLtr : 'बायें से दायें (LTR)', langDirRtl : 'दायें से बायें (RTL)', langCode : 'भाषा कोड', longDescr : 'अधिक विवरण के लिए URL', cssClass : 'स्टाइल-शीट क्लास', advisoryTitle : 'परामर्श शीर्शक', cssStyle : 'स्टाइल', ok : 'ठीक है', cancel : 'रद्द करें', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'सामान्य', advancedTab : 'ऍड्वान्स्ड', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'चौड़ाई', height : 'ऊँचाई', align : 'ऍलाइन', alignLeft : 'दायें', alignRight : 'दायें', alignCenter : 'बीच में', alignTop : 'ऊपर', alignMiddle : 'मध्य', alignBottom : 'नीचे', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'विशेष करॅक्टर इन्सर्ट करें', title : 'विशेष करॅक्टर चुनें', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'लिंक इन्सर्ट/संपादन', other : '<अन्य>', menu : 'लिंक संपादन', title : 'लिंक', info : 'लिंक ', target : 'टार्गेट', upload : 'अपलोड', advanced : 'ऍड्वान्स्ड', type : 'लिंक प्रकार', toUrl : 'URL', // MISSING toAnchor : 'इस पेज का ऐंकर', toEmail : 'ई-मेल', targetFrame : '<फ़्रेम>', targetPopup : '<पॉप-अप विन्डो>', targetFrameName : 'टार्गेट फ़्रेम का नाम', targetPopupName : 'पॉप-अप विन्डो का नाम', popupFeatures : 'पॉप-अप विन्डो फ़ीचर्स', popupResizable : 'Resizable', // MISSING popupStatusBar : 'स्टेटस बार', popupLocationBar: 'लोकेशन बार', popupToolbar : 'टूल बार', popupMenuBar : 'मॅन्यू बार', popupFullScreen : 'फ़ुल स्क्रीन (IE)', popupScrollBars : 'स्क्रॉल बार', popupDependent : 'डिपेन्डॅन्ट (Netscape)', popupLeft : 'बायीं तरफ', popupTop : 'दायीं तरफ', id : 'Id', // MISSING langDir : 'भाषा लिखने की दिशा', langDirLTR : 'बायें से दायें (LTR)', langDirRTL : 'दायें से बायें (RTL)', acccessKey : 'ऍक्सॅस की', name : 'नाम', langCode : 'भाषा लिखने की दिशा', tabIndex : 'टैब इन्डॅक्स', advisoryTitle : 'परामर्श शीर्शक', advisoryContentType : 'परामर्श कन्टॅन्ट प्रकार', cssClasses : 'स्टाइल-शीट क्लास', charset : 'लिंक रिसोर्स करॅक्टर सॅट', styles : 'स्टाइल', rel : 'Relationship', // MISSING selectAnchor : 'ऐंकर चुनें', anchorName : 'ऐंकर नाम से', anchorId : 'ऍलीमॅन्ट Id से', emailAddress : 'ई-मेल पता', emailSubject : 'संदेश विषय', emailBody : 'संदेश', noAnchors : '(डॉक्यूमॅन्ट में ऐंकर्स की संख्या)', noUrl : 'लिंक URL टाइप करें', noEmail : 'ई-मेल पता टाइप करें' }, // Anchor dialog anchor : { toolbar : 'ऐंकर इन्सर्ट/संपादन', menu : 'ऐंकर प्रॉपर्टीज़', title : 'ऐंकर प्रॉपर्टीज़', name : 'ऐंकर का नाम', errorName : 'ऐंकर का नाम टाइप करें', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'खोजें और बदलें', find : 'खोजें', replace : 'रीप्लेस', findWhat : 'यह खोजें:', replaceWith : 'इससे रिप्लेस करें:', notFoundMsg : 'आपके द्वारा दिया गया टेक्स्ट नहीं मिला', findOptions : 'Find Options', // MISSING matchCase : 'केस मिलायें', matchWord : 'पूरा शब्द मिलायें', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'सभी रिप्लेस करें', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'टेबल', title : 'टेबल प्रॉपर्टीज़', menu : 'टेबल प्रॉपर्टीज़', deleteTable : 'टेबल डिलीट करें', rows : 'पंक्तियाँ', columns : 'कालम', border : 'बॉर्डर साइज़', widthPx : 'पिक्सैल', widthPc : 'प्रतिशत', widthUnit : 'width unit', // MISSING cellSpace : 'सैल अंतर', cellPad : 'सैल पैडिंग', caption : 'शीर्षक', summary : 'सारांश', headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'खाना', insertBefore : 'पहले सैल डालें', insertAfter : 'बाद में सैल डालें', deleteCell : 'सैल डिलीट करें', merge : 'सैल मिलायें', mergeRight : 'बाँया विलय', mergeDown : 'नीचे विलय करें', splitHorizontal : 'सैल को क्षैतिज स्थिति में विभाजित करें', splitVertical : 'सैल को लम्बाकार में विभाजित करें', title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'पंक्ति', insertBefore : 'पहले पंक्ति डालें', insertAfter : 'बाद में पंक्ति डालें', deleteRow : 'पंक्तियाँ डिलीट करें' }, column : { menu : 'कालम', insertBefore : 'पहले कालम डालें', insertAfter : 'बाद में कालम डालें', deleteColumn : 'कालम डिलीट करें' } }, // Button Dialog. button : { title : 'बटन प्रॉपर्टीज़', text : 'टेक्स्ट (वैल्यू)', type : 'प्रकार', typeBtn : 'बटन', typeSbm : 'सब्मिट', typeRst : 'रिसेट' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'चॅक बॉक्स प्रॉपर्टीज़', radioTitle : 'रेडिओ बटन प्रॉपर्टीज़', value : 'वैल्यू', selected : 'सॅलॅक्टॅड' }, // Form Dialog. form : { title : 'फ़ॉर्म प्रॉपर्टीज़', menu : 'फ़ॉर्म प्रॉपर्टीज़', action : 'क्रिया', method : 'तरीका', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'चुनाव फ़ील्ड प्रॉपर्टीज़', selectInfo : 'सूचना', opAvail : 'उपलब्ध विकल्प', value : 'वैल्यू', size : 'साइज़', lines : 'पंक्तियाँ', chkMulti : 'एक से ज्यादा विकल्प चुनने दें', opText : 'टेक्स्ट', opValue : 'वैल्यू', btnAdd : 'जोड़ें', btnModify : 'बदलें', btnUp : 'ऊपर', btnDown : 'नीचे', btnSetValue : 'चुनी गई वैल्यू सॅट करें', btnDelete : 'डिलीट' }, // Textarea Dialog. textarea : { title : 'टेक्स्त एरिया प्रॉपर्टीज़', cols : 'कालम', rows : 'पंक्तियां' }, // Text Field Dialog. textfield : { title : 'टेक्स्ट फ़ील्ड प्रॉपर्टीज़', name : 'नाम', value : 'वैल्यू', charWidth : 'करॅक्टर की चौढ़ाई', maxChars : 'अधिकतम करॅक्टर', type : 'टाइप', typeText : 'टेक्स्ट', typePass : 'पास्वर्ड' }, // Hidden Field Dialog. hidden : { title : 'गुप्त फ़ील्ड प्रॉपर्टीज़', name : 'नाम', value : 'वैल्यू' }, // Image Dialog. image : { title : 'तस्वीर प्रॉपर्टीज़', titleButton : 'तस्वीर बटन प्रॉपर्टीज़', menu : 'तस्वीर प्रॉपर्टीज़', infoTab : 'तस्वीर की जानकारी', btnUpload : 'इसे सर्वर को भेजें', upload : 'अपलोड', alt : 'वैकल्पिक टेक्स्ट', lockRatio : 'लॉक अनुपात', resetSize : 'रीसॅट साइज़', border : 'बॉर्डर', hSpace : 'हॉरिज़ॉन्टल स्पेस', vSpace : 'वर्टिकल स्पेस', alertUrl : 'तस्वीर का URL टाइप करें ', linkTab : 'लिंक', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'फ़्लैश प्रॉपर्टीज़', propertiesTab : 'Properties', // MISSING title : 'फ़्लैश प्रॉपर्टीज़', chkPlay : 'ऑटो प्ले', chkLoop : 'लूप', chkMenu : 'फ़्लैश मॅन्यू का प्रयोग करें', chkFull : 'Allow Fullscreen', // MISSING scale : 'स्केल', scaleAll : 'सभी दिखायें', scaleNoBorder : 'कोई बॉर्डर नहीं', scaleFit : 'बिल्कुल फ़िट', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Abs नीचे', alignAbsMiddle : 'Abs ऊपर', alignBaseline : 'मूल रेखा', alignTextTop : 'टेक्स्ट ऊपर', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'बैक्ग्राउन्ड रंग', hSpace : 'हॉरिज़ॉन्टल स्पेस', vSpace : 'वर्टिकल स्पेस', validateSrc : 'लिंक URL टाइप करें', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'वर्तनी (स्पेलिंग) जाँच', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'शब्दकोश में नहीं', changeTo : 'इसमें बदलें', btnIgnore : 'इग्नोर', btnIgnoreAll : 'सभी इग्नोर करें', btnReplace : 'रिप्लेस', btnReplaceAll : 'सभी रिप्लेस करें', btnUndo : 'अन्डू', noSuggestions : '- कोई सुझाव नहीं -', progress : 'वर्तनी की जाँच (स्पॅल-चॅक) जारी है...', noMispell : 'वर्तनी की जाँच : कोई गलत वर्तनी (स्पॅलिंग) नहीं पाई गई', noChanges : 'वर्तनी की जाँच :कोई शब्द नहीं बदला गया', oneChange : 'वर्तनी की जाँच : एक शब्द बदला गया', manyChanges : 'वर्तनी की जाँच : %1 शब्द बदले गये', ieSpellDownload : 'स्पॅल-चॅकर इन्स्टाल नहीं किया गया है। क्या आप इसे डाउनलोड करना चाहेंगे?' }, smiley : { toolbar : 'स्माइली', title : 'स्माइली इन्सर्ट करें', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'अंकीय सूची', bulletedlist : 'बुलॅट सूची', indent : 'इन्डॅन्ट बढ़ायें', outdent : 'इन्डॅन्ट कम करें', justify : { left : 'बायीं तरफ', center : 'बीच में', right : 'दायीं तरफ', block : 'ब्लॉक जस्टीफ़ाई' }, blockquote : 'ब्लॉक-कोट', clipboard : { title : 'पेस्ट', cutError : 'आपके ब्राउज़र की सुरक्षा सॅटिन्ग्स ने कट करने की अनुमति नहीं प्रदान की है। (Ctrl/Cmd+X) का प्रयोग करें।', copyError : 'आपके ब्राआउज़र की सुरक्षा सॅटिन्ग्स ने कॉपी करने की अनुमति नहीं प्रदान की है। (Ctrl/Cmd+C) का प्रयोग करें।', pasteMsg : 'Ctrl/Cmd+V का प्रयोग करके पेस्ट करें और ठीक है करें.', securityMsg : 'आपके ब्राउज़र की सुरक्षा आपके ब्राउज़र की सुरKश सैटिंग के कारण, एडिटर आपके क्लिपबोर्ड डेटा को नहीं पा सकता है. आपको उसे इस विन्डो में दोबारा पेस्ट करना होगा.', pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'पेस्ट (वर्ड से)', title : 'पेस्ट (वर्ड से)', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'पेस्ट (सादा टॅक्स्ट)', title : 'पेस्ट (सादा टॅक्स्ट)' }, templates : { button : 'टॅम्प्लेट', title : 'कन्टेन्ट टॅम्प्लेट', options : 'Template Options', // MISSING insertOption : 'मूल शब्दों को बदलें', selectPromptMsg : 'ऍडिटर में ओपन करने हेतु टॅम्प्लेट चुनें(वर्तमान कन्टॅन्ट सेव नहीं होंगे):', emptyListMsg : '(कोई टॅम्प्लेट डिफ़ाइन नहीं किया गया है)' }, showBlocks : 'ब्लॉक दिखायें', stylesCombo : { label : 'स्टाइल', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'फ़ॉर्मैट', panelTitle : 'फ़ॉर्मैट', tag_p : 'साधारण', tag_pre : 'फ़ॉर्मैटॅड', tag_address : 'पता', tag_h1 : 'शीर्षक 1', tag_h2 : 'शीर्षक 2', tag_h3 : 'शीर्षक 3', tag_h4 : 'शीर्षक 4', tag_h5 : 'शीर्षक 5', tag_h6 : 'शीर्षक 6', tag_div : 'शीर्षक (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'फ़ॉन्ट', voiceLabel : 'Font', // MISSING panelTitle : 'फ़ॉन्ट' }, fontSize : { label : 'साइज़', voiceLabel : 'Font Size', // MISSING panelTitle : 'साइज़' }, colorButton : { textColorTitle : 'टेक्स्ट रंग', bgColorTitle : 'बैक्ग्राउन्ड रंग', panelTitle : 'Colors', // MISSING auto : 'स्वचालित', more : 'और रंग...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'डॉक्यूमॅन्ट प्रॉपर्टीज़', title : 'डॉक्यूमॅन्ट प्रॉपर्टीज़', design : 'Design', // MISSING meta : 'मॅटाडेटा', chooseColor : 'Choose', // MISSING other : '<अन्य>', docTitle : 'पेज शीर्षक', charset : 'करेक्टर सॅट ऍन्कोडिंग', charsetOther : 'अन्य करेक्टर सॅट ऍन्कोडिंग', charsetASCII : 'ASCII', // MISSING charsetCE : 'मध्य यूरोपीय (Central European)', charsetCT : 'चीनी (Chinese Traditional Big5)', charsetCR : 'सिरीलिक (Cyrillic)', charsetGR : 'यवन (Greek)', charsetJP : 'जापानी (Japanese)', charsetKR : 'कोरीयन (Korean)', charsetTR : 'तुर्की (Turkish)', charsetUN : 'यूनीकोड (UTF-8)', charsetWE : 'पश्चिम यूरोपीय (Western European)', docType : 'डॉक्यूमॅन्ट प्रकार शीर्षक', docTypeOther : 'अन्य डॉक्यूमॅन्ट प्रकार शीर्षक', xhtmlDec : 'XHTML सूचना सम्मिलित करें', bgColor : 'बैक्ग्राउन्ड रंग', bgImage : 'बैक्ग्राउन्ड तस्वीर URL', bgFixed : 'स्क्रॉल न करने वाला बैक्ग्राउन्ड', txtColor : 'टेक्स्ट रंग', margin : 'पेज मार्जिन', marginTop : 'ऊपर', marginLeft : 'बायें', marginRight : 'दायें', marginBottom : 'नीचे', metaKeywords : 'डॉक्युमॅन्ट इन्डेक्स संकेतशब्द (अल्पविराम से अलग करें)', metaDescription : 'डॉक्यूमॅन्ट करॅक्टरन', metaAuthor : 'लेखक', metaCopyright : 'कॉपीराइट', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/hi.js
JavaScript
asf20
33,334
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Slovenian language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['sl'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'Izvorna koda', newPage : 'Nova stran', save : 'Shrani', preview : 'Predogled', cut : 'Izreži', copy : 'Kopiraj', paste : 'Prilepi', print : 'Natisni', underline : 'Podčrtano', bold : 'Krepko', italic : 'Ležeče', selectAll : 'Izberi vse', removeFormat : 'Odstrani oblikovanje', strike : 'Prečrtano', subscript : 'Podpisano', superscript : 'Nadpisano', horizontalrule : 'Vstavi vodoravno črto', pagebreak : 'Vstavi prelom strani', pagebreakAlt : 'Page Break', // MISSING unlink : 'Odstrani povezavo', undo : 'Razveljavi', redo : 'Ponovi', // Common messages and labels. common : { browseServer : 'Prebrskaj na strežniku', url : 'URL', protocol : 'Protokol', upload : 'Prenesi', uploadSubmit : 'Pošlji na strežnik', image : 'Slika', flash : 'Flash', form : 'Obrazec', checkbox : 'Potrditveno polje', radio : 'Izbirno polje', textField : 'Vnosno polje', textarea : 'Vnosno območje', hiddenField : 'Skrito polje', button : 'Gumb', select : 'Spustni seznam', imageButton : 'Gumb s sliko', notSet : '<ni postavljen>', id : 'Id', name : 'Ime', langDir : 'Smer jezika', langDirLtr : 'Od leve proti desni (LTR)', langDirRtl : 'Od desne proti levi (RTL)', langCode : 'Oznaka jezika', longDescr : 'Dolg opis URL-ja', cssClass : 'Razred stilne predloge', advisoryTitle : 'Predlagani naslov', cssStyle : 'Slog', ok : 'V redu', cancel : 'Prekliči', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'Splošno', advancedTab : 'Napredno', validateNumberFailed : 'Ta vrednost ni število.', confirmNewPage : 'Vse neshranjene spremembe te vsebine bodo izgubljene. Ali gotovo želiš naložiti novo stran?', confirmCancel : 'Nekaj možnosti je bilo spremenjenih. Ali gotovo želiš zapreti okno?', options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Širina', height : 'Višina', align : 'Poravnava', alignLeft : 'Levo', alignRight : 'Desno', alignCenter : 'Sredinsko', alignTop : 'Na vrh', alignMiddle : 'V sredino', alignBottom : 'Na dno', invalidHeight : 'Višina mora biti število.', invalidWidth : 'Širina mora biti število.', invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, nedosegljiv</span>' }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Vstavi posebni znak', title : 'Izberi posebni znak', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Vstavi/uredi povezavo', other : '<drug>', menu : 'Uredi povezavo', title : 'Povezava', info : 'Podatki o povezavi', target : 'Cilj', upload : 'Prenesi', advanced : 'Napredno', type : 'Vrsta povezave', toUrl : 'URL', // MISSING toAnchor : 'Zaznamek na tej strani', toEmail : 'Elektronski naslov', targetFrame : '<okvir>', targetPopup : '<pojavno okno>', targetFrameName : 'Ime ciljnega okvirja', targetPopupName : 'Ime pojavnega okna', popupFeatures : 'Značilnosti pojavnega okna', popupResizable : 'Spremenljive velikosti', popupStatusBar : 'Vrstica stanja', popupLocationBar: 'Naslovna vrstica', popupToolbar : 'Orodna vrstica', popupMenuBar : 'Menijska vrstica', popupFullScreen : 'Celozaslonska slika (IE)', popupScrollBars : 'Drsniki', popupDependent : 'Podokno (Netscape)', popupLeft : 'Lega levo', popupTop : 'Lega na vrhu', id : 'Id', langDir : 'Smer jezika', langDirLTR : 'Od leve proti desni (LTR)', langDirRTL : 'Od desne proti levi (RTL)', acccessKey : 'Vstopno geslo', name : 'Ime', langCode : 'Smer jezika', tabIndex : 'Številka tabulatorja', advisoryTitle : 'Predlagani naslov', advisoryContentType : 'Predlagani tip vsebine (content-type)', cssClasses : 'Razred stilne predloge', charset : 'Kodna tabela povezanega vira', styles : 'Slog', rel : 'Relationship', // MISSING selectAnchor : 'Izberi zaznamek', anchorName : 'Po imenu zaznamka', anchorId : 'Po ID-ju elementa', emailAddress : 'Elektronski naslov', emailSubject : 'Predmet sporočila', emailBody : 'Vsebina sporočila', noAnchors : '(V tem dokumentu ni zaznamkov)', noUrl : 'Vnesite URL povezave', noEmail : 'Vnesite elektronski naslov' }, // Anchor dialog anchor : { toolbar : 'Vstavi/uredi zaznamek', menu : 'Lastnosti zaznamka', title : 'Lastnosti zaznamka', name : 'Ime zaznamka', errorName : 'Prosim vnesite ime zaznamka', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Najdi in zamenjaj', find : 'Najdi', replace : 'Zamenjaj', findWhat : 'Najdi:', replaceWith : 'Zamenjaj z:', notFoundMsg : 'Navedeno besedilo ni bilo najdeno.', findOptions : 'Find Options', // MISSING matchCase : 'Razlikuj velike in male črke', matchWord : 'Samo cele besede', matchCyclic : 'Primerjaj znake v cirilici', replaceAll : 'Zamenjaj vse', replaceSuccessMsg : '%1 pojavitev je bilo zamenjano.' }, // Table Dialog table : { toolbar : 'Tabela', title : 'Lastnosti tabele', menu : 'Lastnosti tabele', deleteTable : 'Izbriši tabelo', rows : 'Vrstice', columns : 'Stolpci', border : 'Velikost obrobe', widthPx : 'pik', widthPc : 'procentov', widthUnit : 'width unit', // MISSING cellSpace : 'Razmik med celicami', cellPad : 'Polnilo med celicami', caption : 'Naslov', summary : 'Povzetek', headers : 'Glave', headersNone : 'Brez', headersColumn : 'Prvi stolpec', headersRow : 'Prva vrstica', headersBoth : 'Oboje', invalidRows : 'Število vrstic mora biti večje od 0.', invalidCols : 'Število stolpcev mora biti večje od 0.', invalidBorder : 'Širina obrobe mora biti število.', invalidWidth : 'Širina tabele mora biti število.', invalidHeight : 'Višina tabele mora biti število.', invalidCellSpacing : 'Razmik med celicami mora biti število.', invalidCellPadding : 'Zamik celic mora biti število', cell : { menu : 'Celica', insertBefore : 'Vstavi celico pred', insertAfter : 'Vstavi celico za', deleteCell : 'Izbriši celice', merge : 'Združi celice', mergeRight : 'Združi desno', mergeDown : 'Druži navzdol', splitHorizontal : 'Razdeli celico vodoravno', splitVertical : 'Razdeli celico navpično', title : 'Lastnosti celice', cellType : 'Vrsta celice', rowSpan : 'Razpon vrstic', colSpan : 'Razpon stolpcev', wordWrap : 'Prelom besedila', hAlign : 'Vodoravna poravnava', vAlign : 'Navpična poravnava', alignBaseline : 'Osnovnica', bgColor : 'Barva ozadja', borderColor : 'Barva obrobe', data : 'Podatki', header : 'Glava', yes : 'Da', no : 'Ne', invalidWidth : 'Širina celice mora biti število.', invalidHeight : 'Višina celice mora biti število.', invalidRowSpan : 'Razpon vrstic mora biti celo število.', invalidColSpan : 'Razpon stolpcev mora biti celo število.', chooseColor : 'Izberi' }, row : { menu : 'Vrstica', insertBefore : 'Vstavi vrstico pred', insertAfter : 'Vstavi vrstico za', deleteRow : 'Izbriši vrstice' }, column : { menu : 'Stolpec', insertBefore : 'Vstavi stolpec pred', insertAfter : 'Vstavi stolpec za', deleteColumn : 'Izbriši stolpce' } }, // Button Dialog. button : { title : 'Lastnosti gumba', text : 'Besedilo (Vrednost)', type : 'Tip', typeBtn : 'Gumb', typeSbm : 'Potrdi', typeRst : 'Ponastavi' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Lastnosti potrditvenega polja', radioTitle : 'Lastnosti izbirnega polja', value : 'Vrednost', selected : 'Izbrano' }, // Form Dialog. form : { title : 'Lastnosti obrazca', menu : 'Lastnosti obrazca', action : 'Akcija', method : 'Metoda', encoding : 'Kodiranje znakov' }, // Select Field Dialog. select : { title : 'Lastnosti spustnega seznama', selectInfo : 'Podatki', opAvail : 'Razpoložljive izbire', value : 'Vrednost', size : 'Velikost', lines : 'vrstic', chkMulti : 'Dovoli izbor večih vrstic', opText : 'Besedilo', opValue : 'Vrednost', btnAdd : 'Dodaj', btnModify : 'Spremeni', btnUp : 'Gor', btnDown : 'Dol', btnSetValue : 'Postavi kot privzeto izbiro', btnDelete : 'Izbriši' }, // Textarea Dialog. textarea : { title : 'Lastnosti vnosnega območja', cols : 'Stolpcev', rows : 'Vrstic' }, // Text Field Dialog. textfield : { title : 'Lastnosti vnosnega polja', name : 'Ime', value : 'Vrednost', charWidth : 'Dolžina', maxChars : 'Največje število znakov', type : 'Tip', typeText : 'Besedilo', typePass : 'Geslo' }, // Hidden Field Dialog. hidden : { title : 'Lastnosti skritega polja', name : 'Ime', value : 'Vrednost' }, // Image Dialog. image : { title : 'Lastnosti slike', titleButton : 'Lastnosti gumba s sliko', menu : 'Lastnosti slike', infoTab : 'Podatki o sliki', btnUpload : 'Pošlji na strežnik', upload : 'Pošlji', alt : 'Nadomestno besedilo', lockRatio : 'Zakleni razmerje', resetSize : 'Ponastavi velikost', border : 'Obroba', hSpace : 'Vodoravni razmik', vSpace : 'Navpični razmik', alertUrl : 'Vnesite URL slike', linkTab : 'Povezava', button2Img : 'Želiš pretvoriti izbrani gumb s sliko v preprosto sliko?', img2Button : 'Želiš pretvoriti izbrano sliko v gumb s sliko?', urlMissing : 'Manjka vir (URL) slike.', validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Lastnosti Flash', propertiesTab : 'Lastnosti', title : 'Lastnosti Flash', chkPlay : 'Samodejno predvajaj', chkLoop : 'Ponavljanje', chkMenu : 'Omogoči Flash Meni', chkFull : 'Dovoli celozaslonski način', scale : 'Povečava', scaleAll : 'Pokaži vse', scaleNoBorder : 'Brez obrobe', scaleFit : 'Natančno prileganje', access : 'Dostop skript', accessAlways : 'Vedno', accessSameDomain: 'Samo ista domena', accessNever : 'Nikoli', alignAbsBottom : 'Popolnoma na dno', alignAbsMiddle : 'Popolnoma v sredino', alignBaseline : 'Na osnovno črto', alignTextTop : 'Besedilo na vrh', quality : 'Kakovost', qualityBest : 'Najvišja', qualityHigh : 'Visoka', qualityAutoHigh : 'Samodejno visoka', qualityMedium : 'Srednja', qualityAutoLow : 'Samodejno nizka', qualityLow : 'Nizka', windowModeWindow: 'Okno', windowModeOpaque: 'Motno', windowModeTransparent : 'Prosojno', windowMode : 'Vrsta okna', flashvars : 'Spremenljivke za Flash', bgcolor : 'Barva ozadja', hSpace : 'Vodoravni razmik', vSpace : 'Navpični razmik', validateSrc : 'Vnesite URL povezave', validateHSpace : 'Vodoravni razmik mora biti število.', validateVSpace : 'Navpični razmik mora biti število.' }, // Speller Pages Dialog spellCheck : { toolbar : 'Preveri črkovanje', title : 'Črkovalnik', notAvailable : 'Oprostite, storitev trenutno ni dosegljiva.', errorLoading : 'Napaka pri nalaganju storitve programa na naslovu %s.', notInDic : 'Ni v slovarju', changeTo : 'Spremeni v', btnIgnore : 'Prezri', btnIgnoreAll : 'Prezri vse', btnReplace : 'Zamenjaj', btnReplaceAll : 'Zamenjaj vse', btnUndo : 'Razveljavi', noSuggestions : '- Ni predlogov -', progress : 'Preverjanje črkovanja se izvaja...', noMispell : 'Črkovanje je končano: Brez napak', noChanges : 'Črkovanje je končano: Nobena beseda ni bila spremenjena', oneChange : 'Črkovanje je končano: Spremenjena je bila ena beseda', manyChanges : 'Črkovanje je končano: Spremenjenih je bilo %1 besed', ieSpellDownload : 'Črkovalnik ni nameščen. Ali ga želite prenesti sedaj?' }, smiley : { toolbar : 'Smeško', title : 'Vstavi smeška', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' }, numberedlist : 'Oštevilčen seznam', bulletedlist : 'Označen seznam', indent : 'Povečaj zamik', outdent : 'Zmanjšaj zamik', justify : { left : 'Leva poravnava', center : 'Sredinska poravnava', right : 'Desna poravnava', block : 'Obojestranska poravnava' }, blockquote : 'Citat', clipboard : { title : 'Prilepi', cutError : 'Varnostne nastavitve brskalnika ne dopuščajo samodejnega izrezovanja. Uporabite kombinacijo tipk na tipkovnici (Ctrl/Cmd+X).', copyError : 'Varnostne nastavitve brskalnika ne dopuščajo samodejnega kopiranja. Uporabite kombinacijo tipk na tipkovnici (Ctrl/Cmd+C).', pasteMsg : 'Prosim prilepite v sleči okvir s pomočjo tipkovnice (<STRONG>Ctrl/Cmd+V</STRONG>) in pritisnite <STRONG>V redu</STRONG>.', securityMsg : 'Zaradi varnostnih nastavitev vašega brskalnika urejevalnik ne more neposredno dostopati do odložišča. Vsebino odložišča ponovno prilepite v to okno.', pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Prilepi iz Worda', title : 'Prilepi iz Worda', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Prilepi kot golo besedilo', title : 'Prilepi kot golo besedilo' }, templates : { button : 'Predloge', title : 'Vsebinske predloge', options : 'Template Options', // MISSING insertOption : 'Zamenjaj trenutno vsebino', selectPromptMsg : 'Izberite predlogo, ki jo želite odpreti v urejevalniku<br>(trenutna vsebina bo izgubljena):', emptyListMsg : '(Ni pripravljenih predlog)' }, showBlocks : 'Prikaži ograde', stylesCombo : { label : 'Slog', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Slogi odstavkov', panelTitle2 : 'Slogi besedila', panelTitle3 : 'Slogi objektov' }, format : { label : 'Oblika', panelTitle : 'Oblika', tag_p : 'Navaden', tag_pre : 'Oblikovan', tag_address : 'Napis', tag_h1 : 'Naslov 1', tag_h2 : 'Naslov 2', tag_h3 : 'Naslov 3', tag_h4 : 'Naslov 4', tag_h5 : 'Naslov 5', tag_h6 : 'Naslov 6', tag_div : 'Navaden (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Pisava', voiceLabel : 'Pisava', panelTitle : 'Pisava' }, fontSize : { label : 'Velikost', voiceLabel : 'Velikost', panelTitle : 'Velikost' }, colorButton : { textColorTitle : 'Barva besedila', bgColorTitle : 'Barva ozadja', panelTitle : 'Colors', // MISSING auto : 'Samodejno', more : 'Več barv...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Črkovanje med tipkanjem', opera_title : 'Not supported by Opera', // MISSING enable : 'Omogoči SCAYT', disable : 'Onemogoči SCAYT', about : 'O storitvi SCAYT', toggle : 'Preklopi SCAYT', options : 'Možnosti', langs : 'Jeziki', moreSuggestions : 'Več predlogov', ignore : 'Prezri', ignoreAll : 'Prezri vse', addWord : 'Dodaj besedo', emptyDic : 'Ime slovarja ne more biti prazno.', optionsTab : 'Možnosti', allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Jeziki', dictionariesTab : 'Slovarji', dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'O storitvi' }, about : { title : 'O programu CKEditor', dlgTitle : 'O programu CKEditor', help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'Za informacijo o licenci prostim obiščite našo spletno stran:', copy : 'Copyright &copy; $1. Vse pravice pridržane.' }, maximize : 'Maksimiraj', minimize : 'Minimiraj', fakeobjects : { anchor : 'Sidro', flash : 'Flash animacija', iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Neznan objekt' }, resize : 'Potegni za spremembo velikosti', colordialog : { title : 'Izberi barvo', options : 'Color Options', // MISSING highlight : 'Poudarjeno', selected : 'Izbrano', clear : 'Počisti' }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Lastnosti dokumenta', title : 'Lastnosti dokumenta', design : 'Design', // MISSING meta : 'Meta podatki', chooseColor : 'Izberi', other : '<drug>', docTitle : 'Naslov strani', charset : 'Kodna tabela', charsetOther : 'Druga kodna tabela', charsetASCII : 'ASCII', // MISSING charsetCE : 'Srednjeevropsko', charsetCT : 'Tradicionalno Kitajsko (Big5)', charsetCR : 'Cirilica', charsetGR : 'Grško', charsetJP : 'Japonsko', charsetKR : 'Korejsko', charsetTR : 'Turško', charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Zahodnoevropsko', docType : 'Glava tipa dokumenta', docTypeOther : 'Druga glava tipa dokumenta', xhtmlDec : 'Vstavi XHTML deklaracije', bgColor : 'Barva ozadja', bgImage : 'URL slike za ozadje', bgFixed : 'Nepremično ozadje', txtColor : 'Barva besedila', margin : 'Zamiki strani', marginTop : 'Na vrhu', marginLeft : 'Levo', marginRight : 'Desno', marginBottom : 'Spodaj', metaKeywords : 'Ključne besede (ločene z vejicami)', metaDescription : 'Opis strani', metaAuthor : 'Avtor', metaCopyright : 'Avtorske pravice', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/sl.js
JavaScript
asf20
25,307
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Galician language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['gl'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'Código Fonte', newPage : 'Nova Páxina', save : 'Gardar', preview : 'Vista Previa', cut : 'Cortar', copy : 'Copiar', paste : 'Pegar', print : 'Imprimir', underline : 'Sub-raiado', bold : 'Negrita', italic : 'Cursiva', selectAll : 'Seleccionar todo', removeFormat : 'Eliminar Formato', strike : 'Tachado', subscript : 'Subíndice', superscript : 'Superíndice', horizontalrule : 'Inserir Liña Horizontal', pagebreak : 'Inserir Salto de Páxina', pagebreakAlt : 'Page Break', // MISSING unlink : 'Eliminar Ligazón', undo : 'Desfacer', redo : 'Refacer', // Common messages and labels. common : { browseServer : 'Navegar no Servidor', url : 'URL', protocol : 'Protocolo', upload : 'Carregar', uploadSubmit : 'Enviar ó Servidor', image : 'Imaxe', flash : 'Flash', form : 'Formulario', checkbox : 'Cadro de Verificación', radio : 'Botón de Radio', textField : 'Campo de Texto', textarea : 'Área de Texto', hiddenField : 'Campo Oculto', button : 'Botón', select : 'Campo de Selección', imageButton : 'Botón de Imaxe', notSet : '<non definido>', id : 'Id', name : 'Nome', langDir : 'Orientación do Idioma', langDirLtr : 'Esquerda a Dereita (LTR)', langDirRtl : 'Dereita a Esquerda (RTL)', langCode : 'Código do Idioma', longDescr : 'Descrición Completa da URL', cssClass : 'Clases da Folla de Estilos', advisoryTitle : 'Título', cssStyle : 'Estilo', ok : 'OK', cancel : 'Cancelar', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', // MISSING advancedTab : 'Advanzado', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Largura', height : 'Altura', align : 'Aliñamento', alignLeft : 'Esquerda', alignRight : 'Dereita', alignCenter : 'Centro', alignTop : 'Tope', alignMiddle : 'Centro', alignBottom : 'Pé', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Inserir Carácter Especial', title : 'Seleccione Caracter Especial', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Inserir/Editar Ligazón', other : '<outro>', menu : 'Editar Ligazón', title : 'Ligazón', info : 'Información da Ligazón', target : 'Destino', upload : 'Carregar', advanced : 'Advanzado', type : 'Tipo de Ligazón', toUrl : 'URL', // MISSING toAnchor : 'Referencia nesta páxina', toEmail : 'E-Mail', targetFrame : '<frame>', targetPopup : '<Xanela Emerxente>', targetFrameName : 'Nome do Marco Destino', targetPopupName : 'Nome da Xanela Emerxente', popupFeatures : 'Características da Xanela Emerxente', popupResizable : 'Resizable', // MISSING popupStatusBar : 'Barra de Estado', popupLocationBar: 'Barra de Localización', popupToolbar : 'Barra de Ferramentas', popupMenuBar : 'Barra de Menú', popupFullScreen : 'A Toda Pantalla (IE)', popupScrollBars : 'Barras de Desplazamento', popupDependent : 'Dependente (Netscape)', popupLeft : 'Posición Esquerda', popupTop : 'Posición dende Arriba', id : 'Id', // MISSING langDir : 'Orientación do Idioma', langDirLTR : 'Esquerda a Dereita (LTR)', langDirRTL : 'Dereita a Esquerda (RTL)', acccessKey : 'Chave de Acceso', name : 'Nome', langCode : 'Orientación do Idioma', tabIndex : 'Índice de Tabulación', advisoryTitle : 'Título', advisoryContentType : 'Tipo de Contido', cssClasses : 'Clases da Folla de Estilos', charset : 'Fonte de Caracteres Vinculado', styles : 'Estilo', rel : 'Relationship', // MISSING selectAnchor : 'Seleccionar unha Referencia', anchorName : 'Por Nome de Referencia', anchorId : 'Por Element Id', emailAddress : 'Enderezo de E-Mail', emailSubject : 'Asunto do Mensaxe', emailBody : 'Corpo do Mensaxe', noAnchors : '(Non hai referencias disponibles no documento)', noUrl : 'Por favor, escriba a ligazón URL', noEmail : 'Por favor, escriba o enderezo de e-mail' }, // Anchor dialog anchor : { toolbar : 'Inserir/Editar Referencia', menu : 'Propriedades da Referencia', title : 'Propriedades da Referencia', name : 'Nome da Referencia', errorName : 'Por favor, escriba o nome da referencia', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Find and Replace', // MISSING find : 'Procurar', replace : 'Substituir', findWhat : 'Texto a procurar:', replaceWith : 'Substituir con:', notFoundMsg : 'Non te atopou o texto indicado.', findOptions : 'Find Options', // MISSING matchCase : 'Coincidir Mai./min.', matchWord : 'Coincidir con toda a palabra', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'Substitiur Todo', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'Tabla', title : 'Propiedades da Táboa', menu : 'Propiedades da Táboa', deleteTable : 'Borrar Táboa', rows : 'Filas', columns : 'Columnas', border : 'Tamaño do Borde', widthPx : 'pixels', widthPc : 'percent', widthUnit : 'width unit', // MISSING cellSpace : 'Marxe entre Celas', cellPad : 'Marxe interior', caption : 'Título', summary : 'Sumario', headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'Cela', insertBefore : 'Insert Cell Before', // MISSING insertAfter : 'Insert Cell After', // MISSING deleteCell : 'Borrar Cela', merge : 'Unir Celas', mergeRight : 'Merge Right', // MISSING mergeDown : 'Merge Down', // MISSING splitHorizontal : 'Split Cell Horizontally', // MISSING splitVertical : 'Split Cell Vertically', // MISSING title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'Fila', insertBefore : 'Insert Row Before', // MISSING insertAfter : 'Insert Row After', // MISSING deleteRow : 'Borrar Filas' }, column : { menu : 'Columna', insertBefore : 'Insert Column Before', // MISSING insertAfter : 'Insert Column After', // MISSING deleteColumn : 'Borrar Columnas' } }, // Button Dialog. button : { title : 'Propriedades do Botón', text : 'Texto (Valor)', type : 'Tipo', typeBtn : 'Button', // MISSING typeSbm : 'Submit', // MISSING typeRst : 'Reset' // MISSING }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Propriedades do Cadro de Verificación', radioTitle : 'Propriedades do Botón de Radio', value : 'Valor', selected : 'Seleccionado' }, // Form Dialog. form : { title : 'Propriedades do Formulario', menu : 'Propriedades do Formulario', action : 'Acción', method : 'Método', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'Propriedades do Campo de Selección', selectInfo : 'Info', opAvail : 'Opcións Disponibles', value : 'Valor', size : 'Tamaño', lines : 'liñas', chkMulti : 'Permitir múltiples seleccións', opText : 'Texto', opValue : 'Valor', btnAdd : 'Engadir', btnModify : 'Modificar', btnUp : 'Subir', btnDown : 'Baixar', btnSetValue : 'Definir como valor por defecto', btnDelete : 'Borrar' }, // Textarea Dialog. textarea : { title : 'Propriedades da Área de Texto', cols : 'Columnas', rows : 'Filas' }, // Text Field Dialog. textfield : { title : 'Propriedades do Campo de Texto', name : 'Nome', value : 'Valor', charWidth : 'Tamaño do Caracter', maxChars : 'Máximo de Caracteres', type : 'Tipo', typeText : 'Texto', typePass : 'Chave' }, // Hidden Field Dialog. hidden : { title : 'Propriedades do Campo Oculto', name : 'Nome', value : 'Valor' }, // Image Dialog. image : { title : 'Propriedades da Imaxe', titleButton : 'Propriedades do Botón de Imaxe', menu : 'Propriedades da Imaxe', infoTab : 'Información da Imaxe', btnUpload : 'Enviar ó Servidor', upload : 'Carregar', alt : 'Texto Alternativo', lockRatio : 'Proporcional', resetSize : 'Tamaño Orixinal', border : 'Límite', hSpace : 'Esp. Horiz.', vSpace : 'Esp. Vert.', alertUrl : 'Por favor, escriba a URL da imaxe', linkTab : 'Ligazón', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Propriedades Flash', propertiesTab : 'Properties', // MISSING title : 'Propriedades Flash', chkPlay : 'Auto Execución', chkLoop : 'Bucle', chkMenu : 'Activar Menú Flash', chkFull : 'Allow Fullscreen', // MISSING scale : 'Escalar', scaleAll : 'Amosar Todo', scaleNoBorder : 'Sen Borde', scaleFit : 'Encaixar axustando', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Abs Inferior', alignAbsMiddle : 'Abs Centro', alignBaseline : 'Liña Base', alignTextTop : 'Tope do Texto', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'Cor do Fondo', hSpace : 'Esp. Horiz.', vSpace : 'Esp. Vert.', validateSrc : 'Por favor, escriba a ligazón URL', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'Corrección Ortográfica', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'Non está no diccionario', changeTo : 'Cambiar a', btnIgnore : 'Ignorar', btnIgnoreAll : 'Ignorar Todas', btnReplace : 'Substituir', btnReplaceAll : 'Substituir Todas', btnUndo : 'Desfacer', noSuggestions : '- Sen candidatos -', progress : 'Corrección ortográfica en progreso...', noMispell : 'Corrección ortográfica rematada: Non se atoparon erros', noChanges : 'Corrección ortográfica rematada: Non se substituiu nengunha verba', oneChange : 'Corrección ortográfica rematada: Unha verba substituida', manyChanges : 'Corrección ortográfica rematada: %1 verbas substituidas', ieSpellDownload : 'O corrector ortográfico non está instalado. ¿Quere descargalo agora?' }, smiley : { toolbar : 'Smiley', title : 'Inserte un Smiley', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'Lista Numerada', bulletedlist : 'Marcas', indent : 'Aumentar Sangría', outdent : 'Disminuir Sangría', justify : { left : 'Aliñar á Esquerda', center : 'Centrado', right : 'Aliñar á Dereita', block : 'Xustificado' }, blockquote : 'Block Quote', // MISSING clipboard : { title : 'Pegar', cutError : '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/Cmd+X).', copyError : '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/Cmd+C).', pasteMsg : 'Por favor, pegue dentro do seguinte cadro usando o teclado (<STRONG>Ctrl/Cmd+V</STRONG>) e pulse <STRONG>OK</STRONG>.', securityMsg : '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 pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Pegar dende Word', title : 'Pegar dende Word', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Pegar como texto plano', title : 'Pegar como texto plano' }, templates : { button : 'Plantillas', title : 'Plantillas de Contido', options : 'Template Options', // MISSING insertOption : 'Replace actual contents', // MISSING selectPromptMsg : 'Por favor, seleccione a plantilla a abrir no editor<br>(o contido actual perderase):', emptyListMsg : '(Non hai plantillas definidas)' }, showBlocks : 'Show Blocks', // MISSING stylesCombo : { label : 'Estilo', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'Formato', panelTitle : 'Formato', tag_p : 'Normal', tag_pre : 'Formateado', tag_address : 'Enderezo', tag_h1 : 'Enacabezado 1', tag_h2 : 'Encabezado 2', tag_h3 : 'Encabezado 3', tag_h4 : 'Encabezado 4', tag_h5 : 'Encabezado 5', tag_h6 : 'Encabezado 6', tag_div : 'Paragraph (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Tipo', voiceLabel : 'Font', // MISSING panelTitle : 'Tipo' }, fontSize : { label : 'Tamaño', voiceLabel : 'Font Size', // MISSING panelTitle : 'Tamaño' }, colorButton : { textColorTitle : 'Cor do Texto', bgColorTitle : 'Cor do Fondo', panelTitle : 'Colors', // MISSING auto : 'Automático', more : 'Máis Cores...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Propriedades do Documento', title : 'Propriedades do Documento', design : 'Design', // MISSING meta : 'Meta Tags', // MISSING chooseColor : 'Choose', // MISSING other : '<outro>', docTitle : 'Título da Páxina', charset : 'Codificación do Xogo de Caracteres', charsetOther : 'Outra Codificación do Xogo de Caracteres', charsetASCII : 'ASCII', // MISSING charsetCE : 'Central European', // MISSING charsetCT : 'Chinese Traditional (Big5)', // MISSING charsetCR : 'Cyrillic', // MISSING charsetGR : 'Greek', // MISSING charsetJP : 'Japanese', // MISSING charsetKR : 'Korean', // MISSING charsetTR : 'Turkish', // MISSING charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Western European', // MISSING docType : 'Encabezado do Tipo de Documento', docTypeOther : 'Outro Encabezado do Tipo de Documento', xhtmlDec : 'Incluir Declaracións XHTML', bgColor : 'Cor de Fondo', bgImage : 'URL da Imaxe de Fondo', bgFixed : 'Fondo Fixo', txtColor : 'Cor do Texto', margin : 'Marxes da Páxina', marginTop : 'Arriba', marginLeft : 'Esquerda', marginRight : 'Dereita', marginBottom : 'Abaixo', metaKeywords : 'Palabras Chave de Indexación do Documento (separadas por comas)', metaDescription : 'Descripción do Documento', metaAuthor : 'Autor', metaCopyright : 'Copyright', // MISSING previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/gl.js
JavaScript
asf20
27,143
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Khmer language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['km'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'កូត', newPage : 'ទំព័រថ្មី', save : 'រក្សាទុក', preview : 'មើលសាកល្បង', cut : 'កាត់យក', copy : 'ចំលងយក', paste : 'ចំលងដាក់', print : 'បោះពុម្ភ', underline : 'ដិតបន្ទាត់ពីក្រោមអក្សរ', bold : 'អក្សរដិតធំ', italic : 'អក្សរផ្តេក', selectAll : 'ជ្រើសរើសទាំងអស់', removeFormat : 'លប់ចោល ការរចនា', strike : 'ដិតបន្ទាត់ពាក់កណ្តាលអក្សរ', subscript : 'អក្សរតូចក្រោម', superscript : 'អក្សរតូចលើ', horizontalrule : 'បន្ថែមបន្ទាត់ផ្តេក', pagebreak : 'បន្ថែម ការផ្តាច់ទំព័រ', pagebreakAlt : 'Page Break', // MISSING unlink : 'លប់ឈ្នាប់', undo : 'សារឡើងវិញ', redo : 'ធ្វើឡើងវិញ', // Common messages and labels. common : { browseServer : 'មើល', url : 'URL', protocol : 'ប្រូតូកូល', upload : 'ទាញយក', uploadSubmit : 'បញ្ជូនទៅកាន់ម៉ាស៊ីនផ្តល់សេវា', image : 'រូបភាព', flash : 'Flash', form : 'បែបបទ', checkbox : 'ប្រអប់ជ្រើសរើស', radio : 'ប៉ូតុនរង្វង់មូល', textField : 'ជួរសរសេរអត្ថបទ', textarea : 'តំបន់សរសេរអត្ថបទ', hiddenField : 'ជួរលាក់', button : 'ប៉ូតុន', select : 'ជួរជ្រើសរើស', imageButton : 'ប៉ូតុនរូបភាព', notSet : '<មិនមែន>', id : 'Id', name : 'ឈ្មោះ', langDir : 'ទិសដៅភាសា', langDirLtr : 'ពីឆ្វេងទៅស្តាំ(LTR)', langDirRtl : 'ពីស្តាំទៅឆ្វេង(RTL)', langCode : 'លេខកូតភាសា', longDescr : 'អធិប្បាយ URL វែង', cssClass : 'Stylesheet Classes', advisoryTitle : 'ចំណងជើង ប្រឹក្សា', cssStyle : 'ម៉ូត', ok : 'យល់ព្រម', cancel : 'មិនយល់ព្រម', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', // MISSING advancedTab : 'កំរិតខ្ពស់', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'ទទឹង', height : 'កំពស់', align : 'កំណត់ទីតាំង', alignLeft : 'ខាងឆ្វង', alignRight : 'ខាងស្តាំ', alignCenter : 'កណ្តាល', alignTop : 'ខាងលើ', alignMiddle : 'កណ្តាល', alignBottom : 'ខាងក្រោម', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'បន្ថែមអក្សរពិសេស', title : 'តូអក្សរពិសេស', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'បន្ថែម/កែប្រែ ឈ្នាប់', other : '<other>', // MISSING menu : 'កែប្រែឈ្នាប់', title : 'ឈ្នាប់', info : 'ពត៌មានអំពីឈ្នាប់', target : 'គោលដៅ', upload : 'ទាញយក', advanced : 'កំរិតខ្ពស់', type : 'ប្រភេទឈ្នាប់', toUrl : 'URL', // MISSING toAnchor : 'យុថ្កានៅក្នុងទំព័រនេះ', toEmail : 'អ៊ីមែល', targetFrame : '<ហ្វ្រេម>', targetPopup : '<វីនដូវ លោត>', targetFrameName : 'ឈ្មោះហ្រ្វេមដែលជាគោលដៅ', targetPopupName : 'ឈ្មោះវីនដូវលោត', popupFeatures : 'លក្ខណះរបស់វីនដូលលោត', popupResizable : 'Resizable', // MISSING popupStatusBar : 'របា ពត៌មាន', popupLocationBar: 'របា ទីតាំង', popupToolbar : 'របា ឩបករណ៍', popupMenuBar : 'របា មឺនុយ', popupFullScreen : 'អេក្រុងពេញ(IE)', popupScrollBars : 'របា ទាញ', popupDependent : 'អាស្រ័យលើ (Netscape)', popupLeft : 'ទីតាំងខាងឆ្វេង', popupTop : 'ទីតាំងខាងលើ', id : 'Id', // MISSING langDir : 'ទិសដៅភាសា', langDirLTR : 'ពីឆ្វេងទៅស្តាំ(LTR)', langDirRTL : 'ពីស្តាំទៅឆ្វេង(RTL)', acccessKey : 'ឃី សំរាប់ចូល', name : 'ឈ្មោះ', langCode : 'ទិសដៅភាសា', tabIndex : 'លេខ Tab', advisoryTitle : 'ចំណងជើង ប្រឹក្សា', advisoryContentType : 'ប្រភេទអត្ថបទ ប្រឹក្សា', cssClasses : 'Stylesheet Classes', charset : 'លេខកូតអក្សររបស់ឈ្នាប់', styles : 'ម៉ូត', rel : 'Relationship', // MISSING selectAnchor : 'ជ្រើសរើសយុថ្កា', anchorName : 'តាមឈ្មោះរបស់យុថ្កា', anchorId : 'តាម Id', emailAddress : 'អ៊ីមែល', emailSubject : 'ចំណងជើងអត្ថបទ', emailBody : 'អត្ថបទ', noAnchors : '(No anchors available in the document)', // MISSING noUrl : 'សូមសរសេរ អាស័យដ្ឋាន URL', noEmail : 'សូមសរសេរ អាស័យដ្ឋាន អ៊ីមែល' }, // Anchor dialog anchor : { toolbar : 'បន្ថែម/កែប្រែ យុថ្កា', menu : 'ការកំណត់យុថ្កា', title : 'ការកំណត់យុថ្កា', name : 'ឈ្មោះយុទ្ធថ្កា', errorName : 'សូមសរសេរ ឈ្មោះយុទ្ធថ្កា', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Find and Replace', // MISSING find : 'ស្វែងរក', replace : 'ជំនួស', findWhat : 'ស្វែងរកអ្វី:', replaceWith : 'ជំនួសជាមួយ:', notFoundMsg : 'ពាក្យនេះ រកមិនឃើញទេ ។', findOptions : 'Find Options', // MISSING matchCase : 'ករណ៉ត្រូវរក', matchWord : 'ត្រូវពាក្យទាំងអស់', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'ជំនួសទាំងអស់', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'តារាង', title : 'ការកំណត់ តារាង', menu : 'ការកំណត់ តារាង', deleteTable : 'លប់តារាង', rows : 'ជួរផ្តេក', columns : 'ជួរឈរ', border : 'ទំហំស៊ុម', widthPx : 'ភីកសែល', widthPc : 'ភាគរយ', widthUnit : 'width unit', // MISSING cellSpace : 'គំលាតសែល', cellPad : 'គែមសែល', caption : 'ចំណងជើង', summary : 'សេចក្តីសង្ខេប', headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'Cell', // MISSING insertBefore : 'Insert Cell Before', // MISSING insertAfter : 'Insert Cell After', // MISSING deleteCell : 'លប់សែល', merge : 'បញ្ជូលសែល', mergeRight : 'Merge Right', // MISSING mergeDown : 'Merge Down', // MISSING splitHorizontal : 'Split Cell Horizontally', // MISSING splitVertical : 'Split Cell Vertically', // MISSING title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'Row', // MISSING insertBefore : 'Insert Row Before', // MISSING insertAfter : 'Insert Row After', // MISSING deleteRow : 'លប់ជួរផ្តេក' }, column : { menu : 'Column', // MISSING insertBefore : 'Insert Column Before', // MISSING insertAfter : 'Insert Column After', // MISSING deleteColumn : 'លប់ជួរឈរ' } }, // Button Dialog. button : { title : 'ការកំណត់ ប៉ូតុន', text : 'អត្ថបទ(តំលៃ)', type : 'ប្រភេទ', typeBtn : 'Button', // MISSING typeSbm : 'Submit', // MISSING typeRst : 'Reset' // MISSING }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'ការកំណត់ប្រអប់ជ្រើសរើស', radioTitle : 'ការកំណត់ប៉ូតុនរង្វង់', value : 'តំលៃ', selected : 'បានជ្រើសរើស' }, // Form Dialog. form : { title : 'ការកំណត់បែបបទ', menu : 'ការកំណត់បែបបទ', action : 'សកម្មភាព', method : 'វិធី', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'ការកំណត់ជួរជ្រើសរើស', selectInfo : 'ពត៌មាន', opAvail : 'ការកំណត់ជ្រើសរើស ដែលអាចកំណត់បាន', value : 'តំលៃ', size : 'ទំហំ', lines : 'បន្ទាត់', chkMulti : 'អនុញ្ញាតអោយជ្រើសរើសច្រើន', opText : 'ពាក្យ', opValue : 'តំលៃ', btnAdd : 'បន្ថែម', btnModify : 'ផ្លាស់ប្តូរ', btnUp : 'លើ', btnDown : 'ក្រោម', btnSetValue : 'Set as selected value', // MISSING btnDelete : 'លប់' }, // Textarea Dialog. textarea : { title : 'ការកំណត់កន្លែងសរសេរអត្ថបទ', cols : 'ជូរឈរ', rows : 'ជូរផ្តេក' }, // Text Field Dialog. textfield : { title : 'ការកំណត់ជួរអត្ថបទ', name : 'ឈ្មោះ', value : 'តំលៃ', charWidth : 'ទទឹង អក្សរ', maxChars : 'អក្សរអតិបរិមា', type : 'ប្រភេទ', typeText : 'ពាក្យ', typePass : 'ពាក្យសំងាត់' }, // Hidden Field Dialog. hidden : { title : 'ការកំណត់ជួរលាក់', name : 'ឈ្មោះ', value : 'តំលៃ' }, // Image Dialog. image : { title : 'ការកំណត់រូបភាព', titleButton : 'ការកំណត់ប៉ូតុនរូបភាព', menu : 'ការកំណត់រូបភាព', infoTab : 'ពត៌មានអំពីរូបភាព', btnUpload : 'បញ្ជូនទៅកាន់ម៉ាស៊ីនផ្តល់សេវា', upload : 'ទាញយក', alt : 'អត្ថបទជំនួស', lockRatio : 'អត្រាឡុក', resetSize : 'កំណត់ទំហំឡើងវិញ', border : 'ស៊ុម', hSpace : 'គំលាតទទឹង', vSpace : 'គំលាតបណ្តោយ', alertUrl : 'សូមសរសេរងាស័យដ្ឋានរបស់រូបភាព', linkTab : 'ឈ្នាប់', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'ការកំណត់ Flash', propertiesTab : 'Properties', // MISSING title : 'ការកំណត់ Flash', chkPlay : 'លេងដោយស្វ័យប្រវត្ត', chkLoop : 'ចំនួនដង', chkMenu : 'បង្ហាញ មឺនុយរបស់ Flash', chkFull : 'Allow Fullscreen', // MISSING scale : 'ទំហំ', scaleAll : 'បង្ហាញទាំងអស់', scaleNoBorder : 'មិនបង្ហាញស៊ុម', scaleFit : 'ត្រូវល្មម', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Abs Bottom', // MISSING alignAbsMiddle : 'Abs Middle', // MISSING alignBaseline : 'បន្ទាត់ជាមូលដ្ឋាន', alignTextTop : 'លើអត្ថបទ', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'ពណ៌ផ្ទៃខាងក្រោយ', hSpace : 'គំលាតទទឹង', vSpace : 'គំលាតបណ្តោយ', validateSrc : 'សូមសរសេរ អាស័យដ្ឋាន URL', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'ពិនិត្យអក្ខរាវិរុទ្ធ', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'គ្មានក្នុងវចនានុក្រម', changeTo : 'ផ្លាស់ប្តូរទៅ', btnIgnore : 'មិនផ្លាស់ប្តូរ', btnIgnoreAll : 'មិនផ្លាស់ប្តូរ ទាំងអស់', btnReplace : 'ជំនួស', btnReplaceAll : 'ជំនួសទាំងអស់', btnUndo : 'សារឡើងវិញ', noSuggestions : '- គ្មានសំណើរ -', progress : 'កំពុងពិនិត្យអក្ខរាវិរុទ្ធ...', noMispell : 'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: គ្មានកំហុស', noChanges : 'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពុំមានផ្លាស់ប្តូរ', oneChange : 'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពាក្យមួយត្រូចបានផ្លាស់ប្តូរ', manyChanges : 'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: %1 ពាក្យបានផ្លាស់ប្តូរ', ieSpellDownload : 'ពុំមានកម្មវិធីពិនិត្យអក្ខរាវិរុទ្ធ ។ តើចង់ទាញយកពីណា?' }, smiley : { toolbar : 'រូបភាព', title : 'បញ្ជូលរូបភាព', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'បញ្ជីជាអក្សរ', bulletedlist : 'បញ្ជីជារង្វង់មូល', indent : 'បន្ថែមការចូលបន្ទាត់', outdent : 'បន្ថយការចូលបន្ទាត់', justify : { left : 'តំរឹមឆ្វេង', center : 'តំរឹមកណ្តាល', right : 'តំរឹមស្តាំ', block : 'តំរឹមសងខាង' }, blockquote : 'Block Quote', // MISSING clipboard : { title : 'ចំលងដាក់', cutError : 'ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ\u200bមិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ កាត់អត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl/Cmd+X) ។', copyError : 'ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ\u200bមិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ ចំលងអត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl/Cmd+C)។', pasteMsg : 'សូមចំលងអត្ថបទទៅដាក់ក្នុងប្រអប់ដូចខាងក្រោមដោយប្រើប្រាស់ ឃី \u200b(<STRONG>Ctrl/Cmd+V</STRONG>) ហើយចុច <STRONG>OK</STRONG> ។', securityMsg : '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 pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'ចំលងដាក់ពី Word', title : 'ចំលងដាក់ពី Word', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'ចំលងដាក់អត្ថបទធម្មតា', title : 'ចំលងដាក់អត្ថបទធម្មតា' }, templates : { button : 'ឯកសារគំរូ', title : 'ឯកសារគំរូ របស់អត្ថន័យ', options : 'Template Options', // MISSING insertOption : 'Replace actual contents', // MISSING selectPromptMsg : 'សូមជ្រើសរើសឯកសារគំរូ ដើម្បីបើកនៅក្នុងកម្មវិធីតាក់តែងអត្ថបទ<br>(អត្ថបទនឹងបាត់បង់):', emptyListMsg : '(ពុំមានឯកសារគំរូត្រូវបានកំណត់)' }, showBlocks : 'Show Blocks', // MISSING stylesCombo : { label : 'ម៉ូត', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'រចនា', panelTitle : 'រចនា', tag_p : 'Normal', tag_pre : 'Formatted', tag_address : 'Address', tag_h1 : 'Heading 1', tag_h2 : 'Heading 2', tag_h3 : 'Heading 3', tag_h4 : 'Heading 4', tag_h5 : 'Heading 5', tag_h6 : 'Heading 6', tag_div : 'Normal (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'ហ្វុង', voiceLabel : 'Font', // MISSING panelTitle : 'ហ្វុង' }, fontSize : { label : 'ទំហំ', voiceLabel : 'Font Size', // MISSING panelTitle : 'ទំហំ' }, colorButton : { textColorTitle : 'ពណ៌អក្សរ', bgColorTitle : 'ពណ៌ផ្ទៃខាងក្រោយ', panelTitle : 'Colors', // MISSING auto : 'ស្វ័យប្រវត្ត', more : 'ពណ៌ផ្សេងទៀត..' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'ការកំណត់ ឯកសារ', title : 'ការកំណត់ ឯកសារ', design : 'Design', // MISSING meta : 'ទិន្នន័យមេ', chooseColor : 'Choose', // MISSING other : '<other>', docTitle : 'ចំណងជើងទំព័រ', charset : 'កំណត់លេខកូតភាសា', charsetOther : 'កំណត់លេខកូតភាសាផ្សេងទៀត', charsetASCII : 'ASCII', // MISSING charsetCE : 'Central European', // MISSING charsetCT : 'Chinese Traditional (Big5)', // MISSING charsetCR : 'Cyrillic', // MISSING charsetGR : 'Greek', // MISSING charsetJP : 'Japanese', // MISSING charsetKR : 'Korean', // MISSING charsetTR : 'Turkish', // MISSING charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Western European', // MISSING docType : 'ប្រភេទក្បាលទំព័រ', docTypeOther : 'ប្រភេទក្បាលទំព័រផ្សេងទៀត', xhtmlDec : 'បញ្ជូល XHTML', bgColor : 'ពណ៌ខាងក្រោម', bgImage : 'URL របស់រូបភាពខាងក្រោម', bgFixed : 'ទំព័រក្រោមមិនប្តូរ', txtColor : 'ពណ៌អក្សរ', margin : 'ស៊ុមទំព័រ', marginTop : 'លើ', marginLeft : 'ឆ្វេង', marginRight : 'ស្ដាំ', marginBottom : 'ក្រោម', metaKeywords : 'ពាក្យនៅក្នុងឯកសារ (ផ្តាច់ពីគ្នាដោយក្បៀស)', metaDescription : 'សេចក្តីអត្ថាធិប្បាយអំពីឯកសារ', metaAuthor : 'អ្នកនិពន្ធ', metaCopyright : 'រក្សាសិទ្ធិ៏', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/km.js
JavaScript
asf20
33,428
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Arabic language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['ar'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'rtl', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'المصدر', newPage : 'صفحة جديدة', save : 'حفظ', preview : 'معاينة الصفحة', cut : 'قص', copy : 'نسخ', paste : 'لصق', print : 'طباعة', underline : 'تسطير', bold : 'غامق', italic : 'مائل', selectAll : 'تحديد الكل', removeFormat : 'إزالة التنسيقات', strike : 'يتوسطه خط', subscript : 'منخفض', superscript : 'مرتفع', horizontalrule : 'خط فاصل', pagebreak : 'إدخال صفحة جديدة', pagebreakAlt : 'Page Break', // MISSING unlink : 'إزالة رابط', undo : 'تراجع', redo : 'إعادة', // Common messages and labels. common : { browseServer : 'تصفح', url : 'الرابط', protocol : 'البروتوكول', upload : 'رفع', uploadSubmit : 'أرسل', image : 'صورة', flash : 'فلاش', form : 'نموذج', checkbox : 'خانة إختيار', radio : 'زر اختيار', textField : 'مربع نص', textarea : 'مساحة نصية', hiddenField : 'إدراج حقل خفي', button : 'زر ضغط', select : 'اختار', imageButton : 'زر صورة', notSet : '<بدون تحديد>', id : 'الرقم', name : 'الاسم', langDir : 'إتجاه النص', langDirLtr : 'اليسار لليمين (LTR)', langDirRtl : 'اليمين لليسار (RTL)', langCode : 'رمز اللغة', longDescr : 'الوصف التفصيلى', cssClass : 'فئات التنسيق', advisoryTitle : 'عنوان التقرير', cssStyle : 'نمط', ok : 'موافق', cancel : 'إلغاء الأمر', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'عام', advancedTab : 'متقدم', validateNumberFailed : 'لايوجد نتيجة', confirmNewPage : 'ستفقد أي متغييرات اذا لم تقم بحفظها اولا. هل أنت متأكد أنك تريد صفحة جديدة؟', confirmCancel : 'بعض الخيارات قد تغيرت. هل أنت متأكد من إغلاق مربع النص؟', options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'العرض', height : 'الإرتفاع', align : 'محاذاة', alignLeft : 'يسار', alignRight : 'يمين', alignCenter : 'وسط', alignTop : 'أعلى', alignMiddle : 'وسط', alignBottom : 'أسفل', invalidHeight : 'الارتفاع يجب أن يكون عدداً.', invalidWidth : 'العرض يجب أن يكون عدداً.', invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, غير متاح</span>' }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'إدراج خاص.ِ', title : 'اختر الخواص', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'رابط', other : '<أخرى>', menu : 'تحرير رابط', title : 'إرتباط تشعبي', info : 'معلومات الرابط', target : 'هدف الرابط', upload : 'رفع', advanced : 'متقدم', type : 'نوع الربط', toUrl : 'URL', // MISSING toAnchor : 'مكان في هذا المستند', toEmail : 'بريد إلكتروني', targetFrame : '<إطار>', targetPopup : '<نافذة منبثقة>', targetFrameName : 'اسم الإطار المستهدف', targetPopupName : 'اسم النافذة المنبثقة', popupFeatures : 'خصائص النافذة المنبثقة', popupResizable : 'قابلة التشكيل', popupStatusBar : 'شريط الحالة', popupLocationBar: 'شريط العنوان', popupToolbar : 'شريط الأدوات', popupMenuBar : 'القوائم الرئيسية', popupFullScreen : 'ملئ الشاشة (IE)', popupScrollBars : 'أشرطة التمرير', popupDependent : 'تابع (Netscape)', popupLeft : 'التمركز لليسار', popupTop : 'التمركز للأعلى', id : 'هوية', langDir : 'إتجاه النص', langDirLTR : 'اليسار لليمين (LTR)', langDirRTL : 'اليمين لليسار (RTL)', acccessKey : 'مفاتيح الإختصار', name : 'الاسم', langCode : 'كود النص', tabIndex : 'الترتيب', advisoryTitle : 'عنوان التقرير', advisoryContentType : 'نوع التقرير', cssClasses : 'فئات التنسيق', charset : 'ترميز المادة المطلوبة', styles : 'نمط', rel : 'Relationship', // MISSING selectAnchor : 'اختر علامة مرجعية', anchorName : 'حسب الاسم', anchorId : 'حسب رقم العنصر', emailAddress : 'عنوان البريد إلكتروني', emailSubject : 'موضوع الرسالة', emailBody : 'محتوى الرسالة', noAnchors : '(لا توجد علامات مرجعية في هذا المستند)', noUrl : 'من فضلك أدخل عنوان الموقع الذي يشير إليه الرابط', noEmail : 'من فضلك أدخل عنوان البريد الإلكتروني' }, // Anchor dialog anchor : { toolbar : 'إشارة مرجعية', menu : 'تحرير الإشارة المرجعية', title : 'خصائص الإشارة المرجعية', name : 'اسم الإشارة المرجعية', errorName : 'الرجاء كتابة اسم الإشارة المرجعية', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'بحث واستبدال', find : 'بحث', replace : 'إستبدال', findWhat : 'البحث بـ:', replaceWith : 'إستبدال بـ:', notFoundMsg : 'لم يتم العثور على النص المحدد.', findOptions : 'Find Options', // MISSING matchCase : 'مطابقة حالة الأحرف', matchWord : 'مطابقة بالكامل', matchCyclic : 'مطابقة دورية', replaceAll : 'إستبدال الكل', replaceSuccessMsg : 'تم استبدال 1% من الحالات ' }, // Table Dialog table : { toolbar : 'جدول', title : 'خصائص الجدول', menu : 'خصائص الجدول', deleteTable : 'حذف الجدول', rows : 'صفوف', columns : 'أعمدة', border : 'الحدود', widthPx : 'بكسل', widthPc : 'بالمئة', widthUnit : 'width unit', // MISSING cellSpace : 'تباعد الخلايا', cellPad : 'المسافة البادئة', caption : 'الوصف', summary : 'الخلاصة', headers : 'العناوين', headersNone : 'بدون', headersColumn : 'العمود الأول', headersRow : 'الصف الأول', headersBoth : 'كلاهما', invalidRows : 'عدد الصفوف يجب أن يكون عدداً أكبر من صفر.', invalidCols : 'عدد الأعمدة يجب أن يكون عدداً أكبر من صفر.', invalidBorder : 'حجم الحد يجب أن يكون عدداً.', invalidWidth : 'عرض الجدول يجب أن يكون عدداً.', invalidHeight : 'ارتفاع الجدول يجب أن يكون عدداً.', invalidCellSpacing : 'المسافة بين الخلايا يجب أن تكون عدداً.', invalidCellPadding : 'المسافة البادئة يجب أن تكون عدداً', cell : { menu : 'خلية', insertBefore : 'إدراج خلية قبل', insertAfter : 'إدراج خلية بعد', deleteCell : 'حذف خلية', merge : 'دمج خلايا', mergeRight : 'دمج لليمين', mergeDown : 'دمج للأسفل', splitHorizontal : 'تقسيم الخلية أفقياً', splitVertical : 'تقسيم الخلية عمودياً', title : 'خصائص الخلية', cellType : 'نوع الخلية', rowSpan : 'امتداد الصفوف', colSpan : 'امتداد الأعمدة', wordWrap : 'التفاف النص', hAlign : 'محاذاة أفقية', vAlign : 'محاذاة رأسية', alignBaseline : 'خط القاعدة', bgColor : 'لون الخلفية', borderColor : 'لون الحدود', data : 'بيانات', header : 'عنوان', yes : 'نعم', no : 'لا', invalidWidth : 'عرض الخلية يجب أن يكون عدداً.', invalidHeight : 'ارتفاع الخلية يجب أن يكون عدداً.', invalidRowSpan : 'امتداد الصفوف يجب أن يكون عدداً صحيحاً.', invalidColSpan : 'امتداد الأعمدة يجب أن يكون عدداً صحيحاً.', chooseColor : 'اختر' }, row : { menu : 'صف', insertBefore : 'إدراج صف قبل', insertAfter : 'إدراج صف بعد', deleteRow : 'حذف صفوف' }, column : { menu : 'عمود', insertBefore : 'إدراج عمود قبل', insertAfter : 'إدراج عمود بعد', deleteColumn : 'حذف أعمدة' } }, // Button Dialog. button : { title : 'خصائص زر الضغط', text : 'القيمة/التسمية', type : 'نوع الزر', typeBtn : 'زر', typeSbm : 'إرسال', typeRst : 'إعادة تعيين' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'خصائص خانة الإختيار', radioTitle : 'خصائص زر الخيار', value : 'القيمة', selected : 'محدد' }, // Form Dialog. form : { title : 'خصائص النموذج', menu : 'خصائص النموذج', action : 'اسم الملف', method : 'الأسلوب', encoding : 'تشفير' }, // Select Field Dialog. select : { title : 'خصائص اختيار الحقل', selectInfo : 'اختار معلومات', opAvail : 'الخيارات المتاحة', value : 'القيمة', size : 'الحجم', lines : 'الأسطر', chkMulti : 'السماح بتحديدات متعددة', opText : 'النص', opValue : 'القيمة', btnAdd : 'إضافة', btnModify : 'تعديل', btnUp : 'أعلى', btnDown : 'أسفل', btnSetValue : 'إجعلها محددة', btnDelete : 'إزالة' }, // Textarea Dialog. textarea : { title : 'خصائص مساحة النص', cols : 'الأعمدة', rows : 'الصفوف' }, // Text Field Dialog. textfield : { title : 'خصائص مربع النص', name : 'الاسم', value : 'القيمة', charWidth : 'عرض السمات', maxChars : 'اقصى عدد للسمات', type : 'نوع المحتوى', typeText : 'نص', typePass : 'كلمة مرور' }, // Hidden Field Dialog. hidden : { title : 'خصائص الحقل المخفي', name : 'الاسم', value : 'القيمة' }, // Image Dialog. image : { title : 'خصائص الصورة', titleButton : 'خصائص زر الصورة', menu : 'خصائص الصورة', infoTab : 'معلومات الصورة', btnUpload : 'أرسلها للخادم', upload : 'رفع', alt : 'عنوان الصورة', lockRatio : 'تناسق الحجم', resetSize : 'إستعادة الحجم الأصلي', border : 'سمك الحدود', hSpace : 'تباعد أفقي', vSpace : 'تباعد عمودي', alertUrl : 'فضلاً أكتب الموقع الذي توجد عليه هذه الصورة.', linkTab : 'الرابط', button2Img : 'هل تريد تحويل زر الصورة المختار إلى صورة بسيطة؟', img2Button : 'هل تريد تحويل الصورة المختارة إلى زر صورة؟', urlMissing : 'عنوان مصدر الصورة مفقود', validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'خصائص الفلاش', propertiesTab : 'الخصائص', title : 'خصائص فيلم الفلاش', chkPlay : 'تشغيل تلقائي', chkLoop : 'تكرار', chkMenu : 'تمكين قائمة فيلم الفلاش', chkFull : 'ملء الشاشة', scale : 'الحجم', scaleAll : 'إظهار الكل', scaleNoBorder : 'بلا حدود', scaleFit : 'ضبط تام', access : 'دخول النص البرمجي', accessAlways : 'دائماً', accessSameDomain: 'نفس النطاق', accessNever : 'مطلقاً', alignAbsBottom : 'أسفل النص', alignAbsMiddle : 'وسط السطر', alignBaseline : 'على السطر', alignTextTop : 'أعلى النص', quality : 'جودة', qualityBest : 'أفضل', qualityHigh : 'عالية', qualityAutoHigh : 'عالية تلقائياً', qualityMedium : 'متوسطة', qualityAutoLow : 'منخفضة تلقائياً', qualityLow : 'منخفضة', windowModeWindow: 'نافذة', windowModeOpaque: 'غير شفاف', windowModeTransparent : 'شفاف', windowMode : 'وضع النافذة', flashvars : 'متغيرات الفلاش', bgcolor : 'لون الخلفية', hSpace : 'تباعد أفقي', vSpace : 'تباعد عمودي', validateSrc : 'فضلاً أدخل عنوان الموقع الذي يشير إليه الرابط', validateHSpace : 'HSpace يجب أن يكون عدداً.', validateVSpace : 'VSpace يجب أن يكون عدداً.' }, // Speller Pages Dialog spellCheck : { toolbar : 'تدقيق إملائي', title : 'التدقيق الإملائي', notAvailable : 'عفواً، ولكن هذه الخدمة غير متاحة الان', errorLoading : 'خطأ في تحميل تطبيق خدمة الاستضافة: %s.', notInDic : 'ليست في القاموس', changeTo : 'التغيير إلى', btnIgnore : 'تجاهل', btnIgnoreAll : 'تجاهل الكل', btnReplace : 'تغيير', btnReplaceAll : 'تغيير الكل', btnUndo : 'تراجع', noSuggestions : '- لا توجد إقتراحات -', progress : 'جاري التدقيق الاملائى', noMispell : 'تم التدقيق الإملائي: لم يتم العثور على أي أخطاء إملائية', noChanges : 'تم التدقيق الإملائي: لم يتم تغيير أي كلمة', oneChange : 'تم التدقيق الإملائي: تم تغيير كلمة واحدة فقط', manyChanges : 'تم إكمال التدقيق الإملائي: تم تغيير %1 من كلمات', ieSpellDownload : 'المدقق الإملائي (الإنجليزي) غير مثبّت. هل تود تحميله الآن؟' }, smiley : { toolbar : 'ابتسامات', title : 'إدراج ابتسامات', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : 'عنصر 1%' }, numberedlist : 'ادخال/حذف تعداد رقمي', bulletedlist : 'ادخال/حذف تعداد نقطي', indent : 'زيادة المسافة البادئة', outdent : 'إنقاص المسافة البادئة', justify : { left : 'محاذاة إلى اليسار', center : 'توسيط', right : 'محاذاة إلى اليمين', block : 'ضبط' }, blockquote : 'اقتباس', clipboard : { title : 'لصق', cutError : 'الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع القص التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl/Cmd+X).', copyError : 'الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع النسخ التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl/Cmd+C).', pasteMsg : 'الصق داخل الصندوق بإستخدام زرائر (<STRONG>Ctrl/Cmd+V</STRONG>) في لوحة المفاتيح، ثم اضغط زر <STRONG>موافق</STRONG>.', securityMsg : 'نظراً لإعدادات الأمان الخاصة بمتصفحك، لن يتمكن هذا المحرر من الوصول لمحتوى حافظتك، لذلك يجب عليك لصق المحتوى مرة أخرى في هذه النافذة.', pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'يبدو أن النص المراد لصقه منسوخ من برنامج وورد. هل تود تنظيفه قبل الشروع في عملية اللصق؟', toolbar : 'لصق من وورد', title : 'لصق من وورد', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'لصق كنص بسيط', title : 'لصق كنص بسيط' }, templates : { button : 'القوالب', title : 'قوالب المحتوى', options : 'Template Options', // MISSING insertOption : 'استبدال المحتوى', selectPromptMsg : 'اختر القالب الذي تود وضعه في المحرر', emptyListMsg : '(لم يتم تعريف أي قالب)' }, showBlocks : 'مخطط تفصيلي', stylesCombo : { label : 'أنماط', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'أنماط الفقرة', panelTitle2 : 'أنماط مضمنة', panelTitle3 : 'أنماط الكائن' }, format : { label : 'تنسيق', panelTitle : 'تنسيق الفقرة', tag_p : 'عادي', tag_pre : 'منسّق', tag_address : 'عنوان', tag_h1 : 'العنوان 1', tag_h2 : 'العنوان 2', tag_h3 : 'العنوان 3', tag_h4 : 'العنوان 4', tag_h5 : 'العنوان 5', tag_h6 : 'العنوان 6', tag_div : 'عادي (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'خط', voiceLabel : 'حجم الخط', panelTitle : 'حجم الخط' }, fontSize : { label : 'حجم الخط', voiceLabel : 'حجم الخط', panelTitle : 'حجم الخط' }, colorButton : { textColorTitle : 'لون النص', bgColorTitle : 'لون الخلفية', panelTitle : 'Colors', // MISSING auto : 'تلقائي', more : 'ألوان إضافية...' }, colors : { '000' : 'أسود', '800000' : 'كستنائي', '8B4513' : 'بني فاتح', '2F4F4F' : 'رمادي أردوازي غامق', '008080' : 'أزرق مخضر', '000080' : 'أزرق داكن', '4B0082' : 'كحلي', '696969' : 'رمادي داكن', 'B22222' : 'طوبي', 'A52A2A' : 'بني', 'DAA520' : 'ذهبي داكن', '006400' : 'أخضر داكن', '40E0D0' : 'فيروزي', '0000CD' : 'أزرق متوسط', '800080' : 'بنفسجي غامق', '808080' : 'رمادي', 'F00' : 'أحمر', 'FF8C00' : 'برتقالي داكن', 'FFD700' : 'ذهبي', '008000' : 'أخضر', '0FF' : 'تركواز', '00F' : 'أزرق', 'EE82EE' : 'بنفسجي', 'A9A9A9' : 'رمادي شاحب', 'FFA07A' : 'برتقالي وردي', 'FFA500' : 'برتقالي', 'FFFF00' : 'أصفر', '00FF00' : 'ليموني', 'AFEEEE' : 'فيروزي شاحب', 'ADD8E6' : 'أزرق فاتح', 'DDA0DD' : 'بنفسجي فاتح', 'D3D3D3' : 'رمادي فاتح', 'FFF0F5' : 'وردي فاتح', 'FAEBD7' : 'أبيض عتيق', 'FFFFE0' : 'أصفر فاتح', 'F0FFF0' : 'أبيض مائل للأخضر', 'F0FFFF' : 'سماوي', 'F0F8FF' : 'لبني', 'E6E6FA' : 'أرجواني', 'FFF' : 'أبيض' }, scayt : { title : 'تدقيق إملائي أثناء الكتابة', opera_title : 'Not supported by Opera', // MISSING enable : 'تفعيل SCAYT', disable : 'تعطيل SCAYT', about : 'عن SCAYT', toggle : 'تثبيت SCAYT', options : 'خيارات', langs : 'لغات', moreSuggestions : 'المزيد من المقترحات', ignore : 'تجاهل', ignoreAll : 'تجاهل الكل', addWord : 'إضافة كلمة', emptyDic : 'اسم القاموس يجب ألا يكون فارغاً.', optionsTab : 'خيارات', allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'لغات', dictionariesTab : 'قواميس', dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'عن' }, about : { title : 'عن CKEditor', dlgTitle : 'عن CKEditor', help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'للحصول على معلومات الترخيص ، يرجى زيارة موقعنا على شبكة الانترنت:', copy : 'حقوق النشر &copy; $1. جميع الحقوق محفوظة.' }, maximize : 'تكبير', minimize : 'تصغير', fakeobjects : { anchor : 'إرساء', flash : 'رسم متحرك بالفلاش', iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'كائن غير معروف' }, resize : 'اسحب لتغيير الحجم', colordialog : { title : 'اختر لون', options : 'Color Options', // MISSING highlight : 'إلقاء الضوء', selected : 'مُختار', clear : 'مسح' }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'خصائص الصفحة', title : 'خصائص الصفحة', design : 'Design', // MISSING meta : 'المعرّفات الرأسية', chooseColor : 'اختر', other : '<أخرى>', docTitle : 'عنوان الصفحة', charset : 'ترميز الحروف', charsetOther : 'ترميز آخر', charsetASCII : 'ASCII', // MISSING charsetCE : 'أوروبا الوسطى', charsetCT : 'الصينية التقليدية (Big5)', charsetCR : 'السيريلية', charsetGR : 'اليونانية', charsetJP : 'اليابانية', charsetKR : 'الكورية', charsetTR : 'التركية', charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'أوروبا الغربية', docType : 'ترويسة نوع الصفحة', docTypeOther : 'ترويسة نوع صفحة أخرى', xhtmlDec : 'تضمين إعلانات لغة XHTMLَ', bgColor : 'لون الخلفية', bgImage : 'رابط الصورة الخلفية', bgFixed : 'جعلها علامة مائية', txtColor : 'لون النص', margin : 'هوامش الصفحة', marginTop : 'علوي', marginLeft : 'أيسر', marginRight : 'أيمن', marginBottom : 'سفلي', metaKeywords : 'الكلمات الأساسية (مفصولة بفواصل)َ', metaDescription : 'وصف الصفحة', metaAuthor : 'الكاتب', metaCopyright : 'المالك', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/ar.js
JavaScript
asf20
28,886
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Ukrainian language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['uk'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Текстовий редактор, %1, натисніть ALT 0 для довідки.', // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Текстовий редактор', // Toolbar buttons without dialogs. source : 'Джерело', newPage : 'Нова сторінка', save : 'Зберегти', preview : 'Попередній перегляд', cut : 'Вирізати', copy : 'Копіювати', paste : 'Вставити', print : 'Друк', underline : 'Підкреслений', bold : 'Жирний', italic : 'Курсив', selectAll : 'Виділити все', removeFormat : 'Очистити форматування', strike : 'Закреслений', subscript : 'Нижній індекс', superscript : 'Верхній індекс', horizontalrule : 'Горизонтальна лінія', pagebreak : 'Вставити розрив сторінки', pagebreakAlt : 'Page Break', // MISSING unlink : 'Видалити посилання', undo : 'Повернути', redo : 'Повторити', // Common messages and labels. common : { browseServer : 'Огляд', url : 'URL', protocol : 'Протокол', upload : 'Надіслати', uploadSubmit : 'Надіслати на сервер', image : 'Зображення', flash : 'Flash', form : 'Форма', checkbox : 'Галочка', radio : 'Кнопка вибору', textField : 'Текстове поле', textarea : 'Текстова область', hiddenField : 'Приховане поле', button : 'Кнопка', select : 'Список', imageButton : 'Кнопка із зображенням', notSet : '<не визначено>', id : 'Ідентифікатор', name : 'Ім\'я', langDir : 'Напрямок мови', langDirLtr : 'Зліва направо (LTR)', langDirRtl : 'Справа наліво (RTL)', langCode : 'Код мови', longDescr : 'Довгий опис URL', cssClass : 'Клас CSS', advisoryTitle : 'Заголовок', cssStyle : 'Стиль CSS', ok : 'ОК', cancel : 'Скасувати', close : 'Закрити', preview : 'Попередній перегляд', generalTab : 'Основне', advancedTab : 'Додаткове', validateNumberFailed : 'Значення не є цілим числом.', confirmNewPage : 'Всі незбережені зміни будуть втрачені. Ви впевнені, що хочете завантажити нову сторінку?', confirmCancel : 'Деякі опції змінено. Закрити вікно без збереження змін?', options : 'Опції', target : 'Ціль', targetNew : 'Нове вікно (_blank)', targetTop : 'Поточне вікно (_top)', targetSelf : 'Поточний фрейм/вікно (_self)', targetParent : 'Батьківський фрейм/вікно (_parent)', langDirLTR : 'Зліва направо (LTR)', langDirRTL : 'Справа наліво (RTL)', styles : 'Стиль CSS', cssClasses : 'Клас CSS', width : 'Ширина', height : 'Висота', align : 'Вирівнювання', alignLeft : 'По лівому краю', alignRight : 'По правому краю', alignCenter : 'По центру', alignTop : 'По верхньому краю', alignMiddle : 'По середині', alignBottom : 'По нижньому краю', invalidHeight : 'Висота повинна бути цілим числом.', invalidWidth : 'Ширина повинна бути цілим числом.', invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, не доступне</span>' }, contextmenu : { options : 'Опції контекстного меню' }, // Special char dialog. specialChar : { toolbar : 'Спеціальний символ', title : 'Оберіть спеціальний символ', options : 'Опції' }, // Link dialog. link : { toolbar : 'Вставити/Редагувати посилання', other : '<інший>', menu : 'Вставити посилання', title : 'Посилання', info : 'Інформація посилання', target : 'Ціль', upload : 'Надіслати', advanced : 'Додаткове', type : 'Тип посилання', toUrl : 'URL', toAnchor : 'Якір на цю сторінку', toEmail : 'Ел. пошта', targetFrame : '<фрейм>', targetPopup : '<випливаюче вікно>', targetFrameName : 'Ім\'я цільового фрейму', targetPopupName : 'Ім\'я випливаючого вікна', popupFeatures : 'Властивості випливаючого вікна', popupResizable : 'Масштабоване', popupStatusBar : 'Рядок статусу', popupLocationBar: 'Панель локації', popupToolbar : 'Панель інструментів', popupMenuBar : 'Панель меню', popupFullScreen : 'Повний екран (IE)', popupScrollBars : 'Стрічки прокрутки', popupDependent : 'Залежний (Netscape)', popupLeft : 'Позиція зліва', popupTop : 'Позиція зверху', id : 'Ідентифікатор', langDir : 'Напрямок мови', langDirLTR : 'Зліва направо (LTR)', langDirRTL : 'Справа наліво (RTL)', acccessKey : 'Гаряча клавіша', name : 'Ім\'я', langCode : 'Код мови', tabIndex : 'Послідовність переходу', advisoryTitle : 'Заголовок', advisoryContentType : 'Тип вмісту', cssClasses : 'Клас CSS', charset : 'Кодування', styles : 'Стиль CSS', rel : 'Relationship', // MISSING selectAnchor : 'Оберіть якір', anchorName : 'За ім\'ям елементу', anchorId : 'За ідентифікатором елементу', emailAddress : 'Адреса ел. пошти', emailSubject : 'Тема листа', emailBody : 'Тіло повідомлення', noAnchors : '(В цьому документі немає якорів)', noUrl : 'Будь ласка, вкажіть URL посилання', noEmail : 'Будь ласка, вкажіть адрес ел. пошти' }, // Anchor dialog anchor : { toolbar : 'Вставити/Редагувати якір', menu : 'Властивості якоря', title : 'Властивості якоря', name : 'Ім\'я якоря', errorName : 'Будь ласка, вкажіть ім\'я якоря', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Опції нумерованого списку', bulletedTitle : 'Опції маркірованого списку', type : 'Тип', start : 'Почати з...', validateStartNumber :'Початковий номер списку повинен бути цілим числом.', circle : 'Кільце', disc : 'Кружечок', square : 'Квадратик', none : 'Нема', notset : '<не вказано>', armenian : 'Вірменська нумерація', georgian : 'Грузинська нумерація (an, ban, gan і т.д.)', lowerRoman : 'Малі римські (i, ii, iii, iv, v і т.д.)', upperRoman : 'Великі римські (I, II, III, IV, V і т.д.)', lowerAlpha : 'Малі лат. букви (a, b, c, d, e і т.д.)', upperAlpha : 'Великі лат. букви (A, B, C, D, E і т.д.)', lowerGreek : 'Малі гр. букви (альфа, бета, гамма і т.д.)', decimal : 'Десяткові (1, 2, 3 і т.д.)', decimalLeadingZero : 'Десяткові з нулем (01, 02, 03 і т.д.)' }, // Find And Replace Dialog findAndReplace : { title : 'Знайти і замінити', find : 'Пошук', replace : 'Заміна', findWhat : 'Шукати:', replaceWith : 'Замінити на:', notFoundMsg : 'Вказаний текст не знайдено.', findOptions : 'Find Options', // MISSING matchCase : 'Враховувати регістр', matchWord : 'Збіг цілих слів', matchCyclic : 'Циклічна заміна', replaceAll : 'Замінити все', replaceSuccessMsg : '%1 співпадінь(ня) замінено.' }, // Table Dialog table : { toolbar : 'Таблиця', title : 'Властивості таблиці', menu : 'Властивості таблиці', deleteTable : 'Видалити таблицю', rows : 'Рядки', columns : 'Стовбці', border : 'Розмір рамки', widthPx : 'пікселів', widthPc : 'відсотків', widthUnit : 'Одиниці вимір.', cellSpace : 'Проміжок', cellPad : 'Внутр. відступ', caption : 'Заголовок таблиці', summary : 'Детальний опис заголовку таблиці', headers : 'Заголовки стовбців/рядків', headersNone : 'Без заголовків', headersColumn : 'Стовбці', headersRow : 'Рядки', headersBoth : 'Стовбці і рядки', invalidRows : 'Кількість рядків повинна бути більшою 0.', invalidCols : 'Кількість стовбців повинна бути більшою 0.', invalidBorder : 'Розмір рамки повинен бути цілим числом.', invalidWidth : 'Ширина таблиці повинна бути цілим числом.', invalidHeight : 'Висота таблиці повинна бути цілим числом.', invalidCellSpacing : 'Проміжок між комірками повинен бути цілим числом.', invalidCellPadding : 'Внутр. відступ комірки повинен бути цілим числом.', cell : { menu : 'Комірки', insertBefore : 'Вставити комірку перед', insertAfter : 'Вставити комірку після', deleteCell : 'Видалити комірки', merge : 'Об\'єднати комірки', mergeRight : 'Об\'єднати справа', mergeDown : 'Об\'єднати донизу', splitHorizontal : 'Розділити комірку по горизонталі', splitVertical : 'Розділити комірку по вертикалі', title : 'Властивості комірки', cellType : 'Тип комірки', rowSpan : 'Об\'єднання рядків', colSpan : 'Об\'єднання стовпців', wordWrap : 'Автоперенесення тексту', hAlign : 'Гориз. вирівнювання', vAlign : 'Верт. вирівнювання', alignBaseline : 'По базовій лінії', bgColor : 'Колір фону', borderColor : 'Колір рамки', data : 'Дані', header : 'Заголовок', yes : 'Так', no : 'Ні', invalidWidth : 'Ширина комірки повинна бути цілим числом.', invalidHeight : 'Висота комірки повинна бути цілим числом.', invalidRowSpan : 'Кількість об\'єднуваних рядків повинна бути цілим числом.', invalidColSpan : 'Кількість об\'єднуваних стовбців повинна бути цілим числом.', chooseColor : 'Обрати' }, row : { menu : 'Рядки', insertBefore : 'Вставити рядок перед', insertAfter : 'Вставити рядок після', deleteRow : 'Видалити рядки' }, column : { menu : 'Стовбці', insertBefore : 'Вставити стовбець перед', insertAfter : 'Вставити стовбець після', deleteColumn : 'Видалити стовбці' } }, // Button Dialog. button : { title : 'Властивості кнопки', text : 'Значення', type : 'Тип', typeBtn : 'Кнопка (button)', typeSbm : 'Надіслати (submit)', typeRst : 'Очистити (reset)' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Властивості галочки', radioTitle : 'Властивості кнопки вибору', value : 'Значення', selected : 'Обрана' }, // Form Dialog. form : { title : 'Властивості форми', menu : 'Властивості форми', action : 'Дія', method : 'Метод', encoding : 'Кодування' }, // Select Field Dialog. select : { title : 'Властивості списку', selectInfo : 'Інфо', opAvail : 'Доступні варіанти', value : 'Значення', size : 'Кількість', lines : 'видимих позицій у списку', chkMulti : 'Список з мультивибором', opText : 'Текст', opValue : 'Значення', btnAdd : 'Добавити', btnModify : 'Змінити', btnUp : 'Вгору', btnDown : 'Вниз', btnSetValue : 'Встановити як обране значення', btnDelete : 'Видалити' }, // Textarea Dialog. textarea : { title : 'Властивості текстової області', cols : 'Стовбці', rows : 'Рядки' }, // Text Field Dialog. textfield : { title : 'Властивості текстового поля', name : 'Ім\'я', value : 'Значення', charWidth : 'Ширина', maxChars : 'Макс. к-ть символів', type : 'Тип', typeText : 'Текст', typePass : 'Пароль' }, // Hidden Field Dialog. hidden : { title : 'Властивості прихованого поля', name : 'Ім\'я', value : 'Значення' }, // Image Dialog. image : { title : 'Властивості зображення', titleButton : 'Властивості кнопки із зображенням', menu : 'Властивості зображення', infoTab : 'Інформація про зображення', btnUpload : 'Надіслати на сервер', upload : 'Надіслати', alt : 'Альтернативний текст', lockRatio : 'Зберегти пропорції', resetSize : 'Очистити поля розмірів', border : 'Рамка', hSpace : 'Гориз. відступ', vSpace : 'Верт. відступ', alertUrl : 'Будь ласка, вкажіть URL зображення', linkTab : 'Посилання', button2Img : 'Бажаєте перетворити обрану кнопку-зображення на просте зображення?', img2Button : 'Бажаєте перетворити обране зображення на кнопку-зображення?', urlMissing : 'Вкажіть URL зображення.', validateBorder : 'Ширина рамки повинна бути цілим числом.', validateHSpace : 'Гориз. відступ повинен бути цілим числом.', validateVSpace : 'Верт. відступ повинен бути цілим числом.' }, // Flash Dialog flash : { properties : 'Властивості Flash', propertiesTab : 'Властивості', title : 'Властивості Flash', chkPlay : 'Автопрогравання', chkLoop : 'Циклічно', chkMenu : 'Дозволити меню Flash', chkFull : 'Дозволити повноекранний перегляд', scale : 'Масштаб', scaleAll : 'Показати все', scaleNoBorder : 'Без рамки', scaleFit : 'Поч. розмір', access : 'Доступ до скрипта', accessAlways : 'Завжди', accessSameDomain: 'З того ж домена', accessNever : 'Ніколи', alignAbsBottom : 'По нижньому краю (abs)', alignAbsMiddle : 'По середині (abs)', alignBaseline : 'По базовій лінії', alignTextTop : 'Текст по верхньому краю', quality : 'Якість', qualityBest : 'Відмінна', qualityHigh : 'Висока', qualityAutoHigh : 'Автом. відмінна', qualityMedium : 'Середня', qualityAutoLow : 'Автом. низька', qualityLow : 'Низька', windowModeWindow: 'Вікно', windowModeOpaque: 'Непрозорість', windowModeTransparent : 'Прозорість', windowMode : 'Віконний режим', flashvars : 'Змінні Flash', bgcolor : 'Колір фону', hSpace : 'Гориз. відступ', vSpace : 'Верт. відступ', validateSrc : 'Будь ласка, вкажіть URL посилання', validateHSpace : 'Гориз. відступ повинен бути цілим числом.', validateVSpace : 'Верт. відступ повинен бути цілим числом.' }, // Speller Pages Dialog spellCheck : { toolbar : 'Перевірити орфографію', title : 'Перевірка орфографії', notAvailable : 'Вибачте, але сервіс наразі недоступний.', errorLoading : 'Помилка завантаження : %s.', notInDic : 'Немає в словнику', changeTo : 'Замінити на', btnIgnore : 'Пропустити', btnIgnoreAll : 'Пропустити все', btnReplace : 'Замінити', btnReplaceAll : 'Замінити все', btnUndo : 'Назад', noSuggestions : '- немає варіантів -', progress : 'Виконується перевірка орфографії...', noMispell : 'Перевірку орфографії завершено: помилок не знайдено', noChanges : 'Перевірку орфографії завершено: жодне слово не змінено', oneChange : 'Перевірку орфографії завершено: змінено одне слово', manyChanges : 'Перевірку орфографії завершено: 1% слів(ова) змінено', ieSpellDownload : 'Модуль перевірки орфографії не встановлено. Бажаєте завантажити його зараз?' }, smiley : { toolbar : 'Смайлик', title : 'Вставити смайлик', options : 'Опції смайликів' }, elementsPath : { eleLabel : 'Шлях', eleTitle : '%1 елемент' }, numberedlist : 'Нумерований список', bulletedlist : 'Маркірований список', indent : 'Збільшити відступ', outdent : 'Зменшити відступ', justify : { left : 'По лівому краю', center : 'По центру', right : 'По правому краю', block : 'По ширині' }, blockquote : 'Цитата', clipboard : { title : 'Вставити', cutError : 'Налаштування безпеки Вашого браузера не дозволяють редактору автоматично виконувати операції вирізування. Будь ласка, використовуйте клавіатуру для цього (Ctrl/Cmd+X)', copyError : 'Налаштування безпеки Вашого браузера не дозволяють редактору автоматично виконувати операції копіювання. Будь ласка, використовуйте клавіатуру для цього (Ctrl/Cmd+C).', pasteMsg : 'Будь ласка, вставте інформацію з буфера обміну в цю область, користуючись комбінацією клавіш (<STRONG>Ctrl/Cmd+V</STRONG>), та натисніть <STRONG>OK</STRONG>.', securityMsg : 'Редактор не може отримати прямий доступ до буферу обміну у зв\'язку з налаштуваннями Вашого браузера. Вам потрібно вставити інформацію в це вікно.', pasteArea : 'Область вставки' }, pastefromword : { confirmCleanup : 'Текст, що Ви намагаєтесь вставити, схожий на скопійований з Word. Бажаєте очистити його форматування перед вставлянням?', toolbar : 'Вставити з Word', title : 'Вставити з Word', error : 'Неможливо очистити форматування через внутрішню помилку.' }, pasteText : { button : 'Вставити тільки текст', title : 'Вставити тільки текст' }, templates : { button : 'Шаблони', title : 'Шаблони змісту', options : 'Опції шаблону', insertOption : 'Замінити поточний вміст', selectPromptMsg : 'Оберіть, будь ласка, шаблон для відкриття в редакторі<br>(поточний зміст буде втрачено):', emptyListMsg : '(Не знайдено жодного шаблону)' }, showBlocks : 'Показувати блоки', stylesCombo : { label : 'Стиль', panelTitle : 'Стилі форматування', panelTitle1 : 'Блочні стилі', panelTitle2 : 'Рядкові стилі', panelTitle3 : 'Об\'єктні стилі' }, format : { label : 'Форматування', panelTitle : 'Форматування', tag_p : 'Нормальний', tag_pre : 'Форматований', tag_address : 'Адреса', tag_h1 : 'Заголовок 1', tag_h2 : 'Заголовок 2', tag_h3 : 'Заголовок 3', tag_h4 : 'Заголовок 4', tag_h5 : 'Заголовок 5', tag_h6 : 'Заголовок 6', tag_div : 'Нормальний (div)' }, div : { title : 'Створити блок-контейнер', toolbar : 'Створити блок-контейнер', cssClassInputLabel : 'Клас CSS', styleSelectLabel : 'Стиль CSS', IdInputLabel : 'Ідентифікатор', languageCodeInputLabel : 'Код мови', inlineStyleInputLabel : 'Вписаний стиль', advisoryTitleInputLabel : 'Зміст випливаючої підказки', langDirLabel : 'Напрямок мови', langDirLTRLabel : 'Зліва направо (LTR)', langDirRTLLabel : 'Справа наліво (RTL)', edit : 'Редагувати блок', remove : 'Видалити блок' }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Шрифт', voiceLabel : 'Шрифт', panelTitle : 'Шрифт' }, fontSize : { label : 'Розмір', voiceLabel : 'Розмір шрифту', panelTitle : 'Розмір' }, colorButton : { textColorTitle : 'Колір тексту', bgColorTitle : 'Колір фону', panelTitle : 'Кольори', auto : 'Авто', more : 'Кольори...' }, colors : { '000' : 'Чорний', '800000' : 'Бордовий', '8B4513' : 'Коричневий', '2F4F4F' : 'Темний сіро-зелений', '008080' : 'Морської хвилі', '000080' : 'Сливовий', '4B0082' : 'Індиго', '696969' : 'Темносірий', 'B22222' : 'Темночервоний', 'A52A2A' : 'Каштановий', 'DAA520' : 'Бежевий', '006400' : 'Темнозелений', '40E0D0' : 'Бірюзовий', '0000CD' : 'Темносиній', '800080' : 'Пурпурний', '808080' : 'Сірий', 'F00' : 'Червоний', 'FF8C00' : 'Темнооранжевий', 'FFD700' : 'Жовтий', '008000' : 'Зелений', '0FF' : 'Синьо-зелений', '00F' : 'Синій', 'EE82EE' : 'Фіолетовий', 'A9A9A9' : 'Світлосірий', 'FFA07A' : 'Рожевий', 'FFA500' : 'Оранжевий', 'FFFF00' : 'Яскравожовтий', '00FF00' : 'Салатовий', 'AFEEEE' : 'Світлобірюзовий', 'ADD8E6' : 'Блакитний', 'DDA0DD' : 'Світлофіолетовий', 'D3D3D3' : 'Сріблястий', 'FFF0F5' : 'Світлорожевий', 'FAEBD7' : 'Світлооранжевий', 'FFFFE0' : 'Світложовтий', 'F0FFF0' : 'Світлозелений', 'F0FFFF' : 'Світлий синьо-зелений', 'F0F8FF' : 'Світлоблакитний', 'E6E6FA' : 'Лавандовий', 'FFF' : 'Білий' }, scayt : { title : 'Перефірка орфографії по мірі набору', opera_title : 'Не підтримується в Opera', enable : 'Ввімкнути SCAYT', disable : 'Вимкнути SCAYT', about : 'Про SCAYT', toggle : 'Перемкнути SCAYT', options : 'Опції', langs : 'Мови', moreSuggestions : 'Більше варіантів', ignore : 'Пропустити', ignoreAll : 'Пропустити всі', addWord : 'Додати слово', emptyDic : 'Назва словника повинна бути вказана.', optionsTab : 'Опції', allCaps : 'Пропустити прописні слова', ignoreDomainNames : 'Пропустити доменні назви', mixedCase : 'Пропустити слова зі змішаним регістром', mixedWithDigits : 'Пропустити слова, що містять цифри', languagesTab : 'Мови', dictionariesTab : 'Словники', dic_field_name : 'Назва словника', dic_create : 'Створити', dic_restore : 'Відновити', dic_delete : 'Видалити', dic_rename : 'Перейменувати', dic_info : 'Як правило, користувацькі словники зберігаються у cookie-файлах. Однак, cookie-файли мають обмеження на розмір. Якщо користувацький словник зростає в обсязі настільки, що вже не може бути збережений у cookie-файлі, тоді його можна зберегти на нашому сервері. Щоб зберегти Ваш персональний словник на нашому сервері необхідно вказати назву словника. Якщо Ви вже зберігали словник на сервері, будь ласка, вкажіть назву збереженого словника і натисніть кнопку Відновити.', aboutTab : 'Про SCAYT' }, about : { title : 'Про CKEditor', dlgTitle : 'Про CKEditor', help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'Щодо інформації з ліцензування завітайте на наш сайт:', copy : 'Copyright &copy; $1. Всі права застережено.' }, maximize : 'Максимізувати', minimize : 'Мінімізувати', fakeobjects : { anchor : 'Якір', flash : 'Flash-анімація', iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Невідомий об\'єкт' }, resize : 'Потягніть для зміни розмірів', colordialog : { title : 'Обрати колір', options : 'Опції кольорів', highlight : 'Колір, на який вказує курсор', selected : 'Обраний колір', clear : 'Очистити' }, toolbarCollapse : 'Згорнути панель інструментів', toolbarExpand : 'Розгорнути панель інструментів', toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Напрямок тексту зліва направо', rtl : 'Напрямок тексту справа наліво' }, docprops : { label : 'Властивості документа', title : 'Властивості документа', design : 'Design', // MISSING meta : 'Мета дані', chooseColor : 'Обрати', other : '<інший>', docTitle : 'Заголовок сторінки', charset : 'Кодування набору символів', charsetOther : 'Інше кодування набору символів', charsetASCII : 'ASCII', // MISSING charsetCE : 'Центрально-європейська', charsetCT : 'Китайська традиційна (Big5)', charsetCR : 'Кирилиця', charsetGR : 'Грецька', charsetJP : 'Японська', charsetKR : 'Корейська', charsetTR : 'Турецька', charsetUN : 'Юнікод (UTF-8)', charsetWE : 'Західно-европейская', docType : 'Заголовок типу документу', docTypeOther : 'Інший заголовок типу документу', xhtmlDec : 'Ввімкнути XHTML оголошення', bgColor : 'Колір тла', bgImage : 'URL зображення тла', bgFixed : 'Тло без прокрутки', txtColor : 'Колір тексту', margin : 'Відступи сторінки', marginTop : 'Верхній', marginLeft : 'Лівий', marginRight : 'Правий', marginBottom : 'Нижній', metaKeywords : 'Ключові слова документа (розділені комами)', metaDescription : 'Опис документа', metaAuthor : 'Автор', metaCopyright : 'Авторські права', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/uk.js
JavaScript
asf20
33,398
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Czech language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['cs'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Textový editor, %1, nápovědu zobrazíte stiskem ALT 0.', // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Textový editor', // Toolbar buttons without dialogs. source : 'Zdroj', newPage : 'Nová stránka', save : 'Uložit', preview : 'Náhled', cut : 'Vyjmout', copy : 'Kopírovat', paste : 'Vložit', print : 'Tisk', underline : 'Podtržené', bold : 'Tučné', italic : 'Kurzíva', selectAll : 'Vybrat vše', removeFormat : 'Odstranit formátování', strike : 'Přeškrtnuté', subscript : 'Dolní index', superscript : 'Horní index', horizontalrule : 'Vložit vodorovnou linku', pagebreak : 'Vložit konec stránky', pagebreakAlt : 'Konec stránky', unlink : 'Odstranit odkaz', undo : 'Zpět', redo : 'Znovu', // Common messages and labels. common : { browseServer : 'Vybrat na serveru', url : 'URL', protocol : 'Protokol', upload : 'Odeslat', uploadSubmit : 'Odeslat na server', image : 'Obrázek', flash : 'Flash', form : 'Formulář', checkbox : 'Zaškrtávací políčko', radio : 'Přepínač', textField : 'Textové pole', textarea : 'Textová oblast', hiddenField : 'Skryté pole', button : 'Tlačítko', select : 'Seznam', imageButton : 'Obrázkové tlačítko', notSet : '<nenastaveno>', id : 'Id', name : 'Jméno', langDir : 'Orientace jazyka', langDirLtr : 'Zleva do prava (LTR)', langDirRtl : 'Zprava do leva (RTL)', langCode : 'Kód jazyka', longDescr : 'Dlouhý popis URL', cssClass : 'Třída stylu', advisoryTitle : 'Pomocný titulek', cssStyle : 'Styl', ok : 'OK', cancel : 'Storno', close : 'Zavřít', preview : 'Náhled', generalTab : 'Obecné', advancedTab : 'Rozšířené', validateNumberFailed : 'Zadaná hodnota není číselná.', confirmNewPage : 'Jakékoliv neuložené změny obsahu budou ztraceny. Skutečně chete otevrít novou stránku?', confirmCancel : 'Některá z nastavení byla změněna. Skutečně chete zavřít dialogové okno?', options : 'Nastavení', target : 'Cíl', targetNew : 'Nové okno (_blank)', targetTop : 'Okno nejvyšší úrovně (_top)', targetSelf : 'Stejné okno (_self)', targetParent : 'Rodičovské onko (_parent)', langDirLTR : 'Zleva doprava (LTR)', langDirRTL : 'Zprava doleva (RTL)', styles : 'Styly', cssClasses : 'Třídy stylů', width : 'Šířka', height : 'Výška', align : 'Zarovnání', alignLeft : 'Vlevo', alignRight : 'Vpravo', alignCenter : 'Na střed', alignTop : 'Nahoru', alignMiddle : 'Na střed', alignBottom : 'Dolů', invalidHeight : 'Zadaná výška musí být číslo.', invalidWidth : 'Zadaná šířka musí být číslo.', invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, nedostupné</span>' }, contextmenu : { options : 'Nastavení kontextové nabídky' }, // Special char dialog. specialChar : { toolbar : 'Vložit speciální znaky', title : 'Výběr speciálního znaku', options : 'Nastavení speciálních znaků' }, // Link dialog. link : { toolbar : 'Vložit/změnit odkaz', other : '<jiný>', menu : 'Změnit odkaz', title : 'Odkaz', info : 'Informace o odkazu', target : 'Cíl', upload : 'Odeslat', advanced : 'Rozšířené', type : 'Typ odkazu', toUrl : 'URL', toAnchor : 'Kotva v této stránce', toEmail : 'E-Mail', targetFrame : '<rámec>', targetPopup : '<vyskakovací okno>', targetFrameName : 'Název cílového rámu', targetPopupName : 'Název vyskakovacího okna', popupFeatures : 'Vlastnosti vyskakovacího okna', popupResizable : 'Umožňující měnit velikost', popupStatusBar : 'Stavový řádek', popupLocationBar: 'Panel umístění', popupToolbar : 'Panel nástrojů', popupMenuBar : 'Panel nabídky', popupFullScreen : 'Celá obrazovka (IE)', popupScrollBars : 'Posuvníky', popupDependent : 'Závislost (Netscape)', popupLeft : 'Levý okraj', popupTop : 'Horní okraj', id : 'Id', langDir : 'Orientace jazyka', langDirLTR : 'Zleva do prava (LTR)', langDirRTL : 'Zprava do leva (RTL)', acccessKey : 'Přístupový klíč', name : 'Jméno', langCode : 'Orientace jazyka', tabIndex : 'Pořadí prvku', advisoryTitle : 'Pomocný titulek', advisoryContentType : 'Pomocný typ obsahu', cssClasses : 'Třída stylu', charset : 'Přiřazená znaková sada', styles : 'Styl', rel : 'Relationship', // MISSING selectAnchor : 'Vybrat kotvu', anchorName : 'Podle jména kotvy', anchorId : 'Podle Id objektu', emailAddress : 'E-Mailová adresa', emailSubject : 'Předmět zprávy', emailBody : 'Tělo zprávy', noAnchors : '(Ve stránce není definována žádná kotva!)', noUrl : 'Zadejte prosím URL odkazu', noEmail : 'Zadejte prosím e-mailovou adresu' }, // Anchor dialog anchor : { toolbar : 'Vložít/změnit záložku', menu : 'Vlastnosti záložky', title : 'Vlastnosti záložky', name : 'Název záložky', errorName : 'Zadejte prosím název záložky', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Vlastnosti číslování', bulletedTitle : 'Vlastnosti odrážek', type : 'Typ', start : 'Počátek', validateStartNumber :'Číslování musí začínat celým číslem.', circle : 'Kroužky', disc : 'Kolečka', square : 'Čtverce', none : 'Nic', notset : '<nenastaveno>', armenian : 'Arménské', georgian : 'Gruzínské (an, ban, gan, atd.)', lowerRoman : 'Malé římské (i, ii, iii, iv, v, atd.)', upperRoman : 'Velké římské (I, II, III, IV, V, atd.)', lowerAlpha : 'Malá latinka (a, b, c, d, e, atd.)', upperAlpha : 'Velká latinka (A, B, C, D, E, atd.)', lowerGreek : 'Malé řecké (alpha, beta, gamma, atd.)', decimal : 'Arabská čísla (1, 2, 3, atd.)', decimalLeadingZero : 'Arabská čísla uvozená nulou (01, 02, 03, atd.)' }, // Find And Replace Dialog findAndReplace : { title : 'Najít a nahradit', find : 'Hledat', replace : 'Nahradit', findWhat : 'Co hledat:', replaceWith : 'Čím nahradit:', notFoundMsg : 'Hledaný text nebyl nalezen.', findOptions : 'Find Options', // MISSING matchCase : 'Rozlišovat velikost písma', matchWord : 'Pouze celá slova', matchCyclic : 'Procházet opakovaně', replaceAll : 'Nahradit vše', replaceSuccessMsg : '%1 nahrazení.' }, // Table Dialog table : { toolbar : 'Tabulka', title : 'Vlastnosti tabulky', menu : 'Vlastnosti tabulky', deleteTable : 'Smazat tabulku', rows : 'Řádky', columns : 'Sloupce', border : 'Ohraničení', widthPx : 'bodů', widthPc : 'procent', widthUnit : 'jednotka šířky', cellSpace : 'Vzdálenost buněk', cellPad : 'Odsazení obsahu v buňce', caption : 'Popis', summary : 'Souhrn', headers : 'Záhlaví', headersNone : 'Žádné', headersColumn : 'První sloupec', headersRow : 'První řádek', headersBoth : 'Obojí', invalidRows : 'Počet řádků musí být číslo větší než 0.', invalidCols : 'Počet sloupců musí být číslo větší než 0.', invalidBorder : 'Zdaná velikost okraje musí být číselná.', invalidWidth : 'Zadaná šířka tabulky musí být číselná.', invalidHeight : 'zadaná výška tabulky musí být číselná.', invalidCellSpacing : 'Zadaná vzdálenost buněk musí být číselná.', invalidCellPadding : 'Zadané odsazení obsahu v buňce musí být číselné.', cell : { menu : 'Buňka', insertBefore : 'Vložit buňku před', insertAfter : 'Vložit buňku za', deleteCell : 'Smazat buňky', merge : 'Sloučit buňky', mergeRight : 'Sloučit doprava', mergeDown : 'Sloučit dolů', splitHorizontal : 'Rozdělit buňky vodorovně', splitVertical : 'Rozdělit buňky svisle', title : 'Vlastnosti buňky', cellType : 'Typ buňky', rowSpan : 'Spojit řádky', colSpan : 'Spojit sloupce', wordWrap : 'Zalamování', hAlign : 'Vodorovné zarovnání', vAlign : 'Svislé zarovnání', alignBaseline : 'Na účaří', bgColor : 'Barva pozadí', borderColor : 'Barva okraje', data : 'Data', header : 'Hlavička', yes : 'Ano', no : 'Ne', invalidWidth : 'Zadaná šířka buňky musí být číslená.', invalidHeight : 'Zadaná výška buňky musí být číslená.', invalidRowSpan : 'Zadaný počet sloučených řádků musí být celé číslo.', invalidColSpan : 'Zadaný počet sloučených sloupců musí být celé číslo.', chooseColor : 'Výběr' }, row : { menu : 'Řádek', insertBefore : 'Vložit řádek před', insertAfter : 'Vložit řádek za', deleteRow : 'Smazat řádky' }, column : { menu : 'Sloupec', insertBefore : 'Vložit sloupec před', insertAfter : 'Vložit sloupec za', deleteColumn : 'Smazat sloupec' } }, // Button Dialog. button : { title : 'Vlastnosti tlačítka', text : 'Popisek', type : 'Typ', typeBtn : 'Tlačítko', typeSbm : 'Odeslat', typeRst : 'Obnovit' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Vlastnosti zaškrtávacího políčka', radioTitle : 'Vlastnosti přepínače', value : 'Hodnota', selected : 'Zaškrtnuto' }, // Form Dialog. form : { title : 'Vlastnosti formuláře', menu : 'Vlastnosti formuláře', action : 'Akce', method : 'Metoda', encoding : 'Kódování' }, // Select Field Dialog. select : { title : 'Vlastnosti seznamu', selectInfo : 'Info', opAvail : 'Dostupná nastavení', value : 'Hodnota', size : 'Velikost', lines : 'Řádků', chkMulti : 'Povolit mnohonásobné výběry', opText : 'Text', opValue : 'Hodnota', btnAdd : 'Přidat', btnModify : 'Změnit', btnUp : 'Nahoru', btnDown : 'Dolů', btnSetValue : 'Nastavit jako vybranou hodnotu', btnDelete : 'Smazat' }, // Textarea Dialog. textarea : { title : 'Vlastnosti textové oblasti', cols : 'Sloupců', rows : 'Řádků' }, // Text Field Dialog. textfield : { title : 'Vlastnosti textového pole', name : 'Název', value : 'Hodnota', charWidth : 'Šířka ve znacích', maxChars : 'Maximální počet znaků', type : 'Typ', typeText : 'Text', typePass : 'Heslo' }, // Hidden Field Dialog. hidden : { title : 'Vlastnosti skrytého pole', name : 'Název', value : 'Hodnota' }, // Image Dialog. image : { title : 'Vlastnosti obrázku', titleButton : 'Vlastností obrázkového tlačítka', menu : 'Vlastnosti obrázku', infoTab : 'Informace o obrázku', btnUpload : 'Odeslat na server', upload : 'Odeslat', alt : 'Alternativní text', lockRatio : 'Zámek', resetSize : 'Původní velikost', border : 'Okraje', hSpace : 'H-mezera', vSpace : 'V-mezera', alertUrl : 'Zadejte prosím URL obrázku', linkTab : 'Odkaz', button2Img : 'Skutečně chcete převést zvolené obrázkové tlačítko na obyčejný obrázek?', img2Button : 'Skutečně chcete převést zvolený obrázek na obrázkové tlačítko?', urlMissing : 'Zadané URL zdroje obrázku nebylo nalezeno.', validateBorder : 'Okraj musí být nastaven v celých číslech.', validateHSpace : 'H-mezera musí být nastavena v celých číslech.', validateVSpace : 'V-mezera musí být nastavena v celých číslech.' }, // Flash Dialog flash : { properties : 'Vlastnosti Flashe', propertiesTab : 'Vlastnosti', title : 'Vlastnosti Flashe', chkPlay : 'Automatické spuštění', chkLoop : 'Opakování', chkMenu : 'Nabídka Flash', chkFull : 'Povolit celoobrazovkový režim', scale : 'Zobrazit', scaleAll : 'Zobrazit vše', scaleNoBorder : 'Bez okraje', scaleFit : 'Přizpůsobit', access : 'Přístup ke skriptu', accessAlways : 'Vždy', accessSameDomain: 'Ve stejné doméně', accessNever : 'Nikdy', alignAbsBottom : 'Zcela dolů', alignAbsMiddle : 'Doprostřed', alignBaseline : 'Na účaří', alignTextTop : 'Na horní okraj textu', quality : 'Kvalita', qualityBest : 'Nejlepší', qualityHigh : 'Vysoká', qualityAutoHigh : 'Vysoká - auto', qualityMedium : 'Střední', qualityAutoLow : 'Nízká - auto', qualityLow : 'Nejnižší', windowModeWindow: 'Okno', windowModeOpaque: 'Neprůhledné', windowModeTransparent : 'Průhledné', windowMode : 'Režim okna', flashvars : 'Proměnné pro Flash', bgcolor : 'Barva pozadí', hSpace : 'H-mezera', vSpace : 'V-mezera', validateSrc : 'Zadejte prosím URL odkazu', validateHSpace : 'Zadaná H-mezera musí být číslo.', validateVSpace : 'Zadaná V-mezera musí být číslo.' }, // Speller Pages Dialog spellCheck : { toolbar : 'Zkontrolovat pravopis', title : 'Kontrola pravopisu', notAvailable : 'Omlouváme se, ale služba nyní není dostupná.', errorLoading : 'Chyba nahrávání služby aplikace z: %s.', notInDic : 'Není ve slovníku', changeTo : 'Změnit na', btnIgnore : 'Přeskočit', btnIgnoreAll : 'Přeskakovat vše', btnReplace : 'Zaměnit', btnReplaceAll : 'Zaměňovat vše', btnUndo : 'Zpět', noSuggestions : '- žádné návrhy -', progress : 'Probíhá kontrola pravopisu...', noMispell : 'Kontrola pravopisu dokončena: Žádné pravopisné chyby nenalezeny', noChanges : 'Kontrola pravopisu dokončena: Beze změn', oneChange : 'Kontrola pravopisu dokončena: Jedno slovo změněno', manyChanges : 'Kontrola pravopisu dokončena: %1 slov změněno', ieSpellDownload : 'Kontrola pravopisu není nainstalována. Chcete ji nyní stáhnout?' }, smiley : { toolbar : 'Smajlíky', title : 'Vkládání smajlíků', options : 'Nastavení smajlíků' }, elementsPath : { eleLabel : 'Cesta objektu', eleTitle : '%1 objekt' }, numberedlist : 'Číslování', bulletedlist : 'Odrážky', indent : 'Zvětšit odsazení', outdent : 'Zmenšit odsazení', justify : { left : 'Zarovnat vlevo', center : 'Zarovnat na střed', right : 'Zarovnat vpravo', block : 'Zarovnat do bloku' }, blockquote : 'Citace', clipboard : { title : 'Vložit', cutError : 'Bezpečnostní nastavení Vašeho prohlížeče nedovolují editoru spustit funkci pro vyjmutí zvoleného textu do schránky. Prosím vyjměte zvolený text do schránky pomocí klávesnice (Ctrl/Cmd+X).', copyError : 'Bezpečnostní nastavení Vašeho prohlížeče nedovolují editoru spustit funkci pro kopírování zvoleného textu do schránky. Prosím zkopírujte zvolený text do schránky pomocí klávesnice (Ctrl/Cmd+C).', pasteMsg : 'Do následujícího pole vložte požadovaný obsah pomocí klávesnice (<STRONG>Ctrl/Cmd+V</STRONG>) a stiskněte <STRONG>OK</STRONG>.', securityMsg : 'Z důvodů nastavení bezpečnosti Vašeho prohlížeče nemůže editor přistupovat přímo do schránky. Obsah schránky prosím vložte znovu do tohoto okna.', pasteArea : 'Oblast vlkádání' }, pastefromword : { confirmCleanup : 'Jak je vidět, vkládaný text je kopírován z Wordu. Chcete jej před vložením vyčistit?', toolbar : 'Vložit z Wordu', title : 'Vložit z Wordu', error : 'Z důvodu vnitřní chyby nebylo možné provést vyčištění vkládaného textu.' }, pasteText : { button : 'Vložit jako čistý text', title : 'Vložit jako čistý text' }, templates : { button : 'Šablony', title : 'Šablony obsahu', options : 'Nastavení šablon', insertOption : 'Nahradit aktuální obsah', selectPromptMsg : 'Prosím zvolte šablonu pro otevření v editoru<br>(aktuální obsah editoru bude ztracen):', emptyListMsg : '(Není definována žádná šablona)' }, showBlocks : 'Ukázat bloky', stylesCombo : { label : 'Styl', panelTitle : 'Formátovací styly', panelTitle1 : 'Blokové styly', panelTitle2 : 'Řádkové styly', panelTitle3 : 'Objektové styly' }, format : { label : 'Formát', panelTitle : 'Formát', tag_p : 'Normální', tag_pre : 'Naformátováno', tag_address : 'Adresa', tag_h1 : 'Nadpis 1', tag_h2 : 'Nadpis 2', tag_h3 : 'Nadpis 3', tag_h4 : 'Nadpis 4', tag_h5 : 'Nadpis 5', tag_h6 : 'Nadpis 6', tag_div : 'Normální (DIV)' }, div : { title : 'Vytvořit Div kontejner', toolbar : 'Vytvořit Div kontejner', cssClassInputLabel : 'Třídy stylů', styleSelectLabel : 'Styly', IdInputLabel : 'Id', languageCodeInputLabel : ' Kód jazyka', inlineStyleInputLabel : 'Vnitřní styly', advisoryTitleInputLabel : 'Nápovědní titulek', langDirLabel : 'Orientace textu', langDirLTRLabel : 'Zleva doprava (LTR)', langDirRTLLabel : 'Zprava doleva (RTL)', edit : 'Změnit Div', remove : 'Odstranit Div' }, iframe : { title : 'Vlastnosti IFrame', toolbar : 'IFrame', noUrl : 'Zadejte prosím URL obsahu pro IFrame', scrolling : 'Zapnout posuvníky', border : 'Zobrazit okraj' }, font : { label : 'Písmo', voiceLabel : 'Písmo', panelTitle : 'Písmo' }, fontSize : { label : 'Velikost', voiceLabel : 'Velikost písma', panelTitle : 'Velikost' }, colorButton : { textColorTitle : 'Barva textu', bgColorTitle : 'Barva pozadí', panelTitle : 'Barvy', auto : 'Automaticky', more : 'Více barev...' }, colors : { '000' : 'Černá', '800000' : 'Kaštanová', '8B4513' : 'Sedlová hněď', '2F4F4F' : 'Tmavě bledě šedá', '008080' : 'Čírka', '000080' : 'Námořnická modř', '4B0082' : 'Inkoustová', '696969' : 'Tmavě šedá', 'B22222' : 'Pálená cihla', 'A52A2A' : 'Hnědá', 'DAA520' : 'Zlatý prut', '006400' : 'Tmavě zelená', '40E0D0' : 'Tyrkisová', '0000CD' : 'Středně modrá', '800080' : 'Purpurová', '808080' : 'Šedá', 'F00' : 'Červená', 'FF8C00' : 'Tmavě oranžová', 'FFD700' : 'Zlatá', '008000' : 'Zelená', '0FF' : 'Kyanidová', '00F' : 'Modrá', 'EE82EE' : 'Fialová', 'A9A9A9' : 'Kalně šedá', 'FFA07A' : 'Světle lososová', 'FFA500' : 'Oranžová', 'FFFF00' : 'Žlutá', '00FF00' : 'Limetková', 'AFEEEE' : 'Bledě tyrkisová', 'ADD8E6' : 'Světle modrá', 'DDA0DD' : 'Švestková', 'D3D3D3' : 'Světle šedá', 'FFF0F5' : 'Levandulově ruměnná', 'FAEBD7' : 'Antická bílá', 'FFFFE0' : 'Světle žlutá', 'F0FFF0' : 'Medová rosa', 'F0FFFF' : 'Azurová', 'F0F8FF' : 'Alenčina modrá', 'E6E6FA' : 'Lavendulová', 'FFF' : 'Bílá' }, scayt : { title : 'Kontrola pravopisu během psaní (SCAYT)', opera_title : 'Not supported by Opera', // MISSING enable : 'Zapnout SCAYT', disable : 'Vypnout SCAYT', about : 'O aplikaci SCAYT', toggle : 'Vypínač SCAYT', options : 'Nastavení', langs : 'Jazyky', moreSuggestions : 'Více návrhů', ignore : 'Přeskočit', ignoreAll : 'Přeskočit vše', addWord : 'Přidat slovo', emptyDic : 'Název slovníku nesmí být prázdný.', optionsTab : 'Nastavení', allCaps : 'Ignorovat slova velkými písmeny', ignoreDomainNames : 'Ignorovat doménová jména', mixedCase : 'Ignorovat slova obsahující různou velikost písma', mixedWithDigits : 'Ignorovat slova obsahující čísla', languagesTab : 'Jazyky', dictionariesTab : 'Slovníky', dic_field_name : 'Název slovníku', dic_create : 'vytvořit', dic_restore : 'Obnovit', dic_delete : 'Smazat', dic_rename : 'Přejmenovat', dic_info : 'Zpočátku se uživatelský slovník ukládá do cookies ve vašem prohlížeči. Ovšem cookies mají omezenou velikost, takže když slovník dosáhne velikosti, kdy se již do cookies nevejde, může být uložen na našem serveru. Chcete-li uložit Váš osobní slovník na našem serveru, je třeba slovník nejdříve pojmenovat. Máte-li již slovník pojmenován a uložen, zadejte jeho název a klepněte na tlačítko Obnovit.', aboutTab : 'O aplikaci' }, about : { title : 'O aplikaci CKEditor', dlgTitle : 'O aplikaci CKEditor', help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'Pro informace o lincenci navštivte naši webovou stránku:', copy : 'Copyright &copy; $1. All rights reserved.' }, maximize : 'Maximalizovat', minimize : 'Minimalizovat', fakeobjects : { anchor : 'Záložka', flash : 'Flash animace', iframe : 'IFrame', hiddenfield : 'Skryté pole', unknown : 'Neznámý objekt' }, resize : 'Uchopit pro změnu velikosti', colordialog : { title : 'Výběr barvy', options : 'Nastavení barvy', highlight : 'Zvýraznit', selected : 'Vybráno', clear : 'Vyčistit' }, toolbarCollapse : 'Skrýt panel nástrojů', toolbarExpand : 'Zobrazit panel nástrojů', toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Orientace textu zleva doprava', rtl : 'Orientace textu zprava do leva' }, docprops : { label : 'Vlastnosti dokumentu', title : 'Vlastnosti dokumentu', design : 'Design', // MISSING meta : 'Metadata', chooseColor : 'Výběr', other : '<jiný>', docTitle : 'Titulek stránky', charset : 'Znaková sada', charsetOther : 'Další znaková sada', charsetASCII : 'ASCII', // MISSING charsetCE : 'Středoevropské jazyky', charsetCT : 'Tradiční čínština (Big5)', charsetCR : 'Cyrilice', charsetGR : 'Řečtina', charsetJP : 'Japonština', charsetKR : 'Korejština', charsetTR : 'Turečtina', charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Západoevropské jazyky', docType : 'Typ dokumentu', docTypeOther : 'Jiný typ dokumetu', xhtmlDec : 'Zahrnou deklarace XHTML', bgColor : 'Barva pozadí', bgImage : 'URL obrázku na pozadí', bgFixed : 'Nerolovatelné pozadí', txtColor : 'Barva textu', margin : 'Okraje stránky', marginTop : 'Horní', marginLeft : 'Levý', marginRight : 'Pravý', marginBottom : 'Dolní', metaKeywords : 'Klíčová slova (oddělená čárkou)', metaDescription : 'Popis dokumentu', metaAuthor : 'Autor', metaCopyright : 'Autorská práva', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/cs.js
JavaScript
asf20
25,104
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Portuguese language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['pt'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'Fonte', newPage : 'Nova Página', save : 'Guardar', preview : 'Pré-visualizar', cut : 'Cortar', copy : 'Copiar', paste : 'Colar', print : 'Imprimir', underline : 'Sublinhado', bold : 'Negrito', italic : 'Itálico', selectAll : 'Seleccionar Tudo', removeFormat : 'Eliminar Formato', strike : 'Rasurado', subscript : 'Superior à Linha', superscript : 'Inferior à Linha', horizontalrule : 'Inserir Linha Horizontal', pagebreak : 'Inserir Quebra de Página', pagebreakAlt : 'Page Break', // MISSING unlink : 'Eliminar Hiperligação', undo : 'Anular', redo : 'Repetir', // Common messages and labels. common : { browseServer : 'Navegar no Servidor', url : 'URL', protocol : 'Protocolo', upload : 'Carregar', uploadSubmit : 'Enviar para o Servidor', image : 'Imagem', flash : 'Flash', form : 'Formulário', checkbox : 'Caixa de Verificação', radio : 'Botão de Opção', textField : 'Campo de Texto', textarea : 'Área de Texto', hiddenField : 'Campo Escondido', button : 'Botão', select : 'Caixa de Combinação', imageButton : 'Botão de Imagem', notSet : '<Não definido>', id : 'Id', name : 'Nome', langDir : 'Orientação de idioma', langDirLtr : 'Esquerda à Direita (LTR)', langDirRtl : 'Direita a Esquerda (RTL)', langCode : 'Código de Idioma', longDescr : 'Descrição Completa do URL', cssClass : 'Classes de Estilo de Folhas Classes', advisoryTitle : 'Título', cssStyle : 'Estilo', ok : 'OK', cancel : 'Cancelar', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', // MISSING advancedTab : 'Avançado', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Largura', height : 'Altura', align : 'Alinhamento', alignLeft : 'Esquerda', alignRight : 'Direita', alignCenter : 'Centrado', alignTop : 'Topo', alignMiddle : 'Centro', alignBottom : 'Fundo', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Inserir Caracter Especial', title : 'Seleccione um caracter especial', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Inserir/Editar Hiperligação', other : '<outro>', menu : 'Editar Hiperligação', title : 'Hiperligação', info : 'Informação de Hiperligação', target : 'Destino', upload : 'Carregar', advanced : 'Avançado', type : 'Tipo de Hiperligação', toUrl : 'URL', // MISSING toAnchor : 'Referência a esta página', toEmail : 'E-Mail', targetFrame : '<Frame>', targetPopup : '<Janela de popup>', targetFrameName : 'Nome do Frame Destino', targetPopupName : 'Nome da Janela de Popup', popupFeatures : 'Características de Janela de Popup', popupResizable : 'Resizable', // MISSING popupStatusBar : 'Barra de Estado', popupLocationBar: 'Barra de localização', popupToolbar : 'Barra de Ferramentas', popupMenuBar : 'Barra de Menu', popupFullScreen : 'Janela Completa (IE)', popupScrollBars : 'Barras de deslocamento', popupDependent : 'Dependente (Netscape)', popupLeft : 'Posição Esquerda', popupTop : 'Posição Direita', id : 'Id', // MISSING langDir : 'Orientação de idioma', langDirLTR : 'Esquerda à Direita (LTR)', langDirRTL : 'Direita a Esquerda (RTL)', acccessKey : 'Chave de Acesso', name : 'Nome', langCode : 'Orientação de idioma', tabIndex : 'Índice de Tubulação', advisoryTitle : 'Título', advisoryContentType : 'Tipo de Conteúdo', cssClasses : 'Classes de Estilo de Folhas Classes', charset : 'Fonte de caracteres vinculado', styles : 'Estilo', rel : 'Relationship', // MISSING selectAnchor : 'Seleccionar una referência', anchorName : 'Por Nome de Referência', anchorId : 'Por ID de elemento', emailAddress : 'Endereço de E-Mail', emailSubject : 'Título de Mensagem', emailBody : 'Corpo da Mensagem', noAnchors : '(Não há referências disponíveis no documento)', noUrl : 'Por favor introduza a hiperligação URL', noEmail : 'Por favor introduza o endereço de e-mail' }, // Anchor dialog anchor : { toolbar : ' Inserir/Editar Âncora', menu : 'Propriedades da Âncora', title : 'Propriedades da Âncora', name : 'Nome da Âncora', errorName : 'Por favor, introduza o nome da âncora', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Find and Replace', // MISSING find : 'Procurar', replace : 'Substituir', findWhat : 'Texto a Procurar:', replaceWith : 'Substituir por:', notFoundMsg : 'O texto especificado não foi encontrado.', findOptions : 'Find Options', // MISSING matchCase : 'Maiúsculas/Minúsculas', matchWord : 'Coincidir com toda a palavra', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'Substituir Tudo', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'Tabela', title : 'Propriedades da Tabela', menu : 'Propriedades da Tabela', deleteTable : 'Eliminar Tabela', rows : 'Linhas', columns : 'Colunas', border : 'Tamanho do Limite', widthPx : 'pixeis', widthPc : 'percentagem', widthUnit : 'width unit', // MISSING cellSpace : 'Esp. e/células', cellPad : 'Esp. interior', caption : 'Título', summary : 'Sumário', headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'Célula', insertBefore : 'Insert Cell Before', // MISSING insertAfter : 'Insert Cell After', // MISSING deleteCell : 'Eliminar Célula', merge : 'Unir Células', mergeRight : 'Merge Right', // MISSING mergeDown : 'Merge Down', // MISSING splitHorizontal : 'Split Cell Horizontally', // MISSING splitVertical : 'Split Cell Vertically', // MISSING title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'Linha', insertBefore : 'Insert Row Before', // MISSING insertAfter : 'Insert Row After', // MISSING deleteRow : 'Eliminar Linhas' }, column : { menu : 'Coluna', insertBefore : 'Insert Column Before', // MISSING insertAfter : 'Insert Column After', // MISSING deleteColumn : 'Eliminar Coluna' } }, // Button Dialog. button : { title : 'Propriedades do Botão', text : 'Texto (Valor)', type : 'Tipo', typeBtn : 'Button', // MISSING typeSbm : 'Submit', // MISSING typeRst : 'Reset' // MISSING }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Propriedades da Caixa de Verificação', radioTitle : 'Propriedades do Botão de Opção', value : 'Valor', selected : 'Seleccionado' }, // Form Dialog. form : { title : 'Propriedades do Formulário', menu : 'Propriedades do Formulário', action : 'Acção', method : 'Método', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'Propriedades da Caixa de Combinação', selectInfo : 'Informação', opAvail : 'Opções Possíveis', value : 'Valor', size : 'Tamanho', lines : 'linhas', chkMulti : 'Permitir selecções múltiplas', opText : 'Texto', opValue : 'Valor', btnAdd : 'Adicionar', btnModify : 'Modificar', btnUp : 'Para cima', btnDown : 'Para baixo', btnSetValue : 'Definir um valor por defeito', btnDelete : 'Apagar' }, // Textarea Dialog. textarea : { title : 'Propriedades da Área de Texto', cols : 'Colunas', rows : 'Linhas' }, // Text Field Dialog. textfield : { title : 'Propriedades do Campo de Texto', name : 'Nome', value : 'Valor', charWidth : 'Tamanho do caracter', maxChars : 'Nr. Máximo de Caracteres', type : 'Tipo', typeText : 'Texto', typePass : 'Palavra-chave' }, // Hidden Field Dialog. hidden : { title : 'Propriedades do Campo Escondido', name : 'Nome', value : 'Valor' }, // Image Dialog. image : { title : 'Propriedades da Imagem', titleButton : 'Propriedades do Botão de imagens', menu : 'Propriedades da Imagem', infoTab : 'Informação da Imagem', btnUpload : 'Enviar para o Servidor', upload : 'Carregar', alt : 'Texto Alternativo', lockRatio : 'Proporcional', resetSize : 'Tamanho Original', border : 'Limite', hSpace : 'Esp.Horiz', vSpace : 'Esp.Vert', alertUrl : 'Por favor introduza o URL da imagem', linkTab : 'Hiperligação', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Propriedades do Flash', propertiesTab : 'Properties', // MISSING title : 'Propriedades do Flash', chkPlay : 'Reproduzir automaticamente', chkLoop : 'Loop', chkMenu : 'Permitir Menu do Flash', chkFull : 'Allow Fullscreen', // MISSING scale : 'Escala', scaleAll : 'Mostrar tudo', scaleNoBorder : 'Sem Limites', scaleFit : 'Tamanho Exacto', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Abs inferior', alignAbsMiddle : 'Abs centro', alignBaseline : 'Linha de base', alignTextTop : 'Topo do texto', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'Cor de Fundo', hSpace : 'Esp.Horiz', vSpace : 'Esp.Vert', validateSrc : 'Por favor introduza a hiperligação URL', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'Verificação Ortográfica', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'Não está num directório', changeTo : 'Mudar para', btnIgnore : 'Ignorar', btnIgnoreAll : 'Ignorar Tudo', btnReplace : 'Substituir', btnReplaceAll : 'Substituir Tudo', btnUndo : 'Anular', noSuggestions : '- Sem sugestões -', progress : 'Verificação ortográfica em progresso…', noMispell : 'Verificação ortográfica completa: não foram encontrados erros', noChanges : 'Verificação ortográfica completa: não houve alteração de palavras', oneChange : 'Verificação ortográfica completa: uma palavra alterada', manyChanges : 'Verificação ortográfica completa: %1 palavras alteradas', ieSpellDownload : ' Verificação ortográfica não instalada. Quer descarregar agora?' }, smiley : { toolbar : 'Emoticons', title : 'Inserir um Emoticon', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'Numeração', bulletedlist : 'Marcas', indent : 'Aumentar Avanço', outdent : 'Diminuir Avanço', justify : { left : 'Alinhar à Esquerda', center : 'Alinhar ao Centro', right : 'Alinhar à Direita', block : 'Justificado' }, blockquote : 'Block Quote', // MISSING clipboard : { title : 'Colar', cutError : 'A configuração de segurança do navegador não permite a execução automática de operações de cortar. Por favor use o teclado (Ctrl/Cmd+X).', copyError : 'A configuração de segurança do navegador não permite a execução automática de operações de copiar. Por favor use o teclado (Ctrl/Cmd+C).', pasteMsg : 'Por favor, cole dentro da seguinte caixa usando o teclado (<STRONG>Ctrl/Cmd+V</STRONG>) e prima <STRONG>OK</STRONG>.', securityMsg : '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 pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Colar do Word', title : 'Colar do Word', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Colar como Texto Simples', title : 'Colar como Texto Simples' }, templates : { button : 'Modelos', title : 'Modelo de Conteúdo', options : 'Template Options', // MISSING insertOption : 'Replace actual contents', // MISSING selectPromptMsg : 'Por favor, seleccione o modelo a abrir no editor<br>(o conteúdo actual será perdido):', emptyListMsg : '(Sem modelos definidos)' }, showBlocks : 'Show Blocks', // MISSING stylesCombo : { label : 'Estilo', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'Formato', panelTitle : 'Formato', tag_p : 'Normal', tag_pre : 'Formatado', tag_address : 'Endereço', tag_h1 : 'Título 1', tag_h2 : 'Título 2', tag_h3 : 'Título 3', tag_h4 : 'Título 4', tag_h5 : 'Título 5', tag_h6 : 'Título 6', tag_div : 'Normal (DIV)' // MISSING }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Tipo de Letra', voiceLabel : 'Font', // MISSING panelTitle : 'Tipo de Letra' }, fontSize : { label : 'Tamanho', voiceLabel : 'Font Size', // MISSING panelTitle : 'Tamanho' }, colorButton : { textColorTitle : 'Cor do Texto', bgColorTitle : 'Cor de Fundo', panelTitle : 'Colors', // MISSING auto : 'Automático', more : 'Mais Cores...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Propriedades do Documento', title : 'Propriedades do Documento', design : 'Design', // MISSING meta : 'Meta Data', chooseColor : 'Choose', // MISSING other : '<outro>', docTitle : 'Título da Página', charset : 'Codificação de Caracteres', charsetOther : 'Outra Codificação de Caracteres', charsetASCII : 'ASCII', // MISSING charsetCE : 'Central European', // MISSING charsetCT : 'Chinese Traditional (Big5)', // MISSING charsetCR : 'Cyrillic', // MISSING charsetGR : 'Greek', // MISSING charsetJP : 'Japanese', // MISSING charsetKR : 'Korean', // MISSING charsetTR : 'Turkish', // MISSING charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Western European', // MISSING docType : 'Tipo de Cabeçalho do Documento', docTypeOther : 'Outro Tipo de Cabeçalho do Documento', xhtmlDec : 'Incluir Declarações XHTML', bgColor : 'Cor de Fundo', bgImage : 'Caminho para a Imagem de Fundo', bgFixed : 'Fundo Fixo', txtColor : 'Cor do Texto', margin : 'Margem das Páginas', marginTop : 'Topo', marginLeft : 'Esquerda', marginRight : 'Direita', marginBottom : 'Fundo', metaKeywords : 'Palavras de Indexação do Documento (separadas por virgula)', metaDescription : 'Descrição do Documento', metaAuthor : 'Autor', metaCopyright : 'Direitos de Autor', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/pt.js
JavaScript
asf20
27,298
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['pt-br'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Editor de Texto, %1, pressione ALT 0 para obter ajuda.', // ARIA descriptions. toolbars : 'Barra de Ferramentas do Editor', editor : 'Editor de Texto', // Toolbar buttons without dialogs. source : 'Código-Fonte', newPage : 'Novo', save : 'Salvar', preview : 'Visualizar', cut : 'Recortar', copy : 'Copiar', paste : 'Colar', print : 'Imprimir', underline : 'Sublinhado', bold : 'Negrito', italic : 'Itálico', selectAll : 'Selecionar Tudo', removeFormat : 'Remover Formatação', strike : 'Tachado', subscript : 'Subscrito', superscript : 'Sobrescrito', horizontalrule : 'Inserir Linha Horizontal', pagebreak : 'Inserir Quebra de Página', pagebreakAlt : 'Quebra de Página', unlink : 'Remover Link', undo : 'Desfazer', redo : 'Refazer', // Common messages and labels. common : { browseServer : 'Localizar no Servidor', url : 'URL', protocol : 'Protocolo', upload : 'Enviar ao Servidor', uploadSubmit : 'Enviar para o Servidor', image : 'Imagem', flash : 'Flash', form : 'Formulário', checkbox : 'Caixa de Seleção', radio : 'Botão de Opção', textField : 'Caixa de Texto', textarea : 'Área de Texto', hiddenField : 'Campo Oculto', button : 'Botão', select : 'Caixa de Listagem', imageButton : 'Botão de Imagem', notSet : '<não ajustado>', id : 'Id', name : 'Nome', langDir : 'Direção do idioma', langDirLtr : 'Esquerda para Direita (LTR)', langDirRtl : 'Direita para Esquerda (RTL)', langCode : 'Idioma', longDescr : 'Descrição da URL', cssClass : 'Classe de CSS', advisoryTitle : 'Título', cssStyle : 'Estilos', ok : 'OK', cancel : 'Cancelar', close : 'Fechar', preview : 'Visualizar', generalTab : 'Geral', advancedTab : 'Avançado', validateNumberFailed : 'Este valor não é um número.', confirmNewPage : 'Todas as mudanças não salvas serão perdidas. Tem certeza de que quer abrir uma nova página?', confirmCancel : 'Algumas opções foram alteradas. Tem certeza de que quer fechar a caixa de diálogo?', options : 'Opções', target : 'Destino', targetNew : 'Nova Janela (_blank)', targetTop : 'Janela de Cima (_top)', targetSelf : 'Mesma Janela (_self)', targetParent : 'Janela Pai (_parent)', langDirLTR : 'Esquerda para Direita (LTR)', langDirRTL : 'Direita para Esquerda (RTL)', styles : 'Estilo', cssClasses : 'Classes', width : 'Largura', height : 'Altura', align : 'Alinhamento', alignLeft : 'Esquerda', alignRight : 'Direita', alignCenter : 'Centralizado', alignTop : 'Superior', alignMiddle : 'Centralizado', alignBottom : 'Inferior', invalidHeight : 'A altura tem que ser um número', invalidWidth : 'A largura tem que ser um número.', invalidCssLength : 'O valor do campo "%1" deve ser um número positivo opcionalmente seguido por uma válida unidade de medida de CSS (px, %, in, cm, mm, em, ex, pt, or pc).', invalidHtmlLength : 'O valor do campo "%1" deve ser um número positivo opcionalmente seguido por uma válida unidade de medida de HTML (px or %).', invalidInlineStyle : 'O valor válido para estilo deve conter uma ou mais tuplas no formato "nome : valor", separados por ponto e vírgula.', cssLengthTooltip : 'Insira um número para valor em pixels ou um número seguido de uma válida unidade de medida de CSS (px, %, in, cm, mm, em, ex, pt, or pc).', // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, indisponível</span>' }, contextmenu : { options : 'Opções Menu de Contexto' }, // Special char dialog. specialChar : { toolbar : 'Inserir Caractere Especial', title : 'Selecione um Caractere Especial', options : 'Opções de Caractere Especial' }, // Link dialog. link : { toolbar : 'Inserir/Editar Link', other : '<outro>', menu : 'Editar Link', title : 'Editar Link', info : 'Informações', target : 'Destino', upload : 'Enviar ao Servidor', advanced : 'Avançado', type : 'Tipo de hiperlink', toUrl : 'URL', toAnchor : 'Âncora nesta página', toEmail : 'E-Mail', targetFrame : '<frame>', targetPopup : '<janela popup>', targetFrameName : 'Nome do Frame de Destino', targetPopupName : 'Nome da Janela Pop-up', popupFeatures : 'Propriedades da Janela Pop-up', popupResizable : 'Redimensionável', popupStatusBar : 'Barra de Status', popupLocationBar: 'Barra de Endereços', popupToolbar : 'Barra de Ferramentas', popupMenuBar : 'Barra de Menus', popupFullScreen : 'Modo Tela Cheia (IE)', popupScrollBars : 'Barras de Rolagem', popupDependent : 'Dependente (Netscape)', popupLeft : 'Esquerda', popupTop : 'Topo', id : 'Id', langDir : 'Direção do idioma', langDirLTR : 'Esquerda para Direita (LTR)', langDirRTL : 'Direita para Esquerda (RTL)', acccessKey : 'Chave de Acesso', name : 'Nome', langCode : 'Direção do idioma', tabIndex : 'Índice de Tabulação', advisoryTitle : 'Título', advisoryContentType : 'Tipo de Conteúdo', cssClasses : 'Classe de CSS', charset : 'Charset do Link', styles : 'Estilos', rel : 'Tipo de Relação', selectAnchor : 'Selecione uma âncora', anchorName : 'Nome da âncora', anchorId : 'Id da âncora', emailAddress : 'Endereço E-Mail', emailSubject : 'Assunto da Mensagem', emailBody : 'Corpo da Mensagem', noAnchors : '(Não há âncoras no documento)', noUrl : 'Por favor, digite o endereço do Link', noEmail : 'Por favor, digite o endereço de e-mail' }, // Anchor dialog anchor : { toolbar : 'Inserir/Editar Âncora', menu : 'Formatar Âncora', title : 'Formatar Âncora', name : 'Nome da Âncora', errorName : 'Por favor, digite o nome da âncora', remove : 'Remover Âncora' }, // List style dialog list: { numberedTitle : 'Propriedades da Lista Numerada', bulletedTitle : 'Propriedades da Lista sem Numeros', type : 'Tipo', start : 'Início', validateStartNumber :'O número inicial da lista deve ser um número inteiro.', circle : 'Círculo', disc : 'Disco', square : 'Quadrado', none : 'Nenhum', notset : '<não definido>', armenian : 'Numeração Armêna', georgian : 'Numeração da Geórgia (an, ban, gan, etc.)', lowerRoman : 'Numeração Romana minúscula (i, ii, iii, iv, v, etc.)', upperRoman : 'Numeração Romana maiúscula (I, II, III, IV, V, etc.)', lowerAlpha : 'Numeração Alfabética minúscula (a, b, c, d, e, etc.)', upperAlpha : 'Numeração Alfabética Maiúscula (A, B, C, D, E, etc.)', lowerGreek : 'Numeração Grega minúscula (alpha, beta, gamma, etc.)', decimal : 'Numeração Decimal (1, 2, 3, etc.)', decimalLeadingZero : 'Numeração Decimal com zeros (01, 02, 03, etc.)' }, // Find And Replace Dialog findAndReplace : { title : 'Localizar e Substituir', find : 'Localizar', replace : 'Substituir', findWhat : 'Procurar por:', replaceWith : 'Substituir por:', notFoundMsg : 'O texto especificado não foi encontrado.', findOptions : 'Opções', matchCase : 'Coincidir Maiúsculas/Minúsculas', matchWord : 'Coincidir a palavra inteira', matchCyclic : 'Coincidir cíclico', replaceAll : 'Substituir Tudo', replaceSuccessMsg : '%1 ocorrência(s) substituída(s).' }, // Table Dialog table : { toolbar : 'Tabela', title : 'Formatar Tabela', menu : 'Formatar Tabela', deleteTable : 'Apagar Tabela', rows : 'Linhas', columns : 'Colunas', border : 'Borda', widthPx : 'pixels', widthPc : '%', widthUnit : 'unidade largura', cellSpace : 'Espaçamento', cellPad : 'Margem interna', caption : 'Legenda', summary : 'Resumo', headers : 'Cabeçalho', headersNone : 'Nenhum', headersColumn : 'Primeira coluna', headersRow : 'Primeira linha', headersBoth : 'Ambos', invalidRows : 'O número de linhas tem que ser um número maior que 0.', invalidCols : 'O número de colunas tem que ser um número maior que 0.', invalidBorder : 'O tamanho da borda tem que ser um número.', invalidWidth : 'A largura da tabela tem que ser um número.', invalidHeight : 'A altura da tabela tem que ser um número.', invalidCellSpacing : 'O espaçamento das células tem que ser um número.', invalidCellPadding : 'A margem interna das células tem que ser um número.', cell : { menu : 'Célula', insertBefore : 'Inserir célula a esquerda', insertAfter : 'Inserir célula a direita', deleteCell : 'Remover Células', merge : 'Mesclar Células', mergeRight : 'Mesclar com célula a direita', mergeDown : 'Mesclar com célula abaixo', splitHorizontal : 'Dividir célula horizontalmente', splitVertical : 'Dividir célula verticalmente', title : 'Propriedades da célula', cellType : 'Tipo de célula', rowSpan : 'Linhas cobertas', colSpan : 'Colunas cobertas', wordWrap : 'Quebra de palavra', hAlign : 'Alinhamento horizontal', vAlign : 'Alinhamento vertical', alignBaseline : 'Patamar de alinhamento', bgColor : 'Cor de fundo', borderColor : 'Cor das bordas', data : 'Dados', header : 'Cabeçalho', yes : 'Sim', no : 'Não', invalidWidth : 'A largura da célula tem que ser um número.', invalidHeight : 'A altura da célula tem que ser um número.', invalidRowSpan : 'Linhas cobertas tem que ser um número inteiro.', invalidColSpan : 'Colunas cobertas tem que ser um número inteiro.', chooseColor : 'Escolher' }, row : { menu : 'Linha', insertBefore : 'Inserir linha acima', insertAfter : 'Inserir linha abaixo', deleteRow : 'Remover Linhas' }, column : { menu : 'Coluna', insertBefore : 'Inserir coluna a esquerda', insertAfter : 'Inserir coluna a direita', deleteColumn : 'Remover Colunas' } }, // Button Dialog. button : { title : 'Formatar Botão', text : 'Texto (Valor)', type : 'Tipo', typeBtn : 'Botão', typeSbm : 'Enviar', typeRst : 'Limpar' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Formatar Caixa de Seleção', radioTitle : 'Formatar Botão de Opção', value : 'Valor', selected : 'Selecionado' }, // Form Dialog. form : { title : 'Formatar Formulário', menu : 'Formatar Formulário', action : 'Ação', method : 'Método', encoding : 'Codificação' }, // Select Field Dialog. select : { title : 'Formatar Caixa de Listagem', selectInfo : 'Informações', opAvail : 'Opções disponíveis', value : 'Valor', size : 'Tamanho', lines : 'linhas', chkMulti : 'Permitir múltiplas seleções', opText : 'Texto', opValue : 'Valor', btnAdd : 'Adicionar', btnModify : 'Modificar', btnUp : 'Para cima', btnDown : 'Para baixo', btnSetValue : 'Definir como selecionado', btnDelete : 'Remover' }, // Textarea Dialog. textarea : { title : 'Formatar Área de Texto', cols : 'Colunas', rows : 'Linhas' }, // Text Field Dialog. textfield : { title : 'Formatar Caixa de Texto', name : 'Nome', value : 'Valor', charWidth : 'Comprimento (em caracteres)', maxChars : 'Número Máximo de Caracteres', type : 'Tipo', typeText : 'Texto', typePass : 'Senha' }, // Hidden Field Dialog. hidden : { title : 'Formatar Campo Oculto', name : 'Nome', value : 'Valor' }, // Image Dialog. image : { title : 'Formatar Imagem', titleButton : 'Formatar Botão de Imagem', menu : 'Formatar Imagem', infoTab : 'Informações da Imagem', btnUpload : 'Enviar para o Servidor', upload : 'Enviar', alt : 'Texto Alternativo', lockRatio : 'Travar Proporções', resetSize : 'Redefinir para o Tamanho Original', border : 'Borda', hSpace : 'HSpace', vSpace : 'VSpace', alertUrl : 'Por favor, digite a URL da imagem.', linkTab : 'Link', button2Img : 'Deseja transformar o botão de imagem em uma imagem comum?', img2Button : 'Deseja transformar a imagem em um botão de imagem?', urlMissing : 'URL da imagem está faltando.', validateBorder : 'A borda deve ser um número inteiro.', validateHSpace : 'O HSpace deve ser um número inteiro.', validateVSpace : 'O VSpace deve ser um número inteiro.' }, // Flash Dialog flash : { properties : 'Propriedades do Flash', propertiesTab : 'Propriedades', title : 'Propriedades do Flash', chkPlay : 'Tocar Automaticamente', chkLoop : 'Tocar Infinitamente', chkMenu : 'Habilita Menu Flash', chkFull : 'Permitir tela cheia', scale : 'Escala', scaleAll : 'Mostrar tudo', scaleNoBorder : 'Sem Borda', scaleFit : 'Escala Exata', access : 'Acesso ao script', accessAlways : 'Sempre', accessSameDomain: 'Acessar Mesmo Domínio', accessNever : 'Nunca', alignAbsBottom : 'Inferior Absoluto', alignAbsMiddle : 'Centralizado Absoluto', alignBaseline : 'Baseline', alignTextTop : 'Superior Absoluto', quality : 'Qualidade', qualityBest : 'Qualidade Melhor', qualityHigh : 'Qualidade Alta', qualityAutoHigh : 'Qualidade Alta Automática', qualityMedium : 'Qualidade Média', qualityAutoLow : 'Qualidade Baixa Automática', qualityLow : 'Qualidade Baixa', windowModeWindow: 'Janela', windowModeOpaque: 'Opaca', windowModeTransparent : 'Transparente', windowMode : 'Modo da janela', flashvars : 'Variáveis do Flash', bgcolor : 'Cor do Plano de Fundo', hSpace : 'HSpace', vSpace : 'VSpace', validateSrc : 'Por favor, digite o endereço do link', validateHSpace : 'O HSpace tem que ser um número', validateVSpace : 'O VSpace tem que ser um número.' }, // Speller Pages Dialog spellCheck : { toolbar : 'Verificar Ortografia', title : 'Corretor Ortográfico', notAvailable : 'Desculpe, o serviço não está disponível no momento.', errorLoading : 'Erro carregando servidor de aplicação: %s.', notInDic : 'Não encontrada', changeTo : 'Alterar para', btnIgnore : 'Ignorar uma vez', btnIgnoreAll : 'Ignorar Todas', btnReplace : 'Alterar', btnReplaceAll : 'Alterar Todas', btnUndo : 'Desfazer', noSuggestions : '-sem sugestões de ortografia-', progress : 'Verificação ortográfica em andamento...', noMispell : 'Verificação encerrada: Não foram encontrados erros de ortografia', noChanges : 'Verificação ortográfica encerrada: Não houve alterações', oneChange : 'Verificação ortográfica encerrada: Uma palavra foi alterada', manyChanges : 'Verificação ortográfica encerrada: %1 palavras foram alteradas', ieSpellDownload : 'A verificação ortográfica não foi instalada. Você gostaria de realizar o download agora?' }, smiley : { toolbar : 'Emoticon', title : 'Inserir Emoticon', options : 'Opções de Emoticons' }, elementsPath : { eleLabel : 'Caminho dos Elementos', eleTitle : 'Elemento %1' }, numberedlist : 'Lista numerada', bulletedlist : 'Lista sem números', indent : 'Aumentar Recuo', outdent : 'Diminuir Recuo', justify : { left : 'Alinhar Esquerda', center : 'Centralizar', right : 'Alinhar Direita', block : 'Justificado' }, blockquote : 'Citação', clipboard : { title : 'Colar', cutError : 'As configurações de segurança do seu navegador não permitem que o editor execute operações de recortar automaticamente. Por favor, utilize o teclado para recortar (Ctrl/Cmd+X).', copyError : 'As configurações de segurança do seu navegador não permitem que o editor execute operações de copiar automaticamente. Por favor, utilize o teclado para copiar (Ctrl/Cmd+C).', pasteMsg : 'Transfira o link usado na caixa usando o teclado com (<STRONG>Ctrl/Cmd+V</STRONG>) e <STRONG>OK</STRONG>.', securityMsg : 'As configurações de segurança do seu navegador não permitem que o editor acesse os dados da área de transferência diretamente. Por favor cole o conteúdo manualmente nesta janela.', pasteArea : 'Área para Colar' }, pastefromword : { confirmCleanup : 'O texto que você deseja colar parece ter sido copiado do Word. Você gostaria de remover a formatação antes de colar?', toolbar : 'Colar do Word', title : 'Colar do Word', error : 'Não foi possível limpar os dados colados devido a um erro interno' }, pasteText : { button : 'Colar como Texto sem Formatação', title : 'Colar como Texto sem Formatação' }, templates : { button : 'Modelos de layout', title : 'Modelo de layout de conteúdo', options : 'Opções de Template', insertOption : 'Substituir o conteúdo atual', selectPromptMsg : 'Selecione um modelo de layout para ser aberto no editor<br>(o conteúdo atual será perdido):', emptyListMsg : '(Não foram definidos modelos de layout)' }, showBlocks : 'Mostrar blocos de código', stylesCombo : { label : 'Estilo', panelTitle : 'Estilos de Formatação', panelTitle1 : 'Estilos de bloco', panelTitle2 : 'Estilos de texto corrido', panelTitle3 : 'Estilos de objeto' }, format : { label : 'Formatação', panelTitle : 'Formatação', tag_p : 'Normal', tag_pre : 'Formatado', tag_address : 'Endereço', tag_h1 : 'Título 1', tag_h2 : 'Título 2', tag_h3 : 'Título 3', tag_h4 : 'Título 4', tag_h5 : 'Título 5', tag_h6 : 'Título 6', tag_div : 'Normal (DIV)' }, div : { title : 'Criar Container de DIV', toolbar : 'Criar Container de DIV', cssClassInputLabel : 'Classes de CSS', styleSelectLabel : 'Estilo', IdInputLabel : 'Id', languageCodeInputLabel : 'Código de Idioma', inlineStyleInputLabel : 'Estilo Inline', advisoryTitleInputLabel : 'Título Consulta', langDirLabel : 'Direção da Escrita', langDirLTRLabel : 'Esquerda para Direita (LTR)', langDirRTLLabel : 'Direita para Esquerda (RTL)', edit : 'Editar Div', remove : 'Remover Div' }, iframe : { title : 'Propriedade do IFrame', toolbar : 'IFrame', noUrl : 'Insira a URL do iframe', scrolling : 'Abilita scrollbars', border : 'Mostra borda do iframe' }, font : { label : 'Fonte', voiceLabel : 'Fonte', panelTitle : 'Fonte' }, fontSize : { label : 'Tamanho', voiceLabel : 'Tamanho da fonte', panelTitle : 'Tamanho' }, colorButton : { textColorTitle : 'Cor do Texto', bgColorTitle : 'Cor do Plano de Fundo', panelTitle : 'Cores', auto : 'Automático', more : 'Mais Cores...' }, colors : { '000' : 'Preto', '800000' : 'Foquete', '8B4513' : 'Marrom 1', '2F4F4F' : 'Cinza 1', '008080' : 'Cerceta', '000080' : 'Azul Marinho', '4B0082' : 'Índigo', '696969' : 'Cinza 2', 'B22222' : 'Tijolo de Fogo', 'A52A2A' : 'Marrom 2', 'DAA520' : 'Vara Dourada', '006400' : 'Verde Escuro', '40E0D0' : 'Turquesa', '0000CD' : 'Azul Médio', '800080' : 'Roxo', '808080' : 'Cinza 3', 'F00' : 'Vermelho', 'FF8C00' : 'Laranja Escuro', 'FFD700' : 'Dourado', '008000' : 'Verde', '0FF' : 'Ciano', '00F' : 'Azul', 'EE82EE' : 'Violeta', 'A9A9A9' : 'Cinza Escuro', 'FFA07A' : 'Salmão Claro', 'FFA500' : 'Laranja', 'FFFF00' : 'Amarelo', '00FF00' : 'Lima', 'AFEEEE' : 'Turquesa Pálido', 'ADD8E6' : 'Azul Claro', 'DDA0DD' : 'Ameixa', 'D3D3D3' : 'Cinza Claro', 'FFF0F5' : 'Lavanda 1', 'FAEBD7' : 'Branco Antiguidade', 'FFFFE0' : 'Amarelo Claro', 'F0FFF0' : 'Orvalho', 'F0FFFF' : 'Azure', 'F0F8FF' : 'Azul Alice', 'E6E6FA' : 'Lavanda 2', 'FFF' : 'Branco' }, scayt : { title : 'Correção ortográfica durante a digitação', opera_title : 'Não suportado no Opera', enable : 'Habilitar correção ortográfica durante a digitação', disable : 'Desabilitar correção ortográfica durante a digitação', about : 'Sobre a correção ortográfica durante a digitação', toggle : 'Ativar/desativar correção ortográfica durante a digitação', options : 'Opções', langs : 'Idiomas', moreSuggestions : 'Mais sugestões', ignore : 'Ignorar', ignoreAll : 'Ignorar todas', addWord : 'Adicionar palavra', emptyDic : 'O nome do dicionário não deveria estar vazio.', optionsTab : 'Opções', allCaps : 'Ignorar palavras maiúsculas', ignoreDomainNames : 'Ignorar nomes de domínio', mixedCase : 'Ignorar palavras com maiúsculas e minúsculas misturadas', mixedWithDigits : 'Ignorar palavras com números', languagesTab : 'Idiomas', dictionariesTab : 'Dicionários', dic_field_name : 'Nome do Dicionário', dic_create : 'Criar', dic_restore : 'Restaurar', dic_delete : 'Excluir', dic_rename : 'Renomear', dic_info : 'Inicialmente, o dicionário do usuário fica armazenado em um Cookie. Porém, Cookies tem tamanho limitado, portanto quand o dicionário do usuário atingir o tamanho limite poderá ser armazenado no nosso servidor. Para armazenar seu dicionário pessoal no nosso servidor deverá especificar um nome para ele. Se já tiver um dicionário armazenado por favor especifique o seu nome e clique em Restaurar.', aboutTab : 'Sobre' }, about : { title : 'Sobre o CKEditor', dlgTitle : 'Sobre o CKEditor', help : 'Verifique o $1 para obter ajuda.', userGuide : 'Guia do Usuário do CKEditor', moreInfo : 'Para informações sobre a licença por favor visite o nosso site:', copy : 'Copyright &copy; $1. Todos os direitos reservados.' }, maximize : 'Maximizar', minimize : 'Minimize', fakeobjects : { anchor : 'Âncora', flash : 'Animação em Flash', iframe : 'IFrame', hiddenfield : 'Campo Oculto', unknown : 'Objeto desconhecido' }, resize : 'Arraste para redimensionar', colordialog : { title : 'Selecione uma Cor', options : 'Opções de Cor', highlight : 'Grifar', selected : 'Cor Selecionada', clear : 'Limpar' }, toolbarCollapse : 'Diminuir Barra de Ferramentas', toolbarExpand : 'Aumentar Barra de Ferramentas', toolbarGroups : { document : 'Documento', clipboard : 'Clipboard/Desfazer', editing : 'Edição', forms : 'Formulários', basicstyles : 'Estilos Básicos', paragraph : 'Paragrafo', links : 'Links', insert : 'Inserir', styles : 'Estilos', colors : 'Cores', tools : 'Ferramentas' }, bidi : { ltr : 'Direção do texto da esquerda para a direita', rtl : 'Direção do texto da direita para a esquerda' }, docprops : { label : 'Propriedades Documento', title : 'Propriedades Documento', design : 'Design', meta : 'Meta Dados', chooseColor : 'Escolher', other : '<outro>', docTitle : 'Título da Página', charset : 'Codificação de Caracteres', charsetOther : 'Outra Codificação de Caracteres', charsetASCII : 'ASCII', charsetCE : 'Europa Central', charsetCT : 'Chinês Tradicional (Big5)', charsetCR : 'Cirílico', charsetGR : 'Grego', charsetJP : 'Japonês', charsetKR : 'Coreano', charsetTR : 'Turco', charsetUN : 'Unicode (UTF-8)', charsetWE : 'Europa Ocidental', docType : 'Cabeçalho Tipo de Documento', docTypeOther : 'Outro Tipo de Documento', xhtmlDec : 'Incluir Declarações XHTML', bgColor : 'Cor do Plano de Fundo', bgImage : 'URL da Imagem de Plano de Fundo', bgFixed : 'Plano de Fundo Fixo', txtColor : 'Cor do Texto', margin : 'Margens da Página', marginTop : 'Superior', marginLeft : 'Inferior', marginRight : 'Direita', marginBottom : 'Inferior', metaKeywords : 'Palavras-chave de Indexação do Documento (separadas por vírgula)', metaDescription : 'Descrição do Documento', metaAuthor : 'Autor', metaCopyright : 'Direitos Autorais', previewHtml : '<p>Este é um <strong>texto de exemplo</strong>. Você está usando <a href="javascript:void(0)">CKEditor</a>.</p>' } };
zysms
trunk/zysms/include/ckeditor/_source/lang/pt-br.js
JavaScript
asf20
25,344
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Gujarati language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['gu'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'મૂળ કે પ્રાથમિક દસ્તાવેજ', newPage : 'નવુ પાનું', save : 'સેવ', preview : 'પૂર્વદર્શન', cut : 'કાપવું', copy : 'નકલ', paste : 'પેસ્ટ', print : 'પ્રિન્ટ', underline : 'અન્ડર્લાઇન, નીચે લીટી', bold : 'બોલ્ડ/સ્પષ્ટ', italic : 'ઇટેલિક, ત્રાંસા', selectAll : 'બઘું પસંદ કરવું', removeFormat : 'ફૉર્મટ કાઢવું', strike : 'છેકી નાખવું', subscript : 'એક ચિહ્નની નીચે કરેલું બીજું ચિહ્ન', superscript : 'એક ચિહ્ન ઉપર કરેલું બીજું ચિહ્ન.', horizontalrule : 'સમસ્તરીય રેખા ઇન્સર્ટ/દાખલ કરવી', pagebreak : 'ઇન્સર્ટ પેજબ્રેક/પાનાને અલગ કરવું/દાખલ કરવું', pagebreakAlt : 'Page Break', // MISSING unlink : 'લિંક કાઢવી', undo : 'રદ કરવું; પહેલાં હતી એવી સ્થિતિ પાછી લાવવી', redo : 'રિડૂ; પછી હતી એવી સ્થિતિ પાછી લાવવી', // Common messages and labels. common : { browseServer : 'સર્વર બ્રાઉઝ કરો', url : 'URL', protocol : 'પ્રોટોકૉલ', upload : 'અપલોડ', uploadSubmit : 'આ સર્વરને મોકલવું', image : 'ચિત્ર', flash : 'ફ્લૅશ', form : 'ફૉર્મ/પત્રક', checkbox : 'ચેક બોક્સ', radio : 'રેડિઓ બટન', textField : 'ટેક્સ્ટ ફીલ્ડ, શબ્દ ક્ષેત્ર', textarea : 'ટેક્સ્ટ એરિઆ, શબ્દ વિસ્તાર', hiddenField : 'ગુપ્ત ક્ષેત્ર', button : 'બટન', select : 'પસંદગી ક્ષેત્ર', imageButton : 'ચિત્ર બટન', notSet : '<સેટ નથી>', id : 'Id', name : 'નામ', langDir : 'ભાષા લેખવાની પદ્ધતિ', langDirLtr : 'ડાબે થી જમણે (LTR)', langDirRtl : 'જમણે થી ડાબે (RTL)', langCode : 'ભાષા કોડ', longDescr : 'વધારે માહિતી માટે URL', cssClass : 'સ્ટાઇલ-શીટ ક્લાસ', advisoryTitle : 'મુખ્ય મથાળું', cssStyle : 'સ્ટાઇલ', ok : 'ઠીક છે', cancel : 'રદ કરવું', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', // MISSING advancedTab : 'અડ્વાન્સડ', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'પહોળાઈ', height : 'ઊંચાઈ', align : 'લાઇનદોરીમાં ગોઠવવું', alignLeft : 'ડાબી બાજુ ગોઠવવું', alignRight : 'જમણી', alignCenter : 'મધ્ય સેન્ટર', alignTop : 'ઉપર', alignMiddle : 'વચ્ચે', alignBottom : 'નીચે', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'વિશિષ્ટ અક્ષર ઇન્સર્ટ/દાખલ કરવું', title : 'સ્પેશિઅલ વિશિષ્ટ અક્ષર પસંદ કરો', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'લિંક ઇન્સર્ટ/દાખલ કરવી', other : '<other>', // MISSING menu : ' લિંક એડિટ/માં ફેરફાર કરવો', title : 'લિંક', info : 'લિંક ઇન્ફૉ ટૅબ', target : 'ટાર્ગેટ/લક્ષ્ય', upload : 'અપલોડ', advanced : 'અડ્વાન્સડ', type : 'લિંક પ્રકાર', toUrl : 'URL', // MISSING toAnchor : 'આ પેજનો ઍંકર', toEmail : 'ઈ-મેલ', targetFrame : '<ફ્રેમ>', targetPopup : '<પૉપ-અપ વિન્ડો>', targetFrameName : 'ટાર્ગેટ ફ્રેમ નું નામ', targetPopupName : 'પૉપ-અપ વિન્ડો નું નામ', popupFeatures : 'પૉપ-અપ વિન્ડો ફીચરસૅ', popupResizable : 'Resizable', // MISSING popupStatusBar : 'સ્ટૅટસ બાર', popupLocationBar: 'લોકેશન બાર', popupToolbar : 'ટૂલ બાર', popupMenuBar : 'મેન્યૂ બાર', popupFullScreen : 'ફુલ સ્ક્રીન (IE)', popupScrollBars : 'સ્ક્રોલ બાર', popupDependent : 'ડિપેન્ડન્ટ (Netscape)', popupLeft : 'ડાબી બાજુ', popupTop : 'જમણી બાજુ', id : 'Id', // MISSING langDir : 'ભાષા લેખવાની પદ્ધતિ', langDirLTR : 'ડાબે થી જમણે (LTR)', langDirRTL : 'જમણે થી ડાબે (RTL)', acccessKey : 'ઍક્સેસ કી', name : 'નામ', langCode : 'ભાષા લેખવાની પદ્ધતિ', tabIndex : 'ટૅબ ઇન્ડેક્સ', advisoryTitle : 'મુખ્ય મથાળું', advisoryContentType : 'મુખ્ય કન્ટેન્ટ પ્રકાર', cssClasses : 'સ્ટાઇલ-શીટ ક્લાસ', charset : 'લિંક રિસૉર્સ કૅરિક્ટર સેટ', styles : 'સ્ટાઇલ', rel : 'Relationship', // MISSING selectAnchor : 'ઍંકર પસંદ કરો', anchorName : 'ઍંકર નામથી પસંદ કરો', anchorId : 'ઍંકર એલિમન્ટ Id થી પસંદ કરો', emailAddress : 'ઈ-મેલ સરનામું', emailSubject : 'ઈ-મેલ વિષય', emailBody : 'સંદેશ', noAnchors : '(ડૉક્યુમન્ટમાં ઍંકરની સંખ્યા)', noUrl : 'લિંક URL ટાઇપ કરો', noEmail : 'ઈ-મેલ સરનામું ટાઇપ કરો' }, // Anchor dialog anchor : { toolbar : 'ઍંકર ઇન્સર્ટ/દાખલ કરવી', menu : 'ઍંકરના ગુણ', title : 'ઍંકરના ગુણ', name : 'ઍંકરનું નામ', errorName : 'ઍંકરનું નામ ટાઈપ કરો', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'શોધવું અને બદલવું', find : 'શોધવું', replace : 'રિપ્લેસ/બદલવું', findWhat : 'આ શોધો', replaceWith : 'આનાથી બદલો', notFoundMsg : 'તમે શોધેલી ટેક્સ્ટ નથી મળી', findOptions : 'Find Options', // MISSING matchCase : 'કેસ સરખા રાખો', matchWord : 'બઘા શબ્દ સરખા રાખો', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'બઘા બદલી ', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'ટેબલ, કોઠો', title : 'ટેબલ, કોઠાનું મથાળું', menu : 'ટેબલ, કોઠાનું મથાળું', deleteTable : 'કોઠો ડિલીટ/કાઢી નાખવું', rows : 'પંક્તિના ખાના', columns : 'કૉલમ/ઊભી કટાર', border : 'કોઠાની બાજુ(બોર્ડર) સાઇઝ', widthPx : 'પિકસલ', widthPc : 'પ્રતિશત', widthUnit : 'width unit', // MISSING cellSpace : 'સેલ અંતર', cellPad : 'સેલ પૅડિંગ', caption : 'મથાળું/કૅપ્શન ', summary : 'ટૂંકો એહેવાલ', headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'કોષના ખાના', insertBefore : 'પહેલાં કોષ ઉમેરવો', insertAfter : 'પછી કોષ ઉમેરવો', deleteCell : 'કોષ ડિલીટ/કાઢી નાખવો', merge : 'કોષ ભેગા કરવા', mergeRight : 'જમણી બાજુ ભેગા કરવા', mergeDown : 'નીચે ભેગા કરવા', splitHorizontal : 'કોષને સમસ્તરીય વિભાજન કરવું', splitVertical : 'કોષને સીધું ને ઊભું વિભાજન કરવું', title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'પંક્તિના ખાના', insertBefore : 'પહેલાં પંક્તિ ઉમેરવી', insertAfter : 'પછી પંક્તિ ઉમેરવી', deleteRow : 'પંક્તિઓ ડિલીટ/કાઢી નાખવી' }, column : { menu : 'કૉલમ/ઊભી કટાર', insertBefore : 'પહેલાં કૉલમ/ઊભી કટાર ઉમેરવી', insertAfter : 'પછી કૉલમ/ઊભી કટાર ઉમેરવી', deleteColumn : 'કૉલમ/ઊભી કટાર ડિલીટ/કાઢી નાખવી' } }, // Button Dialog. button : { title : 'બટનના ગુણ', text : 'ટેક્સ્ટ (વૅલ્યૂ)', type : 'પ્રકાર', typeBtn : 'બટન', typeSbm : 'સબ્મિટ', typeRst : 'રિસેટ' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'ચેક બોક્સ ગુણ', radioTitle : 'રેડિઓ બટનના ગુણ', value : 'વૅલ્યૂ', selected : 'સિલેક્ટેડ' }, // Form Dialog. form : { title : 'ફૉર્મ/પત્રકના ગુણ', menu : 'ફૉર્મ/પત્રકના ગુણ', action : 'ક્રિયા', method : 'પદ્ધતિ', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'પસંદગી ક્ષેત્રના ગુણ', selectInfo : 'સૂચના', opAvail : 'ઉપલબ્ધ વિકલ્પ', value : 'વૅલ્યૂ', size : 'સાઇઝ', lines : 'લીટીઓ', chkMulti : 'એકથી વધારે પસંદ કરી શકો', opText : 'ટેક્સ્ટ', opValue : 'વૅલ્યૂ', btnAdd : 'ઉમેરવું', btnModify : 'બદલવું', btnUp : 'ઉપર', btnDown : 'નીચે', btnSetValue : 'પસંદ કરલી વૅલ્યૂ સેટ કરો', btnDelete : 'રદ કરવું' }, // Textarea Dialog. textarea : { title : 'ટેક્સ્ટ એઅરિઆ, શબ્દ વિસ્તારના ગુણ', cols : 'કૉલમ/ઊભી કટાર', rows : 'પંક્તિઓ' }, // Text Field Dialog. textfield : { title : 'ટેક્સ્ટ ફીલ્ડ, શબ્દ ક્ષેત્રના ગુણ', name : 'નામ', value : 'વૅલ્યૂ', charWidth : 'કેરેક્ટરની પહોળાઈ', maxChars : 'અધિકતમ કેરેક્ટર', type : 'ટાઇપ', typeText : 'ટેક્સ્ટ', typePass : 'પાસવર્ડ' }, // Hidden Field Dialog. hidden : { title : 'ગુપ્ત ક્ષેત્રના ગુણ', name : 'નામ', value : 'વૅલ્યૂ' }, // Image Dialog. image : { title : 'ચિત્રના ગુણ', titleButton : 'ચિત્ર બટનના ગુણ', menu : 'ચિત્રના ગુણ', infoTab : 'ચિત્ર ની જાણકારી', btnUpload : 'આ સર્વરને મોકલવું', upload : 'અપલોડ', alt : 'ઑલ્ટર્નટ ટેક્સ્ટ', lockRatio : 'લૉક ગુણોત્તર', resetSize : 'રીસેટ સાઇઝ', border : 'બોર્ડર', hSpace : 'સમસ્તરીય જગ્યા', vSpace : 'લંબરૂપ જગ્યા', alertUrl : 'ચિત્રની URL ટાઇપ કરો', linkTab : 'લિંક', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'ફ્લૅશના ગુણ', propertiesTab : 'Properties', // MISSING title : 'ફ્લૅશ ગુણ', chkPlay : 'ઑટો/સ્વયં પ્લે', chkLoop : 'લૂપ', chkMenu : 'ફ્લૅશ મેન્યૂ નો પ્રયોગ કરો', chkFull : 'Allow Fullscreen', // MISSING scale : 'સ્કેલ', scaleAll : 'સ્કેલ ઓલ/બધુ બતાવો', scaleNoBorder : 'સ્કેલ બોર્ડર વગર', scaleFit : 'સ્કેલ એકદમ ફીટ', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Abs નીચે', alignAbsMiddle : 'Abs ઉપર', alignBaseline : 'આધાર લીટી', alignTextTop : 'ટેક્સ્ટ ઉપર', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'બૅકગ્રાઉન્ડ રંગ,', hSpace : 'સમસ્તરીય જગ્યા', vSpace : 'લંબરૂપ જગ્યા', validateSrc : 'લિંક URL ટાઇપ કરો', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'જોડણી (સ્પેલિંગ) તપાસવી', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'શબ્દકોશમાં નથી', changeTo : 'આનાથી બદલવું', btnIgnore : 'ઇગ્નોર/અવગણના કરવી', btnIgnoreAll : 'બધાની ઇગ્નોર/અવગણના કરવી', btnReplace : 'બદલવું', btnReplaceAll : 'બધા બદલી કરો', btnUndo : 'અન્ડૂ', noSuggestions : '- કઇ સજેશન નથી -', progress : 'શબ્દની જોડણી/સ્પેલ ચેક ચાલુ છે...', noMispell : 'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: ખોટી જોડણી મળી નથી', noChanges : 'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: એકપણ શબ્દ બદલયો નથી', oneChange : 'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: એક શબ્દ બદલયો છે', manyChanges : 'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: %1 શબ્દ બદલયા છે', ieSpellDownload : 'સ્પેલ-ચેકર ઇન્સ્ટોલ નથી. શું તમે ડાઉનલોડ કરવા માંગો છો?' }, smiley : { toolbar : 'સ્માઇલી', title : 'સ્માઇલી પસંદ કરો', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'સંખ્યાંકન સૂચિ', bulletedlist : 'બુલેટ સૂચિ', indent : 'ઇન્ડેન્ટ, લીટીના આરંભમાં જગ્યા વધારવી', outdent : 'ઇન્ડેન્ટ લીટીના આરંભમાં જગ્યા ઘટાડવી', justify : { left : 'ડાબી બાજુએ/બાજુ તરફ', center : 'સંકેંદ્રણ/સેંટરિંગ', right : 'જમણી બાજુએ/બાજુ તરફ', block : 'બ્લૉક, અંતરાય જસ્ટિફાઇ' }, blockquote : 'બ્લૉક-કોટ, અવતરણચિહ્નો', clipboard : { title : 'પેસ્ટ', cutError : 'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસ કટ કરવાની પરવાનગી નથી આપતી. (Ctrl/Cmd+X) નો ઉપયોગ કરો.', copyError : 'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસ કોપી કરવાની પરવાનગી નથી આપતી. (Ctrl/Cmd+C) का प्रयोग करें।', pasteMsg : 'Ctrl/Cmd+V નો પ્રયોગ કરી પેસ્ટ કરો', securityMsg : 'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસના કારણે,એડિટર તમારા કિલ્પબોર્ડ ડેટા ને કોપી નથી કરી શકતો. તમારે આ વિન્ડોમાં ફરીથી પેસ્ટ કરવું પડશે.', pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'પેસ્ટ (વડૅ ટેક્સ્ટ)', title : 'પેસ્ટ (વડૅ ટેક્સ્ટ)', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'પેસ્ટ (ટેક્સ્ટ)', title : 'પેસ્ટ (ટેક્સ્ટ)' }, templates : { button : 'ટેમ્પ્લેટ', title : 'કન્ટેન્ટ ટેમ્પ્લેટ', options : 'Template Options', // MISSING insertOption : 'મૂળ શબ્દને બદલો', selectPromptMsg : 'એડિટરમાં ઓપન કરવા ટેમ્પ્લેટ પસંદ કરો (વર્તમાન કન્ટેન્ટ સેવ નહીં થાય):', emptyListMsg : '(કોઈ ટેમ્પ્લેટ ડિફાઇન નથી)' }, showBlocks : 'બ્લૉક બતાવવું', stylesCombo : { label : 'શૈલી/રીત', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'ફૉન્ટ ફૉર્મટ, રચનાની શૈલી', panelTitle : 'ફૉન્ટ ફૉર્મટ, રચનાની શૈલી', tag_p : 'સામાન્ય', tag_pre : 'ફૉર્મટેડ', tag_address : 'સરનામું', tag_h1 : 'શીર્ષક 1', tag_h2 : 'શીર્ષક 2', tag_h3 : 'શીર્ષક 3', tag_h4 : 'શીર્ષક 4', tag_h5 : 'શીર્ષક 5', tag_h6 : 'શીર્ષક 6', tag_div : 'શીર્ષક (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'ફૉન્ટ', voiceLabel : 'Font', // MISSING panelTitle : 'ફૉન્ટ' }, fontSize : { label : 'ફૉન્ટ સાઇઝ/કદ', voiceLabel : 'Font Size', // MISSING panelTitle : 'ફૉન્ટ સાઇઝ/કદ' }, colorButton : { textColorTitle : 'શબ્દનો રંગ', bgColorTitle : 'બૅકગ્રાઉન્ડ રંગ,', panelTitle : 'Colors', // MISSING auto : 'સ્વચાલિત', more : 'ઔર રંગ...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'ડૉક્યુમન્ટ ગુણ/પ્રૉપર્ટિઝ', title : 'ડૉક્યુમન્ટ ગુણ/પ્રૉપર્ટિઝ', design : 'Design', // MISSING meta : 'મેટાડૅટા', chooseColor : 'Choose', // MISSING other : '<other>', docTitle : 'પેજ મથાળું/ટાઇટલ', charset : 'કેરેક્ટર સેટ એન્કોડિંગ', charsetOther : 'અન્ય કેરેક્ટર સેટ એન્કોડિંગ', charsetASCII : 'ASCII', // MISSING charsetCE : 'મધ્ય યુરોપિઅન (Central European)', charsetCT : 'ચાઇનીઝ (Chinese Traditional Big5)', charsetCR : 'સિરીલિક (Cyrillic)', charsetGR : 'ગ્રીક (Greek)', charsetJP : 'જાપાનિઝ (Japanese)', charsetKR : 'કોરીયન (Korean)', charsetTR : 'ટર્કિ (Turkish)', charsetUN : 'યૂનિકોડ (UTF-8)', charsetWE : 'પશ્ચિમ યુરોપિઅન (Western European)', docType : 'ડૉક્યુમન્ટ પ્રકાર શીર્ષક', docTypeOther : 'અન્ય ડૉક્યુમન્ટ પ્રકાર શીર્ષક', xhtmlDec : 'XHTML સૂચના સમાવિષ્ટ કરવી', bgColor : 'બૅકગ્રાઉન્ડ રંગ', bgImage : 'બૅકગ્રાઉન્ડ ચિત્ર URL', bgFixed : 'સ્ક્રોલ ન થાય તેવું બૅકગ્રાઉન્ડ', txtColor : 'શબ્દનો રંગ', margin : 'પેજ માર્જિન', marginTop : 'ઉપર', marginLeft : 'ડાબી', marginRight : 'જમણી', marginBottom : 'નીચે', metaKeywords : 'ડૉક્યુમન્ટ ઇન્ડેક્સ સંકેતશબ્દ (અલ્પવિરામ (,) થી અલગ કરો)', metaDescription : 'ડૉક્યુમન્ટ વર્ણન', metaAuthor : 'લેખક', metaCopyright : 'કૉપિરાઇટ', previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/gu.js
JavaScript
asf20
34,652
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Canadian French language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['fr-ca'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'Source', newPage : 'Nouvelle page', save : 'Sauvegarder', preview : 'Previsualiser', cut : 'Couper', copy : 'Copier', paste : 'Coller', print : 'Imprimer', underline : 'Souligné', bold : 'Gras', italic : 'Italique', selectAll : 'Tout sélectionner', removeFormat : 'Supprimer le formatage', strike : 'Barrer', subscript : 'Indice', superscript : 'Exposant', horizontalrule : 'Insérer un séparateur', pagebreak : 'Insérer un saut de page', pagebreakAlt : 'Page Break', // MISSING unlink : 'Supprimer le lien', undo : 'Annuler', redo : 'Refaire', // Common messages and labels. common : { browseServer : 'Parcourir le serveur', url : 'URL', protocol : 'Protocole', upload : 'Télécharger', uploadSubmit : 'Envoyer sur le serveur', image : 'Image', flash : 'Animation Flash', form : 'Formulaire', checkbox : 'Case à cocher', radio : 'Bouton radio', textField : 'Champ texte', textarea : 'Zone de texte', hiddenField : 'Champ caché', button : 'Bouton', select : 'Champ de sélection', imageButton : 'Bouton image', notSet : '<Par défaut>', id : 'Id', name : 'Nom', langDir : 'Sens d\'écriture', langDirLtr : 'De gauche à droite (LTR)', langDirRtl : 'De droite à gauche (RTL)', langCode : 'Code langue', longDescr : 'URL de description longue', cssClass : 'Classes de feuilles de style', advisoryTitle : 'Titre', cssStyle : 'Style', ok : 'OK', cancel : 'Annuler', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'Général', advancedTab : 'Avancée', validateNumberFailed : 'This value is not a number.', // MISSING confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Largeur', height : 'Hauteur', align : 'Alignement', alignLeft : 'Gauche', alignRight : 'Droite', alignCenter : 'Centré', alignTop : 'Haut', alignMiddle : 'Milieu', alignBottom : 'Bas', invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Insérer un caractère spécial', title : 'Insérer un caractère spécial', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Insérer/modifier le lien', other : '<other>', // MISSING menu : 'Modifier le lien', title : 'Propriétés du lien', info : 'Informations sur le lien', target : 'Destination', upload : 'Télécharger', advanced : 'Avancée', type : 'Type de lien', toUrl : 'URL', // MISSING toAnchor : 'Ancre dans cette page', toEmail : 'E-Mail', targetFrame : '<Cadre>', targetPopup : '<fenêtre popup>', targetFrameName : 'Nom du cadre de destination', targetPopupName : 'Nom de la fenêtre popup', popupFeatures : 'Caractéristiques de la fenêtre popup', popupResizable : 'Resizable', // MISSING popupStatusBar : 'Barre d\'état', popupLocationBar: 'Barre d\'adresses', popupToolbar : 'Barre d\'outils', popupMenuBar : 'Barre de menu', popupFullScreen : 'Plein écran (IE)', popupScrollBars : 'Barres de défilement', popupDependent : 'Dépendante (Netscape)', popupLeft : 'Position à partir de la gauche', popupTop : 'Position à partir du haut', id : 'Id', // MISSING langDir : 'Sens d\'écriture', langDirLTR : 'De gauche à droite (LTR)', langDirRTL : 'De droite à gauche (RTL)', acccessKey : 'Équivalent clavier', name : 'Nom', langCode : 'Sens d\'écriture', tabIndex : 'Ordre de tabulation', advisoryTitle : 'Titre', advisoryContentType : 'Type de contenu', cssClasses : 'Classes de feuilles de style', charset : 'Encodage de caractère', styles : 'Style', rel : 'Relationship', // MISSING selectAnchor : 'Sélectionner une ancre', anchorName : 'Par nom', anchorId : 'Par id', emailAddress : 'Adresse E-Mail', emailSubject : 'Sujet du message', emailBody : 'Corps du message', noAnchors : '(Pas d\'ancre disponible dans le document)', noUrl : 'Veuillez saisir l\'URL', noEmail : 'Veuillez saisir l\'adresse e-mail' }, // Anchor dialog anchor : { toolbar : 'Insérer/modifier l\'ancre', menu : 'Propriétés de l\'ancre', title : 'Propriétés de l\'ancre', name : 'Nom de l\'ancre', errorName : 'Veuillez saisir le nom de l\'ancre', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Chercher et Remplacer', find : 'Chercher', replace : 'Remplacer', findWhat : 'Rechercher:', replaceWith : 'Remplacer par:', notFoundMsg : 'Le texte indiqué est introuvable.', findOptions : 'Find Options', // MISSING matchCase : 'Respecter la casse', matchWord : 'Mot entier', matchCyclic : 'Match cyclic', // MISSING replaceAll : 'Tout remplacer', replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING }, // Table Dialog table : { toolbar : 'Tableau', title : 'Propriétés du tableau', menu : 'Propriétés du tableau', deleteTable : 'Supprimer le tableau', rows : 'Lignes', columns : 'Colonnes', border : 'Taille de la bordure', widthPx : 'pixels', widthPc : 'pourcentage', widthUnit : 'width unit', // MISSING cellSpace : 'Espacement', cellPad : 'Contour', caption : 'Titre', summary : 'Résumé', headers : 'Headers', // MISSING headersNone : 'None', // MISSING headersColumn : 'First column', // MISSING headersRow : 'First Row', // MISSING headersBoth : 'Both', // MISSING invalidRows : 'Number of rows must be a number greater than 0.', // MISSING invalidCols : 'Number of columns must be a number greater than 0.', // MISSING invalidBorder : 'Border size must be a number.', // MISSING invalidWidth : 'Table width must be a number.', // MISSING invalidHeight : 'Table height must be a number.', // MISSING invalidCellSpacing : 'Cell spacing must be a positive number.', // MISSING invalidCellPadding : 'Cell padding must be a positive number.', // MISSING cell : { menu : 'Cellule', insertBefore : 'Insérer une cellule avant', insertAfter : 'Insérer une cellule après', deleteCell : 'Supprimer des cellules', merge : 'Fusionner les cellules', mergeRight : 'Fusionner à droite', mergeDown : 'Fusionner en bas', splitHorizontal : 'Scinder la cellule horizontalement', splitVertical : 'Scinder la cellule verticalement', title : 'Cell Properties', // MISSING cellType : 'Cell Type', // MISSING rowSpan : 'Rows Span', // MISSING colSpan : 'Columns Span', // MISSING wordWrap : 'Word Wrap', // MISSING hAlign : 'Horizontal Alignment', // MISSING vAlign : 'Vertical Alignment', // MISSING alignBaseline : 'Baseline', // MISSING bgColor : 'Background Color', // MISSING borderColor : 'Border Color', // MISSING data : 'Data', // MISSING header : 'Header', // MISSING yes : 'Yes', // MISSING no : 'No', // MISSING invalidWidth : 'Cell width must be a number.', // MISSING invalidHeight : 'Cell height must be a number.', // MISSING invalidRowSpan : 'Rows span must be a whole number.', // MISSING invalidColSpan : 'Columns span must be a whole number.', // MISSING chooseColor : 'Choose' // MISSING }, row : { menu : 'Ligne', insertBefore : 'Insérer une ligne avant', insertAfter : 'Insérer une ligne après', deleteRow : 'Supprimer des lignes' }, column : { menu : 'Colonne', insertBefore : 'Insérer une colonne avant', insertAfter : 'Insérer une colonne après', deleteColumn : 'Supprimer des colonnes' } }, // Button Dialog. button : { title : 'Propriétés du bouton', text : 'Texte (Valeur)', type : 'Type', typeBtn : 'Bouton', typeSbm : 'Soumettre', typeRst : 'Réinitialiser' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Propriétés de la case à cocher', radioTitle : 'Propriétés du bouton radio', value : 'Valeur', selected : 'Sélectionné' }, // Form Dialog. form : { title : 'Propriétés du formulaire', menu : 'Propriétés du formulaire', action : 'Action', method : 'Méthode', encoding : 'Encoding' // MISSING }, // Select Field Dialog. select : { title : 'Propriétés de la liste/du menu', selectInfo : 'Info', opAvail : 'Options disponibles', value : 'Valeur', size : 'Taille', lines : 'lignes', chkMulti : 'Sélection multiple', opText : 'Texte', opValue : 'Valeur', btnAdd : 'Ajouter', btnModify : 'Modifier', btnUp : 'Monter', btnDown : 'Descendre', btnSetValue : 'Valeur sélectionnée', btnDelete : 'Supprimer' }, // Textarea Dialog. textarea : { title : 'Propriétés de la zone de texte', cols : 'Colonnes', rows : 'Lignes' }, // Text Field Dialog. textfield : { title : 'Propriétés du champ texte', name : 'Nom', value : 'Valeur', charWidth : 'Largeur en caractères', maxChars : 'Nombre maximum de caractères', type : 'Type', typeText : 'Texte', typePass : 'Mot de passe' }, // Hidden Field Dialog. hidden : { title : 'Propriétés du champ caché', name : 'Nom', value : 'Valeur' }, // Image Dialog. image : { title : 'Propriétés de l\'image', titleButton : 'Propriétés du bouton image', menu : 'Propriétés de l\'image', infoTab : 'Informations sur l\'image', btnUpload : 'Envoyer sur le serveur', upload : 'Télécharger', alt : 'Texte de remplacement', lockRatio : 'Garder les proportions', resetSize : 'Taille originale', border : 'Bordure', hSpace : 'Espacement horizontal', vSpace : 'Espacement vertical', alertUrl : 'Veuillez saisir l\'URL de l\'image', linkTab : 'Lien', button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING img2Button : 'Do you want to transform the selected image on a image button?', // MISSING urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Propriétés de l\'animation Flash', propertiesTab : 'Properties', // MISSING title : 'Propriétés de l\'animation Flash', chkPlay : 'Lecture automatique', chkLoop : 'Boucle', chkMenu : 'Activer le menu Flash', chkFull : 'Allow Fullscreen', // MISSING scale : 'Affichage', scaleAll : 'Par défaut (tout montrer)', scaleNoBorder : 'Sans bordure', scaleFit : 'Ajuster aux dimensions', access : 'Script Access', // MISSING accessAlways : 'Always', // MISSING accessSameDomain: 'Same domain', // MISSING accessNever : 'Never', // MISSING alignAbsBottom : 'Abs Bas', alignAbsMiddle : 'Abs Milieu', alignBaseline : 'Bas du texte', alignTextTop : 'Haut du texte', quality : 'Quality', // MISSING qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', // MISSING flashvars : 'Variables for Flash', // MISSING bgcolor : 'Couleur de fond', hSpace : 'Espacement horizontal', vSpace : 'Espacement vertical', validateSrc : 'Veuillez saisir l\'URL', validateHSpace : 'HSpace must be a number.', // MISSING validateVSpace : 'VSpace must be a number.' // MISSING }, // Speller Pages Dialog spellCheck : { toolbar : 'Orthographe', title : 'Spell Check', // MISSING notAvailable : 'Sorry, but service is unavailable now.', // MISSING errorLoading : 'Error loading application service host: %s.', // MISSING notInDic : 'Pas dans le dictionnaire', changeTo : 'Changer en', btnIgnore : 'Ignorer', btnIgnoreAll : 'Ignorer tout', btnReplace : 'Remplacer', btnReplaceAll : 'Remplacer tout', btnUndo : 'Annuler', noSuggestions : '- Pas de suggestion -', progress : 'Vérification d\'orthographe en cours...', noMispell : 'Vérification d\'orthographe terminée: pas d\'erreur trouvée', noChanges : 'Vérification d\'orthographe terminée: Pas de modifications', oneChange : 'Vérification d\'orthographe terminée: Un mot modifié', manyChanges : 'Vérification d\'orthographe terminée: %1 mots modifiés', ieSpellDownload : 'Le Correcteur d\'orthographe n\'est pas installé. Souhaitez-vous le télécharger maintenant?' }, smiley : { toolbar : 'Emoticon', title : 'Insérer un Emoticon', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' // MISSING }, numberedlist : 'Liste numérotée', bulletedlist : 'Liste à puces', indent : 'Augmenter le retrait', outdent : 'Diminuer le retrait', justify : { left : 'Aligner à gauche', center : 'Centrer', right : 'Aligner à Droite', block : 'Texte justifié' }, blockquote : 'Citation', clipboard : { title : 'Coller', cutError : 'Les paramètres de sécurité de votre navigateur empêchent l\'éditeur de couper automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl/Cmd+X).', copyError : 'Les paramètres de sécurité de votre navigateur empêchent l\'éditeur de copier automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl/Cmd+C).', pasteMsg : 'Veuillez coller dans la zone ci-dessous en utilisant le clavier (<STRONG>Ctrl/Cmd+V</STRONG>) et appuyer sur <STRONG>OK</STRONG>.', securityMsg : 'A cause des paramètres de sécurité de votre navigateur, l\'éditeur ne peut accéder au presse-papier directement. Vous devez coller à nouveau le contenu dans cette fenêtre.', pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Coller en tant que Word (formaté)', title : 'Coller en tant que Word (formaté)', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Coller comme texte', title : 'Coller comme texte' }, templates : { button : 'Modèles', title : 'Modèles de contenu', options : 'Template Options', // MISSING insertOption : 'Remplacer tout le contenu actuel', selectPromptMsg : 'Sélectionner le modèle à ouvrir dans l\'éditeur<br>(le contenu actuel sera remplacé):', emptyListMsg : '(Aucun modèle disponible)' }, showBlocks : 'Afficher les blocs', stylesCombo : { label : 'Style', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', // MISSING panelTitle2 : 'Inline Styles', // MISSING panelTitle3 : 'Object Styles' // MISSING }, format : { label : 'Format', panelTitle : 'Format', tag_p : 'Normal', tag_pre : 'Formaté', tag_address : 'Adresse', tag_h1 : 'En-tête 1', tag_h2 : 'En-tête 2', tag_h3 : 'En-tête 3', tag_h4 : 'En-tête 4', tag_h5 : 'En-tête 5', tag_h6 : 'En-tête 6', tag_div : 'Normal (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Police', voiceLabel : 'Font', // MISSING panelTitle : 'Police' }, fontSize : { label : 'Taille', voiceLabel : 'Font Size', // MISSING panelTitle : 'Taille' }, colorButton : { textColorTitle : 'Couleur de caractère', bgColorTitle : 'Couleur de fond', panelTitle : 'Colors', // MISSING auto : 'Automatique', more : 'Plus de couleurs...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', // MISSING dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', // MISSING copy : 'Copyright &copy; $1. All rights reserved.' // MISSING }, maximize : 'Maximize', // MISSING minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Propriétés du document', title : 'Propriétés du document', design : 'Design', // MISSING meta : 'Méta-Données', chooseColor : 'Choose', // MISSING other : '<other>', docTitle : 'Titre de la page', charset : 'Encodage de caractère', charsetOther : 'Autre encodage de caractère', charsetASCII : 'ASCII', // MISSING charsetCE : 'Europe Centrale', charsetCT : 'Chinois Traditionnel (Big5)', charsetCR : 'Cyrillique', charsetGR : 'Grecque', charsetJP : 'Japonais', charsetKR : 'Coréen', charsetTR : 'Turcque', charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Occidental', docType : 'Type de document', docTypeOther : 'Autre type de document', xhtmlDec : 'Inclure les déclarations XHTML', bgColor : 'Couleur de fond', bgImage : 'Image de fond', bgFixed : 'Image fixe sans défilement', txtColor : 'Couleur de caractère', margin : 'Marges', marginTop : 'Haut', marginLeft : 'Gauche', marginRight : 'Droite', marginBottom : 'Bas', metaKeywords : 'Mots-clés (séparés par des virgules)', metaDescription : 'Description', metaAuthor : 'Auteur', metaCopyright : 'Copyright', // MISSING previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/fr-ca.js
JavaScript
asf20
27,053
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ var CKEDITOR_LANGS = (function() { var langs = { af : 'Afrikaans', ar : 'Arabic', bg : 'Bulgarian', bn : 'Bengali/Bangla', bs : 'Bosnian', ca : 'Catalan', cs : 'Czech', cy : 'Welsh', da : 'Danish', de : 'German', el : 'Greek', en : 'English', 'en-au' : 'English (Australia)', 'en-ca' : 'English (Canadian)', 'en-gb' : 'English (United Kingdom)', eo : 'Esperanto', es : 'Spanish', et : 'Estonian', eu : 'Basque', fa : 'Persian', fi : 'Finnish', fo : 'Faroese', fr : 'French', 'fr-ca' : 'French (Canada)', gl : 'Galician', gu : 'Gujarati', he : 'Hebrew', hi : 'Hindi', hr : 'Croatian', hu : 'Hungarian', is : 'Icelandic', it : 'Italian', ja : 'Japanese', ka : 'Georgian', km : 'Khmer', ko : 'Korean', lt : 'Lithuanian', lv : 'Latvian', mn : 'Mongolian', ms : 'Malay', nb : 'Norwegian Bokmal', nl : 'Dutch', no : 'Norwegian', pl : 'Polish', pt : 'Portuguese (Portugal)', 'pt-br' : 'Portuguese (Brazil)', ro : 'Romanian', ru : 'Russian', sk : 'Slovak', sl : 'Slovenian', sr : 'Serbian (Cyrillic)', 'sr-latn' : 'Serbian (Latin)', sv : 'Swedish', th : 'Thai', tr : 'Turkish', uk : 'Ukrainian', vi : 'Vietnamese', zh : 'Chinese Traditional', 'zh-cn' : 'Chinese Simplified' }; var langsArray = []; for ( var code in langs ) { langsArray.push( { code : code, name : langs[ code ] } ); } langsArray.sort( function( a, b ) { return ( a.name < b.name ) ? -1 : 1; }); return langsArray; })();
zysms
trunk/zysms/include/ckeditor/_source/lang/_languages.js
JavaScript
asf20
1,805
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * English (Australia) language. */ /**#@+ @type String @example */ /** * Contains the dictionary of language entries. * @namespace */ CKEDITOR.lang['en-au'] = { /** * The language reading direction. Possible values are "rtl" for * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right * languages (like English). * @default 'ltr' */ dir : 'ltr', /* * Screenreader titles. Please note that screenreaders are not always capable * of reading non-English words. So be careful while translating it. */ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING // ARIA descriptions. toolbars : 'Editor toolbars', // MISSING editor : 'Rich Text Editor', // MISSING // Toolbar buttons without dialogs. source : 'Source', newPage : 'New Page', save : 'Save', preview : 'Preview', cut : 'Cut', copy : 'Copy', paste : 'Paste', print : 'Print', underline : 'Underline', bold : 'Bold', italic : 'Italic', selectAll : 'Select All', removeFormat : 'Remove Format', strike : 'Strike Through', subscript : 'Subscript', superscript : 'Superscript', horizontalrule : 'Insert Horizontal Line', pagebreak : 'Insert Page Break for Printing', pagebreakAlt : 'Page Break', // MISSING unlink : 'Unlink', undo : 'Undo', redo : 'Redo', // Common messages and labels. common : { browseServer : 'Browse Server', url : 'URL', protocol : 'Protocol', upload : 'Upload', uploadSubmit : 'Send it to the Server', image : 'Image', flash : 'Flash', form : 'Form', checkbox : 'Checkbox', radio : 'Radio Button', textField : 'Text Field', textarea : 'Textarea', hiddenField : 'Hidden Field', button : 'Button', select : 'Selection Field', imageButton : 'Image Button', notSet : '<not set>', id : 'Id', name : 'Name', langDir : 'Language Direction', langDirLtr : 'Left to Right (LTR)', langDirRtl : 'Right to Left (RTL)', langCode : 'Language Code', longDescr : 'Long Description URL', cssClass : 'Stylesheet Classes', advisoryTitle : 'Advisory Title', cssStyle : 'Style', ok : 'OK', cancel : 'Cancel', close : 'Close', // MISSING preview : 'Preview', // MISSING generalTab : 'General', advancedTab : 'Advanced', validateNumberFailed : 'This value is not a number.', confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', options : 'Options', // MISSING target : 'Target', // MISSING targetNew : 'New Window (_blank)', // MISSING targetTop : 'Topmost Window (_top)', // MISSING targetSelf : 'Same Window (_self)', // MISSING targetParent : 'Parent Window (_parent)', // MISSING langDirLTR : 'Left to Right (LTR)', // MISSING langDirRTL : 'Right to Left (RTL)', // MISSING styles : 'Style', // MISSING cssClasses : 'Stylesheet Classes', // MISSING width : 'Width', // MISSING height : 'Height', // MISSING align : 'Align', alignLeft : 'Left', // MISSING alignRight : 'Right', // MISSING alignCenter : 'Centre', alignTop : 'Top', // MISSING alignMiddle : 'Middle', // MISSING alignBottom : 'Bottom', // MISSING invalidHeight : 'Height must be a number.', // MISSING invalidWidth : 'Width must be a number.', // MISSING invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', // MISSING invalidInlineStyle : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING cssLengthTooltip : 'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).', // MISSING // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING }, contextmenu : { options : 'Context Menu Options' // MISSING }, // Special char dialog. specialChar : { toolbar : 'Insert Special Character', title : 'Select Special Character', options : 'Special Character Options' // MISSING }, // Link dialog. link : { toolbar : 'Link', other : '<other>', menu : 'Edit Link', title : 'Link', info : 'Link Info', target : 'Target', upload : 'Upload', advanced : 'Advanced', type : 'Link Type', toUrl : 'URL', // MISSING toAnchor : 'Link to anchor in the text', toEmail : 'E-mail', targetFrame : '<frame>', targetPopup : '<popup window>', targetFrameName : 'Target Frame Name', targetPopupName : 'Popup Window Name', popupFeatures : 'Popup Window Features', popupResizable : 'Resizable', popupStatusBar : 'Status Bar', popupLocationBar: 'Location Bar', popupToolbar : 'Toolbar', popupMenuBar : 'Menu Bar', popupFullScreen : 'Full Screen (IE)', popupScrollBars : 'Scroll Bars', popupDependent : 'Dependent (Netscape)', popupLeft : 'Left Position', popupTop : 'Top Position', id : 'Id', langDir : 'Language Direction', langDirLTR : 'Left to Right (LTR)', langDirRTL : 'Right to Left (RTL)', acccessKey : 'Access Key', name : 'Name', langCode : 'Language Code', tabIndex : 'Tab Index', advisoryTitle : 'Advisory Title', advisoryContentType : 'Advisory Content Type', cssClasses : 'Stylesheet Classes', charset : 'Linked Resource Charset', styles : 'Style', rel : 'Relationship', // MISSING selectAnchor : 'Select an Anchor', anchorName : 'By Anchor Name', anchorId : 'By Element Id', emailAddress : 'E-Mail Address', emailSubject : 'Message Subject', emailBody : 'Message Body', noAnchors : '(No anchors available in the document)', noUrl : 'Please type the link URL', noEmail : 'Please type the e-mail address' }, // Anchor dialog anchor : { toolbar : 'Anchor', menu : 'Edit Anchor', title : 'Anchor Properties', name : 'Anchor Name', errorName : 'Please type the anchor name', remove : 'Remove Anchor' // MISSING }, // List style dialog list: { numberedTitle : 'Numbered List Properties', // MISSING bulletedTitle : 'Bulleted List Properties', // MISSING type : 'Type', // MISSING start : 'Start', // MISSING validateStartNumber :'List start number must be a whole number.', // MISSING circle : 'Circle', // MISSING disc : 'Disc', // MISSING square : 'Square', // MISSING none : 'None', // MISSING notset : '<not set>', // MISSING armenian : 'Armenian numbering', // MISSING georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING decimal : 'Decimal (1, 2, 3, etc.)', // MISSING decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING }, // Find And Replace Dialog findAndReplace : { title : 'Find and Replace', find : 'Find', replace : 'Replace', findWhat : 'Find what:', replaceWith : 'Replace with:', notFoundMsg : 'The specified text was not found.', findOptions : 'Find Options', // MISSING matchCase : 'Match case', matchWord : 'Match whole word', matchCyclic : 'Match cyclic', replaceAll : 'Replace All', replaceSuccessMsg : '%1 occurrence(s) replaced.' }, // Table Dialog table : { toolbar : 'Table', title : 'Table Properties', menu : 'Table Properties', deleteTable : 'Delete Table', rows : 'Rows', columns : 'Columns', border : 'Border size', widthPx : 'pixels', widthPc : 'percent', widthUnit : 'width unit', // MISSING cellSpace : 'Cell spacing', cellPad : 'Cell padding', caption : 'Caption', summary : 'Summary', headers : 'Headers', headersNone : 'None', headersColumn : 'First column', headersRow : 'First Row', headersBoth : 'Both', invalidRows : 'Number of rows must be a number greater than 0.', invalidCols : 'Number of columns must be a number greater than 0.', invalidBorder : 'Border size must be a number.', invalidWidth : 'Table width must be a number.', invalidHeight : 'Table height must be a number.', invalidCellSpacing : 'Cell spacing must be a number.', invalidCellPadding : 'Cell padding must be a number.', cell : { menu : 'Cell', insertBefore : 'Insert Cell Before', insertAfter : 'Insert Cell After', deleteCell : 'Delete Cells', merge : 'Merge Cells', mergeRight : 'Merge Right', mergeDown : 'Merge Down', splitHorizontal : 'Split Cell Horizontally', splitVertical : 'Split Cell Vertically', title : 'Cell Properties', cellType : 'Cell Type', rowSpan : 'Rows Span', colSpan : 'Columns Span', wordWrap : 'Word Wrap', hAlign : 'Horizontal Alignment', vAlign : 'Vertical Alignment', alignBaseline : 'Baseline', bgColor : 'Background Color', borderColor : 'Border Color', data : 'Data', header : 'Header', yes : 'Yes', no : 'No', invalidWidth : 'Cell width must be a number.', invalidHeight : 'Cell height must be a number.', invalidRowSpan : 'Rows span must be a whole number.', invalidColSpan : 'Columns span must be a whole number.', chooseColor : 'Choose' // MISSING }, row : { menu : 'Row', insertBefore : 'Insert Row Before', insertAfter : 'Insert Row After', deleteRow : 'Delete Rows' }, column : { menu : 'Column', insertBefore : 'Insert Column Before', insertAfter : 'Insert Column After', deleteColumn : 'Delete Columns' } }, // Button Dialog. button : { title : 'Button Properties', text : 'Text (Value)', type : 'Type', typeBtn : 'Button', typeSbm : 'Submit', typeRst : 'Reset' }, // Checkbox and Radio Button Dialogs. checkboxAndRadio : { checkboxTitle : 'Checkbox Properties', radioTitle : 'Radio Button Properties', value : 'Value', selected : 'Selected' }, // Form Dialog. form : { title : 'Form Properties', menu : 'Form Properties', action : 'Action', method : 'Method', encoding : 'Encoding' }, // Select Field Dialog. select : { title : 'Selection Field Properties', selectInfo : 'Select Info', opAvail : 'Available Options', value : 'Value', size : 'Size', lines : 'lines', chkMulti : 'Allow multiple selections', opText : 'Text', opValue : 'Value', btnAdd : 'Add', btnModify : 'Modify', btnUp : 'Up', btnDown : 'Down', btnSetValue : 'Set as selected value', btnDelete : 'Delete' }, // Textarea Dialog. textarea : { title : 'Textarea Properties', cols : 'Columns', rows : 'Rows' }, // Text Field Dialog. textfield : { title : 'Text Field Properties', name : 'Name', value : 'Value', charWidth : 'Character Width', maxChars : 'Maximum Characters', type : 'Type', typeText : 'Text', typePass : 'Password' }, // Hidden Field Dialog. hidden : { title : 'Hidden Field Properties', name : 'Name', value : 'Value' }, // Image Dialog. image : { title : 'Image Properties', titleButton : 'Image Button Properties', menu : 'Image Properties', infoTab : 'Image Info', btnUpload : 'Send it to the Server', upload : 'Upload', alt : 'Alternative Text', lockRatio : 'Lock Ratio', resetSize : 'Reset Size', border : 'Border', hSpace : 'HSpace', vSpace : 'VSpace', alertUrl : 'Please type the image URL', linkTab : 'Link', button2Img : 'Do you want to transform the selected image button on a simple image?', img2Button : 'Do you want to transform the selected image on a image button?', urlMissing : 'Image source URL is missing.', // MISSING validateBorder : 'Border must be a whole number.', // MISSING validateHSpace : 'HSpace must be a whole number.', // MISSING validateVSpace : 'VSpace must be a whole number.' // MISSING }, // Flash Dialog flash : { properties : 'Flash Properties', propertiesTab : 'Properties', title : 'Flash Properties', chkPlay : 'Auto Play', chkLoop : 'Loop', chkMenu : 'Enable Flash Menu', chkFull : 'Allow Fullscreen', scale : 'Scale', scaleAll : 'Show all', scaleNoBorder : 'No Border', scaleFit : 'Exact Fit', access : 'Script Access', accessAlways : 'Always', accessSameDomain: 'Same domain', accessNever : 'Never', alignAbsBottom : 'Abs Bottom', alignAbsMiddle : 'Abs Middle', alignBaseline : 'Baseline', alignTextTop : 'Text Top', quality : 'Quality', qualityBest : 'Best', // MISSING qualityHigh : 'High', // MISSING qualityAutoHigh : 'Auto High', // MISSING qualityMedium : 'Medium', // MISSING qualityAutoLow : 'Auto Low', // MISSING qualityLow : 'Low', // MISSING windowModeWindow: 'Window', // MISSING windowModeOpaque: 'Opaque', // MISSING windowModeTransparent : 'Transparent', // MISSING windowMode : 'Window mode', flashvars : 'Variables for Flash', bgcolor : 'Background colour', hSpace : 'HSpace', vSpace : 'VSpace', validateSrc : 'URL must not be empty.', validateHSpace : 'HSpace must be a number.', validateVSpace : 'VSpace must be a number.' }, // Speller Pages Dialog spellCheck : { toolbar : 'Check Spelling', title : 'Spell Check', notAvailable : 'Sorry, but service is unavailable now.', errorLoading : 'Error loading application service host: %s.', notInDic : 'Not in dictionary', changeTo : 'Change to', btnIgnore : 'Ignore', btnIgnoreAll : 'Ignore All', btnReplace : 'Replace', btnReplaceAll : 'Replace All', btnUndo : 'Undo', noSuggestions : '- No suggestions -', progress : 'Spell check in progress...', noMispell : 'Spell check complete: No misspellings found', noChanges : 'Spell check complete: No words changed', oneChange : 'Spell check complete: One word changed', manyChanges : 'Spell check complete: %1 words changed', ieSpellDownload : 'Spell checker not installed. Do you want to download it now?' }, smiley : { toolbar : 'Smiley', title : 'Insert a Smiley', options : 'Smiley Options' // MISSING }, elementsPath : { eleLabel : 'Elements path', // MISSING eleTitle : '%1 element' }, numberedlist : 'Insert/Remove Numbered List', bulletedlist : 'Insert/Remove Bulleted List', indent : 'Increase Indent', outdent : 'Decrease Indent', justify : { left : 'Align Left', center : 'Centre', right : 'Align Right', block : 'Justify' }, blockquote : 'Block Quote', clipboard : { title : 'Paste', cutError : 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).', copyError : 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).', pasteMsg : 'Please paste inside the following box using the keyboard (<strong>Ctrl/Cmd+V</strong>) and hit OK', securityMsg : '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.', pasteArea : 'Paste Area' // MISSING }, pastefromword : { confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING toolbar : 'Paste from Word', title : 'Paste from Word', error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING }, pasteText : { button : 'Paste as plain text', title : 'Paste as Plain Text' }, templates : { button : 'Templates', title : 'Content Templates', options : 'Template Options', // MISSING insertOption : 'Replace actual contents', selectPromptMsg : 'Please select the template to open in the editor', emptyListMsg : '(No templates defined)' }, showBlocks : 'Show Blocks', stylesCombo : { label : 'Styles', panelTitle : 'Formatting Styles', // MISSING panelTitle1 : 'Block Styles', panelTitle2 : 'Inline Styles', panelTitle3 : 'Object Styles' }, format : { label : 'Format', panelTitle : 'Paragraph Format', tag_p : 'Normal', tag_pre : 'Formatted', tag_address : 'Address', tag_h1 : 'Heading 1', tag_h2 : 'Heading 2', tag_h3 : 'Heading 3', tag_h4 : 'Heading 4', tag_h5 : 'Heading 5', tag_h6 : 'Heading 6', tag_div : 'Normal (DIV)' }, div : { title : 'Create Div Container', // MISSING toolbar : 'Create Div Container', // MISSING cssClassInputLabel : 'Stylesheet Classes', // MISSING styleSelectLabel : 'Style', // MISSING IdInputLabel : 'Id', // MISSING languageCodeInputLabel : ' Language Code', // MISSING inlineStyleInputLabel : 'Inline Style', // MISSING advisoryTitleInputLabel : 'Advisory Title', // MISSING langDirLabel : 'Language Direction', // MISSING langDirLTRLabel : 'Left to Right (LTR)', // MISSING langDirRTLLabel : 'Right to Left (RTL)', // MISSING edit : 'Edit Div', // MISSING remove : 'Remove Div' // MISSING }, iframe : { title : 'IFrame Properties', // MISSING toolbar : 'IFrame', // MISSING noUrl : 'Please type the iframe URL', // MISSING scrolling : 'Enable scrollbars', // MISSING border : 'Show frame border' // MISSING }, font : { label : 'Font', voiceLabel : 'Font', // MISSING panelTitle : 'Font Name' }, fontSize : { label : 'Size', voiceLabel : 'Font Size', // MISSING panelTitle : 'Font Size' }, colorButton : { textColorTitle : 'Text Colour', bgColorTitle : 'Background Colour', panelTitle : 'Colors', // MISSING auto : 'Automatic', more : 'More Colours...' }, colors : { '000' : 'Black', // MISSING '800000' : 'Maroon', // MISSING '8B4513' : 'Saddle Brown', // MISSING '2F4F4F' : 'Dark Slate Gray', // MISSING '008080' : 'Teal', // MISSING '000080' : 'Navy', // MISSING '4B0082' : 'Indigo', // MISSING '696969' : 'Dark Gray', // MISSING 'B22222' : 'Fire Brick', // MISSING 'A52A2A' : 'Brown', // MISSING 'DAA520' : 'Golden Rod', // MISSING '006400' : 'Dark Green', // MISSING '40E0D0' : 'Turquoise', // MISSING '0000CD' : 'Medium Blue', // MISSING '800080' : 'Purple', // MISSING '808080' : 'Gray', // MISSING 'F00' : 'Red', // MISSING 'FF8C00' : 'Dark Orange', // MISSING 'FFD700' : 'Gold', // MISSING '008000' : 'Green', // MISSING '0FF' : 'Cyan', // MISSING '00F' : 'Blue', // MISSING 'EE82EE' : 'Violet', // MISSING 'A9A9A9' : 'Dim Gray', // MISSING 'FFA07A' : 'Light Salmon', // MISSING 'FFA500' : 'Orange', // MISSING 'FFFF00' : 'Yellow', // MISSING '00FF00' : 'Lime', // MISSING 'AFEEEE' : 'Pale Turquoise', // MISSING 'ADD8E6' : 'Light Blue', // MISSING 'DDA0DD' : 'Plum', // MISSING 'D3D3D3' : 'Light Grey', // MISSING 'FFF0F5' : 'Lavender Blush', // MISSING 'FAEBD7' : 'Antique White', // MISSING 'FFFFE0' : 'Light Yellow', // MISSING 'F0FFF0' : 'Honeydew', // MISSING 'F0FFFF' : 'Azure', // MISSING 'F0F8FF' : 'Alice Blue', // MISSING 'E6E6FA' : 'Lavender', // MISSING 'FFF' : 'White' // MISSING }, scayt : { title : 'Spell Check As You Type', // MISSING opera_title : 'Not supported by Opera', // MISSING enable : 'Enable SCAYT', // MISSING disable : 'Disable SCAYT', // MISSING about : 'About SCAYT', // MISSING toggle : 'Toggle SCAYT', // MISSING options : 'Options', // MISSING langs : 'Languages', // MISSING moreSuggestions : 'More suggestions', // MISSING ignore : 'Ignore', // MISSING ignoreAll : 'Ignore All', // MISSING addWord : 'Add Word', // MISSING emptyDic : 'Dictionary name should not be empty.', // MISSING optionsTab : 'Options', // MISSING allCaps : 'Ignore All-Caps Words', // MISSING ignoreDomainNames : 'Ignore Domain Names', // MISSING mixedCase : 'Ignore Words with Mixed Case', // MISSING mixedWithDigits : 'Ignore Words with Numbers', // MISSING languagesTab : 'Languages', // MISSING dictionariesTab : 'Dictionaries', // MISSING dic_field_name : 'Dictionary name', // MISSING dic_create : 'Create', // MISSING dic_restore : 'Restore', // MISSING dic_delete : 'Delete', // MISSING dic_rename : 'Rename', // MISSING dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING aboutTab : 'About' // MISSING }, about : { title : 'About CKEditor', dlgTitle : 'About CKEditor', // MISSING help : 'Check $1 for help.', // MISSING userGuide : 'CKEditor User\'s Guide', // MISSING moreInfo : 'For licensing information please visit our web site:', copy : 'Copyright &copy; $1. All rights reserved.' }, maximize : 'Maximize', minimize : 'Minimize', // MISSING fakeobjects : { anchor : 'Anchor', // MISSING flash : 'Flash Animation', // MISSING iframe : 'IFrame', // MISSING hiddenfield : 'Hidden Field', // MISSING unknown : 'Unknown Object' // MISSING }, resize : 'Drag to resize', // MISSING colordialog : { title : 'Select color', // MISSING options : 'Color Options', // MISSING highlight : 'Highlight', // MISSING selected : 'Selected Color', // MISSING clear : 'Clear' // MISSING }, toolbarCollapse : 'Collapse Toolbar', // MISSING toolbarExpand : 'Expand Toolbar', // MISSING toolbarGroups : { document : 'Document', // MISSING clipboard : 'Clipboard/Undo', // MISSING editing : 'Editing', // MISSING forms : 'Forms', // MISSING basicstyles : 'Basic Styles', // MISSING paragraph : 'Paragraph', // MISSING links : 'Links', // MISSING insert : 'Insert', // MISSING styles : 'Styles', // MISSING colors : 'Colors', // MISSING tools : 'Tools' // MISSING }, bidi : { ltr : 'Text direction from left to right', // MISSING rtl : 'Text direction from right to left' // MISSING }, docprops : { label : 'Document Properties', // MISSING title : 'Document Properties', // MISSING design : 'Design', // MISSING meta : 'Meta Tags', // MISSING chooseColor : 'Choose', // MISSING other : 'Other...', // MISSING docTitle : 'Page Title', // MISSING charset : 'Character Set Encoding', // MISSING charsetOther : 'Other Character Set Encoding', // MISSING charsetASCII : 'ASCII', // MISSING charsetCE : 'Central European', // MISSING charsetCT : 'Chinese Traditional (Big5)', // MISSING charsetCR : 'Cyrillic', // MISSING charsetGR : 'Greek', // MISSING charsetJP : 'Japanese', // MISSING charsetKR : 'Korean', // MISSING charsetTR : 'Turkish', // MISSING charsetUN : 'Unicode (UTF-8)', // MISSING charsetWE : 'Western European', // MISSING docType : 'Document Type Heading', // MISSING docTypeOther : 'Other Document Type Heading', // MISSING xhtmlDec : 'Include XHTML Declarations', // MISSING bgColor : 'Background Color', // MISSING bgImage : 'Background Image URL', // MISSING bgFixed : 'Non-scrolling (Fixed) Background', // MISSING txtColor : 'Text Color', // MISSING margin : 'Page Margins', // MISSING marginTop : 'Top', // MISSING marginLeft : 'Left', // MISSING marginRight : 'Right', // MISSING marginBottom : 'Bottom', // MISSING metaKeywords : 'Document Indexing Keywords (comma separated)', // MISSING metaDescription : 'Document Description', // MISSING metaAuthor : 'Author', // MISSING metaCopyright : 'Copyright', // MISSING previewHtml : '<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>' // MISSING } };
zysms
trunk/zysms/include/ckeditor/_source/lang/en-au.js
JavaScript
asf20
25,465
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'menu', { beforeInit : function( editor ) { var groups = editor.config.menu_groups.split( ',' ), groupsOrder = editor._.menuGroups = {}, menuItems = editor._.menuItems = {}; for ( var i = 0 ; i < groups.length ; i++ ) groupsOrder[ groups[ i ] ] = i + 1; /** * Registers an item group to the editor context menu in order to make it * possible to associate it with menu items later. * @name CKEDITOR.editor.prototype.addMenuGroup * @param {String} name Specify a group name. * @param {Number} [order=100] Define the display sequence of this group * inside the menu. A smaller value gets displayed first. */ editor.addMenuGroup = function( name, order ) { groupsOrder[ name ] = order || 100; }; /** * Adds an item from the specified definition to the editor context menu. * @name CKEDITOR.editor.prototype.addMenuItem * @param {String} name The menu item name. * @param {CKEDITOR.menu.definition} definition The menu item definition. */ editor.addMenuItem = function( name, definition ) { if ( groupsOrder[ definition.group ] ) menuItems[ name ] = new CKEDITOR.menuItem( this, name, definition ); }; /** * Adds one or more items from the specified definition array to the editor context menu. * @name CKEDITOR.editor.prototype.addMenuItems * @param {Array} definitions List of definitions for each menu item as if {@link CKEDITOR.editor.addMenuItem} is called. */ editor.addMenuItems = function( definitions ) { for ( var itemName in definitions ) { this.addMenuItem( itemName, definitions[ itemName ] ); } }; /** * Retrieves a particular menu item definition from the editor context menu. * @name CKEDITOR.editor.prototype.getMenuItem * @param {String} name The name of the desired menu item. * @return {CKEDITOR.menu.definition} */ editor.getMenuItem = function( name ) { return menuItems[ name ]; }; /** * Removes a particular menu item added before from the editor context menu. * @name CKEDITOR.editor.prototype.removeMenuItem * @param {String} name The name of the desired menu item. * @since 3.6.1 */ editor.removeMenuItem = function( name ) { delete menuItems[ name ]; }; }, requires : [ 'floatpanel' ] }); (function() { CKEDITOR.menu = CKEDITOR.tools.createClass( { $ : function( editor, definition ) { definition = this._.definition = definition || {}; this.id = CKEDITOR.tools.getNextId(); this.editor = editor; this.items = []; this._.listeners = []; this._.level = definition.level || 1; var panelDefinition = CKEDITOR.tools.extend( {}, definition.panel, { css : editor.skin.editor.css, level : this._.level - 1, block : {} } ); var attrs = panelDefinition.block.attributes = ( panelDefinition.attributes || {} ); // Provide default role of 'menu'. !attrs.role && ( attrs.role = 'menu' ); this._.panelDefinition = panelDefinition; }, _ : { onShow : function() { var selection = this.editor.getSelection(); // Selection will be unavailable after menu shows up // in IE, lock it now. if ( CKEDITOR.env.ie ) selection && selection.lock(); var element = selection && selection.getStartElement(), listeners = this._.listeners, includedItems = []; this.removeAll(); // Call all listeners, filling the list of items to be displayed. for ( var i = 0 ; i < listeners.length ; i++ ) { var listenerItems = listeners[ i ]( element, selection ); if ( listenerItems ) { for ( var itemName in listenerItems ) { var item = this.editor.getMenuItem( itemName ); if ( item && ( !item.command || this.editor.getCommand( item.command ).state ) ) { item.state = listenerItems[ itemName ]; this.add( item ); } } } } }, onClick : function( item ) { this.hide( false ); if ( item.onClick ) item.onClick(); else if ( item.command ) this.editor.execCommand( item.command ); }, onEscape : function( keystroke ) { var parent = this.parent; // 1. If it's sub-menu, restore the last focused item // of upper level menu. // 2. In case of a top-menu, close it. if ( parent ) { parent._.panel.hideChild(); // Restore parent block item focus. var parentBlock = parent._.panel._.panel._.currentBlock, parentFocusIndex = parentBlock._.focusIndex; parentBlock._.markItem( parentFocusIndex ); } else if ( keystroke == 27 ) this.hide(); return false; }, onHide : function() { if ( CKEDITOR.env.ie ) { var selection = this.editor.getSelection(); selection && selection.unlock(); } this.onHide && this.onHide(); }, showSubMenu : function( index ) { var menu = this._.subMenu, item = this.items[ index ], subItemDefs = item.getItems && item.getItems(); // If this item has no subitems, we just hide the submenu, if // available, and return back. if ( !subItemDefs ) { this._.panel.hideChild(); return; } // Record parent menu focused item first (#3389). var block = this._.panel.getBlock( this.id ); block._.focusIndex = index; // Create the submenu, if not available, or clean the existing // one. if ( menu ) menu.removeAll(); else { menu = this._.subMenu = new CKEDITOR.menu( this.editor, CKEDITOR.tools.extend( {}, this._.definition, { level : this._.level + 1 }, true ) ); menu.parent = this; menu._.onClick = CKEDITOR.tools.bind( this._.onClick, this ); } // Add all submenu items to the menu. for ( var subItemName in subItemDefs ) { var subItem = this.editor.getMenuItem( subItemName ); if ( subItem ) { subItem.state = subItemDefs[ subItemName ]; menu.add( subItem ); } } // Get the element representing the current item. var element = this._.panel.getBlock( this.id ).element.getDocument().getById( this.id + String( index ) ); // Show the submenu. menu.show( element, 2 ); } }, proto : { add : function( item ) { // Later we may sort the items, but Array#sort is not stable in // some browsers, here we're forcing the original sequence with // 'order' attribute if it hasn't been assigned. (#3868) if ( !item.order ) item.order = this.items.length; this.items.push( item ); }, removeAll : function() { this.items = []; }, show : function( offsetParent, corner, offsetX, offsetY ) { // Not for sub menu. if ( !this.parent ) { this._.onShow(); // Don't menu with zero items. if ( ! this.items.length ) return; } corner = corner || ( this.editor.lang.dir == 'rtl' ? 2 : 1 ); var items = this.items, editor = this.editor, panel = this._.panel, element = this._.element; // Create the floating panel for this menu. if ( !panel ) { panel = this._.panel = new CKEDITOR.ui.floatPanel( this.editor, CKEDITOR.document.getBody(), this._.panelDefinition, this._.level ); panel.onEscape = CKEDITOR.tools.bind( function( keystroke ) { if ( this._.onEscape( keystroke ) === false ) return false; }, this ); panel.onHide = CKEDITOR.tools.bind( function() { this._.onHide && this._.onHide(); }, this ); // Create an autosize block inside the panel. var block = panel.addBlock( this.id, this._.panelDefinition.block ); block.autoSize = true; var keys = block.keys; keys[ 40 ] = 'next'; // ARROW-DOWN keys[ 9 ] = 'next'; // TAB keys[ 38 ] = 'prev'; // ARROW-UP keys[ CKEDITOR.SHIFT + 9 ] = 'prev'; // SHIFT + TAB keys[ ( editor.lang.dir == 'rtl' ? 37 : 39 ) ]= CKEDITOR.env.ie ? 'mouseup' : 'click'; // ARROW-RIGHT/ARROW-LEFT(rtl) keys[ 32 ] = CKEDITOR.env.ie ? 'mouseup' : 'click'; // SPACE CKEDITOR.env.ie && ( keys[ 13 ] = 'mouseup' ); // Manage ENTER, since onclick is blocked in IE (#8041). element = this._.element = block.element; element.addClass( editor.skinClass ); var elementDoc = element.getDocument(); elementDoc.getBody().setStyle( 'overflow', 'hidden' ); elementDoc.getElementsByTag( 'html' ).getItem( 0 ).setStyle( 'overflow', 'hidden' ); this._.itemOverFn = CKEDITOR.tools.addFunction( function( index ) { clearTimeout( this._.showSubTimeout ); this._.showSubTimeout = CKEDITOR.tools.setTimeout( this._.showSubMenu, editor.config.menu_subMenuDelay || 400, this, [ index ] ); }, this ); this._.itemOutFn = CKEDITOR.tools.addFunction( function( index ) { clearTimeout( this._.showSubTimeout ); }, this ); this._.itemClickFn = CKEDITOR.tools.addFunction( function( index ) { var item = this.items[ index ]; if ( item.state == CKEDITOR.TRISTATE_DISABLED ) { this.hide(); return; } if ( item.getItems ) this._.showSubMenu( index ); else this._.onClick( item ); }, this ); } // Put the items in the right order. sortItems( items ); var chromeRoot = editor.container.getChild( 1 ), mixedContentClass = chromeRoot.hasClass( 'cke_mixed_dir_content' ) ? ' cke_mixed_dir_content' : ''; // Build the HTML that composes the menu and its items. var output = [ '<div class="cke_menu' + mixedContentClass + '" role="presentation">' ]; var length = items.length, lastGroup = length && items[ 0 ].group; for ( var i = 0 ; i < length ; i++ ) { var item = items[ i ]; if ( lastGroup != item.group ) { output.push( '<div class="cke_menuseparator" role="separator"></div>' ); lastGroup = item.group; } item.render( this, i, output ); } output.push( '</div>' ); // Inject the HTML inside the panel. element.setHtml( output.join( '' ) ); CKEDITOR.ui.fire( 'ready', this ); // Show the panel. if ( this.parent ) this.parent._.panel.showAsChild( panel, this.id, offsetParent, corner, offsetX, offsetY ); else panel.showBlock( this.id, offsetParent, corner, offsetX, offsetY ); editor.fire( 'menuShow', [ panel ] ); }, addListener : function( listenerFn ) { this._.listeners.push( listenerFn ); }, hide : function( returnFocus ) { this._.onHide && this._.onHide(); this._.panel && this._.panel.hide( returnFocus ); } } }); function sortItems( items ) { items.sort( function( itemA, itemB ) { if ( itemA.group < itemB.group ) return -1; else if ( itemA.group > itemB.group ) return 1; return itemA.order < itemB.order ? -1 : itemA.order > itemB.order ? 1 : 0; }); } CKEDITOR.menuItem = CKEDITOR.tools.createClass( { $ : function( editor, name, definition ) { CKEDITOR.tools.extend( this, definition, // Defaults { order : 0, className : 'cke_button_' + name }); // Transform the group name into its order number. this.group = editor._.menuGroups[ this.group ]; this.editor = editor; this.name = name; }, proto : { render : function( menu, index, output ) { var id = menu.id + String( index ), state = ( typeof this.state == 'undefined' ) ? CKEDITOR.TRISTATE_OFF : this.state; var classes = ' cke_' + ( state == CKEDITOR.TRISTATE_ON ? 'on' : state == CKEDITOR.TRISTATE_DISABLED ? 'disabled' : 'off' ); var htmlLabel = this.label; if ( this.className ) classes += ' ' + this.className; var hasSubMenu = this.getItems; output.push( '<span class="cke_menuitem' + ( this.icon && this.icon.indexOf( '.png' ) == -1 ? ' cke_noalphafix' : '' ) + '">' + '<a id="', id, '"' + ' class="', classes, '" href="javascript:void(\'', ( this.label || '' ).replace( "'", '' ), '\')"' + ' title="', this.label, '"' + ' tabindex="-1"' + '_cke_focus=1' + ' hidefocus="true"' + ' role="menuitem"' + ( hasSubMenu ? 'aria-haspopup="true"' : '' ) + ( state == CKEDITOR.TRISTATE_DISABLED ? 'aria-disabled="true"' : '' ) + ( state == CKEDITOR.TRISTATE_ON ? 'aria-pressed="true"' : '' ) ); // Some browsers don't cancel key events in the keydown but in the // keypress. // TODO: Check if really needed for Gecko+Mac. if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) ) { output.push( ' onkeypress="return false;"' ); } // With Firefox, we need to force the button to redraw, otherwise it // will remain in the focus state. if ( CKEDITOR.env.gecko ) { output.push( ' onblur="this.style.cssText = this.style.cssText;"' ); } var offset = ( this.iconOffset || 0 ) * -16; output.push( // ' onkeydown="return CKEDITOR.ui.button._.keydown(', index, ', event);"' + ' onmouseover="CKEDITOR.tools.callFunction(', menu._.itemOverFn, ',', index, ');"' + ' onmouseout="CKEDITOR.tools.callFunction(', menu._.itemOutFn, ',', index, ');" ' + ( CKEDITOR.env.ie ? 'onclick="return false;" onmouseup' : 'onclick' ) + // #188 '="CKEDITOR.tools.callFunction(', menu._.itemClickFn, ',', index, '); return false;"' + '>' + '<span class="cke_icon_wrapper"><span class="cke_icon"' + ( this.icon ? ' style="background-image:url(' + CKEDITOR.getUrl( this.icon ) + ');background-position:0 ' + offset + 'px;"' : '' ) + '></span></span>' + '<span class="cke_label">' ); if ( hasSubMenu ) { output.push( '<span class="cke_menuarrow">', '<span>&#', ( this.editor.lang.dir == 'rtl' ? '9668' : // BLACK LEFT-POINTING POINTER '9658' ), // BLACK RIGHT-POINTING POINTER ';</span>', '</span>' ); } output.push( htmlLabel, '</span>' + '</a>' + '</span>' ); } } }); })(); /** * The amount of time, in milliseconds, the editor waits before displaying submenu * options when moving the mouse over options that contain submenus, like the * "Cell Properties" entry for tables. * @type Number * @default 400 * @example * // Remove the submenu delay. * config.menu_subMenuDelay = 0; */ /** * A comma separated list of items group names to be displayed in the context * menu. The order of items will reflect the order specified in this list if * no priority was defined in the groups. * @type String * @default 'clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea' * @example * config.menu_groups = 'clipboard,table,anchor,link,image'; */ CKEDITOR.config.menu_groups = 'clipboard,' + 'form,' + 'tablecell,tablecellproperties,tablerow,tablecolumn,table,'+ 'anchor,link,image,flash,' + 'checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div';
zysms
trunk/zysms/include/ckeditor/_source/plugins/menu/plugin.js
JavaScript
asf20
15,890
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview The "placeholder" plugin. * */ (function() { var placeholderReplaceRegex = /\[\[[^\]]+\]\]/g; CKEDITOR.plugins.add( 'placeholder', { requires : [ 'dialog' ], lang : [ 'en', 'he' ], init : function( editor ) { var lang = editor.lang.placeholder; editor.addCommand( 'createplaceholder', new CKEDITOR.dialogCommand( 'createplaceholder' ) ); editor.addCommand( 'editplaceholder', new CKEDITOR.dialogCommand( 'editplaceholder' ) ); editor.ui.addButton( 'CreatePlaceholder', { label : lang.toolbar, command :'createplaceholder', icon : this.path + 'placeholder.gif' }); if ( editor.addMenuItems ) { editor.addMenuGroup( 'placeholder', 20 ); editor.addMenuItems( { editplaceholder : { label : lang.edit, command : 'editplaceholder', group : 'placeholder', order : 1, icon : this.path + 'placeholder.gif' } } ); if ( editor.contextMenu ) { editor.contextMenu.addListener( function( element, selection ) { if ( !element || !element.data( 'cke-placeholder' ) ) return null; return { editplaceholder : CKEDITOR.TRISTATE_OFF }; } ); } } editor.on( 'doubleclick', function( evt ) { if ( CKEDITOR.plugins.placeholder.getSelectedPlaceHoder( editor ) ) evt.data.dialog = 'editplaceholder'; }); editor.addCss( '.cke_placeholder' + '{' + 'background-color: #ffff00;' + ( CKEDITOR.env.gecko ? 'cursor: default;' : '' ) + '}' ); editor.on( 'contentDom', function() { editor.document.getBody().on( 'resizestart', function( evt ) { if ( editor.getSelection().getSelectedElement().data( 'cke-placeholder' ) ) evt.data.preventDefault(); }); }); CKEDITOR.dialog.add( 'createplaceholder', this.path + 'dialogs/placeholder.js' ); CKEDITOR.dialog.add( 'editplaceholder', this.path + 'dialogs/placeholder.js' ); }, afterInit : function( editor ) { var dataProcessor = editor.dataProcessor, dataFilter = dataProcessor && dataProcessor.dataFilter, htmlFilter = dataProcessor && dataProcessor.htmlFilter; if ( dataFilter ) { dataFilter.addRules( { text : function( text ) { return text.replace( placeholderReplaceRegex, function( match ) { return CKEDITOR.plugins.placeholder.createPlaceholder( editor, null, match, 1 ); }); } }); } if ( htmlFilter ) { htmlFilter.addRules( { elements : { 'span' : function( element ) { if ( element.attributes && element.attributes[ 'data-cke-placeholder' ] ) delete element.name; } } }); } } }); })(); CKEDITOR.plugins.placeholder = { createPlaceholder : function( editor, oldElement, text, isGet ) { var element = new CKEDITOR.dom.element( 'span', editor.document ); element.setAttributes( { contentEditable : 'false', 'data-cke-placeholder' : 1, 'class' : 'cke_placeholder' } ); text && element.setText( text ); if ( isGet ) return element.getOuterHtml(); if ( oldElement ) { if ( CKEDITOR.env.ie ) { element.insertAfter( oldElement ); // Some time is required for IE before the element is removed. setTimeout( function() { oldElement.remove(); element.focus(); }, 10 ); } else element.replace( oldElement ); } else editor.insertElement( element ); return null; }, getSelectedPlaceHoder : function( editor ) { var range = editor.getSelection().getRanges()[ 0 ]; range.shrink( CKEDITOR.SHRINK_TEXT ); var node = range.startContainer; while( node && !( node.type == CKEDITOR.NODE_ELEMENT && node.data( 'cke-placeholder' ) ) ) node = node.getParent(); return node; } };
zysms
trunk/zysms/include/ckeditor/_source/plugins/placeholder/plugin.js
JavaScript
asf20
4,173
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'placeholder', 'en', { placeholder : { title : 'Placeholder Properties', toolbar : 'Create Placeholder', text : 'Placeholder Text', edit : 'Edit Placeholder', textMissing : 'The placeholder must contain text.' } });
zysms
trunk/zysms/include/ckeditor/_source/plugins/placeholder/lang/en.js
JavaScript
asf20
424
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'placeholder', 'he', { placeholder : { title : 'מאפייני שומר מקום', toolbar : 'צור שומר מקום', text : 'תוכן שומר המקום', edit : 'ערוך שומר מקום', textMissing : 'שומר המקום חייב להכיל טקסט.' } });
zysms
trunk/zysms/include/ckeditor/_source/plugins/placeholder/lang/he.js
JavaScript
asf20
477
/* * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { function placeholderDialog( editor, isEdit ) { var lang = editor.lang.placeholder, generalLabel = editor.lang.common.generalTab; return { title : lang.title, minWidth : 300, minHeight : 80, contents : [ { id : 'info', label : generalLabel, title : generalLabel, elements : [ { id : 'text', type : 'text', style : 'width: 100%;', label : lang.text, 'default' : '', required : true, validate : CKEDITOR.dialog.validate.notEmpty( lang.textMissing ), setup : function( element ) { if ( isEdit ) this.setValue( element.getText().slice( 2, -2 ) ); }, commit : function( element ) { var text = '[[' + this.getValue() + ']]'; // The placeholder must be recreated. CKEDITOR.plugins.placeholder.createPlaceholder( editor, element, text ); } } ] } ], onShow : function() { if ( isEdit ) this._element = CKEDITOR.plugins.placeholder.getSelectedPlaceHoder( editor ); this.setupContent( this._element ); }, onOk : function() { this.commitContent( this._element ); delete this._element; } }; } CKEDITOR.dialog.add( 'createplaceholder', function( editor ) { return placeholderDialog( editor ); }); CKEDITOR.dialog.add( 'editplaceholder', function( editor ) { return placeholderDialog( editor, 1 ); }); } )();
zysms
trunk/zysms/include/ckeditor/_source/plugins/placeholder/dialogs/placeholder.js
JavaScript
asf20
1,704
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'removeformat', { requires : [ 'selection' ], init : function( editor ) { editor.addCommand( 'removeFormat', CKEDITOR.plugins.removeformat.commands.removeformat ); editor.ui.addButton( 'RemoveFormat', { label : editor.lang.removeFormat, command : 'removeFormat' }); editor._.removeFormat = { filters: [] }; } }); CKEDITOR.plugins.removeformat = { commands : { removeformat : { exec : function( editor ) { var tagsRegex = editor._.removeFormatRegex || ( editor._.removeFormatRegex = new RegExp( '^(?:' + editor.config.removeFormatTags.replace( /,/g,'|' ) + ')$', 'i' ) ); var removeAttributes = editor._.removeAttributes || ( editor._.removeAttributes = editor.config.removeFormatAttributes.split( ',' ) ); var filter = CKEDITOR.plugins.removeformat.filter; var ranges = editor.getSelection().getRanges( 1 ), iterator = ranges.createIterator(), range; while ( ( range = iterator.getNextRange() ) ) { if ( ! range.collapsed ) range.enlarge( CKEDITOR.ENLARGE_ELEMENT ); // Bookmark the range so we can re-select it after processing. var bookmark = range.createBookmark(), // The style will be applied within the bookmark boundaries. startNode = bookmark.startNode, endNode = bookmark.endNode, currentNode; // 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> var breakParent = function( node ) { // Let's start checking the start boundary. var path = new CKEDITOR.dom.elementPath( node ), pathElements = path.elements; for ( var i = 1, pathElement ; pathElement = pathElements[ i ] ; i++ ) { if ( pathElement.equals( path.block ) || pathElement.equals( path.blockLimit ) ) break; // If this element can be removed (even partially). if ( tagsRegex.test( pathElement.getName() ) && filter( editor, pathElement ) ) node.breakParent( pathElement ); } }; breakParent( startNode ); if ( endNode ) { breakParent( endNode ); // Navigate through all nodes between the bookmarks. currentNode = startNode.getNextSourceNode( true, CKEDITOR.NODE_ELEMENT ); while ( currentNode ) { // If we have reached the end of the selection, stop looping. if ( currentNode.equals( endNode ) ) break; // Cache the next node to be processed. Do it now, because // currentNode may be removed. var nextNode = currentNode.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT ); // This node must not be a fake element. if ( !( currentNode.getName() == 'img' && currentNode.data( 'cke-realelement' ) ) && filter( editor, currentNode ) ) { // Remove elements nodes that match with this style rules. if ( tagsRegex.test( currentNode.getName() ) ) currentNode.remove( 1 ); else { currentNode.removeAttributes( removeAttributes ); editor.fire( 'removeFormatCleanup', currentNode ); } } currentNode = nextNode; } } range.moveToBookmark( bookmark ); } editor.getSelection().selectRanges( ranges ); } } }, /** * Perform the remove format filters on the passed element. * @param {CKEDITOR.editor} editor * @param {CKEDITOR.dom.element} element */ filter : function ( editor, element ) { var filters = editor._.removeFormat.filters; for ( var i = 0; i < filters.length; i++ ) { if ( filters[ i ]( element ) === false ) return false; } return true; } }; /** * Add to a collection of functions to decide whether a specific * element should be considered as formatting element and thus * could be removed during <b>removeFormat</b> command, * Note: Only available with the existence of 'removeformat' plugin. * @since 3.3 * @param {Function} func The function to be called, which will be passed a {CKEDITOR.dom.element} element to test. * @example * // Don't remove empty span * editor.addRemoveFormatFilter.push( function( element ) * { * return !( element.is( 'span' ) && CKEDITOR.tools.isEmpty( element.getAttributes() ) ); * }); */ CKEDITOR.editor.prototype.addRemoveFormatFilter = function( func ) { this._.removeFormat.filters.push( func ); }; /** * A comma separated list of elements to be removed when executing the "remove " format" command. Note that only inline elements are allowed. * @type String * @default 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var' * @example */ CKEDITOR.config.removeFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var'; /** * A comma separated list of elements attributes to be removed when executing * the "remove format" command. * @type String * @default 'class,style,lang,width,height,align,hspace,valign' * @example */ CKEDITOR.config.removeFormatAttributes = 'class,style,lang,width,height,align,hspace,valign'; /** * Fired after an element was cleaned by the removeFormat plugin. * @name CKEDITOR.editor#removeFormatCleanup * @event * @param {Object} data.element The element that was cleaned up. */
zysms
trunk/zysms/include/ckeditor/_source/plugins/removeformat/plugin.js
JavaScript
asf20
6,147
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'panelbutton', { requires : [ 'button' ], onLoad : function() { function clickFn( editor ) { var _ = this._; if ( _.state == CKEDITOR.TRISTATE_DISABLED ) return; this.createPanel( editor ); if ( _.on ) { _.panel.hide(); return; } _.panel.showBlock( this._.id, this.document.getById( this._.id ), 4 ); } CKEDITOR.ui.panelButton = CKEDITOR.tools.createClass( { base : CKEDITOR.ui.button, $ : function( definition ) { // We don't want the panel definition in this object. var panelDefinition = definition.panel; delete definition.panel; this.base( definition ); this.document = ( panelDefinition && panelDefinition.parent && panelDefinition.parent.getDocument() ) || CKEDITOR.document; panelDefinition.block = { attributes : panelDefinition.attributes }; this.hasArrow = true; this.click = clickFn; this._ = { panelDefinition : panelDefinition }; }, statics : { handler : { create : function( definition ) { return new CKEDITOR.ui.panelButton( definition ); } } }, proto : { createPanel : function( editor ) { var _ = this._; if ( _.panel ) return; var panelDefinition = this._.panelDefinition || {}, panelBlockDefinition = this._.panelDefinition.block, panelParentElement = panelDefinition.parent || CKEDITOR.document.getBody(), panel = this._.panel = new CKEDITOR.ui.floatPanel( editor, panelParentElement, panelDefinition ), block = panel.addBlock( _.id, panelBlockDefinition ), me = this; panel.onShow = function() { if ( me.className ) this.element.getFirst().addClass( me.className + '_panel' ); me.setState( CKEDITOR.TRISTATE_ON ); _.on = 1; if ( me.onOpen ) me.onOpen(); }; panel.onHide = function( preventOnClose ) { if ( me.className ) this.element.getFirst().removeClass( me.className + '_panel' ); me.setState( me.modes && me.modes[ editor.mode ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED ); _.on = 0; if ( !preventOnClose && me.onClose ) me.onClose(); }; panel.onEscape = function() { panel.hide(); me.document.getById( _.id ).focus(); }; if ( this.onBlock ) this.onBlock( panel, block ); block.onHide = function() { _.on = 0; me.setState( CKEDITOR.TRISTATE_OFF ); }; } } }); }, beforeInit : function( editor ) { editor.ui.addHandler( CKEDITOR.UI_PANELBUTTON, CKEDITOR.ui.panelButton.handler ); } }); /** * Button UI element. * @constant * @example */ CKEDITOR.UI_PANELBUTTON = 'panelbutton';
zysms
trunk/zysms/include/ckeditor/_source/plugins/panelbutton/plugin.js
JavaScript
asf20
3,125
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'popup' ); CKEDITOR.tools.extend( CKEDITOR.editor.prototype, { /** * Opens Browser in a popup. The "width" and "height" parameters accept * numbers (pixels) or percent (of screen size) values. * @param {String} url The url of the external file browser. * @param {String} width Popup window width. * @param {String} height Popup window height. * @param {String} options Popup window features. */ popup : function( url, width, height, options ) { width = width || '80%'; height = height || '70%'; if ( typeof width == 'string' && width.length > 1 && width.substr( width.length - 1, 1 ) == '%' ) width = parseInt( window.screen.width * parseInt( width, 10 ) / 100, 10 ); if ( typeof height == 'string' && height.length > 1 && height.substr( height.length - 1, 1 ) == '%' ) height = parseInt( window.screen.height * parseInt( height, 10 ) / 100, 10 ); if ( width < 640 ) width = 640; if ( height < 420 ) height = 420; var top = parseInt( ( window.screen.height - height ) / 2, 10 ), left = parseInt( ( window.screen.width - width ) / 2, 10 ); options = ( options || 'location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes' ) + ',width=' + width + ',height=' + height + ',top=' + top + ',left=' + left; var popupWindow = window.open( '', null, options, true ); // Blocked by a popup blocker. if ( !popupWindow ) return false; try { popupWindow.moveTo( left, top ); popupWindow.resizeTo( width, height ); popupWindow.focus(); popupWindow.location.href = url; } catch ( e ) { popupWindow = window.open( url, null, options, true ); } return true; } });
zysms
trunk/zysms/include/ckeditor/_source/plugins/popup/plugin.js
JavaScript
asf20
1,957
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview The "toolbar" plugin. Renders the default toolbar interface in * the editor. */ (function() { var toolbox = function() { this.toolbars = []; this.focusCommandExecuted = false; }; toolbox.prototype.focus = function() { for ( var t = 0, toolbar ; toolbar = this.toolbars[ t++ ] ; ) { for ( var i = 0, item ; item = toolbar.items[ i++ ] ; ) { if ( item.focus ) { item.focus(); return; } } } }; var commands = { toolbarFocus : { modes : { wysiwyg : 1, source : 1 }, readOnly : 1, exec : function( editor ) { if ( editor.toolbox ) { editor.toolbox.focusCommandExecuted = true; // Make the first button focus accessible for IE. (#3417) // Adobe AIR instead need while of delay. if ( CKEDITOR.env.ie || CKEDITOR.env.air ) setTimeout( function(){ editor.toolbox.focus(); }, 100 ); else editor.toolbox.focus(); } } } }; CKEDITOR.plugins.add( 'toolbar', { init : function( editor ) { var endFlag; var itemKeystroke = function( item, keystroke ) { var next, toolbar; var rtl = editor.lang.dir == 'rtl', toolbarGroupCycling = editor.config.toolbarGroupCycling; toolbarGroupCycling = toolbarGroupCycling === undefined || toolbarGroupCycling; switch ( keystroke ) { case 9 : // TAB case CKEDITOR.SHIFT + 9 : // SHIFT + TAB // Cycle through the toolbars, starting from the one // closest to the current item. while ( !toolbar || !toolbar.items.length ) { toolbar = keystroke == 9 ? ( ( toolbar ? toolbar.next : item.toolbar.next ) || editor.toolbox.toolbars[ 0 ] ) : ( ( toolbar ? toolbar.previous : item.toolbar.previous ) || editor.toolbox.toolbars[ editor.toolbox.toolbars.length - 1 ] ); // Look for the first item that accepts focus. if ( toolbar.items.length ) { item = toolbar.items[ endFlag ? ( toolbar.items.length - 1 ) : 0 ]; while ( item && !item.focus ) { item = endFlag ? item.previous : item.next; if ( !item ) toolbar = 0; } } } if ( item ) item.focus(); return false; case rtl ? 37 : 39 : // RIGHT-ARROW case 40 : // DOWN-ARROW next = item; do { // Look for the next item in the toolbar. next = next.next; // If it's the last item, cycle to the first one. if ( !next && toolbarGroupCycling ) next = item.toolbar.items[ 0 ]; } while ( next && !next.focus ) // If available, just focus it, otherwise focus the // first one. if ( next ) next.focus(); else // Send a TAB. itemKeystroke( item, 9 ); return false; case rtl ? 39 : 37 : // LEFT-ARROW case 38 : // UP-ARROW next = item; do { // Look for the previous item in the toolbar. next = next.previous; // If it's the first item, cycle to the last one. if ( !next && toolbarGroupCycling ) next = item.toolbar.items[ item.toolbar.items.length - 1 ]; } while ( next && !next.focus ) // If available, just focus it, otherwise focus the // last one. if ( next ) next.focus(); else { endFlag = 1; // Send a SHIFT + TAB. itemKeystroke( item, CKEDITOR.SHIFT + 9 ); endFlag = 0; } return false; case 27 : // ESC editor.focus(); return false; case 13 : // ENTER case 32 : // SPACE item.execute(); return false; } return true; }; editor.on( 'themeSpace', function( event ) { if ( event.data.space == editor.config.toolbarLocation ) { editor.toolbox = new toolbox(); var labelId = CKEDITOR.tools.getNextId(); var output = [ '<div class="cke_toolbox" role="group" aria-labelledby="', labelId, '" onmousedown="return false;"' ], expanded = editor.config.toolbarStartupExpanded !== false, groupStarted; output.push( expanded ? '>' : ' style="display:none">' ); // Sends the ARIA label. output.push( '<span id="', labelId, '" class="cke_voice_label">', editor.lang.toolbars, '</span>' ); var toolbars = editor.toolbox.toolbars, toolbar = ( editor.config.toolbar instanceof Array ) ? editor.config.toolbar : editor.config[ 'toolbar_' + editor.config.toolbar ]; for ( var r = 0 ; r < toolbar.length ; r++ ) { var toolbarId, toolbarObj = 0, toolbarName, row = toolbar[ r ], items; // It's better to check if the row object is really // available because it's a common mistake to leave // an extra comma in the toolbar definition // settings, which leads on the editor not loading // at all in IE. (#3983) if ( !row ) continue; if ( groupStarted ) { output.push( '</div>' ); groupStarted = 0; } if ( row === '/' ) { output.push( '<div class="cke_break"></div>' ); continue; } items = row.items || row; // Create all items defined for this toolbar. for ( var i = 0 ; i < items.length ; i++ ) { var item, itemName = items[ i ], canGroup; item = editor.ui.create( itemName ); if ( item ) { canGroup = item.canGroup !== false; // Initialize the toolbar first, if needed. if ( !toolbarObj ) { // Create the basic toolbar object. toolbarId = CKEDITOR.tools.getNextId(); toolbarObj = { id : toolbarId, items : [] }; toolbarName = row.name && ( editor.lang.toolbarGroups[ row.name ] || row.name ); // Output the toolbar opener. output.push( '<span id="', toolbarId, '" class="cke_toolbar"', ( toolbarName ? ' aria-labelledby="'+ toolbarId + '_label"' : '' ), ' role="toolbar">' ); // If a toolbar name is available, send the voice label. toolbarName && output.push( '<span id="', toolbarId, '_label" class="cke_voice_label">', toolbarName, '</span>' ); output.push( '<span class="cke_toolbar_start"></span>' ); // Add the toolbar to the "editor.toolbox.toolbars" // array. var index = toolbars.push( toolbarObj ) - 1; // Create the next/previous reference. if ( index > 0 ) { toolbarObj.previous = toolbars[ index - 1 ]; toolbarObj.previous.next = toolbarObj; } } if ( canGroup ) { if ( !groupStarted ) { output.push( '<span class="cke_toolgroup" role="presentation">' ); groupStarted = 1; } } else if ( groupStarted ) { output.push( '</span>' ); groupStarted = 0; } var itemObj = item.render( editor, output ); index = toolbarObj.items.push( itemObj ) - 1; if ( index > 0 ) { itemObj.previous = toolbarObj.items[ index - 1 ]; itemObj.previous.next = itemObj; } itemObj.toolbar = toolbarObj; itemObj.onkey = itemKeystroke; /* * Fix for #3052: * Prevent JAWS from focusing the toolbar after document load. */ itemObj.onfocus = function() { if ( !editor.toolbox.focusCommandExecuted ) editor.focus(); }; } } if ( groupStarted ) { output.push( '</span>' ); groupStarted = 0; } if ( toolbarObj ) output.push( '<span class="cke_toolbar_end"></span></span>' ); } output.push( '</div>' ); if ( editor.config.toolbarCanCollapse ) { var collapserFn = CKEDITOR.tools.addFunction( function() { editor.execCommand( 'toolbarCollapse' ); }); editor.on( 'destroy', function () { CKEDITOR.tools.removeFunction( collapserFn ); }); var collapserId = CKEDITOR.tools.getNextId(); editor.addCommand( 'toolbarCollapse', { readOnly : 1, exec : function( editor ) { var collapser = CKEDITOR.document.getById( collapserId ), toolbox = collapser.getPrevious(), contents = editor.getThemeSpace( 'contents' ), toolboxContainer = toolbox.getParent(), contentHeight = parseInt( contents.$.style.height, 10 ), previousHeight = toolboxContainer.$.offsetHeight, collapsed = !toolbox.isVisible(); if ( !collapsed ) { toolbox.hide(); collapser.addClass( 'cke_toolbox_collapser_min' ); collapser.setAttribute( 'title', editor.lang.toolbarExpand ); } else { toolbox.show(); collapser.removeClass( 'cke_toolbox_collapser_min' ); collapser.setAttribute( 'title', editor.lang.toolbarCollapse ); } // Update collapser symbol. collapser.getFirst().setText( collapsed ? '\u25B2' : // BLACK UP-POINTING TRIANGLE '\u25C0' ); // BLACK LEFT-POINTING TRIANGLE var dy = toolboxContainer.$.offsetHeight - previousHeight; contents.setStyle( 'height', ( contentHeight - dy ) + 'px' ); editor.fire( 'resize' ); }, modes : { wysiwyg : 1, source : 1 } } ); output.push( '<a title="' + ( expanded ? editor.lang.toolbarCollapse : editor.lang.toolbarExpand ) + '" id="' + collapserId + '" tabIndex="-1" class="cke_toolbox_collapser' ); if ( !expanded ) output.push( ' cke_toolbox_collapser_min' ); output.push( '" onclick="CKEDITOR.tools.callFunction(' + collapserFn + ')">', '<span>&#9650;</span>', // BLACK UP-POINTING TRIANGLE '</a>' ); } event.data.html += output.join( '' ); } }); editor.on( 'destroy', function() { var toolbars, index = 0, i, items, instance; toolbars = this.toolbox.toolbars; for ( ; index < toolbars.length; index++ ) { items = toolbars[ index ].items; for ( i = 0; i < items.length; i++ ) { instance = items[ i ]; if ( instance.clickFn ) CKEDITOR.tools.removeFunction( instance.clickFn ); if ( instance.keyDownFn ) CKEDITOR.tools.removeFunction( instance.keyDownFn ); } } }); editor.addCommand( 'toolbarFocus', commands.toolbarFocus ); editor.ui.add( '-', CKEDITOR.UI_SEPARATOR, {} ); editor.ui.addHandler( CKEDITOR.UI_SEPARATOR, { create: function() { return { render : function( editor, output ) { output.push( '<span class="cke_separator" role="separator"></span>' ); return {}; } }; } }); } }); })(); CKEDITOR.UI_SEPARATOR = 'separator'; /** * The "theme space" to which rendering the toolbar. For the default theme, * the recommended options are "top" and "bottom". * @type String * @default 'top' * @see CKEDITOR.config.theme * @example * config.toolbarLocation = 'bottom'; */ CKEDITOR.config.toolbarLocation = 'top'; /** * The toolbar definition. It is an array of toolbars (strips), * each one being also an array, containing a list of UI items. * Note that this setting is composed by "toolbar_" added by the toolbar name, * which in this case is called "Basic". This second part of the setting name * can be anything. You must use this name in the * {@link CKEDITOR.config.toolbar} setting, so you instruct the editor which * toolbar_(name) setting to you. * @type Array * @example * // Defines a toolbar with only one strip containing the "Source" button, a * // separator and the "Bold" and "Italic" buttons. * <b>config.toolbar_Basic = * [ * [ 'Source', '-', 'Bold', 'Italic' ] * ]</b>; * config.toolbar = 'Basic'; */ CKEDITOR.config.toolbar_Basic = [ ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About'] ]; /** * This is the default toolbar definition used by the editor. It contains all * editor features. * @type Array * @default (see example) * @example * // This is actually the default value. * config.toolbar_Full = * [ * { name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] }, * { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] }, * { name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] }, * { name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ] }, * '/', * { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] }, * { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] }, * { name: 'links', items : [ 'Link','Unlink','Anchor' ] }, * { name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak' ] }, * '/', * { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] }, * { name: 'colors', items : [ 'TextColor','BGColor' ] }, * { name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] } * ]; */ CKEDITOR.config.toolbar_Full = [ { name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] }, { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] }, { name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] }, { name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ] }, '/', { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] }, { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] }, { name: 'links', items : [ 'Link','Unlink','Anchor' ] }, { name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] }, '/', { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] }, { name: 'colors', items : [ 'TextColor','BGColor' ] }, { name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] } ]; /** * The toolbox (alias toolbar) definition. It is a toolbar name or an array of * toolbars (strips), each one being also an array, containing a list of UI items. * @type Array|String * @default 'Full' * @example * // Defines a toolbar with only one strip containing the "Source" button, a * // separator and the "Bold" and "Italic" buttons. * config.toolbar = * [ * [ 'Source', '-', 'Bold', 'Italic' ] * ]; * @example * // Load toolbar_Name where Name = Basic. * config.toolbar = 'Basic'; */ CKEDITOR.config.toolbar = 'Full'; /** * Whether the toolbar can be collapsed by the user. If disabled, the collapser * button will not be displayed. * @type Boolean * @default true * @example * config.toolbarCanCollapse = false; */ CKEDITOR.config.toolbarCanCollapse = true; /** * Whether the toolbar must start expanded when the editor is loaded. * @name CKEDITOR.config.toolbarStartupExpanded * @type Boolean * @default true * @example * config.toolbarStartupExpanded = false; */ /** * When enabled, makes the arrow keys navigation cycle within the current * toolbar group. Otherwise the arrows will move trought all items available in * the toolbar. The TAB key will still be used to quickly jump among the * toolbar groups. * @name CKEDITOR.config.toolbarGroupCycling * @since 3.6 * @type Boolean * @default true * @example * config.toolbarGroupCycling = false; */
zysms
trunk/zysms/include/ckeditor/_source/plugins/toolbar/plugin.js
JavaScript
asf20
17,132
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview The "sourcearea" plugin. It registers the "source" editing * mode, which displays the raw data being edited in the editor. */ CKEDITOR.plugins.add( 'sourcearea', { requires : [ 'editingblock' ], init : function( editor ) { var sourcearea = CKEDITOR.plugins.sourcearea, win = CKEDITOR.document.getWindow(); editor.on( 'editingBlockReady', function() { var textarea, onResize; editor.addMode( 'source', { load : function( holderElement, data ) { if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 ) holderElement.setStyle( 'position', 'relative' ); // Create the source area <textarea>. editor.textarea = textarea = new CKEDITOR.dom.element( 'textarea' ); textarea.setAttributes( { dir : 'ltr', tabIndex : CKEDITOR.env.webkit ? -1 : editor.tabIndex, 'role' : 'textbox', 'aria-label' : editor.lang.editorTitle.replace( '%1', editor.name ) }); textarea.addClass( 'cke_source' ); textarea.addClass( 'cke_enable_context_menu' ); editor.readOnly && textarea.setAttribute( 'readOnly', 'readonly' ); var styles = { // IE7 has overflow the <textarea> from wrapping table cell. width : CKEDITOR.env.ie7Compat ? '99%' : '100%', height : '100%', resize : 'none', outline : 'none', 'text-align' : 'left' }; // Having to make <textarea> fixed sized to conque the following bugs: // 1. The textarea height/width='100%' doesn't constraint to the 'td' in IE6/7. // 2. Unexpected vertical-scrolling behavior happens whenever focus is moving out of editor // if text content within it has overflowed. (#4762) if ( CKEDITOR.env.ie ) { onResize = function() { // Holder rectange size is stretched by textarea, // so hide it just for a moment. textarea.hide(); textarea.setStyle( 'height', holderElement.$.clientHeight + 'px' ); textarea.setStyle( 'width', holderElement.$.clientWidth + 'px' ); // When we have proper holder size, show textarea again. textarea.show(); }; editor.on( 'resize', onResize ); win.on( 'resize', onResize ); setTimeout( onResize, 0 ); } // Reset the holder element and append the // <textarea> to it. holderElement.setHtml( '' ); holderElement.append( textarea ); textarea.setStyles( styles ); editor.fire( 'ariaWidget', textarea ); textarea.on( 'blur', function() { editor.focusManager.blur(); }); textarea.on( 'focus', function() { editor.focusManager.focus(); }); // The editor data "may be dirty" after this point. editor.mayBeDirty = true; // Set the <textarea> value. this.loadData( data ); var keystrokeHandler = editor.keystrokeHandler; if ( keystrokeHandler ) keystrokeHandler.attach( textarea ); setTimeout( function() { editor.mode = 'source'; editor.fire( 'mode', { previousMode : editor._.previousMode } ); }, ( CKEDITOR.env.gecko || CKEDITOR.env.webkit ) ? 100 : 0 ); }, loadData : function( data ) { textarea.setValue( data ); editor.fire( 'dataReady' ); }, getData : function() { return textarea.getValue(); }, getSnapshotData : function() { return textarea.getValue(); }, unload : function( holderElement ) { textarea.clearCustomData(); editor.textarea = textarea = null; if ( onResize ) { editor.removeListener( 'resize', onResize ); win.removeListener( 'resize', onResize ); } if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 ) holderElement.removeStyle( 'position' ); }, focus : function() { textarea.focus(); } }); }); editor.on( 'readOnly', function() { if ( editor.mode == 'source' ) { if ( editor.readOnly ) editor.textarea.setAttribute( 'readOnly', 'readonly' ); else editor.textarea.removeAttribute( 'readOnly' ); } }); editor.addCommand( 'source', sourcearea.commands.source ); if ( editor.ui.addButton ) { editor.ui.addButton( 'Source', { label : editor.lang.source, command : 'source' }); } editor.on( 'mode', function() { editor.getCommand( 'source' ).setState( editor.mode == 'source' ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF ); }); } }); /** * Holds the definition of commands an UI elements included with the sourcearea * plugin. * @example */ CKEDITOR.plugins.sourcearea = { commands : { source : { modes : { wysiwyg:1, source:1 }, editorFocus : false, readOnly : 1, exec : function( editor ) { if ( editor.mode == 'wysiwyg' ) editor.fire( 'saveSnapshot' ); editor.getCommand( 'source' ).setState( CKEDITOR.TRISTATE_DISABLED ); editor.setMode( editor.mode == 'source' ? 'wysiwyg' : 'source' ); }, canUndo : false } } };
zysms
trunk/zysms/include/ckeditor/_source/plugins/sourcearea/plugin.js
JavaScript
asf20
5,613
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @file Horizontal Page Break */ // Register a plugin named "pagebreak". CKEDITOR.plugins.add( 'pagebreak', { init : function( editor ) { // Register the command. editor.addCommand( 'pagebreak', CKEDITOR.plugins.pagebreakCmd ); // Register the toolbar button. editor.ui.addButton( 'PageBreak', { label : editor.lang.pagebreak, command : 'pagebreak' }); var cssStyles = [ '{' , 'background: url(' + CKEDITOR.getUrl( this.path + 'images/pagebreak.gif' ) + ') no-repeat center center;' , 'clear: both;' , 'width:100%; _width:99.9%;' , 'border-top: #999999 1px dotted;' , 'border-bottom: #999999 1px dotted;' , 'padding:0;' , 'height: 5px;' , 'cursor: default;' , '}' ].join( '' ).replace(/;/g, ' !important;' ); // Increase specificity to override other styles, e.g. block outline. // Add the style that renders our placeholder. editor.addCss( 'div.cke_pagebreak' + cssStyles ); // Opera needs help to select the page-break. CKEDITOR.env.opera && editor.on( 'contentDom', function() { editor.document.on( 'click', function( evt ) { var target = evt.data.getTarget(); if ( target.is( 'div' ) && target.hasClass( 'cke_pagebreak') ) editor.getSelection().selectElement( target ); }); }); }, afterInit : function( editor ) { var label = editor.lang.pagebreakAlt; // Register a filter to displaying placeholders after mode change. var dataProcessor = editor.dataProcessor, dataFilter = dataProcessor && dataProcessor.dataFilter, htmlFilter = dataProcessor && dataProcessor.htmlFilter; if ( htmlFilter ) { htmlFilter.addRules( { attributes : { 'class' : function( value, element ) { var className = value.replace( 'cke_pagebreak', '' ); if ( className != value ) { var span = CKEDITOR.htmlParser.fragment.fromHtml( '<span style="display: none;">&nbsp;</span>' ); element.children.length = 0; element.add( span ); var attrs = element.attributes; delete attrs[ 'aria-label' ]; delete attrs.contenteditable; delete attrs.title; } return className; } } }, 5 ); } if ( dataFilter ) { dataFilter.addRules( { elements : { div : function( element ) { var attributes = element.attributes, style = attributes && attributes.style, child = style && element.children.length == 1 && element.children[ 0 ], childStyle = child && ( child.name == 'span' ) && child.attributes.style; if ( childStyle && ( /page-break-after\s*:\s*always/i ).test( style ) && ( /display\s*:\s*none/i ).test( childStyle ) ) { attributes.contenteditable = "false"; attributes[ 'class' ] = "cke_pagebreak"; attributes[ 'data-cke-display-name' ] = "pagebreak"; attributes[ 'aria-label' ] = label; attributes[ 'title' ] = label; element.children.length = 0; } } } }); } }, requires : [ 'fakeobjects' ] }); CKEDITOR.plugins.pagebreakCmd = { exec : function( editor ) { var label = editor.lang.pagebreakAlt; // Create read-only element that represents a print break. var pagebreak = CKEDITOR.dom.element.createFromHtml( '<div style="' + 'page-break-after: always;"' + 'contenteditable="false" ' + 'title="'+ label + '" ' + 'aria-label="'+ label + '" ' + 'data-cke-display-name="pagebreak" ' + 'class="cke_pagebreak">' + '</div>', editor.document ); var ranges = editor.getSelection().getRanges( true ); editor.fire( 'saveSnapshot' ); for ( var range, i = ranges.length - 1 ; i >= 0; i-- ) { range = ranges[ i ]; if ( i < ranges.length -1 ) pagebreak = pagebreak.clone( true ); range.splitBlock( 'p' ); range.insertNode( pagebreak ); if ( i == ranges.length - 1 ) { var next = pagebreak.getNext(); range.moveToPosition( pagebreak, CKEDITOR.POSITION_AFTER_END ); // If there's nothing or a non-editable block followed by, establish a new paragraph // to make sure cursor is not trapped. if ( !next || next.type == CKEDITOR.NODE_ELEMENT && !next.isEditable() ) range.fixBlock( true, editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p' ); range.select(); } } editor.fire( 'saveSnapshot' ); } };
zysms
trunk/zysms/include/ckeditor/_source/plugins/pagebreak/plugin.js
JavaScript
asf20
4,674
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @file Horizontal Rule plugin. */ (function() { var horizontalruleCmd = { canUndo : false, // The undo snapshot will be handled by 'insertElement'. exec : function( editor ) { var hr = editor.document.createElement( 'hr' ), range = new CKEDITOR.dom.range( editor.document ); editor.insertElement( hr ); // If there's nothing or a non-editable block followed by, establish a new paragraph // to make sure cursor is not trapped. range.moveToPosition( hr, CKEDITOR.POSITION_AFTER_END ); var next = hr.getNext(); if ( !next || next.type == CKEDITOR.NODE_ELEMENT && !next.isEditable() ) range.fixBlock( true, editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p' ); range.select(); } }; var pluginName = 'horizontalrule'; // Register a plugin named "horizontalrule". CKEDITOR.plugins.add( pluginName, { init : function( editor ) { editor.addCommand( pluginName, horizontalruleCmd ); editor.ui.addButton( 'HorizontalRule', { label : editor.lang.horizontalrule, command : pluginName }); } }); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/horizontalrule/plugin.js
JavaScript
asf20
1,290
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { function addCombo( editor, comboName, styleType, lang, entries, defaultLabel, styleDefinition ) { var config = editor.config; // Gets the list of fonts from the settings. var names = entries.split( ';' ), values = []; // Create style objects for all fonts. var styles = {}; for ( var i = 0 ; i < names.length ; i++ ) { var parts = names[ i ]; if ( parts ) { parts = parts.split( '/' ); var vars = {}, name = names[ i ] = parts[ 0 ]; vars[ styleType ] = values[ i ] = parts[ 1 ] || name; styles[ name ] = new CKEDITOR.style( styleDefinition, vars ); styles[ name ]._.definition.name = name; } else names.splice( i--, 1 ); } editor.ui.addRichCombo( comboName, { label : lang.label, title : lang.panelTitle, className : 'cke_' + ( styleType == 'size' ? 'fontSize' : 'font' ), panel : { css : editor.skin.editor.css.concat( config.contentsCss ), multiSelect : false, attributes : { 'aria-label' : lang.panelTitle } }, init : function() { this.startGroup( lang.panelTitle ); for ( var i = 0 ; i < names.length ; i++ ) { var name = names[ i ]; // Add the tag entry to the panel list. this.add( name, styles[ name ].buildPreview(), name ); } }, onClick : function( value ) { editor.focus(); editor.fire( 'saveSnapshot' ); var style = styles[ value ]; if ( this.getValue() == value ) style.remove( editor.document ); else style.apply( editor.document ); editor.fire( 'saveSnapshot' ); }, onRender : function() { editor.on( 'selectionChange', function( ev ) { var currentValue = this.getValue(); var elementPath = ev.data.path, elements = elementPath.elements; // For each element into the elements path. for ( var i = 0, element ; i < elements.length ; i++ ) { element = elements[i]; // Check if the element is removable by any of // the styles. for ( var value in styles ) { if ( styles[ value ].checkElementRemovable( element, true ) ) { if ( value != currentValue ) this.setValue( value ); return; } } } // If no styles match, just empty it. this.setValue( '', defaultLabel ); }, this); } }); } CKEDITOR.plugins.add( 'font', { requires : [ 'richcombo', 'styles' ], init : function( editor ) { var config = editor.config; addCombo( editor, 'Font', 'family', editor.lang.font, config.font_names, config.font_defaultLabel, config.font_style ); addCombo( editor, 'FontSize', 'size', editor.lang.fontSize, config.fontSize_sizes, config.fontSize_defaultLabel, config.fontSize_style ); } }); })(); /** * The list of fonts names to be displayed in the Font combo in the toolbar. * Entries are separated by semi-colons (;), while it's possible to have more * than one font for each entry, in the HTML way (separated by comma). * * A display name may be optionally defined by prefixing the entries with the * name and the slash character. For example, "Arial/Arial, Helvetica, sans-serif" * will be displayed as "Arial" in the list, but will be outputted as * "Arial, Helvetica, sans-serif". * @type String * @example * config.font_names = * 'Arial/Arial, Helvetica, sans-serif;' + * 'Times New Roman/Times New Roman, Times, serif;' + * 'Verdana'; * @example * config.font_names = 'Arial;Times New Roman;Verdana'; */ CKEDITOR.config.font_names = 'Arial/Arial, Helvetica, sans-serif;' + 'Comic Sans MS/Comic Sans MS, cursive;' + 'Courier New/Courier New, Courier, monospace;' + 'Georgia/Georgia, serif;' + 'Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;' + 'Tahoma/Tahoma, Geneva, sans-serif;' + 'Times New Roman/Times New Roman, Times, serif;' + 'Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;' + 'Verdana/Verdana, Geneva, sans-serif'; /** * The text to be displayed in the Font combo is none of the available values * matches the current cursor position or text selection. * @type String * @example * // If the default site font is Arial, we may making it more explicit to the end user. * config.font_defaultLabel = 'Arial'; */ CKEDITOR.config.font_defaultLabel = ''; /** * The style definition to be used to apply the font in the text. * @type Object * @example * // This is actually the default value for it. * config.font_style = * { * element : 'span', * styles : { 'font-family' : '#(family)' }, * overrides : [ { element : 'font', attributes : { 'face' : null } } ] * }; */ CKEDITOR.config.font_style = { element : 'span', styles : { 'font-family' : '#(family)' }, overrides : [ { element : 'font', attributes : { 'face' : null } } ] }; /** * The list of fonts size to be displayed in the Font Size combo in the * toolbar. Entries are separated by semi-colons (;). * * Any kind of "CSS like" size can be used, like "12px", "2.3em", "130%", * "larger" or "x-small". * * A display name may be optionally defined by prefixing the entries with the * name and the slash character. For example, "Bigger Font/14px" will be * displayed as "Bigger Font" in the list, but will be outputted as "14px". * @type String * @default '8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px' * @example * config.fontSize_sizes = '16/16px;24/24px;48/48px;'; * @example * config.fontSize_sizes = '12px;2.3em;130%;larger;x-small'; * @example * config.fontSize_sizes = '12 Pixels/12px;Big/2.3em;30 Percent More/130%;Bigger/larger;Very Small/x-small'; */ CKEDITOR.config.fontSize_sizes = '8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px'; /** * The text to be displayed in the Font Size combo is none of the available * values matches the current cursor position or text selection. * @type String * @example * // If the default site font size is 12px, we may making it more explicit to the end user. * config.fontSize_defaultLabel = '12px'; */ CKEDITOR.config.fontSize_defaultLabel = ''; /** * The style definition to be used to apply the font size in the text. * @type Object * @example * // This is actually the default value for it. * config.fontSize_style = * { * element : 'span', * styles : { 'font-size' : '#(size)' }, * overrides : [ { element : 'font', attributes : { 'size' : null } } ] * }; */ CKEDITOR.config.fontSize_style = { element : 'span', styles : { 'font-size' : '#(size)' }, overrides : [ { element : 'font', attributes : { 'size' : null } } ] };
zysms
trunk/zysms/include/ckeditor/_source/plugins/font/plugin.js
JavaScript
asf20
7,254
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'basicstyles', { requires : [ 'styles', 'button' ], init : function( editor ) { // All buttons use the same code to register. So, to avoid // duplications, let's use this tool function. var addButtonCommand = function( buttonName, buttonLabel, commandName, styleDefiniton ) { var style = new CKEDITOR.style( styleDefiniton ); editor.attachStyleStateChange( style, function( state ) { !editor.readOnly && editor.getCommand( commandName ).setState( state ); }); editor.addCommand( commandName, new CKEDITOR.styleCommand( style ) ); editor.ui.addButton( buttonName, { label : buttonLabel, command : commandName }); }; var config = editor.config, lang = editor.lang; addButtonCommand( 'Bold' , lang.bold , 'bold' , config.coreStyles_bold ); addButtonCommand( 'Italic' , lang.italic , 'italic' , config.coreStyles_italic ); addButtonCommand( 'Underline' , lang.underline , 'underline' , config.coreStyles_underline ); addButtonCommand( 'Strike' , lang.strike , 'strike' , config.coreStyles_strike ); addButtonCommand( 'Subscript' , lang.subscript , 'subscript' , config.coreStyles_subscript ); addButtonCommand( 'Superscript' , lang.superscript , 'superscript' , config.coreStyles_superscript ); } }); // Basic Inline Styles. /** * The style definition that applies the <strong>bold</strong> style to the text. * @type Object * @default <code>{ element : 'strong', overrides : 'b' }</code> * @example * config.coreStyles_bold = { element : 'b', overrides : 'strong' }; * @example * config.coreStyles_bold = * { * element : 'span', * attributes : { 'class' : 'Bold' } * }; */ CKEDITOR.config.coreStyles_bold = { element : 'strong', overrides : 'b' }; /** * The style definition that applies the <em>italics</em> style to the text. * @type Object * @default <code>{ element : 'em', overrides : 'i' }</code> * @example * config.coreStyles_italic = { element : 'i', overrides : 'em' }; * @example * CKEDITOR.config.coreStyles_italic = * { * element : 'span', * attributes : { 'class' : 'Italic' } * }; */ CKEDITOR.config.coreStyles_italic = { element : 'em', overrides : 'i' }; /** * The style definition that applies the <u>underline</u> style to the text. * @type Object * @default <code>{ element : 'u' }</code> * @example * CKEDITOR.config.coreStyles_underline = * { * element : 'span', * attributes : { 'class' : 'Underline' } * }; */ CKEDITOR.config.coreStyles_underline = { element : 'u' }; /** * The style definition that applies the <strike>strike-through</strike> style to the text. * @type Object * @default <code>{ element : 'strike' }</code> * @example * CKEDITOR.config.coreStyles_strike = * { * element : 'span', * attributes : { 'class' : 'StrikeThrough' }, * overrides : 'strike' * }; */ CKEDITOR.config.coreStyles_strike = { element : 'strike' }; /** * The style definition that applies the subscript style to the text. * @type Object * @default <code>{ element : 'sub' }</code> * @example * CKEDITOR.config.coreStyles_subscript = * { * element : 'span', * attributes : { 'class' : 'Subscript' }, * overrides : 'sub' * }; */ CKEDITOR.config.coreStyles_subscript = { element : 'sub' }; /** * The style definition that applies the superscript style to the text. * @type Object * @default <code>{ element : 'sup' }</code> * @example * CKEDITOR.config.coreStyles_superscript = * { * element : 'span', * attributes : { 'class' : 'Superscript' }, * overrides : 'sup' * }; */ CKEDITOR.config.coreStyles_superscript = { element : 'sup' };
zysms
trunk/zysms/include/ckeditor/_source/plugins/basicstyles/plugin.js
JavaScript
asf20
4,074
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'smiley', { requires : [ 'dialog' ], init : function( editor ) { editor.config.smiley_path = editor.config.smiley_path || ( this.path + 'images/' ); editor.addCommand( 'smiley', new CKEDITOR.dialogCommand( 'smiley' ) ); editor.ui.addButton( 'Smiley', { label : editor.lang.smiley.toolbar, command : 'smiley' }); CKEDITOR.dialog.add( 'smiley', this.path + 'dialogs/smiley.js' ); } } ); /** * The base path used to build the URL for the smiley images. It must end with * a slash. * @name CKEDITOR.config.smiley_path * @type String * @default <code><em>CKEDITOR.basePath</em> + 'plugins/smiley/images/'</code> * @example * config.smiley_path = 'http://www.example.com/images/smileys/'; * @example * config.smiley_path = '/images/smileys/'; */ /** * The file names for the smileys to be displayed. These files must be * contained inside the URL path defined with the * {@link CKEDITOR.config.smiley_path} setting. * @type Array * @default (see example) * @example * // This is actually the default value. * config.smiley_images = [ * 'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif', * 'embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif', * 'devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif', * 'broken_heart.gif','kiss.gif','envelope.gif']; */ CKEDITOR.config.smiley_images = [ 'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif', 'embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif', 'devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif', 'broken_heart.gif','kiss.gif','envelope.gif']; /** * The description to be used for each of the smileys defined in the * {@link CKEDITOR.config.smiley_images} setting. Each entry in this array list * must match its relative pair in the {@link CKEDITOR.config.smiley_images} * setting. * @type Array * @default The textual descriptions of smiley. * @example * // Default settings. * config.smiley_descriptions = * [ * 'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise', * 'indecision', 'angry', 'angel', 'cool', 'devil', 'crying', 'enlightened', 'no', * 'yes', 'heart', 'broken heart', 'kiss', 'mail' * ]; * @example * // Use textual emoticons as description. * config.smiley_descriptions = * [ * ':)', ':(', ';)', ':D', ':/', ':P', ':*)', ':-o', * ':|', '>:(', 'o:)', '8-)', '>:-)', ';(', '', '', '', * '', '', ':-*', '' * ]; */ CKEDITOR.config.smiley_descriptions = [ 'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise', 'indecision', 'angry', 'angel', 'cool', 'devil', 'crying', 'enlightened', 'no', 'yes', 'heart', 'broken heart', 'kiss', 'mail' ]; /** * The number of columns to be generated by the smilies matrix. * @name CKEDITOR.config.smiley_columns * @type Number * @default 8 * @since 3.3.2 * @example * config.smiley_columns = 6; */
zysms
trunk/zysms/include/ckeditor/_source/plugins/smiley/plugin.js
JavaScript
asf20
3,522
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.dialog.add( 'smiley', function( editor ) { var config = editor.config, lang = editor.lang.smiley, images = config.smiley_images, columns = config.smiley_columns || 8, i; /** * Simulate "this" of a dialog for non-dialog events. * @type {CKEDITOR.dialog} */ var dialog; var onClick = function( evt ) { var target = evt.data.getTarget(), targetName = target.getName(); if ( targetName == 'a' ) target = target.getChild( 0 ); else if ( targetName != 'img' ) return; var src = target.getAttribute( 'cke_src' ), title = target.getAttribute( 'title' ); var img = editor.document.createElement( 'img', { attributes : { src : src, 'data-cke-saved-src' : src, title : title, alt : title, width : target.$.width, height : target.$.height } }); editor.insertElement( img ); dialog.hide(); evt.data.preventDefault(); }; var onKeydown = CKEDITOR.tools.addFunction( function( ev, element ) { ev = new CKEDITOR.dom.event( ev ); element = new CKEDITOR.dom.element( element ); var relative, nodeToMove; var keystroke = ev.getKeystroke(), rtl = editor.lang.dir == 'rtl'; switch ( keystroke ) { // UP-ARROW case 38 : // relative is TR if ( ( relative = element.getParent().getParent().getPrevious() ) ) { nodeToMove = relative.getChild( [element.getParent().getIndex(), 0] ); nodeToMove.focus(); } ev.preventDefault(); break; // DOWN-ARROW case 40 : // relative is TR if ( ( relative = element.getParent().getParent().getNext() ) ) { nodeToMove = relative.getChild( [element.getParent().getIndex(), 0] ); if ( nodeToMove ) nodeToMove.focus(); } ev.preventDefault(); break; // ENTER // SPACE case 32 : onClick( { data: ev } ); ev.preventDefault(); break; // RIGHT-ARROW case rtl ? 37 : 39 : // TAB case 9 : // relative is TD if ( ( relative = element.getParent().getNext() ) ) { nodeToMove = relative.getChild( 0 ); nodeToMove.focus(); ev.preventDefault(true); } // relative is TR else if ( ( relative = element.getParent().getParent().getNext() ) ) { nodeToMove = relative.getChild( [0, 0] ); if ( nodeToMove ) nodeToMove.focus(); ev.preventDefault(true); } break; // LEFT-ARROW case rtl ? 39 : 37 : // SHIFT + TAB case CKEDITOR.SHIFT + 9 : // relative is TD if ( ( relative = element.getParent().getPrevious() ) ) { nodeToMove = relative.getChild( 0 ); nodeToMove.focus(); ev.preventDefault(true); } // relative is TR else if ( ( relative = element.getParent().getParent().getPrevious() ) ) { nodeToMove = relative.getLast().getChild( 0 ); nodeToMove.focus(); ev.preventDefault(true); } break; default : // Do not stop not handled events. return; } }); // Build the HTML for the smiley images table. var labelId = CKEDITOR.tools.getNextId() + '_smiley_emtions_label'; var html = [ '<div>' + '<span id="' + labelId + '" class="cke_voice_label">' + lang.options +'</span>', '<table role="listbox" aria-labelledby="' + labelId + '" style="width:100%;height:100%" cellspacing="2" cellpadding="2"', CKEDITOR.env.ie && CKEDITOR.env.quirks ? ' style="position:absolute;"' : '', '><tbody>' ]; var size = images.length; for ( i = 0 ; i < size ; i++ ) { if ( i % columns === 0 ) html.push( '<tr>' ); var smileyLabelId = 'cke_smile_label_' + i + '_' + CKEDITOR.tools.getNextNumber(); html.push( '<td class="cke_dark_background cke_centered" style="vertical-align: middle;">' + '<a href="javascript:void(0)" role="option"', ' aria-posinset="' + ( i +1 ) + '"', ' aria-setsize="' + size + '"', ' aria-labelledby="' + smileyLabelId + '"', ' class="cke_smile cke_hand" tabindex="-1" onkeydown="CKEDITOR.tools.callFunction( ', onKeydown, ', event, this );">', '<img class="cke_hand" title="', config.smiley_descriptions[i], '"' + ' cke_src="', CKEDITOR.tools.htmlEncode( config.smiley_path + images[ i ] ), '" alt="', config.smiley_descriptions[i], '"', ' src="', CKEDITOR.tools.htmlEncode( config.smiley_path + images[ i ] ), '"', // IE BUG: Below is a workaround to an IE image loading bug to ensure the image sizes are correct. ( CKEDITOR.env.ie ? ' onload="this.setAttribute(\'width\', 2); this.removeAttribute(\'width\');" ' : '' ), '>' + '<span id="' + smileyLabelId + '" class="cke_voice_label">' +config.smiley_descriptions[ i ] + '</span>' + '</a>', '</td>' ); if ( i % columns == columns - 1 ) html.push( '</tr>' ); } if ( i < columns - 1 ) { for ( ; i < columns - 1 ; i++ ) html.push( '<td></td>' ); html.push( '</tr>' ); } html.push( '</tbody></table></div>' ); var smileySelector = { type : 'html', id : 'smileySelector', html : html.join( '' ), onLoad : function( event ) { dialog = event.sender; }, focus : function() { var self = this; // IE need a while to move the focus (#6539). setTimeout( function () { var firstSmile = self.getElement().getElementsByTag( 'a' ).getItem( 0 ); firstSmile.focus(); }, 0 ); }, onClick : onClick, style : 'width: 100%; border-collapse: separate;' }; return { title : editor.lang.smiley.title, minWidth : 270, minHeight : 120, contents : [ { id : 'tab1', label : '', title : '', expand : true, padding : 0, elements : [ smileySelector ] } ], buttons : [ CKEDITOR.dialog.cancelButton ] }; } );
zysms
trunk/zysms/include/ckeditor/_source/plugins/smiley/dialogs/smiley.js
JavaScript
asf20
6,028
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { var flashFilenameRegex = /\.swf(?:$|\?)/i; function isFlashEmbed( element ) { var attributes = element.attributes; return ( attributes.type == 'application/x-shockwave-flash' || flashFilenameRegex.test( attributes.src || '' ) ); } function createFakeElement( editor, realElement ) { return editor.createFakeParserElement( realElement, 'cke_flash', 'flash', true ); } CKEDITOR.plugins.add( 'flash', { init : function( editor ) { editor.addCommand( 'flash', new CKEDITOR.dialogCommand( 'flash' ) ); editor.ui.addButton( 'Flash', { label : editor.lang.common.flash, command : 'flash' }); CKEDITOR.dialog.add( 'flash', this.path + 'dialogs/flash.js' ); editor.addCss( 'img.cke_flash' + '{' + 'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/placeholder.png' ) + ');' + 'background-position: center center;' + 'background-repeat: no-repeat;' + 'border: 1px solid #a9a9a9;' + 'width: 80px;' + 'height: 80px;' + '}' ); // If the "menu" plugin is loaded, register the menu items. if ( editor.addMenuItems ) { editor.addMenuItems( { flash : { label : editor.lang.flash.properties, command : 'flash', group : 'flash' } }); } editor.on( 'doubleclick', function( evt ) { var element = evt.data.element; if ( element.is( 'img' ) && element.data( 'cke-real-element-type' ) == 'flash' ) evt.data.dialog = 'flash'; }); // If the "contextmenu" plugin is loaded, register the listeners. if ( editor.contextMenu ) { editor.contextMenu.addListener( function( element, selection ) { if ( element && element.is( 'img' ) && !element.isReadOnly() && element.data( 'cke-real-element-type' ) == 'flash' ) return { flash : CKEDITOR.TRISTATE_OFF }; }); } }, afterInit : function( editor ) { var dataProcessor = editor.dataProcessor, dataFilter = dataProcessor && dataProcessor.dataFilter; if ( dataFilter ) { dataFilter.addRules( { elements : { 'cke:object' : function( element ) { var attributes = element.attributes, classId = attributes.classid && String( attributes.classid ).toLowerCase(); if ( !classId && !isFlashEmbed( element ) ) { // Look for the inner <embed> for ( var i = 0 ; i < element.children.length ; i++ ) { if ( element.children[ i ].name == 'cke:embed' ) { if ( !isFlashEmbed( element.children[ i ] ) ) return null; return createFakeElement( editor, element ); } } return null; } return createFakeElement( editor, element ); }, 'cke:embed' : function( element ) { if ( !isFlashEmbed( element ) ) return null; return createFakeElement( editor, element ); } } }, 5); } }, requires : [ 'fakeobjects' ] }); })(); CKEDITOR.tools.extend( CKEDITOR.config, { /** * Save as EMBED tag only. This tag is unrecommended. * @type Boolean * @default false */ flashEmbedTagOnly : false, /** * Add EMBED tag as alternative: &lt;object&gt&lt;embed&gt&lt;/embed&gt&lt;/object&gt * @type Boolean * @default false */ flashAddEmbedTag : true, /** * Use embedTagOnly and addEmbedTag values on edit. * @type Boolean * @default false */ flashConvertOnEdit : false } );
zysms
trunk/zysms/include/ckeditor/_source/plugins/flash/plugin.js
JavaScript
asf20
3,842
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { /* * It is possible to set things in three different places. * 1. As attributes in the object tag. * 2. As param tags under the object tag. * 3. As attributes in the embed tag. * It is possible for a single attribute to be present in more than one place. * So let's define a mapping between a sementic attribute and its syntactic * equivalents. * Then we'll set and retrieve attribute values according to the mapping, * instead of having to check and set each syntactic attribute every time. * * Reference: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_12701 */ var ATTRTYPE_OBJECT = 1, ATTRTYPE_PARAM = 2, ATTRTYPE_EMBED = 4; var attributesMap = { id : [ { type : ATTRTYPE_OBJECT, name : 'id' } ], classid : [ { type : ATTRTYPE_OBJECT, name : 'classid' } ], codebase : [ { type : ATTRTYPE_OBJECT, name : 'codebase'} ], pluginspage : [ { type : ATTRTYPE_EMBED, name : 'pluginspage' } ], src : [ { type : ATTRTYPE_PARAM, name : 'movie' }, { type : ATTRTYPE_EMBED, name : 'src' }, { type : ATTRTYPE_OBJECT, name : 'data' } ], name : [ { type : ATTRTYPE_EMBED, name : 'name' } ], align : [ { type : ATTRTYPE_OBJECT, name : 'align' } ], title : [ { type : ATTRTYPE_OBJECT, name : 'title' }, { type : ATTRTYPE_EMBED, name : 'title' } ], 'class' : [ { type : ATTRTYPE_OBJECT, name : 'class' }, { type : ATTRTYPE_EMBED, name : 'class'} ], width : [ { type : ATTRTYPE_OBJECT, name : 'width' }, { type : ATTRTYPE_EMBED, name : 'width' } ], height : [ { type : ATTRTYPE_OBJECT, name : 'height' }, { type : ATTRTYPE_EMBED, name : 'height' } ], hSpace : [ { type : ATTRTYPE_OBJECT, name : 'hSpace' }, { type : ATTRTYPE_EMBED, name : 'hSpace' } ], vSpace : [ { type : ATTRTYPE_OBJECT, name : 'vSpace' }, { type : ATTRTYPE_EMBED, name : 'vSpace' } ], style : [ { type : ATTRTYPE_OBJECT, name : 'style' }, { type : ATTRTYPE_EMBED, name : 'style' } ], type : [ { type : ATTRTYPE_EMBED, name : 'type' } ] }; var names = [ 'play', 'loop', 'menu', 'quality', 'scale', 'salign', 'wmode', 'bgcolor', 'base', 'flashvars', 'allowScriptAccess', 'allowFullScreen' ]; for ( var i = 0 ; i < names.length ; i++ ) attributesMap[ names[i] ] = [ { type : ATTRTYPE_EMBED, name : names[i] }, { type : ATTRTYPE_PARAM, name : names[i] } ]; names = [ 'allowFullScreen', 'play', 'loop', 'menu' ]; for ( i = 0 ; i < names.length ; i++ ) attributesMap[ names[i] ][0]['default'] = attributesMap[ names[i] ][1]['default'] = true; var defaultToPixel = CKEDITOR.tools.cssLength; function loadValue( objectNode, embedNode, paramMap ) { var attributes = attributesMap[ this.id ]; if ( !attributes ) return; var isCheckbox = ( this instanceof CKEDITOR.ui.dialog.checkbox ); for ( var i = 0 ; i < attributes.length ; i++ ) { var attrDef = attributes[ i ]; switch ( attrDef.type ) { case ATTRTYPE_OBJECT: if ( !objectNode ) continue; if ( objectNode.getAttribute( attrDef.name ) !== null ) { var value = objectNode.getAttribute( attrDef.name ); if ( isCheckbox ) this.setValue( value.toLowerCase() == 'true' ); else this.setValue( value ); return; } else if ( isCheckbox ) this.setValue( !!attrDef[ 'default' ] ); break; case ATTRTYPE_PARAM: if ( !objectNode ) continue; if ( attrDef.name in paramMap ) { value = paramMap[ attrDef.name ]; if ( isCheckbox ) this.setValue( value.toLowerCase() == 'true' ); else this.setValue( value ); return; } else if ( isCheckbox ) this.setValue( !!attrDef[ 'default' ] ); break; case ATTRTYPE_EMBED: if ( !embedNode ) continue; if ( embedNode.getAttribute( attrDef.name ) ) { value = embedNode.getAttribute( attrDef.name ); if ( isCheckbox ) this.setValue( value.toLowerCase() == 'true' ); else this.setValue( value ); return; } else if ( isCheckbox ) this.setValue( !!attrDef[ 'default' ] ); } } } function commitValue( objectNode, embedNode, paramMap ) { var attributes = attributesMap[ this.id ]; if ( !attributes ) return; var isRemove = ( this.getValue() === '' ), isCheckbox = ( this instanceof CKEDITOR.ui.dialog.checkbox ); for ( var i = 0 ; i < attributes.length ; i++ ) { var attrDef = attributes[i]; switch ( attrDef.type ) { case ATTRTYPE_OBJECT: // Avoid applying the data attribute when not needed (#7733) if ( !objectNode || ( attrDef.name == 'data' && embedNode && !objectNode.hasAttribute( 'data' ) ) ) continue; var value = this.getValue(); if ( isRemove || isCheckbox && value === attrDef[ 'default' ] ) objectNode.removeAttribute( attrDef.name ); else objectNode.setAttribute( attrDef.name, value ); break; case ATTRTYPE_PARAM: if ( !objectNode ) continue; value = this.getValue(); if ( isRemove || isCheckbox && value === attrDef[ 'default' ] ) { if ( attrDef.name in paramMap ) paramMap[ attrDef.name ].remove(); } else { if ( attrDef.name in paramMap ) paramMap[ attrDef.name ].setAttribute( 'value', value ); else { var param = CKEDITOR.dom.element.createFromHtml( '<cke:param></cke:param>', objectNode.getDocument() ); param.setAttributes( { name : attrDef.name, value : value } ); if ( objectNode.getChildCount() < 1 ) param.appendTo( objectNode ); else param.insertBefore( objectNode.getFirst() ); } } break; case ATTRTYPE_EMBED: if ( !embedNode ) continue; value = this.getValue(); if ( isRemove || isCheckbox && value === attrDef[ 'default' ]) embedNode.removeAttribute( attrDef.name ); else embedNode.setAttribute( attrDef.name, value ); } } } CKEDITOR.dialog.add( 'flash', function( editor ) { var makeObjectTag = !editor.config.flashEmbedTagOnly, makeEmbedTag = editor.config.flashAddEmbedTag || editor.config.flashEmbedTagOnly; var previewPreloader, previewAreaHtml = '<div>' + CKEDITOR.tools.htmlEncode( editor.lang.common.preview ) +'<br>' + '<div id="cke_FlashPreviewLoader' + CKEDITOR.tools.getNextNumber() + '" style="display:none"><div class="loading">&nbsp;</div></div>' + '<div id="cke_FlashPreviewBox' + CKEDITOR.tools.getNextNumber() + '" class="FlashPreviewBox"></div></div>'; return { title : editor.lang.flash.title, minWidth : 420, minHeight : 310, onShow : function() { // Clear previously saved elements. this.fakeImage = this.objectNode = this.embedNode = null; previewPreloader = new CKEDITOR.dom.element( 'embed', editor.document ); // Try to detect any embed or object tag that has Flash parameters. var fakeImage = this.getSelectedElement(); if ( fakeImage && fakeImage.data( 'cke-real-element-type' ) && fakeImage.data( 'cke-real-element-type' ) == 'flash' ) { this.fakeImage = fakeImage; var realElement = editor.restoreRealElement( fakeImage ), objectNode = null, embedNode = null, paramMap = {}; if ( realElement.getName() == 'cke:object' ) { objectNode = realElement; var embedList = objectNode.getElementsByTag( 'embed', 'cke' ); if ( embedList.count() > 0 ) embedNode = embedList.getItem( 0 ); var paramList = objectNode.getElementsByTag( 'param', 'cke' ); for ( var i = 0, length = paramList.count() ; i < length ; i++ ) { var item = paramList.getItem( i ), name = item.getAttribute( 'name' ), value = item.getAttribute( 'value' ); paramMap[ name ] = value; } } else if ( realElement.getName() == 'cke:embed' ) embedNode = realElement; this.objectNode = objectNode; this.embedNode = embedNode; this.setupContent( objectNode, embedNode, paramMap, fakeImage ); } }, onOk : function() { // If there's no selected object or embed, create one. Otherwise, reuse the // selected object and embed nodes. var objectNode = null, embedNode = null, paramMap = null; if ( !this.fakeImage ) { if ( makeObjectTag ) { objectNode = CKEDITOR.dom.element.createFromHtml( '<cke:object></cke:object>', editor.document ); var attributes = { classid : 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000', codebase : 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0' }; objectNode.setAttributes( attributes ); } if ( makeEmbedTag ) { embedNode = CKEDITOR.dom.element.createFromHtml( '<cke:embed></cke:embed>', editor.document ); embedNode.setAttributes( { type : 'application/x-shockwave-flash', pluginspage : 'http://www.macromedia.com/go/getflashplayer' } ); if ( objectNode ) embedNode.appendTo( objectNode ); } } else { objectNode = this.objectNode; embedNode = this.embedNode; } // Produce the paramMap if there's an object tag. if ( objectNode ) { paramMap = {}; var paramList = objectNode.getElementsByTag( 'param', 'cke' ); for ( var i = 0, length = paramList.count() ; i < length ; i++ ) paramMap[ paramList.getItem( i ).getAttribute( 'name' ) ] = paramList.getItem( i ); } // A subset of the specified attributes/styles // should also be applied on the fake element to // have better visual effect. (#5240) var extraStyles = {}, extraAttributes = {}; this.commitContent( objectNode, embedNode, paramMap, extraStyles, extraAttributes ); // Refresh the fake image. var newFakeImage = editor.createFakeElement( objectNode || embedNode, 'cke_flash', 'flash', true ); newFakeImage.setAttributes( extraAttributes ); newFakeImage.setStyles( extraStyles ); if ( this.fakeImage ) { newFakeImage.replace( this.fakeImage ); editor.getSelection().selectElement( newFakeImage ); } else editor.insertElement( newFakeImage ); }, onHide : function() { if ( this.preview ) this.preview.setHtml(''); }, contents : [ { id : 'info', label : editor.lang.common.generalTab, accessKey : 'I', elements : [ { type : 'vbox', padding : 0, children : [ { type : 'hbox', widths : [ '280px', '110px' ], align : 'right', children : [ { id : 'src', type : 'text', label : editor.lang.common.url, required : true, validate : CKEDITOR.dialog.validate.notEmpty( editor.lang.flash.validateSrc ), setup : loadValue, commit : commitValue, onLoad : function() { var dialog = this.getDialog(), updatePreview = function( src ){ // Query the preloader to figure out the url impacted by based href. previewPreloader.setAttribute( 'src', src ); dialog.preview.setHtml( '<embed height="100%" width="100%" src="' + CKEDITOR.tools.htmlEncode( previewPreloader.getAttribute( 'src' ) ) + '" type="application/x-shockwave-flash"></embed>' ); }; // Preview element dialog.preview = dialog.getContentElement( 'info', 'preview' ).getElement().getChild( 3 ); // Sync on inital value loaded. this.on( 'change', function( evt ){ if ( evt.data && evt.data.value ) updatePreview( evt.data.value ); } ); // Sync when input value changed. this.getInputElement().on( 'change', function( evt ){ updatePreview( this.getValue() ); }, this ); } }, { type : 'button', id : 'browse', filebrowser : 'info:src', hidden : true, // v-align with the 'src' field. // TODO: We need something better than a fixed size here. style : 'display:inline-block;margin-top:10px;', label : editor.lang.common.browseServer } ] } ] }, { type : 'hbox', widths : [ '25%', '25%', '25%', '25%', '25%' ], children : [ { type : 'text', id : 'width', style : 'width:95px', label : editor.lang.common.width, validate : CKEDITOR.dialog.validate.htmlLength( editor.lang.common.invalidHtmlLength.replace( '%1', editor.lang.common.width ) ), setup : loadValue, commit : commitValue }, { type : 'text', id : 'height', style : 'width:95px', label : editor.lang.common.height, validate : CKEDITOR.dialog.validate.htmlLength( editor.lang.common.invalidHtmlLength.replace( '%1', editor.lang.common.height ) ), setup : loadValue, commit : commitValue }, { type : 'text', id : 'hSpace', style : 'width:95px', label : editor.lang.flash.hSpace, validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateHSpace ), setup : loadValue, commit : commitValue }, { type : 'text', id : 'vSpace', style : 'width:95px', label : editor.lang.flash.vSpace, validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateVSpace ), setup : loadValue, commit : commitValue } ] }, { type : 'vbox', children : [ { type : 'html', id : 'preview', style : 'width:95%;', html : previewAreaHtml } ] } ] }, { id : 'Upload', hidden : true, filebrowser : 'uploadButton', label : editor.lang.common.upload, elements : [ { type : 'file', id : 'upload', label : editor.lang.common.upload, size : 38 }, { type : 'fileButton', id : 'uploadButton', label : editor.lang.common.uploadSubmit, filebrowser : 'info:src', 'for' : [ 'Upload', 'upload' ] } ] }, { id : 'properties', label : editor.lang.flash.propertiesTab, elements : [ { type : 'hbox', widths : [ '50%', '50%' ], children : [ { id : 'scale', type : 'select', label : editor.lang.flash.scale, 'default' : '', style : 'width : 100%;', items : [ [ editor.lang.common.notSet , ''], [ editor.lang.flash.scaleAll, 'showall' ], [ editor.lang.flash.scaleNoBorder, 'noborder' ], [ editor.lang.flash.scaleFit, 'exactfit' ] ], setup : loadValue, commit : commitValue }, { id : 'allowScriptAccess', type : 'select', label : editor.lang.flash.access, 'default' : '', style : 'width : 100%;', items : [ [ editor.lang.common.notSet , ''], [ editor.lang.flash.accessAlways, 'always' ], [ editor.lang.flash.accessSameDomain, 'samedomain' ], [ editor.lang.flash.accessNever, 'never' ] ], setup : loadValue, commit : commitValue } ] }, { type : 'hbox', widths : [ '50%', '50%' ], children : [ { id : 'wmode', type : 'select', label : editor.lang.flash.windowMode, 'default' : '', style : 'width : 100%;', items : [ [ editor.lang.common.notSet , '' ], [ editor.lang.flash.windowModeWindow, 'window' ], [ editor.lang.flash.windowModeOpaque, 'opaque' ], [ editor.lang.flash.windowModeTransparent, 'transparent' ] ], setup : loadValue, commit : commitValue }, { id : 'quality', type : 'select', label : editor.lang.flash.quality, 'default' : 'high', style : 'width : 100%;', items : [ [ editor.lang.common.notSet , '' ], [ editor.lang.flash.qualityBest, 'best' ], [ editor.lang.flash.qualityHigh, 'high' ], [ editor.lang.flash.qualityAutoHigh, 'autohigh' ], [ editor.lang.flash.qualityMedium, 'medium' ], [ editor.lang.flash.qualityAutoLow, 'autolow' ], [ editor.lang.flash.qualityLow, 'low' ] ], setup : loadValue, commit : commitValue } ] }, { type : 'hbox', widths : [ '50%', '50%' ], children : [ { id : 'align', type : 'select', label : editor.lang.common.align, 'default' : '', style : 'width : 100%;', items : [ [ editor.lang.common.notSet , ''], [ editor.lang.common.alignLeft , 'left'], [ editor.lang.flash.alignAbsBottom , 'absBottom'], [ editor.lang.flash.alignAbsMiddle , 'absMiddle'], [ editor.lang.flash.alignBaseline , 'baseline'], [ editor.lang.common.alignBottom , 'bottom'], [ editor.lang.common.alignMiddle , 'middle'], [ editor.lang.common.alignRight , 'right'], [ editor.lang.flash.alignTextTop , 'textTop'], [ editor.lang.common.alignTop , 'top'] ], setup : loadValue, commit : function( objectNode, embedNode, paramMap, extraStyles, extraAttributes ) { var value = this.getValue(); commitValue.apply( this, arguments ); value && ( extraAttributes.align = value ); } }, { type : 'html', html : '<div></div>' } ] }, { type : 'fieldset', label : CKEDITOR.tools.htmlEncode( editor.lang.flash.flashvars ), children : [ { type : 'vbox', padding : 0, children : [ { type : 'checkbox', id : 'menu', label : editor.lang.flash.chkMenu, 'default' : true, setup : loadValue, commit : commitValue }, { type : 'checkbox', id : 'play', label : editor.lang.flash.chkPlay, 'default' : true, setup : loadValue, commit : commitValue }, { type : 'checkbox', id : 'loop', label : editor.lang.flash.chkLoop, 'default' : true, setup : loadValue, commit : commitValue }, { type : 'checkbox', id : 'allowFullScreen', label : editor.lang.flash.chkFull, 'default' : true, setup : loadValue, commit : commitValue } ] } ] } ] }, { id : 'advanced', label : editor.lang.common.advancedTab, elements : [ { type : 'hbox', widths : [ '45%', '55%' ], children : [ { type : 'text', id : 'id', label : editor.lang.common.id, setup : loadValue, commit : commitValue }, { type : 'text', id : 'title', label : editor.lang.common.advisoryTitle, setup : loadValue, commit : commitValue } ] }, { type : 'hbox', widths : [ '45%', '55%' ], children : [ { type : 'text', id : 'bgcolor', label : editor.lang.flash.bgcolor, setup : loadValue, commit : commitValue }, { type : 'text', id : 'class', label : editor.lang.common.cssClass, setup : loadValue, commit : commitValue } ] }, { type : 'text', id : 'style', validate : CKEDITOR.dialog.validate.inlineStyle( editor.lang.common.invalidInlineStyle ), label : editor.lang.common.cssStyle, setup : loadValue, commit : commitValue } ] } ] }; } ); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/flash/dialogs/flash.js
JavaScript
asf20
21,359
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.stylesSet.add( 'default', [ /* Block Styles */ // These styles are already available in the "Format" combo, so they are // not needed here by default. You may enable them to avoid placing the // "Format" combo in the toolbar, maintaining the same features. /* { name : 'Paragraph' , element : 'p' }, { name : 'Heading 1' , element : 'h1' }, { name : 'Heading 2' , element : 'h2' }, { name : 'Heading 3' , element : 'h3' }, { name : 'Heading 4' , element : 'h4' }, { name : 'Heading 5' , element : 'h5' }, { name : 'Heading 6' , element : 'h6' }, { name : 'Preformatted Text', element : 'pre' }, { name : 'Address' , element : 'address' }, */ { name : 'Blue Title' , element : 'h3', styles : { 'color' : 'Blue' } }, { name : 'Red Title' , element : 'h3', styles : { 'color' : 'Red' } }, /* Inline Styles */ // These are core styles available as toolbar buttons. You may opt enabling // some of them in the Styles combo, removing them from the toolbar. /* { name : 'Strong' , element : 'strong', overrides : 'b' }, { name : 'Emphasis' , element : 'em' , overrides : 'i' }, { name : 'Underline' , element : 'u' }, { name : 'Strikethrough' , element : 'strike' }, { name : 'Subscript' , element : 'sub' }, { name : 'Superscript' , element : 'sup' }, */ { name : 'Marker: Yellow' , element : 'span', styles : { 'background-color' : 'Yellow' } }, { name : 'Marker: Green' , element : 'span', styles : { 'background-color' : 'Lime' } }, { name : 'Big' , element : 'big' }, { name : 'Small' , element : 'small' }, { name : 'Typewriter' , element : 'tt' }, { name : 'Computer Code' , element : 'code' }, { name : 'Keyboard Phrase' , element : 'kbd' }, { name : 'Sample Text' , element : 'samp' }, { name : 'Variable' , element : 'var' }, { name : 'Deleted Text' , element : 'del' }, { name : 'Inserted Text' , element : 'ins' }, { name : 'Cited Work' , element : 'cite' }, { name : 'Inline Quotation' , element : 'q' }, { name : 'Language: RTL' , element : 'span', attributes : { 'dir' : 'rtl' } }, { name : 'Language: LTR' , element : 'span', attributes : { 'dir' : 'ltr' } }, /* Object Styles */ { name : 'Image on Left', element : 'img', attributes : { 'style' : 'padding: 5px; margin-right: 5px', 'border' : '2', 'align' : 'left' } }, { name : 'Image on Right', element : 'img', attributes : { 'style' : 'padding: 5px; margin-left: 5px', 'border' : '2', 'align' : 'right' } }, { name : 'Borderless Table', element : 'table', styles: { 'border-style': 'hidden', 'background-color' : '#E6E6FA' } }, { name : 'Square Bulleted List', element : 'ul', styles : { 'list-style-type' : 'square' } } ]);
zysms
trunk/zysms/include/ckeditor/_source/plugins/styles/styles/default.js
JavaScript
asf20
2,966
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'styles', { requires : [ 'selection' ], init : function( editor ) { // This doesn't look like correct, but it's the safest way to proper // pass the disableReadonlyStyling configuration to the style system // without having to change any method signature in the API. (#6103) editor.on( 'contentDom', function() { editor.document.setCustomData( 'cke_includeReadonly', !editor.config.disableReadonlyStyling ); }); } }); /** * Registers a function to be called whenever the selection position changes in the * editing area. The current state is passed to the function. The possible * states are {@link CKEDITOR.TRISTATE_ON} and {@link CKEDITOR.TRISTATE_OFF}. * @param {CKEDITOR.style} style The style to be watched. * @param {Function} callback The function to be called. * @example * // Create a style object for the &lt;b&gt; element. * var style = new CKEDITOR.style( { element : 'b' } ); * var editor = CKEDITOR.instances.editor1; * editor.attachStyleStateChange( style, function( state ) * { * if ( state == CKEDITOR.TRISTATE_ON ) * alert( 'The current state for the B element is ON' ); * else * alert( 'The current state for the B element is OFF' ); * }); */ CKEDITOR.editor.prototype.attachStyleStateChange = function( style, callback ) { // Try to get the list of attached callbacks. var styleStateChangeCallbacks = this._.styleStateChangeCallbacks; // If it doesn't exist, it means this is the first call. So, let's create // all the structure to manage the style checks and the callback calls. if ( !styleStateChangeCallbacks ) { // Create the callbacks array. styleStateChangeCallbacks = this._.styleStateChangeCallbacks = []; // Attach to the selectionChange event, so we can check the styles at // that point. this.on( 'selectionChange', function( ev ) { // Loop throw all registered callbacks. for ( var i = 0 ; i < styleStateChangeCallbacks.length ; i++ ) { var callback = styleStateChangeCallbacks[ i ]; // Check the current state for the style defined for that // callback. var currentState = callback.style.checkActive( ev.data.path ) ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF; // Call the callback function, passing the current // state to it. callback.fn.call( this, currentState ); } }); } // Save the callback info, so it can be checked on the next occurrence of // selectionChange. styleStateChangeCallbacks.push( { style : style, fn : callback } ); }; CKEDITOR.STYLE_BLOCK = 1; CKEDITOR.STYLE_INLINE = 2; CKEDITOR.STYLE_OBJECT = 3; (function() { var blockElements = { address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1,section:1,header:1,footer:1,nav:1,article:1,aside:1,figure:1,dialog:1,hgroup:1,time:1,meter:1,menu:1,command:1,keygen:1,output:1,progress:1,details:1,datagrid:1,datalist:1 }, objectElements = { a:1,embed:1,hr:1,img:1,li:1,object:1,ol:1,table:1,td:1,tr:1,th:1,ul:1,dl:1,dt:1,dd:1,form:1,audio:1,video:1 }; var semicolonFixRegex = /\s*(?:;\s*|$)/, varRegex = /#\((.+?)\)/g; var notBookmark = CKEDITOR.dom.walker.bookmark( 0, 1 ), nonWhitespaces = CKEDITOR.dom.walker.whitespaces( 1 ); CKEDITOR.style = function( styleDefinition, variablesValues ) { if ( variablesValues ) { styleDefinition = CKEDITOR.tools.clone( styleDefinition ); replaceVariables( styleDefinition.attributes, variablesValues ); replaceVariables( styleDefinition.styles, variablesValues ); } var element = this.element = styleDefinition.element ? ( typeof styleDefinition.element == 'string' ? styleDefinition.element.toLowerCase() : styleDefinition.element ) : '*'; this.type = blockElements[ element ] ? CKEDITOR.STYLE_BLOCK : objectElements[ element ] ? CKEDITOR.STYLE_OBJECT : CKEDITOR.STYLE_INLINE; // If the 'element' property is an object with a set of possible element, it will be applied like an object style: only to existing elements if ( typeof this.element == 'object' ) this.type = CKEDITOR.STYLE_OBJECT; this._ = { definition : styleDefinition }; }; CKEDITOR.style.prototype = { apply : function( document ) { applyStyle.call( this, document, false ); }, remove : function( document ) { applyStyle.call( this, document, true ); }, applyToRange : function( range ) { return ( this.applyToRange = this.type == CKEDITOR.STYLE_INLINE ? applyInlineStyle : this.type == CKEDITOR.STYLE_BLOCK ? applyBlockStyle : this.type == CKEDITOR.STYLE_OBJECT ? applyObjectStyle : null ).call( this, range ); }, removeFromRange : function( range ) { return ( this.removeFromRange = this.type == CKEDITOR.STYLE_INLINE ? removeInlineStyle : this.type == CKEDITOR.STYLE_BLOCK ? removeBlockStyle : this.type == CKEDITOR.STYLE_OBJECT ? removeObjectStyle : null ).call( this, range ); }, applyToObject : function( element ) { setupElement( element, this ); }, /** * Get the style state inside an element path. Returns "true" if the * element is active in the path. */ checkActive : function( elementPath ) { switch ( this.type ) { case CKEDITOR.STYLE_BLOCK : return this.checkElementRemovable( elementPath.block || elementPath.blockLimit, true ); case CKEDITOR.STYLE_OBJECT : case CKEDITOR.STYLE_INLINE : var elements = elementPath.elements; for ( var i = 0, element ; i < elements.length ; i++ ) { element = elements[ i ]; if ( this.type == CKEDITOR.STYLE_INLINE && ( element == elementPath.block || element == elementPath.blockLimit ) ) continue; if( this.type == CKEDITOR.STYLE_OBJECT ) { var name = element.getName(); if ( !( typeof this.element == 'string' ? name == this.element : name in this.element ) ) continue; } if ( this.checkElementRemovable( element, true ) ) return true; } } return false; }, /** * Whether this style can be applied at the element path. * @param elementPath */ checkApplicable : function( elementPath ) { switch ( this.type ) { case CKEDITOR.STYLE_INLINE : case CKEDITOR.STYLE_BLOCK : break; case CKEDITOR.STYLE_OBJECT : return elementPath.lastElement.getAscendant( this.element, true ); } return true; }, // Checks if an element, or any of its attributes, is removable by the // current style definition. checkElementRemovable : function( element, fullMatch ) { var def = this._.definition; if ( !element || !def.ignoreReadonly && element.isReadOnly() ) return false; var attribs, name = element.getName(); // If the element name is the same as the style name. if ( typeof this.element == 'string' ? name == this.element : name in this.element ) { // If no attributes are defined in the element. if ( !fullMatch && !element.hasAttributes() ) return true; attribs = getAttributesForComparison( def ); if ( attribs._length ) { for ( var attName in attribs ) { if ( attName == '_length' ) continue; var elementAttr = element.getAttribute( attName ) || ''; // Special treatment for 'style' attribute is required. if ( attName == 'style' ? compareCssText( attribs[ attName ], normalizeCssText( elementAttr, false ) ) : attribs[ attName ] == elementAttr ) { if ( !fullMatch ) return true; } else if ( fullMatch ) return false; } if ( fullMatch ) return true; } else return true; } // Check if the element can be somehow overriden. var override = getOverrides( this )[ element.getName() ] ; if ( override ) { // If no attributes have been defined, remove the element. if ( !( attribs = override.attributes ) ) return true; for ( var i = 0 ; i < attribs.length ; i++ ) { attName = attribs[i][0]; var actualAttrValue = element.getAttribute( attName ); if ( actualAttrValue ) { var attValue = attribs[i][1]; // Remove the attribute if: // - The override definition value is null; // - The override definition value 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' && actualAttrValue == attValue ) || attValue.test( actualAttrValue ) ) return true; } } } return false; }, // Builds the preview HTML based on the styles definition. buildPreview : function( label ) { var styleDefinition = this._.definition, html = [], elementName = styleDefinition.element; // Avoid <bdo> in the preview. if ( elementName == 'bdo' ) elementName = 'span'; html = [ '<', elementName ]; // Assign all defined attributes. var attribs = styleDefinition.attributes; if ( attribs ) { for ( var att in attribs ) { html.push( ' ', att, '="', attribs[ att ], '"' ); } } // Assign the style attribute. var cssStyle = CKEDITOR.style.getStyleText( styleDefinition ); if ( cssStyle ) html.push( ' style="', cssStyle, '"' ); html.push( '>', ( label || styleDefinition.name ), '</', elementName, '>' ); return html.join( '' ); } }; // Build the cssText based on the styles definition. CKEDITOR.style.getStyleText = function( styleDefinition ) { // If we have already computed it, just return it. var stylesDef = styleDefinition._ST; if ( stylesDef ) return stylesDef; stylesDef = styleDefinition.styles; // Builds the StyleText. var stylesText = ( styleDefinition.attributes && styleDefinition.attributes[ 'style' ] ) || '', specialStylesText = ''; if ( stylesText.length ) stylesText = stylesText.replace( semicolonFixRegex, ';' ); for ( var style in stylesDef ) { var styleVal = stylesDef[ style ], text = ( style + ':' + styleVal ).replace( semicolonFixRegex, ';' ); // Some browsers don't support 'inherit' property value, leave them intact. (#5242) if ( styleVal == 'inherit' ) specialStylesText += text; else stylesText += text; } // Browsers make some changes to the style when applying them. So, here // we normalize it to the browser format. if ( stylesText.length ) stylesText = normalizeCssText( stylesText ); stylesText += specialStylesText; // Return it, saving it to the next request. return ( styleDefinition._ST = stylesText ); }; // Gets the parent element which blocks the styling for an element. This // can be done through read-only elements (contenteditable=false) or // elements with the "data-nostyle" attribute. function getUnstylableParent( element ) { var unstylable, editable; while ( ( element = element.getParent() ) ) { if ( element.getName() == 'body' ) break; if ( element.getAttribute( 'data-nostyle' ) ) unstylable = element; else if ( !editable ) { var contentEditable = element.getAttribute( 'contentEditable' ); if ( contentEditable == 'false' ) unstylable = element; else if ( contentEditable == 'true' ) editable = 1; } } return unstylable; } function applyInlineStyle( range ) { var document = range.document; if ( range.collapsed ) { // Create the element to be inserted in the DOM. var collapsedElement = getElement( this, document ); // Insert the empty element into the DOM at the range position. range.insertNode( collapsedElement ); // Place the selection right inside the empty element. range.moveToPosition( collapsedElement, CKEDITOR.POSITION_BEFORE_END ); return; } var elementName = this.element; var def = this._.definition; var isUnknownElement; // Indicates that fully selected read-only elements are to be included in the styling range. var ignoreReadonly = def.ignoreReadonly, includeReadonly = ignoreReadonly || def.includeReadonly; // If the read-only inclusion is not available in the definition, try // to get it from the document data. if ( includeReadonly == undefined ) includeReadonly = document.getCustomData( 'cke_includeReadonly' ); // Get the DTD definition for the element. Defaults to "span". var dtd = CKEDITOR.dtd[ elementName ] || ( isUnknownElement = true, CKEDITOR.dtd.span ); // Expand the range. range.enlarge( CKEDITOR.ENLARGE_ELEMENT, 1 ); range.trim(); // Get the first node to be processed and the last, which concludes the // processing. var boundaryNodes = range.createBookmark(), firstNode = boundaryNodes.startNode, lastNode = boundaryNodes.endNode; var currentNode = firstNode; var styleRange; if ( !ignoreReadonly ) { // Check if the boundaries are inside non stylable elements. var firstUnstylable = getUnstylableParent( firstNode ), lastUnstylable = getUnstylableParent( lastNode ); // If the first element can't be styled, we'll start processing right // after its unstylable root. if ( firstUnstylable ) currentNode = firstUnstylable.getNextSourceNode( true ); // If the last element can't be styled, we'll stop processing on its // unstylable root. if ( lastUnstylable ) lastNode = lastUnstylable; } // Do nothing if the current node now follows the last node to be processed. if ( currentNode.getPosition( lastNode ) == CKEDITOR.POSITION_FOLLOWING ) currentNode = 0; while ( currentNode ) { var applyStyle = false; if ( currentNode.equals( lastNode ) ) { currentNode = null; applyStyle = true; } else { var nodeType = currentNode.type; var nodeName = nodeType == CKEDITOR.NODE_ELEMENT ? currentNode.getName() : null; var nodeIsReadonly = nodeName && ( currentNode.getAttribute( 'contentEditable' ) == 'false' ); var nodeIsNoStyle = nodeName && currentNode.getAttribute( 'data-nostyle' ); if ( nodeName && currentNode.data( 'cke-bookmark' ) ) { currentNode = currentNode.getNextSourceNode( true ); continue; } // Check if the current node can be a child of the style element. if ( !nodeName || ( dtd[ nodeName ] && !nodeIsNoStyle && ( !nodeIsReadonly || includeReadonly ) && ( currentNode.getPosition( lastNode ) | CKEDITOR.POSITION_PRECEDING | CKEDITOR.POSITION_IDENTICAL | CKEDITOR.POSITION_IS_CONTAINED ) == ( CKEDITOR.POSITION_PRECEDING + CKEDITOR.POSITION_IDENTICAL + CKEDITOR.POSITION_IS_CONTAINED ) && ( !def.childRule || def.childRule( currentNode ) ) ) ) { var currentParent = currentNode.getParent(); // 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 ( currentParent && ( ( currentParent.getDtd() || CKEDITOR.dtd.span )[ elementName ] || isUnknownElement ) && ( !def.parentRule || def.parentRule( currentParent ) ) ) { // This node will be part of our range, so if it has not // been started, place its start right before the node. // In the case of an element node, it will be included // only if it is entirely inside the range. if ( !styleRange && ( !nodeName || !CKEDITOR.dtd.$removeEmpty[ nodeName ] || ( currentNode.getPosition( lastNode ) | CKEDITOR.POSITION_PRECEDING | CKEDITOR.POSITION_IDENTICAL | CKEDITOR.POSITION_IS_CONTAINED ) == ( CKEDITOR.POSITION_PRECEDING + CKEDITOR.POSITION_IDENTICAL + CKEDITOR.POSITION_IS_CONTAINED ) ) ) { styleRange = new CKEDITOR.dom.range( document ); styleRange.setStartBefore( currentNode ); } // Non element nodes, readonly elements, or empty // elements can be added completely to the range. if ( nodeType == CKEDITOR.NODE_TEXT || nodeIsReadonly || ( nodeType == CKEDITOR.NODE_ELEMENT && !currentNode.getChildCount() ) ) { var includedNode = currentNode; var 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, otherwise apply the style immediately. while ( ( applyStyle = !includedNode.getNext( notBookmark ) ) && ( parentNode = includedNode.getParent(), dtd[ parentNode.getName() ] ) && ( parentNode.getPosition( firstNode ) | CKEDITOR.POSITION_FOLLOWING | CKEDITOR.POSITION_IDENTICAL | CKEDITOR.POSITION_IS_CONTAINED ) == ( CKEDITOR.POSITION_FOLLOWING + CKEDITOR.POSITION_IDENTICAL + CKEDITOR.POSITION_IS_CONTAINED ) && ( !def.childRule || def.childRule( parentNode ) ) ) { includedNode = parentNode; } styleRange.setEndAfter( includedNode ); } } else applyStyle = true; } else applyStyle = true; // Get the next node to be processed. currentNode = currentNode.getNextSourceNode( nodeIsNoStyle || nodeIsReadonly ); } // Apply the style if we have something to which apply it. if ( applyStyle && styleRange && !styleRange.collapsed ) { // Build the style element, based on the style object definition. var styleNode = getElement( this, document ), styleHasAttrs = styleNode.hasAttributes(); // Get the element that holds the entire range. var parent = styleRange.getCommonAncestor(); var removeList = { styles : {}, attrs : {}, // Styles cannot be removed. blockedStyles : {}, // Attrs cannot be removed. blockedAttrs : {} }; var attName, styleName, value; // Loop through the parents, removing the redundant attributes // from the element to be applied. while ( styleNode && parent ) { if ( parent.getName() == elementName ) { for ( attName in def.attributes ) { if ( removeList.blockedAttrs[ attName ] || !( value = parent.getAttribute( styleName ) ) ) continue; if ( styleNode.getAttribute( attName ) == value ) removeList.attrs[ attName ] = 1; else removeList.blockedAttrs[ attName ] = 1; } for ( styleName in def.styles ) { if ( removeList.blockedStyles[ styleName ] || !( value = parent.getStyle( styleName ) ) ) continue; if ( styleNode.getStyle( styleName ) == value ) removeList.styles[ styleName ] = 1; else removeList.blockedStyles[ styleName ] = 1; } } parent = parent.getParent(); } for ( attName in removeList.attrs ) styleNode.removeAttribute( attName ); for ( styleName in removeList.styles ) styleNode.removeStyle( styleName ); if ( styleHasAttrs && !styleNode.hasAttributes() ) styleNode = null; if ( styleNode ) { // Move the contents of the range to the style element. styleRange.extractContents().appendTo( styleNode ); // Here we do some cleanup, removing all duplicated // elements from the style element. removeFromInsideElement( this, styleNode ); // Insert it into the range position (it is collapsed after // extractContents. styleRange.insertNode( styleNode ); // Let's merge our new style with its neighbors, if possible. styleNode.mergeSiblings(); // 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 ( !CKEDITOR.env.ie ) styleNode.$.normalize(); } // Style already inherit from parents, left just to clear up any internal overrides. (#5931) else { styleNode = new CKEDITOR.dom.element( 'span' ); styleRange.extractContents().appendTo( styleNode ); styleRange.insertNode( styleNode ); removeFromInsideElement( this, styleNode ); styleNode.remove( true ); } // Style applied, let's release the range, so it gets // re-initialization in the next loop. styleRange = null; } } // Remove the bookmark nodes. range.moveToBookmark( boundaryNodes ); // Minimize the result range to exclude empty text nodes. (#5374) range.shrink( CKEDITOR.SHRINK_TEXT ); } function removeInlineStyle( range ) { /* * Make sure our range has included all "collpased" parent inline nodes so * that our operation logic can be simpler. */ range.enlarge( CKEDITOR.ENLARGE_ELEMENT, 1 ); var bookmark = range.createBookmark(), startNode = bookmark.startNode; if ( range.collapsed ) { var startPath = new CKEDITOR.dom.elementPath( startNode.getParent() ), // The topmost element in elementspatch which we should jump out of. boundaryElement; for ( var i = 0, element ; i < startPath.elements.length && ( element = startPath.elements[i] ) ; i++ ) { /* * 1. If it's collaped inside text nodes, try to remove the style from the whole element. * * 2. Otherwise if it's collapsed on element boundaries, moving the selection * outside the styles instead of removing the whole tag, * also make sure other inner styles were well preserverd.(#3309) */ if ( element == startPath.block || element == startPath.blockLimit ) break; if ( this.checkElementRemovable( element ) ) { var isStart; if ( range.collapsed && ( range.checkBoundaryOfElement( element, CKEDITOR.END ) || ( isStart = range.checkBoundaryOfElement( element, CKEDITOR.START ) ) ) ) { boundaryElement = element; boundaryElement.match = isStart ? 'start' : 'end'; } else { /* * Before removing the style node, there may be a sibling to the style node * that's exactly the same to the one to be removed. To the user, it makes * no difference that they're separate entities in the DOM tree. So, merge * them before removal. */ element.mergeSiblings(); if ( element.getName() == this.element ) removeFromElement( this, element ); else removeOverrides( element, getOverrides( this )[ element.getName() ] ); } } } // Re-create the style tree after/before the boundary element, // the replication start from bookmark start node to define the // new range. if ( boundaryElement ) { var clonedElement = startNode; for ( i = 0 ;; i++ ) { var newElement = startPath.elements[ i ]; if ( newElement.equals( boundaryElement ) ) break; // Avoid copying any matched element. else if ( newElement.match ) continue; else newElement = newElement.clone(); newElement.append( clonedElement ); clonedElement = newElement; } clonedElement[ boundaryElement.match == 'start' ? 'insertBefore' : 'insertAfter' ]( boundaryElement ); } } else { /* * Now our range isn't collapsed. Lets walk from the start node to the end * node via DFS and remove the styles one-by-one. */ var endNode = bookmark.endNode, me = this; /* * Find out the style ancestor that needs to be broken down at startNode * and endNode. */ function breakNodes() { var startPath = new CKEDITOR.dom.elementPath( startNode.getParent() ), endPath = new CKEDITOR.dom.elementPath( endNode.getParent() ), breakStart = null, breakEnd = null; for ( var i = 0 ; i < startPath.elements.length ; i++ ) { var element = startPath.elements[ i ]; if ( element == startPath.block || element == startPath.blockLimit ) break; if ( me.checkElementRemovable( element ) ) breakStart = element; } for ( i = 0 ; i < endPath.elements.length ; i++ ) { element = endPath.elements[ i ]; if ( element == endPath.block || element == endPath.blockLimit ) break; if ( me.checkElementRemovable( element ) ) breakEnd = element; } if ( breakEnd ) endNode.breakParent( breakEnd ); if ( breakStart ) startNode.breakParent( breakStart ); } breakNodes(); // Now, do the DFS walk. var currentNode = startNode; while ( !currentNode.equals( endNode ) ) { /* * Need to get the next node first because removeFromElement() can remove * the current node from DOM tree. */ var nextNode = currentNode.getNextSourceNode(); if ( currentNode.type == CKEDITOR.NODE_ELEMENT && this.checkElementRemovable( currentNode ) ) { // Remove style from element or overriding element. if ( currentNode.getName() == this.element ) removeFromElement( this, currentNode ); else removeOverrides( currentNode, getOverrides( this )[ currentNode.getName() ] ); /* * removeFromElement() may have merged the next node with something before * the startNode via mergeSiblings(). In that case, the nextNode would * contain startNode and we'll have to call breakNodes() again and also * reassign the nextNode to something after startNode. */ if ( nextNode.type == CKEDITOR.NODE_ELEMENT && nextNode.contains( startNode ) ) { breakNodes(); nextNode = startNode.getNext(); } } currentNode = nextNode; } } range.moveToBookmark( bookmark ); } function applyObjectStyle( range ) { var root = range.getCommonAncestor( true, true ), element = root.getAscendant( this.element, true ); element && !element.isReadOnly() && setupElement( element, this ); } function removeObjectStyle( range ) { var root = range.getCommonAncestor( true, true ), element = root.getAscendant( this.element, true ); if ( !element ) return; var style = this, def = style._.definition, attributes = def.attributes; // Remove all defined attributes. if ( attributes ) { for ( var att in attributes ) { element.removeAttribute( att, attributes[ att ] ); } } // Assign all defined styles. if ( def.styles ) { for ( var i in def.styles ) { if ( !def.styles.hasOwnProperty( i ) ) continue; element.removeStyle( i ); } } } function applyBlockStyle( range ) { // Serializible bookmarks is needed here since // elements may be merged. var bookmark = range.createBookmark( true ); var iterator = range.createIterator(); iterator.enforceRealBlocks = true; // make recognize <br /> tag as a separator in ENTER_BR mode (#5121) if ( this._.enterMode ) iterator.enlargeBr = ( this._.enterMode != CKEDITOR.ENTER_BR ); var block; var doc = range.document; var previousPreBlock; while ( ( block = iterator.getNextParagraph() ) ) // Only one = { if ( !block.isReadOnly() ) { var newBlock = getElement( this, doc, block ); replaceBlock( block, newBlock ); } } range.moveToBookmark( bookmark ); } function removeBlockStyle( range ) { // Serializible bookmarks is needed here since // elements may be merged. var bookmark = range.createBookmark( 1 ); var iterator = range.createIterator(); iterator.enforceRealBlocks = true; iterator.enlargeBr = this._.enterMode != CKEDITOR.ENTER_BR; var block; while ( ( block = iterator.getNextParagraph() ) ) { if ( this.checkElementRemovable( block ) ) { // <pre> get special treatment. if ( block.is( 'pre' ) ) { var newBlock = this._.enterMode == CKEDITOR.ENTER_BR ? null : range.document.createElement( this._.enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ); newBlock && block.copyAttributes( newBlock ); replaceBlock( block, newBlock ); } else removeFromElement( this, block, 1 ); } } range.moveToBookmark( bookmark ); } // Replace the original block with new one, with special treatment // for <pre> blocks to make sure content format is well preserved, and merging/splitting adjacent // when necessary.(#3188) function replaceBlock( block, newBlock ) { // Block is to be removed, create a temp element to // save contents. var removeBlock = !newBlock; if ( removeBlock ) { newBlock = block.getDocument().createElement( 'div' ); block.copyAttributes( newBlock ); } var newBlockIsPre = newBlock && newBlock.is( 'pre' ); var blockIsPre = block.is( 'pre' ); var isToPre = newBlockIsPre && !blockIsPre; var isFromPre = !newBlockIsPre && blockIsPre; if ( isToPre ) newBlock = toPre( block, newBlock ); else if ( isFromPre ) // Split big <pre> into pieces before start to convert. newBlock = fromPres( removeBlock ? [ block.getHtml() ] : splitIntoPres( block ), newBlock ); else block.moveChildren( newBlock ); newBlock.replace( block ); if ( newBlockIsPre ) { // Merge previous <pre> blocks. mergePre( newBlock ); } else if ( removeBlock ) removeNoAttribsElement( newBlock ); } /** * Merge a <pre> block with a previous sibling if available. */ function mergePre( preBlock ) { var previousBlock; if ( !( ( previousBlock = preBlock.getPrevious( nonWhitespaces ) ) && previousBlock.is && previousBlock.is( 'pre') ) ) 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 mergedHtml = replace( previousBlock.getHtml(), /\n$/, '' ) + '\n\n' + replace( preBlock.getHtml(), /^\n/, '' ) ; // Krugle: IE normalizes innerHTML from <pre>, breaking whitespaces. if ( CKEDITOR.env.ie ) preBlock.$.outerHTML = '<pre>' + mergedHtml + '</pre>'; else preBlock.setHtml( mergedHtml ); previousBlock.remove(); } /** * Split into multiple <pre> blocks separated by double line-break. * @param preBlock */ function splitIntoPres( preBlock ) { // Exclude the ones at header OR at tail, // and ignore bookmark content between them. var duoBrRegex = /(\S\s*)\n(?:\s|(<span[^>]+data-cke-bookmark.*?\/span>))*\n(?!$)/gi, blockName = preBlock.getName(), splitedHtml = replace( preBlock.getOuterHtml(), duoBrRegex, function( match, charBefore, bookmark ) { return charBefore + '</pre>' + bookmark + '<pre>'; } ); var pres = []; splitedHtml.replace( /<pre\b.*?>([\s\S]*?)<\/pre>/gi, function( match, preContent ){ pres.push( preContent ); } ); return pres; } // Wrapper function of String::replace without considering of head/tail bookmarks nodes. function replace( str, regexp, replacement ) { var headBookmark = '', tailBookmark = ''; str = str.replace( /(^<span[^>]+data-cke-bookmark.*?\/span>)|(<span[^>]+data-cke-bookmark.*?\/span>$)/gi, function( str, m1, m2 ){ m1 && ( headBookmark = m1 ); m2 && ( tailBookmark = m2 ); return ''; } ); return headBookmark + str.replace( regexp, replacement ) + tailBookmark; } /** * Converting a list of <pre> into blocks with format well preserved. */ function fromPres( preHtmls, newBlock ) { var docFrag; if ( preHtmls.length > 1 ) docFrag = new CKEDITOR.dom.documentFragment( newBlock.getDocument() ); for ( var i = 0 ; i < preHtmls.length ; i++ ) { var blockHtml = preHtmls[ i ]; // 1. Trim the first and last line-breaks immediately after and before <pre>, // they're not visible. blockHtml = blockHtml.replace( /(\r\n|\r)/g, '\n' ) ; blockHtml = replace( blockHtml, /^[ \t]*\n/, '' ) ; blockHtml = replace( blockHtml, /\n$/, '' ) ; // 2. Convert spaces or tabs at the beginning or at the end to &nbsp; blockHtml = replace( blockHtml, /^[ \t]+|[ \t]+$/g, function( match, offset, s ) { if ( match.length == 1 ) // one space, preserve it return '&nbsp;' ; else if ( !offset ) // beginning of block return CKEDITOR.tools.repeat( '&nbsp;', match.length - 1 ) + ' '; else // end of block return ' ' + CKEDITOR.tools.repeat( '&nbsp;', match.length - 1 ); } ) ; // 3. Convert \n to <BR>. // 4. Convert contiguous (i.e. non-singular) spaces or tabs to &nbsp; blockHtml = blockHtml.replace( /\n/g, '<br>' ) ; blockHtml = blockHtml.replace( /[ \t]{2,}/g, function ( match ) { return CKEDITOR.tools.repeat( '&nbsp;', match.length - 1 ) + ' ' ; } ) ; if ( docFrag ) { var newBlockClone = newBlock.clone(); newBlockClone.setHtml( blockHtml ); docFrag.append( newBlockClone ); } else newBlock.setHtml( blockHtml ); } return docFrag || newBlock; } /** * Converting from a non-PRE block to a PRE block in formatting operations. */ function toPre( block, newBlock ) { var bogus = block.getBogus(); bogus && bogus.remove(); // First trim the block content. var preHtml = block.getHtml(); // 1. Trim head/tail spaces, they're not visible. preHtml = replace( preHtml, /(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g, '' ); // 2. Delete ANSI whitespaces immediately before and after <BR> because // they are not visible. preHtml = preHtml.replace( /[ \t\r\n]*(<br[^>]*>)[ \t\r\n]*/gi, '$1' ); // 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>. preHtml = preHtml.replace( /([ \t\n\r]+|&nbsp;)/g, ' ' ); // 5. Convert any <BR /> to \n. This must not be done earlier because // the \n would then get compressed. preHtml = preHtml.replace( /<br\b[^>]*>/gi, '\n' ); // Krugle: IE normalizes innerHTML to <pre>, breaking whitespaces. if ( CKEDITOR.env.ie ) { var temp = block.getDocument().createElement( 'div' ); temp.append( newBlock ); newBlock.$.outerHTML = '<pre>' + preHtml + '</pre>'; newBlock.copyAttributes( temp.getFirst() ); newBlock = temp.getFirst().remove(); } else newBlock.setHtml( preHtml ); return newBlock; } // Removes a style from an element itself, don't care about its subtree. function removeFromElement( style, element ) { var def = style._.definition, attributes = CKEDITOR.tools.extend( {}, def.attributes, getOverrides( style )[ element.getName() ] ), styles = def.styles, // If the style is only about the element itself, we have to remove the element. removeEmpty = CKEDITOR.tools.isEmpty( attributes ) && CKEDITOR.tools.isEmpty( styles ); // Remove definition attributes/style from the elemnt. for ( var attName in attributes ) { // The 'class' element value must match (#1318). if ( ( attName == 'class' || style._.definition.fullMatch ) && element.getAttribute( attName ) != normalizeProperty( attName, attributes[ attName ] ) ) continue; removeEmpty = element.hasAttribute( attName ); element.removeAttribute( attName ); } for ( var styleName in styles ) { // Full match style insist on having fully equivalence. (#5018) if ( style._.definition.fullMatch && element.getStyle( styleName ) != normalizeProperty( styleName, styles[ styleName ], true ) ) continue; removeEmpty = removeEmpty || !!element.getStyle( styleName ); element.removeStyle( styleName ); } if ( removeEmpty ) { !CKEDITOR.dtd.$block[ element.getName() ] || style._.enterMode == CKEDITOR.ENTER_BR && !element.hasAttributes() ? removeNoAttribsElement( element ) : element.renameNode( style._.enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ); } } // Removes a style from inside an element. function removeFromInsideElement( style, element ) { var def = style._.definition, attribs = def.attributes, styles = def.styles, overrides = getOverrides( style ), innerElements = element.getElementsByTag( style.element ); for ( var i = innerElements.count(); --i >= 0 ; ) removeFromElement( style, innerElements.getItem( i ) ); // Now remove any other element with different name that is // defined to be overriden. for ( var overrideElement in overrides ) { if ( overrideElement != style.element ) { innerElements = element.getElementsByTag( overrideElement ) ; for ( i = innerElements.count() - 1 ; i >= 0 ; i-- ) { var innerElement = innerElements.getItem( i ); removeOverrides( innerElement, overrides[ overrideElement ] ) ; } } } } /** * Remove overriding styles/attributes from the specific element. * Note: Remove the element if no attributes remain. * @param {Object} element * @param {Object} overrides */ function removeOverrides( element, overrides ) { var attributes = overrides && overrides.attributes ; if ( attributes ) { for ( var i = 0 ; i < attributes.length ; i++ ) { var attName = attributes[i][0], actualAttrValue ; if ( ( actualAttrValue = element.getAttribute( 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( actualAttrValue ) ) || ( typeof attValue == 'string' && actualAttrValue == attValue ) ) element.removeAttribute( attName ) ; } } } removeNoAttribsElement( element ); } // If the element has no more attributes, remove it. function removeNoAttribsElement( element ) { // If no more attributes remained in the element, remove it, // leaving its children. if ( !element.hasAttributes() ) { if ( CKEDITOR.dtd.$block[ element.getName() ] ) { var previous = element.getPrevious( nonWhitespaces ), next = element.getNext( nonWhitespaces ); if ( previous && ( previous.type == CKEDITOR.NODE_TEXT || !previous.isBlockBoundary( { br : 1 } ) ) ) element.append( 'br', 1 ); if ( next && ( next.type == CKEDITOR.NODE_TEXT || !next.isBlockBoundary( { br : 1 } ) ) ) element.append( 'br' ); element.remove( true ); } else { // Removing elements may open points where merging is possible, // so let's cache the first and last nodes for later checking. var firstChild = element.getFirst(); var lastChild = element.getLast(); element.remove( true ); if ( firstChild ) { // Check the cached nodes for merging. firstChild.type == CKEDITOR.NODE_ELEMENT && firstChild.mergeSiblings(); if ( lastChild && !firstChild.equals( lastChild ) && lastChild.type == CKEDITOR.NODE_ELEMENT ) lastChild.mergeSiblings(); } } } } function getElement( style, targetDocument, element ) { var el, def = style._.definition, elementName = style.element; // The "*" element name will always be a span for this function. if ( elementName == '*' ) elementName = 'span'; // Create the element. el = new CKEDITOR.dom.element( elementName, targetDocument ); // #6226: attributes should be copied before the new ones are applied if ( element ) element.copyAttributes( el ); el = setupElement( el, style ); // Avoid ID duplication. if ( targetDocument.getCustomData( 'doc_processing_style' ) && el.hasAttribute( 'id' ) ) el.removeAttribute( 'id' ); else targetDocument.setCustomData( 'doc_processing_style', 1 ); return el; } function setupElement( el, style ) { var def = style._.definition, attributes = def.attributes, styles = CKEDITOR.style.getStyleText( def ); // Assign all defined attributes. if ( attributes ) { for ( var att in attributes ) { el.setAttribute( att, attributes[ att ] ); } } // Assign all defined styles. if( styles ) el.setAttribute( 'style', styles ); return el; } function replaceVariables( list, variablesValues ) { for ( var item in list ) { list[ item ] = list[ item ].replace( varRegex, function( match, varName ) { return variablesValues[ varName ]; }); } } // Returns an object that can be used for style matching comparison. // Attributes names and values are all lowercased, and the styles get // merged with the style attribute. function getAttributesForComparison( styleDefinition ) { // If we have already computed it, just return it. var attribs = styleDefinition._AC; if ( attribs ) return attribs; attribs = {}; var length = 0; // Loop through all defined attributes. var styleAttribs = styleDefinition.attributes; if ( styleAttribs ) { for ( var styleAtt in styleAttribs ) { length++; attribs[ styleAtt ] = styleAttribs[ styleAtt ]; } } // Includes the style definitions. var styleText = CKEDITOR.style.getStyleText( styleDefinition ); if ( styleText ) { if ( !attribs[ 'style' ] ) length++; attribs[ 'style' ] = styleText; } // Appends the "length" information to the object. attribs._length = length; // Return it, saving it to the next request. return ( styleDefinition._AC = 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. * @param {CKEDITOR.style} style */ function getOverrides( style ) { if ( style._.overrides ) return style._.overrides; var overrides = ( style._.overrides = {} ), definition = style._.definition.overrides; if ( definition ) { // The override description can be a string, object or array. // Internally, well handle arrays only, so transform it if needed. if ( !CKEDITOR.tools.isArray( definition ) ) definition = [ definition ]; // Loop through all override definitions. for ( var i = 0 ; i < definition.length ; i++ ) { var override = definition[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() : style.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 overrides; } // Make the comparison of attribute value easier by standardizing it. function normalizeProperty( name, value, isStyle ) { var temp = new CKEDITOR.dom.element( 'span' ); temp [ isStyle ? 'setStyle' : 'setAttribute' ]( name, value ); return temp[ isStyle ? 'getStyle' : 'getAttribute' ]( name ); } // Make the comparison of style text easier by standardizing it. function normalizeCssText( unparsedCssText, nativeNormalize ) { var styleText; if ( nativeNormalize !== false ) { // Injects the style in a temporary span object, so the browser parses it, // retrieving its final format. var temp = new CKEDITOR.dom.element( 'span' ); temp.setAttribute( 'style', unparsedCssText ); styleText = temp.getAttribute( 'style' ) || ''; } else styleText = unparsedCssText; // Normalize font-family property, ignore quotes and being case insensitive. (#7322) // http://www.w3.org/TR/css3-fonts/#font-family-the-font-family-property styleText = styleText.replace( /(font-family:)(.*?)(?=;|$)/, function ( match, prop, val ) { var names = val.split( ',' ); for ( var i = 0; i < names.length; i++ ) names[ i ] = CKEDITOR.tools.trim( names[ i ].replace( /["']/g, '' ) ); return prop + names.join( ',' ); }); // Shrinking white-spaces around colon and semi-colon (#4147). // Compensate tail semi-colon. return styleText.replace( /\s*([;:])\s*/, '$1' ) .replace( /([^\s;])$/, '$1;') // Trimming spaces after comma(#4107), // remove quotations(#6403), // mostly for differences on "font-family". .replace( /,\s+/g, ',' ) .replace( /\"/g,'' ) .toLowerCase(); } // Turn inline style text properties into one hash. function parseStyleText( styleText ) { var retval = {}; styleText .replace( /&quot;/g, '"' ) .replace( /\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g, function( match, name, value ) { retval[ name ] = value; } ); return retval; } /** * Compare two bunch of styles, with the speciality that value 'inherit' * is treated as a wildcard which will match any value. * @param {Object|String} source * @param {Object|String} target */ function compareCssText( source, target ) { typeof source == 'string' && ( source = parseStyleText( source ) ); typeof target == 'string' && ( target = parseStyleText( target ) ); for( var name in source ) { if ( !( name in target && ( target[ name ] == source[ name ] || source[ name ] == 'inherit' || target[ name ] == 'inherit' ) ) ) { return false; } } return true; } function applyStyle( document, remove ) { var selection = document.getSelection(), // Bookmark the range so we can re-select it after processing. bookmarks = selection.createBookmarks( 1 ), ranges = selection.getRanges(), func = remove ? this.removeFromRange : this.applyToRange, range; var iterator = ranges.createIterator(); while ( ( range = iterator.getNextRange() ) ) func.call( this, range ); if ( bookmarks.length == 1 && bookmarks[ 0 ].collapsed ) { selection.selectRanges( ranges ); document.getById( bookmarks[ 0 ].startNode ).remove(); } else selection.selectBookmarks( bookmarks ); document.removeCustomData( 'doc_processing_style' ); } })(); CKEDITOR.styleCommand = function( style ) { this.style = style; }; CKEDITOR.styleCommand.prototype.exec = function( editor ) { editor.focus(); var doc = editor.document; if ( doc ) { if ( this.state == CKEDITOR.TRISTATE_OFF ) this.style.apply( doc ); else if ( this.state == CKEDITOR.TRISTATE_ON ) this.style.remove( doc ); } return !!doc; }; /** * Manages styles registration and loading. See also {@link CKEDITOR.config.stylesSet}. * @namespace * @augments CKEDITOR.resourceManager * @constructor * @since 3.2 * @example * // The set of styles for the <b>Styles</b> combo * CKEDITOR.stylesSet.add( 'default', * [ * // Block Styles * { name : 'Blue Title' , element : 'h3', styles : { 'color' : 'Blue' } }, * { name : 'Red Title' , element : 'h3', styles : { 'color' : 'Red' } }, * * // Inline Styles * { name : 'Marker: Yellow' , element : 'span', styles : { 'background-color' : 'Yellow' } }, * { name : 'Marker: Green' , element : 'span', styles : { 'background-color' : 'Lime' } }, * * // Object Styles * { * name : 'Image on Left', * element : 'img', * attributes : * { * 'style' : 'padding: 5px; margin-right: 5px', * 'border' : '2', * 'align' : 'left' * } * } * ]); */ CKEDITOR.stylesSet = new CKEDITOR.resourceManager( '', 'stylesSet' ); // Backward compatibility (#5025). CKEDITOR.addStylesSet = CKEDITOR.tools.bind( CKEDITOR.stylesSet.add, CKEDITOR.stylesSet ); CKEDITOR.loadStylesSet = function( name, url, callback ) { CKEDITOR.stylesSet.addExternal( name, url, '' ); CKEDITOR.stylesSet.load( name, callback ); }; /** * Gets the current styleSet for this instance * @param {Function} callback The function to be called with the styles data. * @example * editor.getStylesSet( function( stylesDefinitions ) {} ); */ CKEDITOR.editor.prototype.getStylesSet = function( callback ) { if ( !this._.stylesDefinitions ) { var editor = this, // Respect the backwards compatible definition entry configStyleSet = editor.config.stylesCombo_stylesSet || editor.config.stylesSet || 'default'; // #5352 Allow to define the styles directly in the config object if ( configStyleSet instanceof Array ) { editor._.stylesDefinitions = configStyleSet; callback( configStyleSet ); return; } var partsStylesSet = configStyleSet.split( ':' ), styleSetName = partsStylesSet[ 0 ], externalPath = partsStylesSet[ 1 ], pluginPath = CKEDITOR.plugins.registered.styles.path; CKEDITOR.stylesSet.addExternal( styleSetName, externalPath ? partsStylesSet.slice( 1 ).join( ':' ) : pluginPath + 'styles/' + styleSetName + '.js', '' ); CKEDITOR.stylesSet.load( styleSetName, function( stylesSet ) { editor._.stylesDefinitions = stylesSet[ styleSetName ]; callback( editor._.stylesDefinitions ); } ) ; } else callback( this._.stylesDefinitions ); }; /** * Indicates that fully selected read-only elements will be included when * applying the style (for inline styles only). * @name CKEDITOR.style.includeReadonly * @type Boolean * @default false * @since 3.5 */ /** * Disables inline styling on read-only elements. * @name CKEDITOR.config.disableReadonlyStyling * @type Boolean * @default false * @since 3.5 */ /** * The "styles definition set" to use in the editor. They will be used in the * styles combo and the Style selector of the div container. <br> * The styles may be defined in the page containing the editor, or can be * loaded on demand from an external file. In the second case, if this setting * contains only a name, the styles definition file will be loaded from the * "styles" folder inside the styles plugin folder. * Otherwise, this setting has the "name:url" syntax, making it * possible to set the URL from which loading the styles file.<br> * Previously this setting was available as config.stylesCombo_stylesSet<br> * @name CKEDITOR.config.stylesSet * @type String|Array * @default 'default' * @since 3.3 * @example * // Load from the styles' styles folder (mystyles.js file). * config.stylesSet = 'mystyles'; * @example * // Load from a relative URL. * config.stylesSet = 'mystyles:/editorstyles/styles.js'; * @example * // Load from a full URL. * config.stylesSet = 'mystyles:http://www.example.com/editorstyles/styles.js'; * @example * // Load from a list of definitions. * config.stylesSet = [ * { name : 'Strong Emphasis', element : 'strong' }, * { name : 'Emphasis', element : 'em' }, ... ]; */
zysms
trunk/zysms/include/ckeditor/_source/plugins/styles/plugin.js
JavaScript
asf20
53,110
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { // #### checkSelectionChange : START // The selection change check basically saves the element parent tree of // the current node and check it on successive requests. If there is any // change on the tree, then the selectionChange event gets fired. function checkSelectionChange() { try { // In IE, the "selectionchange" event may still get thrown when // releasing the WYSIWYG mode, so we need to check it first. var sel = this.getSelection(); if ( !sel || !sel.document.getWindow().$ ) return; var firstElement = sel.getStartElement(); var currentPath = new CKEDITOR.dom.elementPath( firstElement ); if ( !currentPath.compare( this._.selectionPreviousPath ) ) { this._.selectionPreviousPath = currentPath; this.fire( 'selectionChange', { selection : sel, path : currentPath, element : firstElement } ); } } catch (e) {} } var checkSelectionChangeTimer, checkSelectionChangeTimeoutPending; function checkSelectionChangeTimeout() { // Firing the "OnSelectionChange" event on every key press started to // be too slow. This function guarantees that there will be at least // 200ms delay between selection checks. checkSelectionChangeTimeoutPending = true; if ( checkSelectionChangeTimer ) return; checkSelectionChangeTimeoutExec.call( this ); checkSelectionChangeTimer = CKEDITOR.tools.setTimeout( checkSelectionChangeTimeoutExec, 200, this ); } function checkSelectionChangeTimeoutExec() { checkSelectionChangeTimer = null; if ( checkSelectionChangeTimeoutPending ) { // Call this with a timeout so the browser properly moves the // selection after the mouseup. It happened that the selection was // being moved after the mouseup when clicking inside selected text // with Firefox. CKEDITOR.tools.setTimeout( checkSelectionChange, 0, this ); checkSelectionChangeTimeoutPending = false; } } // #### checkSelectionChange : END function rangeRequiresFix( range ) { function isInlineCt( node ) { return node && node.type == CKEDITOR.NODE_ELEMENT && node.getName() in CKEDITOR.dtd.$removeEmpty; } function singletonBlock( node ) { var body = range.document.getBody(); return !node.is( 'body' ) && body.getChildCount() == 1; } var start = range.startContainer, offset = range.startOffset; if ( start.type == CKEDITOR.NODE_TEXT ) return false; // 1. Empty inline element. <span>^</span> // 2. Adjoin to inline element. <p><strong>text</strong>^</p> // 3. The only empty block in document. <body><p>^</p></body> (#7222) return !CKEDITOR.tools.trim( start.getHtml() ) ? isInlineCt( start ) || singletonBlock( start ) : isInlineCt( start.getChild( offset - 1 ) ) || isInlineCt( start.getChild( offset ) ); } var selectAllCmd = { modes : { wysiwyg : 1, source : 1 }, readOnly : CKEDITOR.env.ie || CKEDITOR.env.webkit, exec : function( editor ) { switch ( editor.mode ) { case 'wysiwyg' : editor.document.$.execCommand( 'SelectAll', false, null ); // Force triggering selectionChange (#7008) editor.forceNextSelectionCheck(); editor.selectionChange(); break; case 'source' : // Select the contents of the textarea var textarea = editor.textarea.$; if ( CKEDITOR.env.ie ) textarea.createTextRange().execCommand( 'SelectAll' ); else { textarea.selectionStart = 0; textarea.selectionEnd = textarea.value.length; } textarea.focus(); } }, canUndo : false }; function createFillingChar( doc ) { removeFillingChar( doc ); var fillingChar = doc.createText( '\u200B' ); doc.setCustomData( 'cke-fillingChar', fillingChar ); return fillingChar; } function getFillingChar( doc ) { return doc && doc.getCustomData( 'cke-fillingChar' ); } // Checks if a filling char has been used, eventualy removing it (#1272). function checkFillingChar( doc ) { var fillingChar = doc && getFillingChar( doc ); if ( fillingChar ) { // Use this flag to avoid removing the filling char right after // creating it. if ( fillingChar.getCustomData( 'ready' ) ) removeFillingChar( doc ); else fillingChar.setCustomData( 'ready', 1 ); } } function removeFillingChar( doc ) { var fillingChar = doc && doc.removeCustomData( 'cke-fillingChar' ); if ( fillingChar ) { // We can't simply remove the filling node because the user // will actually enlarge it when typing, so we just remove the // invisible char from it. fillingChar.setText( fillingChar.getText().replace( /\u200B/g, '' ) ); fillingChar = 0; } } CKEDITOR.plugins.add( 'selection', { init : function( editor ) { // On WebKit only, we need a special "filling" char on some situations // (#1272). Here we set the events that should invalidate that char. if ( CKEDITOR.env.webkit ) { editor.on( 'selectionChange', function() { checkFillingChar( editor.document ); } ); editor.on( 'beforeSetMode', function() { removeFillingChar( editor.document ); } ); editor.on( 'key', function( e ) { // Remove the filling char before some keys get // executed, so they'll not get blocked by it. switch ( e.data.keyCode ) { case 13 : // ENTER case CKEDITOR.SHIFT + 13 : // SHIFT-ENTER case 37 : // LEFT-ARROW case 39 : // RIGHT-ARROW case 8 : // BACKSPACE removeFillingChar( editor.document ); } }, null, null, 10 ); var fillingCharBefore, resetSelection; function beforeData() { var doc = editor.document, fillingChar = getFillingChar( doc ); if ( fillingChar ) { // If cursor is right blinking by side of the filler node, save it for restoring, // as the following text substitution will blind it. (#7437) var sel = doc.$.defaultView.getSelection(); if ( sel.type == 'Caret' && sel.anchorNode == fillingChar.$ ) resetSelection = 1; fillingCharBefore = fillingChar.getText(); fillingChar.setText( fillingCharBefore.replace( /\u200B/g, '' ) ); } } function afterData() { var doc = editor.document, fillingChar = getFillingChar( doc ); if ( fillingChar ) { fillingChar.setText( fillingCharBefore ); if ( resetSelection ) { doc.$.defaultView.getSelection().setPosition( fillingChar.$,fillingChar.getLength() ); resetSelection = 0; } } } editor.on( 'beforeUndoImage', beforeData ); editor.on( 'afterUndoImage', afterData ); editor.on( 'beforeGetData', beforeData, null, null, 0 ); editor.on( 'getData', afterData ); } editor.on( 'contentDom', function() { var doc = editor.document, body = doc.getBody(), html = doc.getDocumentElement(); if ( CKEDITOR.env.ie ) { // Other browsers don't loose the selection if the // editor document loose the focus. In IE, we don't // have support for it, so we reproduce it here, other // than firing the selection change event. var savedRange, saveEnabled, restoreEnabled = 1; // "onfocusin" is fired before "onfocus". It makes it // possible to restore the selection before click // events get executed. body.on( 'focusin', function( evt ) { // If there are elements with layout they fire this event but // it must be ignored to allow edit its contents #4682 if ( evt.data.$.srcElement.nodeName != 'BODY' ) return; // If we have saved a range, restore it at this // point. if ( savedRange ) { if ( restoreEnabled ) { // Well not break because of this. try { savedRange.select(); } catch (e) {} // Update locked selection because of the normalized text nodes. (#6083, #6987) var lockedSelection = doc.getCustomData( 'cke_locked_selection' ); if ( lockedSelection ) { lockedSelection.unlock(); lockedSelection.lock(); } } savedRange = null; } }); body.on( 'focus', function() { // Enable selections to be saved. saveEnabled = 1; saveSelection(); }); body.on( 'beforedeactivate', function( evt ) { // Ignore this event if it's caused by focus switch between // internal editable control type elements, e.g. layouted paragraph. (#4682) if ( evt.data.$.toElement ) return; // Disable selections from being saved. saveEnabled = 0; restoreEnabled = 1; }); // IE before version 8 will leave cursor blinking inside the document after // editor blurred unless we clean up the selection. (#4716) if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 ) { editor.on( 'blur', function( evt ) { // Try/Catch to avoid errors if the editor is hidden. (#6375) try { editor.document && editor.document.$.selection.empty(); } catch (e) {} }); } // Listening on document element ensures that // scrollbar is included. (#5280) html.on( 'mousedown', function() { // Lock restore selection now, as we have // a followed 'click' event which introduce // new selection. (#5735) restoreEnabled = 0; }); html.on( 'mouseup', function() { restoreEnabled = 1; }); // In IE6/7 the blinking cursor appears, but contents are // not editable. (#5634) if ( CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.version < 8 || CKEDITOR.env.quirks ) ) { // The 'click' event is not fired when clicking the // scrollbars, so we can use it to check whether // the empty space following <body> has been clicked. html.on( 'click', function( evt ) { if ( evt.data.getTarget().getName() == 'html' ) editor.getSelection().getRanges()[ 0 ].select(); }); } var scroll; // IE fires the "selectionchange" event when clicking // inside a selection. We don't want to capture that. body.on( 'mousedown', function( evt ) { // IE scrolls document to top on right mousedown // when editor has no focus, remember this scroll // position and revert it before context menu opens. (#5778) if ( evt.data.$.button == 2 ) { var sel = editor.document.$.selection; if ( sel.type == 'None' ) scroll = editor.window.getScrollPosition(); } disableSave(); }); body.on( 'mouseup', function( evt ) { // Restore recorded scroll position when needed on right mouseup. if ( evt.data.$.button == 2 && scroll ) { editor.document.$.documentElement.scrollLeft = scroll.x; editor.document.$.documentElement.scrollTop = scroll.y; } scroll = null; saveEnabled = 1; setTimeout( function() { saveSelection( true ); }, 0 ); }); body.on( 'keydown', disableSave ); body.on( 'keyup', function() { saveEnabled = 1; saveSelection(); }); // IE is the only to provide the "selectionchange" // event. doc.on( 'selectionchange', saveSelection ); function disableSave() { saveEnabled = 0; } function saveSelection( testIt ) { if ( saveEnabled ) { var doc = editor.document, sel = editor.getSelection(), nativeSel = sel && sel.getNative(); // There is a very specific case, when clicking // inside a text selection. In that case, the // selection collapses at the clicking point, // but the selection object remains in an // unknown state, making createRange return a // range at the very start of the document. In // such situation we have to test the range, to // be sure it's valid. if ( testIt && nativeSel && nativeSel.type == 'None' ) { // The "InsertImage" command can be used to // test whether the selection is good or not. // If not, it's enough to give some time to // IE to put things in order for us. if ( !doc.$.queryCommandEnabled( 'InsertImage' ) ) { CKEDITOR.tools.setTimeout( saveSelection, 50, this, true ); return; } } // Avoid saving selection from within text input. (#5747) var parentTag; if ( nativeSel && nativeSel.type && nativeSel.type != 'Control' && ( parentTag = nativeSel.createRange() ) && ( parentTag = parentTag.parentElement() ) && ( parentTag = parentTag.nodeName ) && parentTag.toLowerCase() in { input: 1, textarea : 1 } ) { return; } savedRange = nativeSel && sel.getRanges()[ 0 ]; checkSelectionChangeTimeout.call( editor ); } } } else { // In other browsers, we make the selection change // check based on other events, like clicks or keys // press. doc.on( 'mouseup', checkSelectionChangeTimeout, editor ); doc.on( 'keyup', checkSelectionChangeTimeout, editor ); doc.on( 'selectionchange', checkSelectionChangeTimeout, editor ); } }); // Clear the cached range path before unload. (#7174) editor.on( 'contentDomUnload', editor.forceNextSelectionCheck, editor ); editor.addCommand( 'selectAll', selectAllCmd ); editor.ui.addButton( 'SelectAll', { label : editor.lang.selectAll, command : 'selectAll' }); editor.selectionChange = checkSelectionChangeTimeout; // IE9 might cease to work if there's an object selection inside the iframe (#7639). CKEDITOR.env.ie9Compat && editor.on( 'destroy', function() { var sel = editor.getSelection(); sel && sel.getNative().clear(); }, null, null, 9 ); } }); /** * Gets the current selection from the editing area when in WYSIWYG mode. * @returns {CKEDITOR.dom.selection} A selection object or null if not in * WYSIWYG mode or no selection is available. * @example * var selection = CKEDITOR.instances.editor1.<strong>getSelection()</strong>; * alert( selection.getType() ); */ CKEDITOR.editor.prototype.getSelection = function() { return this.document && this.document.getSelection(); }; CKEDITOR.editor.prototype.forceNextSelectionCheck = function() { delete this._.selectionPreviousPath; }; /** * Gets the current selection from the document. * @returns {CKEDITOR.dom.selection} A selection object. * @example * var selection = CKEDITOR.instances.editor1.document.<strong>getSelection()</strong>; * alert( selection.getType() ); */ CKEDITOR.dom.document.prototype.getSelection = function() { var sel = new CKEDITOR.dom.selection( this ); return ( !sel || sel.isInvalid ) ? null : sel; }; /** * No selection. * @constant * @example * if ( editor.getSelection().getType() == CKEDITOR.SELECTION_NONE ) * alert( 'Nothing is selected' ); */ CKEDITOR.SELECTION_NONE = 1; /** * A text or a collapsed selection. * @constant * @example * if ( editor.getSelection().getType() == CKEDITOR.SELECTION_TEXT ) * alert( 'A text is selected' ); */ CKEDITOR.SELECTION_TEXT = 2; /** * Element selection. * @constant * @example * if ( editor.getSelection().getType() == CKEDITOR.SELECTION_ELEMENT ) * alert( 'An element is selected' ); */ CKEDITOR.SELECTION_ELEMENT = 3; /** * Manipulates the selection in a DOM document. * @constructor * @param {CKEDITOR.dom.document} document The DOM document that contains the selection. * @example * var sel = new <strong>CKEDITOR.dom.selection( CKEDITOR.document )</strong>; */ CKEDITOR.dom.selection = function( document ) { var lockedSelection = document.getCustomData( 'cke_locked_selection' ); if ( lockedSelection ) return lockedSelection; this.document = document; this.isLocked = 0; this._ = { cache : {} }; /** * IE BUG: The selection's document may be a different document than the * editor document. Return null if that is the case. */ if ( CKEDITOR.env.ie ) { var range = this.getNative().createRange(); if ( !range || ( range.item && range.item(0).ownerDocument != this.document.$ ) || ( range.parentElement && range.parentElement().ownerDocument != this.document.$ ) ) { this.isInvalid = true; } } return this; }; var styleObjectElements = { img:1,hr:1,li:1,table:1,tr:1,td:1,th:1,embed:1,object:1,ol:1,ul:1, a:1,input:1,form:1,select:1,textarea:1,button:1,fieldset:1,thead:1,tfoot:1 }; CKEDITOR.dom.selection.prototype = { /** * Gets the native selection object from the browser. * @function * @returns {Object} The native browser selection object. * @example * var selection = editor.getSelection().<strong>getNative()</strong>; */ getNative : CKEDITOR.env.ie ? function() { return this._.cache.nativeSel || ( this._.cache.nativeSel = this.document.$.selection ); } : function() { return this._.cache.nativeSel || ( this._.cache.nativeSel = this.document.getWindow().$.getSelection() ); }, /** * Gets the type of the current selection. The following values are * available: * <ul> * <li><code>{@link CKEDITOR.SELECTION_NONE}</code> (1): No selection.</li> * <li><code>{@link CKEDITOR.SELECTION_TEXT}</code> (2): A text or a collapsed * selection is selected.</li> * <li><code>{@link CKEDITOR.SELECTION_ELEMENT}</code> (3): An element is * selected.</li> * </ul> * @function * @returns {Number} One of the following constant values: * <code>{@link CKEDITOR.SELECTION_NONE}</code>, <code>{@link CKEDITOR.SELECTION_TEXT}</code>, or * <code>{@link CKEDITOR.SELECTION_ELEMENT}</code>. * @example * if ( editor.getSelection().<strong>getType()</strong> == CKEDITOR.SELECTION_TEXT ) * alert( 'A text is selected' ); */ getType : CKEDITOR.env.ie ? function() { var cache = this._.cache; if ( cache.type ) return cache.type; var type = CKEDITOR.SELECTION_NONE; try { var sel = this.getNative(), ieType = sel.type; if ( ieType == 'Text' ) type = CKEDITOR.SELECTION_TEXT; if ( ieType == 'Control' ) type = CKEDITOR.SELECTION_ELEMENT; // It is possible that we can still get a text range // object even when type == 'None' is returned by IE. // So we'd better check the object returned by // createRange() rather than by looking at the type. if ( sel.createRange().parentElement ) type = CKEDITOR.SELECTION_TEXT; } catch(e) {} return ( cache.type = type ); } : function() { var cache = this._.cache; if ( cache.type ) return cache.type; var type = CKEDITOR.SELECTION_TEXT; var sel = this.getNative(); if ( !sel ) type = CKEDITOR.SELECTION_NONE; else if ( sel.rangeCount == 1 ) { // Check if the actual selection is a control (IMG, // TABLE, HR, etc...). var range = sel.getRangeAt(0), startContainer = range.startContainer; if ( startContainer == range.endContainer && startContainer.nodeType == 1 && ( range.endOffset - range.startOffset ) == 1 && styleObjectElements[ startContainer.childNodes[ range.startOffset ].nodeName.toLowerCase() ] ) { type = CKEDITOR.SELECTION_ELEMENT; } } return ( cache.type = type ); }, /** * Retrieves the <code>{@link CKEDITOR.dom.range}</code> instances that represent the current selection. * Note: Some browsers return multiple ranges even for a continuous selection. Firefox, for example, returns * one range for each table cell when one or more table rows are selected. * @function * @param {Boolean} [onlyEditables] If set to <code>true</code>, this function retrives editable ranges only. * @return {Array} Range instances that represent the current selection. * @example * var ranges = selection.<strong>getRanges()</strong>; * alert( ranges.length ); */ getRanges : (function() { var func = CKEDITOR.env.ie ? ( function() { function getNodeIndex( node ) { return new CKEDITOR.dom.node( node ).getIndex(); } // Finds the container and offset for a specific boundary // of an IE range. var getBoundaryInformation = function( range, start ) { // Creates a collapsed range at the requested boundary. range = range.duplicate(); range.collapse( start ); // Gets the element that encloses the range entirely. var parent = range.parentElement(), doc = parent.ownerDocument; // Empty parent element, e.g. <i>^</i> if ( !parent.hasChildNodes() ) return { container : parent, offset : 0 }; var siblings = parent.children, child, sibling, testRange = range.duplicate(), startIndex = 0, endIndex = siblings.length - 1, index = -1, position, distance; // Binary search over all element childs to test the range to see whether // range is right on the boundary of one element. while ( startIndex <= endIndex ) { index = Math.floor( ( startIndex + endIndex ) / 2 ); child = siblings[ index ]; testRange.moveToElementText( child ); position = testRange.compareEndPoints( 'StartToStart', range ); if ( position > 0 ) endIndex = index - 1; else if ( position < 0 ) startIndex = index + 1; else { // IE9 report wrong measurement with compareEndPoints when range anchors between two BRs. // e.g. <p>text<br />^<br /></p> (#7433) if ( CKEDITOR.env.ie9Compat && child.tagName == 'BR' ) { var bmId = 'cke_range_marker'; range.execCommand( 'CreateBookmark', false, bmId ); child = doc.getElementsByName( bmId )[ 0 ]; var offset = getNodeIndex( child ); parent.removeChild( child ); return { container : parent, offset : offset }; } else return { container : parent, offset : getNodeIndex( child ) }; } } // All childs are text nodes, // or to the right hand of test range are all text nodes. (#6992) if ( index == -1 || index == siblings.length - 1 && position < 0 ) { // Adapt test range to embrace the entire parent contents. testRange.moveToElementText( parent ); testRange.setEndPoint( 'StartToStart', range ); // IE report line break as CRLF with range.text but // only LF with textnode.nodeValue, normalize them to avoid // breaking character counting logic below. (#3949) distance = testRange.text.replace( /(\r\n|\r)/g, '\n' ).length; siblings = parent.childNodes; // Actual range anchor right beside test range at the boundary of text node. if ( !distance ) { child = siblings[ siblings.length - 1 ]; if ( child.nodeType == CKEDITOR.NODE_ELEMENT ) return { container : parent, offset : siblings.length }; else return { container : child, offset : child.nodeValue.length }; } // Start the measuring until distance overflows, meanwhile count the text nodes. var i = siblings.length; while ( distance > 0 ) distance -= siblings[ --i ].nodeValue.length; return { container : siblings[ i ], offset : -distance }; } // Test range was one offset beyond OR behind the anchored text node. else { // Adapt one side of test range to the actual range // for measuring the offset between them. testRange.collapse( position > 0 ? true : false ); testRange.setEndPoint( position > 0 ? 'StartToStart' : 'EndToStart', range ); // IE report line break as CRLF with range.text but // only LF with textnode.nodeValue, normalize them to avoid // breaking character counting logic below. (#3949) distance = testRange.text.replace( /(\r\n|\r)/g, '\n' ).length; // Actual range anchor right beside test range at the inner boundary of text node. if ( !distance ) return { container : parent, offset : getNodeIndex( child ) + ( position > 0 ? 0 : 1 ) }; // Start the measuring until distance overflows, meanwhile count the text nodes. while ( distance > 0 ) { try { sibling = child[ position > 0 ? 'previousSibling' : 'nextSibling' ]; distance -= sibling.nodeValue.length; child = sibling; } // Measurement in IE could be somtimes wrong because of <select> element. (#4611) catch( e ) { return { container : parent, offset : getNodeIndex( child ) }; } } return { container : child, offset : position > 0 ? -distance : child.nodeValue.length + distance }; } }; return function() { // IE doesn't have range support (in the W3C way), so we // need to do some magic to transform selections into // CKEDITOR.dom.range instances. var sel = this.getNative(), nativeRange = sel && sel.createRange(), type = this.getType(), range; if ( !sel ) return []; if ( type == CKEDITOR.SELECTION_TEXT ) { range = new CKEDITOR.dom.range( this.document ); var boundaryInfo = getBoundaryInformation( nativeRange, true ); range.setStart( new CKEDITOR.dom.node( boundaryInfo.container ), boundaryInfo.offset ); boundaryInfo = getBoundaryInformation( nativeRange ); range.setEnd( new CKEDITOR.dom.node( boundaryInfo.container ), boundaryInfo.offset ); // Correct an invalid IE range case on empty list item. (#5850) if ( range.endContainer.getPosition( range.startContainer ) & CKEDITOR.POSITION_PRECEDING && range.endOffset <= range.startContainer.getIndex() ) { range.collapse(); } return [ range ]; } else if ( type == CKEDITOR.SELECTION_ELEMENT ) { var retval = []; for ( var i = 0 ; i < nativeRange.length ; i++ ) { var element = nativeRange.item( i ), parentElement = element.parentNode, j = 0; range = new CKEDITOR.dom.range( this.document ); for (; j < parentElement.childNodes.length && parentElement.childNodes[j] != element ; j++ ) { /*jsl:pass*/ } range.setStart( new CKEDITOR.dom.node( parentElement ), j ); range.setEnd( new CKEDITOR.dom.node( parentElement ), j + 1 ); retval.push( range ); } return retval; } return []; }; })() : function() { // On browsers implementing the W3C range, we simply // tranform the native ranges in CKEDITOR.dom.range // instances. var ranges = [], range, doc = this.document, sel = this.getNative(); if ( !sel ) return ranges; // On WebKit, it may happen that we'll have no selection // available. We normalize it here by replicating the // behavior of other browsers. if ( !sel.rangeCount ) { range = new CKEDITOR.dom.range( doc ); range.moveToElementEditStart( doc.getBody() ); ranges.push( range ); } for ( var i = 0 ; i < sel.rangeCount ; i++ ) { var nativeRange = sel.getRangeAt( i ); range = new CKEDITOR.dom.range( doc ); range.setStart( new CKEDITOR.dom.node( nativeRange.startContainer ), nativeRange.startOffset ); range.setEnd( new CKEDITOR.dom.node( nativeRange.endContainer ), nativeRange.endOffset ); ranges.push( range ); } return ranges; }; return function( onlyEditables ) { var cache = this._.cache; if ( cache.ranges && !onlyEditables ) return cache.ranges; else if ( !cache.ranges ) cache.ranges = new CKEDITOR.dom.rangeList( func.call( this ) ); // Split range into multiple by read-only nodes. if ( onlyEditables ) { var ranges = cache.ranges; for ( var i = 0; i < ranges.length; i++ ) { var range = ranges[ i ]; // Drop range spans inside one ready-only node. var parent = range.getCommonAncestor(); if ( parent.isReadOnly() ) ranges.splice( i, 1 ); if ( range.collapsed ) continue; // Range may start inside a non-editable element, // replace the range start after it. if ( range.startContainer.isReadOnly() ) { var current = range.startContainer; while( current ) { if ( current.is( 'body' ) || !current.isReadOnly() ) break; if ( current.type == CKEDITOR.NODE_ELEMENT && current.getAttribute( 'contentEditable' ) == 'false' ) range.setStartAfter( current ); current = current.getParent(); } } var startContainer = range.startContainer, endContainer = range.endContainer, startOffset = range.startOffset, endOffset = range.endOffset, walkerRange = range.clone(); // Enlarge range start/end with text node to avoid walker // being DOM destructive, it doesn't interfere our checking // of elements below as well. if ( startContainer && startContainer.type == CKEDITOR.NODE_TEXT ) { if ( startOffset >= startContainer.getLength() ) walkerRange.setStartAfter( startContainer ); else walkerRange.setStartBefore( startContainer ); } if ( endContainer && endContainer.type == CKEDITOR.NODE_TEXT ) { if ( !endOffset ) walkerRange.setEndBefore( endContainer ); else walkerRange.setEndAfter( endContainer ); } // Looking for non-editable element inside the range. var walker = new CKEDITOR.dom.walker( walkerRange ); walker.evaluator = function( node ) { if ( node.type == CKEDITOR.NODE_ELEMENT && node.isReadOnly() ) { var newRange = range.clone(); range.setEndBefore( node ); // Drop collapsed range around read-only elements, // it make sure the range list empty when selecting // only non-editable elements. if ( range.collapsed ) ranges.splice( i--, 1 ); // Avoid creating invalid range. if ( !( node.getPosition( walkerRange.endContainer ) & CKEDITOR.POSITION_CONTAINS ) ) { newRange.setStartAfter( node ); if ( !newRange.collapsed ) ranges.splice( i + 1, 0, newRange ); } return true; } return false; }; walker.next(); } } return cache.ranges; }; })(), /** * Gets the DOM element in which the selection starts. * @returns {CKEDITOR.dom.element} The element at the beginning of the * selection. * @example * var element = editor.getSelection().<strong>getStartElement()</strong>; * alert( element.getName() ); */ getStartElement : function() { var cache = this._.cache; if ( cache.startElement !== undefined ) return cache.startElement; var node, sel = this.getNative(); switch ( this.getType() ) { case CKEDITOR.SELECTION_ELEMENT : return this.getSelectedElement(); case CKEDITOR.SELECTION_TEXT : var range = this.getRanges()[0]; if ( range ) { if ( !range.collapsed ) { range.optimize(); // Decrease the range content to exclude particial // selected node on the start which doesn't have // visual impact. ( #3231 ) while ( 1 ) { var startContainer = range.startContainer, startOffset = range.startOffset; // Limit the fix only to non-block elements.(#3950) if ( startOffset == ( startContainer.getChildCount ? startContainer.getChildCount() : startContainer.getLength() ) && !startContainer.isBlockBoundary() ) range.setStartAfter( startContainer ); else break; } node = range.startContainer; if ( node.type != CKEDITOR.NODE_ELEMENT ) return node.getParent(); node = node.getChild( range.startOffset ); if ( !node || node.type != CKEDITOR.NODE_ELEMENT ) node = range.startContainer; else { var child = node.getFirst(); while ( child && child.type == CKEDITOR.NODE_ELEMENT ) { node = child; child = child.getFirst(); } } } else { node = range.startContainer; if ( node.type != CKEDITOR.NODE_ELEMENT ) node = node.getParent(); } node = node.$; } } return cache.startElement = ( node ? new CKEDITOR.dom.element( node ) : null ); }, /** * Gets the currently selected element. * @returns {CKEDITOR.dom.element} The selected element. Null if no * selection is available or the selection type is not * <code>{@link CKEDITOR.SELECTION_ELEMENT}</code>. * @example * var element = editor.getSelection().<strong>getSelectedElement()</strong>; * alert( element.getName() ); */ getSelectedElement : function() { var cache = this._.cache; if ( cache.selectedElement !== undefined ) return cache.selectedElement; var self = this; var node = CKEDITOR.tools.tryThese( // Is it native IE control type selection? function() { return self.getNative().createRange().item( 0 ); }, // If a table or list is fully selected. function() { var root, retval, range = self.getRanges()[ 0 ], ancestor = range.getCommonAncestor( 1, 1 ), tags = { table:1,ul:1,ol:1,dl:1 }; for ( var t in tags ) { if ( root = ancestor.getAscendant( t, 1 ) ) break; } if ( root ) { // Enlarging the start boundary. var testRange = new CKEDITOR.dom.range( this.document ); testRange.setStartAt( root, CKEDITOR.POSITION_AFTER_START ); testRange.setEnd( range.startContainer, range.startOffset ); var enlargeables = CKEDITOR.tools.extend( tags, CKEDITOR.dtd.$listItem, CKEDITOR.dtd.$tableContent ), walker = new CKEDITOR.dom.walker( testRange ), // Check the range is at the inner boundary of the structural element. guard = function( walker, isEnd ) { return function( node, isWalkOut ) { if ( node.type == CKEDITOR.NODE_TEXT && ( !CKEDITOR.tools.trim( node.getText() ) || node.getParent().data( 'cke-bookmark' ) ) ) return true; var tag; if ( node.type == CKEDITOR.NODE_ELEMENT ) { tag = node.getName(); // Bypass bogus br at the end of block. if ( tag == 'br' && isEnd && node.equals( node.getParent().getBogus() ) ) return true; if ( isWalkOut && tag in enlargeables || tag in CKEDITOR.dtd.$removeEmpty ) return true; } walker.halted = 1; return false; }; }; walker.guard = guard( walker ); if ( walker.checkBackward() && !walker.halted ) { walker = new CKEDITOR.dom.walker( testRange ); testRange.setStart( range.endContainer, range.endOffset ); testRange.setEndAt( root, CKEDITOR.POSITION_BEFORE_END ); walker.guard = guard( walker, 1 ); if ( walker.checkForward() && !walker.halted ) retval = root.$; } } if ( !retval ) throw 0; return retval; }, // Figure it out by checking if there's a single enclosed // node of the range. function() { var range = self.getRanges()[ 0 ], enclosed, selected; // Check first any enclosed element, e.g. <ul>[<li><a href="#">item</a></li>]</ul> for ( var i = 2; i && !( ( enclosed = range.getEnclosedNode() ) && ( enclosed.type == CKEDITOR.NODE_ELEMENT ) && styleObjectElements[ enclosed.getName() ] && ( selected = enclosed ) ); i-- ) { // Then check any deep wrapped element, e.g. [<b><i><img /></i></b>] range.shrink( CKEDITOR.SHRINK_ELEMENT ); } return selected.$; }); return cache.selectedElement = ( node ? new CKEDITOR.dom.element( node ) : null ); }, /** * Retrieves the text contained within the range. An empty string is returned for non-text selection. * @returns {String} A string of text within the current selection. * @since 3.6.1 * @example * var text = editor.getSelection().<strong>getSelectedText()</strong>; * alert( text ); */ getSelectedText : function() { var cache = this._.cache; if ( cache.selectedText !== undefined ) return cache.selectedText; var text = '', nativeSel = this.getNative(); if ( this.getType() == CKEDITOR.SELECTION_TEXT ) text = CKEDITOR.env.ie ? nativeSel.createRange().text : nativeSel.toString(); return ( cache.selectedText = text ); }, /** * Locks the selection made in the editor in order to make it possible to * manipulate it without browser interference. A locked selection is * cached and remains unchanged until it is released with the <code>#unlock</code> * method. * @example * editor.getSelection().<strong>lock()</strong>; */ lock : function() { // Call all cacheable function. this.getRanges(); this.getStartElement(); this.getSelectedElement(); this.getSelectedText(); // The native selection is not available when locked. this._.cache.nativeSel = {}; this.isLocked = 1; // Save this selection inside the DOM document. this.document.setCustomData( 'cke_locked_selection', this ); }, /** * Unlocks the selection made in the editor and locked with the <code>#lock</code> method. * An unlocked selection is no longer cached and can be changed. * @param {Boolean} [restore] If set to <code>true</code>, the selection is restored back to the selection saved earlier by using the <code>#lock</code> method. * @example * editor.getSelection().<strong>unlock()</strong>; */ unlock : function( restore ) { var doc = this.document, lockedSelection = doc.getCustomData( 'cke_locked_selection' ); if ( lockedSelection ) { doc.setCustomData( 'cke_locked_selection', null ); if ( restore ) { var selectedElement = lockedSelection.getSelectedElement(), ranges = !selectedElement && lockedSelection.getRanges(); this.isLocked = 0; this.reset(); doc.getBody().focus(); if ( selectedElement ) this.selectElement( selectedElement ); else this.selectRanges( ranges ); } } if ( !lockedSelection || !restore ) { this.isLocked = 0; this.reset(); } }, /** * Clears the selection cache. * @example * editor.getSelection().<strong>reset()</strong>; */ reset : function() { this._.cache = {}; }, /** * Makes the current selection of type <code>{@link CKEDITOR.SELECTION_ELEMENT}</code> by enclosing the specified element. * @param {CKEDITOR.dom.element} element The element to enclose in the selection. * @example * var element = editor.document.getById( 'sampleElement' ); * editor.getSelection.<strong>selectElement( element )</strong>; */ selectElement : function( element ) { if ( this.isLocked ) { var range = new CKEDITOR.dom.range( this.document ); range.setStartBefore( element ); range.setEndAfter( element ); this._.cache.selectedElement = element; this._.cache.startElement = element; this._.cache.ranges = new CKEDITOR.dom.rangeList( range ); this._.cache.type = CKEDITOR.SELECTION_ELEMENT; return; } range = new CKEDITOR.dom.range( element.getDocument() ); range.setStartBefore( element ); range.setEndAfter( element ); range.select(); this.document.fire( 'selectionchange' ); this.reset(); }, /** * Clears the original selection and adds the specified ranges * to the document selection. * @param {Array} ranges An array of <code>{@link CKEDITOR.dom.range}</code> instances representing ranges to be added to the document. * @example * var ranges = new CKEDITOR.dom.range( editor.document ); * editor.getSelection().<strong>selectRanges( [ ranges ] )</strong>; */ selectRanges : function( ranges ) { if ( this.isLocked ) { this._.cache.selectedElement = null; this._.cache.startElement = ranges[ 0 ] && ranges[ 0 ].getTouchedStartNode(); this._.cache.ranges = new CKEDITOR.dom.rangeList( ranges ); this._.cache.type = CKEDITOR.SELECTION_TEXT; return; } if ( CKEDITOR.env.ie ) { if ( ranges.length > 1 ) { // IE doesn't accept multiple ranges selection, so we join all into one. var last = ranges[ ranges.length -1 ] ; ranges[ 0 ].setEnd( last.endContainer, last.endOffset ); ranges.length = 1; } if ( ranges[ 0 ] ) ranges[ 0 ].select(); this.reset(); } else { var sel = this.getNative(); // getNative() returns null if iframe is "display:none" in FF. (#6577) if ( !sel ) return; if ( ranges.length ) { sel.removeAllRanges(); // Remove any existing filling char first. CKEDITOR.env.webkit && removeFillingChar( this.document ); } for ( var i = 0 ; i < ranges.length ; i++ ) { // Joining sequential ranges introduced by // readonly elements protection. if ( i < ranges.length -1 ) { var left = ranges[ i ], right = ranges[ i +1 ], between = left.clone(); between.setStart( left.endContainer, left.endOffset ); between.setEnd( right.startContainer, right.startOffset ); // Don't confused by Firefox adjancent multi-ranges // introduced by table cells selection. if ( !between.collapsed ) { between.shrink( CKEDITOR.NODE_ELEMENT, true ); var ancestor = between.getCommonAncestor(), enclosed = between.getEnclosedNode(); // The following cases has to be considered: // 1. <span contenteditable="false">[placeholder]</span> // 2. <input contenteditable="false" type="radio"/> (#6621) if ( ancestor.isReadOnly() || enclosed && enclosed.isReadOnly() ) { right.setStart( left.startContainer, left.startOffset ); ranges.splice( i--, 1 ); continue; } } } var range = ranges[ i ]; var nativeRange = this.document.$.createRange(); var startContainer = range.startContainer; // In FF2, if we have a collapsed range, inside an empty // element, we must add something to it otherwise the caret // will not be visible. // In Opera instead, the selection will be moved out of the // element. (#4657) if ( range.collapsed && ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) ) && startContainer.type == CKEDITOR.NODE_ELEMENT && !startContainer.getChildCount() ) { startContainer.appendText( '' ); } if ( range.collapsed && CKEDITOR.env.webkit && rangeRequiresFix( range ) ) { // Append a zero-width space so WebKit will not try to // move the selection by itself (#1272). var fillingChar = createFillingChar( this.document ); range.insertNode( fillingChar ) ; var next = fillingChar.getNext(); // If the filling char is followed by a <br>, whithout // having something before it, it'll not blink. // Let's remove it in this case. if ( next && !fillingChar.getPrevious() && next.type == CKEDITOR.NODE_ELEMENT && next.getName() == 'br' ) { removeFillingChar( this.document ); range.moveToPosition( next, CKEDITOR.POSITION_BEFORE_START ); } else range.moveToPosition( fillingChar, CKEDITOR.POSITION_AFTER_END ); } nativeRange.setStart( range.startContainer.$, range.startOffset ); try { nativeRange.setEnd( range.endContainer.$, range.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().indexOf( 'NS_ERROR_ILLEGAL_VALUE' ) >= 0 ) { range.collapse( 1 ); nativeRange.setEnd( range.endContainer.$, range.endOffset ); } else throw e; } // Select the range. sel.addRange( nativeRange ); } // Don't miss selection change event for non-IEs. this.document.fire( 'selectionchange' ); this.reset(); } }, /** * Creates a bookmark for each range of this selection (from <code>#getRanges</code>) * by calling the <code>{@link CKEDITOR.dom.range.prototype.createBookmark}</code> method, * with extra care taken to avoid interference among those ranges. The arguments * received are the same as with the underlying range method. * @returns {Array} Array of bookmarks for each range. * @example * var bookmarks = editor.getSelection().<strong>createBookmarks()</strong>; */ createBookmarks : function( serializable ) { return this.getRanges().createBookmarks( serializable ); }, /** * Creates a bookmark for each range of this selection (from <code>#getRanges</code>) * by calling the <code>{@link CKEDITOR.dom.range.prototype.createBookmark2}</code> method, * with extra care taken to avoid interference among those ranges. The arguments * received are the same as with the underlying range method. * @returns {Array} Array of bookmarks for each range. * @example * var bookmarks = editor.getSelection().<strong>createBookmarks2()</strong>; */ createBookmarks2 : function( normalized ) { return this.getRanges().createBookmarks2( normalized ); }, /** * Selects the virtual ranges denoted by the bookmarks by calling <code>#selectRanges</code>. * @param {Array} bookmarks The bookmarks representing ranges to be selected. * @returns {CKEDITOR.dom.selection} This selection object, after the ranges were selected. * @example * var bookmarks = editor.getSelection().createBookmarks(); * editor.getSelection().<strong>selectBookmarks( bookmarks )</strong>; */ selectBookmarks : function( bookmarks ) { var ranges = []; for ( var i = 0 ; i < bookmarks.length ; i++ ) { var range = new CKEDITOR.dom.range( this.document ); range.moveToBookmark( bookmarks[i] ); ranges.push( range ); } this.selectRanges( ranges ); return this; }, /** * Retrieves the common ancestor node of the first range and the last range. * @returns {CKEDITOR.dom.element} The common ancestor of the selection. * @example * var ancestor = editor.getSelection().<strong>getCommonAncestor()</strong>; */ getCommonAncestor : function() { var ranges = this.getRanges(), startNode = ranges[ 0 ].startContainer, endNode = ranges[ ranges.length - 1 ].endContainer; return startNode.getCommonAncestor( endNode ); }, /** * Moves the scrollbar to the starting position of the current selection. * @example * editor.getSelection().<strong>scrollIntoView()</strong>; */ scrollIntoView : function() { // If we have split the block, adds a temporary span at the // range position and scroll relatively to it. var start = this.getStartElement(); start.scrollIntoView(); } }; })(); ( function() { var notWhitespaces = CKEDITOR.dom.walker.whitespaces( true ), fillerTextRegex = /\ufeff|\u00a0/, nonCells = { table:1,tbody:1,tr:1 }; CKEDITOR.dom.range.prototype.select = CKEDITOR.env.ie ? // V2 function( forceExpand ) { var collapsed = this.collapsed, isStartMarkerAlone, dummySpan, ieRange; // Try to make a object selection. var selected = this.getEnclosedNode(); if ( selected ) { try { ieRange = this.document.$.body.createControlRange(); ieRange.addElement( selected.$ ); ieRange.select(); return; } catch( er ) {} } // IE doesn't support selecting the entire table row/cell, move the selection into cells, e.g. // <table><tbody><tr>[<td>cell</b></td>... => <table><tbody><tr><td>[cell</td>... if ( this.startContainer.type == CKEDITOR.NODE_ELEMENT && this.startContainer.getName() in nonCells || this.endContainer.type == CKEDITOR.NODE_ELEMENT && this.endContainer.getName() in nonCells ) { this.shrink( CKEDITOR.NODE_ELEMENT, true ); } var bookmark = this.createBookmark(); // Create marker tags for the start and end boundaries. var startNode = bookmark.startNode; var endNode; if ( !collapsed ) endNode = bookmark.endNode; // Create the main range which will be used for the selection. ieRange = this.document.$.body.createTextRange(); // Position the range at the start boundary. ieRange.moveToElementText( startNode.$ ); ieRange.moveStart( 'character', 1 ); if ( endNode ) { // Create a tool range for the end. var ieRangeEnd = this.document.$.body.createTextRange(); // Position the tool range at the end. ieRangeEnd.moveToElementText( endNode.$ ); // Move the end boundary of the main range to match the tool range. ieRange.setEndPoint( 'EndToEnd', ieRangeEnd ); ieRange.moveEnd( 'character', -1 ); } else { // The isStartMarkerAlone logic comes from V2. It guarantees that the lines // will expand and that the cursor will be blinking on the right place. // Actually, we are using this flag just to avoid using this hack in all // situations, but just on those needed. var next = startNode.getNext( notWhitespaces ); isStartMarkerAlone = ( !( next && next.getText && next.getText().match( fillerTextRegex ) ) // already a filler there? && ( forceExpand || !startNode.hasPrevious() || ( startNode.getPrevious().is && startNode.getPrevious().is( 'br' ) ) ) ); // 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.document.createElement( 'span' ); dummySpan.setHtml( '&#65279;' ); // Zero Width No-Break Space (U+FEFF). See #1359. dummySpan.insertBefore( startNode ); if ( isStartMarkerAlone ) { // 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). (#1359) this.document.createText( '\ufeff' ).insertBefore( startNode ); } } // Remove the markers (reset the position, because of the changes in the DOM tree). this.setStartBefore( startNode ); startNode.remove(); if ( collapsed ) { if ( isStartMarkerAlone ) { // Move the selection start to include the temporary \ufeff. ieRange.moveStart( 'character', -1 ); ieRange.select(); // Remove our temporary stuff. this.document.$.selection.clear(); } else ieRange.select(); this.moveToPosition( dummySpan, CKEDITOR.POSITION_BEFORE_START ); dummySpan.remove(); } else { this.setEndBefore( endNode ); endNode.remove(); ieRange.select(); } this.document.fire( 'selectionchange' ); } : function() { this.document.getSelection().selectRanges( [ this ] ); }; } )();
zysms
trunk/zysms/include/ckeditor/_source/plugins/selection/plugin.js
JavaScript
asf20
54,267
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview The "colorbutton" plugin that makes it possible to assign * text and background colors to editor contents. * */ CKEDITOR.plugins.add( 'colorbutton', { requires : [ 'panelbutton', 'floatpanel', 'styles' ], init : function( editor ) { var config = editor.config, lang = editor.lang.colorButton; var clickFn; if ( !CKEDITOR.env.hc ) { addButton( 'TextColor', 'fore', lang.textColorTitle ); addButton( 'BGColor', 'back', lang.bgColorTitle ); } function addButton( name, type, title ) { var colorBoxId = CKEDITOR.tools.getNextId() + '_colorBox'; editor.ui.add( name, CKEDITOR.UI_PANELBUTTON, { label : title, title : title, className : 'cke_button_' + name.toLowerCase(), modes : { wysiwyg : 1 }, panel : { css : editor.skin.editor.css, attributes : { role : 'listbox', 'aria-label' : lang.panelTitle } }, onBlock : function( panel, block ) { block.autoSize = true; block.element.addClass( 'cke_colorblock' ); block.element.setHtml( renderColors( panel, type, colorBoxId ) ); // The block should not have scrollbars (#5933, #6056) block.element.getDocument().getBody().setStyle( 'overflow', 'hidden' ); CKEDITOR.ui.fire( 'ready', this ); var keys = block.keys; var rtl = editor.lang.dir == 'rtl'; keys[ rtl ? 37 : 39 ] = 'next'; // ARROW-RIGHT keys[ 40 ] = 'next'; // ARROW-DOWN keys[ 9 ] = 'next'; // TAB keys[ rtl ? 39 : 37 ] = 'prev'; // ARROW-LEFT keys[ 38 ] = 'prev'; // ARROW-UP keys[ CKEDITOR.SHIFT + 9 ] = 'prev'; // SHIFT + TAB keys[ 32 ] = 'click'; // SPACE }, // The automatic colorbox should represent the real color (#6010) onOpen : function() { var selection = editor.getSelection(), block = selection && selection.getStartElement(), path = new CKEDITOR.dom.elementPath( block ), color; // Find the closest block element. block = path.block || path.blockLimit || editor.document.getBody(); // The background color might be transparent. In that case, look up the color in the DOM tree. do { color = block && block.getComputedStyle( type == 'back' ? 'background-color' : 'color' ) || 'transparent'; } while ( type == 'back' && color == 'transparent' && block && ( block = block.getParent() ) ); // The box should never be transparent. if ( !color || color == 'transparent' ) color = '#ffffff'; this._.panel._.iframe.getFrameDocument().getById( colorBoxId ).setStyle( 'background-color', color ); } }); } function renderColors( panel, type, colorBoxId ) { var output = [], colors = config.colorButton_colors.split( ',' ), total = colors.length + ( config.colorButton_enableMore ? 2 : 1 ); var clickFn = CKEDITOR.tools.addFunction( function( color, type ) { if ( color == '?' ) { var applyColorStyle = arguments.callee; function onColorDialogClose( evt ) { this.removeListener( 'ok', onColorDialogClose ); this.removeListener( 'cancel', onColorDialogClose ); evt.name == 'ok' && applyColorStyle( this.getContentElement( 'picker', 'selectedColor' ).getValue(), type ); } editor.openDialog( 'colordialog', function() { this.on( 'ok', onColorDialogClose ); this.on( 'cancel', onColorDialogClose ); } ); return; } editor.focus(); panel.hide( false ); editor.fire( 'saveSnapshot' ); // Clean up any conflicting style within the range. new CKEDITOR.style( config['colorButton_' + type + 'Style'], { color : 'inherit' } ).remove( editor.document ); if ( color ) { var colorStyle = config['colorButton_' + type + 'Style']; colorStyle.childRule = type == 'back' ? function( element ) { // It's better to apply background color as the innermost style. (#3599) // Except for "unstylable elements". (#6103) return isUnstylable( element ); } : function( element ) { // Fore color style must be applied inside links instead of around it. (#4772,#6908) return !( element.is( 'a' ) || element.getElementsByTag( 'a' ).count() ) || isUnstylable( element ); }; new CKEDITOR.style( colorStyle, { color : color } ).apply( editor.document ); } editor.fire( 'saveSnapshot' ); }); // Render the "Automatic" button. output.push( '<a class="cke_colorauto" _cke_focus=1 hidefocus=true' + ' title="', lang.auto, '"' + ' onclick="CKEDITOR.tools.callFunction(', clickFn, ',null,\'', type, '\');return false;"' + ' href="javascript:void(\'', lang.auto, '\')"' + ' role="option" aria-posinset="1" aria-setsize="', total, '">' + '<table role="presentation" cellspacing=0 cellpadding=0 width="100%">' + '<tr>' + '<td>' + '<span class="cke_colorbox" id="', colorBoxId, '"></span>' + '</td>' + '<td colspan=7 align=center>', lang.auto, '</td>' + '</tr>' + '</table>' + '</a>' + '<table role="presentation" cellspacing=0 cellpadding=0 width="100%">' ); // Render the color boxes. for ( var i = 0 ; i < colors.length ; i++ ) { if ( ( i % 8 ) === 0 ) output.push( '</tr><tr>' ); var parts = colors[ i ].split( '/' ), colorName = parts[ 0 ], colorCode = parts[ 1 ] || colorName; // The data can be only a color code (without #) or colorName + color code // If only a color code is provided, then the colorName is the color with the hash // Convert the color from RGB to RRGGBB for better compatibility with IE and <font>. See #5676 if (!parts[1]) colorName = '#' + colorName.replace( /^(.)(.)(.)$/, '$1$1$2$2$3$3' ); var colorLabel = editor.lang.colors[ colorCode ] || colorCode; output.push( '<td>' + '<a class="cke_colorbox" _cke_focus=1 hidefocus=true' + ' title="', colorLabel, '"' + ' onclick="CKEDITOR.tools.callFunction(', clickFn, ',\'', colorName, '\',\'', type, '\'); return false;"' + ' href="javascript:void(\'', colorLabel, '\')"' + ' role="option" aria-posinset="', ( i + 2 ), '" aria-setsize="', total, '">' + '<span class="cke_colorbox" style="background-color:#', colorCode, '"></span>' + '</a>' + '</td>' ); } // Render the "More Colors" button. if ( config.colorButton_enableMore === undefined || config.colorButton_enableMore ) { output.push( '</tr>' + '<tr>' + '<td colspan=8 align=center>' + '<a class="cke_colormore" _cke_focus=1 hidefocus=true' + ' title="', lang.more, '"' + ' onclick="CKEDITOR.tools.callFunction(', clickFn, ',\'?\',\'', type, '\');return false;"' + ' href="javascript:void(\'', lang.more, '\')"', ' role="option" aria-posinset="', total, '" aria-setsize="', total, '">', lang.more, '</a>' + '</td>' ); // tr is later in the code. } output.push( '</tr></table>' ); return output.join( '' ); } function isUnstylable( ele ) { return ( ele.getAttribute( 'contentEditable' ) == 'false' ) || ele.getAttribute( 'data-nostyle' ); } } }); /** * Whether to enable the <strong>More Colors</strong> button in the color selectors. * @name CKEDITOR.config.colorButton_enableMore * @default <code>true</code> * @type Boolean * @example * config.colorButton_enableMore = false; */ /** * Defines the colors to be displayed in the color selectors. This is a string * containing hexadecimal notation for HTML colors, without the "#" prefix. * <br /><br /> * Since 3.3: A color name may optionally be defined by prefixing the entries with * a name and the slash character. For example, "FontColor1/FF9900" will be * displayed as the color #FF9900 in the selector, but will be output as "FontColor1". * @name CKEDITOR.config.colorButton_colors * @type String * @default <code>'000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,A9A9A9,FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,FFF0F5,FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF'</code> * @example * // Brazil colors only. * config.colorButton_colors = '00923E,F8C100,28166F'; * @example * config.colorButton_colors = 'FontColor1/FF9900,FontColor2/0066CC,FontColor3/F00' */ CKEDITOR.config.colorButton_colors = '000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,' + 'B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,' + 'F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,A9A9A9,' + 'FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,' + 'FFF0F5,FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF'; /** * Stores the style definition that applies the text foreground color. * @name CKEDITOR.config.colorButton_foreStyle * @type Object * @default (see example) * @example * // This is actually the default value. * config.colorButton_foreStyle = * { * element : 'span', * styles : { 'color' : '#(color)' } * }; */ CKEDITOR.config.colorButton_foreStyle = { element : 'span', styles : { 'color' : '#(color)' }, overrides : [ { element : 'font', attributes : { 'color' : null } } ] }; /** * Stores the style definition that applies the text background color. * @name CKEDITOR.config.colorButton_backStyle * @type Object * @default (see example) * @example * // This is actually the default value. * config.colorButton_backStyle = * { * element : 'span', * styles : { 'background-color' : '#(color)' } * }; */ CKEDITOR.config.colorButton_backStyle = { element : 'span', styles : { 'background-color' : '#(color)' } };
zysms
trunk/zysms/include/ckeditor/_source/plugins/colorbutton/plugin.js
JavaScript
asf20
10,358
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'uicolor', { requires : [ 'dialog' ], lang : [ 'en', 'he' ], init : function( editor ) { if ( CKEDITOR.env.ie6Compat ) return; editor.addCommand( 'uicolor', new CKEDITOR.dialogCommand( 'uicolor' ) ); editor.ui.addButton( 'UIColor', { label : editor.lang.uicolor.title, command : 'uicolor', icon : this.path + 'uicolor.gif' }); CKEDITOR.dialog.add( 'uicolor', this.path + 'dialogs/uicolor.js' ); // Load YUI js files. CKEDITOR.scriptLoader.load( CKEDITOR.getUrl( '_source/' + // @Packager.RemoveLine 'plugins/uicolor/yui/yui.js' )); // Load YUI css files. editor.element.getDocument().appendStyleSheet( CKEDITOR.getUrl( '_source/' + // @Packager.RemoveLine 'plugins/uicolor/yui/assets/yui.css' )); } } );
zysms
trunk/zysms/include/ckeditor/_source/plugins/uicolor/plugin.js
JavaScript
asf20
976
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'uicolor', 'en', { uicolor : { title : 'UI Color Picker', preview : 'Live preview', config : 'Paste this string into your config.js file', predefined : 'Predefined color sets' } });
zysms
trunk/zysms/include/ckeditor/_source/plugins/uicolor/lang/en.js
JavaScript
asf20
383
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'uicolor', 'he', { uicolor : { title : 'בחירת צבע ממשק משתמש', preview : 'תצוגה מקדימה', config : 'הדבק את הטקסט הבא לתוך הקובץ config.js', predefined : 'קבוצות צבעים מוגדרות מראש' } });
zysms
trunk/zysms/include/ckeditor/_source/plugins/uicolor/lang/he.js
JavaScript
asf20
461
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.dialog.add( 'uicolor', function( editor ) { var dialog, picker, pickerContents, // Actual UI color value. uiColor = editor.getUiColor(), pickerId = 'cke_uicolor_picker' + CKEDITOR.tools.getNextNumber(); function setNewPickerColor( color ) { // Convert HEX representation to RGB, stripping # char. if ( /^#/.test( color ) ) color = window.YAHOO.util.Color.hex2rgb( color.substr( 1 ) ); picker.setValue( color, true ); // Refresh picker UI. picker.refresh( pickerId ); } function setNewUiColor( color, force ) { if ( force || dialog._.contents.tab1.livePeview.getValue() ) editor.setUiColor( color ); // Write new config string into textbox. dialog._.contents.tab1.configBox.setValue( 'config.uiColor = "#' + picker.get( "hex" ) + '"' ); } pickerContents = { id : 'yuiColorPicker', type : 'html', html : "<div id='" + pickerId + "' class='cke_uicolor_picker' style='width: 360px; height: 200px; position: relative;'></div>", onLoad : function( event ) { var url = CKEDITOR.getUrl( '_source/' + // @Packager.RemoveLine 'plugins/uicolor/yui/' ); // Create new color picker widget. picker = new window.YAHOO.widget.ColorPicker( pickerId, { showhsvcontrols : true, showhexcontrols : true, images : { PICKER_THUMB : url + "assets/picker_thumb.png", HUE_THUMB : url + "assets/hue_thumb.png" } }); // Set actual UI color to the picker. if ( uiColor ) setNewPickerColor( uiColor ); // Subscribe to the rgbChange event. picker.on( "rgbChange", function() { // Reset predefined box. dialog._.contents.tab1.predefined.setValue( '' ); setNewUiColor( '#' + picker.get( 'hex' ) ); }); // Fix input class names. var inputs = new CKEDITOR.dom.nodeList( picker.getElementsByTagName( 'input' ) ); for ( var i = 0; i < inputs.count() ; i++ ) inputs.getItem( i ).addClass( 'cke_dialog_ui_input_text' ); } }; var skipPreviewChange = true; return { title : editor.lang.uicolor.title, minWidth : 360, minHeight : 320, onLoad : function() { dialog = this; this.setupContent(); // #3808 if ( CKEDITOR.env.ie7Compat ) dialog.parts.contents.setStyle( 'overflow', 'hidden' ); }, contents : [ { id : 'tab1', label : '', title : '', expand : true, padding : 0, elements : [ pickerContents, { id : 'tab1', type : 'vbox', children : [ { id : 'livePeview', type : 'checkbox', label : editor.lang.uicolor.preview, 'default' : 1, onLoad : function() { skipPreviewChange = true; }, onChange : function() { if ( skipPreviewChange ) return; var on = this.getValue(), color = on ? '#' + picker.get( 'hex' ) : uiColor; setNewUiColor( color, true ); } }, { type : 'hbox', children : [ { id : 'predefined', type : 'select', 'default' : '', label : editor.lang.uicolor.predefined, items : [ [ '' ], [ 'Light blue', '#9AB8F3' ], [ 'Sand', '#D2B48C' ], [ 'Metallic', '#949AAA' ], [ 'Purple', '#C2A3C7' ], [ 'Olive', '#A2C980' ], [ 'Happy green', '#9BD446' ], [ 'Jezebel Blue', '#14B8C4' ], [ 'Burn', '#FF893A' ], [ 'Easy red', '#FF6969' ], [ 'Pisces 3', '#48B4F2' ], [ 'Aquarius 5', '#487ED4' ], [ 'Absinthe', '#A8CF76' ], [ 'Scrambled Egg', '#C7A622' ], [ 'Hello monday', '#8E8D80' ], [ 'Lovely sunshine', '#F1E8B1' ], [ 'Recycled air', '#B3C593' ], [ 'Down', '#BCBCA4' ], [ 'Mark Twain', '#CFE91D' ], [ 'Specks of dust', '#D1B596' ], [ 'Lollipop', '#F6CE23' ] ], onChange : function() { var color = this.getValue(); if ( color ) { setNewPickerColor( color ); setNewUiColor( color ); // Refresh predefined preview box. CKEDITOR.document.getById( 'predefinedPreview' ).setStyle( 'background', color ); } else CKEDITOR.document.getById( 'predefinedPreview' ).setStyle( 'background', '' ); }, onShow : function() { var color = editor.getUiColor(); if ( color ) this.setValue( color ); } }, { id : 'predefinedPreview', type : 'html', html : '<div id="cke_uicolor_preview" style="border: 1px solid black; padding: 3px; width: 30px;">' + '<div id="predefinedPreview" style="width: 30px; height: 30px;">&nbsp;</div>' + '</div>' } ] }, { id : 'configBox', type : 'text', label : editor.lang.uicolor.config, onShow : function() { var color = editor.getUiColor(); if ( color ) this.setValue( 'config.uiColor = "' + color + '"' ); } } ] } ] } ], buttons : [ CKEDITOR.dialog.okButton ] }; } );
zysms
trunk/zysms/include/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js
JavaScript
asf20
5,808
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @file Blockquote. */ (function() { function getState( editor, path ) { var firstBlock = path.block || path.blockLimit; if ( !firstBlock || firstBlock.getName() == 'body' ) return CKEDITOR.TRISTATE_OFF; // See if the first block has a blockquote parent. if ( firstBlock.getAscendant( 'blockquote', true ) ) return CKEDITOR.TRISTATE_ON; return CKEDITOR.TRISTATE_OFF; } function onSelectionChange( evt ) { var editor = evt.editor; if ( editor.readOnly ) return; var command = editor.getCommand( 'blockquote' ); command.state = getState( editor, evt.data.path ); command.fire( 'state' ); } function noBlockLeft( bqBlock ) { for ( var i = 0, length = bqBlock.getChildCount(), child ; i < length && ( child = bqBlock.getChild( i ) ) ; i++ ) { if ( child.type == CKEDITOR.NODE_ELEMENT && child.isBlockBoundary() ) return false; } return true; } var commandObject = { exec : function( editor ) { var state = editor.getCommand( 'blockquote' ).state, selection = editor.getSelection(), range = selection && selection.getRanges( true )[0]; if ( !range ) return; var bookmarks = selection.createBookmarks(); // Kludge for #1592: if the bookmark nodes are in the beginning of // blockquote, then move them to the nearest block element in the // blockquote. if ( CKEDITOR.env.ie ) { var bookmarkStart = bookmarks[0].startNode, bookmarkEnd = bookmarks[0].endNode, cursor; if ( bookmarkStart && bookmarkStart.getParent().getName() == 'blockquote' ) { cursor = bookmarkStart; while ( ( cursor = cursor.getNext() ) ) { if ( cursor.type == CKEDITOR.NODE_ELEMENT && cursor.isBlockBoundary() ) { bookmarkStart.move( cursor, true ); break; } } } if ( bookmarkEnd && bookmarkEnd.getParent().getName() == 'blockquote' ) { cursor = bookmarkEnd; while ( ( cursor = cursor.getPrevious() ) ) { if ( cursor.type == CKEDITOR.NODE_ELEMENT && cursor.isBlockBoundary() ) { bookmarkEnd.move( cursor ); break; } } } } var iterator = range.createIterator(), block; iterator.enlargeBr = editor.config.enterMode != CKEDITOR.ENTER_BR; if ( state == CKEDITOR.TRISTATE_OFF ) { var paragraphs = []; while ( ( block = iterator.getNextParagraph() ) ) paragraphs.push( block ); // If no paragraphs, create one from the current selection position. if ( paragraphs.length < 1 ) { var para = editor.document.createElement( editor.config.enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ), firstBookmark = bookmarks.shift(); range.insertNode( para ); para.append( new CKEDITOR.dom.text( '\ufeff', editor.document ) ); range.moveToBookmark( firstBookmark ); range.selectNodeContents( para ); range.collapse( true ); firstBookmark = range.createBookmark(); paragraphs.push( para ); bookmarks.unshift( firstBookmark ); } // Make sure all paragraphs have the same parent. var commonParent = paragraphs[0].getParent(), tmp = []; for ( var i = 0 ; i < paragraphs.length ; i++ ) { block = paragraphs[i]; commonParent = commonParent.getCommonAncestor( block.getParent() ); } // The common parent must not be the following tags: table, tbody, tr, ol, ul. var denyTags = { table : 1, tbody : 1, tr : 1, ol : 1, ul : 1 }; while ( denyTags[ commonParent.getName() ] ) commonParent = commonParent.getParent(); // Reconstruct the block list to be processed such that all resulting blocks // satisfy parentNode.equals( commonParent ). var lastBlock = null; while ( paragraphs.length > 0 ) { block = paragraphs.shift(); while ( !block.getParent().equals( commonParent ) ) block = block.getParent(); if ( !block.equals( lastBlock ) ) tmp.push( block ); lastBlock = block; } // If any of the selected blocks is a blockquote, remove it to prevent // nested blockquotes. while ( tmp.length > 0 ) { block = tmp.shift(); if ( block.getName() == 'blockquote' ) { var docFrag = new CKEDITOR.dom.documentFragment( editor.document ); while ( block.getFirst() ) { docFrag.append( block.getFirst().remove() ); paragraphs.push( docFrag.getLast() ); } docFrag.replace( block ); } else paragraphs.push( block ); } // Now we have all the blocks to be included in a new blockquote node. var bqBlock = editor.document.createElement( 'blockquote' ); bqBlock.insertBefore( paragraphs[0] ); while ( paragraphs.length > 0 ) { block = paragraphs.shift(); bqBlock.append( block ); } } else if ( state == CKEDITOR.TRISTATE_ON ) { var moveOutNodes = [], database = {}; while ( ( block = iterator.getNextParagraph() ) ) { var bqParent = null, bqChild = null; while ( block.getParent() ) { if ( block.getParent().getName() == 'blockquote' ) { bqParent = block.getParent(); bqChild = block; break; } block = block.getParent(); } // Remember the blocks that were recorded down in the moveOutNodes array // to prevent duplicates. if ( bqParent && bqChild && !bqChild.getCustomData( 'blockquote_moveout' ) ) { moveOutNodes.push( bqChild ); CKEDITOR.dom.element.setMarker( database, bqChild, 'blockquote_moveout', true ); } } CKEDITOR.dom.element.clearAllMarkers( database ); var movedNodes = [], processedBlockquoteBlocks = []; database = {}; while ( moveOutNodes.length > 0 ) { var node = moveOutNodes.shift(); bqBlock = node.getParent(); // If the node is located at the beginning or the end, just take it out // without splitting. Otherwise, split the blockquote node and move the // paragraph in between the two blockquote nodes. if ( !node.getPrevious() ) node.remove().insertBefore( bqBlock ); else if ( !node.getNext() ) node.remove().insertAfter( bqBlock ); else { node.breakParent( node.getParent() ); processedBlockquoteBlocks.push( node.getNext() ); } // Remember the blockquote node so we can clear it later (if it becomes empty). if ( !bqBlock.getCustomData( 'blockquote_processed' ) ) { processedBlockquoteBlocks.push( bqBlock ); CKEDITOR.dom.element.setMarker( database, bqBlock, 'blockquote_processed', true ); } movedNodes.push( node ); } CKEDITOR.dom.element.clearAllMarkers( database ); // Clear blockquote nodes that have become empty. for ( i = processedBlockquoteBlocks.length - 1 ; i >= 0 ; i-- ) { bqBlock = processedBlockquoteBlocks[i]; if ( noBlockLeft( bqBlock ) ) bqBlock.remove(); } if ( editor.config.enterMode == CKEDITOR.ENTER_BR ) { var firstTime = true; while ( movedNodes.length ) { node = movedNodes.shift(); if ( node.getName() == 'div' ) { docFrag = new CKEDITOR.dom.documentFragment( editor.document ); var needBeginBr = firstTime && node.getPrevious() && !( node.getPrevious().type == CKEDITOR.NODE_ELEMENT && node.getPrevious().isBlockBoundary() ); if ( needBeginBr ) docFrag.append( editor.document.createElement( 'br' ) ); var needEndBr = node.getNext() && !( node.getNext().type == CKEDITOR.NODE_ELEMENT && node.getNext().isBlockBoundary() ); while ( node.getFirst() ) node.getFirst().remove().appendTo( docFrag ); if ( needEndBr ) docFrag.append( editor.document.createElement( 'br' ) ); docFrag.replace( node ); firstTime = false; } } } } selection.selectBookmarks( bookmarks ); editor.focus(); } }; CKEDITOR.plugins.add( 'blockquote', { init : function( editor ) { editor.addCommand( 'blockquote', commandObject ); editor.ui.addButton( 'Blockquote', { label : editor.lang.blockquote, command : 'blockquote' } ); editor.on( 'selectionChange', onSelectionChange ); }, requires : [ 'domiterator' ] } ); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/blockquote/plugin.js
JavaScript
asf20
8,767
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ // Register a templates definition set named "default". CKEDITOR.addTemplates( 'default', { // The name of sub folder which hold the shortcut preview images of the // templates. imagesPath : CKEDITOR.getUrl( CKEDITOR.plugins.getPath( 'templates' ) + 'templates/images/' ), // The templates definitions. templates : [ { title: 'Image and Title', image: 'template1.gif', description: 'One main image with a title and text that surround the image.', html: '<h3>' + '<img style="margin-right: 10px" height="100" width="100" align="left"/>' + 'Type the title here'+ '</h3>' + '<p>' + 'Type the text here' + '</p>' }, { title: 'Strange Template', image: 'template2.gif', description: 'A template that defines two colums, each one with a title, and some text.', html: '<table cellspacing="0" cellpadding="0" style="width:100%" border="0">' + '<tr>' + '<td style="width:50%">' + '<h3>Title 1</h3>' + '</td>' + '<td></td>' + '<td style="width:50%">' + '<h3>Title 2</h3>' + '</td>' + '</tr>' + '<tr>' + '<td>' + 'Text 1' + '</td>' + '<td></td>' + '<td>' + 'Text 2' + '</td>' + '</tr>' + '</table>' + '<p>' + 'More text goes here.' + '</p>' }, { title: 'Text and Table', image: 'template3.gif', description: 'A title with some text and a table.', html: '<div style="width: 80%">' + '<h3>' + 'Title goes here' + '</h3>' + '<table style="width:150px;float: right" cellspacing="0" cellpadding="0" border="1">' + '<caption style="border:solid 1px black">' + '<strong>Table title</strong>' + '</caption>' + '</tr>' + '<tr>' + '<td>&nbsp;</td>' + '<td>&nbsp;</td>' + '<td>&nbsp;</td>' + '</tr>' + '<tr>' + '<td>&nbsp;</td>' + '<td>&nbsp;</td>' + '<td>&nbsp;</td>' + '</tr>' + '<tr>' + '<td>&nbsp;</td>' + '<td>&nbsp;</td>' + '<td>&nbsp;</td>' + '</tr>' + '</table>' + '<p>' + 'Type the text here' + '</p>' + '</div>' } ] });
zysms
trunk/zysms/include/ckeditor/_source/plugins/templates/templates/default.js
JavaScript
asf20
2,520
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { CKEDITOR.plugins.add( 'templates', { requires : [ 'dialog' ], init : function( editor ) { CKEDITOR.dialog.add( 'templates', CKEDITOR.getUrl( this.path + 'dialogs/templates.js' ) ); editor.addCommand( 'templates', new CKEDITOR.dialogCommand( 'templates' ) ); editor.ui.addButton( 'Templates', { label : editor.lang.templates.button, command : 'templates' }); } }); var templates = {}, loadedTemplatesFiles = {}; CKEDITOR.addTemplates = function( name, definition ) { templates[ name ] = definition; }; CKEDITOR.getTemplates = function( name ) { return templates[ name ]; }; CKEDITOR.loadTemplates = function( templateFiles, callback ) { // Holds the templates files to be loaded. var toLoad = []; // Look for pending template files to get loaded. for ( var i = 0, count = templateFiles.length ; i < count ; i++ ) { if ( !loadedTemplatesFiles[ templateFiles[ i ] ] ) { toLoad.push( templateFiles[ i ] ); loadedTemplatesFiles[ templateFiles[ i ] ] = 1; } } if ( toLoad.length ) CKEDITOR.scriptLoader.load( toLoad, callback ); else setTimeout( callback, 0 ); }; })(); /** * The templates definition set to use. It accepts a list of names separated by * comma. It must match definitions loaded with the templates_files setting. * @type String * @default 'default' * @example * config.templates = 'my_templates'; */ /** * The list of templates definition files to load. * @type (String) Array * @default [ 'plugins/templates/templates/default.js' ] * @example * config.templates_files = * [ * '/editor_templates/site_default.js', * 'http://www.example.com/user_templates.js * ]; * */ CKEDITOR.config.templates_files = [ CKEDITOR.getUrl( '_source/' + // @Packager.RemoveLine 'plugins/templates/templates/default.js' ) ]; /** * Whether the "Replace actual contents" checkbox is checked by default in the * Templates dialog. * @type Boolean * @default true * @example * config.templates_replaceContent = false; */ CKEDITOR.config.templates_replaceContent = true;
zysms
trunk/zysms/include/ckeditor/_source/plugins/templates/plugin.js
JavaScript
asf20
2,395
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { var doc = CKEDITOR.document; CKEDITOR.dialog.add( 'templates', function( editor ) { // Constructs the HTML view of the specified templates data. function renderTemplatesList( container, templatesDefinitions ) { // clear loading wait text. container.setHtml( '' ); for ( var i = 0, totalDefs = templatesDefinitions.length ; i < totalDefs ; i++ ) { var definition = CKEDITOR.getTemplates( templatesDefinitions[ i ] ), imagesPath = definition.imagesPath, templates = definition.templates, count = templates.length; for ( var j = 0 ; j < count ; j++ ) { var template = templates[ j ], item = createTemplateItem( template, imagesPath ); item.setAttribute( 'aria-posinset', j + 1 ); item.setAttribute( 'aria-setsize', count ); container.append( item ); } } } function createTemplateItem( template, imagesPath ) { var item = CKEDITOR.dom.element.createFromHtml( '<a href="javascript:void(0)" tabIndex="-1" role="option" >' + '<div class="cke_tpl_item"></div>' + '</a>' ); // Build the inner HTML of our new item DIV. var html = '<table style="width:350px;" class="cke_tpl_preview" role="presentation"><tr>'; if ( template.image && imagesPath ) html += '<td class="cke_tpl_preview_img"><img src="' + CKEDITOR.getUrl( imagesPath + template.image ) + '"' + ( CKEDITOR.env.ie6Compat ? ' onload="this.width=this.width"' : '' ) + ' alt="" title=""></td>'; html += '<td style="white-space:normal;"><span class="cke_tpl_title">' + template.title + '</span><br/>'; if ( template.description ) html += '<span>' + template.description + '</span>'; html += '</td></tr></table>'; item.getFirst().setHtml( html ); item.on( 'click', function() { insertTemplate( template.html ); } ); return item; } /** * Insert the specified template content into editor. * @param {Number} index */ function insertTemplate( html ) { var dialog = CKEDITOR.dialog.getCurrent(), isInsert = dialog.getValueOf( 'selectTpl', 'chkInsertOpt' ); if ( isInsert ) { // Everything should happen after the document is loaded (#4073). editor.on( 'contentDom', function( evt ) { evt.removeListener(); dialog.hide(); // Place the cursor at the first editable place. var range = new CKEDITOR.dom.range( editor.document ); range.moveToElementEditStart( editor.document.getBody() ); range.select( 1 ); setTimeout( function() { editor.fire( 'saveSnapshot' ); }, 0 ); }); editor.fire( 'saveSnapshot' ); editor.setData( html ); } else { editor.insertHtml( html ); dialog.hide(); } } function keyNavigation( evt ) { var target = evt.data.getTarget(), onList = listContainer.equals( target ); // Keyboard navigation for template list. if ( onList || listContainer.contains( target ) ) { var keystroke = evt.data.getKeystroke(), items = listContainer.getElementsByTag( 'a' ), focusItem; if ( items ) { // Focus not yet onto list items? if ( onList ) focusItem = items.getItem( 0 ); else { switch ( keystroke ) { case 40 : // ARROW-DOWN focusItem = target.getNext(); break; case 38 : // ARROW-UP focusItem = target.getPrevious(); break; case 13 : // ENTER case 32 : // SPACE target.fire( 'click' ); } } if ( focusItem ) { focusItem.focus(); evt.data.preventDefault(); } } } } // Load skin at first. CKEDITOR.skins.load( editor, 'templates' ); var listContainer; var templateListLabelId = 'cke_tpl_list_label_' + CKEDITOR.tools.getNextNumber(), lang = editor.lang.templates, config = editor.config; return { title :editor.lang.templates.title, minWidth : CKEDITOR.env.ie ? 440 : 400, minHeight : 340, contents : [ { id :'selectTpl', label : lang.title, elements : [ { type : 'vbox', padding : 5, children : [ { id : 'selectTplText', type : 'html', html : '<span>' + lang.selectPromptMsg + '</span>' }, { id : 'templatesList', type : 'html', focus: true, html : '<div class="cke_tpl_list" tabIndex="-1" role="listbox" aria-labelledby="' + templateListLabelId+ '">' + '<div class="cke_tpl_loading"><span></span></div>' + '</div>' + '<span class="cke_voice_label" id="' + templateListLabelId + '">' + lang.options+ '</span>' }, { id : 'chkInsertOpt', type : 'checkbox', label : lang.insertOption, 'default' : config.templates_replaceContent } ] } ] } ], buttons : [ CKEDITOR.dialog.cancelButton ], onShow : function() { var templatesListField = this.getContentElement( 'selectTpl' , 'templatesList' ); listContainer = templatesListField.getElement(); CKEDITOR.loadTemplates( config.templates_files, function() { var templates = ( config.templates || 'default' ).split( ',' ); if ( templates.length ) { renderTemplatesList( listContainer, templates ); templatesListField.focus(); } else { listContainer.setHtml( '<div class="cke_tpl_empty">' + '<span>' + lang.emptyListMsg + '</span>' + '</div>' ); } }); this._.element.on( 'keydown', keyNavigation ); }, onHide : function() { this._.element.removeListener( 'keydown', keyNavigation ); } }; }); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/templates/dialogs/templates.js
JavaScript
asf20
6,361
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { // Regex to scan for &nbsp; at the end of blocks, which are actually placeholders. // Safari transforms the &nbsp; to \xa0. (#4172) var tailNbspRegex = /^[\t\r\n ]*(?:&nbsp;|\xa0)$/; var protectedSourceMarker = '{cke_protected}'; // Return the last non-space child node of the block (#4344). function lastNoneSpaceChild( block ) { var lastIndex = block.children.length, last = block.children[ lastIndex - 1 ]; while ( last && last.type == CKEDITOR.NODE_TEXT && !CKEDITOR.tools.trim( last.value ) ) last = block.children[ --lastIndex ]; return last; } function trimFillers( block, fromSource ) { // If the current node is a block, and if we're converting from source or // we're not in IE then search for and remove any tailing BR node. // // Also, any &nbsp; at the end of blocks are fillers, remove them as well. // (#2886) var children = block.children, lastChild = lastNoneSpaceChild( block ); if ( lastChild ) { if ( ( fromSource || !CKEDITOR.env.ie ) && lastChild.type == CKEDITOR.NODE_ELEMENT && lastChild.name == 'br' ) children.pop(); if ( lastChild.type == CKEDITOR.NODE_TEXT && tailNbspRegex.test( lastChild.value ) ) children.pop(); } } function blockNeedsExtension( block, fromSource, extendEmptyBlock ) { if( !fromSource && ( !extendEmptyBlock || typeof extendEmptyBlock == 'function' && ( extendEmptyBlock( block ) === false ) ) ) return false; // 1. For IE version >=8, empty blocks are displayed correctly themself in wysiwiyg; // 2. For the rest, at least table cell and list item need no filler space. // (#6248) if ( fromSource && CKEDITOR.env.ie && ( document.documentMode > 7 || block.name in CKEDITOR.dtd.tr || block.name in CKEDITOR.dtd.$listItem ) ) return false; var lastChild = lastNoneSpaceChild( block ); return !lastChild || lastChild && ( lastChild.type == CKEDITOR.NODE_ELEMENT && lastChild.name == 'br' // Some of the controls in form needs extension too, // to move cursor at the end of the form. (#4791) || block.name == 'form' && lastChild.name == 'input' ); } function getBlockExtension( isOutput, emptyBlockFiller ) { return function( node ) { trimFillers( node, !isOutput ); if ( blockNeedsExtension( node, !isOutput, emptyBlockFiller ) ) { if ( isOutput || CKEDITOR.env.ie ) node.add( new CKEDITOR.htmlParser.text( '\xa0' ) ); else node.add( new CKEDITOR.htmlParser.element( 'br', {} ) ); } }; } var dtd = CKEDITOR.dtd; // Define orders of table elements. var tableOrder = [ 'caption', 'colgroup', 'col', 'thead', 'tfoot', 'tbody' ]; // Find out the list of block-like tags that can contain <br>. var blockLikeTags = CKEDITOR.tools.extend( {}, dtd.$block, dtd.$listItem, dtd.$tableContent ); for ( var i in blockLikeTags ) { if ( ! ( 'br' in dtd[i] ) ) delete blockLikeTags[i]; } // We just avoid filler in <pre> right now. // TODO: Support filler for <pre>, line break is also occupy line height. delete blockLikeTags.pre; var defaultDataFilterRules = { elements : {}, attributeNames : [ // Event attributes (onXYZ) must not be directly set. They can become // active in the editing area (IE|WebKit). [ ( /^on/ ), 'data-cke-pa-on' ] ] }; var defaultDataBlockFilterRules = { elements : {} }; for ( i in blockLikeTags ) defaultDataBlockFilterRules.elements[ i ] = getBlockExtension(); var defaultHtmlFilterRules = { elementNames : [ // Remove the "cke:" namespace prefix. [ ( /^cke:/ ), '' ], // Ignore <?xml:namespace> tags. [ ( /^\?xml:namespace$/ ), '' ] ], attributeNames : [ // Attributes saved for changes and protected attributes. [ ( /^data-cke-(saved|pa)-/ ), '' ], // All "data-cke-" attributes are to be ignored. [ ( /^data-cke-.*/ ), '' ], [ 'hidefocus', '' ] ], elements : { $ : function( element ) { var attribs = element.attributes; if ( attribs ) { // Elements marked as temporary are to be ignored. if ( attribs[ 'data-cke-temp' ] ) return false; // Remove duplicated attributes - #3789. var attributeNames = [ 'name', 'href', 'src' ], savedAttributeName; for ( var i = 0 ; i < attributeNames.length ; i++ ) { savedAttributeName = 'data-cke-saved-' + attributeNames[ i ]; savedAttributeName in attribs && ( delete attribs[ attributeNames[ i ] ] ); } } return element; }, // The contents of table should be in correct order (#4809). table : function( element ) { var children = element.children; children.sort( function ( node1, node2 ) { return node1.type == CKEDITOR.NODE_ELEMENT && node2.type == node1.type ? CKEDITOR.tools.indexOf( tableOrder, node1.name ) > CKEDITOR.tools.indexOf( tableOrder, node2.name ) ? 1 : -1 : 0; } ); }, embed : function( element ) { var parent = element.parent; // If the <embed> is child of a <object>, copy the width // and height attributes from it. if ( parent && parent.name == 'object' ) { var parentWidth = parent.attributes.width, parentHeight = parent.attributes.height; parentWidth && ( element.attributes.width = parentWidth ); parentHeight && ( element.attributes.height = parentHeight ); } }, // Restore param elements into self-closing. param : function( param ) { param.children = []; param.isEmpty = true; return param; }, // Remove empty link but not empty anchor.(#3829) a : function( element ) { if ( !( element.children.length || element.attributes.name || element.attributes[ 'data-cke-saved-name' ] ) ) { return false; } }, // Remove dummy span in webkit. span: function( element ) { if ( element.attributes[ 'class' ] == 'Apple-style-span' ) delete element.name; }, // Empty <pre> in IE is reported with filler node (&nbsp;). pre : function( element ) { CKEDITOR.env.ie && trimFillers( element ); }, html : function( element ) { delete element.attributes.contenteditable; delete element.attributes[ 'class' ]; }, body : function( element ) { delete element.attributes.spellcheck; delete element.attributes.contenteditable; }, style : function( element ) { var child = element.children[ 0 ]; child && child.value && ( child.value = CKEDITOR.tools.trim( child.value )); if ( !element.attributes.type ) element.attributes.type = 'text/css'; }, title : function( element ) { var titleText = element.children[ 0 ]; titleText && ( titleText.value = element.attributes[ 'data-cke-title' ] || '' ); } }, attributes : { 'class' : function( value, element ) { // Remove all class names starting with "cke_". return CKEDITOR.tools.ltrim( value.replace( /(?:^|\s+)cke_[^\s]*/g, '' ) ) || false; } } }; if ( CKEDITOR.env.ie ) { // IE outputs style attribute in capital letters. We should convert // them back to lower case, while not hurting the values (#5930) defaultHtmlFilterRules.attributes.style = function( value, element ) { return value.replace( /(^|;)([^\:]+)/g, function( match ) { return match.toLowerCase(); }); }; } function protectReadOnly( element ) { var attrs = element.attributes; // We should flag that the element was locked by our code so // it'll be editable by the editor functions (#6046). if ( attrs.contenteditable != "false" ) attrs[ 'data-cke-editable' ] = attrs.contenteditable ? 'true' : 1; attrs.contenteditable = "false"; } function unprotectReadyOnly( element ) { var attrs = element.attributes; switch( attrs[ 'data-cke-editable' ] ) { case 'true': attrs.contenteditable = 'true'; break; case '1': delete attrs.contenteditable; break; } } // Disable form elements editing mode provided by some browers. (#5746) for ( i in { input : 1, textarea : 1 } ) { defaultDataFilterRules.elements[ i ] = protectReadOnly; defaultHtmlFilterRules.elements[ i ] = unprotectReadyOnly; } var protectElementRegex = /<(a|area|img|input)\b([^>]*)>/gi, protectAttributeRegex = /\b(on\w+|href|src|name)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+))/gi; var protectElementsRegex = /(?:<style(?=[ >])[^>]*>[\s\S]*<\/style>)|(?:<(:?link|meta|base)[^>]*>)/gi, encodedElementsRegex = /<cke:encoded>([^<]*)<\/cke:encoded>/gi; var protectElementNamesRegex = /(<\/?)((?:object|embed|param|html|body|head|title)[^>]*>)/gi, unprotectElementNamesRegex = /(<\/?)cke:((?:html|body|head|title)[^>]*>)/gi; var protectSelfClosingRegex = /<cke:(param|embed)([^>]*?)\/?>(?!\s*<\/cke:\1)/gi; function protectAttributes( html ) { return html.replace( protectElementRegex, function( element, tag, attributes ) { return '<' + tag + attributes.replace( protectAttributeRegex, function( fullAttr, attrName ) { // Avoid corrupting the inline event attributes (#7243). // We should not rewrite the existed protected attributes, e.g. clipboard content from editor. (#5218) if ( !( /^on/ ).test( attrName ) && attributes.indexOf( 'data-cke-saved-' + attrName ) == -1 ) return ' data-cke-saved-' + fullAttr + ' ' + fullAttr; return fullAttr; }) + '>'; }); } function protectElements( html ) { return html.replace( protectElementsRegex, function( match ) { return '<cke:encoded>' + encodeURIComponent( match ) + '</cke:encoded>'; }); } function unprotectElements( html ) { return html.replace( encodedElementsRegex, function( match, encoded ) { return decodeURIComponent( encoded ); }); } function protectElementsNames( html ) { return html.replace( protectElementNamesRegex, '$1cke:$2'); } function unprotectElementNames( html ) { return html.replace( unprotectElementNamesRegex, '$1$2' ); } function protectSelfClosingElements( html ) { return html.replace( protectSelfClosingRegex, '<cke:$1$2></cke:$1>' ); } function protectPreFormatted( html ) { return html.replace( /(<pre\b[^>]*>)(\r\n|\n)/g, '$1$2$2' ); } function protectRealComments( html ) { return html.replace( /<!--(?!{cke_protected})[\s\S]+?-->/g, function( match ) { return '<!--' + protectedSourceMarker + '{C}' + encodeURIComponent( match ).replace( /--/g, '%2D%2D' ) + '-->'; }); } function unprotectRealComments( html ) { return html.replace( /<!--\{cke_protected\}\{C\}([\s\S]+?)-->/g, function( match, data ) { return decodeURIComponent( data ); }); } function unprotectSource( html, editor ) { var store = editor._.dataStore; return html.replace( /<!--\{cke_protected\}([\s\S]+?)-->/g, function( match, data ) { return decodeURIComponent( data ); }).replace( /\{cke_protected_(\d+)\}/g, function( match, id ) { return store && store[ id ] || ''; }); } function protectSource( data, editor ) { var protectedHtml = [], protectRegexes = editor.config.protectedSource, store = editor._.dataStore || ( editor._.dataStore = { id : 1 } ), tempRegex = /<\!--\{cke_temp(comment)?\}(\d*?)-->/g; var regexes = [ // Script tags will also be forced to be protected, otherwise // IE will execute them. ( /<script[\s\S]*?<\/script>/gi ), // <noscript> tags (get lost in IE and messed up in FF). /<noscript[\s\S]*?<\/noscript>/gi ] .concat( protectRegexes ); // First of any other protection, we must protect all comments // to avoid loosing them (of course, IE related). // Note that we use a different tag for comments, as we need to // transform them when applying filters. data = data.replace( (/<!--[\s\S]*?-->/g), function( match ) { return '<!--{cke_tempcomment}' + ( protectedHtml.push( match ) - 1 ) + '-->'; }); for ( var i = 0 ; i < regexes.length ; i++ ) { data = data.replace( regexes[i], function( match ) { match = match.replace( tempRegex, // There could be protected source inside another one. (#3869). function( $, isComment, id ) { return protectedHtml[ id ]; } ); // Avoid protecting over protected, e.g. /\{.*?\}/ return ( /cke_temp(comment)?/ ).test( match ) ? match : '<!--{cke_temp}' + ( protectedHtml.push( match ) - 1 ) + '-->'; }); } data = data.replace( tempRegex, function( $, isComment, id ) { return '<!--' + protectedSourceMarker + ( isComment ? '{C}' : '' ) + encodeURIComponent( protectedHtml[ id ] ).replace( /--/g, '%2D%2D' ) + '-->'; } ); // Different protection pattern is used for those that // live in attributes to avoid from being HTML encoded. return data.replace( /(['"]).*?\1/g, function ( match ) { return match.replace( /<!--\{cke_protected\}([\s\S]+?)-->/g, function( match, data ) { store[ store.id ] = decodeURIComponent( data ); return '{cke_protected_'+ ( store.id++ ) + '}'; }); }); } CKEDITOR.plugins.add( 'htmldataprocessor', { requires : [ 'htmlwriter' ], init : function( editor ) { var dataProcessor = editor.dataProcessor = new CKEDITOR.htmlDataProcessor( editor ); dataProcessor.writer.forceSimpleAmpersand = editor.config.forceSimpleAmpersand; dataProcessor.dataFilter.addRules( defaultDataFilterRules ); dataProcessor.dataFilter.addRules( defaultDataBlockFilterRules ); dataProcessor.htmlFilter.addRules( defaultHtmlFilterRules ); var defaultHtmlBlockFilterRules = { elements : {} }; for ( i in blockLikeTags ) defaultHtmlBlockFilterRules.elements[ i ] = getBlockExtension( true, editor.config.fillEmptyBlocks ); dataProcessor.htmlFilter.addRules( defaultHtmlBlockFilterRules ); }, onLoad : function() { ! ( 'fillEmptyBlocks' in CKEDITOR.config ) && ( CKEDITOR.config.fillEmptyBlocks = 1 ); } }); CKEDITOR.htmlDataProcessor = function( editor ) { this.editor = editor; this.writer = new CKEDITOR.htmlWriter(); this.dataFilter = new CKEDITOR.htmlParser.filter(); this.htmlFilter = new CKEDITOR.htmlParser.filter(); }; CKEDITOR.htmlDataProcessor.prototype = { toHtml : function( data, fixForBody ) { // The source data is already HTML, but we need to clean // it up and apply the filter. data = protectSource( data, this.editor ); // Before anything, we must protect the URL attributes as the // browser may changing them when setting the innerHTML later in // the code. data = protectAttributes( data ); // Protect elements than can't be set inside a DIV. E.g. IE removes // style tags from innerHTML. (#3710) data = protectElements( data ); // Certain elements has problem to go through DOM operation, protect // them by prefixing 'cke' namespace. (#3591) data = protectElementsNames( data ); // All none-IE browsers ignore self-closed custom elements, // protecting them into open-close. (#3591) data = protectSelfClosingElements( data ); // Compensate one leading line break after <pre> open as browsers // eat it up. (#5789) data = protectPreFormatted( data ); // Call the browser to help us fixing a possibly invalid HTML // structure. var div = new CKEDITOR.dom.element( 'div' ); // Add fake character to workaround IE comments bug. (#3801) div.setHtml( 'a' + data ); data = div.getHtml().substr( 1 ); // Unprotect "some" of the protected elements at this point. data = unprotectElementNames( data ); data = unprotectElements( data ); // Restore the comments that have been protected, in this way they // can be properly filtered. data = unprotectRealComments( data ); // Now use our parser to make further fixes to the structure, as // well as apply the filter. var fragment = CKEDITOR.htmlParser.fragment.fromHtml( data, fixForBody ), writer = new CKEDITOR.htmlParser.basicWriter(); fragment.writeHtml( writer, this.dataFilter ); data = writer.getHtml( true ); // Protect the real comments again. data = protectRealComments( data ); return data; }, toDataFormat : function( html, fixForBody ) { var writer = this.writer, fragment = CKEDITOR.htmlParser.fragment.fromHtml( html, fixForBody ); writer.reset(); fragment.writeHtml( writer, this.htmlFilter ); var data = writer.getHtml( true ); // Restore those non-HTML protected source. (#4475,#4880) data = unprotectRealComments( data ); data = unprotectSource( data, this.editor ); return data; } }; })(); /** * Whether to force using "&" instead of "&amp;amp;" in elements attributes * values, it's not recommended to change this setting for compliance with the * W3C XHTML 1.0 standards (<a href="http://www.w3.org/TR/xhtml1/#C_12">C.12, XHTML 1.0</a>). * @name CKEDITOR.config.forceSimpleAmpersand * @name CKEDITOR.config.forceSimpleAmpersand * @type Boolean * @default false * @example * config.forceSimpleAmpersand = false; */ /** * Whether a filler text (non-breaking space entity - &nbsp;) will be inserted into empty block elements in HTML output, * this is used to render block elements properly with line-height; When a function is instead specified, * it'll be passed a {@link CKEDITOR.htmlParser.element} to decide whether adding the filler text * by expecting a boolean return value. * @name CKEDITOR.config.fillEmptyBlocks * @since 3.5 * @type Boolean * @default true * @example * config.fillEmptyBlocks = false; // Prevent filler nodes in all empty blocks. * * // Prevent filler node only in float cleaners. * config.fillEmptyBlocks = function( element ) * { * if ( element.attributes[ 'class' ].indexOf ( 'clear-both' ) != -1 ) * return false; * } */
zysms
trunk/zysms/include/ckeditor/_source/plugins/htmldataprocessor/plugin.js
JavaScript
asf20
18,610
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.ajax} object, which holds ajax methods for * data loading. */ (function() { CKEDITOR.plugins.add( 'ajax', { requires : [ 'xml' ] }); /** * Ajax methods for data loading. * @namespace * @example */ CKEDITOR.ajax = (function() { var createXMLHttpRequest = function() { // In IE, using the native XMLHttpRequest for local files may throw // "Access is Denied" errors. if ( !CKEDITOR.env.ie || location.protocol != 'file:' ) try { return new XMLHttpRequest(); } catch(e) {} try { return new ActiveXObject( 'Msxml2.XMLHTTP' ); } catch (e) {} try { return new ActiveXObject( 'Microsoft.XMLHTTP' ); } catch (e) {} return null; }; var checkStatus = function( xhr ) { // HTTP Status Codes: // 2xx : Success // 304 : Not Modified // 0 : Returned when running locally (file://) // 1223 : IE may change 204 to 1223 (see http://dev.jquery.com/ticket/1450) return ( xhr.readyState == 4 && ( ( xhr.status >= 200 && xhr.status < 300 ) || xhr.status == 304 || xhr.status === 0 || xhr.status == 1223 ) ); }; var getResponseText = function( xhr ) { if ( checkStatus( xhr ) ) return xhr.responseText; return null; }; var getResponseXml = function( xhr ) { if ( checkStatus( xhr ) ) { var xml = xhr.responseXML; return new CKEDITOR.xml( xml && xml.firstChild ? xml : xhr.responseText ); } return null; }; var load = function( url, callback, getResponseFn ) { var async = !!callback; var xhr = createXMLHttpRequest(); if ( !xhr ) return null; xhr.open( 'GET', url, async ); if ( async ) { // TODO: perform leak checks on this closure. /** @ignore */ xhr.onreadystatechange = function() { if ( xhr.readyState == 4 ) { callback( getResponseFn( xhr ) ); xhr = null; } }; } xhr.send(null); return async ? '' : getResponseFn( xhr ); }; return /** @lends CKEDITOR.ajax */ { /** * Loads data from an URL as plain text. * @param {String} url The URL from which load data. * @param {Function} [callback] A callback function to be called on * data load. If not provided, the data will be loaded * synchronously. * @returns {String} The loaded data. For asynchronous requests, an * empty string. For invalid requests, null. * @example * // Load data synchronously. * var data = CKEDITOR.ajax.load( 'somedata.txt' ); * alert( data ); * @example * // Load data asynchronously. * var data = CKEDITOR.ajax.load( 'somedata.txt', function( data ) * { * alert( data ); * } ); */ load : function( url, callback ) { return load( url, callback, getResponseText ); }, /** * Loads data from an URL as XML. * @param {String} url The URL from which load data. * @param {Function} [callback] A callback function to be called on * data load. If not provided, the data will be loaded * synchronously. * @returns {CKEDITOR.xml} An XML object holding the loaded data. For asynchronous requests, an * empty string. For invalid requests, null. * @example * // Load XML synchronously. * var xml = CKEDITOR.ajax.loadXml( 'somedata.xml' ); * alert( xml.getInnerXml( '//' ) ); * @example * // Load XML asynchronously. * var data = CKEDITOR.ajax.loadXml( 'somedata.xml', function( xml ) * { * alert( xml.getInnerXml( '//' ) ); * } ); */ loadXml : function( url, callback ) { return load( url, callback, getResponseXml ); } }; })(); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/ajax/plugin.js
JavaScript
asf20
3,996
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @file Preview plugin. */ (function() { var previewCmd = { modes : { wysiwyg:1, source:1 }, canUndo : false, readOnly : 1, exec : function( editor ) { var sHTML, config = editor.config, baseTag = config.baseHref ? '<base href="' + config.baseHref + '"/>' : '', isCustomDomain = CKEDITOR.env.isCustomDomain(); if ( config.fullPage ) { sHTML = editor.getData() .replace( /<head>/, '$&' + baseTag ) .replace( /[^>]*(?=<\/title>)/, '$& &mdash; ' + editor.lang.preview ); } else { var bodyHtml = '<body ', body = editor.document && editor.document.getBody(); if ( body ) { if ( body.getAttribute( 'id' ) ) bodyHtml += 'id="' + body.getAttribute( 'id' ) + '" '; if ( body.getAttribute( 'class' ) ) bodyHtml += 'class="' + body.getAttribute( 'class' ) + '" '; } bodyHtml += '>'; sHTML = editor.config.docType + '<html dir="' + editor.config.contentsLangDirection + '">' + '<head>' + baseTag + '<title>' + editor.lang.preview + '</title>' + CKEDITOR.tools.buildStyleHtml( editor.config.contentsCss ) + '</head>' + bodyHtml + editor.getData() + '</body></html>'; } var iWidth = 640, // 800 * 0.8, iHeight = 420, // 600 * 0.7, iLeft = 80; // (800 - 0.8 * 800) /2 = 800 * 0.1. try { var screen = window.screen; iWidth = Math.round( screen.width * 0.8 ); iHeight = Math.round( screen.height * 0.7 ); iLeft = Math.round( screen.width * 0.1 ); } catch ( e ){} var sOpenUrl = ''; if ( isCustomDomain ) { window._cke_htmlToLoad = sHTML; sOpenUrl = 'javascript:void( (function(){' + 'document.open();' + 'document.domain="' + document.domain + '";' + 'document.write( window.opener._cke_htmlToLoad );' + 'document.close();' + 'window.opener._cke_htmlToLoad = null;' + '})() )'; } var oWindow = window.open( sOpenUrl, null, 'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=' + iWidth + ',height=' + iHeight + ',left=' + iLeft ); if ( !isCustomDomain ) { var doc = oWindow.document; doc.open(); doc.write( sHTML ); doc.close(); // Chrome will need this to show the embedded. (#8016) CKEDITOR.env.webkit && setTimeout( function() { doc.body.innerHTML += ''; }, 0 ); } } }; var pluginName = 'preview'; // Register a plugin named "preview". CKEDITOR.plugins.add( pluginName, { init : function( editor ) { editor.addCommand( pluginName, previewCmd ); editor.ui.addButton( 'Preview', { label : editor.lang.preview, command : pluginName }); } }); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/preview/plugin.js
JavaScript
asf20
2,968
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { var meta = { editorFocus : false, modes : { wysiwyg:1, source:1 } }; var blurCommand = { exec : function( editor ) { editor.container.focusNext( true, editor.tabIndex ); } }; var blurBackCommand = { exec : function( editor ) { editor.container.focusPrevious( true, editor.tabIndex ); } }; function selectNextCellCommand( backward ) { return { editorFocus : false, canUndo : false, modes : { wysiwyg : 1 }, exec : function( editor ) { if ( editor.focusManager.hasFocus ) { var sel = editor.getSelection(), ancestor = sel.getCommonAncestor(), cell; if ( ( cell = ( ancestor.getAscendant( 'td', true ) || ancestor.getAscendant( 'th', true ) ) ) ) { var resultRange = new CKEDITOR.dom.range( editor.document ), next = CKEDITOR.tools.tryThese( function() { var row = cell.getParent(), next = row.$.cells[ cell.$.cellIndex + ( backward ? - 1 : 1 ) ]; // Invalid any empty value. next.parentNode.parentNode; return next; }, function() { var row = cell.getParent(), table = row.getAscendant( 'table' ), nextRow = table.$.rows[ row.$.rowIndex + ( backward ? - 1 : 1 ) ]; return nextRow.cells[ backward? nextRow.cells.length -1 : 0 ]; }); // Clone one more row at the end of table and select the first newly established cell. if ( ! ( next || backward ) ) { var table = cell.getAscendant( 'table' ).$, cells = cell.getParent().$.cells; var newRow = new CKEDITOR.dom.element( table.insertRow( -1 ), editor.document ); for ( var i = 0, count = cells.length ; i < count; i++ ) { var newCell = newRow.append( new CKEDITOR.dom.element( cells[ i ], editor.document ).clone( false, false ) ); !CKEDITOR.env.ie && newCell.appendBogus(); } resultRange.moveToElementEditStart( newRow ); } else if ( next ) { next = new CKEDITOR.dom.element( next ); resultRange.moveToElementEditStart( next ); // Avoid selecting empty block makes the cursor blind. if ( !( resultRange.checkStartOfBlock() && resultRange.checkEndOfBlock() ) ) resultRange.selectNodeContents( next ); } else return true; resultRange.select( true ); return true; } } return false; } }; } CKEDITOR.plugins.add( 'tab', { requires : [ 'keystrokes' ], init : function( editor ) { var tabTools = editor.config.enableTabKeyTools !== false, tabSpaces = editor.config.tabSpaces || 0, tabText = ''; while ( tabSpaces-- ) tabText += '\xa0'; if ( tabText ) { editor.on( 'key', function( ev ) { if ( ev.data.keyCode == 9 ) // TAB { editor.insertHtml( tabText ); ev.cancel(); } }); } if ( tabTools ) { editor.on( 'key', function( ev ) { if ( ev.data.keyCode == 9 && editor.execCommand( 'selectNextCell' ) || // TAB ev.data.keyCode == ( CKEDITOR.SHIFT + 9 ) && editor.execCommand( 'selectPreviousCell' ) ) // SHIFT+TAB ev.cancel(); }); } if ( CKEDITOR.env.webkit || CKEDITOR.env.gecko ) { editor.on( 'key', function( ev ) { var keyCode = ev.data.keyCode; if ( keyCode == 9 && !tabText ) // TAB { ev.cancel(); editor.execCommand( 'blur' ); } if ( keyCode == ( CKEDITOR.SHIFT + 9 ) ) // SHIFT+TAB { editor.execCommand( 'blurBack' ); ev.cancel(); } }); } editor.addCommand( 'blur', CKEDITOR.tools.extend( blurCommand, meta ) ); editor.addCommand( 'blurBack', CKEDITOR.tools.extend( blurBackCommand, meta ) ); editor.addCommand( 'selectNextCell', selectNextCellCommand() ); editor.addCommand( 'selectPreviousCell', selectNextCellCommand( true ) ); } }); })(); /** * Moves the UI focus to the element following this element in the tabindex * order. * @example * var element = CKEDITOR.document.getById( 'example' ); * element.focusNext(); */ CKEDITOR.dom.element.prototype.focusNext = function( ignoreChildren, indexToUse ) { var $ = this.$, curTabIndex = ( indexToUse === undefined ? this.getTabIndex() : indexToUse ), passedCurrent, enteredCurrent, elected, electedTabIndex, element, elementTabIndex; if ( curTabIndex <= 0 ) { // If this element has tabindex <= 0 then we must simply look for any // element following it containing tabindex=0. element = this.getNextSourceNode( ignoreChildren, CKEDITOR.NODE_ELEMENT ); while ( element ) { if ( element.isVisible() && element.getTabIndex() === 0 ) { elected = element; break; } element = element.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT ); } } else { // If this element has tabindex > 0 then we must look for: // 1. An element following this element with the same tabindex. // 2. The first element in source other with the lowest tabindex // that is higher than this element tabindex. // 3. The first element with tabindex=0. element = this.getDocument().getBody().getFirst(); while ( ( element = element.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT ) ) ) { if ( !passedCurrent ) { if ( !enteredCurrent && element.equals( this ) ) { enteredCurrent = true; // Ignore this element, if required. if ( ignoreChildren ) { if ( !( element = element.getNextSourceNode( true, CKEDITOR.NODE_ELEMENT ) ) ) break; passedCurrent = 1; } } else if ( enteredCurrent && !this.contains( element ) ) passedCurrent = 1; } if ( !element.isVisible() || ( elementTabIndex = element.getTabIndex() ) < 0 ) continue; if ( passedCurrent && elementTabIndex == curTabIndex ) { elected = element; break; } if ( elementTabIndex > curTabIndex && ( !elected || !electedTabIndex || elementTabIndex < electedTabIndex ) ) { elected = element; electedTabIndex = elementTabIndex; } else if ( !elected && elementTabIndex === 0 ) { elected = element; electedTabIndex = elementTabIndex; } } } if ( elected ) elected.focus(); }; /** * Moves the UI focus to the element before this element in the tabindex order. * @example * var element = CKEDITOR.document.getById( 'example' ); * element.focusPrevious(); */ CKEDITOR.dom.element.prototype.focusPrevious = function( ignoreChildren, indexToUse ) { var $ = this.$, curTabIndex = ( indexToUse === undefined ? this.getTabIndex() : indexToUse ), passedCurrent, enteredCurrent, elected, electedTabIndex = 0, elementTabIndex; var element = this.getDocument().getBody().getLast(); while ( ( element = element.getPreviousSourceNode( false, CKEDITOR.NODE_ELEMENT ) ) ) { if ( !passedCurrent ) { if ( !enteredCurrent && element.equals( this ) ) { enteredCurrent = true; // Ignore this element, if required. if ( ignoreChildren ) { if ( !( element = element.getPreviousSourceNode( true, CKEDITOR.NODE_ELEMENT ) ) ) break; passedCurrent = 1; } } else if ( enteredCurrent && !this.contains( element ) ) passedCurrent = 1; } if ( !element.isVisible() || ( elementTabIndex = element.getTabIndex() ) < 0 ) continue; if ( curTabIndex <= 0 ) { // If this element has tabindex <= 0 then we must look for: // 1. An element before this one containing tabindex=0. // 2. The last element with the highest tabindex. if ( passedCurrent && elementTabIndex === 0 ) { elected = element; break; } if ( elementTabIndex > electedTabIndex ) { elected = element; electedTabIndex = elementTabIndex; } } else { // If this element has tabindex > 0 we must look for: // 1. An element preceeding this one, with the same tabindex. // 2. The last element in source other with the highest tabindex // that is lower than this element tabindex. if ( passedCurrent && elementTabIndex == curTabIndex ) { elected = element; break; } if ( elementTabIndex < curTabIndex && ( !elected || elementTabIndex > electedTabIndex ) ) { elected = element; electedTabIndex = elementTabIndex; } } } if ( elected ) elected.focus(); }; /** * Intructs the editor to add a number of spaces (&amp;nbsp;) to the text when * hitting the TAB key. If set to zero, the TAB key will be used to move the * cursor focus to the next element in the page, out of the editor focus. * @name CKEDITOR.config.tabSpaces * @type Number * @default 0 * @example * config.tabSpaces = 4; */ /** * Allow context-sensitive tab key behaviors, including the following scenarios: * <h5>When selection is anchored inside <b>table cells</b>:</h5> * <ul> * <li>If TAB is pressed, select the contents of the "next" cell. If in the last cell in the table, add a new row to it and focus its first cell.</li> * <li>If SHIFT+TAB is pressed, select the contents of the "previous" cell. Do nothing when it's in the first cell.</li> * </ul> * @name CKEDITOR.config.enableTabKeyTools * @type Boolean * @default true * @example * config.enableTabKeyTools = false; */ // If the TAB key is not supposed to be enabled for navigation, the following // settings could be used alternatively: // config.keystrokes.push( // [ CKEDITOR.ALT + 38 /*Arrow Up*/, 'selectPreviousCell' ], // [ CKEDITOR.ALT + 40 /*Arrow Down*/, 'selectNextCell' ] // );
zysms
trunk/zysms/include/ckeditor/_source/plugins/tab/plugin.js
JavaScript
asf20
10,104
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'menubutton', { requires : [ 'button', 'menu' ], beforeInit : function( editor ) { editor.ui.addHandler( CKEDITOR.UI_MENUBUTTON, CKEDITOR.ui.menuButton.handler ); } }); /** * Button UI element. * @constant * @example */ CKEDITOR.UI_MENUBUTTON = 'menubutton'; (function() { var clickFn = function( editor ) { var _ = this._; // Do nothing if this button is disabled. if ( _.state === CKEDITOR.TRISTATE_DISABLED ) return; _.previousState = _.state; // Check if we already have a menu for it, otherwise just create it. var menu = _.menu; if ( !menu ) { menu = _.menu = new CKEDITOR.menu( editor, { panel: { className : editor.skinClass + ' cke_contextmenu', attributes : { 'aria-label' : editor.lang.common.options } } }); menu.onHide = CKEDITOR.tools.bind( function() { this.setState( this.modes && this.modes[ editor.mode ] ? _.previousState : CKEDITOR.TRISTATE_DISABLED ); }, this ); // Initialize the menu items at this point. if ( this.onMenu ) menu.addListener( this.onMenu ); } if ( _.on ) { menu.hide(); return; } this.setState( CKEDITOR.TRISTATE_ON ); menu.show( CKEDITOR.document.getById( this._.id ), 4 ); }; CKEDITOR.ui.menuButton = CKEDITOR.tools.createClass( { base : CKEDITOR.ui.button, $ : function( definition ) { // We don't want the panel definition in this object. var panelDefinition = definition.panel; delete definition.panel; this.base( definition ); this.hasArrow = true; this.click = clickFn; }, statics : { handler : { create : function( definition ) { return new CKEDITOR.ui.menuButton( definition ); } } } }); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/menubutton/plugin.js
JavaScript
asf20
2,000
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { CKEDITOR.plugins.add( 'enterkey', { requires : [ 'keystrokes', 'indent' ], init : function( editor ) { editor.addCommand( 'enter', { modes : { wysiwyg:1 }, editorFocus : false, exec : function( editor ){ enter( editor ); } }); editor.addCommand( 'shiftEnter', { modes : { wysiwyg:1 }, editorFocus : false, exec : function( editor ){ shiftEnter( editor ); } }); var keystrokes = editor.keystrokeHandler.keystrokes; keystrokes[ 13 ] = 'enter'; keystrokes[ CKEDITOR.SHIFT + 13 ] = 'shiftEnter'; } }); CKEDITOR.plugins.enterkey = { enterBlock : function( editor, mode, range, forceMode ) { // Get the range for the current selection. range = range || getRange( editor ); // We may not have valid ranges to work on, like when inside a // contenteditable=false element. if ( !range ) return; var doc = range.document; var atBlockStart = range.checkStartOfBlock(), atBlockEnd = range.checkEndOfBlock(), path = new CKEDITOR.dom.elementPath( range.startContainer ), block = path.block; if ( atBlockStart && atBlockEnd ) { // Exit the list when we're inside an empty list item block. (#5376) if ( block && ( block.is( 'li' ) || block.getParent().is( 'li' ) ) ) { editor.execCommand( 'outdent' ); return; } if ( block && block.getParent().is( 'blockquote' ) ) { block.breakParent( block.getParent() ); // If we were at the start of <blockquote>, there will be an empty element before it now. if ( !block.getPrevious().getFirst( CKEDITOR.dom.walker.invisible(1) ) ) block.getPrevious().remove(); // If we were at the end of <blockquote>, there will be an empty element after it now. if ( !block.getNext().getFirst( CKEDITOR.dom.walker.invisible(1) ) ) block.getNext().remove(); range.moveToElementEditStart( block ); range.select(); return; } } // Don't split <pre> if we're in the middle of it, act as shift enter key. else if ( block && block.is( 'pre' ) ) { if ( !atBlockEnd ) { enterBr( editor, mode, range, forceMode ); return; } } // Don't split caption blocks. (#7944) else if ( block && CKEDITOR.dtd.$captionBlock[ block.getName() ] ) { enterBr( editor, mode, range, forceMode ); return; } // Determine the block element to be used. var blockTag = ( mode == CKEDITOR.ENTER_DIV ? 'div' : 'p' ); // Split the range. var splitInfo = range.splitBlock( blockTag ); if ( !splitInfo ) return; // Get the current blocks. var previousBlock = splitInfo.previousBlock, nextBlock = splitInfo.nextBlock; var isStartOfBlock = splitInfo.wasStartOfBlock, isEndOfBlock = splitInfo.wasEndOfBlock; var node; // If this is a block under a list item, split it as well. (#1647) if ( nextBlock ) { node = nextBlock.getParent(); if ( node.is( 'li' ) ) { nextBlock.breakParent( node ); nextBlock.move( nextBlock.getNext(), 1 ); } } else if ( previousBlock && ( node = previousBlock.getParent() ) && node.is( 'li' ) ) { previousBlock.breakParent( node ); node = previousBlock.getNext(); range.moveToElementEditStart( node ); previousBlock.move( previousBlock.getPrevious() ); } // 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 ( !isStartOfBlock && !isEndOfBlock ) { // If the next block is an <li> with another list tree as the first // child, we'll need to append a filler (<br>/NBSP) or the list item // wouldn't be editable. (#1420) if ( nextBlock.is( 'li' ) && ( node = nextBlock.getFirst( CKEDITOR.dom.walker.invisible( true ) ) ) && node.is && node.is( 'ul', 'ol' ) ) ( CKEDITOR.env.ie ? doc.createText( '\xa0' ) : doc.createElement( 'br' ) ).insertBefore( node ); // Move the selection to the end block. if ( nextBlock ) range.moveToElementEditStart( nextBlock ); } else { var newBlock, newBlockDir; if ( previousBlock ) { // Do not enter this block if it's a header tag, or we are in // a Shift+Enter (#77). Create a new block element instead // (later in the code). if ( previousBlock.is( 'li' ) || ! ( headerTagRegex.test( previousBlock.getName() ) || previousBlock.is( 'pre' ) ) ) { // Otherwise, duplicate the previous block. newBlock = previousBlock.clone(); } } else if ( nextBlock ) newBlock = nextBlock.clone(); if ( !newBlock ) { // We have already created a new list item. (#6849) if ( node && node.is( 'li' ) ) newBlock = node; else { newBlock = doc.createElement( blockTag ); if ( previousBlock && ( newBlockDir = previousBlock.getDirection() ) ) newBlock.setAttribute( 'dir', newBlockDir ); } } // Force the enter block unless we're talking of a list item. else if ( forceMode && !newBlock.is( 'li' ) ) newBlock.renameNode( blockTag ); // Recreate the inline elements tree, which was available // before hitting enter, so the same styles will be available in // the new block. var elementPath = splitInfo.elementPath; if ( elementPath ) { for ( var i = 0, len = elementPath.elements.length ; i < len ; i++ ) { var element = elementPath.elements[ i ]; if ( element.equals( elementPath.block ) || element.equals( elementPath.blockLimit ) ) break; if ( CKEDITOR.dtd.$removeEmpty[ element.getName() ] ) { element = element.clone(); newBlock.moveChildren( element ); newBlock.append( element ); } } } if ( !CKEDITOR.env.ie ) newBlock.appendBogus(); if ( !newBlock.getParent() ) range.insertNode( newBlock ); // list item start number should not be duplicated (#7330), but we need // to remove the attribute after it's onto the DOM tree because of old IEs (#7581). newBlock.is( 'li' ) && newBlock.removeAttribute( 'value' ); // This is tricky, but to make the new block visible correctly // we must select it. // The previousBlock check has been included because it may be // empty if we have fixed a block-less space (like ENTER into an // empty table cell). if ( CKEDITOR.env.ie && isStartOfBlock && ( !isEndOfBlock || !previousBlock.getChildCount() ) ) { // Move the selection to the new block. range.moveToElementEditStart( isEndOfBlock ? previousBlock : newBlock ); range.select(); } // Move the selection to the new block. range.moveToElementEditStart( isStartOfBlock && !isEndOfBlock ? nextBlock : newBlock ); } if ( !CKEDITOR.env.ie ) { if ( nextBlock ) { // If we have split the block, adds a temporary span at the // range position and scroll relatively to it. var tmpNode = doc.createElement( 'span' ); // We need some content for Safari. tmpNode.setHtml( '&nbsp;' ); range.insertNode( tmpNode ); tmpNode.scrollIntoView(); range.deleteContents(); } else { // We may use the above scroll logic for the new block case // too, but it gives some weird result with Opera. newBlock.scrollIntoView(); } } range.select(); }, enterBr : function( editor, mode, range, forceMode ) { // Get the range for the current selection. range = range || getRange( editor ); // We may not have valid ranges to work on, like when inside a // contenteditable=false element. if ( !range ) return; var doc = range.document; // Determine the block element to be used. var blockTag = ( mode == CKEDITOR.ENTER_DIV ? 'div' : 'p' ); var isEndOfBlock = range.checkEndOfBlock(); var elementPath = new CKEDITOR.dom.elementPath( editor.getSelection().getStartElement() ); var startBlock = elementPath.block, startBlockTag = startBlock && elementPath.block.getName(); var isPre = false; if ( !forceMode && startBlockTag == 'li' ) { enterBlock( editor, mode, range, forceMode ); return; } // If we are at the end of a header block. if ( !forceMode && isEndOfBlock && headerTagRegex.test( startBlockTag ) ) { var newBlock, newBlockDir; if ( ( newBlockDir = startBlock.getDirection() ) ) { newBlock = doc.createElement( 'div' ); newBlock.setAttribute( 'dir', newBlockDir ); newBlock.insertAfter( startBlock ); range.setStart( newBlock, 0 ); } else { // Insert a <br> after the current paragraph. doc.createElement( 'br' ).insertAfter( startBlock ); // A text node is required by Gecko only to make the cursor blink. if ( CKEDITOR.env.gecko ) doc.createText( '' ).insertAfter( startBlock ); // IE has different behaviors regarding position. range.setStartAt( startBlock.getNext(), CKEDITOR.env.ie ? CKEDITOR.POSITION_BEFORE_START : CKEDITOR.POSITION_AFTER_START ); } } else { var lineBreak; isPre = ( startBlockTag == 'pre' ); // Gecko prefers <br> as line-break inside <pre> (#4711). if ( isPre && !CKEDITOR.env.gecko ) lineBreak = doc.createText( CKEDITOR.env.ie ? '\r' : '\n' ); else lineBreak = doc.createElement( 'br' ); range.deleteContents(); range.insertNode( lineBreak ); // IE has different behavior regarding position. if ( CKEDITOR.env.ie ) range.setStartAt( lineBreak, CKEDITOR.POSITION_AFTER_END ); else { // A text node is required by Gecko only to make the cursor blink. // We need some text inside of it, so the bogus <br> is properly // created. doc.createText( '\ufeff' ).insertAfter( lineBreak ); // If we are at the end of a block, we must be sure the bogus node is available in that block. if ( isEndOfBlock ) lineBreak.getParent().appendBogus(); // Now we can remove the text node contents, so the caret doesn't // stop on it. lineBreak.getNext().$.nodeValue = ''; range.setStartAt( lineBreak.getNext(), CKEDITOR.POSITION_AFTER_START ); // Scroll into view, for non IE. var dummy = null; // BR is not positioned in Opera and Webkit. if ( !CKEDITOR.env.gecko ) { dummy = doc.createElement( 'span' ); // We need have some contents for Webkit to position it // under parent node. ( #3681) dummy.setHtml('&nbsp;'); } else dummy = doc.createElement( 'br' ); dummy.insertBefore( lineBreak.getNext() ); dummy.scrollIntoView(); dummy.remove(); } } // This collapse guarantees the cursor will be blinking. range.collapse( true ); range.select( isPre ); } }; var plugin = CKEDITOR.plugins.enterkey, enterBr = plugin.enterBr, enterBlock = plugin.enterBlock, headerTagRegex = /^h[1-6]$/; function shiftEnter( editor ) { // Only effective within document. if ( editor.mode != 'wysiwyg' ) return false; // On SHIFT+ENTER: // 1. We want to enforce the mode to be respected, instead // of cloning the current block. (#77) return enter( editor, editor.config.shiftEnterMode, 1 ); } function enter( editor, mode, forceMode ) { forceMode = editor.config.forceEnterMode || forceMode; // Only effective within document. if ( editor.mode != 'wysiwyg' ) return false; if ( !mode ) mode = editor.config.enterMode; // Use setTimout so the keys get cancelled immediatelly. setTimeout( function() { editor.fire( 'saveSnapshot' ); // Save undo step. if ( mode == CKEDITOR.ENTER_BR ) enterBr( editor, mode, null, forceMode ); else enterBlock( editor, mode, null, forceMode ); editor.fire( 'saveSnapshot' ); }, 0 ); return true; } function getRange( editor ) { // Get the selection ranges. var ranges = editor.getSelection().getRanges( true ); // Delete the contents of all ranges except the first one. for ( var i = ranges.length - 1 ; i > 0 ; i-- ) { ranges[ i ].deleteContents(); } // Return the first range. return ranges[ 0 ]; } })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/enterkey/plugin.js
JavaScript
asf20
12,826
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview The "elementspath" plugin. It shows all elements in the DOM * parent tree relative to the current selection in the editing area. */ (function() { var commands = { toolbarFocus : { editorFocus : false, readOnly : 1, exec : function( editor ) { var idBase = editor._.elementsPath.idBase; var element = CKEDITOR.document.getById( idBase + '0' ); // Make the first button focus accessible for IE. (#3417) // Adobe AIR instead need while of delay. element && element.focus( CKEDITOR.env.ie || CKEDITOR.env.air ); } } }; var emptyHtml = '<span class="cke_empty">&nbsp;</span>'; CKEDITOR.plugins.add( 'elementspath', { requires : [ 'selection' ], init : function( editor ) { var spaceId = 'cke_path_' + editor.name; var spaceElement; var getSpaceElement = function() { if ( !spaceElement ) spaceElement = CKEDITOR.document.getById( spaceId ); return spaceElement; }; var idBase = 'cke_elementspath_' + CKEDITOR.tools.getNextNumber() + '_'; editor._.elementsPath = { idBase : idBase, filters : [] }; editor.on( 'themeSpace', function( event ) { if ( event.data.space == 'bottom' ) { event.data.html += '<span id="' + spaceId + '_label" class="cke_voice_label">' + editor.lang.elementsPath.eleLabel + '</span>' + '<div id="' + spaceId + '" class="cke_path" role="group" aria-labelledby="' + spaceId + '_label">' + emptyHtml + '</div>'; } }); function onClick( elementIndex ) { editor.focus(); var element = editor._.elementsPath.list[ elementIndex ]; if ( element.is( 'body' ) ) { var range = new CKEDITOR.dom.range( editor.document ); range.selectNodeContents( element ); range.select(); } else editor.getSelection().selectElement( element ); } var onClickHanlder = CKEDITOR.tools.addFunction( onClick ); var onKeyDownHandler = CKEDITOR.tools.addFunction( function( elementIndex, ev ) { var idBase = editor._.elementsPath.idBase, element; ev = new CKEDITOR.dom.event( ev ); var rtl = editor.lang.dir == 'rtl'; switch ( ev.getKeystroke() ) { case rtl ? 39 : 37 : // LEFT-ARROW case 9 : // TAB element = CKEDITOR.document.getById( idBase + ( elementIndex + 1 ) ); if ( !element ) element = CKEDITOR.document.getById( idBase + '0' ); element.focus(); return false; case rtl ? 37 : 39 : // RIGHT-ARROW case CKEDITOR.SHIFT + 9 : // SHIFT + TAB element = CKEDITOR.document.getById( idBase + ( elementIndex - 1 ) ); if ( !element ) element = CKEDITOR.document.getById( idBase + ( editor._.elementsPath.list.length - 1 ) ); element.focus(); return false; case 27 : // ESC editor.focus(); return false; case 13 : // ENTER // Opera case 32 : // SPACE onClick( elementIndex ); return false; } return true; }); editor.on( 'selectionChange', function( ev ) { var env = CKEDITOR.env, selection = ev.data.selection, element = selection.getStartElement(), html = [], editor = ev.editor, elementsList = editor._.elementsPath.list = [], filters = editor._.elementsPath.filters; while ( element ) { var ignore = 0, name; if ( element.data( 'cke-display-name' ) ) name = element.data( 'cke-display-name' ); else if ( element.data( 'cke-real-element-type' ) ) name = element.data( 'cke-real-element-type' ); else name = element.getName(); for ( var i = 0; i < filters.length; i++ ) { var ret = filters[ i ]( element, name ); if ( ret === false ) { ignore = 1; break; } name = ret || name; } if ( !ignore ) { var index = elementsList.push( element ) - 1; // Use this variable to add conditional stuff to the // HTML (because we are doing it in reverse order... unshift). var extra = ''; // Some browsers don't cancel key events in the keydown but in the // keypress. // TODO: Check if really needed for Gecko+Mac. if ( env.opera || ( env.gecko && env.mac ) ) extra += ' onkeypress="return false;"'; // With Firefox, we need to force the button to redraw, otherwise it // will remain in the focus state. if ( env.gecko ) extra += ' onblur="this.style.cssText = this.style.cssText;"'; var label = editor.lang.elementsPath.eleTitle.replace( /%1/, name ); html.unshift( '<a' + ' id="', idBase, index, '"' + ' href="javascript:void(\'', name, '\')"' + ' tabindex="-1"' + ' title="', label, '"' + ( ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) ? ' onfocus="event.preventBubble();"' : '' ) + ' hidefocus="true" ' + ' onkeydown="return CKEDITOR.tools.callFunction(', onKeyDownHandler, ',', index, ', event );"' + extra , ' onclick="CKEDITOR.tools.callFunction('+ onClickHanlder, ',', index, '); return false;"', ' role="button" aria-labelledby="' + idBase + index + '_label">', name, '<span id="', idBase, index, '_label" class="cke_label">' + label + '</span>', '</a>' ); } if ( name == 'body' ) break; element = element.getParent(); } var space = getSpaceElement(); space.setHtml( html.join('') + emptyHtml ); editor.fire( 'elementsPathUpdate', { space : space } ); }); function empty() { spaceElement && spaceElement.setHtml( emptyHtml ); delete editor._.elementsPath.list; } editor.on( 'readOnly', empty ); editor.on( 'contentDomUnload', empty ); editor.addCommand( 'elementsPathFocus', commands.toolbarFocus ); } }); })(); /** * Fired when the contents of the elementsPath are changed * @name CKEDITOR.editor#elementsPathUpdate * @event * @param {Object} eventData.space The elementsPath container */
zysms
trunk/zysms/include/ckeditor/_source/plugins/elementspath/plugin.js
JavaScript
asf20
6,519
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'contextmenu', { requires : [ 'menu' ], // Make sure the base class (CKEDITOR.menu) is loaded before it (#3318). onLoad : function() { CKEDITOR.plugins.contextMenu = CKEDITOR.tools.createClass( { base : CKEDITOR.menu, $ : function( editor ) { this.base.call( this, editor, { panel: { className : editor.skinClass + ' cke_contextmenu', attributes : { 'aria-label' : editor.lang.contextmenu.options } } }); }, proto : { addTarget : function( element, nativeContextMenuOnCtrl ) { // Opera doesn't support 'contextmenu' event, we have duo approaches employed here: // 1. Inherit the 'button override' hack we introduced in v2 (#4530), while this require the Opera browser // option 'Allow script to detect context menu/right click events' to be always turned on. // 2. Considering the fact that ctrl/meta key is not been occupied // for multiple range selecting (like Gecko), we use this key // combination as a fallback for triggering context-menu. (#4530) if ( CKEDITOR.env.opera && !( 'oncontextmenu' in document.body )) { var contextMenuOverrideButton; element.on( 'mousedown', function( evt ) { evt = evt.data; if ( evt.$.button != 2 ) { if ( evt.getKeystroke() == CKEDITOR.CTRL + 1 ) element.fire( 'contextmenu', evt ); return; } if ( nativeContextMenuOnCtrl && ( CKEDITOR.env.mac ? evt.$.metaKey : evt.$.ctrlKey ) ) return; var target = evt.getTarget(); if ( !contextMenuOverrideButton ) { var ownerDoc = target.getDocument(); contextMenuOverrideButton = ownerDoc.createElement( 'input' ) ; contextMenuOverrideButton.$.type = 'button' ; ownerDoc.getBody().append( contextMenuOverrideButton ) ; } contextMenuOverrideButton.setAttribute( 'style', 'position:absolute;top:' + ( evt.$.clientY - 2 ) + 'px;left:' + ( evt.$.clientX - 2 ) + 'px;width:5px;height:5px;opacity:0.01' ); } ); element.on( 'mouseup', function ( evt ) { if ( contextMenuOverrideButton ) { contextMenuOverrideButton.remove(); contextMenuOverrideButton = undefined; // Simulate 'contextmenu' event. element.fire( 'contextmenu', evt.data ); } } ); } element.on( 'contextmenu', function( event ) { var domEvent = event.data; if ( nativeContextMenuOnCtrl && // Safari on Windows always show 'ctrlKey' as true in 'contextmenu' event, // which make this property unreliable. (#4826) ( CKEDITOR.env.webkit ? holdCtrlKey : ( CKEDITOR.env.mac ? domEvent.$.metaKey : domEvent.$.ctrlKey ) ) ) return; // Cancel the browser context menu. domEvent.preventDefault(); var offsetParent = domEvent.getTarget().getDocument().getDocumentElement(), offsetX = domEvent.$.clientX, offsetY = domEvent.$.clientY; CKEDITOR.tools.setTimeout( function() { this.open( offsetParent, null, offsetX, offsetY ); // IE needs a short while to allow selection change before opening menu. (#7908) }, CKEDITOR.env.ie? 200 : 0, this ); }, this ); if ( CKEDITOR.env.opera ) { // 'contextmenu' event triggered by Windows menu key is unpreventable, // cancel the key event itself. (#6534) element.on( 'keypress' , function ( evt ) { var domEvent = evt.data; if ( domEvent.$.keyCode === 0 ) domEvent.preventDefault(); }); } if ( CKEDITOR.env.webkit ) { var holdCtrlKey, onKeyDown = function( event ) { holdCtrlKey = CKEDITOR.env.mac ? event.data.$.metaKey : event.data.$.ctrlKey ; }, resetOnKeyUp = function() { holdCtrlKey = 0; }; element.on( 'keydown', onKeyDown ); element.on( 'keyup', resetOnKeyUp ); element.on( 'contextmenu', resetOnKeyUp ); } }, open : function( offsetParent, corner, offsetX, offsetY ) { this.editor.focus(); offsetParent = offsetParent || CKEDITOR.document.getDocumentElement(); this.show( offsetParent, corner, offsetX, offsetY ); } } }); }, beforeInit : function( editor ) { editor.contextMenu = new CKEDITOR.plugins.contextMenu( editor ); editor.addCommand( 'contextMenu', { exec : function() { editor.contextMenu.open( editor.document.getBody() ); } }); } }); /** * Whether to show the browser native context menu when the <em>Ctrl</em> or * <em>Meta</em> (Mac) key is pressed on opening the context menu with the * right mouse button click or the <em>Menu</em> key. * @name CKEDITOR.config.browserContextMenuOnCtrl * @since 3.0.2 * @type Boolean * @default <code>true</code> * @example * config.browserContextMenuOnCtrl = false; */
zysms
trunk/zysms/include/ckeditor/_source/plugins/contextmenu/plugin.js
JavaScript
asf20
5,353
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'link', { init : function( editor ) { // Add the link and unlink buttons. editor.addCommand( 'link', new CKEDITOR.dialogCommand( 'link' ) ); editor.addCommand( 'anchor', new CKEDITOR.dialogCommand( 'anchor' ) ); editor.addCommand( 'unlink', new CKEDITOR.unlinkCommand() ); editor.addCommand( 'removeAnchor', new CKEDITOR.removeAnchorCommand() ); editor.ui.addButton( 'Link', { label : editor.lang.link.toolbar, command : 'link' } ); editor.ui.addButton( 'Unlink', { label : editor.lang.unlink, command : 'unlink' } ); editor.ui.addButton( 'Anchor', { label : editor.lang.anchor.toolbar, command : 'anchor' } ); CKEDITOR.dialog.add( 'link', this.path + 'dialogs/link.js' ); CKEDITOR.dialog.add( 'anchor', this.path + 'dialogs/anchor.js' ); // Add the CSS styles for anchor placeholders. var side = ( editor.lang.dir == 'rtl' ? 'right' : 'left' ); var basicCss = 'background:url(' + CKEDITOR.getUrl( this.path + 'images/anchor.gif' ) + ') no-repeat ' + side + ' center;' + 'border:1px dotted #00f;'; editor.addCss( 'a.cke_anchor,a.cke_anchor_empty' + // IE6 breaks with the following selectors. ( ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 ) ? '' : ',a[name],a[data-cke-saved-name]' ) + '{' + basicCss + 'padding-' + side + ':18px;' + // Show the arrow cursor for the anchor image (FF at least). 'cursor:auto;' + '}' + ( CKEDITOR.env.ie ? ( 'a.cke_anchor_empty' + '{' + // Make empty anchor selectable on IE. 'display:inline-block;' + '}' ) : '' ) + 'img.cke_anchor' + '{' + basicCss + 'width:16px;' + 'min-height:15px;' + // The default line-height on IE. 'height:1.15em;' + // Opera works better with "middle" (even if not perfect) 'vertical-align:' + ( CKEDITOR.env.opera ? 'middle' : 'text-bottom' ) + ';' + '}'); // Register selection change handler for the unlink button. editor.on( 'selectionChange', function( evt ) { if ( editor.readOnly ) return; /* * Despite our initial hope, document.queryCommandEnabled() does not work * for this in Firefox. So we must detect the state by element paths. */ var command = editor.getCommand( 'unlink' ), element = evt.data.path.lastElement && evt.data.path.lastElement.getAscendant( 'a', true ); if ( element && element.getName() == 'a' && element.getAttribute( 'href' ) && element.getChildCount() ) command.setState( CKEDITOR.TRISTATE_OFF ); else command.setState( CKEDITOR.TRISTATE_DISABLED ); } ); editor.on( 'doubleclick', function( evt ) { var element = CKEDITOR.plugins.link.getSelectedLink( editor ) || evt.data.element; if ( !element.isReadOnly() ) { if ( element.is( 'a' ) ) { evt.data.dialog = ( element.getAttribute( 'name' ) && ( !element.getAttribute( 'href' ) || !element.getChildCount() ) ) ? 'anchor' : 'link'; editor.getSelection().selectElement( element ); } else if ( CKEDITOR.plugins.link.tryRestoreFakeAnchor( editor, element ) ) evt.data.dialog = 'anchor'; } }); // If the "menu" plugin is loaded, register the menu items. if ( editor.addMenuItems ) { editor.addMenuItems( { anchor : { label : editor.lang.anchor.menu, command : 'anchor', group : 'anchor', order : 1 }, removeAnchor : { label : editor.lang.anchor.remove, command : 'removeAnchor', group : 'anchor', order : 5 }, link : { label : editor.lang.link.menu, command : 'link', group : 'link', order : 1 }, unlink : { label : editor.lang.unlink, command : 'unlink', group : 'link', order : 5 } }); } // If the "contextmenu" plugin is loaded, register the listeners. if ( editor.contextMenu ) { editor.contextMenu.addListener( function( element, selection ) { if ( !element || element.isReadOnly() ) return null; var anchor = CKEDITOR.plugins.link.tryRestoreFakeAnchor( editor, element ); if ( !anchor && !( anchor = CKEDITOR.plugins.link.getSelectedLink( editor ) ) ) return null; var menu = {}; if ( anchor.getAttribute( 'href' ) && anchor.getChildCount() ) menu = { link : CKEDITOR.TRISTATE_OFF, unlink : CKEDITOR.TRISTATE_OFF }; if ( anchor && anchor.hasAttribute( 'name' ) ) menu.anchor = menu.removeAnchor = CKEDITOR.TRISTATE_OFF; return menu; }); } }, afterInit : function( editor ) { // Register a filter to displaying placeholders after mode change. var dataProcessor = editor.dataProcessor, dataFilter = dataProcessor && dataProcessor.dataFilter, htmlFilter = dataProcessor && dataProcessor.htmlFilter, pathFilters = editor._.elementsPath && editor._.elementsPath.filters; if ( dataFilter ) { dataFilter.addRules( { elements : { a : function( element ) { var attributes = element.attributes; if ( !attributes.name ) return null; var isEmpty = !element.children.length; if ( CKEDITOR.plugins.link.synAnchorSelector ) { // IE needs a specific class name to be applied // to the anchors, for appropriate styling. var ieClass = isEmpty ? 'cke_anchor_empty' : 'cke_anchor'; var cls = attributes[ 'class' ]; if ( attributes.name && ( !cls || cls.indexOf( ieClass ) < 0 ) ) attributes[ 'class' ] = ( cls || '' ) + ' ' + ieClass; if ( isEmpty && CKEDITOR.plugins.link.emptyAnchorFix ) { attributes.contenteditable = 'false'; attributes[ 'data-cke-editable' ] = 1; } } else if ( CKEDITOR.plugins.link.fakeAnchor && isEmpty ) return editor.createFakeParserElement( element, 'cke_anchor', 'anchor' ); return null; } } }); } if ( CKEDITOR.plugins.link.emptyAnchorFix && htmlFilter ) { htmlFilter.addRules( { elements : { a : function( element ) { delete element.attributes.contenteditable; } } }); } if ( pathFilters ) { pathFilters.push( function( element, name ) { if ( name == 'a' ) { if ( CKEDITOR.plugins.link.tryRestoreFakeAnchor( editor, element ) || ( element.getAttribute( 'name' ) && ( !element.getAttribute( 'href' ) || !element.getChildCount() ) ) ) { return 'anchor'; } } }); } }, requires : [ 'fakeobjects' ] } ); CKEDITOR.plugins.link = { /** * Get the surrounding link element of current selection. * @param editor * @example CKEDITOR.plugins.link.getSelectedLink( editor ); * @since 3.2.1 * The following selection will all return the link element. * <pre> * <a href="#">li^nk</a> * <a href="#">[link]</a> * text[<a href="#">link]</a> * <a href="#">li[nk</a>] * [<b><a href="#">li]nk</a></b>] * [<a href="#"><b>li]nk</b></a> * </pre> */ getSelectedLink : function( editor ) { try { var selection = editor.getSelection(); if ( selection.getType() == CKEDITOR.SELECTION_ELEMENT ) { var selectedElement = selection.getSelectedElement(); if ( selectedElement.is( 'a' ) ) return selectedElement; } var range = selection.getRanges( true )[ 0 ]; range.shrink( CKEDITOR.SHRINK_TEXT ); var root = range.getCommonAncestor(); return root.getAscendant( 'a', true ); } catch( e ) { return null; } }, // Opera and WebKit don't make it possible to select empty anchors. Fake // elements must be used for them. fakeAnchor : CKEDITOR.env.opera || CKEDITOR.env.webkit, // For browsers that don't support CSS3 a[name]:empty(), note IE9 is included because of #7783. synAnchorSelector : CKEDITOR.env.ie, // For browsers that have editing issue with empty anchor. emptyAnchorFix : CKEDITOR.env.ie && CKEDITOR.env.version < 8, tryRestoreFakeAnchor : function( editor, element ) { if ( element && element.data( 'cke-real-element-type' ) && element.data( 'cke-real-element-type' ) == 'anchor' ) { var link = editor.restoreRealElement( element ); if ( link.data( 'cke-saved-name' ) ) return link; } } }; CKEDITOR.unlinkCommand = function(){}; CKEDITOR.unlinkCommand.prototype = { /** @ignore */ exec : function( editor ) { /* * execCommand( 'unlink', ... ) in Firefox leaves behind <span> tags at where * the <a> was, so again we have to remove the link ourselves. (See #430) * * TODO: Use the style system when it's complete. Let's use execCommand() * as a stopgap solution for now. */ var selection = editor.getSelection(), bookmarks = selection.createBookmarks(), ranges = selection.getRanges(), rangeRoot, element; for ( var i = 0 ; i < ranges.length ; i++ ) { rangeRoot = ranges[i].getCommonAncestor( true ); element = rangeRoot.getAscendant( 'a', true ); if ( !element ) continue; ranges[i].selectNodeContents( element ); } selection.selectRanges( ranges ); editor.document.$.execCommand( 'unlink', false, null ); selection.selectBookmarks( bookmarks ); }, startDisabled : true }; CKEDITOR.removeAnchorCommand = function(){}; CKEDITOR.removeAnchorCommand.prototype = { /** @ignore */ exec : function( editor ) { var sel = editor.getSelection(), bms = sel.createBookmarks(), anchor; if ( sel && ( anchor = sel.getSelectedElement() ) && ( CKEDITOR.plugins.link.fakeAnchor && !anchor.getChildCount() ? CKEDITOR.plugins.link.tryRestoreFakeAnchor( editor, anchor ) : anchor.is( 'a' ) ) ) anchor.remove( 1 ); else { if ( ( anchor = CKEDITOR.plugins.link.getSelectedLink( editor ) ) ) { if ( anchor.hasAttribute( 'href' ) ) { anchor.removeAttributes( { name : 1, 'data-cke-saved-name' : 1 } ); anchor.removeClass( 'cke_anchor' ); } else anchor.remove( 1 ); } } sel.selectBookmarks( bms ); } }; CKEDITOR.tools.extend( CKEDITOR.config, { linkShowAdvancedTab : true, linkShowTargetTab : true } );
zysms
trunk/zysms/include/ckeditor/_source/plugins/link/plugin.js
JavaScript
asf20
10,654
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.dialog.add( 'anchor', function( editor ) { // Function called in onShow to load selected element. var loadElements = function( element ) { this._.selectedElement = element; var attributeValue = element.data( 'cke-saved-name' ); this.setValueOf( 'info','txtName', attributeValue || '' ); }; function createFakeAnchor( editor, anchor ) { return editor.createFakeElement( anchor, 'cke_anchor', 'anchor' ); } return { title : editor.lang.anchor.title, minWidth : 300, minHeight : 60, onOk : function() { var name = this.getValueOf( 'info', 'txtName' ); var attributes = { name : name, 'data-cke-saved-name' : name }; if ( this._.selectedElement ) { if ( this._.selectedElement.data( 'cke-realelement' ) ) { var newFake = createFakeAnchor( editor, editor.document.createElement( 'a', { attributes: attributes } ) ); newFake.replace( this._.selectedElement ); } else this._.selectedElement.setAttributes( attributes ); } else { var sel = editor.getSelection(), range = sel && sel.getRanges()[ 0 ]; // Empty anchor if ( range.collapsed ) { if ( CKEDITOR.plugins.link.synAnchorSelector ) attributes[ 'class' ] = 'cke_anchor_empty'; if ( CKEDITOR.plugins.link.emptyAnchorFix ) { attributes[ 'contenteditable' ] = 'false'; attributes[ 'data-cke-editable' ] = 1; } var anchor = editor.document.createElement( 'a', { attributes: attributes } ); // Transform the anchor into a fake element for browsers that need it. if ( CKEDITOR.plugins.link.fakeAnchor ) anchor = createFakeAnchor( editor, anchor ); range.insertNode( anchor ); } else { if ( CKEDITOR.env.ie && CKEDITOR.env.version < 9 ) attributes['class'] = 'cke_anchor'; // Apply style. var style = new CKEDITOR.style( { element : 'a', attributes : attributes } ); style.type = CKEDITOR.STYLE_INLINE; style.apply( editor.document ); } } }, onHide : function() { delete this._.selectedElement; }, onShow : function() { var selection = editor.getSelection(), fullySelected = selection.getSelectedElement(), partialSelected; // Detect the anchor under selection. if ( fullySelected ) { if ( CKEDITOR.plugins.link.fakeAnchor ) { var realElement = CKEDITOR.plugins.link.tryRestoreFakeAnchor( editor, fullySelected ); realElement && loadElements.call( this, realElement ); this._.selectedElement = fullySelected; } else if ( fullySelected.is( 'a' ) && fullySelected.hasAttribute( 'name' ) ) loadElements.call( this, fullySelected ); } else { partialSelected = CKEDITOR.plugins.link.getSelectedLink( editor ); if ( partialSelected ) { loadElements.call( this, partialSelected ); selection.selectElement( partialSelected ); } } this.getContentElement( 'info', 'txtName' ).focus(); }, contents : [ { id : 'info', label : editor.lang.anchor.title, accessKey : 'I', elements : [ { type : 'text', id : 'txtName', label : editor.lang.anchor.name, required: true, validate : function() { if ( !this.getValue() ) { alert( editor.lang.anchor.errorName ); return false; } return true; } } ] } ] }; } );
zysms
trunk/zysms/include/ckeditor/_source/plugins/link/dialogs/anchor.js
JavaScript
asf20
3,717
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.dialog.add( 'link', function( editor ) { var plugin = CKEDITOR.plugins.link; // Handles the event when the "Target" selection box is changed. var targetChanged = function() { var dialog = this.getDialog(), popupFeatures = dialog.getContentElement( 'target', 'popupFeatures' ), targetName = dialog.getContentElement( 'target', 'linkTargetName' ), value = this.getValue(); if ( !popupFeatures || !targetName ) return; popupFeatures = popupFeatures.getElement(); popupFeatures.hide(); targetName.setValue( '' ); switch ( value ) { case 'frame' : targetName.setLabel( editor.lang.link.targetFrameName ); targetName.getElement().show(); break; case 'popup' : popupFeatures.show(); targetName.setLabel( editor.lang.link.targetPopupName ); targetName.getElement().show(); break; default : targetName.setValue( value ); targetName.getElement().hide(); break; } }; // Handles the event when the "Type" selection box is changed. var linkTypeChanged = function() { var dialog = this.getDialog(), partIds = [ 'urlOptions', 'anchorOptions', 'emailOptions' ], typeValue = this.getValue(), uploadTab = dialog.definition.getContents( 'upload' ), uploadInitiallyHidden = uploadTab && uploadTab.hidden; if ( typeValue == 'url' ) { if ( editor.config.linkShowTargetTab ) dialog.showPage( 'target' ); if ( !uploadInitiallyHidden ) dialog.showPage( 'upload' ); } else { dialog.hidePage( 'target' ); if ( !uploadInitiallyHidden ) dialog.hidePage( 'upload' ); } for ( var i = 0 ; i < partIds.length ; i++ ) { var element = dialog.getContentElement( 'info', partIds[i] ); if ( !element ) continue; element = element.getElement().getParent().getParent(); if ( partIds[i] == typeValue + 'Options' ) element.show(); else element.hide(); } dialog.layout(); }; // Loads the parameters in a selected link to the link dialog fields. var javascriptProtocolRegex = /^javascript:/, emailRegex = /^mailto:([^?]+)(?:\?(.+))?$/, emailSubjectRegex = /subject=([^;?:@&=$,\/]*)/, emailBodyRegex = /body=([^;?:@&=$,\/]*)/, anchorRegex = /^#(.*)$/, urlRegex = /^((?:http|https|ftp|news):\/\/)?(.*)$/, selectableTargets = /^(_(?:self|top|parent|blank))$/, encodedEmailLinkRegex = /^javascript:void\(location\.href='mailto:'\+String\.fromCharCode\(([^)]+)\)(?:\+'(.*)')?\)$/, functionCallProtectedEmailLinkRegex = /^javascript:([^(]+)\(([^)]+)\)$/; var popupRegex = /\s*window.open\(\s*this\.href\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*;\s*return\s*false;*\s*/; var popupFeaturesRegex = /(?:^|,)([^=]+)=(\d+|yes|no)/gi; var parseLink = function( editor, element ) { var href = ( element && ( element.data( 'cke-saved-href' ) || element.getAttribute( 'href' ) ) ) || '', javascriptMatch, emailMatch, anchorMatch, urlMatch, retval = {}; if ( ( javascriptMatch = href.match( javascriptProtocolRegex ) ) ) { if ( emailProtection == 'encode' ) { href = href.replace( encodedEmailLinkRegex, function ( match, protectedAddress, rest ) { return 'mailto:' + String.fromCharCode.apply( String, protectedAddress.split( ',' ) ) + ( rest && unescapeSingleQuote( rest ) ); }); } // Protected email link as function call. else if ( emailProtection ) { href.replace( functionCallProtectedEmailLinkRegex, function( match, funcName, funcArgs ) { if ( funcName == compiledProtectionFunction.name ) { retval.type = 'email'; var email = retval.email = {}; var paramRegex = /[^,\s]+/g, paramQuoteRegex = /(^')|('$)/g, paramsMatch = funcArgs.match( paramRegex ), paramsMatchLength = paramsMatch.length, paramName, paramVal; for ( var i = 0; i < paramsMatchLength; i++ ) { paramVal = decodeURIComponent( unescapeSingleQuote( paramsMatch[ i ].replace( paramQuoteRegex, '' ) ) ); paramName = compiledProtectionFunction.params[ i ].toLowerCase(); email[ paramName ] = paramVal; } email.address = [ email.name, email.domain ].join( '@' ); } } ); } } if ( !retval.type ) { if ( ( anchorMatch = href.match( anchorRegex ) ) ) { retval.type = 'anchor'; retval.anchor = {}; retval.anchor.name = retval.anchor.id = anchorMatch[1]; } // Protected email link as encoded string. else if ( ( emailMatch = href.match( emailRegex ) ) ) { var subjectMatch = href.match( emailSubjectRegex ), bodyMatch = href.match( emailBodyRegex ); retval.type = 'email'; var email = ( retval.email = {} ); email.address = emailMatch[ 1 ]; subjectMatch && ( email.subject = decodeURIComponent( subjectMatch[ 1 ] ) ); bodyMatch && ( email.body = decodeURIComponent( bodyMatch[ 1 ] ) ); } // urlRegex matches empty strings, so need to check for href as well. else if ( href && ( urlMatch = href.match( urlRegex ) ) ) { retval.type = 'url'; retval.url = {}; retval.url.protocol = urlMatch[1]; retval.url.url = urlMatch[2]; } else retval.type = 'url'; } // Load target and popup settings. if ( element ) { var target = element.getAttribute( 'target' ); retval.target = {}; retval.adv = {}; // IE BUG: target attribute is an empty string instead of null in IE if it's not set. if ( !target ) { var onclick = element.data( 'cke-pa-onclick' ) || element.getAttribute( 'onclick' ), onclickMatch = onclick && onclick.match( popupRegex ); if ( onclickMatch ) { retval.target.type = 'popup'; retval.target.name = onclickMatch[1]; var featureMatch; while ( ( featureMatch = popupFeaturesRegex.exec( onclickMatch[2] ) ) ) { // Some values should remain numbers (#7300) if ( ( featureMatch[2] == 'yes' || featureMatch[2] == '1' ) && !( featureMatch[1] in { height:1, width:1, top:1, left:1 } ) ) retval.target[ featureMatch[1] ] = true; else if ( isFinite( featureMatch[2] ) ) retval.target[ featureMatch[1] ] = featureMatch[2]; } } } else { var targetMatch = target.match( selectableTargets ); if ( targetMatch ) retval.target.type = retval.target.name = target; else { retval.target.type = 'frame'; retval.target.name = target; } } var me = this; var advAttr = function( inputName, attrName ) { var value = element.getAttribute( attrName ); if ( value !== null ) retval.adv[ inputName ] = value || ''; }; advAttr( 'advId', 'id' ); advAttr( 'advLangDir', 'dir' ); advAttr( 'advAccessKey', 'accessKey' ); retval.adv.advName = element.data( 'cke-saved-name' ) || element.getAttribute( 'name' ) || ''; advAttr( 'advLangCode', 'lang' ); advAttr( 'advTabIndex', 'tabindex' ); advAttr( 'advTitle', 'title' ); advAttr( 'advContentType', 'type' ); CKEDITOR.plugins.link.synAnchorSelector ? retval.adv.advCSSClasses = getLinkClass( element ) : advAttr( 'advCSSClasses', 'class' ); advAttr( 'advCharset', 'charset' ); advAttr( 'advStyles', 'style' ); advAttr( 'advRel', 'rel' ); } // Find out whether we have any anchors in the editor. var anchors = retval.anchors = [], item; // For some browsers we set contenteditable="false" on anchors, making document.anchors not to include them, so we must traverse the links manually (#7893). if ( CKEDITOR.plugins.link.emptyAnchorFix ) { var links = editor.document.getElementsByTag( 'a' ); for ( i = 0, count = links.count(); i < count; i++ ) { item = links.getItem( i ); if ( item.data( 'cke-saved-name' ) || item.hasAttribute( 'name' ) ) anchors.push( { name : item.data( 'cke-saved-name' ) || item.getAttribute( 'name' ), id : item.getAttribute( 'id' ) } ); } } else { var anchorList = new CKEDITOR.dom.nodeList( editor.document.$.anchors ); for ( var i = 0, count = anchorList.count(); i < count; i++ ) { item = anchorList.getItem( i ); anchors[ i ] = { name : item.getAttribute( 'name' ), id : item.getAttribute( 'id' ) }; } } if ( CKEDITOR.plugins.link.fakeAnchor ) { var imgs = editor.document.getElementsByTag( 'img' ); for ( i = 0, count = imgs.count(); i < count; i++ ) { if ( ( item = CKEDITOR.plugins.link.tryRestoreFakeAnchor( editor, imgs.getItem( i ) ) ) ) anchors.push( { name : item.getAttribute( 'name' ), id : item.getAttribute( 'id' ) } ); } } // Record down the selected element in the dialog. this._.selectedElement = element; return retval; }; var setupParams = function( page, data ) { if ( data[page] ) this.setValue( data[page][this.id] || '' ); }; var setupPopupParams = function( data ) { return setupParams.call( this, 'target', data ); }; var setupAdvParams = function( data ) { return setupParams.call( this, 'adv', data ); }; var commitParams = function( page, data ) { if ( !data[page] ) data[page] = {}; data[page][this.id] = this.getValue() || ''; }; var commitPopupParams = function( data ) { return commitParams.call( this, 'target', data ); }; var commitAdvParams = function( data ) { return commitParams.call( this, 'adv', data ); }; function unescapeSingleQuote( str ) { return str.replace( /\\'/g, '\'' ); } function escapeSingleQuote( str ) { return str.replace( /'/g, '\\$&' ); } var emailProtection = editor.config.emailProtection || ''; // Compile the protection function pattern. if ( emailProtection && emailProtection != 'encode' ) { var compiledProtectionFunction = {}; emailProtection.replace( /^([^(]+)\(([^)]+)\)$/, function( match, funcName, params ) { compiledProtectionFunction.name = funcName; compiledProtectionFunction.params = []; params.replace( /[^,\s]+/g, function( param ) { compiledProtectionFunction.params.push( param ); } ); } ); } function protectEmailLinkAsFunction( email ) { var retval, name = compiledProtectionFunction.name, params = compiledProtectionFunction.params, paramName, paramValue; retval = [ name, '(' ]; for ( var i = 0; i < params.length; i++ ) { paramName = params[ i ].toLowerCase(); paramValue = email[ paramName ]; i > 0 && retval.push( ',' ); retval.push( '\'', paramValue ? escapeSingleQuote( encodeURIComponent( email[ paramName ] ) ) : '', '\''); } retval.push( ')' ); return retval.join( '' ); } function protectEmailAddressAsEncodedString( address ) { var charCode, length = address.length, encodedChars = []; for ( var i = 0; i < length; i++ ) { charCode = address.charCodeAt( i ); encodedChars.push( charCode ); } return 'String.fromCharCode(' + encodedChars.join( ',' ) + ')'; } function getLinkClass( ele ) { var className = ele.getAttribute( 'class' ); return className ? className.replace( /\s*(?:cke_anchor_empty|cke_anchor)(?:\s*$)?/g, '' ) : ''; } var commonLang = editor.lang.common, linkLang = editor.lang.link; return { title : linkLang.title, minWidth : 350, minHeight : 230, contents : [ { id : 'info', label : linkLang.info, title : linkLang.info, elements : [ { id : 'linkType', type : 'select', label : linkLang.type, 'default' : 'url', items : [ [ linkLang.toUrl, 'url' ], [ linkLang.toAnchor, 'anchor' ], [ linkLang.toEmail, 'email' ] ], onChange : linkTypeChanged, setup : function( data ) { if ( data.type ) this.setValue( data.type ); }, commit : function( data ) { data.type = this.getValue(); } }, { type : 'vbox', id : 'urlOptions', children : [ { type : 'hbox', widths : [ '25%', '75%' ], children : [ { id : 'protocol', type : 'select', label : commonLang.protocol, 'default' : 'http://', items : [ // Force 'ltr' for protocol names in BIDI. (#5433) [ 'http://\u200E', 'http://' ], [ 'https://\u200E', 'https://' ], [ 'ftp://\u200E', 'ftp://' ], [ 'news://\u200E', 'news://' ], [ linkLang.other , '' ] ], setup : function( data ) { if ( data.url ) this.setValue( data.url.protocol || '' ); }, commit : function( data ) { if ( !data.url ) data.url = {}; data.url.protocol = this.getValue(); } }, { type : 'text', id : 'url', label : commonLang.url, required: true, onLoad : function () { this.allowOnChange = true; }, onKeyUp : function() { this.allowOnChange = false; var protocolCmb = this.getDialog().getContentElement( 'info', 'protocol' ), url = this.getValue(), urlOnChangeProtocol = /^(http|https|ftp|news):\/\/(?=.)/i, urlOnChangeTestOther = /^((javascript:)|[#\/\.\?])/i; var protocol = urlOnChangeProtocol.exec( url ); if ( protocol ) { this.setValue( url.substr( protocol[ 0 ].length ) ); protocolCmb.setValue( protocol[ 0 ].toLowerCase() ); } else if ( urlOnChangeTestOther.test( url ) ) protocolCmb.setValue( '' ); this.allowOnChange = true; }, onChange : function() { if ( this.allowOnChange ) // Dont't call on dialog load. this.onKeyUp(); }, validate : function() { var dialog = this.getDialog(); if ( dialog.getContentElement( 'info', 'linkType' ) && dialog.getValueOf( 'info', 'linkType' ) != 'url' ) return true; if ( this.getDialog().fakeObj ) // Edit Anchor. return true; var func = CKEDITOR.dialog.validate.notEmpty( linkLang.noUrl ); return func.apply( this ); }, setup : function( data ) { this.allowOnChange = false; if ( data.url ) this.setValue( data.url.url ); this.allowOnChange = true; }, commit : function( data ) { // IE will not trigger the onChange event if the mouse has been used // to carry all the operations #4724 this.onChange(); if ( !data.url ) data.url = {}; data.url.url = this.getValue(); this.allowOnChange = false; } } ], setup : function( data ) { if ( !this.getDialog().getContentElement( 'info', 'linkType' ) ) this.getElement().show(); } }, { type : 'button', id : 'browse', hidden : 'true', filebrowser : 'info:url', label : commonLang.browseServer } ] }, { type : 'vbox', id : 'anchorOptions', width : 260, align : 'center', padding : 0, children : [ { type : 'fieldset', id : 'selectAnchorText', label : linkLang.selectAnchor, setup : function( data ) { if ( data.anchors.length > 0 ) this.getElement().show(); else this.getElement().hide(); }, children : [ { type : 'hbox', id : 'selectAnchor', children : [ { type : 'select', id : 'anchorName', 'default' : '', label : linkLang.anchorName, style : 'width: 100%;', items : [ [ '' ] ], setup : function( data ) { this.clear(); this.add( '' ); for ( var i = 0 ; i < data.anchors.length ; i++ ) { if ( data.anchors[i].name ) this.add( data.anchors[i].name ); } if ( data.anchor ) this.setValue( data.anchor.name ); var linkType = this.getDialog().getContentElement( 'info', 'linkType' ); if ( linkType && linkType.getValue() == 'email' ) this.focus(); }, commit : function( data ) { if ( !data.anchor ) data.anchor = {}; data.anchor.name = this.getValue(); } }, { type : 'select', id : 'anchorId', 'default' : '', label : linkLang.anchorId, style : 'width: 100%;', items : [ [ '' ] ], setup : function( data ) { this.clear(); this.add( '' ); for ( var i = 0 ; i < data.anchors.length ; i++ ) { if ( data.anchors[i].id ) this.add( data.anchors[i].id ); } if ( data.anchor ) this.setValue( data.anchor.id ); }, commit : function( data ) { if ( !data.anchor ) data.anchor = {}; data.anchor.id = this.getValue(); } } ], setup : function( data ) { if ( data.anchors.length > 0 ) this.getElement().show(); else this.getElement().hide(); } } ] }, { type : 'html', id : 'noAnchors', style : 'text-align: center;', html : '<div role="label" tabIndex="-1">' + CKEDITOR.tools.htmlEncode( linkLang.noAnchors ) + '</div>', // Focus the first element defined in above html. focus : true, setup : function( data ) { if ( data.anchors.length < 1 ) this.getElement().show(); else this.getElement().hide(); } } ], setup : function( data ) { if ( !this.getDialog().getContentElement( 'info', 'linkType' ) ) this.getElement().hide(); } }, { type : 'vbox', id : 'emailOptions', padding : 1, children : [ { type : 'text', id : 'emailAddress', label : linkLang.emailAddress, required : true, validate : function() { var dialog = this.getDialog(); if ( !dialog.getContentElement( 'info', 'linkType' ) || dialog.getValueOf( 'info', 'linkType' ) != 'email' ) return true; var func = CKEDITOR.dialog.validate.notEmpty( linkLang.noEmail ); return func.apply( this ); }, setup : function( data ) { if ( data.email ) this.setValue( data.email.address ); var linkType = this.getDialog().getContentElement( 'info', 'linkType' ); if ( linkType && linkType.getValue() == 'email' ) this.select(); }, commit : function( data ) { if ( !data.email ) data.email = {}; data.email.address = this.getValue(); } }, { type : 'text', id : 'emailSubject', label : linkLang.emailSubject, setup : function( data ) { if ( data.email ) this.setValue( data.email.subject ); }, commit : function( data ) { if ( !data.email ) data.email = {}; data.email.subject = this.getValue(); } }, { type : 'textarea', id : 'emailBody', label : linkLang.emailBody, rows : 3, 'default' : '', setup : function( data ) { if ( data.email ) this.setValue( data.email.body ); }, commit : function( data ) { if ( !data.email ) data.email = {}; data.email.body = this.getValue(); } } ], setup : function( data ) { if ( !this.getDialog().getContentElement( 'info', 'linkType' ) ) this.getElement().hide(); } } ] }, { id : 'target', label : linkLang.target, title : linkLang.target, elements : [ { type : 'hbox', widths : [ '50%', '50%' ], children : [ { type : 'select', id : 'linkTargetType', label : commonLang.target, 'default' : 'notSet', style : 'width : 100%;', 'items' : [ [ commonLang.notSet, 'notSet' ], [ linkLang.targetFrame, 'frame' ], [ linkLang.targetPopup, 'popup' ], [ commonLang.targetNew, '_blank' ], [ commonLang.targetTop, '_top' ], [ commonLang.targetSelf, '_self' ], [ commonLang.targetParent, '_parent' ] ], onChange : targetChanged, setup : function( data ) { if ( data.target ) this.setValue( data.target.type || 'notSet' ); targetChanged.call( this ); }, commit : function( data ) { if ( !data.target ) data.target = {}; data.target.type = this.getValue(); } }, { type : 'text', id : 'linkTargetName', label : linkLang.targetFrameName, 'default' : '', setup : function( data ) { if ( data.target ) this.setValue( data.target.name ); }, commit : function( data ) { if ( !data.target ) data.target = {}; data.target.name = this.getValue().replace(/\W/gi, ''); } } ] }, { type : 'vbox', width : '100%', align : 'center', padding : 2, id : 'popupFeatures', children : [ { type : 'fieldset', label : linkLang.popupFeatures, children : [ { type : 'hbox', children : [ { type : 'checkbox', id : 'resizable', label : linkLang.popupResizable, setup : setupPopupParams, commit : commitPopupParams }, { type : 'checkbox', id : 'status', label : linkLang.popupStatusBar, setup : setupPopupParams, commit : commitPopupParams } ] }, { type : 'hbox', children : [ { type : 'checkbox', id : 'location', label : linkLang.popupLocationBar, setup : setupPopupParams, commit : commitPopupParams }, { type : 'checkbox', id : 'toolbar', label : linkLang.popupToolbar, setup : setupPopupParams, commit : commitPopupParams } ] }, { type : 'hbox', children : [ { type : 'checkbox', id : 'menubar', label : linkLang.popupMenuBar, setup : setupPopupParams, commit : commitPopupParams }, { type : 'checkbox', id : 'fullscreen', label : linkLang.popupFullScreen, setup : setupPopupParams, commit : commitPopupParams } ] }, { type : 'hbox', children : [ { type : 'checkbox', id : 'scrollbars', label : linkLang.popupScrollBars, setup : setupPopupParams, commit : commitPopupParams }, { type : 'checkbox', id : 'dependent', label : linkLang.popupDependent, setup : setupPopupParams, commit : commitPopupParams } ] }, { type : 'hbox', children : [ { type : 'text', widths : [ '50%', '50%' ], labelLayout : 'horizontal', label : commonLang.width, id : 'width', setup : setupPopupParams, commit : commitPopupParams }, { type : 'text', labelLayout : 'horizontal', widths : [ '50%', '50%' ], label : linkLang.popupLeft, id : 'left', setup : setupPopupParams, commit : commitPopupParams } ] }, { type : 'hbox', children : [ { type : 'text', labelLayout : 'horizontal', widths : [ '50%', '50%' ], label : commonLang.height, id : 'height', setup : setupPopupParams, commit : commitPopupParams }, { type : 'text', labelLayout : 'horizontal', label : linkLang.popupTop, widths : [ '50%', '50%' ], id : 'top', setup : setupPopupParams, commit : commitPopupParams } ] } ] } ] } ] }, { id : 'upload', label : linkLang.upload, title : linkLang.upload, hidden : true, filebrowser : 'uploadButton', elements : [ { type : 'file', id : 'upload', label : commonLang.upload, style: 'height:40px', size : 29 }, { type : 'fileButton', id : 'uploadButton', label : commonLang.uploadSubmit, filebrowser : 'info:url', 'for' : [ 'upload', 'upload' ] } ] }, { id : 'advanced', label : linkLang.advanced, title : linkLang.advanced, elements : [ { type : 'vbox', padding : 1, children : [ { type : 'hbox', widths : [ '45%', '35%', '20%' ], children : [ { type : 'text', id : 'advId', label : linkLang.id, setup : setupAdvParams, commit : commitAdvParams }, { type : 'select', id : 'advLangDir', label : linkLang.langDir, 'default' : '', style : 'width:110px', items : [ [ commonLang.notSet, '' ], [ linkLang.langDirLTR, 'ltr' ], [ linkLang.langDirRTL, 'rtl' ] ], setup : setupAdvParams, commit : commitAdvParams }, { type : 'text', id : 'advAccessKey', width : '80px', label : linkLang.acccessKey, maxLength : 1, setup : setupAdvParams, commit : commitAdvParams } ] }, { type : 'hbox', widths : [ '45%', '35%', '20%' ], children : [ { type : 'text', label : linkLang.name, id : 'advName', setup : setupAdvParams, commit : commitAdvParams }, { type : 'text', label : linkLang.langCode, id : 'advLangCode', width : '110px', 'default' : '', setup : setupAdvParams, commit : commitAdvParams }, { type : 'text', label : linkLang.tabIndex, id : 'advTabIndex', width : '80px', maxLength : 5, setup : setupAdvParams, commit : commitAdvParams } ] } ] }, { type : 'vbox', padding : 1, children : [ { type : 'hbox', widths : [ '45%', '55%' ], children : [ { type : 'text', label : linkLang.advisoryTitle, 'default' : '', id : 'advTitle', setup : setupAdvParams, commit : commitAdvParams }, { type : 'text', label : linkLang.advisoryContentType, 'default' : '', id : 'advContentType', setup : setupAdvParams, commit : commitAdvParams } ] }, { type : 'hbox', widths : [ '45%', '55%' ], children : [ { type : 'text', label : linkLang.cssClasses, 'default' : '', id : 'advCSSClasses', setup : setupAdvParams, commit : commitAdvParams }, { type : 'text', label : linkLang.charset, 'default' : '', id : 'advCharset', setup : setupAdvParams, commit : commitAdvParams } ] }, { type : 'hbox', widths : [ '45%', '55%' ], children : [ { type : 'text', label : linkLang.rel, 'default' : '', id : 'advRel', setup : setupAdvParams, commit : commitAdvParams }, { type : 'text', label : linkLang.styles, 'default' : '', id : 'advStyles', validate : CKEDITOR.dialog.validate.inlineStyle( editor.lang.common.invalidInlineStyle ), setup : setupAdvParams, commit : commitAdvParams } ] } ] } ] } ], onShow : function() { var editor = this.getParentEditor(), selection = editor.getSelection(), element = null; // Fill in all the relevant fields if there's already one link selected. if ( ( element = plugin.getSelectedLink( editor ) ) && element.hasAttribute( 'href' ) ) selection.selectElement( element ); else element = null; this.setupContent( parseLink.apply( this, [ editor, element ] ) ); }, onOk : function() { var attributes = {}, removeAttributes = [], data = {}, me = this, editor = this.getParentEditor(); this.commitContent( data ); // Compose the URL. switch ( data.type || 'url' ) { case 'url': var protocol = ( data.url && data.url.protocol != undefined ) ? data.url.protocol : 'http://', url = ( data.url && CKEDITOR.tools.trim( data.url.url ) ) || ''; attributes[ 'data-cke-saved-href' ] = ( url.indexOf( '/' ) === 0 ) ? url : protocol + url; break; case 'anchor': var name = ( data.anchor && data.anchor.name ), id = ( data.anchor && data.anchor.id ); attributes[ 'data-cke-saved-href' ] = '#' + ( name || id || '' ); break; case 'email': var linkHref, email = data.email, address = email.address; switch( emailProtection ) { case '' : case 'encode' : { var subject = encodeURIComponent( email.subject || '' ), body = encodeURIComponent( email.body || '' ); // Build the e-mail parameters first. var argList = []; subject && argList.push( 'subject=' + subject ); body && argList.push( 'body=' + body ); argList = argList.length ? '?' + argList.join( '&' ) : ''; if ( emailProtection == 'encode' ) { linkHref = [ 'javascript:void(location.href=\'mailto:\'+', protectEmailAddressAsEncodedString( address ) ]; // parameters are optional. argList && linkHref.push( '+\'', escapeSingleQuote( argList ), '\'' ); linkHref.push( ')' ); } else linkHref = [ 'mailto:', address, argList ]; break; } default : { // Separating name and domain. var nameAndDomain = address.split( '@', 2 ); email.name = nameAndDomain[ 0 ]; email.domain = nameAndDomain[ 1 ]; linkHref = [ 'javascript:', protectEmailLinkAsFunction( email ) ]; } } attributes[ 'data-cke-saved-href' ] = linkHref.join( '' ); break; } // Popups and target. if ( data.target ) { if ( data.target.type == 'popup' ) { var onclickList = [ 'window.open(this.href, \'', data.target.name || '', '\', \'' ]; var featureList = [ 'resizable', 'status', 'location', 'toolbar', 'menubar', 'fullscreen', 'scrollbars', 'dependent' ]; var featureLength = featureList.length; var addFeature = function( featureName ) { if ( data.target[ featureName ] ) featureList.push( featureName + '=' + data.target[ featureName ] ); }; for ( var i = 0 ; i < featureLength ; i++ ) featureList[i] = featureList[i] + ( data.target[ featureList[i] ] ? '=yes' : '=no' ) ; addFeature( 'width' ); addFeature( 'left' ); addFeature( 'height' ); addFeature( 'top' ); onclickList.push( featureList.join( ',' ), '\'); return false;' ); attributes[ 'data-cke-pa-onclick' ] = onclickList.join( '' ); // Add the "target" attribute. (#5074) removeAttributes.push( 'target' ); } else { if ( data.target.type != 'notSet' && data.target.name ) attributes.target = data.target.name; else removeAttributes.push( 'target' ); removeAttributes.push( 'data-cke-pa-onclick', 'onclick' ); } } // Advanced attributes. if ( data.adv ) { var advAttr = function( inputName, attrName ) { var value = data.adv[ inputName ]; if ( value ) attributes[attrName] = value; else removeAttributes.push( attrName ); }; advAttr( 'advId', 'id' ); advAttr( 'advLangDir', 'dir' ); advAttr( 'advAccessKey', 'accessKey' ); if ( data.adv[ 'advName' ] ) attributes[ 'name' ] = attributes[ 'data-cke-saved-name' ] = data.adv[ 'advName' ]; else removeAttributes = removeAttributes.concat( [ 'data-cke-saved-name', 'name' ] ); advAttr( 'advLangCode', 'lang' ); advAttr( 'advTabIndex', 'tabindex' ); advAttr( 'advTitle', 'title' ); advAttr( 'advContentType', 'type' ); advAttr( 'advCSSClasses', 'class' ); advAttr( 'advCharset', 'charset' ); advAttr( 'advStyles', 'style' ); advAttr( 'advRel', 'rel' ); } // Browser need the "href" fro copy/paste link to work. (#6641) attributes.href = attributes[ 'data-cke-saved-href' ]; if ( !this._.selectedElement ) { // Create element if current selection is collapsed. var selection = editor.getSelection(), ranges = selection.getRanges( true ); if ( ranges.length == 1 && ranges[0].collapsed ) { // Short mailto link text view (#5736). var text = new CKEDITOR.dom.text( data.type == 'email' ? data.email.address : attributes[ 'data-cke-saved-href' ], editor.document ); ranges[0].insertNode( text ); ranges[0].selectNodeContents( text ); selection.selectRanges( ranges ); } // Apply style. var style = new CKEDITOR.style( { element : 'a', attributes : attributes } ); style.type = CKEDITOR.STYLE_INLINE; // need to override... dunno why. style.apply( editor.document ); } else { // We're only editing an existing link, so just overwrite the attributes. var element = this._.selectedElement, href = element.data( 'cke-saved-href' ), textView = element.getHtml(); element.setAttributes( attributes ); element.removeAttributes( removeAttributes ); if ( data.adv && data.adv.advName && CKEDITOR.plugins.link.synAnchorSelector ) element.addClass( element.getChildCount() ? 'cke_anchor' : 'cke_anchor_empty' ); // Update text view when user changes protocol (#4612). if ( href == textView || data.type == 'email' && textView.indexOf( '@' ) != -1 ) { // Short mailto link text view (#5736). element.setHtml( data.type == 'email' ? data.email.address : attributes[ 'data-cke-saved-href' ] ); } delete this._.selectedElement; } }, onLoad : function() { if ( !editor.config.linkShowAdvancedTab ) this.hidePage( 'advanced' ); //Hide Advanded tab. if ( !editor.config.linkShowTargetTab ) this.hidePage( 'target' ); //Hide Target tab. }, // Inital focus on 'url' field if link is of type URL. onFocus : function() { var linkType = this.getContentElement( 'info', 'linkType' ), urlField; if ( linkType && linkType.getValue() == 'url' ) { urlField = this.getContentElement( 'info', 'url' ); urlField.select(); } } }; }); /** * The e-mail address anti-spam protection option. The protection will be * applied when creating or modifying e-mail links through the editor interface.<br> * Two methods of protection can be choosed: * <ol> <li>The e-mail parts (name, domain and any other query string) are * assembled into a function call pattern. Such function must be * provided by the developer in the pages that will use the contents. * <li>Only the e-mail address is obfuscated into a special string that * has no meaning for humans or spam bots, but which is properly * rendered and accepted by the browser.</li></ol> * Both approaches require JavaScript to be enabled. * @name CKEDITOR.config.emailProtection * @since 3.1 * @type String * @default '' (empty string = disabled) * @example * // href="mailto:tester@ckeditor.com?subject=subject&body=body" * config.emailProtection = ''; * @example * // href="<a href=\"javascript:void(location.href=\'mailto:\'+String.fromCharCode(116,101,115,116,101,114,64,99,107,101,100,105,116,111,114,46,99,111,109)+\'?subject=subject&body=body\')\">e-mail</a>" * config.emailProtection = 'encode'; * @example * // href="javascript:mt('tester','ckeditor.com','subject','body')" * config.emailProtection = 'mt(NAME,DOMAIN,SUBJECT,BODY)'; */
zysms
trunk/zysms/include/ckeditor/_source/plugins/link/dialogs/link.js
JavaScript
asf20
39,764
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @file Clipboard support */ (function() { // Tries to execute any of the paste, cut or copy commands in IE. Returns a // boolean indicating that the operation succeeded. var execIECommand = function( editor, command ) { var doc = editor.document, body = doc.getBody(); var enabled = 0; var onExec = function() { enabled = 1; }; // The following seems to be the only reliable way to detect that // clipboard commands are enabled in IE. It will fire the // onpaste/oncut/oncopy events only if the security settings allowed // the command to execute. body.on( command, onExec ); // IE6/7: document.execCommand has problem to paste into positioned element. ( CKEDITOR.env.version > 7 ? doc.$ : doc.$.selection.createRange() ) [ 'execCommand' ]( command ); body.removeListener( command, onExec ); return enabled; }; // Attempts to execute the Cut and Copy operations. var tryToCutCopy = CKEDITOR.env.ie ? function( editor, type ) { return execIECommand( editor, type ); } : // !IE. function( editor, type ) { try { // Other browsers throw an error if the command is disabled. return editor.document.$.execCommand( type, false, null ); } catch( e ) { return false; } }; // A class that represents one of the cut or copy commands. var cutCopyCmd = function( type ) { this.type = type; this.canUndo = this.type == 'cut'; // We can't undo copy to clipboard. this.startDisabled = true; }; cutCopyCmd.prototype = { exec : function( editor, data ) { this.type == 'cut' && fixCut( editor ); var success = tryToCutCopy( editor, this.type ); if ( !success ) alert( editor.lang.clipboard[ this.type + 'Error' ] ); // Show cutError or copyError. return success; } }; // Paste command. var pasteCmd = { canUndo : false, exec : CKEDITOR.env.ie ? function( editor ) { // Prevent IE from pasting at the begining of the document. editor.focus(); if ( !editor.document.getBody().fire( 'beforepaste' ) && !execIECommand( editor, 'paste' ) ) { editor.fire( 'pasteDialog' ); return false; } } : function( editor ) { try { if ( !editor.document.getBody().fire( 'beforepaste' ) && !editor.document.$.execCommand( 'Paste', false, null ) ) { throw 0; } } catch ( e ) { setTimeout( function() { editor.fire( 'pasteDialog' ); }, 0 ); return false; } } }; // Listens for some clipboard related keystrokes, so they get customized. var onKey = function( event ) { if ( this.mode != 'wysiwyg' ) return; switch ( event.data.keyCode ) { // Paste case CKEDITOR.CTRL + 86 : // CTRL+V case CKEDITOR.SHIFT + 45 : // SHIFT+INS var body = this.document.getBody(); // Simulate 'beforepaste' event for all none-IEs. if ( !CKEDITOR.env.ie && body.fire( 'beforepaste' ) ) event.cancel(); // Simulate 'paste' event for Opera/Firefox2. else if ( CKEDITOR.env.opera || CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) body.fire( 'paste' ); return; // Cut case CKEDITOR.CTRL + 88 : // CTRL+X case CKEDITOR.SHIFT + 46 : // SHIFT+DEL // Save Undo snapshot. var editor = this; this.fire( 'saveSnapshot' ); // Save before paste setTimeout( function() { editor.fire( 'saveSnapshot' ); // Save after paste }, 0 ); } }; function cancel( evt ) { evt.cancel(); } // Allow to peek clipboard content by redirecting the // pasting content into a temporary bin and grab the content of it. function getClipboardData( evt, mode, callback ) { var doc = this.document; // Avoid recursions on 'paste' event or consequent paste too fast. (#5730) if ( doc.getById( 'cke_pastebin' ) ) return; // If the browser supports it, get the data directly if ( mode == 'text' && evt.data && evt.data.$.clipboardData ) { // evt.data.$.clipboardData.types contains all the flavours in Mac's Safari, but not on windows. var plain = evt.data.$.clipboardData.getData( 'text/plain' ); if ( plain ) { evt.data.preventDefault(); callback( plain ); return; } } var sel = this.getSelection(), range = new CKEDITOR.dom.range( doc ); // Create container to paste into var pastebin = new CKEDITOR.dom.element( mode == 'text' ? 'textarea' : CKEDITOR.env.webkit ? 'body' : 'div', doc ); pastebin.setAttribute( 'id', 'cke_pastebin' ); // Safari requires a filler node inside the div to have the content pasted into it. (#4882) CKEDITOR.env.webkit && pastebin.append( doc.createText( '\xa0' ) ); doc.getBody().append( pastebin ); pastebin.setStyles( { position : 'absolute', // Position the bin exactly at the position of the selected element // to avoid any subsequent document scroll. top : sel.getStartElement().getDocumentPosition().y + 'px', width : '1px', height : '1px', overflow : 'hidden' }); // It's definitely a better user experience if we make the paste-bin pretty unnoticed // by pulling it off the screen. pastebin.setStyle( this.config.contentsLangDirection == 'ltr' ? 'left' : 'right', '-1000px' ); var bms = sel.createBookmarks(); this.on( 'selectionChange', cancel, null, null, 0 ); // Turn off design mode temporarily before give focus to the paste bin. if ( mode == 'text' ) pastebin.$.focus(); else { range.setStartAt( pastebin, CKEDITOR.POSITION_AFTER_START ); range.setEndAt( pastebin, CKEDITOR.POSITION_BEFORE_END ); range.select( true ); } var editor = this; // Wait a while and grab the pasted contents window.setTimeout( function() { mode == 'text' && CKEDITOR.env.gecko && editor.focusGrabber.focus(); pastebin.remove(); editor.removeListener( 'selectionChange', cancel ); // Grab the HTML contents. // We need to look for a apple style wrapper on webkit it also adds // a div wrapper if you copy/paste the body of the editor. // Remove hidden div and restore selection. var bogusSpan; pastebin = ( CKEDITOR.env.webkit && ( bogusSpan = pastebin.getFirst() ) && ( bogusSpan.is && bogusSpan.hasClass( 'Apple-style-span' ) ) ? bogusSpan : pastebin ); sel.selectBookmarks( bms ); callback( pastebin[ 'get' + ( mode == 'text' ? 'Value' : 'Html' ) ]() ); }, 0 ); } // Cutting off control type element in IE standards breaks the selection entirely. (#4881) function fixCut( editor ) { if ( !CKEDITOR.env.ie || CKEDITOR.env.quirks ) return; var sel = editor.getSelection(); var control; if( ( sel.getType() == CKEDITOR.SELECTION_ELEMENT ) && ( control = sel.getSelectedElement() ) ) { var range = sel.getRanges()[ 0 ]; var dummy = editor.document.createText( '' ); dummy.insertBefore( control ); range.setStartBefore( dummy ); range.setEndAfter( control ); sel.selectRanges( [ range ] ); // Clear up the fix if the paste wasn't succeeded. setTimeout( function() { // Element still online? if ( control.getParent() ) { dummy.remove(); sel.selectElement( control ); } }, 0 ); } } var depressBeforeEvent; function stateFromNamedCommand( command, editor ) { // IE Bug: queryCommandEnabled('paste') fires also 'beforepaste(copy/cut)', // guard to distinguish from the ordinary sources( either // keyboard paste or execCommand ) (#4874). CKEDITOR.env.ie && ( depressBeforeEvent = 1 ); var retval = CKEDITOR.TRISTATE_OFF; try { retval = editor.document.$.queryCommandEnabled( command ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED; }catch( er ){} depressBeforeEvent = 0; return retval; } var inReadOnly; function setToolbarStates() { if ( this.mode != 'wysiwyg' ) return; this.getCommand( 'cut' ).setState( inReadOnly ? CKEDITOR.TRISTATE_DISABLED : stateFromNamedCommand( 'Cut', this ) ); this.getCommand( 'copy' ).setState( stateFromNamedCommand( 'Copy', this ) ); var pasteState = inReadOnly ? CKEDITOR.TRISTATE_DISABLED : CKEDITOR.env.webkit ? CKEDITOR.TRISTATE_OFF : stateFromNamedCommand( 'Paste', this ); this.fire( 'pasteState', pasteState ); } // Register the plugin. CKEDITOR.plugins.add( 'clipboard', { requires : [ 'dialog', 'htmldataprocessor' ], init : function( editor ) { // Inserts processed data into the editor at the end of the // events chain. editor.on( 'paste', function( evt ) { var data = evt.data; if ( data[ 'html' ] ) editor.insertHtml( data[ 'html' ] ); else if ( data[ 'text' ] ) editor.insertText( data[ 'text' ] ); setTimeout( function () { editor.fire( 'afterPaste' ); }, 0 ); }, null, null, 1000 ); editor.on( 'pasteDialog', function( evt ) { setTimeout( function() { // Open default paste dialog. editor.openDialog( 'paste' ); }, 0 ); }); editor.on( 'pasteState', function( evt ) { editor.getCommand( 'paste' ).setState( evt.data ); }); function addButtonCommand( buttonName, commandName, command, ctxMenuOrder ) { var lang = editor.lang[ commandName ]; editor.addCommand( commandName, command ); editor.ui.addButton( buttonName, { label : lang, command : commandName }); // If the "menu" plugin is loaded, register the menu item. if ( editor.addMenuItems ) { editor.addMenuItem( commandName, { label : lang, command : commandName, group : 'clipboard', order : ctxMenuOrder }); } } addButtonCommand( 'Cut', 'cut', new cutCopyCmd( 'cut' ), 1 ); addButtonCommand( 'Copy', 'copy', new cutCopyCmd( 'copy' ), 4 ); addButtonCommand( 'Paste', 'paste', pasteCmd, 8 ); CKEDITOR.dialog.add( 'paste', CKEDITOR.getUrl( this.path + 'dialogs/paste.js' ) ); editor.on( 'key', onKey, editor ); // We'll be catching all pasted content in one line, regardless of whether the // it's introduced by a document command execution (e.g. toolbar buttons) or // user paste behaviors. (e.g. Ctrl-V) editor.on( 'contentDom', function() { var body = editor.document.getBody(); body.on( CKEDITOR.env.webkit ? 'paste' : 'beforepaste', function( evt ) { if ( depressBeforeEvent ) return; // Fire 'beforePaste' event so clipboard flavor get customized // by other plugins. var eventData = { mode : 'html' }; editor.fire( 'beforePaste', eventData ); getClipboardData.call( editor, evt, eventData.mode, function ( data ) { // The very last guard to make sure the // paste has successfully happened. if ( !( data = CKEDITOR.tools.trim( data.replace( /<span[^>]+data-cke-bookmark[^<]*?<\/span>/ig,'' ) ) ) ) return; var dataTransfer = {}; dataTransfer[ eventData.mode ] = data; editor.fire( 'paste', dataTransfer ); } ); }); // Dismiss the (wrong) 'beforepaste' event fired on context menu open. (#7953) body.on( 'contextmenu', function() { depressBeforeEvent = 1; setTimeout( function() { depressBeforeEvent = 0; }, 10 ); }); body.on( 'beforecut', function() { !depressBeforeEvent && fixCut( editor ); } ); body.on( 'mouseup', function(){ setTimeout( function(){ setToolbarStates.call( editor ); }, 0 ); }, editor ); body.on( 'keyup', setToolbarStates, editor ); }); // For improved performance, we're checking the readOnly state on selectionChange instead of hooking a key event for that. editor.on( 'selectionChange', function( evt ) { inReadOnly = evt.data.selection.getRanges()[ 0 ].checkReadOnly(); setToolbarStates.call( editor ); }); // If the "contextmenu" plugin is loaded, register the listeners. if ( editor.contextMenu ) { editor.contextMenu.addListener( function( element, selection ) { var readOnly = selection.getRanges()[ 0 ].checkReadOnly(); return { cut : !readOnly && stateFromNamedCommand( 'Cut', editor ), copy : stateFromNamedCommand( 'Copy', editor ), paste : !readOnly && ( CKEDITOR.env.webkit ? CKEDITOR.TRISTATE_OFF : stateFromNamedCommand( 'Paste', editor ) ) }; }); } } }); })(); /** * Fired when a clipboard operation is about to be taken into the editor. * Listeners can manipulate the data to be pasted before having it effectively * inserted into the document. * @name CKEDITOR.editor#paste * @since 3.1 * @event * @param {String} [data.html] The HTML data to be pasted. If not available, e.data.text will be defined. * @param {String} [data.text] The plain text data to be pasted, available when plain text operations are to used. If not available, e.data.html will be defined. */ /** * Internal event to open the Paste dialog * @name CKEDITOR.editor#pasteDialog * @event */
zysms
trunk/zysms/include/ckeditor/_source/plugins/clipboard/plugin.js
JavaScript
asf20
13,681
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.dialog.add( 'paste', function( editor ) { var lang = editor.lang.clipboard; var isCustomDomain = CKEDITOR.env.isCustomDomain(); function onPasteFrameLoad( win ) { var doc = new CKEDITOR.dom.document( win.document ), docElement = doc.$; var script = doc.getById( 'cke_actscrpt' ); script && script.remove(); CKEDITOR.env.ie ? docElement.body.contentEditable = "true" : docElement.designMode = "on"; // IE before version 8 will leave cursor blinking inside the document after // editor blurred unless we clean up the selection. (#4716) if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 ) { doc.getWindow().on( 'blur', function() { docElement.selection.empty(); } ); } doc.on( "keydown", function( e ) { var domEvent = e.data, key = domEvent.getKeystroke(), processed; switch( key ) { case 27 : this.hide(); processed = 1; break; case 9 : case CKEDITOR.SHIFT + 9 : this.changeFocus( true ); processed = 1; } processed && domEvent.preventDefault(); }, this ); editor.fire( 'ariaWidget', new CKEDITOR.dom.element( win.frameElement ) ); } return { title : lang.title, minWidth : CKEDITOR.env.ie && CKEDITOR.env.quirks ? 370 : 350, minHeight : CKEDITOR.env.quirks ? 250 : 245, onShow : function() { // FIREFOX BUG: Force the browser to render the dialog to make the to-be- // inserted iframe editable. (#3366) this.parts.dialog.$.offsetHeight; this.setupContent(); }, onHide : function() { if ( CKEDITOR.env.ie ) this.getParentEditor().document.getBody().$.contentEditable = 'true'; }, onLoad : function() { if ( ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) && editor.lang.dir == 'rtl' ) this.parts.contents.setStyle( 'overflow', 'hidden' ); }, onOk : function() { this.commitContent(); }, contents : [ { id : 'general', label : editor.lang.common.generalTab, elements : [ { type : 'html', id : 'securityMsg', html : '<div style="white-space:normal;width:340px;">' + lang.securityMsg + '</div>' }, { type : 'html', id : 'pasteMsg', html : '<div style="white-space:normal;width:340px;">'+lang.pasteMsg +'</div>' }, { type : 'html', id : 'editing_area', style : 'width: 100%; height: 100%;', html : '', focus : function() { var win = this.getInputElement().$.contentWindow; // #3291 : JAWS needs the 500ms delay to detect that the editor iframe // iframe is no longer editable. So that it will put the focus into the // Paste from Word dialog's editable area instead. setTimeout( function() { win.focus(); }, 500 ); }, setup : function() { var dialog = this.getDialog(); var htmlToLoad = '<html dir="' + editor.config.contentsLangDirection + '"' + ' lang="' + ( editor.config.contentsLanguage || editor.langCode ) + '">' + '<head><style>body { margin: 3px; height: 95%; } </style></head><body>' + '<script id="cke_actscrpt" type="text/javascript">' + 'window.parent.CKEDITOR.tools.callFunction( ' + CKEDITOR.tools.addFunction( onPasteFrameLoad, dialog ) + ', this );' + '</script></body>' + '</html>'; var src = CKEDITOR.env.air ? 'javascript:void(0)' : isCustomDomain ? 'javascript:void((function(){' + 'document.open();' + 'document.domain=\'' + document.domain + '\';' + 'document.close();' + '})())"' : ''; var iframe = CKEDITOR.dom.element.createFromHtml( '<iframe' + ' class="cke_pasteframe"' + ' frameborder="0" ' + ' allowTransparency="true"' + ' src="' + src + '"' + ' role="region"' + ' aria-label="' + lang.pasteArea + '"' + ' aria-describedby="' + dialog.getContentElement( 'general', 'pasteMsg' ).domId + '"' + ' aria-multiple="true"' + '></iframe>' ); iframe.on( 'load', function( e ) { e.removeListener(); var doc = iframe.getFrameDocument(); doc.write( htmlToLoad ); if ( CKEDITOR.env.air ) onPasteFrameLoad.call( this, doc.getWindow().$ ); }, dialog ); iframe.setCustomData( 'dialog', dialog ); var container = this.getElement(); container.setHtml( '' ); container.append( iframe ); // IE need a redirect on focus to make // the cursor blinking inside iframe. (#5461) if ( CKEDITOR.env.ie ) { var focusGrabber = CKEDITOR.dom.element.createFromHtml( '<span tabindex="-1" style="position:absolute;" role="presentation"></span>' ); focusGrabber.on( 'focus', function() { iframe.$.contentWindow.focus(); }); container.append( focusGrabber ); // Override focus handler on field. this.focus = function() { focusGrabber.focus(); this.fire( 'focus' ); }; } this.getInputElement = function(){ return iframe; }; // Force container to scale in IE. if ( CKEDITOR.env.ie ) { container.setStyle( 'display', 'block' ); container.setStyle( 'height', ( iframe.$.offsetHeight + 2 ) + 'px' ); } }, commit : function( data ) { var container = this.getElement(), editor = this.getDialog().getParentEditor(), body = this.getInputElement().getFrameDocument().getBody(), bogus = body.getBogus(), html; bogus && bogus.remove(); // Saving the contents so changes until paste is complete will not take place (#7500) html = body.getHtml(); setTimeout( function(){ editor.fire( 'paste', { 'html' : html } ); }, 0 ); } } ] } ] }; });
zysms
trunk/zysms/include/ckeditor/_source/plugins/clipboard/dialogs/paste.js
JavaScript
asf20
6,351
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.xml} class, which represents a * loaded XML document. */ (function() { CKEDITOR.plugins.add( 'xml', {}); /** * Represents a loaded XML document. * @constructor * @param {object|string} xmlObjectOrData A native XML (DOM document) object or * a string containing the XML definition to be loaded. * @example * var xml = <b>new CKEDITOR.xml( '<books><book title="My Book" /></books>' )</b>; */ CKEDITOR.xml = function( xmlObjectOrData ) { var baseXml = null; if ( typeof xmlObjectOrData == 'object' ) baseXml = xmlObjectOrData; else { var data = ( xmlObjectOrData || '' ).replace( /&nbsp;/g, '\xA0' ); if ( window.DOMParser ) baseXml = (new DOMParser()).parseFromString( data, 'text/xml' ); else if ( window.ActiveXObject ) { try { baseXml = new ActiveXObject( 'MSXML2.DOMDocument' ); } catch(e) { try { baseXml = new ActiveXObject( 'Microsoft.XmlDom' ); } catch(e) {} } if ( baseXml ) { baseXml.async = false; baseXml.resolveExternals = false; baseXml.validateOnParse = false; baseXml.loadXML( data ); } } } /** * The native XML (DOM document) used by the class instance. * @type object * @example */ this.baseXml = baseXml; }; CKEDITOR.xml.prototype = { /** * Get a single node from the XML document, based on a XPath query. * @param {String} xpath The XPath query to execute. * @param {Object} [contextNode] The XML DOM node to be used as the context * for the XPath query. The document root is used by default. * @returns {Object} A XML node element or null if the query has no results. * @example * // Create the XML instance. * var xml = new CKEDITOR.xml( '<list><item id="test1" /><item id="test2" /></list>' ); * // Get the first <item> node. * var itemNode = <b>xml.selectSingleNode( 'list/item' )</b>; * // Alert "item". * alert( itemNode.nodeName ); */ selectSingleNode : function( xpath, contextNode ) { var baseXml = this.baseXml; if ( contextNode || ( contextNode = baseXml ) ) { if ( CKEDITOR.env.ie || contextNode.selectSingleNode ) // IE return contextNode.selectSingleNode( xpath ); else if ( baseXml.evaluate ) // Others { var result = baseXml.evaluate( xpath, contextNode, null, 9, null); return ( result && result.singleNodeValue ) || null; } } return null; }, /** * Gets a list node from the XML document, based on a XPath query. * @param {String} xpath The XPath query to execute. * @param {Object} [contextNode] The XML DOM node to be used as the context * for the XPath query. The document root is used by default. * @returns {ArrayLike} An array containing all matched nodes. The array will * be empty if the query has no results. * @example * // Create the XML instance. * var xml = new CKEDITOR.xml( '<list><item id="test1" /><item id="test2" /></list>' ); * // Get the first <item> node. * var itemNodes = xml.selectSingleNode( 'list/item' ); * // Alert "item" twice, one for each <item>. * for ( var i = 0 ; i < itemNodes.length ; i++ ) * alert( itemNodes[i].nodeName ); */ selectNodes : function( xpath, contextNode ) { var baseXml = this.baseXml, nodes = []; if ( contextNode || ( contextNode = baseXml ) ) { if ( CKEDITOR.env.ie || contextNode.selectNodes ) // IE return contextNode.selectNodes( xpath ); else if ( baseXml.evaluate ) // Others { var result = baseXml.evaluate( xpath, contextNode, null, 5, null); if ( result ) { var node; while ( ( node = result.iterateNext() ) ) nodes.push( node ); } } } return nodes; }, /** * Gets the string representation of hte inner contents of a XML node, * based on a XPath query. * @param {String} xpath The XPath query to execute. * @param {Object} [contextNode] The XML DOM node to be used as the context * for the XPath query. The document root is used by default. * @returns {String} The textual representation of the inner contents of * the node or null if the query has no results. * @example * // Create the XML instance. * var xml = new CKEDITOR.xml( '<list><item id="test1" /><item id="test2" /></list>' ); * // Alert "<item id="test1" /><item id="test2" />". * alert( xml.getInnerXml( 'list' ) ); */ getInnerXml : function( xpath, contextNode ) { var node = this.selectSingleNode( xpath, contextNode ), xml = []; if ( node ) { node = node.firstChild; while ( node ) { if ( node.xml ) // IE xml.push( node.xml ); else if ( window.XMLSerializer ) // Others xml.push( ( new XMLSerializer() ).serializeToString( node ) ); node = node.nextSibling; } } return xml.length ? xml.join( '' ) : null; } }; })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/xml/plugin.js
JavaScript
asf20
5,253
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @file AutoGrow plugin */ (function(){ // Actual content height, figured out by appending check the last element's document position. function contentHeight( scrollable ) { var overflowY = scrollable.getStyle( 'overflow-y' ); var doc = scrollable.getDocument(); // Create a temporary marker element. var marker = CKEDITOR.dom.element.createFromHtml( '<span style="margin:0;padding:0;border:0;clear:both;width:1px;height:1px;display:block;">' + ( CKEDITOR.env.webkit ? '&nbsp;' : '' ) + '</span>', doc ); doc[ CKEDITOR.env.ie? 'getBody' : 'getDocumentElement']().append( marker ); var height = marker.getDocumentPosition( doc ).y + marker.$.offsetHeight; marker.remove(); scrollable.setStyle( 'overflow-y', overflowY ); return height; } var resizeEditor = function( editor ) { if ( !editor.window ) return; var doc = editor.document, iframe = new CKEDITOR.dom.element( doc.getWindow().$.frameElement ), body = doc.getBody(), htmlElement = doc.getDocumentElement(), currentHeight = editor.window.getViewPaneSize().height, // Quirks mode overflows body, standards overflows document element scrollable = doc.$.compatMode == 'BackCompat' ? body : htmlElement, newHeight = contentHeight( scrollable ); // Additional space specified by user. newHeight += ( editor.config.autoGrow_bottomSpace || 0 ); var min = editor.config.autoGrow_minHeight != undefined ? editor.config.autoGrow_minHeight : 200, max = editor.config.autoGrow_maxHeight || Infinity; newHeight = Math.max( newHeight, min ); newHeight = Math.min( newHeight, max ); if ( newHeight != currentHeight ) { newHeight = editor.fire( 'autoGrow', { currentHeight : currentHeight, newHeight : newHeight } ).newHeight; editor.resize( editor.container.getStyle( 'width' ), newHeight, true ); } if ( scrollable.$.scrollHeight > scrollable.$.clientHeight && newHeight < max ) scrollable.setStyle( 'overflow-y', 'hidden' ); else scrollable.removeStyle( 'overflow-y' ); }; CKEDITOR.plugins.add( 'autogrow', { init : function( editor ) { editor.addCommand( 'autogrow', { exec : resizeEditor, modes : { wysiwyg:1 }, readOnly: 1, canUndo: false, editorFocus: false } ); var eventsList = { contentDom:1, key:1, selectionChange:1, insertElement:1 }; editor.config.autoGrow_onStartup && ( eventsList[ 'instanceReady' ] = 1 ); for ( var eventName in eventsList ) { editor.on( eventName, function( evt ) { var maximize = editor.getCommand( 'maximize' ); // Some time is required for insertHtml, and it gives other events better performance as well. if ( evt.editor.mode == 'wysiwyg' && // Disable autogrow when the editor is maximized .(#6339) ( !maximize || maximize.state != CKEDITOR.TRISTATE_ON ) ) { setTimeout( function() { resizeEditor( evt.editor ); // Second pass to make correction upon // the first resize, e.g. scrollbar. resizeEditor( evt.editor ); }, 100 ); } }); } } }); })(); /** * The minimum height that the editor can reach using the AutoGrow feature. * @name CKEDITOR.config.autoGrow_minHeight * @type Number * @default <code>200</code> * @since 3.4 * @example * config.autoGrow_minHeight = 300; */ /** * The maximum height that the editor can reach using the AutoGrow feature. Zero means unlimited. * @name CKEDITOR.config.autoGrow_maxHeight * @type Number * @default <code>0</code> * @since 3.4 * @example * config.autoGrow_maxHeight = 400; */ /** * Whether to have the auto grow happen on editor creation. * @name CKEDITOR.config.autoGrow_onStartup * @type Boolean * @default false * @since 3.6.2 * @example * config.autoGrow_onStartup = true; */ /** * Fired when the AutoGrow plugin is about to change the size of the editor. * @name CKEDITOR.editor#autogrow * @event * @param {Number} data.currentHeight The current height of the editor (before resizing). * @param {Number} data.newHeight The new height of the editor (after resizing). It can be changed * to determine a different height value to be used instead. */ /** * Extra height in pixel to leave between the bottom boundary of content with document size when auto resizing. * @name CKEDITOR.config.autoGrow_bottomSpace * @type Number * @default 0 * @since 3.6.2 */
zysms
trunk/zysms/include/ckeditor/_source/plugins/autogrow/plugin.js
JavaScript
asf20
4,650
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { var eventNameList = [ 'click', 'keydown', 'mousedown', 'keypress', 'mouseover', 'mouseout' ]; // Inline event callbacks assigned via innerHTML/outerHTML, such as // onclick/onmouseover, are ignored in AIR. // Use DOM2 event listeners to substitue inline handlers instead. function convertInlineHandlers( container ) { // TODO: document.querySelectorAll is not supported in AIR. var children = container.getElementsByTag( '*' ), count = children.count(), child; for ( var i = 0; i < count; i++ ) { child = children.getItem( i ); (function( node ) { for ( var j = 0; j < eventNameList.length; j++ ) { (function( eventName ) { var inlineEventHandler = node.getAttribute( 'on' + eventName ); if ( node.hasAttribute( 'on' + eventName ) ) { node.removeAttribute( 'on' + eventName ); node.on( eventName, function( evt ) { var callFunc = /(return\s*)?CKEDITOR\.tools\.callFunction\(([^)]+)\)/.exec( inlineEventHandler ), hasReturn = callFunc && callFunc[ 1 ], callFuncArgs = callFunc && callFunc[ 2 ].split( ',' ), preventDefault = /return false;/.test( inlineEventHandler ); if ( callFuncArgs ) { var nums = callFuncArgs.length, argName; for ( var i = 0; i < nums; i++ ) { // Trim spaces around param. callFuncArgs[ i ] = argName = CKEDITOR.tools.trim( callFuncArgs[ i ] ); // String form param. var strPattern = argName.match( /^(["'])([^"']*?)\1$/ ); if ( strPattern ) { callFuncArgs[ i ] = strPattern[ 2 ]; continue; } // Integer form param. if ( argName.match( /\d+/ ) ) { callFuncArgs[ i ] = parseInt( argName, 10 ); continue; } // Speical variables. switch( argName ) { case 'this' : callFuncArgs[ i ] = node.$; break; case 'event' : callFuncArgs[ i ] = evt.data.$; break; case 'null' : callFuncArgs [ i ] = null; break; } } var retval = CKEDITOR.tools.callFunction.apply( window, callFuncArgs ); if ( hasReturn && retval === false ) preventDefault = 1; } if ( preventDefault ) evt.data.preventDefault(); }); } })( eventNameList[ j ] ); } })( child ); } } CKEDITOR.plugins.add( 'adobeair', { init : function( editor ) { if ( !CKEDITOR.env.air ) return; // Body doesn't get default margin on AIR. editor.addCss( 'body { padding: 8px }' ); editor.on( 'uiReady', function() { convertInlineHandlers( editor.container ); if ( editor.sharedSpaces ) { for ( var space in editor.sharedSpaces ) convertInlineHandlers( editor.sharedSpaces[ space ] ); } editor.on( 'elementsPathUpdate', function( evt ) { convertInlineHandlers( evt.data.space ); } ); }); editor.on( 'contentDom', function() { // Hyperlinks are enabled in editable documents in Adobe // AIR. Prevent their click behavior. editor.document.on( 'click', function( ev ) { ev.data.preventDefault( true ); }); }); } }); CKEDITOR.ui.on( 'ready', function( evt ) { var ui = evt.data; // richcombo, panelbutton and menu if ( ui._.panel ) { var panel = ui._.panel._.panel, holder; ( function() { // Adding dom event listeners off-line are not supported in AIR, // waiting for panel iframe loaded. if ( !panel.isLoaded ) { setTimeout( arguments.callee, 30 ); return; } holder = panel._.holder; convertInlineHandlers( holder ); })(); } else if ( ui instanceof CKEDITOR.dialog ) convertInlineHandlers( ui._.element ); }); })(); CKEDITOR.dom.document.prototype.write = CKEDITOR.tools.override( CKEDITOR.dom.document.prototype.write, function( original_write ) { function appendElement( parent, tagName, fullTag, text ) { var node = parent.append( tagName ), attrs = CKEDITOR.htmlParser.fragment.fromHtml( fullTag ).children[ 0 ].attributes; attrs && node.setAttributes( attrs ); text && node.append( parent.getDocument().createText( text ) ); } return function( html, mode ) { // document.write() or document.writeln() fail silently after // the page load event in Adobe AIR. // DOM manipulation could be used instead. if ( this.getBody() ) { // We're taking the below extra work only because innerHTML // on <html> element doesn't work as expected. var doc = this, head = this.getHead(); // Create style nodes for inline css. ( <style> content doesn't applied when setting via innerHTML ) html = html.replace( /(<style[^>]*>)([\s\S]*?)<\/style>/gi, function ( match, startTag, styleText ) { appendElement( head, 'style', startTag, styleText ); return ''; }); html = html.replace( /<base\b[^>]*\/>/i, function( match ) { appendElement( head, 'base', match ); return ''; }); html = html.replace( /<title>([\s\S]*)<\/title>/i, function( match, title ) { doc.$.title = title; return ''; }); // Move the rest of head stuff. html = html.replace( /<head>([\s\S]*)<\/head>/i, function( headHtml ) { // 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 = new CKEDITOR.dom.element( 'div', doc ); div.setHtml( headHtml ); // Move the <div> nodes to <head>. div.moveChildren( head ); return ''; }); html.replace( /(<body[^>]*>)([\s\S]*)(?=$|<\/body>)/i, function( match, startTag, innerHTML ) { doc.getBody().setHtml( innerHTML ); var attrs = CKEDITOR.htmlParser.fragment.fromHtml( startTag ).children[ 0 ].attributes; attrs && doc.getBody().setAttributes( attrs ); }); } else original_write.apply( this, arguments ); }; });
zysms
trunk/zysms/include/ckeditor/_source/plugins/adobeair/plugin.js
JavaScript
asf20
6,679
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview The "div" plugin. It wraps the selected block level elements with a 'div' element with specified styles and attributes. * */ (function() { CKEDITOR.plugins.add( 'div', { requires : [ 'editingblock', 'domiterator', 'styles' ], init : function( editor ) { var lang = editor.lang.div; editor.addCommand( 'creatediv', new CKEDITOR.dialogCommand( 'creatediv' ) ); editor.addCommand( 'editdiv', new CKEDITOR.dialogCommand( 'editdiv' ) ); editor.addCommand( 'removediv', { exec : function( editor ) { var selection = editor.getSelection(), ranges = selection && selection.getRanges(), range, bookmarks = selection.createBookmarks(), walker, toRemove = []; function findDiv( node ) { var path = new CKEDITOR.dom.elementPath( node ), blockLimit = path.blockLimit, div = blockLimit.is( 'div' ) && blockLimit; if ( div && !div.data( 'cke-div-added' ) ) { toRemove.push( div ); div.data( 'cke-div-added' ); } } for ( var i = 0 ; i < ranges.length ; i++ ) { range = ranges[ i ]; if ( range.collapsed ) findDiv( selection.getStartElement() ); else { walker = new CKEDITOR.dom.walker( range ); walker.evaluator = findDiv; walker.lastForward(); } } for ( i = 0 ; i < toRemove.length ; i++ ) toRemove[ i ].remove( true ); selection.selectBookmarks( bookmarks ); } } ); editor.ui.addButton( 'CreateDiv', { label : lang.toolbar, command :'creatediv' } ); if ( editor.addMenuItems ) { editor.addMenuItems( { editdiv : { label : lang.edit, command : 'editdiv', group : 'div', order : 1 }, removediv: { label : lang.remove, command : 'removediv', group : 'div', order : 5 } } ); if ( editor.contextMenu ) { editor.contextMenu.addListener( function( element, selection ) { if ( !element || element.isReadOnly() ) return null; var elementPath = new CKEDITOR.dom.elementPath( element ), blockLimit = elementPath.blockLimit; if ( blockLimit && blockLimit.getAscendant( 'div', true ) ) { return { editdiv : CKEDITOR.TRISTATE_OFF, removediv : CKEDITOR.TRISTATE_OFF }; } return null; } ); } } CKEDITOR.dialog.add( 'creatediv', this.path + 'dialogs/div.js' ); CKEDITOR.dialog.add( 'editdiv', this.path + 'dialogs/div.js' ); } } ); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/div/plugin.js
JavaScript
asf20
2,944
/* * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { /** * Add to collection with DUP examination. * @param {Object} collection * @param {Object} element * @param {Object} database */ function addSafely( collection, element, database ) { // 1. IE doesn't support customData on text nodes; // 2. Text nodes never get chance to appear twice; if ( !element.is || !element.getCustomData( 'block_processed' ) ) { element.is && CKEDITOR.dom.element.setMarker( database, element, 'block_processed', true ); collection.push( element ); } } function getNonEmptyChildren( element ) { var retval = []; var children = element.getChildren(); for ( var i = 0 ; i < children.count() ; i++ ) { var child = children.getItem( i ); if ( ! ( child.type === CKEDITOR.NODE_TEXT && ( /^[ \t\n\r]+$/ ).test( child.getText() ) ) ) retval.push( child ); } return retval; } /** * Dialog reused by both 'creatediv' and 'editdiv' commands. * @param {Object} editor * @param {String} command The command name which indicate what the current command is. */ function divDialog( editor, command ) { // Definition of elements at which div operation should stopped. var divLimitDefinition = ( function(){ // Customzie from specialize blockLimit elements var definition = CKEDITOR.tools.extend( {}, CKEDITOR.dtd.$blockLimit ); // Exclude 'div' itself. delete definition.div; // Exclude 'td' and 'th' when 'wrapping table' if ( editor.config.div_wrapTable ) { delete definition.td; delete definition.th; } return definition; })(); // DTD of 'div' element var dtd = CKEDITOR.dtd.div; /** * Get the first div limit element on the element's path. * @param {Object} element */ function getDivLimitElement( element ) { var pathElements = new CKEDITOR.dom.elementPath( element ).elements; var divLimit; for ( var i = 0; i < pathElements.length ; i++ ) { if ( pathElements[ i ].getName() in divLimitDefinition ) { divLimit = pathElements[ i ]; break; } } return divLimit; } /** * Init all fields' setup/commit function. * @memberof divDialog */ function setupFields() { this.foreach( function( field ) { // Exclude layout container elements if ( /^(?!vbox|hbox)/.test( field.type ) ) { if ( !field.setup ) { // Read the dialog fields values from the specified // element attributes. field.setup = function( element ) { field.setValue( element.getAttribute( field.id ) || '' ); }; } if ( !field.commit ) { // Set element attributes assigned by the dialog // fields. field.commit = function( element ) { var fieldValue = this.getValue(); // ignore default element attribute values if ( 'dir' == field.id && element.getComputedStyle( 'direction' ) == fieldValue ) return; if ( fieldValue ) element.setAttribute( field.id, fieldValue ); else element.removeAttribute( field.id ); }; } } } ); } /** * Wrapping 'div' element around appropriate blocks among the selected ranges. * @param {Object} editor */ function createDiv( editor ) { // new adding containers OR detected pre-existed containers. var containers = []; // node markers store. var database = {}; // All block level elements which contained by the ranges. var containedBlocks = [], block; // Get all ranges from the selection. var selection = editor.document.getSelection(), ranges = selection.getRanges(); var bookmarks = selection.createBookmarks(); var i, iterator; // Calcualte a default block tag if we need to create blocks. var blockTag = editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p'; // collect all included elements from dom-iterator for ( i = 0 ; i < ranges.length ; i++ ) { iterator = ranges[ i ].createIterator(); while ( ( block = iterator.getNextParagraph() ) ) { // include contents of blockLimit elements. if ( block.getName() in divLimitDefinition ) { var j, childNodes = block.getChildren(); for ( j = 0 ; j < childNodes.count() ; j++ ) addSafely( containedBlocks, childNodes.getItem( j ) , database ); } else { // Bypass dtd disallowed elements. while ( !dtd[ block.getName() ] && block.getName() != 'body' ) block = block.getParent(); addSafely( containedBlocks, block, database ); } } } CKEDITOR.dom.element.clearAllMarkers( database ); var blockGroups = groupByDivLimit( containedBlocks ); var ancestor, blockEl, divElement; for ( i = 0 ; i < blockGroups.length ; i++ ) { var currentNode = blockGroups[ i ][ 0 ]; // Calculate the common parent node of all contained elements. ancestor = currentNode.getParent(); for ( j = 1 ; j < blockGroups[ i ].length; j++ ) ancestor = ancestor.getCommonAncestor( blockGroups[ i ][ j ] ); divElement = new CKEDITOR.dom.element( 'div', editor.document ); // Normalize the blocks in each group to a common parent. for ( j = 0; j < blockGroups[ i ].length ; j++ ) { currentNode = blockGroups[ i ][ j ]; while ( !currentNode.getParent().equals( ancestor ) ) currentNode = currentNode.getParent(); // This could introduce some duplicated elements in array. blockGroups[ i ][ j ] = currentNode; } // Wrapped blocks counting var fixedBlock = null; for ( j = 0 ; j < blockGroups[ i ].length ; j++ ) { currentNode = blockGroups[ i ][ j ]; // Avoid DUP elements introduced by grouping. if ( !( currentNode.getCustomData && currentNode.getCustomData( 'block_processed' ) ) ) { currentNode.is && CKEDITOR.dom.element.setMarker( database, currentNode, 'block_processed', true ); // Establish new container, wrapping all elements in this group. if ( !j ) divElement.insertBefore( currentNode ); divElement.append( currentNode ); } } CKEDITOR.dom.element.clearAllMarkers( database ); containers.push( divElement ); } selection.selectBookmarks( bookmarks ); return containers; } function getDiv( editor ) { var path = new CKEDITOR.dom.elementPath( editor.getSelection().getStartElement() ), blockLimit = path.blockLimit, div = blockLimit && blockLimit.getAscendant( 'div', true ); return div; } /** * Divide a set of nodes to different groups by their path's blocklimit element. * Note: the specified nodes should be in source order naturally, which mean they are supposed to producea by following class: * * CKEDITOR.dom.range.Iterator * * CKEDITOR.dom.domWalker * @return {Array []} the grouped nodes */ function groupByDivLimit( nodes ) { var groups = [], lastDivLimit = null, path, block; for ( var i = 0 ; i < nodes.length ; i++ ) { block = nodes[i]; var limit = getDivLimitElement( block ); if ( !limit.equals( lastDivLimit ) ) { lastDivLimit = limit ; groups.push( [] ) ; } groups[ groups.length - 1 ].push( block ) ; } return groups; } // Synchronous field values to other impacted fields is required, e.g. div styles // change should also alter inline-style text. function commitInternally( targetFields ) { var dialog = this.getDialog(), element = dialog._element && dialog._element.clone() || new CKEDITOR.dom.element( 'div', editor.document ); // Commit this field and broadcast to target fields. this.commit( element, true ); targetFields = [].concat( targetFields ); var length = targetFields.length, field; for ( var i = 0; i < length; i++ ) { field = dialog.getContentElement.apply( dialog, targetFields[ i ].split( ':' ) ); field && field.setup && field.setup( element, true ); } } // Registered 'CKEDITOR.style' instances. var styles = {} ; /** * Hold a collection of created block container elements. */ var containers = []; /** * @type divDialog */ return { title : editor.lang.div.title, minWidth : 400, minHeight : 165, contents : [ { id :'info', label :editor.lang.common.generalTab, title :editor.lang.common.generalTab, elements : [ { type :'hbox', widths : [ '50%', '50%' ], children : [ { id :'elementStyle', type :'select', style :'width: 100%;', label :editor.lang.div.styleSelectLabel, 'default' : '', // Options are loaded dynamically. items : [ [ editor.lang.common.notSet , '' ] ], onChange : function() { commitInternally.call( this, [ 'info:class', 'advanced:dir', 'advanced:style' ] ); }, setup : function( element ) { for ( var name in styles ) styles[ name ].checkElementRemovable( element, true ) && this.setValue( name ); }, commit: function( element ) { var styleName; if ( ( styleName = this.getValue() ) ) { var style = styles[ styleName ]; var customData = element.getCustomData( 'elementStyle' ) || ''; style.applyToObject( element ); element.setCustomData( 'elementStyle', customData + style._.definition.attributes.style ); } } }, { id :'class', type :'text', label :editor.lang.common.cssClass, 'default' : '' } ] } ] }, { id :'advanced', label :editor.lang.common.advancedTab, title :editor.lang.common.advancedTab, elements : [ { type :'vbox', padding :1, children : [ { type :'hbox', widths : [ '50%', '50%' ], children : [ { type :'text', id :'id', label :editor.lang.common.id, 'default' : '' }, { type :'text', id :'lang', label :editor.lang.link.langCode, 'default' : '' } ] }, { type :'hbox', children : [ { type :'text', id :'style', style :'width: 100%;', label :editor.lang.common.cssStyle, 'default' : '', commit : function( element ) { // Merge with 'elementStyle', which is of higher priority. var merged = this.getValue() + ( element.getCustomData( 'elementStyle' ) || '' ); element.setAttribute( 'style', merged ); } } ] }, { type :'hbox', children : [ { type :'text', id :'title', style :'width: 100%;', label :editor.lang.common.advisoryTitle, 'default' : '' } ] }, { type :'select', id :'dir', style :'width: 100%;', label :editor.lang.common.langDir, 'default' : '', items : [ [ editor.lang.common.notSet , '' ], [ editor.lang.common.langDirLtr, 'ltr' ], [ editor.lang.common.langDirRtl, 'rtl' ] ] } ] } ] } ], onLoad : function() { setupFields.call( this ); // Preparing for the 'elementStyle' field. var dialog = this, stylesField = this.getContentElement( 'info', 'elementStyle' ); // Reuse the 'stylescombo' plugin's styles definition. editor.getStylesSet( function( stylesDefinitions ) { var styleName; if ( stylesDefinitions ) { // Digg only those styles that apply to 'div'. for ( var i = 0 ; i < stylesDefinitions.length ; i++ ) { var styleDefinition = stylesDefinitions[ i ]; if ( styleDefinition.element && styleDefinition.element == 'div' ) { styleName = styleDefinition.name; styles[ styleName ] = new CKEDITOR.style( styleDefinition ); // Populate the styles field options with style name. stylesField.items.push( [ styleName, styleName ] ); stylesField.add( styleName, styleName ); } } } // We should disable the content element // it if no options are available at all. stylesField[ stylesField.items.length > 1 ? 'enable' : 'disable' ](); // Now setup the field value manually. setTimeout( function() { stylesField.setup( dialog._element ); }, 0 ); } ); }, onShow : function() { // Whether always create new container regardless of existed // ones. if ( command == 'editdiv' ) { // Try to discover the containers that already existed in // ranges var div = getDiv( editor ); // update dialog field values div && this.setupContent( this._element = div ); } }, onOk : function() { if ( command == 'editdiv' ) containers = [ this._element ]; else containers = createDiv( editor, true ); // Update elements attributes var size = containers.length; for ( var i = 0; i < size; i++ ) { this.commitContent( containers[ i ] ); // Remove empty 'style' attribute. !containers[ i ].getAttribute( 'style' ) && containers[ i ].removeAttribute( 'style' ); } this.hide(); }, onHide : function() { // Remove style only when editing existing DIV. (#6315) if ( command == 'editdiv' ) this._element.removeCustomData( 'elementStyle' ); delete this._element; } }; } CKEDITOR.dialog.add( 'creatediv', function( editor ) { return divDialog( editor, 'creatediv' ); } ); CKEDITOR.dialog.add( 'editdiv', function( editor ) { return divDialog( editor, 'editdiv' ); } ); } )(); /* * @name CKEDITOR.config.div_wrapTable * Whether to wrap the whole table instead of indivisual cells when created 'div' in table cell. * @type Boolean * @default false * @example config.div_wrapTable = true; */
zysms
trunk/zysms/include/ckeditor/_source/plugins/div/dialogs/div.js
JavaScript
asf20
14,886
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { function setupAdvParams( element ) { var attrName = this.att; var value = element && element.hasAttribute( attrName ) && element.getAttribute( attrName ) || ''; if ( value !== undefined ) this.setValue( value ); } function commitAdvParams() { // Dialogs may use different parameters in the commit list, so, by // definition, we take the first CKEDITOR.dom.element available. var element; for ( var i = 0 ; i < arguments.length ; i++ ) { if ( arguments[ i ] instanceof CKEDITOR.dom.element ) { element = arguments[ i ]; break; } } if ( element ) { var attrName = this.att, value = this.getValue(); if ( value ) element.setAttribute( attrName, value ); else element.removeAttribute( attrName, value ); } } CKEDITOR.plugins.add( 'dialogadvtab', { /** * * @param tabConfig * id, dir, classes, styles */ createAdvancedTab : function( editor, tabConfig ) { if ( !tabConfig ) tabConfig = { id:1, dir:1, classes:1, styles:1 }; var lang = editor.lang.common; var result = { id : 'advanced', label : lang.advancedTab, title : lang.advancedTab, elements : [ { type : 'vbox', padding : 1, children : [] } ] }; var contents = []; if ( tabConfig.id || tabConfig.dir ) { if ( tabConfig.id ) { contents.push( { id : 'advId', att : 'id', type : 'text', label : lang.id, setup : setupAdvParams, commit : commitAdvParams }); } if ( tabConfig.dir ) { contents.push( { id : 'advLangDir', att : 'dir', type : 'select', label : lang.langDir, 'default' : '', style : 'width:100%', items : [ [ lang.notSet, '' ], [ lang.langDirLTR, 'ltr' ], [ lang.langDirRTL, 'rtl' ] ], setup : setupAdvParams, commit : commitAdvParams }); } result.elements[ 0 ].children.push( { type : 'hbox', widths : [ '50%', '50%' ], children : [].concat( contents ) }); } if ( tabConfig.styles || tabConfig.classes ) { contents = []; if ( tabConfig.styles ) { contents.push( { id : 'advStyles', att : 'style', type : 'text', label : lang.styles, 'default' : '', validate : CKEDITOR.dialog.validate.inlineStyle( lang.invalidInlineStyle ), onChange : function(){}, getStyle : function( name, defaultValue ) { var match = this.getValue().match( new RegExp( name + '\\s*:\\s*([^;]*)', 'i') ); return match ? match[ 1 ] : defaultValue; }, updateStyle : function( name, value ) { var styles = this.getValue(); // Remove the current value. if ( styles ) { styles = styles .replace( new RegExp( '\\s*' + name + '\s*:[^;]*(?:$|;\s*)', 'i' ), '' ) .replace( /^[;\s]+/, '' ) .replace( /\s+$/, '' ); } if ( value ) { styles && !(/;\s*$/).test( styles ) && ( styles += '; ' ); styles += name + ': ' + value; } this.setValue( styles, 1 ); }, setup : setupAdvParams, commit : commitAdvParams }); } if ( tabConfig.classes ) { contents.push( { type : 'hbox', widths : [ '45%', '55%' ], children : [ { id : 'advCSSClasses', att : 'class', type : 'text', label : lang.cssClasses, 'default' : '', setup : setupAdvParams, commit : commitAdvParams } ] }); } result.elements[ 0 ].children.push( { type : 'hbox', widths : [ '50%', '50%' ], children : [].concat( contents ) }); } return result; } }); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/dialogadvtab/plugin.js
JavaScript
asf20
4,150
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { var guardElements = { table:1, ul:1, ol:1, blockquote:1, div:1 }, directSelectionGuardElements = {}, // All guard elements which can have a direction applied on them. allGuardElements = {}; CKEDITOR.tools.extend( directSelectionGuardElements, guardElements, { tr:1, p:1, div:1, li:1 } ); CKEDITOR.tools.extend( allGuardElements, directSelectionGuardElements, { td:1 } ); function onSelectionChange( e ) { setToolbarStates( e ); handleMixedDirContent( e ); } function setToolbarStates( evt ) { var editor = evt.editor, path = evt.data.path; if ( editor.readOnly ) return; var useComputedState = editor.config.useComputedState, selectedElement; useComputedState = useComputedState === undefined || useComputedState; // We can use computedState provided by the browser or traverse parents manually. if ( !useComputedState ) selectedElement = getElementForDirection( path.lastElement ); selectedElement = selectedElement || path.block || path.blockLimit; // If we're having BODY here, user probably done CTRL+A, let's try to get the enclosed node, if any. if ( selectedElement.is( 'body' ) ) { var enclosedNode = editor.getSelection().getRanges()[ 0 ].getEnclosedNode(); enclosedNode && enclosedNode.type == CKEDITOR.NODE_ELEMENT && ( selectedElement = enclosedNode ); } if ( !selectedElement ) return; var selectionDir = useComputedState ? selectedElement.getComputedStyle( 'direction' ) : selectedElement.getStyle( 'direction' ) || selectedElement.getAttribute( 'dir' ); editor.getCommand( 'bidirtl' ).setState( selectionDir == 'rtl' ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF ); editor.getCommand( 'bidiltr' ).setState( selectionDir == 'ltr' ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF ); } function handleMixedDirContent( evt ) { var editor = evt.editor, directionNode = evt.data.path.block || evt.data.path.blockLimit; editor.fire( 'contentDirChanged', directionNode ? directionNode.getComputedStyle( 'direction' ) : editor.lang.dir ); } /** * Returns element with possibility of applying the direction. * @param node */ function getElementForDirection( node ) { while ( node && !( node.getName() in allGuardElements || node.is( 'body' ) ) ) { var parent = node.getParent(); if ( !parent ) break; node = parent; } return node; } function switchDir( element, dir, editor, database ) { if ( element.isReadOnly() ) return; // Mark this element as processed by switchDir. CKEDITOR.dom.element.setMarker( database, element, 'bidi_processed', 1 ); // Check whether one of the ancestors has already been styled. var parent = element; while ( ( parent = parent.getParent() ) && !parent.is( 'body' ) ) { if ( parent.getCustomData( 'bidi_processed' ) ) { // Ancestor style must dominate. element.removeStyle( 'direction' ); element.removeAttribute( 'dir' ); return; } } var useComputedState = ( 'useComputedState' in editor.config ) ? editor.config.useComputedState : 1; var elementDir = useComputedState ? element.getComputedStyle( 'direction' ) : element.getStyle( 'direction' ) || element.hasAttribute( 'dir' ); // Stop if direction is same as present. if ( elementDir == dir ) return; // Clear direction on this element. element.removeStyle( 'direction' ); // Do the second check when computed state is ON, to check // if we need to apply explicit direction on this element. if ( useComputedState ) { element.removeAttribute( 'dir' ); if ( dir != element.getComputedStyle( 'direction' ) ) element.setAttribute( 'dir', dir ); } else // Set new direction for this element. element.setAttribute( 'dir', dir ); editor.forceNextSelectionCheck(); return; } function getFullySelected( range, elements, enterMode ) { var ancestor = range.getCommonAncestor( false, true ); range = range.clone(); range.enlarge( enterMode == CKEDITOR.ENTER_BR ? CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS : CKEDITOR.ENLARGE_BLOCK_CONTENTS ); if ( range.checkBoundaryOfElement( ancestor, CKEDITOR.START ) && range.checkBoundaryOfElement( ancestor, CKEDITOR.END ) ) { var parent; while ( ancestor && ancestor.type == CKEDITOR.NODE_ELEMENT && ( parent = ancestor.getParent() ) && parent.getChildCount() == 1 && !( ancestor.getName() in elements ) ) ancestor = parent; return ancestor.type == CKEDITOR.NODE_ELEMENT && ( ancestor.getName() in elements ) && ancestor; } } function bidiCommand( dir ) { return function( editor ) { var selection = editor.getSelection(), enterMode = editor.config.enterMode, ranges = selection.getRanges(); if ( ranges && ranges.length ) { var database = {}; // Creates bookmarks for selection, as we may split some blocks. var bookmarks = selection.createBookmarks(); var rangeIterator = ranges.createIterator(), range, i = 0; while ( ( range = rangeIterator.getNextRange( 1 ) ) ) { // Apply do directly selected elements from guardElements. var selectedElement = range.getEnclosedNode(); // If this is not our element of interest, apply to fully selected elements from guardElements. if ( !selectedElement || selectedElement && !( selectedElement.type == CKEDITOR.NODE_ELEMENT && selectedElement.getName() in directSelectionGuardElements ) ) selectedElement = getFullySelected( range, guardElements, enterMode ); selectedElement && switchDir( selectedElement, dir, editor, database ); var iterator, block; // Walker searching for guardElements. var walker = new CKEDITOR.dom.walker( range ); var start = bookmarks[ i ].startNode, end = bookmarks[ i++ ].endNode; walker.evaluator = function( node ) { return !! ( node.type == CKEDITOR.NODE_ELEMENT && node.getName() in guardElements && !( node.getName() == ( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) && node.getParent().type == CKEDITOR.NODE_ELEMENT && node.getParent().getName() == 'blockquote' ) // Element must be fully included in the range as well. (#6485). && node.getPosition( start ) & CKEDITOR.POSITION_FOLLOWING && ( ( node.getPosition( end ) & CKEDITOR.POSITION_PRECEDING + CKEDITOR.POSITION_CONTAINS ) == CKEDITOR.POSITION_PRECEDING ) ); }; while ( ( block = walker.next() ) ) switchDir( block, dir, editor, database ); iterator = range.createIterator(); iterator.enlargeBr = enterMode != CKEDITOR.ENTER_BR; while ( ( block = iterator.getNextParagraph( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ) ) switchDir( block, dir, editor, database ); } CKEDITOR.dom.element.clearAllMarkers( database ); editor.forceNextSelectionCheck(); // Restore selection position. selection.selectBookmarks( bookmarks ); editor.focus(); } }; } CKEDITOR.plugins.add( 'bidi', { requires : [ 'styles', 'button' ], init : function( editor ) { // All buttons use the same code to register. So, to avoid // duplications, let's use this tool function. var addButtonCommand = function( buttonName, buttonLabel, commandName, commandExec ) { editor.addCommand( commandName, new CKEDITOR.command( editor, { exec : commandExec }) ); editor.ui.addButton( buttonName, { label : buttonLabel, command : commandName }); }; var lang = editor.lang.bidi; addButtonCommand( 'BidiLtr', lang.ltr, 'bidiltr', bidiCommand( 'ltr' ) ); addButtonCommand( 'BidiRtl', lang.rtl, 'bidirtl', bidiCommand( 'rtl' ) ); editor.on( 'selectionChange', onSelectionChange ); editor.on( 'contentDom', function() { editor.document.on( 'dirChanged', function( evt ) { editor.fire( 'dirChanged', { node : evt.data, dir : evt.data.getDirection( 1 ) } ); }); }); } }); // If the element direction changed, we need to switch the margins of // the element and all its children, so it will get really reflected // like a mirror. (#5910) function isOffline( el ) { var html = el.getDocument().getBody().getParent(); while ( el ) { if ( el.equals( html ) ) return false; el = el.getParent(); } return true; } function dirChangeNotifier( org ) { var isAttribute = org == elementProto.setAttribute, isRemoveAttribute = org == elementProto.removeAttribute, dirStyleRegexp = /\bdirection\s*:\s*(.*?)\s*(:?$|;)/; return function( name, val ) { if ( !this.getDocument().equals( CKEDITOR.document ) ) { var orgDir; if ( ( name == ( isAttribute || isRemoveAttribute ? 'dir' : 'direction' ) || name == 'style' && ( isRemoveAttribute || dirStyleRegexp.test( val ) ) ) && !isOffline( this ) ) { orgDir = this.getDirection( 1 ); var retval = org.apply( this, arguments ); if ( orgDir != this.getDirection( 1 ) ) { this.getDocument().fire( 'dirChanged', this ); return retval; } } } return org.apply( this, arguments ); }; } var elementProto = CKEDITOR.dom.element.prototype, methods = [ 'setStyle', 'removeStyle', 'setAttribute', 'removeAttribute' ]; for ( var i = 0; i < methods.length; i++ ) elementProto[ methods[ i ] ] = CKEDITOR.tools.override( elementProto[ methods [ i ] ], dirChangeNotifier ); })(); /** * Fired when the language direction of an element is changed * @name CKEDITOR.editor#dirChanged * @event * @param {CKEDITOR.editor} editor This editor instance. * @param {Object} eventData.node The element that is being changed. * @param {String} eventData.dir The new direction. */ /** * Fired when the language direction in the specific cursor position is changed * @name CKEDITOR.editor#contentDirChanged * @event * @param {String} eventData The direction in the current position. */
zysms
trunk/zysms/include/ckeditor/_source/plugins/bidi/plugin.js
JavaScript
asf20
10,441
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @file Increse and decrease indent commands. */ (function() { var listNodeNames = { ol : 1, ul : 1 }, isNotWhitespaces = CKEDITOR.dom.walker.whitespaces( true ), isNotBookmark = CKEDITOR.dom.walker.bookmark( false, true ); function onSelectionChange( evt ) { if ( evt.editor.readOnly ) return null; var editor = evt.editor, elementPath = evt.data.path, list = elementPath && elementPath.contains( listNodeNames ), firstBlock = elementPath.block || elementPath.blockLimit; if ( list ) return this.setState( CKEDITOR.TRISTATE_OFF ); if ( !this.useIndentClasses && this.name == 'indent' ) return this.setState( CKEDITOR.TRISTATE_OFF ); if ( !firstBlock ) return this.setState( CKEDITOR.TRISTATE_DISABLED ); if ( this.useIndentClasses ) { var indentClass = firstBlock.$.className.match( this.classNameRegex ), indentStep = 0; if ( indentClass ) { indentClass = indentClass[1]; indentStep = this.indentClassMap[ indentClass ]; } if ( ( this.name == 'outdent' && !indentStep ) || ( this.name == 'indent' && indentStep == editor.config.indentClasses.length ) ) return this.setState( CKEDITOR.TRISTATE_DISABLED ); return this.setState( CKEDITOR.TRISTATE_OFF ); } else { var indent = parseInt( firstBlock.getStyle( getIndentCssProperty( firstBlock ) ), 10 ); if ( isNaN( indent ) ) indent = 0; if ( indent <= 0 ) return this.setState( CKEDITOR.TRISTATE_DISABLED ); return this.setState( CKEDITOR.TRISTATE_OFF ); } } function indentCommand( editor, name ) { this.name = name; this.useIndentClasses = editor.config.indentClasses && editor.config.indentClasses.length > 0; if ( this.useIndentClasses ) { this.classNameRegex = new RegExp( '(?:^|\\s+)(' + editor.config.indentClasses.join( '|' ) + ')(?=$|\\s)' ); this.indentClassMap = {}; for ( var i = 0 ; i < editor.config.indentClasses.length ; i++ ) this.indentClassMap[ editor.config.indentClasses[i] ] = i + 1; } this.startDisabled = name == 'outdent'; } // Returns the CSS property to be used for identing a given element. function getIndentCssProperty( element, dir ) { return ( dir || element.getComputedStyle( 'direction' ) ) == 'ltr' ? 'margin-left' : 'margin-right'; } function isListItem( node ) { return node.type == CKEDITOR.NODE_ELEMENT && node.is( 'li' ); } indentCommand.prototype = { exec : function( editor ) { var self = this, database = {}; function indentList( listNode ) { // Our starting and ending points of the range might be inside some blocks under a list item... // So before playing with the iterator, we need to expand the block to include the list items. var startContainer = range.startContainer, endContainer = range.endContainer; while ( startContainer && !startContainer.getParent().equals( listNode ) ) startContainer = startContainer.getParent(); while ( endContainer && !endContainer.getParent().equals( listNode ) ) endContainer = endContainer.getParent(); if ( !startContainer || !endContainer ) return; // Now we can iterate over the individual items on the same tree depth. var block = startContainer, itemsToMove = [], stopFlag = false; while ( !stopFlag ) { if ( block.equals( endContainer ) ) stopFlag = true; itemsToMove.push( block ); block = block.getNext(); } if ( itemsToMove.length < 1 ) return; // Do indent or outdent operations on the array model of the list, not the // list's DOM tree itself. The array model demands that it knows as much as // possible about the surrounding lists, we need to feed it the further // ancestor node that is still a list. var listParents = listNode.getParents( true ); for ( var i = 0 ; i < listParents.length ; i++ ) { if ( listParents[i].getName && listNodeNames[ listParents[i].getName() ] ) { listNode = listParents[i]; break; } } var indentOffset = self.name == 'indent' ? 1 : -1, startItem = itemsToMove[0], lastItem = itemsToMove[ itemsToMove.length - 1 ]; // Convert the list DOM tree into a one dimensional array. var listArray = CKEDITOR.plugins.list.listToArray( listNode, database ); // Apply indenting or outdenting on the array. var baseIndent = listArray[ lastItem.getCustomData( 'listarray_index' ) ].indent; for ( i = startItem.getCustomData( 'listarray_index' ); i <= lastItem.getCustomData( 'listarray_index' ); i++ ) { listArray[ i ].indent += indentOffset; // Make sure the newly created sublist get a brand-new element of the same type. (#5372) var listRoot = listArray[ i ].parent; listArray[ i ].parent = new CKEDITOR.dom.element( listRoot.getName(), listRoot.getDocument() ); } for ( i = lastItem.getCustomData( 'listarray_index' ) + 1 ; i < listArray.length && listArray[i].indent > baseIndent ; i++ ) listArray[i].indent += indentOffset; // Convert the array back to a DOM forest (yes we might have a few subtrees now). // And replace the old list with the new forest. var newList = CKEDITOR.plugins.list.arrayToList( listArray, database, null, editor.config.enterMode, listNode.getDirection() ); // Avoid nested <li> after outdent even they're visually same, // recording them for later refactoring.(#3982) if ( self.name == 'outdent' ) { var parentLiElement; if ( ( parentLiElement = listNode.getParent() ) && parentLiElement.is( 'li' ) ) { var children = newList.listNode.getChildren(), pendingLis = [], count = children.count(), child; for ( i = count - 1 ; i >= 0 ; i-- ) { if ( ( child = children.getItem( i ) ) && child.is && child.is( 'li' ) ) pendingLis.push( child ); } } } if ( newList ) newList.listNode.replace( listNode ); // Move the nested <li> to be appeared after the parent. if ( pendingLis && pendingLis.length ) { for ( i = 0; i < pendingLis.length ; i++ ) { var li = pendingLis[ i ], followingList = li; // Nest preceding <ul>/<ol> inside current <li> if any. while ( ( followingList = followingList.getNext() ) && followingList.is && followingList.getName() in listNodeNames ) { // IE requires a filler NBSP for nested list inside empty list item, // otherwise the list item will be inaccessiable. (#4476) if ( CKEDITOR.env.ie && !li.getFirst( function( node ){ return isNotWhitespaces( node ) && isNotBookmark( node ); } ) ) li.append( range.document.createText( '\u00a0' ) ); li.append( followingList ); } li.insertAfter( parentLiElement ); } } } function indentBlock() { var iterator = range.createIterator(), enterMode = editor.config.enterMode; iterator.enforceRealBlocks = true; iterator.enlargeBr = enterMode != CKEDITOR.ENTER_BR; var block; while ( ( block = iterator.getNextParagraph( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ) ) indentElement( block ); } function indentElement( element, dir ) { if ( element.getCustomData( 'indent_processed' ) ) return false; if ( self.useIndentClasses ) { // Transform current class name to indent step index. var indentClass = element.$.className.match( self.classNameRegex ), indentStep = 0; if ( indentClass ) { indentClass = indentClass[1]; indentStep = self.indentClassMap[ indentClass ]; } // Operate on indent step index, transform indent step index back to class // name. if ( self.name == 'outdent' ) indentStep--; else indentStep++; if ( indentStep < 0 ) return false; indentStep = Math.min( indentStep, editor.config.indentClasses.length ); indentStep = Math.max( indentStep, 0 ); element.$.className = CKEDITOR.tools.ltrim( element.$.className.replace( self.classNameRegex, '' ) ); if ( indentStep > 0 ) element.addClass( editor.config.indentClasses[ indentStep - 1 ] ); } else { var indentCssProperty = getIndentCssProperty( element, dir ), currentOffset = parseInt( element.getStyle( indentCssProperty ), 10 ); if ( isNaN( currentOffset ) ) currentOffset = 0; var indentOffset = editor.config.indentOffset || 40; currentOffset += ( self.name == 'indent' ? 1 : -1 ) * indentOffset; if ( currentOffset < 0 ) return false; currentOffset = Math.max( currentOffset, 0 ); currentOffset = Math.ceil( currentOffset / indentOffset ) * indentOffset; element.setStyle( indentCssProperty, currentOffset ? currentOffset + ( editor.config.indentUnit || 'px' ) : '' ); if ( element.getAttribute( 'style' ) === '' ) element.removeAttribute( 'style' ); } CKEDITOR.dom.element.setMarker( database, element, 'indent_processed', 1 ); return true; } var selection = editor.getSelection(), bookmarks = selection.createBookmarks( 1 ), ranges = selection && selection.getRanges( 1 ), range; var iterator = ranges.createIterator(); while ( ( range = iterator.getNextRange() ) ) { var rangeRoot = range.getCommonAncestor(), nearestListBlock = rangeRoot; while ( nearestListBlock && !( nearestListBlock.type == CKEDITOR.NODE_ELEMENT && listNodeNames[ nearestListBlock.getName() ] ) ) nearestListBlock = nearestListBlock.getParent(); // Avoid having selection enclose the entire list. (#6138) // [<ul><li>...</li></ul>] =><ul><li>[...]</li></ul> if ( !nearestListBlock ) { var selectedNode = range.getEnclosedNode(); if ( selectedNode && selectedNode.type == CKEDITOR.NODE_ELEMENT && selectedNode.getName() in listNodeNames) { range.setStartAt( selectedNode, CKEDITOR.POSITION_AFTER_START ); range.setEndAt( selectedNode, CKEDITOR.POSITION_BEFORE_END ); nearestListBlock = selectedNode; } } // Avoid selection anchors under list root. // <ul>[<li>...</li>]</ul> => <ul><li>[...]</li></ul> if ( nearestListBlock && range.startContainer.type == CKEDITOR.NODE_ELEMENT && range.startContainer.getName() in listNodeNames ) { var walker = new CKEDITOR.dom.walker( range ); walker.evaluator = isListItem; range.startContainer = walker.next(); } if ( nearestListBlock && range.endContainer.type == CKEDITOR.NODE_ELEMENT && range.endContainer.getName() in listNodeNames ) { walker = new CKEDITOR.dom.walker( range ); walker.evaluator = isListItem; range.endContainer = walker.previous(); } if ( nearestListBlock ) { var firstListItem = nearestListBlock.getFirst( isListItem ), hasMultipleItems = !!firstListItem.getNext( isListItem ), rangeStart = range.startContainer, indentWholeList = firstListItem.equals( rangeStart ) || firstListItem.contains( rangeStart ); // Indent the entire list if cursor is inside the first list item. (#3893) // Only do that for indenting or when using indent classes or when there is something to outdent. (#6141) if ( !( indentWholeList && ( self.name == 'indent' || self.useIndentClasses || parseInt( nearestListBlock.getStyle( getIndentCssProperty( nearestListBlock ) ), 10 ) ) && indentElement( nearestListBlock, !hasMultipleItems && firstListItem.getDirection() ) ) ) indentList( nearestListBlock ); } else indentBlock(); } // Clean up the markers. CKEDITOR.dom.element.clearAllMarkers( database ); editor.forceNextSelectionCheck(); selection.selectBookmarks( bookmarks ); } }; CKEDITOR.plugins.add( 'indent', { init : function( editor ) { // Register commands. var indent = editor.addCommand( 'indent', new indentCommand( editor, 'indent' ) ), outdent = editor.addCommand( 'outdent', new indentCommand( editor, 'outdent' ) ); // Register the toolbar buttons. editor.ui.addButton( 'Indent', { label : editor.lang.indent, command : 'indent' }); editor.ui.addButton( 'Outdent', { label : editor.lang.outdent, command : 'outdent' }); // Register the state changing handlers. editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, indent ) ); editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, outdent ) ); // [IE6/7] Raw lists are using margin instead of padding for visual indentation in wysiwyg mode. (#3893) if ( CKEDITOR.env.ie6Compat || CKEDITOR.env.ie7Compat ) { editor.addCss( "ul,ol" + "{" + " margin-left: 0px;" + " padding-left: 40px;" + "}" ); } // Register dirChanged listener. editor.on( 'dirChanged', function( e ) { var range = new CKEDITOR.dom.range( editor.document ); range.setStartBefore( e.data.node ); range.setEndAfter( e.data.node ); var walker = new CKEDITOR.dom.walker( range ), node; while ( ( node = walker.next() ) ) { if ( node.type == CKEDITOR.NODE_ELEMENT ) { // A child with the defined dir is to be ignored. if ( !node.equals( e.data.node ) && node.getDirection() ) { range.setStartAfter( node ); walker = new CKEDITOR.dom.walker( range ); continue; } // Switch alignment classes. var classes = editor.config.indentClasses; if ( classes ) { var suffix = ( e.data.dir == 'ltr' ) ? [ '_rtl', '' ] : [ '', '_rtl' ]; for ( var i = 0; i < classes.length; i++ ) { if ( node.hasClass( classes[ i ] + suffix[ 0 ] ) ) { node.removeClass( classes[ i ] + suffix[ 0 ] ); node.addClass( classes[ i ] + suffix[ 1 ] ); } } } // Switch the margins. var marginLeft = node.getStyle( 'margin-right' ), marginRight = node.getStyle( 'margin-left' ); marginLeft ? node.setStyle( 'margin-left', marginLeft ) : node.removeStyle( 'margin-left' ); marginRight ? node.setStyle( 'margin-right', marginRight ) : node.removeStyle( 'margin-right' ); } } }); }, requires : [ 'domiterator', 'list' ] } ); })(); /** * Size of each indentation step * @name CKEDITOR.config.indentOffset * @type Number * @default 40 * @example * config.indentOffset = 4; */ /** * Unit for the indentation style * @name CKEDITOR.config.indentUnit * @type String * @default 'px' * @example * config.indentUnit = 'em'; */ /** * List of classes to use for indenting the contents. If it's null, no classes will be used * and instead the {@link #indentUnit} and {@link #indentOffset} properties will be used. * @name CKEDITOR.config.indentClasses * @type Array * @default null * @example * // Use the classes 'Indent1', 'Indent2', 'Indent3' * config.indentClasses = ['Indent1', 'Indent2', 'Indent3']; */
zysms
trunk/zysms/include/ckeditor/_source/plugins/indent/plugin.js
JavaScript
asf20
15,622
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { function protectFormStyles( formElement ) { if ( !formElement || formElement.type != CKEDITOR.NODE_ELEMENT || formElement.getName() != 'form' ) return []; var hijackRecord = [], hijackNames = [ 'style', 'className' ]; for ( var i = 0 ; i < hijackNames.length ; i++ ) { var name = hijackNames[i]; var $node = formElement.$.elements.namedItem( name ); if ( $node ) { var hijackNode = new CKEDITOR.dom.element( $node ); hijackRecord.push( [ hijackNode, hijackNode.nextSibling ] ); hijackNode.remove(); } } return hijackRecord; } function restoreFormStyles( formElement, hijackRecord ) { if ( !formElement || formElement.type != CKEDITOR.NODE_ELEMENT || formElement.getName() != 'form' ) return; if ( hijackRecord.length > 0 ) { for ( var i = hijackRecord.length - 1 ; i >= 0 ; i-- ) { var node = hijackRecord[i][0]; var sibling = hijackRecord[i][1]; if ( sibling ) node.insertBefore( sibling ); else node.appendTo( formElement ); } } } function saveStyles( element, isInsideEditor ) { var data = protectFormStyles( element ); var retval = {}; var $element = element.$; if ( !isInsideEditor ) { retval[ 'class' ] = $element.className || ''; $element.className = ''; } retval.inline = $element.style.cssText || ''; if ( !isInsideEditor ) // Reset any external styles that might interfere. (#2474) $element.style.cssText = 'position: static; overflow: visible'; restoreFormStyles( data ); return retval; } function restoreStyles( element, savedStyles ) { var data = protectFormStyles( element ); var $element = element.$; if ( 'class' in savedStyles ) $element.className = savedStyles[ 'class' ]; if ( 'inline' in savedStyles ) $element.style.cssText = savedStyles.inline; restoreFormStyles( data ); } function refreshCursor( editor ) { // Refresh all editor instances on the page (#5724). var all = CKEDITOR.instances; for ( var i in all ) { var one = all[ i ]; if ( one.mode == 'wysiwyg' && !one.readOnly ) { var body = one.document.getBody(); // Refresh 'contentEditable' otherwise // DOM lifting breaks design mode. (#5560) body.setAttribute( 'contentEditable', false ); body.setAttribute( 'contentEditable', true ); } } if ( editor.focusManager.hasFocus ) { editor.toolbox.focus(); editor.focus(); } } /** * Adding an iframe shim to this element, OR removing the existing one if already applied. * Note: This will only affect IE version below 7. */ function createIframeShim( element ) { if ( !CKEDITOR.env.ie || CKEDITOR.env.version > 6 ) return null; var shim = CKEDITOR.dom.element.createFromHtml( '<iframe frameborder="0" tabindex="-1"' + ' src="javascript:' + 'void((function(){' + 'document.open();' + ( CKEDITOR.env.isCustomDomain() ? 'document.domain=\'' + this.getDocument().$.domain + '\';' : '' ) + 'document.close();' + '})())"' + ' style="display:block;position:absolute;z-index:-1;' + 'progid:DXImageTransform.Microsoft.Alpha(opacity=0);' + '"></iframe>' ); return element.append( shim, true ); } CKEDITOR.plugins.add( 'maximize', { init : function( editor ) { var lang = editor.lang; var mainDocument = CKEDITOR.document, mainWindow = mainDocument.getWindow(); // Saved selection and scroll position for the editing area. var savedSelection, savedScroll; // Saved scroll position for the outer window. var outerScroll; var shim; // Saved resize handler function. function resizeHandler() { var viewPaneSize = mainWindow.getViewPaneSize(); shim && shim.setStyles( { width : viewPaneSize.width + 'px', height : viewPaneSize.height + 'px' } ); editor.resize( viewPaneSize.width, viewPaneSize.height, null, true ); } // Retain state after mode switches. var savedState = CKEDITOR.TRISTATE_OFF; editor.addCommand( 'maximize', { // Disabled on iOS (#8307). modes : { wysiwyg : !CKEDITOR.env.iOS, source : !CKEDITOR.env.iOS }, readOnly : 1, editorFocus : false, exec : function() { var container = editor.container.getChild( 1 ); var contents = editor.getThemeSpace( 'contents' ); // Save current selection and scroll position in editing area. if ( editor.mode == 'wysiwyg' ) { var selection = editor.getSelection(); savedSelection = selection && selection.getRanges(); savedScroll = mainWindow.getScrollPosition(); } else { var $textarea = editor.textarea.$; savedSelection = !CKEDITOR.env.ie && [ $textarea.selectionStart, $textarea.selectionEnd ]; savedScroll = [ $textarea.scrollLeft, $textarea.scrollTop ]; } if ( this.state == CKEDITOR.TRISTATE_OFF ) // Go fullscreen if the state is off. { // Add event handler for resizing. mainWindow.on( 'resize', resizeHandler ); // Save the scroll bar position. outerScroll = mainWindow.getScrollPosition(); // Save and reset the styles for the entire node tree. var currentNode = editor.container; while ( ( currentNode = currentNode.getParent() ) ) { currentNode.setCustomData( 'maximize_saved_styles', saveStyles( currentNode ) ); currentNode.setStyle( 'z-index', editor.config.baseFloatZIndex - 1 ); } contents.setCustomData( 'maximize_saved_styles', saveStyles( contents, true ) ); container.setCustomData( 'maximize_saved_styles', saveStyles( container, true ) ); // Hide scroll bars. var styles = { overflow : CKEDITOR.env.webkit ? '' : 'hidden', // #6896 width : 0, height : 0 }; mainDocument.getDocumentElement().setStyles( styles ); !CKEDITOR.env.gecko && mainDocument.getDocumentElement().setStyle( 'position', 'fixed' ); !( CKEDITOR.env.gecko && CKEDITOR.env.quirks ) && mainDocument.getBody().setStyles( styles ); // Scroll to the top left (IE needs some time for it - #4923). CKEDITOR.env.ie ? setTimeout( function() { mainWindow.$.scrollTo( 0, 0 ); }, 0 ) : mainWindow.$.scrollTo( 0, 0 ); // Resize and move to top left. // Special treatment for FF Quirks (#7284) container.setStyle( 'position', CKEDITOR.env.gecko && CKEDITOR.env.quirks ? 'fixed' : 'absolute' ); container.$.offsetLeft; // SAFARI BUG: See #2066. container.setStyles( { 'z-index' : editor.config.baseFloatZIndex - 1, left : '0px', top : '0px' } ); shim = createIframeShim( container ); // IE6 select element penetration when maximized. (#4459) // Add cke_maximized class before resize handle since that will change things sizes (#5580) container.addClass( 'cke_maximized' ); resizeHandler(); // Still not top left? Fix it. (Bug #174) var offset = container.getDocumentPosition(); container.setStyles( { left : ( -1 * offset.x ) + 'px', top : ( -1 * offset.y ) + 'px' } ); // Fixing positioning editor chrome in Firefox break design mode. (#5149) CKEDITOR.env.gecko && refreshCursor( editor ); } else if ( this.state == CKEDITOR.TRISTATE_ON ) // Restore from fullscreen if the state is on. { // Remove event handler for resizing. mainWindow.removeListener( 'resize', resizeHandler ); // Restore CSS styles for the entire node tree. var editorElements = [ contents, container ]; for ( var i = 0 ; i < editorElements.length ; i++ ) { restoreStyles( editorElements[i], editorElements[i].getCustomData( 'maximize_saved_styles' ) ); editorElements[i].removeCustomData( 'maximize_saved_styles' ); } currentNode = editor.container; while ( ( currentNode = currentNode.getParent() ) ) { restoreStyles( currentNode, currentNode.getCustomData( 'maximize_saved_styles' ) ); currentNode.removeCustomData( 'maximize_saved_styles' ); } // Restore the window scroll position. CKEDITOR.env.ie ? setTimeout( function() { mainWindow.$.scrollTo( outerScroll.x, outerScroll.y ); }, 0 ) : mainWindow.$.scrollTo( outerScroll.x, outerScroll.y ); // Remove cke_maximized class. container.removeClass( 'cke_maximized' ); // Webkit requires a re-layout on editor chrome. (#6695) if ( CKEDITOR.env.webkit ) { container.setStyle( 'display', 'inline' ); setTimeout( function(){ container.setStyle( 'display', 'block' ); }, 0 ); } if ( shim ) { shim.remove(); shim = null; } // Emit a resize event, because this time the size is modified in // restoreStyles. editor.fire( 'resize' ); } this.toggleState(); // Toggle button label. var button = this.uiItems[ 0 ]; // Only try to change the button if it exists (#6166) if( button ) { var label = ( this.state == CKEDITOR.TRISTATE_OFF ) ? lang.maximize : lang.minimize; var buttonNode = editor.element.getDocument().getById( button._.id ); buttonNode.getChild( 1 ).setHtml( label ); buttonNode.setAttribute( 'title', label ); buttonNode.setAttribute( 'href', 'javascript:void("' + label + '");' ); } // Restore selection and scroll position in editing area. if ( editor.mode == 'wysiwyg' ) { if ( savedSelection ) { // Fixing positioning editor chrome in Firefox break design mode. (#5149) CKEDITOR.env.gecko && refreshCursor( editor ); editor.getSelection().selectRanges(savedSelection); var element = editor.getSelection().getStartElement(); element && element.scrollIntoView( true ); } else mainWindow.$.scrollTo( savedScroll.x, savedScroll.y ); } else { if ( savedSelection ) { $textarea.selectionStart = savedSelection[0]; $textarea.selectionEnd = savedSelection[1]; } $textarea.scrollLeft = savedScroll[0]; $textarea.scrollTop = savedScroll[1]; } savedSelection = savedScroll = null; savedState = this.state; }, canUndo : false } ); editor.ui.addButton( 'Maximize', { label : lang.maximize, command : 'maximize' } ); // Restore the command state after mode change, unless it has been changed to disabled (#6467) editor.on( 'mode', function() { var command = editor.getCommand( 'maximize' ); command.setState( command.state == CKEDITOR.TRISTATE_DISABLED ? CKEDITOR.TRISTATE_DISABLED : savedState ); }, null, null, 100 ); } } ); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/maximize/plugin.js
JavaScript
asf20
11,442
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { CKEDITOR.on( 'dialogDefinition', function( ev ) { var tab, name = ev.data.name, definition = ev.data.definition; if ( name == 'link' ) { definition.removeContents( 'target' ); definition.removeContents( 'upload' ); definition.removeContents( 'advanced' ); tab = definition.getContents( 'info' ); tab.remove( 'emailSubject' ); tab.remove( 'emailBody' ); } else if ( name == 'image' ) { definition.removeContents( 'advanced' ); tab = definition.getContents( 'Link' ); tab.remove( 'cmbTarget' ); tab = definition.getContents( 'info' ); tab.remove( 'txtAlt' ); tab.remove( 'basic' ); } }); var bbcodeMap = { 'b' : 'strong', 'u': 'u', 'i' : 'em', 'color' : 'span', 'size' : 'span', 'quote' : 'blockquote', 'code' : 'code', 'url' : 'a', 'email' : 'span', 'img' : 'span', '*' : 'li', 'list' : 'ol' }, convertMap = { 'strong' : 'b' , 'b' : 'b', 'u': 'u', 'em' : 'i', 'i': 'i', 'code' : 'code', 'li' : '*' }, tagnameMap = { 'strong' : 'b', 'em' : 'i', 'u' : 'u', 'li' : '*', 'ul' : 'list', 'ol' : 'list', 'code' : 'code', 'a' : 'link', 'img' : 'img', 'blockquote' : 'quote' }, stylesMap = { 'color' : 'color', 'size' : 'font-size' }, attributesMap = { 'url' : 'href', 'email' : 'mailhref', 'quote': 'cite', 'list' : 'listType' }; // List of block-like tags. var dtd = CKEDITOR.dtd, blockLikeTags = CKEDITOR.tools.extend( { table:1 }, dtd.$block, dtd.$listItem, dtd.$tableContent, dtd.$list ); var semicolonFixRegex = /\s*(?:;\s*|$)/; function serializeStyleText( stylesObject ) { var styleText = ''; for ( var style in stylesObject ) { var styleVal = stylesObject[ style ], text = ( style + ':' + styleVal ).replace( semicolonFixRegex, ';' ); styleText += text; } return styleText; } function parseStyleText( styleText ) { var retval = {}; ( styleText || '' ) .replace( /&quot;/g, '"' ) .replace( /\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g, function( match, name, value ) { retval[ name.toLowerCase() ] = value; } ); return retval; } function RGBToHex( cssStyle ) { return cssStyle.replace( /(?:rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\))/gi, function( match, red, green, blue ) { red = parseInt( red, 10 ).toString( 16 ); green = parseInt( green, 10 ).toString( 16 ); blue = parseInt( blue, 10 ).toString( 16 ); var color = [red, green, blue] ; // Add padding zeros if the hex value is less than 0x10. for ( var i = 0 ; i < color.length ; i++ ) color[i] = String( '0' + color[i] ).slice( -2 ) ; return '#' + color.join( '' ) ; }); } // Maintain the map of smiley-to-description. var smileyMap = {"smiley":":)","sad":":(","wink":";)","laugh":":D","cheeky":":P","blush":":*)","surprise":":-o","indecision":":|","angry":">:(","angel":"o:)","cool":"8-)","devil":">:-)","crying":";(","kiss":":-*" }, smileyReverseMap = {}, smileyRegExp = []; // Build regexp for the list of smiley text. for ( var i in smileyMap ) { smileyReverseMap[ smileyMap[ i ] ] = i; smileyRegExp.push( smileyMap[ i ].replace( /\(|\)|\:|\/|\*|\-|\|/g, function( match ) { return '\\' + match; } ) ); } smileyRegExp = new RegExp( smileyRegExp.join( '|' ), 'g' ); var decodeHtml = ( function () { var regex = [], entities = { nbsp : '\u00A0', // IE | FF shy : '\u00AD', // IE gt : '\u003E', // IE | FF | -- | Opera lt : '\u003C' // IE | FF | Safari | Opera }; for ( var entity in entities ) regex.push( entity ); regex = new RegExp( '&(' + regex.join( '|' ) + ');', 'g' ); return function( html ) { return html.replace( regex, function( match, entity ) { return entities[ entity ]; }); }; })(); CKEDITOR.BBCodeParser = function() { this._ = { bbcPartsRegex : /(?:\[([^\/\]=]*?)(?:=([^\]]*?))?\])|(?:\[\/([a-z]{1,16})\])/ig }; }; CKEDITOR.BBCodeParser.prototype = { parse : function( bbcode ) { var parts, part, lastIndex = 0; while ( ( parts = this._.bbcPartsRegex.exec( bbcode ) ) ) { var tagIndex = parts.index; if ( tagIndex > lastIndex ) { var text = bbcode.substring( lastIndex, tagIndex ); this.onText( text, 1 ); } lastIndex = this._.bbcPartsRegex.lastIndex; /* "parts" is an array with the following items: 0 : The entire match for opening/closing tags and line-break; 1 : line-break; 2 : open of tag excludes option; 3 : tag option; 4 : close of tag; */ part = ( parts[ 1 ] || parts[ 3 ] || '' ).toLowerCase(); // Unrecognized tags should be delivered as a simple text (#7860). if ( part && !bbcodeMap[ part ] ) { this.onText( parts[ 0 ] ); continue; } // Opening tag if ( parts[ 1 ] ) { var tagName = bbcodeMap[ part ], attribs = {}, styles = {}, optionPart = parts[ 2 ]; if ( optionPart ) { if ( part == 'list' ) { if ( !isNaN( optionPart ) ) optionPart = 'decimal'; else if ( /^[a-z]+$/.test( optionPart ) ) optionPart = 'lower-alpha'; else if ( /^[A-Z]+$/.test( optionPart ) ) optionPart = 'upper-alpha'; } if ( stylesMap[ part ] ) { // Font size represents percentage. if ( part == 'size' ) optionPart += '%'; styles[ stylesMap[ part ] ] = optionPart; attribs.style = serializeStyleText( styles ); } else if ( attributesMap[ part ] ) attribs[ attributesMap[ part ] ] = optionPart; } // Two special handling - image and email, protect them // as "span" with an attribute marker. if ( part == 'email' || part == 'img' ) attribs[ 'bbcode' ] = part; this.onTagOpen( tagName, attribs, CKEDITOR.dtd.$empty[ tagName ] ); } // Closing tag else if ( parts[ 3 ] ) this.onTagClose( bbcodeMap[ part ] ); } if ( bbcode.length > lastIndex ) this.onText( bbcode.substring( lastIndex, bbcode.length ), 1 ); } }; /** * Creates a {@link CKEDITOR.htmlParser.fragment} from an HTML string. * @param {String} source The HTML to be parsed, filling the fragment. * @param {Number} [fixForBody=false] Wrap body with specified element if needed. * @returns CKEDITOR.htmlParser.fragment The fragment created. * @example * var fragment = CKEDITOR.htmlParser.fragment.fromHtml( '<b>Sample</b> Text' ); * alert( fragment.children[0].name ); "b" * alert( fragment.children[1].value ); " Text" */ CKEDITOR.htmlParser.fragment.fromBBCode = function( source ) { var parser = new CKEDITOR.BBCodeParser(), fragment = new CKEDITOR.htmlParser.fragment(), pendingInline = [], pendingBrs = 0, currentNode = fragment, returnPoint; function checkPending( newTagName ) { if ( pendingInline.length > 0 ) { for ( var i = 0 ; i < pendingInline.length ; i++ ) { var pendingElement = pendingInline[ i ], pendingName = pendingElement.name, pendingDtd = CKEDITOR.dtd[ pendingName ], currentDtd = currentNode.name && CKEDITOR.dtd[ currentNode.name ]; if ( ( !currentDtd || currentDtd[ pendingName ] ) && ( !newTagName || !pendingDtd || pendingDtd[ newTagName ] || !CKEDITOR.dtd[ newTagName ] ) ) { // Get a clone for the pending element. pendingElement = pendingElement.clone(); // Add it to the current node and make it the current, // so the new element will be added inside of it. pendingElement.parent = currentNode; currentNode = pendingElement; // Remove the pending element (back the index by one // to properly process the next entry). pendingInline.splice( i, 1 ); i--; } } } } function checkPendingBrs( tagName, closing ) { var len = currentNode.children.length, previous = len > 0 && currentNode.children[ len - 1 ], lineBreakParent = !previous && BBCodeWriter.getRule( tagnameMap[ currentNode.name ], 'breakAfterOpen' ), lineBreakPrevious = previous && previous.type == CKEDITOR.NODE_ELEMENT && BBCodeWriter.getRule( tagnameMap[ previous.name ], 'breakAfterClose' ), lineBreakCurrent = tagName && BBCodeWriter.getRule( tagnameMap[ tagName ], closing ? 'breakBeforeClose' : 'breakBeforeOpen' ); if ( pendingBrs && ( lineBreakParent || lineBreakPrevious || lineBreakCurrent ) ) pendingBrs--; // 1. Either we're at the end of block, where it requires us to compensate the br filler // removing logic (from htmldataprocessor). // 2. Or we're at the end of pseudo block, where it requires us to compensate // the bogus br effect. if ( pendingBrs && tagName in blockLikeTags ) pendingBrs++; while ( pendingBrs && pendingBrs-- ) currentNode.children.push( previous = new CKEDITOR.htmlParser.element( 'br' ) ); } function addElement( node, target ) { checkPendingBrs( node.name, 1 ); target = target || currentNode || fragment; var len = target.children.length, previous = len > 0 && target.children[ len - 1 ] || null; node.previous = previous; node.parent = target; target.children.push( node ); if ( node.returnPoint ) { currentNode = node.returnPoint; delete node.returnPoint; } } parser.onTagOpen = function( tagName, attributes, selfClosing ) { var element = new CKEDITOR.htmlParser.element( tagName, attributes ); // This is a tag to be removed if empty, so do not add it immediately. if ( CKEDITOR.dtd.$removeEmpty[ tagName ] ) { pendingInline.push( element ); return; } var currentName = currentNode.name; var currentDtd = currentName && ( CKEDITOR.dtd[ currentName ] || ( currentNode._.isBlockLike ? CKEDITOR.dtd.div : CKEDITOR.dtd.span ) ); // If the element cannot be child of the current element. if ( currentDtd && !currentDtd[ tagName ] ) { var reApply = false, addPoint; // New position to start adding nodes. // If the element name is the same as the current element name, // then just close the current one and append the new one to the // parent. This situation usually happens with <p>, <li>, <dt> and // <dd>, specially in IE. Do not enter in this if block in this case. if ( tagName == currentName ) addElement( currentNode, currentNode.parent ); else if ( tagName in CKEDITOR.dtd.$listItem ) { parser.onTagOpen( 'ul', {} ); addPoint = currentNode; reApply = true; } else { addElement( currentNode, currentNode.parent ); // The current element is an inline element, which // cannot hold the new one. Put it in the pending list, // and try adding the new one after it. pendingInline.unshift( currentNode ); reApply = true; } if ( addPoint ) currentNode = addPoint; // Try adding it to the return point, or the parent element. else currentNode = currentNode.returnPoint || currentNode.parent; if ( reApply ) { parser.onTagOpen.apply( this, arguments ); return; } } checkPending( tagName ); checkPendingBrs( tagName ); element.parent = currentNode; element.returnPoint = returnPoint; returnPoint = 0; if ( element.isEmpty ) addElement( element ); else currentNode = element; }; parser.onTagClose = function( tagName ) { // Check if there is any pending tag to be closed. for ( var i = pendingInline.length - 1 ; i >= 0 ; i-- ) { // If found, just remove it from the list. if ( tagName == pendingInline[ i ].name ) { pendingInline.splice( i, 1 ); return; } } var pendingAdd = [], newPendingInline = [], candidate = currentNode; while ( candidate.type && candidate.name != tagName ) { // If this is an inline element, add it to the pending list, if we're // really closing one of the parents element later, they will continue // after it. if ( !candidate._.isBlockLike ) newPendingInline.unshift( candidate ); // This node should be added to it's parent at this point. But, // it should happen only if the closing tag is really closing // one of the nodes. So, for now, we just cache it. pendingAdd.push( candidate ); candidate = candidate.parent; } if ( candidate.type ) { // Add all elements that have been found in the above loop. for ( i = 0 ; i < pendingAdd.length ; i++ ) { var node = pendingAdd[ i ]; addElement( node, node.parent ); } currentNode = candidate; addElement( candidate, candidate.parent ); // The parent should start receiving new nodes now, except if // addElement changed the currentNode. if ( candidate == currentNode ) currentNode = currentNode.parent; pendingInline = pendingInline.concat( newPendingInline ); } }; parser.onText = function( text ) { var currentDtd = CKEDITOR.dtd[ currentNode.name ]; if ( !currentDtd || currentDtd[ '#' ] ) { checkPendingBrs(); checkPending(); text.replace(/([\r\n])|[^\r\n]*/g, function( piece, lineBreak ) { if ( lineBreak !== undefined && lineBreak.length ) pendingBrs++; else if ( piece.length ) { var lastIndex = 0; // Create smiley from text emotion. piece.replace( smileyRegExp, function( match, index ) { addElement( new CKEDITOR.htmlParser.text( piece.substring( lastIndex, index ) ), currentNode ); addElement( new CKEDITOR.htmlParser.element( 'smiley', { 'desc': smileyReverseMap[ match ] } ), currentNode ); lastIndex = index + match.length; }); if ( lastIndex != piece.length ) addElement( new CKEDITOR.htmlParser.text( piece.substring( lastIndex, piece.length ) ), currentNode ); } }); } }; // Parse it. parser.parse( CKEDITOR.tools.htmlEncode( source ) ); // Close all hanging nodes. while ( currentNode.type ) { var parent = currentNode.parent, node = currentNode; addElement( node, parent ); currentNode = parent; } return fragment; }; CKEDITOR.htmlParser.BBCodeWriter = CKEDITOR.tools.createClass( { $ : function() { this._ = { output : [], rules : [] }; // List and list item. this.setRules( 'list', { breakBeforeOpen : 1, breakAfterOpen : 1, breakBeforeClose : 1, breakAfterClose : 1 } ); this.setRules( '*', { breakBeforeOpen : 1, breakAfterOpen : 0, breakBeforeClose : 1, breakAfterClose : 0 } ); this.setRules( 'quote', { breakBeforeOpen : 1, breakAfterOpen : 0, breakBeforeClose : 0, breakAfterClose : 1 } ); }, proto : { /** * Sets formatting rules for a given tag. The possible rules are: * <ul> * <li><b>breakBeforeOpen</b>: break line before the opener tag for this element.</li> * <li><b>breakAfterOpen</b>: break line after the opener tag for this element.</li> * <li><b>breakBeforeClose</b>: break line before the closer tag for this element.</li> * <li><b>breakAfterClose</b>: break line after the closer tag for this element.</li> * </ul> * * All rules default to "false". Each call to the function overrides * already present rules, leaving the undefined untouched. * * @param {String} tagName The tag name to which set the rules. * @param {Object} rules An object containing the element rules. * @example * // Break line before and after "img" tags. * writer.setRules( 'list', * { * breakBeforeOpen : true * breakAfterOpen : true * }); */ setRules : function( tagName, rules ) { var currentRules = this._.rules[ tagName ]; if ( currentRules ) CKEDITOR.tools.extend( currentRules, rules, true ); else this._.rules[ tagName ] = rules; }, getRule : function( tagName, ruleName ) { return this._.rules[ tagName ] && this._.rules[ tagName ][ ruleName ]; }, openTag : function( tag, attributes ) { if ( tag in bbcodeMap ) { if ( this.getRule( tag, 'breakBeforeOpen' ) ) this.lineBreak( 1 ); this.write( '[', tag ); var option = attributes.option; option && this.write( '=', option ); this.write( ']' ); if ( this.getRule( tag, 'breakAfterOpen' ) ) this.lineBreak( 1 ); } else if ( tag == 'br' ) this._.output.push( '\n' ); }, openTagClose : function() { }, attribute : function() { }, closeTag : function( tag ) { if ( tag in bbcodeMap ) { if ( this.getRule( tag, 'breakBeforeClose' ) ) this.lineBreak( 1 ); tag != '*' && this.write( '[/', tag, ']' ); if ( this.getRule( tag, 'breakAfterClose' ) ) this.lineBreak( 1 ); } }, text : function( text ) { this.write( text ); }, /** * Writes a comment. * @param {String} comment The comment text. * @example * // Writes "&lt;!-- My comment --&gt;". * writer.comment( ' My comment ' ); */ comment : function() {}, /* * Output line-break for formatting. */ lineBreak : function() { // Avoid line break when: // 1) Previous tag already put one. // 2) We're at output start. if ( !this._.hasLineBreak && this._.output.length ) { this.write( '\n' ); this._.hasLineBreak = 1; } }, write : function() { this._.hasLineBreak = 0; var data = Array.prototype.join.call( arguments, '' ); this._.output.push( data ); }, reset : function() { this._.output = []; this._.hasLineBreak = 0; }, getHtml : function( reset ) { var bbcode = this._.output.join( '' ); if ( reset ) this.reset(); return decodeHtml ( bbcode ); } } }); var BBCodeWriter = new CKEDITOR.htmlParser.BBCodeWriter(); CKEDITOR.plugins.add( 'bbcode', { requires : [ 'htmldataprocessor', 'entities' ], beforeInit : function( editor ) { // Adapt some critical editor configuration for better support // of BBCode environment. var config = editor.config; CKEDITOR.tools.extend( config, { enterMode : CKEDITOR.ENTER_BR, basicEntities: false, entities : false, fillEmptyBlocks : false }, true ); }, init : function( editor ) { var config = editor.config; function BBCodeToHtml( code ) { var fragment = CKEDITOR.htmlParser.fragment.fromBBCode( code ), writer = new CKEDITOR.htmlParser.basicWriter(); fragment.writeHtml( writer, dataFilter ); return writer.getHtml( true ); } var dataFilter = new CKEDITOR.htmlParser.filter(); dataFilter.addRules( { elements : { 'blockquote' : function( element ) { var quoted = new CKEDITOR.htmlParser.element( 'div' ); quoted.children = element.children; element.children = [ quoted ]; var citeText = element.attributes.cite; if ( citeText ) { var cite = new CKEDITOR.htmlParser.element( 'cite' ); cite.add( new CKEDITOR.htmlParser.text( citeText.replace( /^"|"$/g, '' ) ) ); delete element.attributes.cite; element.children.unshift( cite ); } }, 'span' : function( element ) { var bbcode; if ( ( bbcode = element.attributes.bbcode ) ) { if ( bbcode == 'img' ) { element.name = 'img'; element.attributes.src = element.children[ 0 ].value; element.children = []; } else if ( bbcode == 'email' ) { element.name = 'a'; element.attributes.href = 'mailto:' + element.children[ 0 ].value; } delete element.attributes.bbcode; } }, 'ol' : function ( element ) { if ( element.attributes.listType ) { if ( element.attributes.listType != 'decimal' ) element.attributes.style = 'list-style-type:' + element.attributes.listType; } else element.name = 'ul'; delete element.attributes.listType; }, a : function( element ) { if ( !element.attributes.href ) element.attributes.href = element.children[ 0 ].value; }, 'smiley' : function( element ) { element.name = 'img'; var description = element.attributes.desc, image = config.smiley_images[ CKEDITOR.tools.indexOf( config.smiley_descriptions, description ) ], src = CKEDITOR.tools.htmlEncode( config.smiley_path + image ); element.attributes = { src : src, 'data-cke-saved-src' : src, title : description, alt : description }; } } } ); editor.dataProcessor.htmlFilter.addRules( { elements : { $ : function( element ) { var attributes = element.attributes, style = parseStyleText( attributes.style ), value; var tagName = element.name; if ( tagName in convertMap ) tagName = convertMap[ tagName ]; else if ( tagName == 'span' ) { if ( ( value = style.color ) ) { tagName = 'color'; value = RGBToHex( value ); } else if ( ( value = style[ 'font-size' ] ) ) { var percentValue = value.match( /(\d+)%$/ ); if ( percentValue ) { value = percentValue[ 1 ]; tagName = 'size'; } } } else if ( tagName == 'ol' || tagName == 'ul' ) { if ( ( value = style[ 'list-style-type'] ) ) { switch ( value ) { case 'lower-alpha': value = 'a'; break; case 'upper-alpha': value = 'A'; break; } } else if ( tagName == 'ol' ) value = 1; tagName = 'list'; } else if ( tagName == 'blockquote' ) { try { var cite = element.children[ 0 ], quoted = element.children[ 1 ], citeText = cite.name == 'cite' && cite.children[ 0 ].value; if ( citeText ) { value = '"' + citeText + '"'; element.children = quoted.children; } } catch( er ) { } tagName = 'quote'; } else if ( tagName == 'a' ) { if ( ( value = attributes.href ) ) { if ( value.indexOf( 'mailto:' ) !== -1 ) { tagName = 'email'; // [email] should have a single text child with email address. element.children = [ new CKEDITOR.htmlParser.text( value.replace( 'mailto:', '' ) ) ]; value = ''; } else { var singleton = element.children.length == 1 && element.children[ 0 ]; if ( singleton && singleton.type == CKEDITOR.NODE_TEXT && singleton.value == value ) value = ''; tagName = 'url'; } } } else if ( tagName == 'img' ) { element.isEmpty = 0; // Translate smiley (image) to text emotion. var src = attributes[ 'data-cke-saved-src' ]; if ( src && src.indexOf( editor.config.smiley_path ) != -1 ) return new CKEDITOR.htmlParser.text( smileyMap[ attributes.alt ] ); else element.children = [ new CKEDITOR.htmlParser.text( src ) ]; } element.name = tagName; value && ( element.attributes.option = value ); return null; }, // Remove any bogus br from the end of a pseudo block, // e.g. <div>some text<br /><p>paragraph</p></div> br : function( element ) { var next = element.next; if ( next && next.name in blockLikeTags ) return false; } } }, 1 ); editor.dataProcessor.writer = BBCodeWriter; editor.on( 'beforeSetMode', function( evt ) { evt.removeListener(); var wysiwyg = editor._.modes[ 'wysiwyg' ]; wysiwyg.loadData = CKEDITOR.tools.override( wysiwyg.loadData, function( org ) { return function( data ) { return ( org.call( this, BBCodeToHtml( data ) ) ); }; } ); } ); }, afterInit : function( editor ) { var filters; if ( editor._.elementsPath ) { // Eliminate irrelevant elements from displaying, e.g body and p. if ( ( filters = editor._.elementsPath.filters ) ) filters.push( function( element ) { var htmlName = element.getName(), name = tagnameMap[ htmlName ] || false; // Specialized anchor presents as email. if ( name == 'link' && element.getAttribute( 'href' ).indexOf( 'mailto:' ) === 0 ) name = 'email'; // Styled span could be either size or color. else if ( htmlName == 'span' ) { if ( element.getStyle( 'font-size' ) ) name = 'size'; else if ( element.getStyle( 'color' ) ) name = 'color'; } else if ( name == 'img' ) { var src = element.data( 'cke-saved-src' ); if ( src && src.indexOf( editor.config.smiley_path ) === 0 ) name = 'smiley'; } return name; }); } } } ); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/bbcode/plugin.js
JavaScript
asf20
26,446
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'button', { beforeInit : function( editor ) { editor.ui.addHandler( CKEDITOR.UI_BUTTON, CKEDITOR.ui.button.handler ); } }); /** * Button UI element. * @constant * @example */ CKEDITOR.UI_BUTTON = 'button'; /** * Represents a button UI element. This class should not be called directly. To * create new buttons use {@link CKEDITOR.ui.prototype.addButton} instead. * @constructor * @param {Object} definition The button definition. * @example */ CKEDITOR.ui.button = function( definition ) { // Copy all definition properties to this object. CKEDITOR.tools.extend( this, definition, // Set defaults. { title : definition.label, className : definition.className || ( definition.command && 'cke_button_' + definition.command ) || '', click : definition.click || function( editor ) { editor.execCommand( definition.command ); } }); this._ = {}; }; /** * Transforms a button definition in a {@link CKEDITOR.ui.button} instance. * @type Object * @example */ CKEDITOR.ui.button.handler = { create : function( definition ) { return new CKEDITOR.ui.button( definition ); } }; ( function() { CKEDITOR.ui.button.prototype = { /** * Renders the button. * @param {CKEDITOR.editor} editor The editor instance which this button is * to be used by. * @param {Array} output The output array to which append the HTML relative * to this button. * @example */ render : function( editor, output ) { var env = CKEDITOR.env, id = this._.id = CKEDITOR.tools.getNextId(), classes = '', command = this.command, // Get the command name. clickFn; this._.editor = editor; var instance = { id : id, button : this, editor : editor, focus : function() { var element = CKEDITOR.document.getById( id ); element.focus(); }, execute : function() { // IE 6 needs some time before execution (#7922) if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 ) CKEDITOR.tools.setTimeout( function(){ this.button.click( editor ); }, 0, this ); else this.button.click( editor ); } }; var keydownFn = CKEDITOR.tools.addFunction( function( ev ) { if ( instance.onkey ) { ev = new CKEDITOR.dom.event( ev ); return ( instance.onkey( instance, ev.getKeystroke() ) !== false ); } }); var focusFn = CKEDITOR.tools.addFunction( function( ev ) { var retVal; if ( instance.onfocus ) retVal = ( instance.onfocus( instance, new CKEDITOR.dom.event( ev ) ) !== false ); // FF2: prevent focus event been bubbled up to editor container, which caused unexpected editor focus. if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) ev.preventBubble(); return retVal; }); instance.clickFn = clickFn = CKEDITOR.tools.addFunction( instance.execute, instance ); // Indicate a mode sensitive button. if ( this.modes ) { var modeStates = {}; function updateState() { // "this" is a CKEDITOR.ui.button instance. var mode = editor.mode; if ( mode ) { // Restore saved button state. var state = this.modes[ mode ] ? modeStates[ mode ] != undefined ? modeStates[ mode ] : CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED; this.setState( editor.readOnly && !this.readOnly ? CKEDITOR.TRISTATE_DISABLED : state ); } } editor.on( 'beforeModeUnload', function() { if ( editor.mode && this._.state != CKEDITOR.TRISTATE_DISABLED ) modeStates[ editor.mode ] = this._.state; }, this ); editor.on( 'mode', updateState, this); // If this button is sensitive to readOnly state, update it accordingly. !this.readOnly && editor.on( 'readOnly', updateState, this); } else if ( command ) { // Get the command instance. command = editor.getCommand( command ); if ( command ) { command.on( 'state', function() { this.setState( command.state ); }, this); classes += 'cke_' + ( command.state == CKEDITOR.TRISTATE_ON ? 'on' : command.state == CKEDITOR.TRISTATE_DISABLED ? 'disabled' : 'off' ); } } if ( !command ) classes += 'cke_off'; if ( this.className ) classes += ' ' + this.className; output.push( '<span class="cke_button' + ( this.icon && this.icon.indexOf( '.png' ) == -1 ? ' cke_noalphafix' : '' ) + '">', '<a id="', id, '"' + ' class="', classes, '"', env.gecko && env.version >= 10900 && !env.hc ? '' : '" href="javascript:void(\''+ ( this.title || '' ).replace( "'", '' )+ '\')"', ' title="', this.title, '"' + ' tabindex="-1"' + ' hidefocus="true"' + ' role="button"' + ' aria-labelledby="' + id + '_label"' + ( this.hasArrow ? ' aria-haspopup="true"' : '' ) ); // Some browsers don't cancel key events in the keydown but in the // keypress. // TODO: Check if really needed for Gecko+Mac. if ( env.opera || ( env.gecko && env.mac ) ) { output.push( ' onkeypress="return false;"' ); } // With Firefox, we need to force the button to redraw, otherwise it // will remain in the focus state. if ( env.gecko ) { output.push( ' onblur="this.style.cssText = this.style.cssText;"' ); } output.push( ' onkeydown="return CKEDITOR.tools.callFunction(', keydownFn, ', event);"' + ' onfocus="return CKEDITOR.tools.callFunction(', focusFn,', event);" ' + ( CKEDITOR.env.ie ? 'onclick="return false;" onmouseup' : 'onclick' ) + // #188 '="CKEDITOR.tools.callFunction(', clickFn, ', this); return false;">' + '<span class="cke_icon"' ); if ( this.icon ) { var offset = ( this.iconOffset || 0 ) * -16; output.push( ' style="background-image:url(', CKEDITOR.getUrl( this.icon ), ');background-position:0 ' + offset + 'px;"' ); } output.push( '>&nbsp;</span>' + '<span id="', id, '_label" class="cke_label">', this.label, '</span>' ); if ( this.hasArrow ) { output.push( '<span class="cke_buttonarrow">' // BLACK DOWN-POINTING TRIANGLE + ( CKEDITOR.env.hc ? '&#9660;' : '&nbsp;' ) + '</span>' ); } output.push( '</a>', '</span>' ); if ( this.onRender ) this.onRender(); return instance; }, setState : function( state ) { if ( this._.state == state ) return false; this._.state = state; var element = CKEDITOR.document.getById( this._.id ); if ( element ) { element.setState( state ); state == CKEDITOR.TRISTATE_DISABLED ? element.setAttribute( 'aria-disabled', true ) : element.removeAttribute( 'aria-disabled' ); state == CKEDITOR.TRISTATE_ON ? element.setAttribute( 'aria-pressed', true ) : element.removeAttribute( 'aria-pressed' ); return true; } else return false; } }; })(); /** * Adds a button definition to the UI elements list. * @param {String} name The button name. * @param {Object} definition The button definition. * @example * editorInstance.ui.addButton( 'MyBold', * { * label : 'My Bold', * command : 'bold' * }); */ CKEDITOR.ui.prototype.addButton = function( name, definition ) { this.add( name, CKEDITOR.UI_BUTTON, definition ); };
zysms
trunk/zysms/include/ckeditor/_source/plugins/button/plugin.js
JavaScript
asf20
7,612
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'devtools', { lang : [ 'en' ], init : function( editor ) { editor._.showDialogDefinitionTooltips = 1; }, onLoad : function() { CKEDITOR.document.appendStyleText( CKEDITOR.config.devtools_styles || '#cke_tooltip { padding: 5px; border: 2px solid #333; background: #ffffff }' + '#cke_tooltip h2 { font-size: 1.1em; border-bottom: 1px solid; margin: 0; padding: 1px; }' + '#cke_tooltip ul { padding: 0pt; list-style-type: none; }' ); } }); (function() { function defaultCallback( editor, dialog, element, tabName ) { var lang = editor.lang.devTools, link = '<a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.definition.' + ( element ? ( element.type == 'text' ? 'textInput' : element.type ) : 'content' ) + '.html" target="_blank">' + ( element ? element.type : 'content' ) + '</a>', str = '<h2>' + lang.title + '</h2>' + '<ul>' + '<li><strong>' + lang.dialogName + '</strong> : ' + dialog.getName() + '</li>' + '<li><strong>' + lang.tabName + '</strong> : ' + tabName + '</li>'; if ( element ) str += '<li><strong>' + lang.elementId + '</strong> : ' + element.id + '</li>'; str += '<li><strong>' + lang.elementType + '</strong> : ' + link + '</li>'; return str + '</ul>'; } function showTooltip( callback, el, editor, dialog, obj, tabName ) { var pos = el.getDocumentPosition(), styles = { 'z-index' : CKEDITOR.dialog._.currentZIndex + 10, top : ( pos.y + el.getSize( 'height' ) ) + 'px' }; tooltip.setHtml( callback( editor, dialog, obj, tabName ) ); tooltip.show(); // Translate coordinate for RTL. if ( editor.lang.dir == 'rtl' ) { var viewPaneSize = CKEDITOR.document.getWindow().getViewPaneSize(); styles.right = ( viewPaneSize.width - pos.x - el.getSize( 'width' ) ) + 'px'; } else styles.left = pos.x + 'px'; tooltip.setStyles( styles ); } var tooltip; CKEDITOR.on( 'reset', function() { tooltip && tooltip.remove(); tooltip = null; }); CKEDITOR.on( 'dialogDefinition', function( evt ) { var editor = evt.editor; if ( editor._.showDialogDefinitionTooltips ) { if ( !tooltip ) { tooltip = CKEDITOR.dom.element.createFromHtml( '<div id="cke_tooltip" tabindex="-1" style="position: absolute"></div>', CKEDITOR.document ); tooltip.hide(); tooltip.on( 'mouseover', function(){ this.show(); } ); tooltip.on( 'mouseout', function(){ this.hide(); } ); tooltip.appendTo( CKEDITOR.document.getBody() ); } var dialog = evt.data.definition.dialog, callback = editor.config.devtools_textCallback || defaultCallback; dialog.on( 'load', function() { var tabs = dialog.parts.tabs.getChildren(), tab; for ( var i = 0, len = tabs.count(); i < len; i++ ) { tab = tabs.getItem( i ); tab.on( 'mouseover', function() { var id = this.$.id; showTooltip( callback, this, editor, dialog, null, id.substring( 4, id.lastIndexOf( '_' ) ) ); }); tab.on( 'mouseout', function() { tooltip.hide(); }); } dialog.foreach( function( obj ) { if ( obj.type in { hbox : 1, vbox : 1 } ) return; var el = obj.getElement(); if ( el ) { el.on( 'mouseover', function() { showTooltip( callback, this, editor, dialog, obj, dialog._.currentTabId ); }); el.on( 'mouseout', function() { tooltip.hide(); }); } }); }); } }); })(); /** * A function that returns the text to be displayed inside the Developer Tools tooltip when hovering over a dialog UI element. * There are 4 parameters that are being passed into the function: editor, dialog window, element, tab name. * @name editor.config.devtools_textCallback * @since 3.6 * @type Function * @default (see example) * @example * // This is actually the default value. * // Show dialog window name, tab ID, and element ID. * config.devtools_textCallback = function( editor, dialog, element, tabName ) * { * var lang = editor.lang.devTools, * link = '<a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.definition.' + * ( element ? ( element.type == 'text' ? 'textInput' : element.type ) : 'content' ) + * '.html" target="_blank">' + ( element ? element.type : 'content' ) + '</a>', * str = * '<h2>' + lang.title + '</h2>' + * '<ul>' + * '<li><strong>' + lang.dialogName + '</strong> : ' + dialog.getName() + '</li>' + * '<li><strong>' + lang.tabName + '</strong> : ' + tabName + '</li>'; * * if ( element ) * str += '<li><strong>' + lang.elementId + '</strong> : ' + element.id + '</li>'; * * str += '<li><strong>' + lang.elementType + '</strong> : ' + link + '</li>'; * * return str + '</ul>'; * } */ /** * A setting that stores CSS rules to be injected into the page with styles to be applied to the tooltip element. * @name CKEDITOR.config.devtools_styles * @since 3.6 * @type String * @default (see example) * @example * // This is actually the default value. * CKEDITOR.config.devtools_styles = &quot; * #cke_tooltip { padding: 5px; border: 2px solid #333; background: #ffffff } * #cke_tooltip h2 { font-size: 1.1em; border-bottom: 1px solid; margin: 0; padding: 1px; } * #cke_tooltip ul { padding: 0pt; list-style-type: none; } * &quot;; */
zysms
trunk/zysms/include/ckeditor/_source/plugins/devtools/plugin.js
JavaScript
asf20
5,669
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'devtools', 'en', { devTools : { title : 'Element Information', dialogName : 'Dialog window name', tabName : 'Tab name', elementId : 'Element ID', elementType : 'Element type' } });
zysms
trunk/zysms/include/ckeditor/_source/plugins/devtools/lang/en.js
JavaScript
asf20
388
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileSave plugin. */ (function() { var saveCmd = { modes : { wysiwyg:1, source:1 }, readOnly : 1, exec : function( editor ) { var $form = editor.element.$.form; if ( $form ) { try { $form.submit(); } catch( e ) { // If there's a button named "submit" then the form.submit // function is masked and can't be called in IE/FF, so we // call the click() method of that button. if ( $form.submit.click ) $form.submit.click(); } } } }; var pluginName = 'save'; // Register a plugin named "save". CKEDITOR.plugins.add( pluginName, { init : function( editor ) { var command = editor.addCommand( pluginName, saveCmd ); command.modes = { wysiwyg : !!( editor.element.$.form ) }; editor.ui.addButton( 'Save', { label : editor.lang.save, command : pluginName }); } }); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/save/plugin.js
JavaScript
asf20
1,100
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Plugin for making iframe based dialogs. */ CKEDITOR.plugins.add( 'iframedialog', { requires : [ 'dialog' ], onLoad : function() { /** * An iframe base dialog. * @param {String} name Name of the dialog * @param {String} title Title of the dialog * @param {Number} minWidth Minimum width of the dialog * @param {Number} minHeight Minimum height of the dialog * @param {Function} [onContentLoad] Function called when the iframe has been loaded. * If it isn't specified, the inner frame is notified of the dialog events ('load', * 'resize', 'ok' and 'cancel') on a function called 'onDialogEvent' * @param {Object} [userDefinition] Additional properties for the dialog definition * @example */ CKEDITOR.dialog.addIframe = function( name, title, src, minWidth, minHeight, onContentLoad, userDefinition ) { var element = { type : 'iframe', src : src, width : '100%', height : '100%' }; if ( typeof( onContentLoad ) == 'function' ) element.onContentLoad = onContentLoad; else element.onContentLoad = function() { var element = this.getElement(), childWindow = element.$.contentWindow; // If the inner frame has defined a "onDialogEvent" function, setup listeners if ( childWindow.onDialogEvent ) { var dialog = this.getDialog(), notifyEvent = function(e) { return childWindow.onDialogEvent(e); }; dialog.on( 'ok', notifyEvent ); dialog.on( 'cancel', notifyEvent ); dialog.on( 'resize', notifyEvent ); // Clear listeners dialog.on( 'hide', function(e) { dialog.removeListener( 'ok', notifyEvent ); dialog.removeListener( 'cancel', notifyEvent ); dialog.removeListener( 'resize', notifyEvent ); e.removeListener(); } ); // Notify child iframe of load: childWindow.onDialogEvent( { name : 'load', sender : this, editor : dialog._.editor } ); } }; var definition = { title : title, minWidth : minWidth, minHeight : minHeight, contents : [ { id : 'iframe', label : title, expand : true, elements : [ element ] } ] }; for ( var i in userDefinition ) definition[i] = userDefinition[i]; this.add( name, function(){ return definition; } ); }; (function() { /** * An iframe element. * @extends CKEDITOR.ui.dialog.uiElement * @example * @constructor * @param {CKEDITOR.dialog} dialog * Parent dialog object. * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition * The element definition. Accepted fields: * <ul> * <li><strong>src</strong> (Required) The src field of the iframe. </li> * <li><strong>width</strong> (Required) The iframe's width.</li> * <li><strong>height</strong> (Required) The iframe's height.</li> * <li><strong>onContentLoad</strong> (Optional) A function to be executed * after the iframe's contents has finished loading.</li> * </ul> * @param {Array} htmlList * List of HTML code to output to. */ var iframeElement = function( dialog, elementDefinition, htmlList ) { if ( arguments.length < 3 ) return; var _ = ( this._ || ( this._ = {} ) ), contentLoad = elementDefinition.onContentLoad && CKEDITOR.tools.bind( elementDefinition.onContentLoad, this ), cssWidth = CKEDITOR.tools.cssLength( elementDefinition.width ), cssHeight = CKEDITOR.tools.cssLength( elementDefinition.height ); _.frameId = CKEDITOR.tools.getNextId() + '_iframe'; // IE BUG: Parent container does not resize to contain the iframe automatically. dialog.on( 'load', function() { var iframe = CKEDITOR.document.getById( _.frameId ), parentContainer = iframe.getParent(); parentContainer.setStyles( { width : cssWidth, height : cssHeight } ); } ); var attributes = { src : '%2', id : _.frameId, frameborder : 0, allowtransparency : true }; var myHtml = []; if ( typeof( elementDefinition.onContentLoad ) == 'function' ) attributes.onload = 'CKEDITOR.tools.callFunction(%1);'; CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, myHtml, 'iframe', { width : cssWidth, height : cssHeight }, attributes, '' ); // Put a placeholder for the first time. htmlList.push( '<div style="width:' + cssWidth + ';height:' + cssHeight + ';" id="' + this.domId + '"></div>' ); // Iframe elements should be refreshed whenever it is shown. myHtml = myHtml.join( '' ); dialog.on( 'show', function() { var iframe = CKEDITOR.document.getById( _.frameId ), parentContainer = iframe.getParent(), callIndex = CKEDITOR.tools.addFunction( contentLoad ), html = myHtml.replace( '%1', callIndex ).replace( '%2', CKEDITOR.tools.htmlEncode( elementDefinition.src ) ); parentContainer.setHtml( html ); } ); }; iframeElement.prototype = new CKEDITOR.ui.dialog.uiElement; CKEDITOR.dialog.addUIElement( 'iframe', { build : function( dialog, elementDefinition, output ) { return new iframeElement( dialog, elementDefinition, output ); } } ); })(); } } );
zysms
trunk/zysms/include/ckeditor/_source/plugins/iframedialog/plugin.js
JavaScript
asf20
5,719
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'panel', { beforeInit : function( editor ) { editor.ui.addHandler( CKEDITOR.UI_PANEL, CKEDITOR.ui.panel.handler ); } }); /** * Panel UI element. * @constant * @example */ CKEDITOR.UI_PANEL = 'panel'; CKEDITOR.ui.panel = function( document, definition ) { // Copy all definition properties to this object. if ( definition ) CKEDITOR.tools.extend( this, definition ); // Set defaults. CKEDITOR.tools.extend( this, { className : '', css : [] }); this.id = CKEDITOR.tools.getNextId(); this.document = document; this._ = { blocks : {} }; }; /** * Transforms a rich combo definition in a {@link CKEDITOR.ui.richCombo} * instance. * @type Object * @example */ CKEDITOR.ui.panel.handler = { create : function( definition ) { return new CKEDITOR.ui.panel( definition ); } }; CKEDITOR.ui.panel.prototype = { renderHtml : function( editor ) { var output = []; this.render( editor, output ); return output.join( '' ); }, /** * Renders the combo. * @param {CKEDITOR.editor} editor The editor instance which this button is * to be used by. * @param {Array} output The output array to which append the HTML relative * to this button. * @example */ render : function( editor, output ) { var id = this.id; output.push( '<div class="', editor.skinClass ,'"' + ' lang="', editor.langCode, '"' + ' role="presentation"' + // iframe loading need sometime, keep the panel hidden(#4186). ' style="display:none;z-index:' + ( editor.config.baseFloatZIndex + 1 ) + '">' + '<div' + ' id=', id, ' dir=', editor.lang.dir, ' role="presentation"' + ' class="cke_panel cke_', editor.lang.dir ); if ( this.className ) output.push( ' ', this.className ); output.push( '">' ); if ( this.forceIFrame || this.css.length ) { output.push( '<iframe id="', id, '_frame"' + ' frameborder="0"' + ' role="application" src="javascript:void(' ); output.push( // Support for custom document.domain in IE. CKEDITOR.env.isCustomDomain() ? '(function(){' + 'document.open();' + 'document.domain=\'' + document.domain + '\';' + 'document.close();' + '})()' : '0' ); output.push( ')"></iframe>' ); } output.push( '</div>' + '</div>' ); return id; }, getHolderElement : function() { var holder = this._.holder; if ( !holder ) { if ( this.forceIFrame || this.css.length ) { var iframe = this.document.getById( this.id + '_frame' ), parentDiv = iframe.getParent(), dir = parentDiv.getAttribute( 'dir' ), className = parentDiv.getParent().getAttribute( 'class' ), langCode = parentDiv.getParent().getAttribute( 'lang' ), doc = iframe.getFrameDocument(); // Make it scrollable on iOS. (#8308) CKEDITOR.env.iOS && parentDiv.setStyles( { 'overflow' : 'scroll', '-webkit-overflow-scrolling' : 'touch' }); var onLoad = CKEDITOR.tools.addFunction( CKEDITOR.tools.bind( function( ev ) { this.isLoaded = true; if ( this.onLoad ) this.onLoad(); }, this ) ); var data = '<!DOCTYPE html>' + '<html dir="' + dir + '" class="' + className + '_container" lang="' + langCode + '">' + '<head>' + '<style>.' + className + '_container{visibility:hidden}</style>' + '</head>' + '<body class="cke_' + dir + ' cke_panel_frame ' + CKEDITOR.env.cssClass + '" style="margin:0;padding:0"' + ' onload="( window.CKEDITOR || window.parent.CKEDITOR ).tools.callFunction(' + onLoad + ');"></body>' + // It looks strange, but for FF2, the styles must go // after <body>, so it (body) becames immediatelly // available. (#3031) CKEDITOR.tools.buildStyleHtml( this.css ) + '<\/html>'; doc.write( data ); var win = doc.getWindow(); // Register the CKEDITOR global. win.$.CKEDITOR = CKEDITOR; // Arrow keys for scrolling is only preventable with 'keypress' event in Opera (#4534). doc.on( 'key' + ( CKEDITOR.env.opera? 'press':'down' ), function( evt ) { var keystroke = evt.data.getKeystroke(), dir = this.document.getById( this.id ).getAttribute( 'dir' ); // Delegate key processing to block. if ( this._.onKeyDown && this._.onKeyDown( keystroke ) === false ) { evt.data.preventDefault(); return; } // ESC/ARROW-LEFT(ltr) OR ARROW-RIGHT(rtl) if ( keystroke == 27 || keystroke == ( dir == 'rtl' ? 39 : 37 ) ) { if ( this.onEscape && this.onEscape( keystroke ) === false ) evt.data.preventDefault(); } }, this ); holder = doc.getBody(); holder.unselectable(); CKEDITOR.env.air && CKEDITOR.tools.callFunction( onLoad ); } else holder = this.document.getById( this.id ); this._.holder = holder; } return holder; }, addBlock : function( name, block ) { block = this._.blocks[ name ] = block instanceof CKEDITOR.ui.panel.block ? block : new CKEDITOR.ui.panel.block( this.getHolderElement(), block ); if ( !this._.currentBlock ) this.showBlock( name ); return block; }, getBlock : function( name ) { return this._.blocks[ name ]; }, showBlock : function( name ) { var blocks = this._.blocks, block = blocks[ name ], current = this._.currentBlock, holder = this.forceIFrame ? this.document.getById( this.id + '_frame' ) : this._.holder; // Disable context menu for block panel. holder.getParent().getParent().disableContextMenu(); if ( current ) { // Clean up the current block's effects on holder. holder.removeAttributes( current.attributes ); current.hide(); } this._.currentBlock = block; holder.setAttributes( block.attributes ); CKEDITOR.fire( 'ariaWidget', holder ); // Reset the focus index, so it will always go into the first one. block._.focusIndex = -1; this._.onKeyDown = block.onKeyDown && CKEDITOR.tools.bind( block.onKeyDown, block ); block.show(); return block; }, destroy : function() { this.element && this.element.remove(); } }; CKEDITOR.ui.panel.block = CKEDITOR.tools.createClass( { $ : function( blockHolder, blockDefinition ) { this.element = blockHolder.append( blockHolder.getDocument().createElement( 'div', { attributes : { 'tabIndex' : -1, 'class' : 'cke_panel_block', 'role' : 'presentation' }, styles : { display : 'none' } }) ); // Copy all definition properties to this object. if ( blockDefinition ) CKEDITOR.tools.extend( this, blockDefinition ); if ( !this.attributes.title ) this.attributes.title = this.attributes[ 'aria-label' ]; this.keys = {}; this._.focusIndex = -1; // Disable context menu for panels. this.element.disableContextMenu(); }, _ : { /** * Mark the item specified by the index as current activated. */ markItem: function( index ) { if ( index == -1 ) return; var links = this.element.getElementsByTag( 'a' ); var item = links.getItem( this._.focusIndex = index ); // Safari need focus on the iframe window first(#3389), but we need // lock the blur to avoid hiding the panel. if ( CKEDITOR.env.webkit || CKEDITOR.env.opera ) item.getDocument().getWindow().focus(); item.focus(); this.onMark && this.onMark( item ); } }, proto : { show : function() { this.element.setStyle( 'display', '' ); }, hide : function() { if ( !this.onHide || this.onHide.call( this ) !== true ) this.element.setStyle( 'display', 'none' ); }, onKeyDown : function( keystroke ) { var keyAction = this.keys[ keystroke ]; switch ( keyAction ) { // Move forward. case 'next' : var index = this._.focusIndex, links = this.element.getElementsByTag( 'a' ), link; while ( ( link = links.getItem( ++index ) ) ) { // Move the focus only if the element is marked with // the _cke_focus and it it's visible (check if it has // width). if ( link.getAttribute( '_cke_focus' ) && link.$.offsetWidth ) { this._.focusIndex = index; link.focus(); break; } } return false; // Move backward. case 'prev' : index = this._.focusIndex; links = this.element.getElementsByTag( 'a' ); while ( index > 0 && ( link = links.getItem( --index ) ) ) { // Move the focus only if the element is marked with // the _cke_focus and it it's visible (check if it has // width). if ( link.getAttribute( '_cke_focus' ) && link.$.offsetWidth ) { this._.focusIndex = index; link.focus(); break; } } return false; case 'click' : case 'mouseup' : index = this._.focusIndex; link = index >= 0 && this.element.getElementsByTag( 'a' ).getItem( index ); if ( link ) link.$[ keyAction ] ? link.$[ keyAction ]() : link.$[ 'on' + keyAction ](); return false; } return true; } } }); /** * Fired when a panel is added to the document * @name CKEDITOR#ariaWidget * @event * @param {Object} holder The element wrapping the panel */
zysms
trunk/zysms/include/ckeditor/_source/plugins/panel/plugin.js
JavaScript
asf20
9,840
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { CKEDITOR.plugins.add( 'iframe', { requires : [ 'dialog', 'fakeobjects' ], init : function( editor ) { var pluginName = 'iframe', lang = editor.lang.iframe; CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/iframe.js' ); editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName ) ); editor.addCss( 'img.cke_iframe' + '{' + 'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/placeholder.png' ) + ');' + 'background-position: center center;' + 'background-repeat: no-repeat;' + 'border: 1px solid #a9a9a9;' + 'width: 80px;' + 'height: 80px;' + '}' ); editor.ui.addButton( 'Iframe', { label : lang.toolbar, command : pluginName }); editor.on( 'doubleclick', function( evt ) { var element = evt.data.element; if ( element.is( 'img' ) && element.data( 'cke-real-element-type' ) == 'iframe' ) evt.data.dialog = 'iframe'; }); if ( editor.addMenuItems ) { editor.addMenuItems( { iframe : { label : lang.title, command : 'iframe', group : 'image' } }); } // If the "contextmenu" plugin is loaded, register the listeners. if ( editor.contextMenu ) { editor.contextMenu.addListener( function( element, selection ) { if ( element && element.is( 'img' ) && element.data( 'cke-real-element-type' ) == 'iframe' ) return { iframe : CKEDITOR.TRISTATE_OFF }; }); } }, afterInit : function( editor ) { var dataProcessor = editor.dataProcessor, dataFilter = dataProcessor && dataProcessor.dataFilter; if ( dataFilter ) { dataFilter.addRules( { elements : { iframe : function( element ) { return editor.createFakeParserElement( element, 'cke_iframe', 'iframe', true ); } } }); } } }); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/iframe/plugin.js
JavaScript
asf20
2,143
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { // Map 'true' and 'false' values to match W3C's specifications // http://www.w3.org/TR/REC-html40/present/frames.html#h-16.5 var checkboxValues = { scrolling : { 'true' : 'yes', 'false' : 'no' }, frameborder : { 'true' : '1', 'false' : '0' } }; function loadValue( iframeNode ) { var isCheckbox = this instanceof CKEDITOR.ui.dialog.checkbox; if ( iframeNode.hasAttribute( this.id ) ) { var value = iframeNode.getAttribute( this.id ); if ( isCheckbox ) this.setValue( checkboxValues[ this.id ][ 'true' ] == value.toLowerCase() ); else this.setValue( value ); } } function commitValue( iframeNode ) { var isRemove = this.getValue() === '', isCheckbox = this instanceof CKEDITOR.ui.dialog.checkbox, value = this.getValue(); if ( isRemove ) iframeNode.removeAttribute( this.att || this.id ); else if ( isCheckbox ) iframeNode.setAttribute( this.id, checkboxValues[ this.id ][ value ] ); else iframeNode.setAttribute( this.att || this.id, value ); } CKEDITOR.dialog.add( 'iframe', function( editor ) { var iframeLang = editor.lang.iframe, commonLang = editor.lang.common, dialogadvtab = editor.plugins.dialogadvtab; return { title : iframeLang.title, minWidth : 350, minHeight : 260, onShow : function() { // Clear previously saved elements. this.fakeImage = this.iframeNode = null; var fakeImage = this.getSelectedElement(); if ( fakeImage && fakeImage.data( 'cke-real-element-type' ) && fakeImage.data( 'cke-real-element-type' ) == 'iframe' ) { this.fakeImage = fakeImage; var iframeNode = editor.restoreRealElement( fakeImage ); this.iframeNode = iframeNode; this.setupContent( iframeNode ); } }, onOk : function() { var iframeNode; if ( !this.fakeImage ) iframeNode = new CKEDITOR.dom.element( 'iframe' ); else iframeNode = this.iframeNode; // A subset of the specified attributes/styles // should also be applied on the fake element to // have better visual effect. (#5240) var extraStyles = {}, extraAttributes = {}; this.commitContent( iframeNode, extraStyles, extraAttributes ); // Refresh the fake image. var newFakeImage = editor.createFakeElement( iframeNode, 'cke_iframe', 'iframe', true ); newFakeImage.setAttributes( extraAttributes ); newFakeImage.setStyles( extraStyles ); if ( this.fakeImage ) { newFakeImage.replace( this.fakeImage ); editor.getSelection().selectElement( newFakeImage ); } else editor.insertElement( newFakeImage ); }, contents : [ { id : 'info', label : commonLang.generalTab, accessKey : 'I', elements : [ { type : 'vbox', padding : 0, children : [ { id : 'src', type : 'text', label : commonLang.url, required : true, validate : CKEDITOR.dialog.validate.notEmpty( iframeLang.noUrl ), setup : loadValue, commit : commitValue } ] }, { type : 'hbox', children : [ { id : 'width', type : 'text', style : 'width:100%', labelLayout : 'vertical', label : commonLang.width, validate : CKEDITOR.dialog.validate.htmlLength( commonLang.invalidHtmlLength.replace( '%1', commonLang.width ) ), setup : loadValue, commit : commitValue }, { id : 'height', type : 'text', style : 'width:100%', labelLayout : 'vertical', label : commonLang.height, validate : CKEDITOR.dialog.validate.htmlLength( commonLang.invalidHtmlLength.replace( '%1', commonLang.height ) ), setup : loadValue, commit : commitValue }, { id : 'align', type : 'select', 'default' : '', items : [ [ commonLang.notSet , '' ], [ commonLang.alignLeft , 'left' ], [ commonLang.alignRight , 'right' ], [ commonLang.alignTop , 'top' ], [ commonLang.alignMiddle , 'middle' ], [ commonLang.alignBottom , 'bottom' ] ], style : 'width:100%', labelLayout : 'vertical', label : commonLang.align, setup : function( iframeNode, fakeImage ) { loadValue.apply( this, arguments ); if ( fakeImage ) { var fakeImageAlign = fakeImage.getAttribute( 'align' ); this.setValue( fakeImageAlign && fakeImageAlign.toLowerCase() || '' ); } }, commit : function( iframeNode, extraStyles, extraAttributes ) { commitValue.apply( this, arguments ); if ( this.getValue() ) extraAttributes.align = this.getValue(); } } ] }, { type : 'hbox', widths : [ '50%', '50%' ], children : [ { id : 'scrolling', type : 'checkbox', label : iframeLang.scrolling, setup : loadValue, commit : commitValue }, { id : 'frameborder', type : 'checkbox', label : iframeLang.border, setup : loadValue, commit : commitValue } ] }, { type : 'hbox', widths : [ '50%', '50%' ], children : [ { id : 'name', type : 'text', label : commonLang.name, setup : loadValue, commit : commitValue }, { id : 'title', type : 'text', label : commonLang.advisoryTitle, setup : loadValue, commit : commitValue } ] }, { id : 'longdesc', type : 'text', label : commonLang.longDescr, setup : loadValue, commit : commitValue } ] }, dialogadvtab && dialogadvtab.createAdvancedTab( editor, { id:1, classes:1, styles:1 }) ] }; }); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/iframe/dialogs/iframe.js
JavaScript
asf20
6,454
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { CKEDITOR.plugins.liststyle = { requires : [ 'dialog' ], init : function( editor ) { editor.addCommand( 'numberedListStyle', new CKEDITOR.dialogCommand( 'numberedListStyle' ) ); CKEDITOR.dialog.add( 'numberedListStyle', this.path + 'dialogs/liststyle.js' ); editor.addCommand( 'bulletedListStyle', new CKEDITOR.dialogCommand( 'bulletedListStyle' ) ); CKEDITOR.dialog.add( 'bulletedListStyle', this.path + 'dialogs/liststyle.js' ); // If the "menu" plugin is loaded, register the menu items. if ( editor.addMenuItems ) { //Register map group; editor.addMenuGroup("list", 108); editor.addMenuItems( { numberedlist : { label : editor.lang.list.numberedTitle, group : 'list', command: 'numberedListStyle' }, bulletedlist : { label : editor.lang.list.bulletedTitle, group : 'list', command: 'bulletedListStyle' } }); } // If the "contextmenu" plugin is loaded, register the listeners. if ( editor.contextMenu ) { editor.contextMenu.addListener( function( element, selection ) { if ( !element || element.isReadOnly() ) return null; while ( element ) { var name = element.getName(); if ( name == 'ol' ) return { numberedlist: CKEDITOR.TRISTATE_OFF }; else if ( name == 'ul' ) return { bulletedlist: CKEDITOR.TRISTATE_OFF }; element = element.getParent(); } return null; }); } } }; CKEDITOR.plugins.add( 'liststyle', CKEDITOR.plugins.liststyle ); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/liststyle/plugin.js
JavaScript
asf20
1,822
/* * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { function getListElement( editor, listTag ) { var range; try { range = editor.getSelection().getRanges()[ 0 ]; } catch( e ) { return null; } range.shrink( CKEDITOR.SHRINK_TEXT ); return range.getCommonAncestor().getAscendant( listTag, 1 ); } var listItem = function( node ) { return node.type == CKEDITOR.NODE_ELEMENT && node.is( 'li' ); }; var mapListStyle = { 'a' : 'lower-alpha', 'A' : 'upper-alpha', 'i' : 'lower-roman', 'I' : 'upper-roman', '1' : 'decimal', 'disc' : 'disc', 'circle': 'circle', 'square' : 'square' }; function listStyle( editor, startupPage ) { var lang = editor.lang.list; if ( startupPage == 'bulletedListStyle' ) { return { title : lang.bulletedTitle, minWidth : 300, minHeight : 50, contents : [ { id : 'info', accessKey : 'I', elements : [ { type : 'select', label : lang.type, id : 'type', align : 'center', style : 'width:150px', items : [ [ lang.notset, '' ], [ lang.circle, 'circle' ], [ lang.disc, 'disc' ], [ lang.square, 'square' ] ], setup : function( element ) { var value = element.getStyle( 'list-style-type' ) || mapListStyle[ element.getAttribute( 'type' ) ] || element.getAttribute( 'type' ) || ''; this.setValue( value ); }, commit : function( element ) { var value = this.getValue(); if ( value ) element.setStyle( 'list-style-type', value ); else element.removeStyle( 'list-style-type' ); } } ] } ], onShow: function() { var editor = this.getParentEditor(), element = getListElement( editor, 'ul' ); element && this.setupContent( element ); }, onOk: function() { var editor = this.getParentEditor(), element = getListElement( editor, 'ul' ); element && this.commitContent( element ); } }; } else if ( startupPage == 'numberedListStyle' ) { var listStyleOptions = [ [ lang.notset, '' ], [ lang.lowerRoman, 'lower-roman' ], [ lang.upperRoman, 'upper-roman' ], [ lang.lowerAlpha, 'lower-alpha' ], [ lang.upperAlpha, 'upper-alpha' ], [ lang.decimal, 'decimal' ] ]; if ( !CKEDITOR.env.ie || CKEDITOR.env.version > 7 ) { listStyleOptions.concat( [ [ lang.armenian, 'armenian' ], [ lang.decimalLeadingZero, 'decimal-leading-zero' ], [ lang.georgian, 'georgian' ], [ lang.lowerGreek, 'lower-greek' ] ]); } return { title : lang.numberedTitle, minWidth : 300, minHeight : 50, contents : [ { id : 'info', accessKey : 'I', elements : [ { type : 'hbox', widths : [ '25%', '75%' ], children : [ { label : lang.start, type : 'text', id : 'start', validate : CKEDITOR.dialog.validate.integer( lang.validateStartNumber ), setup : function( element ) { // List item start number dominates. var value = element.getFirst( listItem ).getAttribute( 'value' ) || element.getAttribute( 'start' ) || 1; value && this.setValue( value ); }, commit : function( element ) { var firstItem = element.getFirst( listItem ); var oldStart = firstItem.getAttribute( 'value' ) || element.getAttribute( 'start' ) || 1; // Force start number on list root. element.getFirst( listItem ).removeAttribute( 'value' ); var val = parseInt( this.getValue(), 10 ); if ( isNaN( val ) ) element.removeAttribute( 'start' ); else element.setAttribute( 'start', val ); // Update consequent list item numbering. var nextItem = firstItem, conseq = oldStart, startNumber = isNaN( val ) ? 1 : val; while ( ( nextItem = nextItem.getNext( listItem ) ) && conseq++ ) { if ( nextItem.getAttribute( 'value' ) == conseq ) nextItem.setAttribute( 'value', startNumber + conseq - oldStart ); } } }, { type : 'select', label : lang.type, id : 'type', style : 'width: 100%;', items : listStyleOptions, setup : function( element ) { var value = element.getStyle( 'list-style-type' ) || mapListStyle[ element.getAttribute( 'type' ) ] || element.getAttribute( 'type' ) || ''; this.setValue( value ); }, commit : function( element ) { var value = this.getValue(); if ( value ) element.setStyle( 'list-style-type', value ); else element.removeStyle( 'list-style-type' ); } } ] } ] } ], onShow: function() { var editor = this.getParentEditor(), element = getListElement( editor, 'ol' ); element && this.setupContent( element ); }, onOk: function() { var editor = this.getParentEditor(), element = getListElement( editor, 'ol' ); element && this.commitContent( element ); } }; } } CKEDITOR.dialog.add( 'numberedListStyle', function( editor ) { return listStyle( editor, 'numberedListStyle' ); }); CKEDITOR.dialog.add( 'bulletedListStyle', function( editor ) { return listStyle( editor, 'bulletedListStyle' ); }); })();
zysms
trunk/zysms/include/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js
JavaScript
asf20
6,082
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { var cellNodeRegex = /^(?:td|th)$/; function getSelectedCells( selection ) { // Walker will try to split text nodes, which will make the current selection // invalid. So save bookmarks before doing anything. var bookmarks = selection.createBookmarks(); var ranges = selection.getRanges(); var retval = []; var database = {}; function moveOutOfCellGuard( node ) { // Apply to the first cell only. if ( retval.length > 0 ) return; // If we are exiting from the first </td>, then the td should definitely be // included. if ( node.type == CKEDITOR.NODE_ELEMENT && cellNodeRegex.test( node.getName() ) && !node.getCustomData( 'selected_cell' ) ) { CKEDITOR.dom.element.setMarker( database, node, 'selected_cell', true ); retval.push( node ); } } for ( var i = 0 ; i < ranges.length ; i++ ) { var range = ranges[ i ]; if ( range.collapsed ) { // Walker does not handle collapsed ranges yet - fall back to old API. var startNode = range.getCommonAncestor(); var nearestCell = startNode.getAscendant( 'td', true ) || startNode.getAscendant( 'th', true ); if ( nearestCell ) retval.push( nearestCell ); } else { var walker = new CKEDITOR.dom.walker( range ); var node; walker.guard = moveOutOfCellGuard; while ( ( node = walker.next() ) ) { // If may be possible for us to have a range like this: // <td>^1</td><td>^2</td> // The 2nd td shouldn't be included. // // So we have to take care to include a td we've entered only when we've // walked into its children. var parent = node.getAscendant( 'td' ) || node.getAscendant( 'th' ); if ( parent && !parent.getCustomData( 'selected_cell' ) ) { CKEDITOR.dom.element.setMarker( database, parent, 'selected_cell', true ); retval.push( parent ); } } } } CKEDITOR.dom.element.clearAllMarkers( database ); // Restore selection position. selection.selectBookmarks( bookmarks ); return retval; } function getFocusElementAfterDelCells( cellsToDelete ) { var i = 0, last = cellsToDelete.length - 1, database = {}, cell,focusedCell, tr; while ( ( cell = cellsToDelete[ i++ ] ) ) CKEDITOR.dom.element.setMarker( database, cell, 'delete_cell', true ); // 1.first we check left or right side focusable cell row by row; i = 0; while ( ( cell = cellsToDelete[ i++ ] ) ) { if ( ( focusedCell = cell.getPrevious() ) && !focusedCell.getCustomData( 'delete_cell' ) || ( focusedCell = cell.getNext() ) && !focusedCell.getCustomData( 'delete_cell' ) ) { CKEDITOR.dom.element.clearAllMarkers( database ); return focusedCell; } } CKEDITOR.dom.element.clearAllMarkers( database ); // 2. then we check the toppest row (outside the selection area square) focusable cell tr = cellsToDelete[ 0 ].getParent(); if ( ( tr = tr.getPrevious() ) ) return tr.getLast(); // 3. last we check the lowerest row focusable cell tr = cellsToDelete[ last ].getParent(); if ( ( tr = tr.getNext() ) ) return tr.getChild( 0 ); return null; } function insertRow( selection, insertBefore ) { var cells = getSelectedCells( selection ), firstCell = cells[ 0 ], table = firstCell.getAscendant( 'table' ), doc = firstCell.getDocument(), startRow = cells[ 0 ].getParent(), startRowIndex = startRow.$.rowIndex, lastCell = cells[ cells.length - 1 ], endRowIndex = lastCell.getParent().$.rowIndex + lastCell.$.rowSpan - 1, endRow = new CKEDITOR.dom.element( table.$.rows[ endRowIndex ] ), rowIndex = insertBefore ? startRowIndex : endRowIndex, row = insertBefore ? startRow : endRow; var map = CKEDITOR.tools.buildTableMap( table ), cloneRow = map[ rowIndex ], nextRow = insertBefore ? map[ rowIndex - 1 ] : map[ rowIndex + 1 ], width = map[0].length; var newRow = doc.createElement( 'tr' ); for ( var i = 0; cloneRow[ i ] && i < width; i++ ) { var cell; // Check whether there's a spanning row here, do not break it. if ( cloneRow[ i ].rowSpan > 1 && nextRow && cloneRow[ i ] == nextRow[ i ] ) { cell = cloneRow[ i ]; cell.rowSpan += 1; } else { cell = new CKEDITOR.dom.element( cloneRow[ i ] ).clone(); cell.removeAttribute( 'rowSpan' ); !CKEDITOR.env.ie && cell.appendBogus(); newRow.append( cell ); cell = cell.$; } i += cell.colSpan - 1; } insertBefore ? newRow.insertBefore( row ) : newRow.insertAfter( row ); } function deleteRows( selectionOrRow ) { if ( selectionOrRow instanceof CKEDITOR.dom.selection ) { var cells = getSelectedCells( selectionOrRow ), firstCell = cells[ 0 ], table = firstCell.getAscendant( 'table' ), map = CKEDITOR.tools.buildTableMap( table ), startRow = cells[ 0 ].getParent(), startRowIndex = startRow.$.rowIndex, lastCell = cells[ cells.length - 1 ], endRowIndex = lastCell.getParent().$.rowIndex + lastCell.$.rowSpan - 1, rowsToDelete = []; // Delete cell or reduce cell spans by checking through the table map. for ( var i = startRowIndex; i <= endRowIndex; i++ ) { var mapRow = map[ i ], row = new CKEDITOR.dom.element( table.$.rows[ i ] ); for ( var j = 0; j < mapRow.length; j++ ) { var cell = new CKEDITOR.dom.element( mapRow[ j ] ), cellRowIndex = cell.getParent().$.rowIndex; if ( cell.$.rowSpan == 1 ) cell.remove(); // Row spanned cell. else { // Span row of the cell, reduce spanning. cell.$.rowSpan -= 1; // Root row of the cell, root cell to next row. if ( cellRowIndex == i ) { var nextMapRow = map[ i + 1 ]; nextMapRow[ j - 1 ] ? cell.insertAfter( new CKEDITOR.dom.element( nextMapRow[ j - 1 ] ) ) : new CKEDITOR.dom.element( table.$.rows[ i + 1 ] ).append( cell, 1 ); } } j += cell.$.colSpan - 1; } rowsToDelete.push( row ); } var rows = table.$.rows; // Where to put the cursor after rows been deleted? // 1. Into next sibling row if any; // 2. Into previous sibling row if any; // 3. Into table's parent element if it's the very last row. var cursorPosition = new CKEDITOR.dom.element( rows[ endRowIndex + 1 ] || ( startRowIndex > 0 ? rows[ startRowIndex - 1 ] : null ) || table.$.parentNode ); for ( i = rowsToDelete.length ; i >= 0 ; i-- ) deleteRows( rowsToDelete[ i ] ); return cursorPosition; } else if ( selectionOrRow instanceof CKEDITOR.dom.element ) { table = selectionOrRow.getAscendant( 'table' ); if ( table.$.rows.length == 1 ) table.remove(); else selectionOrRow.remove(); } return null; } function getCellColIndex( cell, isStart ) { var row = cell.getParent(), rowCells = row.$.cells; var colIndex = 0; for ( var i = 0; i < rowCells.length; i++ ) { var mapCell = rowCells[ i ]; colIndex += isStart ? 1 : mapCell.colSpan; if ( mapCell == cell.$ ) break; } return colIndex -1; } function getColumnsIndices( cells, isStart ) { var retval = isStart ? Infinity : 0; for ( var i = 0; i < cells.length; i++ ) { var colIndex = getCellColIndex( cells[ i ], isStart ); if ( isStart ? colIndex < retval : colIndex > retval ) retval = colIndex; } return retval; } function insertColumn( selection, insertBefore ) { var cells = getSelectedCells( selection ), firstCell = cells[ 0 ], table = firstCell.getAscendant( 'table' ), startCol = getColumnsIndices( cells, 1 ), lastCol = getColumnsIndices( cells ), colIndex = insertBefore? startCol : lastCol; var map = CKEDITOR.tools.buildTableMap( table ), cloneCol = [], nextCol = [], height = map.length; for ( var i = 0; i < height; i++ ) { cloneCol.push( map[ i ][ colIndex ] ); var nextCell = insertBefore ? map[ i ][ colIndex - 1 ] : map[ i ][ colIndex + 1 ]; nextCell && nextCol.push( nextCell ); } for ( i = 0; i < height; i++ ) { var cell; // Check whether there's a spanning column here, do not break it. if ( cloneCol[ i ].colSpan > 1 && nextCol.length && nextCol[ i ] == cloneCol[ i ] ) { cell = cloneCol[ i ]; cell.colSpan += 1; } else { cell = new CKEDITOR.dom.element( cloneCol[ i ] ).clone(); cell.removeAttribute( 'colSpan' ); !CKEDITOR.env.ie && cell.appendBogus(); cell[ insertBefore? 'insertBefore' : 'insertAfter' ].call( cell, new CKEDITOR.dom.element ( cloneCol[ i ] ) ); cell = cell.$; } i += cell.rowSpan - 1; } } function deleteColumns( selectionOrCell ) { var cells = getSelectedCells( selectionOrCell ), firstCell = cells[ 0 ], lastCell = cells[ cells.length - 1 ], table = firstCell.getAscendant( 'table' ), map = CKEDITOR.tools.buildTableMap( table ), startColIndex, endColIndex, rowsToDelete = []; // Figure out selected cells' column indices. for ( var i = 0, rows = map.length; i < rows; i++ ) { for ( var j = 0, cols = map[ i ].length; j < cols; j++ ) { if ( map[ i ][ j ] == firstCell.$ ) startColIndex = j; if ( map[ i ][ j ] == lastCell.$ ) endColIndex = j; } } // Delete cell or reduce cell spans by checking through the table map. for ( i = startColIndex; i <= endColIndex; i++ ) { for ( j = 0; j < map.length; j++ ) { var mapRow = map[ j ], row = new CKEDITOR.dom.element( table.$.rows[ j ] ), cell = new CKEDITOR.dom.element( mapRow[ i ] ); if ( cell.$ ) { if ( cell.$.colSpan == 1 ) cell.remove(); // Reduce the col spans. else cell.$.colSpan -= 1; j += cell.$.rowSpan - 1; if ( !row.$.cells.length ) rowsToDelete.push( row ); } } } var firstRowCells = table.$.rows[ 0 ] && table.$.rows[ 0 ].cells; // Where to put the cursor after columns been deleted? // 1. Into next cell of the first row if any; // 2. Into previous cell of the first row if any; // 3. Into table's parent element; var cursorPosition = new CKEDITOR.dom.element( firstRowCells[ startColIndex ] || ( startColIndex ? firstRowCells[ startColIndex - 1 ] : table.$.parentNode ) ); // Delete table rows only if all columns are gone (do not remove empty row). if ( rowsToDelete.length == rows ) table.remove(); return cursorPosition; } function getFocusElementAfterDelCols( cells ) { var cellIndexList = [], table = cells[ 0 ] && cells[ 0 ].getAscendant( 'table' ), i, length, targetIndex, targetCell; // get the cellIndex list of delete cells for ( i = 0, length = cells.length; i < length; i++ ) cellIndexList.push( cells[i].$.cellIndex ); // get the focusable column index cellIndexList.sort(); for ( i = 1, length = cellIndexList.length; i < length; i++ ) { if ( cellIndexList[ i ] - cellIndexList[ i - 1 ] > 1 ) { targetIndex = cellIndexList[ i - 1 ] + 1; break; } } if ( !targetIndex ) targetIndex = cellIndexList[ 0 ] > 0 ? ( cellIndexList[ 0 ] - 1 ) : ( cellIndexList[ cellIndexList.length - 1 ] + 1 ); // scan row by row to get the target cell var rows = table.$.rows; for ( i = 0, length = rows.length; i < length ; i++ ) { targetCell = rows[ i ].cells[ targetIndex ]; if ( targetCell ) break; } return targetCell ? new CKEDITOR.dom.element( targetCell ) : table.getPrevious(); } function insertCell( selection, insertBefore ) { var startElement = selection.getStartElement(); var cell = startElement.getAscendant( 'td', 1 ) || startElement.getAscendant( 'th', 1 ); if ( !cell ) return; // Create the new cell element to be added. var newCell = cell.clone(); if ( !CKEDITOR.env.ie ) newCell.appendBogus(); if ( insertBefore ) newCell.insertBefore( cell ); else newCell.insertAfter( cell ); } function deleteCells( selectionOrCell ) { if ( selectionOrCell instanceof CKEDITOR.dom.selection ) { var cellsToDelete = getSelectedCells( selectionOrCell ); var table = cellsToDelete[ 0 ] && cellsToDelete[ 0 ].getAscendant( 'table' ); var cellToFocus = getFocusElementAfterDelCells( cellsToDelete ); for ( var i = cellsToDelete.length - 1 ; i >= 0 ; i-- ) deleteCells( cellsToDelete[ i ] ); if ( cellToFocus ) placeCursorInCell( cellToFocus, true ); else if ( table ) table.remove(); } else if ( selectionOrCell instanceof CKEDITOR.dom.element ) { var tr = selectionOrCell.getParent(); if ( tr.getChildCount() == 1 ) tr.remove(); else selectionOrCell.remove(); } } // Remove filler at end and empty spaces around the cell content. function trimCell( cell ) { var bogus = cell.getBogus(); bogus && bogus.remove(); cell.trim(); } function placeCursorInCell( cell, placeAtEnd ) { var range = new CKEDITOR.dom.range( cell.getDocument() ); if ( !range[ 'moveToElementEdit' + ( placeAtEnd ? 'End' : 'Start' ) ]( cell ) ) { range.selectNodeContents( cell ); range.collapse( placeAtEnd ? false : true ); } range.select( true ); } function cellInRow( tableMap, rowIndex, cell ) { var oRow = tableMap[ rowIndex ]; if ( typeof cell == 'undefined' ) return oRow; for ( var c = 0 ; oRow && c < oRow.length ; c++ ) { if ( cell.is && oRow[c] == cell.$ ) return c; else if ( c == cell ) return new CKEDITOR.dom.element( oRow[ c ] ); } return cell.is ? -1 : null; } function cellInCol( tableMap, colIndex, cell ) { var oCol = []; for ( var r = 0; r < tableMap.length; r++ ) { var row = tableMap[ r ]; if ( typeof cell == 'undefined' ) oCol.push( row[ colIndex ] ); else if ( cell.is && row[ colIndex ] == cell.$ ) return r; else if ( r == cell ) return new CKEDITOR.dom.element( row[ colIndex ] ); } return ( typeof cell == 'undefined' )? oCol : cell.is ? -1 : null; } function mergeCells( selection, mergeDirection, isDetect ) { var cells = getSelectedCells( selection ); // Invalid merge request if: // 1. In batch mode despite that less than two selected. // 2. In solo mode while not exactly only one selected. // 3. Cells distributed in different table groups (e.g. from both thead and tbody). var commonAncestor; if ( ( mergeDirection ? cells.length != 1 : cells.length < 2 ) || ( commonAncestor = selection.getCommonAncestor() ) && commonAncestor.type == CKEDITOR.NODE_ELEMENT && commonAncestor.is( 'table' ) ) { return false; } var cell, firstCell = cells[ 0 ], table = firstCell.getAscendant( 'table' ), map = CKEDITOR.tools.buildTableMap( table ), mapHeight = map.length, mapWidth = map[ 0 ].length, startRow = firstCell.getParent().$.rowIndex, startColumn = cellInRow( map, startRow, firstCell ); if ( mergeDirection ) { var targetCell; try { var rowspan = parseInt( firstCell.getAttribute( 'rowspan' ), 10 ) || 1; var colspan = parseInt( firstCell.getAttribute( 'colspan' ), 10 ) || 1; targetCell = map[ mergeDirection == 'up' ? ( startRow - rowspan ): mergeDirection == 'down' ? ( startRow + rowspan ) : startRow ] [ mergeDirection == 'left' ? ( startColumn - colspan ): mergeDirection == 'right' ? ( startColumn + colspan ) : startColumn ]; } catch( er ) { return false; } // 1. No cell could be merged. // 2. Same cell actually. if ( !targetCell || firstCell.$ == targetCell ) return false; // Sort in map order regardless of the DOM sequence. cells[ ( mergeDirection == 'up' || mergeDirection == 'left' ) ? 'unshift' : 'push' ]( new CKEDITOR.dom.element( targetCell ) ); } // Start from here are merging way ignorance (merge up/right, batch merge). var doc = firstCell.getDocument(), lastRowIndex = startRow, totalRowSpan = 0, totalColSpan = 0, // Use a documentFragment as buffer when appending cell contents. frag = !isDetect && new CKEDITOR.dom.documentFragment( doc ), dimension = 0; for ( var i = 0; i < cells.length; i++ ) { cell = cells[ i ]; var tr = cell.getParent(), cellFirstChild = cell.getFirst(), colSpan = cell.$.colSpan, rowSpan = cell.$.rowSpan, rowIndex = tr.$.rowIndex, colIndex = cellInRow( map, rowIndex, cell ); // Accumulated the actual places taken by all selected cells. dimension += colSpan * rowSpan; // Accumulated the maximum virtual spans from column and row. totalColSpan = Math.max( totalColSpan, colIndex - startColumn + colSpan ) ; totalRowSpan = Math.max( totalRowSpan, rowIndex - startRow + rowSpan ); if ( !isDetect ) { // Trim all cell fillers and check to remove empty cells. if ( trimCell( cell ), cell.getChildren().count() ) { // Merge vertically cells as two separated paragraphs. if ( rowIndex != lastRowIndex && cellFirstChild && !( cellFirstChild.isBlockBoundary && cellFirstChild.isBlockBoundary( { br : 1 } ) ) ) { var last = frag.getLast( CKEDITOR.dom.walker.whitespaces( true ) ); if ( last && !( last.is && last.is( 'br' ) ) ) frag.append( 'br' ); } cell.moveChildren( frag ); } i ? cell.remove() : cell.setHtml( '' ); } lastRowIndex = rowIndex; } if ( !isDetect ) { frag.moveChildren( firstCell ); if ( !CKEDITOR.env.ie ) firstCell.appendBogus(); if ( totalColSpan >= mapWidth ) firstCell.removeAttribute( 'rowSpan' ); else firstCell.$.rowSpan = totalRowSpan; if ( totalRowSpan >= mapHeight ) firstCell.removeAttribute( 'colSpan' ); else firstCell.$.colSpan = totalColSpan; // Swip empty <tr> left at the end of table due to the merging. var trs = new CKEDITOR.dom.nodeList( table.$.rows ), count = trs.count(); for ( i = count - 1; i >= 0; i-- ) { var tailTr = trs.getItem( i ); if ( !tailTr.$.cells.length ) { tailTr.remove(); count++; continue; } } return firstCell; } // Be able to merge cells only if actual dimension of selected // cells equals to the caculated rectangle. else return ( totalRowSpan * totalColSpan ) == dimension; } function verticalSplitCell ( selection, isDetect ) { var cells = getSelectedCells( selection ); if ( cells.length > 1 ) return false; else if ( isDetect ) return true; var cell = cells[ 0 ], tr = cell.getParent(), table = tr.getAscendant( 'table' ), map = CKEDITOR.tools.buildTableMap( table ), rowIndex = tr.$.rowIndex, colIndex = cellInRow( map, rowIndex, cell ), rowSpan = cell.$.rowSpan, newCell, newRowSpan, newCellRowSpan, newRowIndex; if ( rowSpan > 1 ) { newRowSpan = Math.ceil( rowSpan / 2 ); newCellRowSpan = Math.floor( rowSpan / 2 ); newRowIndex = rowIndex + newRowSpan; var newCellTr = new CKEDITOR.dom.element( table.$.rows[ newRowIndex ] ), newCellRow = cellInRow( map, newRowIndex ), candidateCell; newCell = cell.clone(); // Figure out where to insert the new cell by checking the vitual row. for ( var c = 0; c < newCellRow.length; c++ ) { candidateCell = newCellRow[ c ]; // Catch first cell actually following the column. if ( candidateCell.parentNode == newCellTr.$ && c > colIndex ) { newCell.insertBefore( new CKEDITOR.dom.element( candidateCell ) ); break; } else candidateCell = null; } // The destination row is empty, append at will. if ( !candidateCell ) newCellTr.append( newCell, true ); } else { newCellRowSpan = newRowSpan = 1; newCellTr = tr.clone(); newCellTr.insertAfter( tr ); newCellTr.append( newCell = cell.clone() ); var cellsInSameRow = cellInRow( map, rowIndex ); for ( var i = 0; i < cellsInSameRow.length; i++ ) cellsInSameRow[ i ].rowSpan++; } if ( !CKEDITOR.env.ie ) newCell.appendBogus(); cell.$.rowSpan = newRowSpan; newCell.$.rowSpan = newCellRowSpan; if ( newRowSpan == 1 ) cell.removeAttribute( 'rowSpan' ); if ( newCellRowSpan == 1 ) newCell.removeAttribute( 'rowSpan' ); return newCell; } function horizontalSplitCell( selection, isDetect ) { var cells = getSelectedCells( selection ); if ( cells.length > 1 ) return false; else if ( isDetect ) return true; var cell = cells[ 0 ], tr = cell.getParent(), table = tr.getAscendant( 'table' ), map = CKEDITOR.tools.buildTableMap( table ), rowIndex = tr.$.rowIndex, colIndex = cellInRow( map, rowIndex, cell ), colSpan = cell.$.colSpan, newCell, newColSpan, newCellColSpan; if ( colSpan > 1 ) { newColSpan = Math.ceil( colSpan / 2 ); newCellColSpan = Math.floor( colSpan / 2 ); } else { newCellColSpan = newColSpan = 1; var cellsInSameCol = cellInCol( map, colIndex ); for ( var i = 0; i < cellsInSameCol.length; i++ ) cellsInSameCol[ i ].colSpan++; } newCell = cell.clone(); newCell.insertAfter( cell ); if ( !CKEDITOR.env.ie ) newCell.appendBogus(); cell.$.colSpan = newColSpan; newCell.$.colSpan = newCellColSpan; if ( newColSpan == 1 ) cell.removeAttribute( 'colSpan' ); if ( newCellColSpan == 1 ) newCell.removeAttribute( 'colSpan' ); return newCell; } // Context menu on table caption incorrect (#3834) var contextMenuTags = { thead : 1, tbody : 1, tfoot : 1, td : 1, tr : 1, th : 1 }; CKEDITOR.plugins.tabletools = { init : function( editor ) { var lang = editor.lang.table; editor.addCommand( 'cellProperties', new CKEDITOR.dialogCommand( 'cellProperties' ) ); CKEDITOR.dialog.add( 'cellProperties', this.path + 'dialogs/tableCell.js' ); editor.addCommand( 'tableDelete', { exec : function( editor ) { var selection = editor.getSelection(), startElement = selection && selection.getStartElement(), table = startElement && startElement.getAscendant( 'table', 1 ); if ( !table ) return; // If the table's parent has only one child remove it as well (unless it's the body or a table cell) (#5416, #6289) var parent = table.getParent(); if ( parent.getChildCount() == 1 && !parent.is( 'body', 'td', 'th' ) ) table = parent; var range = new CKEDITOR.dom.range( editor.document ); range.moveToPosition( table, CKEDITOR.POSITION_BEFORE_START ); table.remove(); range.select(); } } ); editor.addCommand( 'rowDelete', { exec : function( editor ) { var selection = editor.getSelection(); placeCursorInCell( deleteRows( selection ) ); } } ); editor.addCommand( 'rowInsertBefore', { exec : function( editor ) { var selection = editor.getSelection(); insertRow( selection, true ); } } ); editor.addCommand( 'rowInsertAfter', { exec : function( editor ) { var selection = editor.getSelection(); insertRow( selection ); } } ); editor.addCommand( 'columnDelete', { exec : function( editor ) { var selection = editor.getSelection(); var element = deleteColumns( selection ); element && placeCursorInCell( element, true ); } } ); editor.addCommand( 'columnInsertBefore', { exec : function( editor ) { var selection = editor.getSelection(); insertColumn( selection, true ); } } ); editor.addCommand( 'columnInsertAfter', { exec : function( editor ) { var selection = editor.getSelection(); insertColumn( selection ); } } ); editor.addCommand( 'cellDelete', { exec : function( editor ) { var selection = editor.getSelection(); deleteCells( selection ); } } ); editor.addCommand( 'cellMerge', { exec : function( editor ) { placeCursorInCell( mergeCells( editor.getSelection() ), true ); } } ); editor.addCommand( 'cellMergeRight', { exec : function( editor ) { placeCursorInCell( mergeCells( editor.getSelection(), 'right' ), true ); } } ); editor.addCommand( 'cellMergeDown', { exec : function( editor ) { placeCursorInCell( mergeCells( editor.getSelection(), 'down' ), true ); } } ); editor.addCommand( 'cellVerticalSplit', { exec : function( editor ) { placeCursorInCell( verticalSplitCell( editor.getSelection() ) ); } } ); editor.addCommand( 'cellHorizontalSplit', { exec : function( editor ) { placeCursorInCell( horizontalSplitCell( editor.getSelection() ) ); } } ); editor.addCommand( 'cellInsertBefore', { exec : function( editor ) { var selection = editor.getSelection(); insertCell( selection, true ); } } ); editor.addCommand( 'cellInsertAfter', { exec : function( editor ) { var selection = editor.getSelection(); insertCell( selection ); } } ); // If the "menu" plugin is loaded, register the menu items. if ( editor.addMenuItems ) { editor.addMenuItems( { tablecell : { label : lang.cell.menu, group : 'tablecell', order : 1, getItems : function() { var selection = editor.getSelection(), cells = getSelectedCells( selection ); return { tablecell_insertBefore : CKEDITOR.TRISTATE_OFF, tablecell_insertAfter : CKEDITOR.TRISTATE_OFF, tablecell_delete : CKEDITOR.TRISTATE_OFF, tablecell_merge : mergeCells( selection, null, true ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED, tablecell_merge_right : mergeCells( selection, 'right', true ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED, tablecell_merge_down : mergeCells( selection, 'down', true ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED, tablecell_split_vertical : verticalSplitCell( selection, true ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED, tablecell_split_horizontal : horizontalSplitCell( selection, true ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED, tablecell_properties : cells.length > 0 ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED }; } }, tablecell_insertBefore : { label : lang.cell.insertBefore, group : 'tablecell', command : 'cellInsertBefore', order : 5 }, tablecell_insertAfter : { label : lang.cell.insertAfter, group : 'tablecell', command : 'cellInsertAfter', order : 10 }, tablecell_delete : { label : lang.cell.deleteCell, group : 'tablecell', command : 'cellDelete', order : 15 }, tablecell_merge : { label : lang.cell.merge, group : 'tablecell', command : 'cellMerge', order : 16 }, tablecell_merge_right : { label : lang.cell.mergeRight, group : 'tablecell', command : 'cellMergeRight', order : 17 }, tablecell_merge_down : { label : lang.cell.mergeDown, group : 'tablecell', command : 'cellMergeDown', order : 18 }, tablecell_split_horizontal : { label : lang.cell.splitHorizontal, group : 'tablecell', command : 'cellHorizontalSplit', order : 19 }, tablecell_split_vertical : { label : lang.cell.splitVertical, group : 'tablecell', command : 'cellVerticalSplit', order : 20 }, tablecell_properties : { label : lang.cell.title, group : 'tablecellproperties', command : 'cellProperties', order : 21 }, tablerow : { label : lang.row.menu, group : 'tablerow', order : 1, getItems : function() { return { tablerow_insertBefore : CKEDITOR.TRISTATE_OFF, tablerow_insertAfter : CKEDITOR.TRISTATE_OFF, tablerow_delete : CKEDITOR.TRISTATE_OFF }; } }, tablerow_insertBefore : { label : lang.row.insertBefore, group : 'tablerow', command : 'rowInsertBefore', order : 5 }, tablerow_insertAfter : { label : lang.row.insertAfter, group : 'tablerow', command : 'rowInsertAfter', order : 10 }, tablerow_delete : { label : lang.row.deleteRow, group : 'tablerow', command : 'rowDelete', order : 15 }, tablecolumn : { label : lang.column.menu, group : 'tablecolumn', order : 1, getItems : function() { return { tablecolumn_insertBefore : CKEDITOR.TRISTATE_OFF, tablecolumn_insertAfter : CKEDITOR.TRISTATE_OFF, tablecolumn_delete : CKEDITOR.TRISTATE_OFF }; } }, tablecolumn_insertBefore : { label : lang.column.insertBefore, group : 'tablecolumn', command : 'columnInsertBefore', order : 5 }, tablecolumn_insertAfter : { label : lang.column.insertAfter, group : 'tablecolumn', command : 'columnInsertAfter', order : 10 }, tablecolumn_delete : { label : lang.column.deleteColumn, group : 'tablecolumn', command : 'columnDelete', order : 15 } }); } // If the "contextmenu" plugin is laoded, register the listeners. if ( editor.contextMenu ) { editor.contextMenu.addListener( function( element, selection ) { if ( !element || element.isReadOnly() ) return null; while ( element ) { if ( element.getName() in contextMenuTags ) { return { tablecell : CKEDITOR.TRISTATE_OFF, tablerow : CKEDITOR.TRISTATE_OFF, tablecolumn : CKEDITOR.TRISTATE_OFF }; } element = element.getParent(); } return null; } ); } }, getSelectedCells : getSelectedCells }; CKEDITOR.plugins.add( 'tabletools', CKEDITOR.plugins.tabletools ); })(); /** * Create a two-dimension array that reflects the actual layout of table cells, * with cell spans, with mappings to the original td elements. * @param table {CKEDITOR.dom.element} */ CKEDITOR.tools.buildTableMap = function ( table ) { var aRows = table.$.rows ; // Row and Column counters. var r = -1 ; var aMap = []; for ( var i = 0 ; i < aRows.length ; i++ ) { r++ ; !aMap[r] && ( aMap[r] = [] ); var c = -1 ; for ( var j = 0 ; j < aRows[i].cells.length ; j++ ) { var oCell = aRows[i].cells[j] ; c++ ; while ( aMap[r][c] ) c++ ; var iColSpan = isNaN( oCell.colSpan ) ? 1 : oCell.colSpan ; var iRowSpan = isNaN( oCell.rowSpan ) ? 1 : oCell.rowSpan ; for ( var rs = 0 ; rs < iRowSpan ; rs++ ) { if ( !aMap[r + rs] ) aMap[r + rs] = []; for ( var cs = 0 ; cs < iColSpan ; cs++ ) { aMap[r + rs][c + cs] = aRows[i].cells[j] ; } } c += iColSpan - 1 ; } } return aMap ; };
zysms
trunk/zysms/include/ckeditor/_source/plugins/tabletools/plugin.js
JavaScript
asf20
32,576
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.dialog.add( 'cellProperties', function( editor ) { var langTable = editor.lang.table, langCell = langTable.cell, langCommon = editor.lang.common, validate = CKEDITOR.dialog.validate, widthPattern = /^(\d+(?:\.\d+)?)(px|%)$/, heightPattern = /^(\d+(?:\.\d+)?)px$/, bind = CKEDITOR.tools.bind, spacer = { type : 'html', html : '&nbsp;' }, rtl = editor.lang.dir == 'rtl'; /** * * @param dialogName * @param callback [ childDialog ] */ function getDialogValue( dialogName, callback ) { var onOk = function() { releaseHandlers( this ); callback( this, this._.parentDialog ); this._.parentDialog.changeFocus( true ); }; var onCancel = function() { releaseHandlers( this ); this._.parentDialog.changeFocus(); }; var releaseHandlers = function( dialog ) { dialog.removeListener( 'ok', onOk ); dialog.removeListener( 'cancel', onCancel ); }; var bindToDialog = function( dialog ) { dialog.on( 'ok', onOk ); dialog.on( 'cancel', onCancel ); }; editor.execCommand( dialogName ); if ( editor._.storedDialogs.colordialog ) bindToDialog( editor._.storedDialogs.colordialog ); else { CKEDITOR.on( 'dialogDefinition', function( e ) { if ( e.data.name != dialogName ) return; var definition = e.data.definition; e.removeListener(); definition.onLoad = CKEDITOR.tools.override( definition.onLoad, function( orginal ) { return function() { bindToDialog( this ); definition.onLoad = orginal; if ( typeof orginal == 'function' ) orginal.call( this ); }; } ); }); } } return { title : langCell.title, minWidth : CKEDITOR.env.ie && CKEDITOR.env.quirks? 450 : 410, minHeight : CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.quirks )? 230 : 200, contents : [ { id : 'info', label : langCell.title, accessKey : 'I', elements : [ { type : 'hbox', widths : [ '40%', '5%', '40%' ], children : [ { type : 'vbox', padding : 0, children : [ { type : 'hbox', widths : [ '70%', '30%' ], children : [ { type : 'text', id : 'width', width: '100px', label : langCommon.width, validate : validate[ 'number' ]( langCell.invalidWidth ), // Extra labelling of width unit type. onLoad : function() { var widthType = this.getDialog().getContentElement( 'info', 'widthType' ), labelElement = widthType.getElement(), inputElement = this.getInputElement(), ariaLabelledByAttr = inputElement.getAttribute( 'aria-labelledby' ); inputElement.setAttribute( 'aria-labelledby', [ ariaLabelledByAttr, labelElement.$.id ].join( ' ' ) ); }, setup : function( element ) { var widthAttr = parseInt( element.getAttribute( 'width' ), 10 ), widthStyle = parseInt( element.getStyle( 'width' ), 10 ); !isNaN( widthAttr ) && this.setValue( widthAttr ); !isNaN( widthStyle ) && this.setValue( widthStyle ); }, commit : function( element ) { var value = parseInt( this.getValue(), 10 ), unit = this.getDialog().getValueOf( 'info', 'widthType' ); if ( !isNaN( value ) ) element.setStyle( 'width', value + unit ); else element.removeStyle( 'width' ); element.removeAttribute( 'width' ); }, 'default' : '' }, { type : 'select', id : 'widthType', label : editor.lang.table.widthUnit, labelStyle: 'visibility:hidden', 'default' : 'px', items : [ [ langTable.widthPx, 'px' ], [ langTable.widthPc, '%' ] ], setup : function( selectedCell ) { var widthMatch = widthPattern.exec( selectedCell.getStyle( 'width' ) || selectedCell.getAttribute( 'width' ) ); if ( widthMatch ) this.setValue( widthMatch[2] ); } } ] }, { type : 'hbox', widths : [ '70%', '30%' ], children : [ { type : 'text', id : 'height', label : langCommon.height, width: '100px', 'default' : '', validate : validate[ 'number' ]( langCell.invalidHeight ), // Extra labelling of height unit type. onLoad : function() { var heightType = this.getDialog().getContentElement( 'info', 'htmlHeightType' ), labelElement = heightType.getElement(), inputElement = this.getInputElement(), ariaLabelledByAttr = inputElement.getAttribute( 'aria-labelledby' ); inputElement.setAttribute( 'aria-labelledby', [ ariaLabelledByAttr, labelElement.$.id ].join( ' ' ) ); }, setup : function( element ) { var heightAttr = parseInt( element.getAttribute( 'height' ), 10 ), heightStyle = parseInt( element.getStyle( 'height' ), 10 ); !isNaN( heightAttr ) && this.setValue( heightAttr ); !isNaN( heightStyle ) && this.setValue( heightStyle ); }, commit : function( element ) { var value = parseInt( this.getValue(), 10 ); if ( !isNaN( value ) ) element.setStyle( 'height', CKEDITOR.tools.cssLength( value ) ); else element.removeStyle( 'height' ); element.removeAttribute( 'height' ); } }, { id : 'htmlHeightType', type : 'html', html : '<br />'+ langTable.widthPx } ] }, spacer, { type : 'select', id : 'wordWrap', label : langCell.wordWrap, 'default' : 'yes', items : [ [ langCell.yes, 'yes' ], [ langCell.no, 'no' ] ], setup : function( element ) { var wordWrapAttr = element.getAttribute( 'noWrap' ), wordWrapStyle = element.getStyle( 'white-space' ); if ( wordWrapStyle == 'nowrap' || wordWrapAttr ) this.setValue( 'no' ); }, commit : function( element ) { if ( this.getValue() == 'no' ) element.setStyle( 'white-space', 'nowrap' ); else element.removeStyle( 'white-space' ); element.removeAttribute( 'noWrap' ); } }, spacer, { type : 'select', id : 'hAlign', label : langCell.hAlign, 'default' : '', items : [ [ langCommon.notSet, '' ], [ langCommon.alignLeft, 'left' ], [ langCommon.alignCenter, 'center' ], [ langCommon.alignRight, 'right' ] ], setup : function( element ) { var alignAttr = element.getAttribute( 'align' ), textAlignStyle = element.getStyle( 'text-align'); this.setValue( textAlignStyle || alignAttr || '' ); }, commit : function( selectedCell ) { var value = this.getValue(); if ( value ) selectedCell.setStyle( 'text-align', value ); else selectedCell.removeStyle( 'text-align' ); selectedCell.removeAttribute( 'align' ); } }, { type : 'select', id : 'vAlign', label : langCell.vAlign, 'default' : '', items : [ [ langCommon.notSet, '' ], [ langCommon.alignTop, 'top' ], [ langCommon.alignMiddle, 'middle' ], [ langCommon.alignBottom, 'bottom' ], [ langCell.alignBaseline, 'baseline' ] ], setup : function( element ) { var vAlignAttr = element.getAttribute( 'vAlign' ), vAlignStyle = element.getStyle( 'vertical-align' ); switch( vAlignStyle ) { // Ignore all other unrelated style values.. case 'top': case 'middle': case 'bottom': case 'baseline': break; default: vAlignStyle = ''; } this.setValue( vAlignStyle || vAlignAttr || '' ); }, commit : function( element ) { var value = this.getValue(); if ( value ) element.setStyle( 'vertical-align', value ); else element.removeStyle( 'vertical-align' ); element.removeAttribute( 'vAlign' ); } } ] }, spacer, { type : 'vbox', padding : 0, children : [ { type : 'select', id : 'cellType', label : langCell.cellType, 'default' : 'td', items : [ [ langCell.data, 'td' ], [ langCell.header, 'th' ] ], setup : function( selectedCell ) { this.setValue( selectedCell.getName() ); }, commit : function( selectedCell ) { selectedCell.renameNode( this.getValue() ); } }, spacer, { type : 'text', id : 'rowSpan', label : langCell.rowSpan, 'default' : '', validate : validate.integer( langCell.invalidRowSpan ), setup : function( selectedCell ) { var attrVal = parseInt( selectedCell.getAttribute( 'rowSpan' ), 10 ); if ( attrVal && attrVal != 1 ) this.setValue( attrVal ); }, commit : function( selectedCell ) { var value = parseInt( this.getValue(), 10 ); if ( value && value != 1 ) selectedCell.setAttribute( 'rowSpan', this.getValue() ); else selectedCell.removeAttribute( 'rowSpan' ); } }, { type : 'text', id : 'colSpan', label : langCell.colSpan, 'default' : '', validate : validate.integer( langCell.invalidColSpan ), setup : function( element ) { var attrVal = parseInt( element.getAttribute( 'colSpan' ), 10 ); if ( attrVal && attrVal != 1 ) this.setValue( attrVal ); }, commit : function( selectedCell ) { var value = parseInt( this.getValue(), 10 ); if ( value && value != 1 ) selectedCell.setAttribute( 'colSpan', this.getValue() ); else selectedCell.removeAttribute( 'colSpan' ); } }, spacer, { type : 'hbox', padding : 0, widths : [ '60%', '40%' ], children : [ { type : 'text', id : 'bgColor', label : langCell.bgColor, 'default' : '', setup : function( element ) { var bgColorAttr = element.getAttribute( 'bgColor' ), bgColorStyle = element.getStyle( 'background-color' ); this.setValue( bgColorStyle || bgColorAttr ); }, commit : function( selectedCell ) { var value = this.getValue(); if ( value ) selectedCell.setStyle( 'background-color', this.getValue() ); else selectedCell.removeStyle( 'background-color' ); selectedCell.removeAttribute( 'bgColor'); } }, { type : 'button', id : 'bgColorChoose', "class" : 'colorChooser', label : langCell.chooseColor, onLoad : function() { // Stick the element to the bottom (#5587) this.getElement().getParent().setStyle( 'vertical-align', 'bottom' ); }, onClick : function() { var self = this; getDialogValue( 'colordialog', function( colorDialog ) { self.getDialog().getContentElement( 'info', 'bgColor' ).setValue( colorDialog.getContentElement( 'picker', 'selectedColor' ).getValue() ); } ); } } ] }, spacer, { type : 'hbox', padding : 0, widths : [ '60%', '40%' ], children : [ { type : 'text', id : 'borderColor', label : langCell.borderColor, 'default' : '', setup : function( element ) { var borderColorAttr = element.getAttribute( 'borderColor' ), borderColorStyle = element.getStyle( 'border-color' ); this.setValue( borderColorStyle || borderColorAttr ); }, commit : function( selectedCell ) { var value = this.getValue(); if ( value ) selectedCell.setStyle( 'border-color', this.getValue() ); else selectedCell.removeStyle( 'border-color' ); selectedCell.removeAttribute( 'borderColor'); } }, { type : 'button', id : 'borderColorChoose', "class" : 'colorChooser', label : langCell.chooseColor, style : ( rtl ? 'margin-right' : 'margin-left' ) + ': 10px', onLoad : function() { // Stick the element to the bottom (#5587) this.getElement().getParent().setStyle( 'vertical-align', 'bottom' ); }, onClick : function() { var self = this; getDialogValue( 'colordialog', function( colorDialog ) { self.getDialog().getContentElement( 'info', 'borderColor' ).setValue( colorDialog.getContentElement( 'picker', 'selectedColor' ).getValue() ); } ); } } ] } ] } ] } ] } ], onShow : function() { this.cells = CKEDITOR.plugins.tabletools.getSelectedCells( this._.editor.getSelection() ); this.setupContent( this.cells[ 0 ] ); }, onOk : function() { var selection = this._.editor.getSelection(), bookmarks = selection.createBookmarks(); var cells = this.cells; for ( var i = 0 ; i < cells.length ; i++ ) this.commitContent( cells[ i ] ); selection.selectBookmarks( bookmarks ); // Force selectionChange event because of alignment style. var firstElement = selection.getStartElement(); var currentPath = new CKEDITOR.dom.elementPath( firstElement ); this._.editor._.selectionPreviousPath = currentPath; this._.editor.fire( 'selectionChange', { selection : selection, path : currentPath, element : firstElement } ); } }; } );
zysms
trunk/zysms/include/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js
JavaScript
asf20
16,720
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @file Image plugin */ CKEDITOR.plugins.add( 'image', { init : function( editor ) { var pluginName = 'image'; // Register the dialog. CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/image.js' ); // Register the command. editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName ) ); // Register the toolbar button. editor.ui.addButton( 'Image', { label : editor.lang.common.image, command : pluginName }); editor.on( 'doubleclick', function( evt ) { var element = evt.data.element; if ( element.is( 'img' ) && !element.data( 'cke-realelement' ) && !element.isReadOnly() ) evt.data.dialog = 'image'; }); // If the "menu" plugin is loaded, register the menu items. if ( editor.addMenuItems ) { editor.addMenuItems( { image : { label : editor.lang.image.menu, command : 'image', group : 'image' } }); } // If the "contextmenu" plugin is loaded, register the listeners. if ( editor.contextMenu ) { editor.contextMenu.addListener( function( element, selection ) { if ( !element || !element.is( 'img' ) || element.data( 'cke-realelement' ) || element.isReadOnly() ) return null; return { image : CKEDITOR.TRISTATE_OFF }; }); } } } ); /** * Whether to remove links when emptying the link URL field in the image dialog. * @type Boolean * @default true * @example * config.image_removeLinkByEmptyURL = false; */ CKEDITOR.config.image_removeLinkByEmptyURL = true; /** * Padding text to set off the image in preview area. * @name CKEDITOR.config.image_previewText * @type String * @default "Lorem ipsum dolor..." placehoder text. * @example * config.image_previewText = CKEDITOR.tools.repeat( '___ ', 100 ); */
zysms
trunk/zysms/include/ckeditor/_source/plugins/image/plugin.js
JavaScript
asf20
2,019