code
stringlengths 1
2.08M
| language
stringclasses 1
value |
|---|---|
/*
Copyright (c) 2003-2012, 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', // MISSING
editorHelp : '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 © $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
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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['mk'] =
{
/**
* 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', // MISSING
/*
* 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', // MISSING
editorHelp : 'Press ALT 0 for help', // MISSING
// ARIA descriptions.
toolbars : 'Editor toolbars', // MISSING
editor : 'Rich Text Editor', // MISSING
// Toolbar buttons without dialogs.
source : 'Source', // MISSING
newPage : 'New Page', // MISSING
save : 'Save', // MISSING
preview : 'Preview', // MISSING
cut : 'Cut', // MISSING
copy : 'Copy', // MISSING
paste : 'Paste', // MISSING
print : 'Print', // MISSING
underline : 'Underline', // MISSING
bold : 'Bold', // MISSING
italic : 'Italic', // MISSING
selectAll : 'Select All', // MISSING
removeFormat : 'Remove Format', // MISSING
strike : 'Strike Through', // MISSING
subscript : 'Subscript', // MISSING
superscript : 'Superscript', // MISSING
horizontalrule : 'Insert Horizontal Line', // MISSING
pagebreak : 'Insert Page Break for Printing', // MISSING
pagebreakAlt : 'Page Break', // MISSING
unlink : 'Unlink', // MISSING
undo : 'Undo', // MISSING
redo : 'Redo', // MISSING
// Common messages and labels.
common :
{
browseServer : 'Browse Server', // MISSING
url : 'URL', // MISSING
protocol : 'Protocol', // MISSING
upload : 'Upload', // MISSING
uploadSubmit : 'Send it to the Server', // MISSING
image : 'Image', // MISSING
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 : '<not set>', // MISSING
id : 'Id', // MISSING
name : 'Name', // MISSING
langDir : 'Language Direction', // MISSING
langDirLtr : 'Left to Right (LTR)', // MISSING
langDirRtl : 'Right to Left (RTL)', // MISSING
langCode : 'Language Code', // MISSING
longDescr : 'Long Description URL', // MISSING
cssClass : 'Stylesheet Classes', // MISSING
advisoryTitle : 'Advisory Title', // MISSING
cssStyle : 'Style', // MISSING
ok : 'OK', // MISSING
cancel : 'Cancel', // MISSING
close : 'Close', // MISSING
preview : 'Preview', // MISSING
generalTab : 'General', // MISSING
advancedTab : 'Advanced', // MISSING
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 : 'Width', // MISSING
height : 'Height', // MISSING
align : 'Alignment', // MISSING
alignLeft : 'Left', // MISSING
alignRight : 'Right', // MISSING
alignCenter : 'Center', // MISSING
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', // MISSING
title : 'Select Special Character', // MISSING
options : 'Special Character Options' // MISSING
},
// Link dialog.
link :
{
toolbar : 'Link', // MISSING
other : '<other>', // MISSING
menu : 'Edit Link', // MISSING
title : 'Link', // MISSING
info : 'Link Info', // MISSING
target : 'Target', // MISSING
upload : 'Upload', // MISSING
advanced : 'Advanced', // MISSING
type : 'Link Type', // MISSING
toUrl : 'URL', // MISSING
toAnchor : 'Link to anchor in the text', // MISSING
toEmail : 'E-mail', // MISSING
targetFrame : '<frame>', // MISSING
targetPopup : '<popup window>', // MISSING
targetFrameName : 'Target Frame Name', // MISSING
targetPopupName : 'Popup Window Name', // MISSING
popupFeatures : 'Popup Window Features', // MISSING
popupResizable : 'Resizable', // MISSING
popupStatusBar : 'Status Bar', // MISSING
popupLocationBar: 'Location Bar', // MISSING
popupToolbar : 'Toolbar', // MISSING
popupMenuBar : 'Menu Bar', // MISSING
popupFullScreen : 'Full Screen (IE)', // MISSING
popupScrollBars : 'Scroll Bars', // MISSING
popupDependent : 'Dependent (Netscape)', // MISSING
popupLeft : 'Left Position', // MISSING
popupTop : 'Top Position', // MISSING
id : 'Id', // MISSING
langDir : 'Language Direction', // MISSING
langDirLTR : 'Left to Right (LTR)', // MISSING
langDirRTL : 'Right to Left (RTL)', // MISSING
acccessKey : 'Access Key', // MISSING
name : 'Name', // MISSING
langCode : 'Language Code', // MISSING
tabIndex : 'Tab Index', // MISSING
advisoryTitle : 'Advisory Title', // MISSING
advisoryContentType : 'Advisory Content Type', // MISSING
cssClasses : 'Stylesheet Classes', // MISSING
charset : 'Linked Resource Charset', // MISSING
styles : 'Style', // MISSING
rel : 'Relationship', // MISSING
selectAnchor : 'Select an Anchor', // MISSING
anchorName : 'By Anchor Name', // MISSING
anchorId : 'By Element Id', // MISSING
emailAddress : 'E-Mail Address', // MISSING
emailSubject : 'Message Subject', // MISSING
emailBody : 'Message Body', // MISSING
noAnchors : '(No anchors available in the document)', // MISSING
noUrl : 'Please type the link URL', // MISSING
noEmail : 'Please type the e-mail address' // MISSING
},
// 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 : 'Find', // MISSING
replace : 'Replace', // MISSING
findWhat : 'Find what:', // MISSING
replaceWith : 'Replace with:', // MISSING
notFoundMsg : 'The specified text was not found.', // MISSING
findOptions : 'Find Options', // MISSING
matchCase : 'Match case', // MISSING
matchWord : 'Match whole word', // MISSING
matchCyclic : 'Match cyclic', // MISSING
replaceAll : 'Replace All', // MISSING
replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
},
// Table Dialog
table :
{
toolbar : 'Table', // MISSING
title : 'Table Properties', // MISSING
menu : 'Table Properties', // MISSING
deleteTable : 'Delete Table', // MISSING
rows : 'Rows', // MISSING
columns : 'Columns', // MISSING
border : 'Border size', // MISSING
widthPx : 'pixels', // MISSING
widthPc : 'percent', // MISSING
widthUnit : 'width unit', // MISSING
cellSpace : 'Cell spacing', // MISSING
cellPad : 'Cell padding', // MISSING
caption : 'Caption', // MISSING
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 : 'Delete Cells', // MISSING
merge : 'Merge Cells', // MISSING
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 : 'Delete Rows' // MISSING
},
column :
{
menu : 'Column', // MISSING
insertBefore : 'Insert Column Before', // MISSING
insertAfter : 'Insert Column After', // MISSING
deleteColumn : 'Delete Columns' // MISSING
}
},
// 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 : 'Image Properties', // MISSING
titleButton : 'Image Button Properties', // MISSING
menu : 'Image Properties', // MISSING
infoTab : 'Image Info', // MISSING
btnUpload : 'Send it to the Server', // MISSING
upload : 'Upload', // MISSING
alt : 'Alternative Text', // MISSING
lockRatio : 'Lock Ratio', // MISSING
resetSize : 'Reset Size', // MISSING
border : 'Border', // MISSING
hSpace : 'HSpace', // MISSING
vSpace : 'VSpace', // MISSING
alertUrl : 'Please type the image URL', // MISSING
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 Bottom', // MISSING
alignAbsMiddle : 'Abs Middle', // MISSING
alignBaseline : 'Baseline', // MISSING
alignTextTop : 'Text Top', // MISSING
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 : 'Background color', // MISSING
hSpace : 'HSpace', // MISSING
vSpace : 'VSpace', // MISSING
validateSrc : 'URL must not be empty.', // MISSING
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 : 'Smiley', // MISSING
title : 'Insert a Smiley', // MISSING
options : 'Smiley Options' // MISSING
},
elementsPath :
{
eleLabel : 'Elements path', // MISSING
eleTitle : '%1 element' // MISSING
},
numberedlist : 'Insert/Remove Numbered List', // MISSING
bulletedlist : 'Insert/Remove Bulleted List', // MISSING
indent : 'Increase Indent', // MISSING
outdent : 'Decrease Indent', // MISSING
justify :
{
left : 'Align Left', // MISSING
center : 'Center', // MISSING
right : 'Align Right', // MISSING
block : 'Justify' // MISSING
},
blockquote : 'Block Quote', // MISSING
clipboard :
{
title : 'Paste', // MISSING
cutError : 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).', // MISSING
copyError : 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).', // MISSING
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 : 'Paste from Word', // MISSING
title : 'Paste from Word', // MISSING
error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
},
pasteText :
{
button : 'Paste as plain text', // MISSING
title : 'Paste as Plain Text' // MISSING
},
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 : 'Styles', // MISSING
panelTitle : 'Formatting Styles', // MISSING
panelTitle1 : 'Block Styles', // MISSING
panelTitle2 : 'Inline Styles', // MISSING
panelTitle3 : 'Object Styles' // MISSING
},
format :
{
label : 'Format', // MISSING
panelTitle : 'Paragraph Format', // MISSING
tag_p : 'Normal', // MISSING
tag_pre : 'Formatted', // MISSING
tag_address : 'Address', // MISSING
tag_h1 : 'Heading 1', // MISSING
tag_h2 : 'Heading 2', // MISSING
tag_h3 : 'Heading 3', // MISSING
tag_h4 : 'Heading 4', // MISSING
tag_h5 : 'Heading 5', // MISSING
tag_h6 : 'Heading 6', // MISSING
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', // MISSING
voiceLabel : 'Font', // MISSING
panelTitle : 'Font Name' // MISSING
},
fontSize :
{
label : 'Size', // MISSING
voiceLabel : 'Font Size', // MISSING
panelTitle : 'Font Size' // MISSING
},
colorButton :
{
textColorTitle : 'Text Color', // MISSING
bgColorTitle : 'Background Color', // MISSING
panelTitle : 'Colors', // MISSING
auto : 'Automatic', // MISSING
more : 'More Colors...' // MISSING
},
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 © $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
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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 : 'Rich text editor, %1', // MISSING
editorHelp : 'Press ALT 0 for help', // MISSING
// 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 : 'حق نشر © $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>'
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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', // MISSING
editorHelp : 'Press ALT 0 for help', // MISSING
// ARIA descriptions.
toolbars : 'Editează bara de unelte',
editor : 'Rich Text Editor',
// 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 orizontală',
pagebreak : 'Inserează separator de pagină (Page Break)',
pagebreakAlt : 'Page Break',
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 : 'OK',
cancel : 'Anulare',
close : 'Închide',
preview : 'Previzualizare',
generalTab : 'General',
advancedTab : 'Avansat',
validateNumberFailed : 'Această valoare nu este un număr.',
confirmNewPage : 'Orice modificări nesalvate ale acestui conținut, vor fi pierdute. Sigur doriți încărcarea unei noi pagini?',
confirmCancel : 'Câteva opțiuni au fost schimbate. Sigur doriți să închideți dialogul?',
options : 'Opțiuni',
target : 'Țintă',
targetNew : 'Fereastră nouă (_blank)',
targetTop : 'Topmost Window (_top)',
targetSelf : 'În aceeași fereastră (_self)',
targetParent : 'Parent Window (_parent)',
langDirLTR : 'Stânga spre Dreapta (LTR)',
langDirRTL : 'Dreapta spre Stânga (RTL)',
styles : 'Stil',
cssClasses : 'Stylesheet Classes',
width : 'Lăţime',
height : 'Înălţime',
align : 'Aliniere',
alignLeft : 'Mărește Bara',
alignRight : 'Dreapta',
alignCenter : 'Centru',
alignTop : 'Sus',
alignMiddle : 'Mijloc',
alignBottom : 'Jos',
invalidHeight : 'Înălțimea trebuie să fie un număr.',
invalidWidth : 'Lățimea trebuie să fie un număr.',
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 : 'Opțiuni Meniu Contextual'
},
// Special char dialog.
specialChar :
{
toolbar : 'Inserează caracter special',
title : 'Selectează caracter special',
options : 'Opțiuni caractere speciale'
},
// 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',
toAnchor : 'Ancoră în această pagină',
toEmail : 'E-Mail',
targetFrame : '<frame>',
targetPopup : '<fereastra popup>',
targetFrameName : 'Numele frameului ţintă',
targetPopupName : 'Numele ferestrei popup',
popupFeatures : 'Proprietăţile ferestrei popup',
popupResizable : 'Redimensionabil',
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 : 'Bare de derulare',
popupDependent : 'Dependent (Netscape)',
popupLeft : 'Poziţia la stânga',
popupTop : 'Poziţia la dreapta',
id : 'Id',
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 : 'Relație',
selectAnchor : 'Selectaţi o ancoră',
anchorName : 'după numele ancorei',
anchorId : 'după Id-ul elementului',
emailAddress : 'Adresă de e-mail',
emailSubject : 'Subiectul mesajului',
emailBody : 'Opțiuni Meniu Contextual',
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 : 'Elimină ancora'
},
// List style dialog
list:
{
numberedTitle : 'Proprietățile listei numerotate',
bulletedTitle : 'Proprietățile listei cu simboluri',
type : 'Tip',
start : 'Start',
validateStartNumber :'Începutul listei trebuie să fie un număr întreg.',
circle : 'Cerc',
disc : 'Disc',
square : 'Pătrat',
none : 'Nimic',
notset : '<nesetat>',
armenian : 'Numerotare armeniană',
georgian : 'Numerotare georgiană (an, ban, gan, etc.)',
lowerRoman : 'Cifre romane mici (i, ii, iii, iv, v, etc.)',
upperRoman : 'Cifre romane mari (I, II, III, IV, V, etc.)',
lowerAlpha : 'Litere mici (a, b, c, d, e, etc.)',
upperAlpha : 'Litere mari (A, B, C, D, E, etc.)',
lowerGreek : 'Litere grecești mici (alpha, beta, gamma, etc.)',
decimal : 'Decimale (1, 2, 3, etc.)',
decimalLeadingZero : 'Decimale cu zero în față (01, 02, 03, etc.)'
},
// 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 : 'Potrivește ciclic',
replaceAll : 'Înlocuieşte tot',
replaceSuccessMsg : '%1 căutări înlocuite.'
},
// Table Dialog
table :
{
toolbar : 'Tabel',
title : 'Proprietăţile tabelului',
menu : 'Proprietăţile tabelului',
deleteTable : 'Şterge tabel',
rows : 'Rânduri',
columns : 'Coloane',
border : 'Mărimea marginii',
widthPx : 'pixeli',
widthPc : 'procente',
widthUnit : 'unitate lățime',
cellSpace : 'Spaţiu între celule',
cellPad : 'Spaţiu în cadrul celulei',
caption : 'Titlu (Caption)',
summary : 'Rezumat',
headers : 'Antente',
headersNone : 'Nimic',
headersColumn : 'Prima coloană',
headersRow : 'Primul rând',
headersBoth : 'Ambele',
invalidRows : 'Numărul rândurilor trebuie să fie mai mare decât 0.',
invalidCols : 'Numărul coloanelor trebuie să fie mai mare decât 0.',
invalidBorder : 'Dimensiunea bordurii trebuie să aibe un număr.',
invalidWidth : 'Lățimea tabelului trebuie să fie un număr.',
invalidHeight : 'Table height must be a number.', // MISSING
invalidCellSpacing : 'Spațierea celului trebuie să fie un număr pozitiv.',
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 : 'Proprietăți celulă',
cellType : 'Tipul celulei',
rowSpan : 'Rows Span', // MISSING
colSpan : 'Columns Span', // MISSING
wordWrap : 'Word Wrap', // MISSING
hAlign : 'Aliniament orizontal',
vAlign : 'Aliniament vertical',
alignBaseline : 'Baseline', // MISSING
bgColor : 'Culoare fundal',
borderColor : 'Culoare bordură',
data : 'Data',
header : 'Antet',
yes : 'Da',
no : 'Nu',
invalidWidth : 'Lățimea celulei trebuie să fie un număr.',
invalidHeight : 'Înălțimea celulei trebuie să fie un număr.',
invalidRowSpan : 'Rows span must be a whole number.', // MISSING
invalidColSpan : 'Columns span must be a whole number.', // MISSING
chooseColor : 'Alege'
},
row :
{
menu : 'Rând',
insertBefore : 'Inserează rând înainte',
insertAfter : 'Inserează rând după',
deleteRow : 'Şterge rânduri'
},
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 : 'Buton',
typeSbm : 'Trimite',
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 : 'Encodare'
},
// 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 : 'Sursa URL a imaginii lipsește.',
validateBorder : 'Bordura trebuie să fie un număr întreg.',
validateHSpace : 'Hspace trebuie să fie un număr întreg.',
validateVSpace : 'Vspace trebuie să fie un număr întreg.'
},
// Flash Dialog
flash :
{
properties : 'Proprietăţile flashului',
propertiesTab : 'Proprietăți',
title : 'Proprietăţile flashului',
chkPlay : 'Rulează automat',
chkLoop : 'Repetă (Loop)',
chkMenu : 'Activează meniul flash',
chkFull : 'Permite pe tot ecranul',
scale : 'Scală',
scaleAll : 'Arată tot',
scaleNoBorder : 'Fără bordură (No border)',
scaleFit : 'Potriveşte',
access : 'Acces script',
accessAlways : 'Întotdeauna',
accessSameDomain: 'Același domeniu',
accessNever : 'Niciodată',
alignAbsBottom : 'Jos absolut (Abs Bottom)',
alignAbsMiddle : 'Mijloc absolut (Abs Middle)',
alignBaseline : 'Linia de jos (Baseline)',
alignTextTop : 'Text sus',
quality : 'Calitate',
qualityBest : 'Cea mai bună',
qualityHigh : 'Înaltă',
qualityAutoHigh : 'Auto înaltă',
qualityMedium : 'Medie',
qualityAutoLow : 'Auto Joasă',
qualityLow : 'Joasă',
windowModeWindow: 'Fereastră',
windowModeOpaque: 'Opacă',
windowModeTransparent : 'Transparentă',
windowMode : 'Mod fereastră',
flashvars : 'Variabile pentru flash',
bgcolor : 'Coloarea fundalului',
hSpace : 'HSpace',
vSpace : 'VSpace',
validateSrc : 'Vă rugăm să scrieţi URL-ul',
validateHSpace : 'Hspace trebuie să fie un număr.',
validateVSpace : 'VSpace trebuie să fie un număr'
},
// Speller Pages Dialog
spellCheck :
{
toolbar : 'Verifică scrierea textului',
title : 'Spell Check', // MISSING
notAvailable : 'Scuzați, dar serviciul nu este disponibil momentan.',
errorLoading : 'Eroare în lansarea aplicației service host %s.',
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 : 'Opțiuni figuri expresive'
},
elementsPath :
{
eleLabel : 'Calea elementelor',
eleTitle : '%1 element' // MISSING
},
numberedlist : 'Inserează / Elimină Listă numerotată',
bulletedlist : 'Inserează / Elimină 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 OK',
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 : 'Suprafața de adăugare'
},
pastefromword :
{
confirmCleanup : 'Textul pe care doriți să-l lipiți este din Word. Doriți curățarea textului înante de a-l adăuga?',
toolbar : 'Adaugă din Word',
title : 'Adaugă din Word',
error : 'Nu a fost posibilă curățarea datelor adăugate datorită unei erori interne'
},
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 : 'Opțiuni șabloane',
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 : 'Formatarea stilurilor',
panelTitle1 : 'Block Styles', // MISSING
panelTitle2 : 'Inline Styles', // MISSING
panelTitle3 : 'Object Styles' // MISSING
},
format :
{
label : 'Formatare',
panelTitle : 'Formatare',
tag_p : 'Normal',
tag_pre : 'Formatat',
tag_address : 'Adresă',
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 : 'Stil',
IdInputLabel : 'Id',
languageCodeInputLabel : 'Codul limbii',
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 © $1. All rights reserved.' // MISSING
},
maximize : 'Mărește',
minimize : 'Micșorează',
fakeobjects :
{
anchor : 'Anchor', // MISSING
flash : 'Flash Animation', // MISSING
iframe : 'IFrame', // MISSING
hiddenfield : 'Hidden Field', // MISSING
unknown : 'Unknown Object' // MISSING
},
resize : 'Trage pentru a redimensiona',
colordialog :
{
title : 'Select color', // MISSING
options : 'Color Options', // MISSING
highlight : 'Highlight', // MISSING
selected : 'Selected Color', // MISSING
clear : 'Clear' // MISSING
},
toolbarCollapse : 'Micșorează Bara',
toolbarExpand : 'Mărește Bara',
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
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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 : 'Vormindatud teksti redaktor %1',
editorHelp : 'Abi saamiseks 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 : 'Sisesta väärtus pikslites või number koos sobiva CSS-i ühikuga (px, %, in, cm, mm, em, ex, pt või pc).',
// 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 © $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>'
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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', // MISSING
editorHelp : '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 © $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
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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', // MISSING
editorHelp : '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 © $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
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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 : 'Rich text editor, %1', // MISSING
editorHelp : 'Press ALT 0 for help', // MISSING
// 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 © $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>'
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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', // MISSING
editorHelp : 'Press ALT 0 for help', // MISSING
// 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 : '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 : '关闭',
preview : '预览',
generalTab : '一般',
advancedTab : '進階',
validateNumberFailed : '需要輸入數字格式',
confirmNewPage : '現存的修改尚未儲存,要開新檔案?',
confirmCancel : '部份選項尚未儲存,要關閉對話盒?',
options : '选项',
target : '目标',
targetNew : '新窗口(_blank)',
targetTop : '整页(_top)',
targetSelf : '本窗口(_self)',
targetParent : '父窗口(_parent)',
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 © $1. All rights reserved.'
},
maximize : '最大化',
minimize : '最小化',
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 : '折叠工具栏',
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 : '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
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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', // MISSING
editorHelp : 'Press ALT 0 for help', // MISSING
// 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 : 'अधिक विवरण के लिए 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 © $1. All rights reserved.' // MISSING
},
maximize : 'मेक्सिमाईज़',
minimize : 'मिनिमाईज़',
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
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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', // MISSING
editorHelp : '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 © $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
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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', // MISSING
editorHelp : '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 © $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
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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', // MISSING
editorHelp : '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 © $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
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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', // MISSING
editorHelp : '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 : 'أغلق',
preview : 'استعراض',
generalTab : 'عام',
advancedTab : 'متقدم',
validateNumberFailed : 'لايوجد نتيجة',
confirmNewPage : 'ستفقد أي متغييرات اذا لم تقم بحفظها اولا. هل أنت متأكد أنك تريد صفحة جديدة؟',
confirmCancel : 'بعض الخيارات قد تغيرت. هل أنت متأكد من إغلاق مربع النص؟',
options : 'خيارات',
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 : 'حقوق النشر © $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
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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 : 'Rich text editor, %1', // MISSING
editorHelp : 'Press ALT 0 for help', // MISSING
// 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 : '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 : 'Значення, вказане для "%1" в полі повинно бути позитивним числом або без дійсного виміру CSS блоку (px, %, in, cm, mm, em, ex, pt, or pc).',
invalidHtmlLength : 'Значення, вказане для "%1" в полі повинно бути позитивним числом або без дійсного виміру HTML блоку (px or %).',
invalidInlineStyle : 'Значення, вказане для вбудованого стилю повинне складатися з одного чи кількох кортежів у форматі "ім\'я : значення", розділених крапкою з комою.',
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 : 'Клас CSS',
charset : 'Кодування',
styles : 'Стиль CSS',
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 і т.д.)',
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 : 'Параметри Пошуку',
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',
toolbar : 'IFrame',
noUrl : 'Будь ласка введіть посилання для IFrame',
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 : 'Перефірка орфографії по мірі набору',
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 : 'Перевірте $1 для допомоги.',
userGuide : 'Інструкція Користувача для CKEditor',
moreInfo : 'Щодо інформації з ліцензування завітайте на наш сайт:',
copy : 'Copyright © $1. Всі права застережено.'
},
maximize : 'Максимізувати',
minimize : 'Мінімізувати',
fakeobjects :
{
anchor : 'Якір',
flash : '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>'
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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',
editorHelp : 'Stiskněte ALT 0 pro nápovědu',
// ARIA descriptions.
toolbars : 'Panely nástrojů editoru',
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 : 'Směr jazyka',
langDirLtr : 'Zleva doprava (LTR)',
langDirRtl : 'Zprava doleva (RTL)',
langCode : 'Kód jazyka',
longDescr : 'Dlouhý popis URL',
cssClass : 'Třída stylu',
advisoryTitle : 'Pomocný titulek',
cssStyle : 'Styl',
ok : 'OK',
cancel : 'Zrušit',
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ě chcete otevřít novou stránku?',
confirmCancel : 'Některá z nastavení byla změněna. Skutečně chcete 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é okno (_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 : 'Šířka musí být číslo.',
invalidCssLength : 'Hodnota určená pro pole "%1" musí být kladné číslo bez nebo s platnou jednotkou míry CSS (px, %, in, cm, mm, em, ex, pt, nebo pc).',
invalidHtmlLength : 'Hodnota určená pro pole "%1" musí být kladné číslo bez nebo s platnou jednotkou míry HTML (px nebo %).',
invalidInlineStyle : 'Hodnota určená pro řádkový styl se musí skládat z jedné nebo více n-tic ve formátu "název : hodnota", oddělené středníky',
cssLengthTooltip : 'Zadejte číslo jako hodnotu v pixelech nebo číslo s platnou jednotkou CSS (px, %, v cm, mm, em, ex, pt, nebo pc).',
// 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 : '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 : 'Směr jazyka',
langDirLTR : 'Zleva doprava (LTR)',
langDirRTL : 'Zprava doleva (RTL)',
acccessKey : 'Přístupový klíč',
name : 'Jméno',
langCode : 'Kód 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 : 'Vztah',
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 : 'Záložka',
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 : 'Odstranit záložku'
},
// 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 : 'Možnosti hledání',
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 : 'Šířka tabulky musí být číslo.',
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 : 'Šířka buňky musí být číslo.',
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 : 'Horizontální mezera',
vSpace : 'Vertikální 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 : 'Horizontální mezera musí být nastavena v celých číslech.',
validateVSpace : 'Vertikální 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 : 'Horizontální mezera',
vSpace : 'Vertikální mezera',
validateSrc : 'Zadejte prosím URL odkazu',
validateHSpace : 'Zadaná horizontální mezera musí být číslo.',
validateVSpace : 'Zadaná vertikální 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íci',
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 vklá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 : 'Směr jazyka',
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' : 'Azurová',
'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' : 'Levandulová',
'FFF' : 'Bílá'
},
scayt :
{
title : 'Kontrola pravopisu během psaní (SCAYT)',
opera_title : 'Toto Opera nepodporuje',
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 tvořená 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 : 'Prohlédněte si $1 pro nápovědu.',
userGuide : 'Uživatelská příručka CKEditor',
moreInfo : 'Pro informace o lincenci navštivte naši webovou stránku:',
copy : 'Copyright © $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 : 'Dokument',
clipboard : 'Schránka/Zpět',
editing : 'Úpravy',
forms : 'Formuláře',
basicstyles : 'Základní styly',
paragraph : 'Odstavec',
links : 'Odkazy',
insert : 'Vložit',
styles : 'Styly',
colors : 'Barvy',
tools : 'Nástroje'
},
bidi :
{
ltr : 'Směr textu zleva doprava',
rtl : 'Směr textu zprava doleva'
},
docprops :
{
label : 'Vlastnosti dokumentu',
title : 'Vlastnosti dokumentu',
design : 'Vzhled',
meta : 'Metadata',
chooseColor : 'Výběr',
other : '<jiný>',
docTitle : 'Titulek stránky',
charset : 'Znaková sada',
charsetOther : 'Další znaková sada',
charsetASCII : 'ASCII',
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)',
charsetWE : 'Západoevropské jazyky',
docType : 'Typ dokumentu',
docTypeOther : 'Jiný typ dokumetu',
xhtmlDec : 'Zahrnout deklarace XHTML',
bgColor : 'Barva pozadí',
bgImage : 'URL obrázku na pozadí',
bgFixed : 'Nerolovatelné (Pevné) 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>Toto je <strong>ukázkový text</strong>. Používáte <a href="javascript:void(0)">CKEditor</a>.</p>'
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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', // MISSING
editorHelp : 'Press ALT 0 for help', // MISSING
// ARIA descriptions.
toolbars : 'Editor de barras de ferramentas',
editor : 'Editor de texto enriquecido',
// 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 : 'Quebra de página',
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 : 'Fechar',
preview : 'Pré-visualização',
generalTab : 'Geral',
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 : 'Opções',
target : 'Alvo',
targetNew : 'Nova Janela (_blank)',
targetTop : 'Janela superior (_top)',
targetSelf : 'Mesma janela (_self)',
targetParent : 'Parent Window (_parent)', // MISSING
langDirLTR : 'Left to Right (LTR)', // MISSING
langDirRTL : 'Direita para Esquerda (RTL)',
styles : 'Estilo',
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 : 'Menu de opções de contexto'
},
// 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',
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 : 'Redimensionável',
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',
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 : 'Relação',
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 : 'Tipo',
start : 'Iniciar',
validateStartNumber :'List start number must be a whole number.', // MISSING
circle : 'Círculo',
disc : 'Disco',
square : 'Quadrado',
none : 'Nenhum',
notset : '<not set>',
armenian : 'Numeração armênia',
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 : 'Bloco de citação',
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 : 'Exibir blocos',
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 © $1. All rights reserved.' // MISSING
},
maximize : 'Maximizar',
minimize : 'Minimizar',
fakeobjects :
{
anchor : 'Anchor', // MISSING
flash : 'Flash Animation', // MISSING
iframe : 'IFrame', // MISSING
hiddenfield : 'Hidden Field', // MISSING
unknown : 'Unknown Object' // MISSING
},
resize : 'Arraste para redimensionar',
colordialog :
{
title : 'Select color', // MISSING
options : 'Color Options', // MISSING
highlight : 'Highlight', // MISSING
selected : 'Selected Color', // MISSING
clear : 'Clear' // MISSING
},
toolbarCollapse : 'Colapsar Barra',
toolbarExpand : 'Expandir Barra',
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
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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 rico, %1',
editorHelp : 'Pressione ALT+0 para 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 © $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>'
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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', // MISSING
editorHelp : 'Press ALT 0 for help', // MISSING
// 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 : 'વધારે માહિતી માટે URL',
cssClass : 'સ્ટાઇલ-શીટ ક્લાસ',
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 measurement unit (px, %, in, cm, mm, em, ex, pt, or pc) વગર.',
invalidHtmlLength : '"%1" ની વેલ્યુ એક પોસીટીવ આંકડો હોવો જોઈએ અથવા HTML measurement unit (px or %) વગર.',
invalidInlineStyle : 'ઈનલાઈન સ્ટાઈલ ની વેલ્યુ "name : value" ના ફોર્મેટ માં હોવી જોઈએ, વચ્ચે સેમી-કોલોન જોઈએ.',
cssLengthTooltip : 'પિક્ષ્લ્ નો આંકડો CSS unit (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 : '<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 : 'મુખ્ય કન્ટેન્ટ પ્રકાર',
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, 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 : 'રિસેટ'
},
// 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 : 'HSpaceઆંકડો હોવો જોઈએ.',
validateVSpace : 'VSpace આંકડો હોવો જોઈએ. '
},
// Flash Dialog
flash :
{
properties : 'ફ્લૅશના ગુણ',
propertiesTab : 'ગુણ',
title : 'ફ્લૅશ ગુણ',
chkPlay : 'ઑટો/સ્વયં પ્લે',
chkLoop : 'લૂપ',
chkMenu : 'ફ્લૅશ મેન્યૂ નો પ્રયોગ કરો',
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 : 'ફલેશ ના વિકલ્પો',
bgcolor : 'બૅકગ્રાઉન્ડ રંગ,',
hSpace : 'સમસ્તરીય જગ્યા',
vSpace : 'લંબરૂપ જગ્યા',
validateSrc : 'લિંક URL ટાઇપ કરો',
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 : 'સમ્ય્લી વિકલ્પો'
},
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 : 'Ctrl/Cmd+V નો પ્રયોગ કરી પેસ્ટ કરો',
securityMsg : 'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસના કારણે,એડિટર તમારા કિલ્પબોર્ડ ડેટા ને કોપી નથી કરી શકતો. તમારે આ વિન્ડોમાં ફરીથી પેસ્ટ કરવું પડશે.',
pasteArea : 'પેસ્ટ કરવાની જગ્યા'
},
pastefromword :
{
confirmCleanup : 'તમે જે ટેક્ષ્ત્ કોપી કરી રહ્યા છો ટે વર્ડ ની છે. કોપી કરતા પેહલા સાફ કરવી છે?',
toolbar : 'પેસ્ટ (વડૅ ટેક્સ્ટ)',
title : 'પેસ્ટ (વડૅ ટેક્સ્ટ)',
error : 'પેસ્ટ કરેલો ડેટા ઇન્ટરનલ એરર ના લીથે સાફ કરી શકાયો નથી.'
},
pasteText :
{
button : 'પેસ્ટ (ટેક્સ્ટ)',
title : 'પેસ્ટ (ટેક્સ્ટ)'
},
templates :
{
button : 'ટેમ્પ્લેટ',
title : 'કન્ટેન્ટ ટેમ્પ્લેટ',
options : 'ટેમ્પ્લેટના વિકલ્પો',
insertOption : 'મૂળ શબ્દને બદલો',
selectPromptMsg : 'એડિટરમાં ઓપન કરવા ટેમ્પ્લેટ પસંદ કરો (વર્તમાન કન્ટેન્ટ સેવ નહીં થાય):',
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 : 'Div કન્ટેનર બનાવુંવું',
toolbar : 'Div કન્ટેનર બનાવુંવું',
cssClassInputLabel : 'સ્ટાઈલશીટ કલાસીસ',
styleSelectLabel : 'સ્ટાઈલ',
IdInputLabel : 'Id',
languageCodeInputLabel : 'ભાષાનો કોડ',
inlineStyleInputLabel : 'ઈનલાઈન પદ્ધતિ',
advisoryTitleInputLabel : 'એડવાઈઝર શીર્ષક',
langDirLabel : 'ભાષાની દિશા',
langDirLTRLabel : 'ડાબે થી જમણે (LTR)',
langDirRTLLabel : 'જમણે થી ડાબે (RTL)',
edit : 'ડીવીમાં ફેરફાર કરવો',
remove : 'ડીવી કાઢી કાઢવું'
},
iframe :
{
title : 'IFrame વિકલ્પો',
toolbar : 'IFrame',
noUrl : 'iframe URL ટાઈપ્ કરો',
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 : 'ટાઈપ કરતા સ્પેલ તપાસો',
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 : 'પેહલા User Dictionary, Cookie તરીકે સ્ટોર થાય છે. પણ Cookie ની સમતા ઓછી છે. જયારે User Dictionary, Cookie તરીકે સ્ટોર ના કરી શકાય, ત્યારે તે અમારા સર્વર પર સ્ટોર થાય છે. તમારી વ્યતિગત ડીકસ્નરી ને સર્વર પર સ્ટોર કરવા માટે તમારે તેનું નામ આપવું પડશે. જો તમે તમારી ડીકસ્નરી નું નામ આપેલું હોય તો તમે રિસ્ટોર બટન ક્લીક કરી શકો.',
aboutTab : 'વિષે'
},
about :
{
title : 'CKEditor વિષે',
dlgTitle : 'CKEditor વિષે',
help : 'મદદ માટે $1 તપાસો',
userGuide : 'CKEditor યુઝર્સ ગાઈડ',
moreInfo : 'લાયસનસની માહિતી માટે અમારી વેબ સાઈટ',
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 : '<other>',
docTitle : 'પેજ મથાળું/ટાઇટલ',
charset : 'કેરેક્ટર સેટ એન્કોડિંગ',
charsetOther : 'અન્ય કેરેક્ટર સેટ એન્કોડિંગ',
charsetASCII : 'ASCII',
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>આ એક <strong>સેમ્પલ ટેક્ષ્ત્</strong> છે. તમે <a href="javascript:void(0)">CKEditor</a> વાપરો છો.</p>'
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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', // MISSING
editorHelp : '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 © $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
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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;
})();
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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', // MISSING
editorHelp : 'Press ALT 0 for help', // MISSING
// ARIA descriptions.
toolbars : 'Editor toolbars',
editor : 'Rich Text Editor',
// 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 © $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
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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['id'] =
{
/**
* 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', // MISSING
editorHelp : 'Press ALT 0 for help', // MISSING
// ARIA descriptions.
toolbars : 'Editor toolbars', // MISSING
editor : 'Rich Text Editor', // MISSING
// Toolbar buttons without dialogs.
source : 'Source', // MISSING
newPage : 'New Page', // MISSING
save : 'Save', // MISSING
preview : 'Preview', // MISSING
cut : 'Cut', // MISSING
copy : 'Copy', // MISSING
paste : 'Paste', // MISSING
print : 'Print', // MISSING
underline : 'Underline', // MISSING
bold : 'Bold', // MISSING
italic : 'Italic', // MISSING
selectAll : 'Select All', // MISSING
removeFormat : 'Remove Format', // MISSING
strike : 'Strike Through', // MISSING
subscript : 'Subscript', // MISSING
superscript : 'Superscript', // MISSING
horizontalrule : 'Insert Horizontal Line', // MISSING
pagebreak : 'Insert Page Break for Printing', // MISSING
pagebreakAlt : 'Page Break', // MISSING
unlink : 'Unlink', // MISSING
undo : 'Undo', // MISSING
redo : 'Redo', // MISSING
// Common messages and labels.
common :
{
browseServer : 'Browse Server', // MISSING
url : 'URL', // MISSING
protocol : 'Protocol', // MISSING
upload : 'Upload', // MISSING
uploadSubmit : 'Send it to the Server', // MISSING
image : 'Image', // MISSING
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 : '<not set>', // MISSING
id : 'Id', // MISSING
name : 'Name', // MISSING
langDir : 'Language Direction', // MISSING
langDirLtr : 'Left to Right (LTR)', // MISSING
langDirRtl : 'Right to Left (RTL)', // MISSING
langCode : 'Language Code', // MISSING
longDescr : 'Long Description URL', // MISSING
cssClass : 'Stylesheet Classes', // MISSING
advisoryTitle : 'Advisory Title', // MISSING
cssStyle : 'Style', // MISSING
ok : 'OK', // MISSING
cancel : 'Cancel', // MISSING
close : 'Close', // MISSING
preview : 'Preview', // MISSING
generalTab : 'General', // MISSING
advancedTab : 'Advanced', // MISSING
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 : 'Width', // MISSING
height : 'Height', // MISSING
align : 'Alignment', // MISSING
alignLeft : 'Left', // MISSING
alignRight : 'Right', // MISSING
alignCenter : 'Center', // MISSING
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', // MISSING
title : 'Select Special Character', // MISSING
options : 'Special Character Options' // MISSING
},
// Link dialog.
link :
{
toolbar : 'Link', // MISSING
other : '<other>', // MISSING
menu : 'Edit Link', // MISSING
title : 'Link', // MISSING
info : 'Link Info', // MISSING
target : 'Target', // MISSING
upload : 'Upload', // MISSING
advanced : 'Advanced', // MISSING
type : 'Link Type', // MISSING
toUrl : 'URL', // MISSING
toAnchor : 'Link to anchor in the text', // MISSING
toEmail : 'E-mail', // MISSING
targetFrame : '<frame>', // MISSING
targetPopup : '<popup window>', // MISSING
targetFrameName : 'Target Frame Name', // MISSING
targetPopupName : 'Popup Window Name', // MISSING
popupFeatures : 'Popup Window Features', // MISSING
popupResizable : 'Resizable', // MISSING
popupStatusBar : 'Status Bar', // MISSING
popupLocationBar: 'Location Bar', // MISSING
popupToolbar : 'Toolbar', // MISSING
popupMenuBar : 'Menu Bar', // MISSING
popupFullScreen : 'Full Screen (IE)', // MISSING
popupScrollBars : 'Scroll Bars', // MISSING
popupDependent : 'Dependent (Netscape)', // MISSING
popupLeft : 'Left Position', // MISSING
popupTop : 'Top Position', // MISSING
id : 'Id', // MISSING
langDir : 'Language Direction', // MISSING
langDirLTR : 'Left to Right (LTR)', // MISSING
langDirRTL : 'Right to Left (RTL)', // MISSING
acccessKey : 'Access Key', // MISSING
name : 'Name', // MISSING
langCode : 'Language Code', // MISSING
tabIndex : 'Tab Index', // MISSING
advisoryTitle : 'Advisory Title', // MISSING
advisoryContentType : 'Advisory Content Type', // MISSING
cssClasses : 'Stylesheet Classes', // MISSING
charset : 'Linked Resource Charset', // MISSING
styles : 'Style', // MISSING
rel : 'Relationship', // MISSING
selectAnchor : 'Select an Anchor', // MISSING
anchorName : 'By Anchor Name', // MISSING
anchorId : 'By Element Id', // MISSING
emailAddress : 'E-Mail Address', // MISSING
emailSubject : 'Message Subject', // MISSING
emailBody : 'Message Body', // MISSING
noAnchors : '(No anchors available in the document)', // MISSING
noUrl : 'Please type the link URL', // MISSING
noEmail : 'Please type the e-mail address' // MISSING
},
// 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 : 'Find', // MISSING
replace : 'Replace', // MISSING
findWhat : 'Find what:', // MISSING
replaceWith : 'Replace with:', // MISSING
notFoundMsg : 'The specified text was not found.', // MISSING
findOptions : 'Find Options', // MISSING
matchCase : 'Match case', // MISSING
matchWord : 'Match whole word', // MISSING
matchCyclic : 'Match cyclic', // MISSING
replaceAll : 'Replace All', // MISSING
replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
},
// Table Dialog
table :
{
toolbar : 'Table', // MISSING
title : 'Table Properties', // MISSING
menu : 'Table Properties', // MISSING
deleteTable : 'Delete Table', // MISSING
rows : 'Rows', // MISSING
columns : 'Columns', // MISSING
border : 'Border size', // MISSING
widthPx : 'pixels', // MISSING
widthPc : 'percent', // MISSING
widthUnit : 'width unit', // MISSING
cellSpace : 'Cell spacing', // MISSING
cellPad : 'Cell padding', // MISSING
caption : 'Caption', // MISSING
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 : 'Delete Cells', // MISSING
merge : 'Merge Cells', // MISSING
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 : 'Delete Rows' // MISSING
},
column :
{
menu : 'Column', // MISSING
insertBefore : 'Insert Column Before', // MISSING
insertAfter : 'Insert Column After', // MISSING
deleteColumn : 'Delete Columns' // MISSING
}
},
// 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 : 'Image Properties', // MISSING
titleButton : 'Image Button Properties', // MISSING
menu : 'Image Properties', // MISSING
infoTab : 'Image Info', // MISSING
btnUpload : 'Send it to the Server', // MISSING
upload : 'Upload', // MISSING
alt : 'Alternative Text', // MISSING
lockRatio : 'Lock Ratio', // MISSING
resetSize : 'Reset Size', // MISSING
border : 'Border', // MISSING
hSpace : 'HSpace', // MISSING
vSpace : 'VSpace', // MISSING
alertUrl : 'Please type the image URL', // MISSING
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 Bottom', // MISSING
alignAbsMiddle : 'Abs Middle', // MISSING
alignBaseline : 'Baseline', // MISSING
alignTextTop : 'Text Top', // MISSING
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 : 'Background color', // MISSING
hSpace : 'HSpace', // MISSING
vSpace : 'VSpace', // MISSING
validateSrc : 'URL must not be empty.', // MISSING
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 : 'Smiley', // MISSING
title : 'Insert a Smiley', // MISSING
options : 'Smiley Options' // MISSING
},
elementsPath :
{
eleLabel : 'Elements path', // MISSING
eleTitle : '%1 element' // MISSING
},
numberedlist : 'Insert/Remove Numbered List', // MISSING
bulletedlist : 'Insert/Remove Bulleted List', // MISSING
indent : 'Increase Indent', // MISSING
outdent : 'Decrease Indent', // MISSING
justify :
{
left : 'Align Left', // MISSING
center : 'Center', // MISSING
right : 'Align Right', // MISSING
block : 'Justify' // MISSING
},
blockquote : 'Block Quote', // MISSING
clipboard :
{
title : 'Paste', // MISSING
cutError : 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).', // MISSING
copyError : 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).', // MISSING
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 : 'Paste from Word', // MISSING
title : 'Paste from Word', // MISSING
error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
},
pasteText :
{
button : 'Paste as plain text', // MISSING
title : 'Paste as Plain Text' // MISSING
},
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 : 'Styles', // MISSING
panelTitle : 'Formatting Styles', // MISSING
panelTitle1 : 'Block Styles', // MISSING
panelTitle2 : 'Inline Styles', // MISSING
panelTitle3 : 'Object Styles' // MISSING
},
format :
{
label : 'Format', // MISSING
panelTitle : 'Paragraph Format', // MISSING
tag_p : 'Normal', // MISSING
tag_pre : 'Formatted', // MISSING
tag_address : 'Address', // MISSING
tag_h1 : 'Heading 1', // MISSING
tag_h2 : 'Heading 2', // MISSING
tag_h3 : 'Heading 3', // MISSING
tag_h4 : 'Heading 4', // MISSING
tag_h5 : 'Heading 5', // MISSING
tag_h6 : 'Heading 6', // MISSING
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', // MISSING
voiceLabel : 'Font', // MISSING
panelTitle : 'Font Name' // MISSING
},
fontSize :
{
label : 'Size', // MISSING
voiceLabel : 'Font Size', // MISSING
panelTitle : 'Font Size' // MISSING
},
colorButton :
{
textColorTitle : 'Text Color', // MISSING
bgColorTitle : 'Background Color', // MISSING
panelTitle : 'Colors', // MISSING
auto : 'Automatic', // MISSING
more : 'More Colors...' // MISSING
},
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 © $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
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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()
{
// Unlock the selection upon first panel closing.
if ( CKEDITOR.env.ie && !this.parent )
{
var selection = this.editor.getSelection();
selection && selection.unlock( true );
}
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';
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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 : [ 'bg', 'cs', 'cy', 'da', 'de', 'el', 'en', 'eo', 'et', 'fa', 'fi', 'fr', 'he', 'hr', 'it', 'nb', 'nl', 'no', 'pl', 'pt-br', 'tr', 'ug', 'uk', 'vi', 'zh-cn' ],
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;
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'nl',
{
placeholder :
{
title : 'Eigenschappen placeholder',
toolbar : 'Placeholder aanmaken',
text : 'Placeholder tekst',
edit : 'Placeholder wijzigen',
textMissing : 'De placeholder moet tekst bevatten.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'ug',
{
placeholder :
{
title : 'ئورۇن بەلگە خاسلىقى',
toolbar : 'ئورۇن بەلگە قۇر',
text : 'ئورۇن بەلگە تېكىستى',
edit : 'ئورۇن بەلگە تەھرىر',
textMissing : 'ئورۇن بەلگىسىدە چوقۇم تېكىست بولۇشى لازىم'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'it',
{
placeholder :
{
title : 'Proprietà segnaposto',
toolbar : 'Crea segnaposto',
text : 'Testo segnaposto',
edit : 'Modifica segnaposto',
textMissing : 'Il segnaposto deve contenere del testo.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'de',
{
placeholder :
{
title : 'Platzhalter Einstellungen',
toolbar : 'Platzhalter erstellen',
text : 'Platzhalter Text',
edit : 'Platzhalter bearbeiten',
textMissing : 'Der Platzhalter muss einen Text beinhalten.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'pl',
{
placeholder :
{
title : 'Właściwości wypełniacza',
toolbar : 'Utwórz wypełniacz',
text : 'Tekst wypełnienia',
edit : 'Edytuj wypełnienie',
textMissing : 'Wypełnienie musi posiadać jakiś tekst.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'vi',
{
placeholder :
{
title : 'Thuộc tính đặt chỗ',
toolbar : 'Tạo đặt chỗ',
text : 'Văn bản đặt chỗ',
edit : 'Chỉnh sửa ',
textMissing : 'The placeholder must contain text.' // MISSING
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'hr',
{
placeholder :
{
title : 'Svojstva rezerviranog mjesta',
toolbar : 'Napravi rezervirano mjesto',
text : 'Tekst rezerviranog mjesta',
edit : 'Uredi rezervirano mjesto',
textMissing : 'Rezervirano mjesto mora sadržavati tekst.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'tr',
{
placeholder :
{
title : 'Yer tutucu özellikleri',
toolbar : 'Yer tutucu oluşturun',
text : 'Yer tutucu metini',
edit : 'Yer tutucuyu düzenle',
textMissing : 'Yer tutucu metin içermelidir.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'fr',
{
placeholder :
{
title : 'Propriétés de l\'Espace réservé',
toolbar : 'Créer l\'Espace réservé',
text : 'Texte de l\'Espace réservé',
edit : 'Modifier l\'Espace réservé',
textMissing : 'L\'Espace réservé doit contenir du texte.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'zh-cn',
{
placeholder :
{
title : '占位符属性',
toolbar : '创建占位符',
text : '占位符文字',
edit : '编辑占位符',
textMissing : '占位符必需包含有文字'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'eo',
{
placeholder :
{
title : 'Atributoj de la rezervita spaco',
toolbar : 'Krei la rezervitan spacon',
text : 'Texto de la rezervita spaco',
edit : 'Modifi la rezervitan spacon',
textMissing : 'La rezervita spaco devas enteni tekston.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'da',
{
placeholder :
{
title : 'Egenskaber for pladsholder',
toolbar : 'Opret pladsholder',
text : 'Tekst til pladsholder',
edit : 'Redigér pladsholder',
textMissing : 'Pladsholder skal indeholde tekst'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'nb',
{
placeholder :
{
title : 'Egenskaper for plassholder',
toolbar : 'Opprett plassholder',
text : 'Tekst for plassholder',
edit : 'Rediger plassholder',
textMissing : 'Plassholderen må inneholde tekst.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'bg',
{
placeholder :
{
title : 'Настройки на контейнера',
toolbar : 'Нов контейнер',
text : 'Текст за контейнера',
edit : 'Промяна на контейнер',
textMissing : 'Контейнера трябва да съдържа текст.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'el',
{
placeholder :
{
title : 'Ιδιότητες Υποκατάστατου Κειμένου',
toolbar : 'Δημιουργία Υποκατάσταστου Κειμένου',
text : 'Υποκαθιστόμενο Κείμενο',
edit : 'Επεξεργασία Υποκατάσταστου Κειμένου',
textMissing : 'Πρέπει να υπάρχει υποκαθιστόμενο κείμενο.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'fi',
{
placeholder :
{
title : 'Paikkamerkin ominaisuudet',
toolbar : 'Luo paikkamerkki',
text : 'Paikkamerkin teksti',
edit : 'Muokkaa paikkamerkkiä',
textMissing : 'Paikkamerkin täytyy sisältää tekstiä'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'cy',
{
placeholder :
{
title : 'Priodweddau\'r Daliwr Geiriau',
toolbar : 'Creu Daliwr Geiriau',
text : 'Testun y Daliwr Geiriau',
edit : 'Golygu\'r Dailwr Geiriau',
textMissing : 'Mae\'n rhaid i\'r daliwr geiriau gynnwys testun.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'no',
{
placeholder :
{
title : 'Egenskaper for plassholder',
toolbar : 'Opprett plassholder',
text : 'Tekst for plassholder',
edit : 'Rediger plassholder',
textMissing : 'Plassholderen må inneholde tekst.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'fa',
{
placeholder :
{
title : 'ویژگیهای محل نگهداری',
toolbar : 'ایجاد یک محل نگهداری',
text : 'متن محل نگهداری',
edit : 'ویرایش محل نگهداری',
textMissing : 'محل نگهداری باید محتوی متن باشد.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'et',
{
placeholder :
{
title : 'Kohahoidja omadused',
toolbar : 'Kohahoidja loomine',
text : 'Kohahoidja tekst',
edit : 'Kohahoidja muutmine',
textMissing : 'Kohahoidja peab sisaldama teksti.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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 : 'שומר המקום חייב להכיל טקסט.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'uk',
{
placeholder :
{
title : 'Налаштування Заповнювача',
toolbar : 'Створити Заповнювач',
text : 'Текст Заповнювача',
edit : 'Редагувати Заповнювач',
textMissing : 'Заповнювач повинен містити текст.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'cs',
{
placeholder :
{
title : 'Vlastnosti vyhrazeného prostoru',
toolbar : 'Vytvořit vyhrazený prostor',
text : 'Vyhrazený text',
edit : 'Upravit vyhrazený prostor',
textMissing : 'Vyhrazený prostor musí obsahovat text.'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'pt-br',
{
placeholder :
{
title : 'Propriedades do Espaço Reservado',
toolbar : 'Criar Espaço Reservado',
text : 'Texto do Espaço Reservado',
edit : 'Editar Espaço Reservado',
textMissing : 'O espaço reservado deve conter texto.'
}
});
|
JavaScript
|
/*
* Copyright (c) 2003-2012, 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 );
});
} )();
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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.
*/
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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';
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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
{
// Chrome is problematic with moveTo/resizeTo, but it's not really needed here (#8855).
var ua = navigator.userAgent.toLowerCase();
if ( ua.indexOf( ' chrome/' ) == -1 )
{
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;
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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',
{
requires : [ 'button' ],
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>▲</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;
*/
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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
}
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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;"> </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' );
}
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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' );
editor.insertElement( hr );
}
};
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
});
}
});
})();
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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 ].checkElementMatch( 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 } } ]
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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' };
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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;
*/
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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 ]
};
} );
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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: <object><embed></embed></object>
* @type Boolean
* @default false
*/
flashAddEmbedTag : true,
/**
* Use embedTagOnly and addEmbedTag values on edit.
* @type Boolean
* @default false
*/
flashConvertOnEdit : false
} );
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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' } ],
'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"> </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',
children :
[
{
type : 'text',
id : 'id',
label : editor.lang.common.id,
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
}
]
}
]
};
} );
})();
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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' } }
]);
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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 <b> 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;
},
// Check if the element matches the current style definition.
checkElementMatch : 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;
}
return false;
},
// Checks if an element, or any of its attributes, is removable by the
// current style definition.
checkElementRemovable : function( element, fullMatch )
{
// Check element matches the style itself.
if ( this.checkElementMatch( element, fullMatch ) )
return true;
// Check if the element matches the style overrides.
var override = getOverrides( this )[ element.getName() ] ;
if ( override )
{
var attribs, attName;
// 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
blockHtml = replace( blockHtml, /^[ \t]+|[ \t]+$/g, function( match, offset, s )
{
if ( match.length == 1 ) // one space, preserve it
return ' ' ;
else if ( !offset ) // beginning of block
return CKEDITOR.tools.repeat( ' ', match.length - 1 ) + ' ';
else // end of block
return ' ' + CKEDITOR.tools.repeat( ' ', match.length - 1 );
} ) ;
// 3. Convert \n to <BR>.
// 4. Convert contiguous (i.e. non-singular) spaces or tabs to
blockHtml = blockHtml.replace( /\n/g, '<br>' ) ;
blockHtml = blockHtml.replace( /[ \t]{2,}/g,
function ( match )
{
return CKEDITOR.tools.repeat( ' ', 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 to spaces since is no longer needed in <PRE>.
preHtml = preHtml.replace( /([ \t\n\r]+| )/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 = def.attributes,
styles = def.styles,
overrides = getOverrides( style )[ element.getName() ],
// 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 );
}
// Remove overrides, but don't remove the element if it's a block element
removeOverrides( element, overrides, blockElements[ element.getName() ] ) ;
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
* @param {Boolean} Don't remove the element
*/
function removeOverrides( element, overrides, dontRemove )
{
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 ) ;
}
}
}
if ( !dontRemove )
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( /"/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' }, ... ];
*/
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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 )
{
var bm,
sel = doc.getSelection().getNative(),
// Be error proof.
range = sel && sel.type != 'None' && sel.getRangeAt( 0 );
// Text selection position might get mangled by
// subsequent dom modification, save it now for restoring. (#8617)
if ( fillingChar.getLength() > 1
&& range && range.intersectsNode( fillingChar.$ ) )
{
bm = [ sel.anchorOffset, sel.focusOffset ];
// Anticipate the offset change brought by the removed char.
var startAffected = sel.anchorNode == fillingChar.$ && sel.anchorOffset > 0,
endAffected = sel.focusNode == fillingChar.$ && sel.focusOffset > 0;
startAffected && bm[ 0 ]--;
endAffected && bm[ 1 ]--;
// Revert the bookmark order on reverse selection.
isReversedSelection( sel ) && bm.unshift( bm.pop() );
}
// 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, '' ) );
// Restore the bookmark.
if ( bm )
{
var rng = sel.getRangeAt( 0 );
rng.setStart( rng.startContainer, bm[ 0 ] );
rng.setEnd( rng.startContainer, bm[ 1 ] );
sel.removeAllRanges();
sel.addRange( rng );
}
}
}
function isReversedSelection( sel )
{
if ( !sel.isCollapsed )
{
var range = sel.getRangeAt( 0 );
// Potentially alter an reversed selection range.
range.setStart( sel.anchorNode, sel.anchorOffset );
range.setEnd( sel.focusNode, sel.focusOffset );
return range.collapsed;
}
}
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 ); } );
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;
// Give the priority to locked selection since it probably
// reflects the actual situation, besides locked selection
// could be interfered because of text nodes normalizing.
// (#6083, #6987)
var lockedSelection = doc.getCustomData( 'cke_locked_selection' );
if ( lockedSelection )
{
lockedSelection.unlock( 1 );
lockedSelection.lock();
}
// Then check ff we have saved a range, restore it at this
// point.
else if ( savedRange && restoreEnabled )
{
// Well not break because of this.
try { savedRange.select(); } catch (e) {}
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] Iframe will still keep the selection when blurred, if
// focus is moved onto a non-editing host, e.g. link or button, but
// it becomes a problem for the object type selection, since the resizer
// handler attached on it will mark other part of the UI, especially
// for the dialog. (#8157)
// [IE<8] Even worse For old IEs, the cursor will not vanish even if
// the selection has been moved to another text input in some cases. (#4716)
//
// Now the range restore is disabled, so we simply force IE to clean
// up the selection before blur.
CKEDITOR.env.ie && editor.on( 'blur', function()
{
// Error proof when the editor is not visible. (#6375)
try{ doc.$.selection.empty(); } catch ( er){}
});
// 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;
});
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();
});
// When content doc is in standards mode, IE doesn't focus the editor when
// clicking at the region below body (on html element) content, we emulate
// the normal behavior on old IEs. (#1659, #7932)
if ( ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat )
&& doc.$.compatMode != 'BackCompat' )
{
function moveRangeToPoint( range, x, y )
{
// Error prune in IE7. (#9034, #9110)
try { range.moveToPoint( x, y ); } catch ( e ) {}
}
html.on( 'mousedown', function( evt )
{
// Expand the text range along with mouse move.
function onHover( evt )
{
evt = evt.data.$;
if ( textRng )
{
// Read the current cursor.
var rngEnd = body.$.createTextRange();
moveRangeToPoint( rngEnd, evt.x, evt.y );
// Handle drag directions.
textRng.setEndPoint(
textRng.compareEndPoints( 'StartToStart', rngEnd ) < 0 ?
'EndToEnd' :
'StartToStart',
rngEnd );
// Update selection with new range.
textRng.select();
}
}
evt = evt.data.$;
// We're sure that the click happens at the region
// below body, but not on scrollbar.
if ( evt.y < html.$.clientHeight
&& evt.y > body.$.offsetTop + body.$.clientHeight
&& evt.x < html.$.clientWidth )
{
// Start to build the text range.
var textRng = body.$.createTextRange();
moveRangeToPoint( textRng, evt.x, evt.y );
html.on( 'mousemove', onHover );
html.on( 'mouseup', function( evt )
{
html.removeListener( 'mousemove', onHover );
evt.removeListener();
// Make it in effect on mouse up. (#9022)
textRng.select();
} );
}
});
}
// It's much simpler for IE8, we just need to reselect the reported range.
if ( CKEDITOR.env.ie8 )
{
html.on( 'mouseup', function( evt )
{
// The event is not fired when clicking on the scrollbars,
// so we can safely check the following to understand
// whether the empty space following <body> has been clicked.
if ( evt.data.getTarget().getName() == 'html' )
{
var sel = CKEDITOR.document.$.selection,
range = sel.createRange();
// The selection range is reported on host, but actually it should applies to the content doc.
if ( sel.type != 'None' && range.parentElement().ownerDocument == doc.$ )
range.select();
}
} );
}
// 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 );
}
if ( CKEDITOR.env.webkit )
{
doc.on( 'keydown', function( evt )
{
var key = evt.data.getKey();
// Remove the filling char before some keys get
// executed, so they'll not get blocked by it.
switch ( key )
{
case 13 : // ENTER
case 33 : // PAGEUP
case 34 : // PAGEDOWN
case 35 : // HOME
case 36 : // END
case 37 : // LEFT-ARROW
case 39 : // RIGHT-ARROW
case 8 : // BACKSPACE
case 45 : // INS
case 46 : // DEl
removeFillingChar( editor.document );
}
}, null, null, 10 );
}
});
// 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'
});
/**
* Check if to fire the {@link CKEDITOR.editor#selectionChange} event
* for the current editor instance.
*
* @param {Boolean} checkNow Check immediately without any delay.
*/
editor.selectionChange = function( checkNow )
{
( checkNow ? checkSelectionChange : checkSelectionChangeTimeout ).call( this );
};
// 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 )
{
// Avoid breaking because of it. (#8836)
try
{
var range = this.getNative().createRange();
if ( !range ||
( range.item && range.item( 0 ).ownerDocument != this.document.$ ) ||
( range.parentElement && range.parentElement().ownerDocument != this.document.$ ) )
{
throw 0;
}
}
catch ( e )
{
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,
container;
// 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' )
{
// "Fall back" to w3c selection.
var sel = doc.defaultView.getSelection();
return { container : sel[ start ? 'anchorNode' : 'focusNode' ],
offset : sel[ start ? 'anchorOffset' : 'focusOffset' ] };
}
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_TEXT )
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 && i > 0 )
{
sibling = siblings[ --i ];
if ( sibling.nodeType == CKEDITOR.NODE_TEXT )
{
container = sibling;
distance -= sibling.nodeValue.length;
}
}
return { container : container, 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' ];
if ( sibling.nodeType == CKEDITOR.NODE_TEXT )
{
distance -= sibling.nodeValue.length;
container = sibling;
}
child = sibling;
}
// Measurement in IE could be somtimes wrong because of <select> element. (#4611)
catch( e )
{
return { container : parent, offset : getNodeIndex( child ) };
}
}
return { container : container, offset : position > 0 ? -distance : container.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();
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></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( '' ); // 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 ] );
};
} )();
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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( ',' );
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">' +
'<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">' +
'<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">',
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)' }
};
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.add( 'uicolor',
{
requires : [ 'dialog' ],
lang : [ 'bg', 'cs', 'cy', 'da', 'de', 'el', 'en', 'eo', 'et', 'fa', 'fi', 'fr', 'he', 'hr', 'it', 'mk', 'nb', 'nl', 'no', 'pl', 'pt-br', 'tr', 'ug', 'uk', 'vi', 'zh-cn' ],
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'
));
}
} );
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'nl',
{
uicolor :
{
title : 'UI Kleurenkiezer',
preview : 'Live voorbeeld',
config : 'Plak deze tekst in jouw config.js bestand',
predefined : 'Voorgedefinieerde kleurensets'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'ug',
{
uicolor :
{
title : 'ئىشلەتكۈچى ئارايۈزى رەڭ تاللىغۇچ',
preview : 'شۇئان ئالدىن كۆزىتىش',
config : 'بۇ ھەرپ تىزىقىنى config.js ھۆججەتكە چاپلايدۇ',
predefined : 'ئالدىن بەلگىلەنگەن رەڭلەر'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'it',
{
uicolor :
{
title : 'Selettore Colore UI',
preview : 'Anteprima Live',
config : 'Incolla questa stringa nel tuo file config.js',
predefined : 'Set di colori predefiniti'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'de',
{
uicolor :
{
title : 'UI Pipette',
preview : 'Live-Vorschau',
config : 'Fügen Sie diese Zeichenfolge in die \'config.js\' Datei.',
predefined : 'Vordefinierte Farbsätze'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'pl',
{
uicolor :
{
title : 'Wybór koloru interfejsu',
preview : 'Podgląd na żywo',
config : 'Wklej poniższy łańcuch znaków do pliku config.js:',
predefined : 'Predefiniowane zestawy kolorów'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'vi',
{
uicolor :
{
title : 'Giao diện người dùng Color Picker',
preview : 'Xem trước trực tiếp',
config : 'Dán chuỗi này vào tập tin config.js của bạn',
predefined : 'Tập màu định nghĩa sẵn'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'hr',
{
uicolor :
{
title : 'UI odabir boja',
preview : 'Pregled uživo',
config : 'Zalijepite ovaj tekst u Vašu config.js datoteku.',
predefined : 'Već postavljeni setovi boja'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'tr',
{
uicolor :
{
title : 'UI Renk Seçicisi',
preview : 'Canlı önizleme',
config : 'Bu dizeyi config.js dosyasının içine yapıştırın',
predefined : 'Önceden tanımlanmış renk kümeleri'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'fr',
{
uicolor :
{
title : 'UI Sélecteur de couleur',
preview : 'Aperçu',
config : 'Collez cette chaîne de caractères dans votre fichier config.js',
predefined : 'Palettes de couleurs prédéfinies'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'zh-cn',
{
uicolor :
{
title : '用户界面颜色选择器',
preview : '即时预览',
config : '粘贴此字符串到你的 config.js 文件',
predefined : '预定义颜色集'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'eo',
{
uicolor :
{
title : 'UI Kolorselektilo',
preview : 'Vidigi la aspekton',
config : 'Gluu tiun signoĉenon en vian dosieron config.js',
predefined : 'Antaŭdifinita koloraro'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'da',
{
uicolor :
{
title : 'Brugerflade på farvevælger',
preview : 'Vis liveeksempel',
config : 'Indsæt denne streng i din config.js fil',
predefined : 'Prædefinerede farveskemaer'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'nb',
{
uicolor :
{
title : 'Fargevelger for brukergrensesnitt',
preview : 'Forhåndsvisning i sanntid',
config : 'Lim inn følgende tekst i din config.js-fil',
predefined : 'Forhåndsdefinerte fargesett'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'bg',
{
uicolor :
{
title : 'ПИ избор на цвят',
preview : 'Преглед',
config : 'Вмъкнете този низ във Вашия config.js fajl',
predefined : 'Предефинирани цветови палитри'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'el',
{
uicolor :
{
title : 'Διεπαφή Επιλογέα Χρωμάτων',
preview : 'Ζωντανή Προεπισκόπηση',
config : 'Επικολλήστε αυτό το κείμενο στο αρχείο config.js',
predefined : 'Προκαθορισμένα σύνολα χρωμάτων'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'fi',
{
uicolor :
{
title : 'Käyttöliittymän värivalitsin',
preview : 'Esikatsele',
config : 'Liitä tämä merkkijono config.js tiedostoosi',
predefined : 'Esimääritellyt värijoukot'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'cy',
{
uicolor :
{
title : 'Dewisydd Lliwiau\'r UI',
preview : 'Rhagolwg Byw',
config : 'Gludwch y llinyn hwn i\'ch ffeil config.js',
predefined : 'Setiau lliw wedi\'u cyn-ddiffinio'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'no',
{
uicolor :
{
title : 'Fargevelger for brukergrensesnitt',
preview : 'Forhåndsvisning i sanntid',
config : 'Lim inn følgende tekst i din config.js-fil',
predefined : 'Forhåndsdefinerte fargesett'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'mk',
{
uicolor :
{
title : 'Палета со бои',
preview : 'Преглед',
config : 'Залепи го овој текст во config.js датотеката',
predefined : 'Предефинирани множества на бои'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'fa',
{
uicolor :
{
title : 'انتخاب رنگ UI',
preview : 'پیشنمایش زنده',
config : 'این رشته را در فایل config.js خود بچسبانید.',
predefined : 'مجموعه رنگ از پیش تعریف شده'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'et',
{
uicolor :
{
title : 'Värvivalija kasutajaliides',
preview : 'Automaatne eelvaade',
config : 'Aseta see sõne oma config.js faili.',
predefined : 'Eelmääratud värvikomplektid'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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 : 'קבוצות צבעים מוגדרות מראש'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'uk',
{
uicolor :
{
title : 'Color Picker Інтерфейс',
preview : 'Перегляд наживо',
config : 'Вставте цей рядок у файл config.js',
predefined : 'Стандартний набір кольорів'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'cs',
{
uicolor :
{
title : 'Výběr barvy rozhraní',
preview : 'Živý náhled',
config : 'Vložte tento řetězec do Vašeho souboru config.js',
predefined : 'Přednastavené sady barev'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'pt-br',
{
uicolor :
{
title : 'Paleta de Cores',
preview : 'Visualização ao vivo',
config : 'Cole o texto no seu arquivo config.js',
predefined : 'Conjuntos de cores predefinidos'
}
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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;"> </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 ]
};
} );
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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' ]
} );
})();
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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> </td>' +
'<td> </td>' +
'<td> </td>' +
'</tr>' +
'<tr>' +
'<td> </td>' +
'<td> </td>' +
'<td> </td>' +
'</tr>' +
'<tr>' +
'<td> </td>' +
'<td> </td>' +
'<td> </td>' +
'</tr>' +
'</table>' +
'<p>' +
'Type the text here' +
'</p>' +
'</div>'
}
]
});
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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'
* @name CKEDITOR.config.templates
* @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;
|
JavaScript
|
/*
Copyright (c) 2003-2012, 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 );
}
};
});
})();
|
JavaScript
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.