code
stringlengths 501
5.19M
| package
stringlengths 2
81
| path
stringlengths 9
304
| filename
stringlengths 4
145
|
---|---|---|---|
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang['fr-ca']={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',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',unlink:'Supprimer le lien',undo:'Annuler',redo:'Refaire',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',preview:'Preview',generalTab:'Général',advancedTab:'Avancée',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Largeur',height:'Hauteur',align:'Alignement',alignLeft:'Gauche',alignRight:'Droite',alignCenter:'Centré',alignTop:'Haut',alignMiddle:'Milieu',alignBottom:'Bas',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Insérer un caractère spécial',title:'Insérer un caractère spécial',options:'Special Character Options'},link:{toolbar:'Insérer/modifier le lien',other:'<other>',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',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',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',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',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:{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"},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Chercher et Remplacer',find:'Chercher',replace:'Remplacer',findWhat:'Rechercher:',replaceWith:'Remplacer par:',notFoundMsg:'Le texte indiqué est introuvable.',matchCase:'Respecter la casse',matchWord:'Mot entier',matchCyclic:'Match cyclic',replaceAll:'Tout remplacer',replaceSuccessMsg:'%1 occurrence(s) replaced.'},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',cellSpace:'Espacement',cellPad:'Contour',caption:'Titre',summary:'Résumé',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:'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',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'},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:{title:'Propriétés du bouton',text:'Texte (Valeur)',type:'Type',typeBtn:'Bouton',typeSbm:'Soumettre',typeRst:'Réinitialiser'},checkboxAndRadio:{checkboxTitle:'Propriétés de la case à cocher',radioTitle:'Propriétés du bouton radio',value:'Valeur',selected:'Sélectionné'},form:{title:'Propriétés du formulaire',menu:'Propriétés du formulaire',action:'Action',method:'Méthode',encoding:'Encoding'},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:{title:'Propriétés de la zone de texte',cols:'Colonnes',rows:'Lignes'},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:{title:'Propriétés du champ caché',name:'Nom',value:'Valeur'},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',unlockRatio:'Unlock Ratio',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?',img2Button:'Do you want to transform the selected image on a image button?',urlMissing:'Image source URL is missing.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:"Propriétés de l'animation Flash",propertiesTab:'Properties',title:"Propriétés de l'animation Flash",chkPlay:'Lecture automatique',chkLoop:'Boucle',chkMenu:'Activer le menu Flash',chkFull:'Allow Fullscreen',scale:'Affichage',scaleAll:'Par défaut (tout montrer)',scaleNoBorder:'Sans bordure',scaleFit:'Ajuster aux dimensions',access:'Script Access',accessAlways:'Always',accessSameDomain:'Same domain',accessNever:'Never',alignAbsBottom:'Abs Bas',alignAbsMiddle:'Abs Milieu',alignBaseline:'Bas du texte',alignTextTop:'Haut du texte',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'Couleur de fond',hSpace:'Espacement horizontal',vSpace:'Espacement vertical',validateSrc:"Veuillez saisir l'URL",validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'Orthographe',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %s.',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'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},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'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',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'},pasteText:{button:'Coller comme texte',title:'Coller comme texte'},templates:{button:'Modèles',title:'Modèles de contenu',options:'Template Options',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',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},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',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Police',voiceLabel:'Font',panelTitle:'Police'},fontSize:{label:'Taille',voiceLabel:'Font Size',panelTitle:'Taille'},colorButton:{textColorTitle:'Couleur de caractère',bgColorTitle:'Couleur de fond',panelTitle:'Colors',auto:'Automatique',more:'Plus de couleurs...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/fr-ca.js | fr-ca.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.hi={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'सोर्स',newPage:'नया पेज',save:'सेव',preview:'प्रीव्यू',cut:'कट',copy:'कॉपी',paste:'पेस्ट',print:'प्रिन्ट',underline:'रेखांकण',bold:'बोल्ड',italic:'इटैलिक',selectAll:'सब सॅलॅक्ट करें',removeFormat:'फ़ॉर्मैट हटायें',strike:'स्ट्राइक थ्रू',subscript:'अधोलेख',superscript:'अभिलेख',horizontalrule:'हॉरिज़ॉन्टल रेखा इन्सर्ट करें',pagebreak:'पेज ब्रेक इन्सर्ट् करें',pagebreakAlt:'Page Break',unlink:'लिंक हटायें',undo:'अन्डू',redo:'रीडू',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',preview:'Preview',generalTab:'सामान्य',advancedTab:'ऍड्वान्स्ड',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'चौड़ाई',height:'ऊँचाई',align:'ऍलाइन',alignLeft:'दायें',alignRight:'दायें',alignCenter:'बीच में',alignTop:'ऊपर',alignMiddle:'मध्य',alignBottom:'नीचे',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'विशेष करॅक्टर इन्सर्ट करें',title:'विशेष करॅक्टर चुनें',options:'Special Character Options'},link:{toolbar:'लिंक इन्सर्ट/संपादन',other:'<अन्य>',menu:'लिंक संपादन',title:'लिंक',info:'लिंक ',target:'टार्गेट',upload:'अपलोड',advanced:'ऍड्वान्स्ड',type:'लिंक प्रकार',toUrl:'URL',toAnchor:'इस पेज का ऐंकर',toEmail:'ई-मेल',targetFrame:'<फ़्रेम>',targetPopup:'<पॉप-अप विन्डो>',targetFrameName:'टार्गेट फ़्रेम का नाम',targetPopupName:'पॉप-अप विन्डो का नाम',popupFeatures:'पॉप-अप विन्डो फ़ीचर्स',popupResizable:'Resizable',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:'स्टाइल',selectAnchor:'ऐंकर चुनें',anchorName:'ऐंकर नाम से',anchorId:'ऍलीमॅन्ट Id से',emailAddress:'ई-मेल पता',emailSubject:'संदेश विषय',emailBody:'संदेश',noAnchors:'(डॉक्यूमॅन्ट में ऐंकर्स की संख्या)',noUrl:'लिंक URL टाइप करें',noEmail:'ई-मेल पता टाइप करें'},anchor:{toolbar:'ऐंकर इन्सर्ट/संपादन',menu:'ऐंकर प्रॉपर्टीज़',title:'ऐंकर प्रॉपर्टीज़',name:'ऐंकर का नाम',errorName:'ऐंकर का नाम टाइप करें'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'खोजें और बदलें',find:'खोजें',replace:'रीप्लेस',findWhat:'यह खोजें:',replaceWith:'इससे रिप्लेस करें:',notFoundMsg:'आपके द्वारा दिया गया टेक्स्ट नहीं मिला',matchCase:'केस मिलायें',matchWord:'पूरा शब्द मिलायें',matchCyclic:'Match cyclic',replaceAll:'सभी रिप्लेस करें',replaceSuccessMsg:'%1 occurrence(s) replaced.'},table:{toolbar:'टेबल',title:'टेबल प्रॉपर्टीज़',menu:'टेबल प्रॉपर्टीज़',deleteTable:'टेबल डिलीट करें',rows:'पंक्तियाँ',columns:'कालम',border:'बॉर्डर साइज़',widthPx:'पिक्सैल',widthPc:'प्रतिशत',widthUnit:'width unit',cellSpace:'सैल अंतर',cellPad:'सैल पैडिंग',caption:'शीर्षक',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:'खाना',insertBefore:'पहले सैल डालें',insertAfter:'बाद में सैल डालें',deleteCell:'सैल डिलीट करें',merge:'सैल मिलायें',mergeRight:'बाँया विलय',mergeDown:'नीचे विलय करें',splitHorizontal:'सैल को क्षैतिज स्थिति में विभाजित करें',splitVertical:'सैल को लम्बाकार में विभाजित करें',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'},row:{menu:'पंक्ति',insertBefore:'पहले पंक्ति डालें',insertAfter:'बाद में पंक्ति डालें',deleteRow:'पंक्तियाँ डिलीट करें'},column:{menu:'कालम',insertBefore:'पहले कालम डालें',insertAfter:'बाद में कालम डालें',deleteColumn:'कालम डिलीट करें'}},button:{title:'बटन प्रॉपर्टीज़',text:'टेक्स्ट (वैल्यू)',type:'प्रकार',typeBtn:'बटन',typeSbm:'सब्मिट',typeRst:'रिसेट'},checkboxAndRadio:{checkboxTitle:'चॅक बॉक्स प्रॉपर्टीज़',radioTitle:'रेडिओ बटन प्रॉपर्टीज़',value:'वैल्यू',selected:'सॅलॅक्टॅड'},form:{title:'फ़ॉर्म प्रॉपर्टीज़',menu:'फ़ॉर्म प्रॉपर्टीज़',action:'क्रिया',method:'तरीका',encoding:'Encoding'},select:{title:'चुनाव फ़ील्ड प्रॉपर्टीज़',selectInfo:'सूचना',opAvail:'उपलब्ध विकल्प',value:'वैल्यू',size:'साइज़',lines:'पंक्तियाँ',chkMulti:'एक से ज्यादा विकल्प चुनने दें',opText:'टेक्स्ट',opValue:'वैल्यू',btnAdd:'जोड़ें',btnModify:'बदलें',btnUp:'ऊपर',btnDown:'नीचे',btnSetValue:'चुनी गई वैल्यू सॅट करें',btnDelete:'डिलीट'},textarea:{title:'टेक्स्त एरिया प्रॉपर्टीज़',cols:'कालम',rows:'पंक्तियां'},textfield:{title:'टेक्स्ट फ़ील्ड प्रॉपर्टीज़',name:'नाम',value:'वैल्यू',charWidth:'करॅक्टर की चौढ़ाई',maxChars:'अधिकतम करॅक्टर',type:'टाइप',typeText:'टेक्स्ट',typePass:'पास्वर्ड'},hidden:{title:'गुप्त फ़ील्ड प्रॉपर्टीज़',name:'नाम',value:'वैल्यू'},image:{title:'तस्वीर प्रॉपर्टीज़',titleButton:'तस्वीर बटन प्रॉपर्टीज़',menu:'तस्वीर प्रॉपर्टीज़',infoTab:'तस्वीर की जानकारी',btnUpload:'इसे सर्वर को भेजें',upload:'अपलोड',alt:'वैकल्पिक टेक्स्ट',lockRatio:'लॉक अनुपात',unlockRatio:'Unlock Ratio',resetSize:'रीसॅट साइज़',border:'बॉर्डर',hSpace:'हॉरिज़ॉन्टल स्पेस',vSpace:'वर्टिकल स्पेस',alertUrl:'तस्वीर का URL टाइप करें ',linkTab:'लिंक',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.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'फ़्लैश प्रॉपर्टीज़',propertiesTab:'Properties',title:'फ़्लैश प्रॉपर्टीज़',chkPlay:'ऑटो प्ले',chkLoop:'लूप',chkMenu:'फ़्लैश मॅन्यू का प्रयोग करें',chkFull:'Allow Fullscreen',scale:'स्केल',scaleAll:'सभी दिखायें',scaleNoBorder:'कोई बॉर्डर नहीं',scaleFit:'बिल्कुल फ़िट',access:'Script Access',accessAlways:'Always',accessSameDomain:'Same domain',accessNever:'Never',alignAbsBottom:'Abs नीचे',alignAbsMiddle:'Abs ऊपर',alignBaseline:'मूल रेखा',alignTextTop:'टेक्स्ट ऊपर',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'बैक्ग्राउन्ड रंग',hSpace:'हॉरिज़ॉन्टल स्पेस',vSpace:'वर्टिकल स्पेस',validateSrc:'लिंक URL टाइप करें',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'वर्तनी (स्पेलिंग) जाँच',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %s.',notInDic:'शब्दकोश में नहीं',changeTo:'इसमें बदलें',btnIgnore:'इग्नोर',btnIgnoreAll:'सभी इग्नोर करें',btnReplace:'रिप्लेस',btnReplaceAll:'सभी रिप्लेस करें',btnUndo:'अन्डू',noSuggestions:'- कोई सुझाव नहीं -',progress:'वर्तनी की जाँच (स्पॅल-चॅक) जारी है...',noMispell:'वर्तनी की जाँच : कोई गलत वर्तनी (स्पॅलिंग) नहीं पाई गई',noChanges:'वर्तनी की जाँच :कोई शब्द नहीं बदला गया',oneChange:'वर्तनी की जाँच : एक शब्द बदला गया',manyChanges:'वर्तनी की जाँच : %1 शब्द बदले गये',ieSpellDownload:'स्पॅल-चॅकर इन्स्टाल नहीं किया गया है। क्या आप इसे डाउनलोड करना चाहेंगे?'},smiley:{toolbar:'स्माइली',title:'स्माइली इन्सर्ट करें',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},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'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'पेस्ट (वर्ड से)',title:'पेस्ट (वर्ड से)',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'पेस्ट (सादा टॅक्स्ट)',title:'पेस्ट (सादा टॅक्स्ट)'},templates:{button:'टॅम्प्लेट',title:'कन्टेन्ट टॅम्प्लेट',options:'Template Options',insertOption:'मूल शब्दों को बदलें',selectPromptMsg:'ऍडिटर में ओपन करने हेतु टॅम्प्लेट चुनें(वर्तमान कन्टॅन्ट सेव नहीं होंगे):',emptyListMsg:'(कोई टॅम्प्लेट डिफ़ाइन नहीं किया गया है)'},showBlocks:'ब्लॉक दिखायें',stylesCombo:{label:'स्टाइल',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},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',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'फ़ॉन्ट',voiceLabel:'Font',panelTitle:'फ़ॉन्ट'},fontSize:{label:'साइज़',voiceLabel:'Font Size',panelTitle:'साइज़'},colorButton:{textColorTitle:'टेक्स्ट रंग',bgColorTitle:'बैक्ग्राउन्ड रंग',panelTitle:'Colors',auto:'स्वचालित',more:'और रंग...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/hi.js | hi.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang['pt-br']={dir:'ltr',editorTitle:'Editor de Texto, %1, pressione ALT 0 para obter ajuda.',toolbar:'Barra de Ferramentas',editor:'Editor de Texto',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:'Page Break',unlink:'Remover Link',undo:'Desfazer',redo:'Refazer',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:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet 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.',unavailable:'%1<span class="cke_accessibility">, indisponível</span>'},contextmenu:{options:'Opções Menu de Contexto'},specialChar:{toolbar:'Inserir Caractere Especial',title:'Selecione um Caractere Especial',options:'Opções de Caractere Especial'},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',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:{toolbar:'Inserir/Editar Âncora',menu:'Formatar Âncora',title:'Formatar Âncora',name:'Nome da Âncora',errorName:'Por favor, digite o nome da âncora'},list:{numberedTitle:'Propriedades da Lista Numerada',bulletedTitle:'Propriedades da Lista sem Numeros',type:'Tipo',start:'Início',validateStartNumber:'List start number must be a whole number.',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.)'},findAndReplace:{title:'Localizar e Substituir',find:'Localizar',replace:'Substituir',findWhat:'Procurar por:',replaceWith:'Substituir por:',notFoundMsg:'O texto especificado não foi encontrado.',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:{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:{title:'Formatar Botão',text:'Texto (Valor)',type:'Tipo',typeBtn:'Botão',typeSbm:'Enviar',typeRst:'Limpar'},checkboxAndRadio:{checkboxTitle:'Formatar Caixa de Seleção',radioTitle:'Formatar Botão de Opção',value:'Valor',selected:'Selecionado'},form:{title:'Formatar Formulário',menu:'Formatar Formulário',action:'Ação',method:'Método',encoding:'Codificação'},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:{title:'Formatar Área de Texto',cols:'Colunas',rows:'Linhas'},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:{title:'Formatar Campo Oculto',name:'Nome',value:'Valor'},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',unlockRatio:'Destravar 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:{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.'},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:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},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',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:'Hidden Field',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',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/pt-br.js | pt-br.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.nl={dir:'ltr',editorTitle:'Tekstverwerker, %1, druk op ALT 0 voor hulp.',toolbar:'Werkbalk',editor:'Tekstverwerker',source:'Code',newPage:'Nieuwe pagina',save:'Opslaan',preview:'Voorbeeld',cut:'Knippen',copy:'Kopiëren',paste:'Plakken',print:'Printen',underline:'Onderstreept',bold:'Vet',italic:'Schuingedrukt',selectAll:'Alles selecteren',removeFormat:'Opmaak verwijderen',strike:'Doorhalen',subscript:'Subscript',superscript:'Superscript',horizontalrule:'Horizontale lijn invoegen',pagebreak:'Pagina-einde invoegen',pagebreakAlt:'Page Break',unlink:'Link verwijderen',undo:'Ongedaan maken',redo:'Opnieuw uitvoeren',common:{browseServer:'Bladeren op server',url:'URL',protocol:'Protocol',upload:'Upload',uploadSubmit:'Naar server verzenden',image:'Afbeelding',flash:'Flash',form:'Formulier',checkbox:'Aanvinkvakje',radio:'Selectievakje',textField:'Tekstveld',textarea:'Tekstvak',hiddenField:'Verborgen veld',button:'Knop',select:'Selectieveld',imageButton:'Afbeeldingsknop',notSet:'<niet ingevuld>',id:'Kenmerk',name:'Naam',langDir:'Schrijfrichting',langDirLtr:'Links naar rechts (LTR)',langDirRtl:'Rechts naar links (RTL)',langCode:'Taalcode',longDescr:'Lange URL-omschrijving',cssClass:'Stylesheet-klassen',advisoryTitle:'Aanbevolen titel',cssStyle:'Stijl',ok:'OK',cancel:'Annuleren',close:'Sluiten',preview:'Voorbeeld',generalTab:'Algemeen',advancedTab:'Geavanceerd',validateNumberFailed:'Deze waarde is geen geldig getal.',confirmNewPage:'Alle aangebrachte wijzigingen gaan verloren. Weet u zeker dat u een nieuwe pagina wilt openen?',confirmCancel:'Enkele opties zijn gewijzigd. Weet u zeker dat u dit dialoogvenster wilt sluiten?',options:'Opties',target:'Doel',targetNew:'Nieuw venster (_blank)',targetTop:'Hele venster (_top)',targetSelf:'Zelfde venster (_self)',targetParent:'Origineel venster (_parent)',langDirLTR:'Links naar rechts (LTR)',langDirRTL:'Rechts naar links (RTL)',styles:'Stijlen',cssClasses:'Stylesheet klassen',width:'Breedte',height:'Hoogte',align:'Uitlijning',alignLeft:'Links',alignRight:'Rechts',alignCenter:'Centreren',alignTop:'Boven',alignMiddle:'Midden',alignBottom:'Beneden',invalidHeight:'De hoogte moet een getal zijn.',invalidWidth:'De breedte moet een getal zijn.',unavailable:'%1<span class="cke_accessibility">, niet beschikbaar</span>'},contextmenu:{options:'Context menu opties'},specialChar:{toolbar:'Speciaal teken invoegen',title:'Selecteer speciaal teken',options:'Speciale tekens opties'},link:{toolbar:'Link invoegen/wijzigen',other:'<ander>',menu:'Link wijzigen',title:'Link',info:'Linkomschrijving',target:'Doel',upload:'Upload',advanced:'Geavanceerd',type:'Linktype',toUrl:'URL',toAnchor:'Interne link in pagina',toEmail:'E-mail',targetFrame:'<frame>',targetPopup:'<popup window>',targetFrameName:'Naam doelframe',targetPopupName:'Naam popupvenster',popupFeatures:'Instellingen popupvenster',popupResizable:'Herschaalbaar',popupStatusBar:'Statusbalk',popupLocationBar:'Locatiemenu',popupToolbar:'Menubalk',popupMenuBar:'Menubalk',popupFullScreen:'Volledig scherm (IE)',popupScrollBars:'Schuifbalken',popupDependent:'Afhankelijk (Netscape)',popupLeft:'Positie links',popupTop:'Positie boven',id:'Id',langDir:'Schrijfrichting',langDirLTR:'Links naar rechts (LTR)',langDirRTL:'Rechts naar links (RTL)',acccessKey:'Toegangstoets',name:'Naam',langCode:'Schrijfrichting',tabIndex:'Tabvolgorde',advisoryTitle:'Aanbevolen titel',advisoryContentType:'Aanbevolen content-type',cssClasses:'Stylesheet-klassen',charset:'Karakterset van gelinkte bron',styles:'Stijl',selectAnchor:'Kies een interne link',anchorName:'Op naam interne link',anchorId:'Op kenmerk interne link',emailAddress:'E-mailadres',emailSubject:'Onderwerp bericht',emailBody:'Inhoud bericht',noAnchors:'(Geen interne links in document gevonden)',noUrl:'Geef de link van de URL',noEmail:'Geef een e-mailadres'},anchor:{toolbar:'Interne link',menu:'Eigenschappen interne link',title:'Eigenschappen interne link',name:'Naam interne link',errorName:'Geef de naam van de interne link op'},list:{numberedTitle:'Eigenschappen genummerde lijst',bulletedTitle:'Eigenschappen lijst met opsommingstekens',type:'Type',start:'Start',validateStartNumber:'Starnummer van de lijst moet een heel nummer zijn.',circle:'Cirkel',disc:'Schijf',square:'Vierkant',none:'Geen',notset:'<niet gezet>',armenian:'Armeense numering',georgian:'Greorgische numering (an, ban, gan, etc.)',lowerRoman:'Romeins kleine letters (i, ii, iii, iv, v, etc.)',upperRoman:'Romeins hoofdletters (I, II, III, IV, V, etc.)',lowerAlpha:'Kleine letters (a, b, c, d, e, etc.)',upperAlpha:'Hoofdletters (A, B, C, D, E, etc.)',lowerGreek:'Grieks kleine letters (alpha, beta, gamma, etc.)',decimal:'Cijfers (1, 2, 3, etc.)',decimalLeadingZero:'Cijfers beginnen met nul (01, 02, 03, etc.)'},findAndReplace:{title:'Zoeken en vervangen',find:'Zoeken',replace:'Vervangen',findWhat:'Zoeken naar:',replaceWith:'Vervangen met:',notFoundMsg:'De opgegeven tekst is niet gevonden.',matchCase:'Hoofdlettergevoelig',matchWord:'Hele woord moet voorkomen',matchCyclic:'Doorlopend zoeken',replaceAll:'Alles vervangen',replaceSuccessMsg:'%1 resulaten vervangen.'},table:{toolbar:'Tabel',title:'Eigenschappen tabel',menu:'Eigenschappen tabel',deleteTable:'Tabel verwijderen',rows:'Rijen',columns:'Kolommen',border:'Breedte rand',widthPx:'pixels',widthPc:'procent',widthUnit:'eenheid breedte',cellSpace:'Afstand tussen cellen',cellPad:'Ruimte in de cel',caption:'Naam',summary:'Samenvatting',headers:'Koppen',headersNone:'Geen',headersColumn:'Eerste kolom',headersRow:'Eerste rij',headersBoth:'Beide',invalidRows:'Het aantal rijen moet een getal zijn groter dan 0.',invalidCols:'Het aantal kolommen moet een getal zijn groter dan 0.',invalidBorder:'De rand breedte moet een getal zijn.',invalidWidth:'De tabel breedte moet een getal zijn.',invalidHeight:'De tabel hoogte moet een getal zijn.',invalidCellSpacing:'Afstand tussen cellen moet een getal zijn.',invalidCellPadding:'Ruimte in de cel moet een getal zijn.',cell:{menu:'Cel',insertBefore:'Voeg cel in voor',insertAfter:'Voeg cel in achter',deleteCell:'Cellen verwijderen',merge:'Cellen samenvoegen',mergeRight:'Voeg samen naar rechts',mergeDown:'Voeg samen naar beneden',splitHorizontal:'Splits cellen horizontaal',splitVertical:'Splits cellen verticaal',title:'Cel eigenschappen',cellType:'Cel type',rowSpan:'Rijen samenvoegen',colSpan:'Kolommen samenvoegen',wordWrap:'Automatische terugloop',hAlign:'Horizontale uitlijning',vAlign:'Verticale uitlijning',alignBaseline:'Basislijn',bgColor:'Achtergrondkleur',borderColor:'Kleur rand',data:'Inhoud',header:'Kop',yes:'Ja',no:'Nee',invalidWidth:'De celbreedte moet een getal zijn.',invalidHeight:'De celhoogte moet een getal zijn.',invalidRowSpan:'Rijen samenvoegen moet een heel getal zijn.',invalidColSpan:'Kolommen samenvoegen moet een heel getal zijn.',chooseColor:'Kies'},row:{menu:'Rij',insertBefore:'Voeg rij in voor',insertAfter:'Voeg rij in achter',deleteRow:'Rijen verwijderen'},column:{menu:'Kolom',insertBefore:'Voeg kolom in voor',insertAfter:'Voeg kolom in achter',deleteColumn:'Kolommen verwijderen'}},button:{title:'Eigenschappen knop',text:'Tekst (waarde)',type:'Soort',typeBtn:'Knop',typeSbm:'Versturen',typeRst:'Leegmaken'},checkboxAndRadio:{checkboxTitle:'Eigenschappen aanvinkvakje',radioTitle:'Eigenschappen selectievakje',value:'Waarde',selected:'Geselecteerd'},form:{title:'Eigenschappen formulier',menu:'Eigenschappen formulier',action:'Actie',method:'Methode',encoding:'Codering'},select:{title:'Eigenschappen selectieveld',selectInfo:'Informatie',opAvail:'Beschikbare opties',value:'Waarde',size:'Grootte',lines:'Regels',chkMulti:'Gecombineerde selecties toestaan',opText:'Tekst',opValue:'Waarde',btnAdd:'Toevoegen',btnModify:'Wijzigen',btnUp:'Omhoog',btnDown:'Omlaag',btnSetValue:'Als geselecteerde waarde instellen',btnDelete:'Verwijderen'},textarea:{title:'Eigenschappen tekstvak',cols:'Kolommen',rows:'Rijen'},textfield:{title:'Eigenschappen tekstveld',name:'Naam',value:'Waarde',charWidth:'Breedte (tekens)',maxChars:'Maximum aantal tekens',type:'Soort',typeText:'Tekst',typePass:'Wachtwoord'},hidden:{title:'Eigenschappen verborgen veld',name:'Naam',value:'Waarde'},image:{title:'Eigenschappen afbeelding',titleButton:'Eigenschappen afbeeldingsknop',menu:'Eigenschappen afbeelding',infoTab:'Informatie afbeelding',btnUpload:'Naar server verzenden',upload:'Upload',alt:'Alternatieve tekst',lockRatio:'Afmetingen vergrendelen',unlockRatio:'Afmetingen ontgrendelen',resetSize:'Afmetingen resetten',border:'Rand',hSpace:'HSpace',vSpace:'VSpace',alertUrl:'Geef de URL van de afbeelding',linkTab:'Link',button2Img:'Wilt u de geselecteerde afbeeldingsknop vervangen door een eenvoudige afbeelding?',img2Button:'Wilt u de geselecteerde afbeelding vervangen door een afbeeldingsknop?',urlMissing:'De URL naar de afbeelding ontbreekt.',validateBorder:'Rand moet een heel nummer zijn.',validateHSpace:'HSpace moet een heel nummer zijn.',validateVSpace:'VSpace moet een heel nummer zijn.'},flash:{properties:'Eigenschappen Flash',propertiesTab:'Eigenschappen',title:'Eigenschappen Flash',chkPlay:'Automatisch afspelen',chkLoop:'Herhalen',chkMenu:"Flashmenu's inschakelen",chkFull:'Schermvullend toestaan',scale:'Schaal',scaleAll:'Alles tonen',scaleNoBorder:'Geen rand',scaleFit:'Precies passend',access:'Script toegang',accessAlways:'Altijd',accessSameDomain:'Zelfde domeinnaam',accessNever:'Nooit',alignAbsBottom:'Absoluut-onder',alignAbsMiddle:'Absoluut-midden',alignBaseline:'Basislijn',alignTextTop:'Boven tekst',quality:'Kwaliteit',qualityBest:'Beste',qualityHigh:'Hoog',qualityAutoHigh:'Automatisch hoog',qualityMedium:'Gemiddeld',qualityAutoLow:'Automatisch laag',qualityLow:'Laag',windowModeWindow:'Venster',windowModeOpaque:'Ondoorzichtig',windowModeTransparent:'Doorzichtig',windowMode:'Venster modus',flashvars:'Variabelen voor Flash',bgcolor:'Achtergrondkleur',hSpace:'HSpace',vSpace:'VSpace',validateSrc:'Geef de link van de URL',validateHSpace:'De HSpace moet een getal zijn.',validateVSpace:'De VSpace moet een getal zijn.'},spellCheck:{toolbar:'Spellingscontrole',title:'Spellingscontrole',notAvailable:'Excuses, deze dienst is momenteel niet beschikbaar.',errorLoading:'Er is een fout opgetreden bij het laden van de diesnt: %s.',notInDic:'Niet in het woordenboek',changeTo:'Wijzig in',btnIgnore:'Negeren',btnIgnoreAll:'Alles negeren',btnReplace:'Vervangen',btnReplaceAll:'Alles vervangen',btnUndo:'Ongedaan maken',noSuggestions:'-Geen suggesties-',progress:'Bezig met spellingscontrole...',noMispell:'Klaar met spellingscontrole: geen fouten gevonden',noChanges:'Klaar met spellingscontrole: geen woorden aangepast',oneChange:'Klaar met spellingscontrole: één woord aangepast',manyChanges:'Klaar met spellingscontrole: %1 woorden aangepast',ieSpellDownload:'De spellingscontrole niet geïnstalleerd. Wilt u deze nu downloaden?'},smiley:{toolbar:'Smiley',title:'Smiley invoegen',options:'Smiley opties'},elementsPath:{eleLabel:'Elementenpad',eleTitle:'%1 element'},numberedlist:'Genummerde lijst',bulletedlist:'Opsomming',indent:'Inspringen vergroten',outdent:'Inspringen verkleinen',justify:{left:'Links uitlijnen',center:'Centreren',right:'Rechts uitlijnen',block:'Uitvullen'},blockquote:'Citaatblok',clipboard:{title:'Plakken',cutError:'De beveiligingsinstelling van de browser verhinderen het automatisch knippen. Gebruik de sneltoets Ctrl/Cmd+X van het toetsenbord.',copyError:'De beveiligingsinstelling van de browser verhinderen het automatisch kopiëren. Gebruik de sneltoets Ctrl/Cmd+C van het toetsenbord.',pasteMsg:'Plak de tekst in het volgende vak gebruik makend van uw toetsenbord (<strong>Ctrl/Cmd+V</strong>) en klik op <strong>OK</strong>.',securityMsg:'Door de beveiligingsinstellingen van uw browser is het niet mogelijk om direct vanuit het klembord in de editor te plakken. Middels opnieuw plakken in dit venster kunt u de tekst alsnog plakken in de editor.',pasteArea:'Plakgebied'},pastefromword:{confirmCleanup:'De tekst die u plakte lijkt gekopieerd te zijn vanuit Word. Wilt u de tekst opschonen voordat deze geplakt wordt?',toolbar:'Plakken als Word-gegevens',title:'Plakken als Word-gegevens',error:'Het was niet mogelijk om de geplakte tekst op te schonen door een interne fout'},pasteText:{button:'Plakken als platte tekst',title:'Plakken als platte tekst'},templates:{button:'Sjablonen',title:'Inhoud sjabonen',options:'Template opties',insertOption:'Vervang de huidige inhoud',selectPromptMsg:'Selecteer het sjabloon dat in de editor geopend moet worden (de actuele inhoud gaat verloren):',emptyListMsg:'(Geen sjablonen gedefinieerd)'},showBlocks:'Toon blokken',stylesCombo:{label:'Stijl',panelTitle:'Opmaakstijlen',panelTitle1:'Blok stijlen',panelTitle2:'In-line stijlen',panelTitle3:'Object stijlen'},format:{label:'Opmaak',panelTitle:'Opmaak',tag_p:'Normaal',tag_pre:'Met opmaak',tag_address:'Adres',tag_h1:'Kop 1',tag_h2:'Kop 2',tag_h3:'Kop 3',tag_h4:'Kop 4',tag_h5:'Kop 5',tag_h6:'Kop 6',tag_div:'Normaal (DIV)'},div:{title:'Div aanmaken',toolbar:'Div aanmaken',cssClassInputLabel:'Stylesheet klassen',styleSelectLabel:'Stijl',IdInputLabel:'Id',languageCodeInputLabel:' Taalcode',inlineStyleInputLabel:'Inline stijl',advisoryTitleInputLabel:'informatieve titel',langDirLabel:'Schrijfrichting',langDirLTRLabel:'Links naar rechts (LTR)',langDirRTLLabel:'Rechts naar links (RTL)',edit:'Div wijzigen',remove:'Div verwijderen'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Lettertype',voiceLabel:'Lettertype',panelTitle:'Lettertype'},fontSize:{label:'Lettergrootte',voiceLabel:'Lettergrootte',panelTitle:'Lettergrootte'},colorButton:{textColorTitle:'Tekstkleur',bgColorTitle:'Achtergrondkleur',panelTitle:'Kleuren',auto:'Automatisch',more:'Meer kleuren...'},colors:{'000':'Zwart',800000:'Kastanjebruin','8B4513':'Chocoladebruin','2F4F4F':'Donkerleigrijs','008080':'Blauwgroen','000080':'Marine','4B0082':'Indigo',696969:'Donkergrijs',B22222:'Baksteen',A52A2A:'Bruin',DAA520:'Donkergeel','006400':'Donkergroen','40E0D0':'Turquoise','0000CD':'Middenblauw',800080:'Paars',808080:'Grijs',F00:'Rood',FF8C00:'Donkeroranje',FFD700:'Goud','008000':'Groen','0FF':'Cyaan','00F':'Blauw',EE82EE:'Violet',A9A9A9:'Donkergrijs',FFA07A:'Lichtzalm',FFA500:'Oranje',FFFF00:'Geel','00FF00':'Felgroen',AFEEEE:'Lichtturquoise',ADD8E6:'Lichtblauw',DDA0DD:'Pruim',D3D3D3:'Lichtgrijs',FFF0F5:'Linnen',FAEBD7:'Ivoor',FFFFE0:'Lichtgeel',F0FFF0:'Honingdauw',F0FFFF:'Azuur',F0F8FF:'Licht hemelsblauw',E6E6FA:'Lavendel',FFF:'Wit'},scayt:{title:'Controleer de spelling tijdens het typen',opera_title:'Niet ondersteund door Opera',enable:'SCAYT inschakelen',disable:'SCAYT uitschakelen',about:'Over SCAYT',toggle:'SCAYT in/uitschakelen',options:'Opties',langs:'Talen',moreSuggestions:'Meer suggesties',ignore:'Negeren',ignoreAll:'Alles negeren',addWord:'Woord toevoegen',emptyDic:'De naam van het woordenboek mag niet leeg zijn.',optionsTab:'Opties',allCaps:'Negeer woorden helemaal in hoofdletters',ignoreDomainNames:'Negeer domeinnamen',mixedCase:'Negeer woorden met hoofd- en kleine letters',mixedWithDigits:'Negeer woorden met cijfers',languagesTab:'Talen',dictionariesTab:'Woordenboeken',dic_field_name:'Naam woordenboek',dic_create:'Aanmaken',dic_restore:'Terugzetten',dic_delete:'Verwijderen',dic_rename:'Hernoemen',dic_info:'Initieel wordt het gebruikerswoordenboek opgeslagen in een cookie. Cookies zijn echter beperkt in grootte. Zodra het gebruikerswoordenboek het punt bereikt waarop het niet meer in een cookie opgeslagen kan worden, dan wordt het woordenboek op de server opgeslagen. Om je persoonlijke woordenboek op je eigen server op te slaan, moet je een mapnaam opgeven. Indien je al een woordenboek hebt opgeslagen, typ dan de naam en klik op de Terugzetten knop.',aboutTab:'Over'},about:{title:'Over CKEditor',dlgTitle:'Over CKEditor',moreInfo:'Voor licentie informatie, bezoek onze website:',copy:'Copyright © $1. Alle rechten voorbehouden.'},maximize:'Maximaliseren',minimize:'Minimaliseren',fakeobjects:{anchor:'Anker',flash:'Flash animatie',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Onbekend object'},resize:'Sleep om te herschalen',colordialog:{title:'Selecteer kleur',options:'Kleuropties',highlight:'Actief',selected:'Geselecteerd',clear:'Wissen'},toolbarCollapse:'Werkbalk inklappen',toolbarExpand:'Werkbalk uitklappen',bidi:{ltr:'Schrijfrichting van links naar rechts',rtl:'Schrijfrichting van rechts naar links'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/nl.js | nl.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.tr={dir:'ltr',editorTitle:'Zengin metin editörü, %1, yardım için ALT 0 tuşuna basın.',toolbar:'Toolbar',editor:'Zengin Metin Editörü',source:'Kaynak',newPage:'Yeni Sayfa',save:'Kaydet',preview:'Ön İzleme',cut:'Kes',copy:'Kopyala',paste:'Yapıştır',print:'Yazdır',underline:'Altı Çizgili',bold:'Kalın',italic:'İtalik',selectAll:'Tümünü Seç',removeFormat:'Biçimi Kaldır',strike:'Üstü Çizgili',subscript:'Alt Simge',superscript:'Üst Simge',horizontalrule:'Yatay Satır Ekle',pagebreak:'Sayfa Sonu Ekle',pagebreakAlt:'Page Break',unlink:'Köprü Kaldır',undo:'Geri Al',redo:'Tekrarla',common:{browseServer:'Sunucuyu Gez',url:'URL',protocol:'Protokol',upload:'Karşıya Yükle',uploadSubmit:'Sunucuya Yolla',image:'Resim',flash:'Flash',form:'Form',checkbox:'Onay Kutusu',radio:'Seçenek Düğmesi',textField:'Metin Girişi',textarea:'Çok Satırlı Metin',hiddenField:'Gizli Veri',button:'Düğme',select:'Seçim Menüsü',imageButton:'Resimli Düğme',notSet:'<tanımlanmamış>',id:'Kimlik',name:'Ad',langDir:'Dil Yönü',langDirLtr:'Soldan Sağa (LTR)',langDirRtl:'Sağdan Sola (RTL)',langCode:'Dil Kodlaması',longDescr:'Uzun Tanımlı URL',cssClass:'Biçem Sayfası Sınıfları',advisoryTitle:'Danışma Başlığı',cssStyle:'Biçem',ok:'Tamam',cancel:'İptal',close:'Kapat',preview:'Ön gösterim',generalTab:'Genel',advancedTab:'Gelişmiş',validateNumberFailed:'Bu değer sayı değildir.',confirmNewPage:'İceriğiniz kayıt edilmediğinden dolayı kaybolacaktır. Yeni bir sayfa yüklemek istediğinize eminsiniz?',confirmCancel:'Bazı seçenekler değişmiştir. Dialog penceresini kapatmak istediğinize eminmisiniz?',options:'Seçenekler',target:'Hedef',targetNew:'Yeni Pencere (_blank)',targetTop:'Enüst Pencere (_top)',targetSelf:'Aynı Pencere (_self)',targetParent:'Ana Pencere (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Genişlik',height:'Yükseklik',align:'Hizalama',alignLeft:'Sol',alignRight:'Sağ',alignCenter:'Merkez',alignTop:'Tepe',alignMiddle:'Orta',alignBottom:'Alt',invalidHeight:'Yükseklik sayı olmalıdır.',invalidWidth:'Genişlik bir sayı olmalıdır.',unavailable:'%1<span class="cke_accessibility">, hazır değildir</span>'},contextmenu:{options:'İçerik Menüsü Seçenekleri'},specialChar:{toolbar:'Özel Karakter Ekle',title:'Özel Karakter Seç',options:'Özel Karakter Seçenekleri'},link:{toolbar:'Link Ekle/Düzenle',other:'<diğer>',menu:'Link Düzenle',title:'Link',info:'Link Bilgisi',target:'Hedef',upload:'Karşıya Yükle',advanced:'Gelişmiş',type:'Link Türü',toUrl:'URL',toAnchor:'Bu sayfada çapa',toEmail:'E-Posta',targetFrame:'<çerçeve>',targetPopup:'<yeni açılan pencere>',targetFrameName:'Hedef Çerçeve Adı',targetPopupName:'Yeni Açılan Pencere Adı',popupFeatures:'Yeni Açılan Pencere Özellikleri',popupResizable:'Resizable',popupStatusBar:'Durum Çubuğu',popupLocationBar:'Yer Çubuğu',popupToolbar:'Araç Çubuğu',popupMenuBar:'Menü Çubuğu',popupFullScreen:'Tam Ekran (IE)',popupScrollBars:'Kaydırma Çubukları',popupDependent:'Bağımlı (Netscape)',popupLeft:'Sola Göre Konum',popupTop:'Yukarıya Göre Konum',id:'Id',langDir:'Dil Yönü',langDirLTR:'Soldan Sağa (LTR)',langDirRTL:'Sağdan Sola (RTL)',acccessKey:'Erişim Tuşu',name:'Ad',langCode:'Dil Yönü',tabIndex:'Sekme İndeksi',advisoryTitle:'Danışma Başlığı',advisoryContentType:'Danışma İçerik Türü',cssClasses:'Biçem Sayfası Sınıfları',charset:'Bağlı Kaynak Karakter Gurubu',styles:'Biçem',selectAnchor:'Bağlantı Seç',anchorName:'Bağlantı Adı ile',anchorId:'Eleman Kimlik Numarası ile',emailAddress:'E-Posta Adresi',emailSubject:'İleti Konusu',emailBody:'İleti Gövdesi',noAnchors:'(Bu belgede hiç çapa yok)',noUrl:"Lütfen Link URL'sini yazın",noEmail:'Lütfen E-posta adresini yazın'},anchor:{toolbar:'Bağlantı Ekle/Düzenle',menu:'Bağlantı Özellikleri',title:'Bağlantı Özellikleri',name:'Bağlantı Adı',errorName:'Lütfen bağlantı için ad giriniz'},list:{numberedTitle:'Sayılandırılmış Liste Özellikleri',bulletedTitle:'Simgeli Liste Özellikleri',type:'Tipi',start:'Başla',validateStartNumber:'List start number must be a whole number.',circle:'Daire',disc:'Disk',square:'Kare',none:'Yok',notset:'<ayarlanmamış>',armenian:'Ermenice sayılandırma',georgian:'Gürcüce numaralandırma (an, ban, gan, vs.)',lowerRoman:'Küçük Roman (i, ii, iii, iv, v, vs.)',upperRoman:'Büyük Roman (I, II, III, IV, V, vs.)',lowerAlpha:'Küçük Alpha (a, b, c, d, e, vs.)',upperAlpha:'Büyük Alpha (A, B, C, D, E, vs.)',lowerGreek:'Küçük Greek (alpha, beta, gamma, vs.)',decimal:'Ondalık (1, 2, 3, vs.)',decimalLeadingZero:'Başı sıfırlı ondalık (01, 02, 03, vs.)'},findAndReplace:{title:'Bul ve Değiştir',find:'Bul',replace:'Değiştir',findWhat:'Aranan:',replaceWith:'Bununla değiştir:',notFoundMsg:'Belirtilen yazı bulunamadı.',matchCase:'Büyük/küçük harf duyarlı',matchWord:'Kelimenin tamamı uysun',matchCyclic:'Eşleşen döngü',replaceAll:'Tümünü Değiştir',replaceSuccessMsg:'%1 bulunanlardan değiştirildi.'},table:{toolbar:'Tablo',title:'Tablo Özellikleri',menu:'Tablo Özellikleri',deleteTable:'Tabloyu Sil',rows:'Satırlar',columns:'Sütunlar',border:'Kenar Kalınlığı',widthPx:'piksel',widthPc:'yüzde',widthUnit:'genişlik birimi',cellSpace:'Izgara kalınlığı',cellPad:'Izgara yazı arası',caption:'Başlık',summary:'Özet',headers:'Başlıklar',headersNone:'Yok',headersColumn:'İlk Sütun',headersRow:'İlk Satır',headersBoth:'Her İkisi',invalidRows:'Satır sayısı 0 sayısından büyük olmalıdır.',invalidCols:'Sütün sayısı 0 sayısından büyük olmalıdır.',invalidBorder:'Çerceve büyüklüklüğü sayı olmalıdır.',invalidWidth:'Tablo genişliği sayı olmalıdır.',invalidHeight:'Tablo yüksekliği sayı olmalıdır.',invalidCellSpacing:'Hücre boşluğu (spacing) sayı olmalıdır.',invalidCellPadding:'Hücre aralığı (padding) sayı olmalıdır.',cell:{menu:'Hücre',insertBefore:'Hücre Ekle - Önce',insertAfter:'Hücre Ekle - Sonra',deleteCell:'Hücre Sil',merge:'Hücreleri Birleştir',mergeRight:'Birleştir - Sağdaki İle ',mergeDown:'Birleştir - Aşağıdaki İle ',splitHorizontal:'Hücreyi Yatay Böl',splitVertical:'Hücreyi Dikey Böl',title:'Hücre Özellikleri',cellType:'Hücre Tipi',rowSpan:'Satırlar Mesafesi (Span)',colSpan:'Sütünlar Mesafesi (Span)',wordWrap:'Kelime Kaydırma',hAlign:'Düşey Hizalama',vAlign:'Yataş Hizalama',alignBaseline:'Tabana',bgColor:'Arkaplan Rengi',borderColor:'Çerçeve Rengi',data:'Veri',header:'Başlık',yes:'Evet',no:'Hayır',invalidWidth:'Hücre genişliği sayı olmalıdır.',invalidHeight:'Hücre yüksekliği sayı olmalıdır.',invalidRowSpan:'Satırların mesafesi tam sayı olmalıdır.',invalidColSpan:'Sütünların mesafesi tam sayı olmalıdır.',chooseColor:'Seçiniz'},row:{menu:'Satır',insertBefore:'Satır Ekle - Önce',insertAfter:'Satır Ekle - Sonra',deleteRow:'Satır Sil'},column:{menu:'Sütun',insertBefore:'Kolon Ekle - Önce',insertAfter:'Kolon Ekle - Sonra',deleteColumn:'Sütun Sil'}},button:{title:'Düğme Özellikleri',text:'Metin (Değer)',type:'Tip',typeBtn:'Düğme',typeSbm:'Gönder',typeRst:'Sıfırla'},checkboxAndRadio:{checkboxTitle:'Onay Kutusu Özellikleri',radioTitle:'Seçenek Düğmesi Özellikleri',value:'Değer',selected:'Seçili'},form:{title:'Form Özellikleri',menu:'Form Özellikleri',action:'İşlem',method:'Yöntem',encoding:'Kodlama'},select:{title:'Seçim Menüsü Özellikleri',selectInfo:'Bilgi',opAvail:'Mevcut Seçenekler',value:'Değer',size:'Boyut',lines:'satır',chkMulti:'Çoklu seçime izin ver',opText:'Metin',opValue:'Değer',btnAdd:'Ekle',btnModify:'Düzenle',btnUp:'Yukarı',btnDown:'Aşağı',btnSetValue:'Seçili değer olarak ata',btnDelete:'Sil'},textarea:{title:'Çok Satırlı Metin Özellikleri',cols:'Sütunlar',rows:'Satırlar'},textfield:{title:'Metin Girişi Özellikleri',name:'Ad',value:'Değer',charWidth:'Karakter Genişliği',maxChars:'En Fazla Karakter',type:'Tür',typeText:'Metin',typePass:'Şifre'},hidden:{title:'Gizli Veri Özellikleri',name:'Ad',value:'Değer'},image:{title:'Resim Özellikleri',titleButton:'Resimli Düğme Özellikleri',menu:'Resim Özellikleri',infoTab:'Resim Bilgisi',btnUpload:'Sunucuya Yolla',upload:'Karşıya Yükle',alt:'Alternatif Yazı',lockRatio:'Oranı Kilitle',unlockRatio:'Kilitli Oran',resetSize:'Boyutu Başa Döndür',border:'Kenar',hSpace:'Yatay Boşluk',vSpace:'Dikey Boşluk',alertUrl:"Lütfen resmin URL'sini yazınız",linkTab:'Köprü',button2Img:'Seçili resim butonunu basit resime çevirmek istermisiniz?',img2Button:'Seçili olan resimi, resimli butona çevirmek istermisiniz?',urlMissing:'Resmin URL kaynağı eksiktir.',validateBorder:'Çerçeve tam sayı olmalıdır.',validateHSpace:'HSpace tam sayı olmalıdır.',validateVSpace:'VSpace tam sayı olmalıdır.'},flash:{properties:'Flash Özellikleri',propertiesTab:'Özellikler',title:'Flash Özellikleri',chkPlay:'Otomatik Oynat',chkLoop:'Döngü',chkMenu:'Flash Menüsünü Kullan',chkFull:'Tam ekrana İzinver',scale:'Boyutlandır',scaleAll:'Hepsini Göster',scaleNoBorder:'Kenar Yok',scaleFit:'Tam Sığdır',access:'Kod İzni',accessAlways:'Herzaman',accessSameDomain:'Aynı domain',accessNever:'Asla',alignAbsBottom:'Tam Altı',alignAbsMiddle:'Tam Ortası',alignBaseline:'Taban Çizgisi',alignTextTop:'Yazı Tepeye',quality:'Kalite',qualityBest:'En iyi',qualityHigh:'Yüksek',qualityAutoHigh:'Otomatik Yükseklik',qualityMedium:'Orta',qualityAutoLow:'Otomatik Düşüklük',qualityLow:'Düşük',windowModeWindow:'Pencere',windowModeOpaque:'Opak',windowModeTransparent:'Şeffaf',windowMode:'Pencere modu',flashvars:'Flash Değerleri',bgcolor:'Arka Renk',hSpace:'Yatay Boşluk',vSpace:'Dikey Boşluk',validateSrc:"Lütfen köprü URL'sini yazın",validateHSpace:'HSpace sayı olmalıdır.',validateVSpace:'VSpace sayı olmalıdır.'},spellCheck:{toolbar:'Yazım Denetimi',title:'Yazımı Denetle',notAvailable:'Üzügünüz, bu servis şuanda hizmet dışıdır.',errorLoading:'Uygulamada yüklerken hata oluştu: %s.',notInDic:'Sözlükte Yok',changeTo:'Şuna değiştir:',btnIgnore:'Yoksay',btnIgnoreAll:'Tümünü Yoksay',btnReplace:'Değiştir',btnReplaceAll:'Tümünü Değiştir',btnUndo:'Geri Al',noSuggestions:'- Öneri Yok -',progress:'Yazım denetimi işlemde...',noMispell:'Yazım denetimi tamamlandı: Yanlış yazıma rastlanmadı',noChanges:'Yazım denetimi tamamlandı: Hiçbir kelime değiştirilmedi',oneChange:'Yazım denetimi tamamlandı: Bir kelime değiştirildi',manyChanges:'Yazım denetimi tamamlandı: %1 kelime değiştirildi',ieSpellDownload:'Yazım denetimi yüklenmemiş. Şimdi yüklemek ister misiniz?'},smiley:{toolbar:'İfade',title:'İfade Ekle',options:'İfade Seçenekleri'},elementsPath:{eleLabel:'Elementlerin yolu',eleTitle:'%1 element'},numberedlist:'Numaralı Liste',bulletedlist:'Simgeli Liste',indent:'Sekme Arttır',outdent:'Sekme Azalt',justify:{left:'Sola Dayalı',center:'Ortalanmış',right:'Sağa Dayalı',block:'İki Kenara Yaslanmış'},blockquote:'Blok Oluştur',clipboard:{title:'Yapıştır',cutError:'Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kesme işlemine izin vermiyor. İşlem için (Ctrl/Cmd+X) tuşlarını kullanın.',copyError:'Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kopyalama işlemine izin vermiyor. İşlem için (Ctrl/Cmd+C) tuşlarını kullanın.',pasteMsg:'Lütfen aşağıdaki kutunun içine yapıştırın. (<STRONG>Ctrl/Cmd+V</STRONG>) ve <STRONG>Tamam</STRONG> butonunu tıklayın.',securityMsg:'Gezgin yazılımınızın güvenlik ayarları düzenleyicinin direkt olarak panoya erişimine izin vermiyor. Bu pencere içine tekrar yapıştırmalısınız..',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:"Yapıştırmaya çalıştığınız metin Word'den kopyalanmıştır. Yapıştırmadan önce silmek istermisiniz?",toolbar:"Word'den Yapıştır",title:"Word'den Yapıştır",error:'Yapıştırmadaki veri bilgisi hata düzelene kadar silinmeyecektir'},pasteText:{button:'Düz Metin Olarak Yapıştır',title:'Düz Metin Olarak Yapıştır'},templates:{button:'Şablonlar',title:'İçerik Şablonları',options:'Şablon Seçenekleri',insertOption:'Mevcut içerik ile değiştir',selectPromptMsg:'Düzenleyicide açmak için lütfen bir şablon seçin.<br>(hali hazırdaki içerik kaybolacaktır.):',emptyListMsg:'(Belirli bir şablon seçilmedi)'},showBlocks:'Blokları Göster',stylesCombo:{label:'Biçem',panelTitle:'Stilleri Düzenliyor',panelTitle1:'Blok Stilleri',panelTitle2:'Inline Stilleri',panelTitle3:'Nesne Stilleri'},format:{label:'Biçim',panelTitle:'Biçim',tag_p:'Normal',tag_pre:'Biçimli',tag_address:'Adres',tag_h1:'Başlık 1',tag_h2:'Başlık 2',tag_h3:'Başlık 3',tag_h4:'Başlık 4',tag_h5:'Başlık 5',tag_h6:'Başlık 6',tag_div:'Paragraf (DIV)'},div:{title:'Div İçeriği Oluştur',toolbar:'Div İçeriği Oluştur',cssClassInputLabel:'Stilltipi Sınıfı',styleSelectLabel:'Stil',IdInputLabel:'Id',languageCodeInputLabel:' Dil Kodu',inlineStyleInputLabel:'Inline Stili',advisoryTitleInputLabel:'Tavsiye Başlığı',langDirLabel:'Dil Yönü',langDirLTRLabel:'Soldan sağa (LTR)',langDirRTLLabel:'Sağdan sola (RTL)',edit:'Div Düzenle',remove:'Div Kaldır'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Yazı Türü',voiceLabel:'Font',panelTitle:'Yazı Türü'},fontSize:{label:'Boyut',voiceLabel:'Font Size',panelTitle:'Boyut'},colorButton:{textColorTitle:'Yazı Rengi',bgColorTitle:'Arka Renk',panelTitle:'Renkler',auto:'Otomatik',more:'Diğer renkler...'},colors:{'000':'Siyah',800000:'Kestane','8B4513':'Koyu Kahverengi','2F4F4F':'Koyu Kurşuni Gri','008080':'Teal','000080':'Mavi','4B0082':'Çivit Mavisi',696969:'Silik Gri',B22222:'Ateş Tuğlası',A52A2A:'Kahverengi',DAA520:'Altun Sırık','006400':'Koyu Yeşil','40E0D0':'Turkuaz','0000CD':'Orta Mavi',800080:'Pembe',808080:'Gri',F00:'Kırmızı',FF8C00:'Koyu Portakal',FFD700:'Altın','008000':'Yeşil','0FF':'Ciyan','00F':'Mavi',EE82EE:'Menekşe',A9A9A9:'Koyu Gri',FFA07A:'Açık Sarımsı',FFA500:'Portakal',FFFF00:'Sarı','00FF00':'Açık Yeşil',AFEEEE:'Sönük Turkuaz',ADD8E6:'Açık Mavi',DDA0DD:'Mor',D3D3D3:'Açık Gri',FFF0F5:'Eflatun Pembe',FAEBD7:'Antik Beyaz',FFFFE0:'Açık Sarı',F0FFF0:'Balsarısı',F0FFFF:'Gök Mavisi',F0F8FF:'Reha Mavi',E6E6FA:'Eflatun',FFF:'Beyaz'},scayt:{title:'Girmiş olduğunuz kelime denetimi',opera_title:'Opera tarafından desteklenmemektedir',enable:'SCAYT etkinleştir',disable:'SCAYT pasifleştir',about:'SCAYT hakkında',toggle:'SCAYT değiştir',options:'Seçenekler',langs:'Diller',moreSuggestions:'Daha fazla öneri',ignore:'Yoksay',ignoreAll:'Tümünü Yoksay',addWord:'Kelime Ekle',emptyDic:'Sözlük adı boş olamaz.',optionsTab:'Seçenekler',allCaps:'Tüm büyük küçük kelimeleri yoksay',ignoreDomainNames:'Domain adlarını yoksay',mixedCase:'Karışık büyüklük ile Sözcükler yoksay',mixedWithDigits:'Sayılarla Kelimeler yoksay',languagesTab:'Diller',dictionariesTab:'Sözlükler',dic_field_name:'Sözlük adı',dic_create:'Oluştur',dic_restore:'Geri al',dic_delete:'Sil',dic_rename:'Yeniden adlandır',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 it's name and click the Restore button.",aboutTab:'Hakkında'},about:{title:'CKEditor Hakkında',dlgTitle:'CKEditor Hakkında',moreInfo:'Lisanslama hakkında daha fazla bilgi almak için lütfen sitemizi ziyaret edin:',copy:'Copyright © $1. Tüm hakları saklıdır.'},maximize:'Büyült',minimize:'Küçült',fakeobjects:{anchor:'Bağlantı',flash:'Flash Animasyonu',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Bilinmeyen Nesne'},resize:'Boyutlandırmak için sürükle',colordialog:{title:'Renk seç',options:'Renk Seçenekleri',highlight:'İşaretle',selected:'Seçilmiş',clear:'Temizle'},toolbarCollapse:"Toolbar'ı topla",toolbarExpand:"Toolbar'ı aç",bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/tr.js | tr.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.el={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'HTML κώδικας',newPage:'Νέα Σελίδα',save:'Αποθήκευση',preview:'Προεπισκόπιση',cut:'Αποκοπή',copy:'Αντιγραφή',paste:'Επικόλληση',print:'Εκτύπωση',underline:'Υπογράμμιση',bold:'Έντονα',italic:'Πλάγια',selectAll:'Επιλογή όλων',removeFormat:'Αφαίρεση Μορφοποίησης',strike:'Διαγράμμιση',subscript:'Δείκτης',superscript:'Εκθέτης',horizontalrule:'Εισαγωγή Οριζόντιας Γραμμής',pagebreak:'Εισαγωγή τέλους σελίδας',pagebreakAlt:'Page Break',unlink:'Αφαίρεση Συνδέσμου (Link)',undo:'Αναίρεση',redo:'Επαναφορά',common:{browseServer:'Εξερεύνηση διακομιστή',url:'URL',protocol:'Προτόκολο',upload:'Αποστολή',uploadSubmit:'Αποστολή στον Διακομιστή',image:'Εικόνα',flash:'Εισαγωγή Flash',form:'Φόρμα',checkbox:'Κουτί επιλογής',radio:'Κουμπί Radio',textField:'Πεδίο κειμένου',textarea:'Περιοχή κειμένου',hiddenField:'Κρυφό πεδίο',button:'Κουμπί',select:'Πεδίο επιλογής',imageButton:'Κουμπί εικόνας',notSet:'<χωρίς>',id:'Id',name:'Όνομα',langDir:'Κατεύθυνση κειμένου',langDirLtr:'Αριστερά προς Δεξιά (LTR)',langDirRtl:'Δεξιά προς Αριστερά (RTL)',langCode:'Κωδικός Γλώσσας',longDescr:'Αναλυτική περιγραφή URL',cssClass:'Stylesheet Classes',advisoryTitle:'Συμβουλευτικός τίτλος',cssStyle:'Στύλ',ok:'OK',cancel:'Ακύρωση',close:'Close',preview:'Preview',generalTab:'General',advancedTab:'Για προχωρημένους',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Πλάτος',height:'Ύψος',align:'Ευθυγράμμιση (Align)',alignLeft:'Αριστερά',alignRight:'Δεξιά (Right)',alignCenter:'Κέντρο',alignTop:'Πάνω (Top)',alignMiddle:'Μέση (Middle)',alignBottom:'Κάτω (Bottom)',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Εισαγωγή Ειδικού Συμβόλου',title:'Επιλέξτε ένα Ειδικό Σύμβολο',options:'Special Character Options'},link:{toolbar:'Εισαγωγή/Μεταβολή Συνδέσμου (Link)',other:'<άλλος>',menu:'Μεταβολή Συνδέσμου (Link)',title:'Σύνδεσμος (Link)',info:'Link',target:'Παράθυρο Στόχος (Target)',upload:'Αποστολή',advanced:'Για προχωρημένους',type:'Τύπος συνδέσμου (Link)',toUrl:'URL',toAnchor:'Άγκυρα σε αυτή τη σελίδα',toEmail:'E-Mail',targetFrame:'<πλαίσιο>',targetPopup:'<παράθυρο popup>',targetFrameName:'Όνομα πλαισίου στόχου',targetPopupName:'Όνομα Popup Window',popupFeatures:'Επιλογές Popup Window',popupResizable:'Resizable',popupStatusBar:'Μπάρα Status',popupLocationBar:'Μπάρα Τοποθεσίας',popupToolbar:'Μπάρα Εργαλείων',popupMenuBar:'Μπάρα Menu',popupFullScreen:'Ολόκληρη η Οθόνη (IE)',popupScrollBars:'Μπάρες Κύλισης',popupDependent:'Dependent (Netscape)',popupLeft:'Τοποθεσία Αριστερής Άκρης',popupTop:'Τοποθεσία Πάνω Άκρης',id:'Id',langDir:'Κατεύθυνση κειμένου',langDirLTR:'Αριστερά προς Δεξιά (LTR)',langDirRTL:'Δεξιά προς Αριστερά (RTL)',acccessKey:'Συντόμευση (Access Key)',name:'Όνομα',langCode:'Κατεύθυνση κειμένου',tabIndex:'Tab Index',advisoryTitle:'Συμβουλευτικός τίτλος',advisoryContentType:'Συμβουλευτικός τίτλος περιεχομένου',cssClasses:'Stylesheet Classes',charset:'Linked Resource Charset',styles:'Στύλ',selectAnchor:'Επιλέξτε μια άγκυρα',anchorName:'Βάσει του Ονόματος (Name) της άγκυρας',anchorId:'Βάσει του Element Id',emailAddress:'Διεύθυνση Ηλεκτρονικού Ταχυδρομείου',emailSubject:'Θέμα Μηνύματος',emailBody:'Κείμενο Μηνύματος',noAnchors:'(Δεν υπάρχουν άγκυρες στο κείμενο)',noUrl:'Εισάγετε την τοποθεσία (URL) του υπερσυνδέσμου (Link)',noEmail:'Εισάγετε την διεύθυνση ηλεκτρονικού ταχυδρομείου'},anchor:{toolbar:'Εισαγωγή/επεξεργασία Anchor',menu:'Ιδιότητες άγκυρας',title:'Ιδιότητες άγκυρας',name:'Όνομα άγκυρας',errorName:'Παρακαλούμε εισάγετε όνομα άγκυρας'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Find and Replace',find:'Αναζήτηση',replace:'Αντικατάσταση',findWhat:'Αναζήτηση:',replaceWith:'Αντικατάσταση με:',notFoundMsg:'Το κείμενο δεν βρέθηκε.',matchCase:'Έλεγχος πεζών/κεφαλαίων',matchWord:'Εύρεση πλήρους λέξης',matchCyclic:'Match cyclic',replaceAll:'Αντικατάσταση Όλων',replaceSuccessMsg:'%1 occurrence(s) replaced.'},table:{toolbar:'Πίνακας',title:'Ιδιότητες Πίνακα',menu:'Ιδιότητες Πίνακα',deleteTable:'Διαγραφή πίνακα',rows:'Γραμμές',columns:'Κολώνες',border:'Μέγεθος Περιθωρίου',widthPx:'pixels',widthPc:'%',widthUnit:'width unit',cellSpace:'Απόσταση κελιών',cellPad:'Γέμισμα κελιών',caption:'Υπέρτιτλος',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:'Κελί',insertBefore:'Insert Cell Before',insertAfter:'Insert Cell After',deleteCell:'Διαγραφή Κελιών',merge:'Ενοποίηση Κελιών',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'},row:{menu:'Σειρά',insertBefore:'Insert Row Before',insertAfter:'Insert Row After',deleteRow:'Διαγραφή Γραμμών'},column:{menu:'Στήλη',insertBefore:'Insert Column Before',insertAfter:'Insert Column After',deleteColumn:'Διαγραφή Κολωνών'}},button:{title:'Ιδιότητες κουμπιού',text:'Κείμενο (Τιμή)',type:'Τύπος',typeBtn:'Κουμπί',typeSbm:'Καταχώρηση',typeRst:'Επαναφορά'},checkboxAndRadio:{checkboxTitle:'Ιδιότητες κουμπιού επιλογής',radioTitle:'Ιδιότητες κουμπιού radio',value:'Τιμή',selected:'Επιλεγμένο'},form:{title:'Ιδιότητες φόρμας',menu:'Ιδιότητες φόρμας',action:'Δράση',method:'Μάθοδος',encoding:'Encoding'},select:{title:'Ιδιότητες πεδίου επιλογής',selectInfo:'Πληροφορίες',opAvail:'Διαθέσιμες επιλογές',value:'Τιμή',size:'Μέγεθος',lines:'γραμμές',chkMulti:'Πολλαπλές επιλογές',opText:'Κείμενο',opValue:'Τιμή',btnAdd:'Προσθήκη',btnModify:'Αλλαγή',btnUp:'Πάνω',btnDown:'Κάτω',btnSetValue:'Προεπιλεγμένη επιλογή',btnDelete:'Διαγραφή'},textarea:{title:'Ιδιότητες περιοχής κειμένου',cols:'Στήλες',rows:'Σειρές'},textfield:{title:'Ιδιότητες πεδίου κειμένου',name:'Όνομα',value:'Τιμή',charWidth:'Μήκος χαρακτήρων',maxChars:'Μέγιστοι χαρακτήρες',type:'Τύπος',typeText:'Κείμενο',typePass:'Κωδικός'},hidden:{title:'Ιδιότητες κρυφού πεδίου',name:'Όνομα',value:'Τιμή'},image:{title:'Ιδιότητες Εικόνας',titleButton:'Ιδιότητες κουμπιού εικόνας',menu:'Ιδιότητες Εικόνας',infoTab:'Πληροφορίες Εικόνας',btnUpload:'Αποστολή στον Διακομιστή',upload:'Αποστολή',alt:'Εναλλακτικό Κείμενο (ALT)',lockRatio:'Κλείδωμα Αναλογίας',unlockRatio:'Unlock Ratio',resetSize:'Επαναφορά Αρχικού Μεγέθους',border:'Περιθώριο',hSpace:'Οριζόντιος Χώρος (HSpace)',vSpace:'Κάθετος Χώρος (VSpace)',alertUrl:'Εισάγετε την τοποθεσία (URL) της εικόνας',linkTab:'Σύνδεσμος',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.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'Ιδιότητες Flash',propertiesTab:'Properties',title:'Ιδιότητες flash',chkPlay:'Αυτόματη έναρξη',chkLoop:'Επανάληψη',chkMenu:'Ενεργοποίηση Flash Menu',chkFull:'Allow Fullscreen',scale:'Κλίμακα',scaleAll:'Εμφάνιση όλων',scaleNoBorder:'Χωρίς όρια',scaleFit:'Ακριβής εφαρμογή',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',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'Χρώμα Υποβάθρου',hSpace:'Οριζόντιος Χώρος (HSpace)',vSpace:'Κάθετος Χώρος (VSpace)',validateSrc:'Εισάγετε την τοποθεσία (URL) του υπερσυνδέσμου (Link)',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'Ορθογραφικός έλεγχος',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %s.',notInDic:'Δεν υπάρχει στο λεξικό',changeTo:'Αλλαγή σε',btnIgnore:'Αγνόηση',btnIgnoreAll:'Αγνόηση όλων',btnReplace:'Αντικατάσταση',btnReplaceAll:'Αντικατάσταση όλων',btnUndo:'Αναίρεση',noSuggestions:'- Δεν υπάρχουν προτάσεις -',progress:'Ορθογραφικός έλεγχος σε εξέλιξη...',noMispell:'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν βρέθηκαν λάθη',noChanges:'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν άλλαξαν λέξεις',oneChange:'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Μια λέξη άλλαξε',manyChanges:'Ο ορθογραφικός έλεγχος ολοκληρώθηκε: %1 λέξεις άλλαξαν',ieSpellDownload:'Δεν υπάρχει εγκατεστημένος ορθογράφος. Θέλετε να τον κατεβάσετε τώρα;'},smiley:{toolbar:'Smiley',title:'Επιλέξτε ένα Smiley',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},numberedlist:'Λίστα με Αριθμούς',bulletedlist:'Λίστα με Bullets',indent:'Αύξηση Εσοχής',outdent:'Μείωση Εσοχής',justify:{left:'Στοίχιση Αριστερά',center:'Στοίχιση στο Κέντρο',right:'Στοίχιση Δεξιά',block:'Πλήρης Στοίχιση (Block)'},blockquote:'Block Quote',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.',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'Επικόλληση από το Word',title:'Επικόλληση από το Word',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'Επικόλληση ως Απλό Κείμενο',title:'Επικόλληση ως Απλό Κείμενο'},templates:{button:'Πρότυπα',title:'Πρότυπα περιεχομένου',options:'Template Options',insertOption:'Αντικατάσταση υπάρχοντων περιεχομένων',selectPromptMsg:'Παρακαλώ επιλέξτε πρότυπο για εισαγωγή στο πρόγραμμα<br>(τα υπάρχοντα περιεχόμενα θα χαθούν):',emptyListMsg:'(Δεν έχουν καθοριστεί πρότυπα)'},showBlocks:'Show Blocks',stylesCombo:{label:'Στυλ',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},format:{label:'Μορφή Γραμματοσειράς',panelTitle:'Μορφή Γραμματοσειράς',tag_p:'Κανονικό',tag_pre:'Μορφοποιημένο',tag_address:'Διεύθυνση',tag_h1:'Επικεφαλίδα 1',tag_h2:'Επικεφαλίδα 2',tag_h3:'Επικεφαλίδα 3',tag_h4:'Επικεφαλίδα 4',tag_h5:'Επικεφαλίδα 5',tag_h6:'Επικεφαλίδα 6',tag_div:'Normal (DIV)'},div:{title:'Create Div Container',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Γραμματοσειρά',voiceLabel:'Font',panelTitle:'Γραμματοσειρά'},fontSize:{label:'Μέγεθος',voiceLabel:'Font Size',panelTitle:'Μέγεθος'},colorButton:{textColorTitle:'Χρώμα Γραμμάτων',bgColorTitle:'Χρώμα Υποβάθρου',panelTitle:'Colors',auto:'Αυτόματο',more:'Περισσότερα χρώματα...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/el.js | el.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang['en-gb']={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',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',unlink:'Unlink',undo:'Undo',redo:'Redo',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',preview:'Preview',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Width',height:'Height',align:'Align',alignLeft:'Left',alignRight:'Right',alignCenter:'Centre',alignTop:'Top',alignMiddle:'Middle',alignBottom:'Bottom',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Insert Special Character',title:'Select Special Character',options:'Special Character Options'},link:{toolbar:'Link',other:'<other>',menu:'Edit Link',title:'Link',info:'Link Info',target:'Target',upload:'Upload',advanced:'Advanced',type:'Link Type',toUrl:'URL',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',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:{toolbar:'Anchor',menu:'Edit Anchor',title:'Anchor Properties',name:'Anchor Name',errorName:'Please type the anchor name'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Find and Replace',find:'Find',replace:'Replace',findWhat:'Find what:',replaceWith:'Replace with:',notFoundMsg:'The specified text was not found.',matchCase:'Match case',matchWord:'Match whole word',matchCyclic:'Match cyclic',replaceAll:'Replace All',replaceSuccessMsg:'%1 occurrence(s) replaced.'},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',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'},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:{title:'Button Properties',text:'Text (Value)',type:'Type',typeBtn:'Button',typeSbm:'Submit',typeRst:'Reset'},checkboxAndRadio:{checkboxTitle:'Checkbox Properties',radioTitle:'Radio Button Properties',value:'Value',selected:'Selected'},form:{title:'Form Properties',menu:'Form Properties',action:'Action',method:'Method',encoding:'Encoding'},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:{title:'Textarea Properties',cols:'Columns',rows:'Rows'},textfield:{title:'Text Field Properties',name:'Name',value:'Value',charWidth:'Character Width',maxChars:'Maximum Characters',type:'Type',typeText:'Text',typePass:'Password'},hidden:{title:'Hidden Field Properties',name:'Name',value:'Value'},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',unlockRatio:'Unlock 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.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},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',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',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.'},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'},elementsPath:{eleLabel:'Elements path',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'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'Paste from Word',title:'Paste from Word',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'Paste as plain text',title:'Paste as Plain Text'},templates:{button:'Templates',title:'Content Templates',options:'Template Options',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',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',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Font',voiceLabel:'Font',panelTitle:'Font Name'},fontSize:{label:'Size',voiceLabel:'Font Size',panelTitle:'Font Size'},colorButton:{textColorTitle:'Text Colour',bgColorTitle:'Background Colour',panelTitle:'Colours',auto:'Automatic',more:'More Colours...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Grey','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Grey',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Grey',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Grey',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximise',minimize:'Minimise',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select colour',options:'Colour Options',highlight:'Highlight',selected:'Selected Colour',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/en-gb.js | en-gb.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.sv={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'Källa',newPage:'Ny sida',save:'Spara',preview:'Förhandsgranska',cut:'Klipp ut',copy:'Kopiera',paste:'Klistra in',print:'Skriv ut',underline:'Understruken',bold:'Fet',italic:'Kursiv',selectAll:'Markera allt',removeFormat:'Radera formatering',strike:'Genomstruken',subscript:'Nedsänkta tecken',superscript:'Upphöjda tecken',horizontalrule:'Infoga horisontal linje',pagebreak:'Infoga sidbrytning',pagebreakAlt:'Page Break',unlink:'Radera länk',undo:'Ångra',redo:'Gör om',common:{browseServer:'Bläddra på server',url:'URL',protocol:'Protokoll',upload:'Ladda upp',uploadSubmit:'Skicka till server',image:'Bild',flash:'Flash',form:'Formulär',checkbox:'Kryssruta',radio:'Alternativknapp',textField:'Textfält',textarea:'Textruta',hiddenField:'Dolt fält',button:'Knapp',select:'Flervalslista',imageButton:'Bildknapp',notSet:'<ej angivet>',id:'Id',name:'Namn',langDir:'Språkriktning',langDirLtr:'Vänster till Höger (VTH)',langDirRtl:'Höger till Vänster (HTV)',langCode:'Språkkod',longDescr:'URL-beskrivning',cssClass:'Stylesheet class',advisoryTitle:'Titel',cssStyle:'Style',ok:'OK',cancel:'Avbryt',close:'Close',preview:'Preview',generalTab:'General',advancedTab:'Avancerad',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Bredd',height:'Höjd',align:'Justering',alignLeft:'Vänster',alignRight:'Höger',alignCenter:'Centrerad',alignTop:'Överkant',alignMiddle:'Mitten',alignBottom:'Nederkant',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Klistra in utökat tecken',title:'Välj utökat tecken',options:'Special Character Options'},link:{toolbar:'Infoga/Redigera länk',other:'<annan>',menu:'Redigera länk',title:'Länk',info:'Länkinformation',target:'Mål',upload:'Ladda upp',advanced:'Avancerad',type:'Länktyp',toUrl:'URL',toAnchor:'Ankare i sidan',toEmail:'E-post',targetFrame:'<ram>',targetPopup:'<popup-fönster>',targetFrameName:'Målets ramnamn',targetPopupName:'Popup-fönstrets namn',popupFeatures:'Popup-fönstrets egenskaper',popupResizable:'Resizable',popupStatusBar:'Statusfält',popupLocationBar:'Adressfält',popupToolbar:'Verktygsfält',popupMenuBar:'Menyfält',popupFullScreen:'Helskärm (endast IE)',popupScrollBars:'Scrolllista',popupDependent:'Beroende (endest Netscape)',popupLeft:'Position från vänster',popupTop:'Position från sidans topp',id:'Id',langDir:'Språkriktning',langDirLTR:'Vänster till Höger (VTH)',langDirRTL:'Höger till Vänster (HTV)',acccessKey:'Behörighetsnyckel',name:'Namn',langCode:'Språkriktning',tabIndex:'Tabindex',advisoryTitle:'Titel',advisoryContentType:'Innehållstyp',cssClasses:'Stylesheet class',charset:'Teckenuppställning',styles:'Style',selectAnchor:'Välj ett ankare',anchorName:'efter ankarnamn',anchorId:'efter objektid',emailAddress:'E-postadress',emailSubject:'Ämne',emailBody:'Innehåll',noAnchors:'(Inga ankare kunde hittas)',noUrl:'Var god ange länkens URL',noEmail:'Var god ange E-postadress'},anchor:{toolbar:'Infoga/Redigera ankarlänk',menu:'Egenskaper för ankarlänk',title:'Egenskaper för ankarlänk',name:'Ankarnamn',errorName:'Var god ange ett ankarnamn'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Sök och ersätt',find:'Sök',replace:'Ersätt',findWhat:'Sök efter:',replaceWith:'Ersätt med:',notFoundMsg:'Angiven text kunde ej hittas.',matchCase:'Skiftläge',matchWord:'Inkludera hela ord',matchCyclic:'Match cyclic',replaceAll:'Ersätt alla',replaceSuccessMsg:'%1 occurrence(s) replaced.'},table:{toolbar:'Tabell',title:'Tabellegenskaper',menu:'Tabellegenskaper',deleteTable:'Radera tabell',rows:'Rader',columns:'Kolumner',border:'Kantstorlek',widthPx:'pixlar',widthPc:'procent',widthUnit:'width unit',cellSpace:'Cellavstånd',cellPad:'Cellutfyllnad',caption:'Rubrik',summary:'Sammanfattning',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:'Lägg till Cell Före',insertAfter:'Lägg till Cell Efter',deleteCell:'Radera celler',merge:'Sammanfoga celler',mergeRight:'Sammanfoga Höger',mergeDown:'Sammanfoga Ner',splitHorizontal:'Dela Cell Horisontellt',splitVertical:'Dela Cell Vertikalt',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'},row:{menu:'Rad',insertBefore:'Lägg till Rad Före',insertAfter:'Lägg till Rad Efter',deleteRow:'Radera rad'},column:{menu:'Kolumn',insertBefore:'Lägg till Kolumn Före',insertAfter:'Lägg till Kolumn Efter',deleteColumn:'Radera kolumn'}},button:{title:'Egenskaper för knapp',text:'Text (Värde)',type:'Typ',typeBtn:'Knapp',typeSbm:'Skicka',typeRst:'Återställ'},checkboxAndRadio:{checkboxTitle:'Egenskaper för kryssruta',radioTitle:'Egenskaper för alternativknapp',value:'Värde',selected:'Vald'},form:{title:'Egenskaper för formulär',menu:'Egenskaper för formulär',action:'Funktion',method:'Metod',encoding:'Encoding'},select:{title:'Egenskaper för flervalslista',selectInfo:'Information',opAvail:'Befintliga val',value:'Värde',size:'Storlek',lines:'Linjer',chkMulti:'Tillåt flerval',opText:'Text',opValue:'Värde',btnAdd:'Lägg till',btnModify:'Redigera',btnUp:'Upp',btnDown:'Ner',btnSetValue:'Markera som valt värde',btnDelete:'Radera'},textarea:{title:'Egenskaper för textruta',cols:'Kolumner',rows:'Rader'},textfield:{title:'Egenskaper för textfält',name:'Namn',value:'Värde',charWidth:'Teckenbredd',maxChars:'Max antal tecken',type:'Typ',typeText:'Text',typePass:'Lösenord'},hidden:{title:'Egenskaper för dolt fält',name:'Namn',value:'Värde'},image:{title:'Bildegenskaper',titleButton:'Egenskaper för bildknapp',menu:'Bildegenskaper',infoTab:'Bildinformation',btnUpload:'Skicka till server',upload:'Ladda upp',alt:'Alternativ text',lockRatio:'Lås höjd/bredd förhållanden',unlockRatio:'Unlock Ratio',resetSize:'Återställ storlek',border:'Kant',hSpace:'Horis. marginal',vSpace:'Vert. marginal',alertUrl:'Var god och ange bildens URL',linkTab:'Länk',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.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'Flashegenskaper',propertiesTab:'Properties',title:'Flashegenskaper',chkPlay:'Automatisk uppspelning',chkLoop:'Upprepa/Loopa',chkMenu:'Aktivera Flashmeny',chkFull:'Allow Fullscreen',scale:'Skala',scaleAll:'Visa allt',scaleNoBorder:'Ingen ram',scaleFit:'Exakt passning',access:'Script Access',accessAlways:'Always',accessSameDomain:'Same domain',accessNever:'Never',alignAbsBottom:'Absolut nederkant',alignAbsMiddle:'Absolut centrering',alignBaseline:'Baslinje',alignTextTop:'Text överkant',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'Bakgrundsfärg',hSpace:'Horis. marginal',vSpace:'Vert. marginal',validateSrc:'Var god ange länkens URL',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'Stavningskontroll',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %s.',notInDic:'Saknas i ordlistan',changeTo:'Ändra till',btnIgnore:'Ignorera',btnIgnoreAll:'Ignorera alla',btnReplace:'Ersätt',btnReplaceAll:'Ersätt alla',btnUndo:'Ångra',noSuggestions:'- Förslag saknas -',progress:'Stavningskontroll pågår...',noMispell:'Stavningskontroll slutförd: Inga stavfel påträffades.',noChanges:'Stavningskontroll slutförd: Inga ord rättades.',oneChange:'Stavningskontroll slutförd: Ett ord rättades.',manyChanges:'Stavningskontroll slutförd: %1 ord rättades.',ieSpellDownload:'Stavningskontrollen är ej installerad. Vill du göra det nu?'},smiley:{toolbar:'Smiley',title:'Infoga smiley',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},numberedlist:'Numrerad lista',bulletedlist:'Punktlista',indent:'Öka indrag',outdent:'Minska indrag',justify:{left:'Vänsterjustera',center:'Centrera',right:'Högerjustera',block:'Justera till marginaler'},blockquote:'Block Quote',clipboard:{title:'Klistra in',cutError:'Säkerhetsinställningar i Er webläsare tillåter inte åtgården Klipp ut. Använd (Ctrl/Cmd+X) istället.',copyError:'Säkerhetsinställningar i Er webläsare tillåter inte åtgården Kopiera. Använd (Ctrl/Cmd+C) istället',pasteMsg:'Var god och klistra in Er text i rutan nedan genom att använda (<STRONG>Ctrl/Cmd+V</STRONG>) klicka sen på <STRONG>OK</STRONG>.',securityMsg:'På grund av din webläsares säkerhetsinställningar kan verktyget inte få åtkomst till urklippsdatan. Var god och använd detta fönster istället.',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'Klistra in från Word',title:'Klistra in från Word',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'Klistra in som vanlig text',title:'Klistra in som vanlig text'},templates:{button:'Sidmallar',title:'Sidmallar',options:'Template Options',insertOption:'Ersätt aktuellt innehåll',selectPromptMsg:'Var god välj en mall att använda med editorn<br>(allt nuvarande innehåll raderas):',emptyListMsg:'(Ingen mall är vald)'},showBlocks:'Show Blocks',stylesCombo:{label:'Anpassad stil',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},format:{label:'Teckenformat',panelTitle:'Teckenformat',tag_p:'Normal',tag_pre:'Formaterad',tag_address:'Adress',tag_h1:'Rubrik 1',tag_h2:'Rubrik 2',tag_h3:'Rubrik 3',tag_h4:'Rubrik 4',tag_h5:'Rubrik 5',tag_h6:'Rubrik 6',tag_div:'Normal (DIV)'},div:{title:'Create Div Container',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Typsnitt',voiceLabel:'Font',panelTitle:'Typsnitt'},fontSize:{label:'Storlek',voiceLabel:'Font Size',panelTitle:'Storlek'},colorButton:{textColorTitle:'Textfärg',bgColorTitle:'Bakgrundsfärg',panelTitle:'Colors',auto:'Automatisk',more:'Fler färger...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/sv.js | sv.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.sr={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'Kôд',newPage:'Нова страница',save:'Сачувај',preview:'Изглед странице',cut:'Исеци',copy:'Копирај',paste:'Залепи',print:'Штампа',underline:'Подвучено',bold:'Подебљано',italic:'Курзив',selectAll:'Означи све',removeFormat:'Уклони форматирање',strike:'Прецртано',subscript:'Индекс',superscript:'Степен',horizontalrule:'Унеси хоризонталну линију',pagebreak:'Insert Page Break for Printing',pagebreakAlt:'Page Break',unlink:'Уклони линк',undo:'Поништи акцију',redo:'Понови акцију',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',preview:'Preview',generalTab:'General',advancedTab:'Напредни тагови',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Ширина',height:'Висина',align:'Равнање',alignLeft:'Лево',alignRight:'Десно',alignCenter:'Средина',alignTop:'Врх',alignMiddle:'Средина',alignBottom:'Доле',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Унеси специјални карактер',title:'Одаберите специјални карактер',options:'Special Character Options'},link:{toolbar:'Унеси/измени линк',other:'<other>',menu:'Промени линк',title:'Линк',info:'Линк инфо',target:'Meтa',upload:'Пошаљи',advanced:'Напредни тагови',type:'Врста линка',toUrl:'URL',toAnchor:'Сидро на овој страници',toEmail:'Eлектронска пошта',targetFrame:'<оквир>',targetPopup:'<искачући прозор>',targetFrameName:'Назив одредишног фрејма',targetPopupName:'Назив искачућег прозора',popupFeatures:'Могућности искачућег прозора',popupResizable:'Resizable',popupStatusBar:'Статусна линија',popupLocationBar:'Локација',popupToolbar:'Toolbar',popupMenuBar:'Контекстни мени',popupFullScreen:'Приказ преко целог екрана (ИE)',popupScrollBars:'Скрол бар',popupDependent:'Зависно (Netscape)',popupLeft:'Од леве ивице екрана (пиксела)',popupTop:'Од врха екрана (пиксела)',id:'Id',langDir:'Смер језика',langDirLTR:'С лева на десно (LTR)',langDirRTL:'С десна на лево (RTL)',acccessKey:'Приступни тастер',name:'Назив',langCode:'Смер језика',tabIndex:'Таб индекс',advisoryTitle:'Advisory наслов',advisoryContentType:'Advisory врста садржаја',cssClasses:'Stylesheet класе',charset:'Linked Resource Charset',styles:'Стил',selectAnchor:'Одабери сидро',anchorName:'По називу сидра',anchorId:'Пo Ид-jу елемента',emailAddress:'Адреса електронске поште',emailSubject:'Наслов',emailBody:'Садржај поруке',noAnchors:'(Нема доступних сидра)',noUrl:'Унесите УРЛ линка',noEmail:'Откуцајте адресу електронске поште'},anchor:{toolbar:'Унеси/измени сидро',menu:'Особине сидра',title:'Особине сидра',name:'Име сидра',errorName:'Молимо Вас да унесете име сидра'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Find and Replace',find:'Претрага',replace:'Замена',findWhat:'Пронађи:',replaceWith:'Замени са:',notFoundMsg:'Тражени текст није пронађен.',matchCase:'Разликуј велика и мала слова',matchWord:'Упореди целе речи',matchCyclic:'Match cyclic',replaceAll:'Замени све',replaceSuccessMsg:'%1 occurrence(s) replaced.'},table:{toolbar:'Табела',title:'Особине табеле',menu:'Особине табеле',deleteTable:'Delete Table',rows:'Редова',columns:'Kолона',border:'Величина оквира',widthPx:'пиксела',widthPc:'процената',widthUnit:'width unit',cellSpace:'Ћелијски простор',cellPad:'Размак ћелија',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:'Обриши ћелије',merge:'Спој ћелије',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'},row:{menu:'Row',insertBefore:'Insert Row Before',insertAfter:'Insert Row After',deleteRow:'Обриши редове'},column:{menu:'Column',insertBefore:'Insert Column Before',insertAfter:'Insert Column After',deleteColumn:'Обриши колоне'}},button:{title:'Особине дугмета',text:'Текст (вредност)',type:'Tип',typeBtn:'Button',typeSbm:'Submit',typeRst:'Reset'},checkboxAndRadio:{checkboxTitle:'Особине поља за потврду',radioTitle:'Особине радио-дугмета',value:'Вредност',selected:'Означено'},form:{title:'Особине форме',menu:'Особине форме',action:'Aкција',method:'Mетода',encoding:'Encoding'},select:{title:'Особине изборног поља',selectInfo:'Инфо',opAvail:'Доступне опције',value:'Вредност',size:'Величина',lines:'линија',chkMulti:'Дозволи вишеструку селекцију',opText:'Текст',opValue:'Вредност',btnAdd:'Додај',btnModify:'Измени',btnUp:'Горе',btnDown:'Доле',btnSetValue:'Подеси као означену вредност',btnDelete:'Обриши'},textarea:{title:'Особине зоне текста',cols:'Број колона',rows:'Број редова'},textfield:{title:'Особине текстуалног поља',name:'Назив',value:'Вредност',charWidth:'Ширина (карактера)',maxChars:'Максимално карактера',type:'Тип',typeText:'Текст',typePass:'Лозинка'},hidden:{title:'Особине скривеног поља',name:'Назив',value:'Вредност'},image:{title:'Особине слика',titleButton:'Особине дугмета са сликом',menu:'Особине слика',infoTab:'Инфо слике',btnUpload:'Пошаљи на сервер',upload:'Пошаљи',alt:'Алтернативни текст',lockRatio:'Закључај однос',unlockRatio:'Unlock Ratio',resetSize:'Ресетуј величину',border:'Оквир',hSpace:'HSpace',vSpace:'VSpace',alertUrl:'Унесите УРЛ слике',linkTab:'Линк',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.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'Особине Флеша',propertiesTab:'Properties',title:'Особине флеша',chkPlay:'Аутоматски старт',chkLoop:'Понављај',chkMenu:'Укључи флеш мени',chkFull:'Allow Fullscreen',scale:'Скалирај',scaleAll:'Прикажи све',scaleNoBorder:'Без ивице',scaleFit:'Попуни површину',access:'Script Access',accessAlways:'Always',accessSameDomain:'Same domain',accessNever:'Never',alignAbsBottom:'Abs доле',alignAbsMiddle:'Abs средина',alignBaseline:'Базно',alignTextTop:'Врх текста',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'Боја позадине',hSpace:'HSpace',vSpace:'VSpace',validateSrc:'Унесите УРЛ линка',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'Провери спеловање',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %s.',notInDic:'Није у речнику',changeTo:'Измени',btnIgnore:'Игнориши',btnIgnoreAll:'Игнориши све',btnReplace:'Замени',btnReplaceAll:'Замени све',btnUndo:'Врати акцију',noSuggestions:'- Без сугестија -',progress:'Провера спеловања у току...',noMispell:'Провера спеловања завршена: грешке нису пронађене',noChanges:'Провера спеловања завршена: Није измењена ниједна реч',oneChange:'Провера спеловања завршена: Измењена је једна реч',manyChanges:'Провера спеловања завршена: %1 реч(и) је измењено',ieSpellDownload:'Провера спеловања није инсталирана. Да ли желите да је скинете са Интернета?'},smiley:{toolbar:'Смајли',title:'Унеси смајлија',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},numberedlist:'Набројиву листу',bulletedlist:'Ненабројива листа',indent:'Увећај леву маргину',outdent:'Смањи леву маргину',justify:{left:'Лево равнање',center:'Центриран текст',right:'Десно равнање',block:'Обострано равнање'},blockquote:'Block Quote',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.',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'Залепи из Worda',title:'Залепи из Worda',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'Залепи као чист текст',title:'Залепи као чист текст'},templates:{button:'Обрасци',title:'Обрасци за садржај',options:'Template Options',insertOption:'Replace actual contents',selectPromptMsg:'Молимо Вас да одаберете образац који ће бити примењен на страницу (тренутни садржај ће бити обрисан):',emptyListMsg:'(Нема дефинисаних образаца)'},showBlocks:'Show Blocks',stylesCombo:{label:'Стил',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},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)'},div:{title:'Create Div Container',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Фонт',voiceLabel:'Font',panelTitle:'Фонт'},fontSize:{label:'Величина фонта',voiceLabel:'Font Size',panelTitle:'Величина фонта'},colorButton:{textColorTitle:'Боја текста',bgColorTitle:'Боја позадине',panelTitle:'Colors',auto:'Аутоматски',more:'Више боја...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/sr.js | sr.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.ar={dir:'rtl',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'المصدر',newPage:'صفحة جديدة',save:'حفظ',preview:'معاينة الصفحة',cut:'قص',copy:'نسخ',paste:'لصق',print:'طباعة',underline:'تسطير',bold:'غامق',italic:'مائل',selectAll:'تحديد الكل',removeFormat:'إزالة التنسيقات',strike:'يتوسطه خط',subscript:'منخفض',superscript:'مرتفع',horizontalrule:'خط فاصل',pagebreak:'إدخال صفحة جديدة',pagebreakAlt:'Page Break',unlink:'إزالة رابط',undo:'تراجع',redo:'إعادة',common:{browseServer:'تصفح',url:'الرابط',protocol:'البروتوكول',upload:'رفع',uploadSubmit:'أرسل',image:'صورة',flash:'فلاش',form:'نموذج',checkbox:'خانة إختيار',radio:'زر اختيار',textField:'مربع نص',textarea:'مساحة نصية',hiddenField:'إدراج حقل خفي',button:'زر ضغط',select:'اختار',imageButton:'زر صورة',notSet:'<بدون تحديد>',id:'الرقم',name:'الاسم',langDir:'إتجاه النص',langDirLtr:'اليسار لليمين (LTR)',langDirRtl:'اليمين لليسار (RTL)',langCode:'رمز اللغة',longDescr:'الوصف التفصيلى',cssClass:'فئات التنسيق',advisoryTitle:'عنوان التقرير',cssStyle:'نمط',ok:'موافق',cancel:'إلغاء الأمر',close:'Close',preview:'Preview',generalTab:'عام',advancedTab:'متقدم',validateNumberFailed:'لايوجد نتيجة',confirmNewPage:'ستفقد أي متغييرات اذا لم تقم بحفظها اولا. هل أنت متأكد أنك تريد صفحة جديدة؟',confirmCancel:'بعض الخيارات قد تغيرت. هل أنت متأكد من إغلاق مربع النص؟',options:'Options',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'العرض',height:'الإرتفاع',align:'محاذاة',alignLeft:'يسار',alignRight:'يمين',alignCenter:'وسط',alignTop:'أعلى',alignMiddle:'وسط',alignBottom:'أسفل',invalidHeight:'الارتفاع يجب أن يكون عدداً.',invalidWidth:'العرض يجب أن يكون عدداً.',unavailable:'%1<span class="cke_accessibility">, غير متاح</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'إدراج خاص.ِ',title:'اختر الخواص',options:'Special Character Options'},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:'فئات التنسيق',charset:'ترميز المادة المطلوبة',styles:'نمط',selectAnchor:'اختر علامة مرجعية',anchorName:'حسب الاسم',anchorId:'حسب رقم العنصر',emailAddress:'عنوان البريد إلكتروني',emailSubject:'موضوع الرسالة',emailBody:'محتوى الرسالة',noAnchors:'(لا توجد علامات مرجعية في هذا المستند)',noUrl:'من فضلك أدخل عنوان الموقع الذي يشير إليه الرابط',noEmail:'من فضلك أدخل عنوان البريد الإلكتروني'},anchor:{toolbar:'إشارة مرجعية',menu:'تحرير الإشارة المرجعية',title:'خصائص الإشارة المرجعية',name:'اسم الإشارة المرجعية',errorName:'الرجاء كتابة اسم الإشارة المرجعية'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'بحث واستبدال',find:'بحث',replace:'إستبدال',findWhat:'البحث بـ:',replaceWith:'إستبدال بـ:',notFoundMsg:'لم يتم العثور على النص المحدد.',matchCase:'مطابقة حالة الأحرف',matchWord:'مطابقة بالكامل',matchCyclic:'مطابقة دورية',replaceAll:'إستبدال الكل',replaceSuccessMsg:'تم استبدال 1% من الحالات '},table:{toolbar:'جدول',title:'خصائص الجدول',menu:'خصائص الجدول',deleteTable:'حذف الجدول',rows:'صفوف',columns:'أعمدة',border:'الحدود',widthPx:'بكسل',widthPc:'بالمئة',widthUnit:'width unit',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:{title:'خصائص زر الضغط',text:'القيمة/التسمية',type:'نوع الزر',typeBtn:'زر',typeSbm:'إرسال',typeRst:'إعادة تعيين'},checkboxAndRadio:{checkboxTitle:'خصائص خانة الإختيار',radioTitle:'خصائص زر الخيار',value:'القيمة',selected:'محدد'},form:{title:'خصائص النموذج',menu:'خصائص النموذج',action:'اسم الملف',method:'الأسلوب',encoding:'تشفير'},select:{title:'خصائص اختيار الحقل',selectInfo:'اختار معلومات',opAvail:'الخيارات المتاحة',value:'القيمة',size:'الحجم',lines:'الأسطر',chkMulti:'السماح بتحديدات متعددة',opText:'النص',opValue:'القيمة',btnAdd:'إضافة',btnModify:'تعديل',btnUp:'أعلى',btnDown:'أسفل',btnSetValue:'إجعلها محددة',btnDelete:'إزالة'},textarea:{title:'خصائص مساحة النص',cols:'الأعمدة',rows:'الصفوف'},textfield:{title:'خصائص مربع النص',name:'الاسم',value:'القيمة',charWidth:'عرض السمات',maxChars:'اقصى عدد للسمات',type:'نوع المحتوى',typeText:'نص',typePass:'كلمة مرور'},hidden:{title:'خصائص الحقل المخفي',name:'الاسم',value:'القيمة'},image:{title:'خصائص الصورة',titleButton:'خصائص زر الصورة',menu:'خصائص الصورة',infoTab:'معلومات الصورة',btnUpload:'أرسلها للخادم',upload:'رفع',alt:'عنوان الصورة',lockRatio:'تناسق الحجم',unlockRatio:'Unlock Ratio',resetSize:'إستعادة الحجم الأصلي',border:'سمك الحدود',hSpace:'تباعد أفقي',vSpace:'تباعد عمودي',alertUrl:'فضلاً أكتب الموقع الذي توجد عليه هذه الصورة.',linkTab:'الرابط',button2Img:'هل تريد تحويل زر الصورة المختار إلى صورة بسيطة؟',img2Button:'هل تريد تحويل الصورة المختارة إلى زر صورة؟',urlMissing:'عنوان مصدر الصورة مفقود',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},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 يجب أن يكون عدداً.'},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'},elementsPath:{eleLabel:'Elements path',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'},pastefromword:{confirmCleanup:'يبدو أن النص المراد لصقه منسوخ من برنامج وورد. هل تود تنظيفه قبل الشروع في عملية اللصق؟',toolbar:'لصق من وورد',title:'لصق من وورد',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'لصق كنص بسيط',title:'لصق كنص بسيط'},templates:{button:'القوالب',title:'قوالب المحتوى',options:'Template Options',insertOption:'استبدال المحتوى',selectPromptMsg:'اختر القالب الذي تود وضعه في المحرر',emptyListMsg:'(لم يتم تعريف أي قالب)'},showBlocks:'مخطط تفصيلي',stylesCombo:{label:'أنماط',panelTitle:'Formatting Styles',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',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'خط',voiceLabel:'حجم الخط',panelTitle:'حجم الخط'},fontSize:{label:'حجم الخط',voiceLabel:'حجم الخط',panelTitle:'حجم الخط'},colorButton:{textColorTitle:'لون النص',bgColorTitle:'لون الخلفية',panelTitle:'Colors',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',enable:'تفعيل SCAYT',disable:'تعطيل SCAYT',about:'عن SCAYT',toggle:'تثبيت SCAYT',options:'خيارات',langs:'لغات',moreSuggestions:'المزيد من المقترحات',ignore:'تجاهل',ignoreAll:'تجاهل الكل',addWord:'إضافة كلمة',emptyDic:'اسم القاموس يجب ألا يكون فارغاً.',optionsTab:'خيارات',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'لغات',dictionariesTab:'قواميس',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'عن'},about:{title:'عن CKEditor',dlgTitle:'عن CKEditor',moreInfo:'للحصول على معلومات الترخيص ، يرجى زيارة موقعنا على شبكة الانترنت:',copy:'حقوق النشر © $1. جميع الحقوق محفوظة.'},maximize:'تكبير',minimize:'تصغير',fakeobjects:{anchor:'إرساء',flash:'رسم متحرك بالفلاش',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'كائن غير معروف'},resize:'اسحب لتغيير الحجم',colordialog:{title:'اختر لون',options:'Color Options',highlight:'إلقاء الضوء',selected:'مُختار',clear:'مسح'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/ar.js | ar.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.bg={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'Код',newPage:'Нова страница',save:'Запази',preview:'Предварителен изглед',cut:'Изрежи',copy:'Запамети',paste:'Вмъкни',print:'Печат',underline:'Подчертан',bold:'Удебелен',italic:'Курсив',selectAll:'Селектирай всичко',removeFormat:'Изтрий форматирането',strike:'Зачертан',subscript:'Индекс за база',superscript:'Индекс за степен',horizontalrule:'Вмъкни хоризонтална линия',pagebreak:'Вмъкни нов ред',pagebreakAlt:'Page Break',unlink:'Изтрий връзка',undo:'Отмени',redo:'Повтори',common:{browseServer:'Разгледай сървъра',url:'Пълен път (URL)',protocol:'Протокол',upload:'Качи',uploadSubmit:'Прати към сървъра',image:'Изображение',flash:'Flash',form:'Формуляр',checkbox:'Поле за отметка',radio:'Поле за опция',textField:'Текстово поле',textarea:'Текстова област',hiddenField:'Скрито поле',button:'Бутон',select:'Падащо меню с опции',imageButton:'Бутон-изображение',notSet:'<не е настроен>',id:'Идентификатор',name:'Име',langDir:'посока на речта',langDirLtr:'От ляво на дясно',langDirRtl:'От дясно на ляво',langCode:'Код на езика',longDescr:'Описание на връзката',cssClass:'Клас от стиловите таблици',advisoryTitle:'Препоръчително заглавие',cssStyle:'Стил',ok:'ОК',cancel:'Отказ',close:'Close',preview:'Preview',generalTab:'General',advancedTab:'Подробности...',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Ширина',height:'Височина',align:'Подравняване',alignLeft:'Ляво',alignRight:'Дясно',alignCenter:'Център',alignTop:'Отгоре',alignMiddle:'По средата',alignBottom:'Долу',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Вмъкни специален символ',title:'Изберете специален символ',options:'Special Character Options'},link:{toolbar:'Добави/Редактирай връзка',other:'<друг>',menu:'Редактирай връзка',title:'Връзка',info:'Информация за връзката',target:'Цел',upload:'Качи',advanced:'Подробности...',type:'Вид на връзката',toUrl:'URL',toAnchor:'Котва в текущата страница',toEmail:'Е-поща',targetFrame:'<рамка>',targetPopup:'<дъщерен прозорец>',targetFrameName:'Име на целевия прозорец',targetPopupName:'Име на дъщерния прозорец',popupFeatures:'Параметри на дъщерния прозорец',popupResizable:'Resizable',popupStatusBar:'Поле за статус',popupLocationBar:'Поле за адрес',popupToolbar:'Панел с бутони',popupMenuBar:'Меню',popupFullScreen:'Голям екран (MS IE)',popupScrollBars:'Плъзгач',popupDependent:'Зависим (Netscape)',popupLeft:'Координати - X',popupTop:'Координати - Y',id:'Id',langDir:'посока на речта',langDirLTR:'От ляво на дясно',langDirRTL:'От дясно на ляво',acccessKey:'Бърз клавиш',name:'Име',langCode:'посока на речта',tabIndex:'Ред на достъп',advisoryTitle:'Препоръчително заглавие',advisoryContentType:'Препоръчителен тип на съдържанието',cssClasses:'Клас от стиловите таблици',charset:'Тип на свързания ресурс',styles:'Стил',selectAnchor:'Изберете котва',anchorName:'По име на котвата',anchorId:'По идентификатор на елемент',emailAddress:'Адрес за е-поща',emailSubject:'Тема на писмото',emailBody:'Текст на писмото',noAnchors:'(Няма котви в текущия документ)',noUrl:'Моля, напишете пълния път (URL)',noEmail:'Моля, напишете адреса за е-поща'},anchor:{toolbar:'Добави/Редактирай котва',menu:'Параметри на котвата',title:'Параметри на котвата',name:'Име на котвата',errorName:'Моля, въведете име на котвата'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Find and Replace',find:'Търси',replace:'Замести',findWhat:'Търси:',replaceWith:'Замести с:',notFoundMsg:'Указания текст не беше намерен.',matchCase:'Със същия регистър',matchWord:'Търси същата дума',matchCyclic:'Match cyclic',replaceAll:'Замести всички',replaceSuccessMsg:'%1 occurrence(s) replaced.'},table:{toolbar:'Таблица',title:'Параметри на таблицата',menu:'Параметри на таблицата',deleteTable:'Изтрий таблицата',rows:'Редове',columns:'Колони',border:'Размер на рамката',widthPx:'пиксели',widthPc:'проценти',widthUnit:'width unit',cellSpace:'Разстояние между клетките',cellPad:'Отстъп на съдържанието в клетките',caption:'Заглавие',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:'Изтрий клетките',merge:'Обедини клетките',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'},row:{menu:'Row',insertBefore:'Insert Row Before',insertAfter:'Insert Row After',deleteRow:'Изтрий редовете'},column:{menu:'Column',insertBefore:'Insert Column Before',insertAfter:'Insert Column After',deleteColumn:'Изтрий колоните'}},button:{title:'Параметри на бутона',text:'Текст (Стойност)',type:'Тип',typeBtn:'Button',typeSbm:'Submit',typeRst:'Reset'},checkboxAndRadio:{checkboxTitle:'Параметри на полето за отметка',radioTitle:'Параметри на полето за опция',value:'Стойност',selected:'Отметнато'},form:{title:'Параметри на формуляра',menu:'Параметри на формуляра',action:'Действие',method:'Метод',encoding:'Encoding'},select:{title:'Параметри на падащото меню с опции',selectInfo:'Информация',opAvail:'Възможни опции',value:'Стойност',size:'Размер',lines:'линии',chkMulti:'Разрешено множествено селектиране',opText:'Текст',opValue:'Стойност',btnAdd:'Добави',btnModify:'Промени',btnUp:'Нагоре',btnDown:'Надолу',btnSetValue:'Настрой като избрана стойност',btnDelete:'Изтрий'},textarea:{title:'Параметри на текстовата област',cols:'Колони',rows:'Редове'},textfield:{title:'Параметри на текстовото-поле',name:'Име',value:'Стойност',charWidth:'Ширина на символите',maxChars:'Максимум символи',type:'Тип',typeText:'Текст',typePass:'Парола'},hidden:{title:'Параметри на скритото поле',name:'Име',value:'Стойност'},image:{title:'Параметри на изображението',titleButton:'Параметри на бутона-изображение',menu:'Параметри на изображението',infoTab:'Информация за изображението',btnUpload:'Прати към сървъра',upload:'Качи',alt:'Алтернативен текст',lockRatio:'Запази пропорцията',unlockRatio:'Unlock Ratio',resetSize:'Възстанови размера',border:'Рамка',hSpace:'Хоризонтален отстъп',vSpace:'Вертикален отстъп',alertUrl:'Моля, въведете пълния път до изображението',linkTab:'Връзка',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.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'Параметри на Flash обекта',propertiesTab:'Properties',title:'Параметри на Flash обекта',chkPlay:'Автоматично стартиране',chkLoop:'Ново стартиране след завършването',chkMenu:'Разрешено Flash меню',chkFull:'Allow Fullscreen',scale:'Оразмеряване',scaleAll:'Покажи целия обект',scaleNoBorder:'Без рамка',scaleFit:'Според мястото',access:'Script Access',accessAlways:'Always',accessSameDomain:'Same domain',accessNever:'Never',alignAbsBottom:'Най-долу',alignAbsMiddle:'Точно по средата',alignBaseline:'По базовата линия',alignTextTop:'Върху текста',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'Цвят на фона',hSpace:'Хоризонтален отстъп',vSpace:'Вертикален отстъп',validateSrc:'Моля, напишете пълния път (URL)',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'Провери правописа',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %s.',notInDic:'Липсва в речника',changeTo:'Промени на',btnIgnore:'Игнорирай',btnIgnoreAll:'Игнорирай всички',btnReplace:'Замести',btnReplaceAll:'Замести всички',btnUndo:'Отмени',noSuggestions:'- Няма предложения -',progress:'Извършване на проверката за правопис...',noMispell:'Проверката за правопис завършена: не са открити правописни грешки',noChanges:'Проверката за правопис завършена: няма променени думи',oneChange:'Проверката за правопис завършена: една дума е променена',manyChanges:'Проверката за правопис завършена: %1 думи са променени',ieSpellDownload:'Инструментът за проверка на правопис не е инсталиран. Желаете ли да го инсталирате ?'},smiley:{toolbar:'Усмивка',title:'Добави усмивка',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},numberedlist:'Нумериран списък',bulletedlist:'Ненумериран списък',indent:'Увеличи отстъпа',outdent:'Намали отстъпа',justify:{left:'Подравняване в ляво',center:'Подравнявне в средата',right:'Подравняване в дясно',block:'Двустранно подравняване'},blockquote:'Block Quote',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.',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'Вмъкни от MS Word',title:'Вмъкни от MS Word',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'Вмъкни като чист текст',title:'Вмъкни като чист текст'},templates:{button:'Шаблони',title:'Шаблони',options:'Template Options',insertOption:'Replace actual contents',selectPromptMsg:'Изберете шаблон <br>(текущото съдържание на редактора ще бъде загубено):',emptyListMsg:'(Няма дефинирани шаблони)'},showBlocks:'Show Blocks',stylesCombo:{label:'Стил',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},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',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Шрифт',voiceLabel:'Font',panelTitle:'Шрифт'},fontSize:{label:'Размер',voiceLabel:'Font Size',panelTitle:'Размер'},colorButton:{textColorTitle:'Цвят на текста',bgColorTitle:'Цвят на фона',panelTitle:'Colors',auto:'По подразбиране',more:'Други цветове...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/bg.js | bg.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang['en-au']={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',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',unlink:'Unlink',undo:'Undo',redo:'Redo',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',preview:'Preview',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Width',height:'Height',align:'Align',alignLeft:'Left',alignRight:'Right',alignCenter:'Centre',alignTop:'Top',alignMiddle:'Middle',alignBottom:'Bottom',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Insert Special Character',title:'Select Special Character',options:'Special Character Options'},link:{toolbar:'Link',other:'<other>',menu:'Edit Link',title:'Link',info:'Link Info',target:'Target',upload:'Upload',advanced:'Advanced',type:'Link Type',toUrl:'URL',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',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:{toolbar:'Anchor',menu:'Edit Anchor',title:'Anchor Properties',name:'Anchor Name',errorName:'Please type the anchor name'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Find and Replace',find:'Find',replace:'Replace',findWhat:'Find what:',replaceWith:'Replace with:',notFoundMsg:'The specified text was not found.',matchCase:'Match case',matchWord:'Match whole word',matchCyclic:'Match cyclic',replaceAll:'Replace All',replaceSuccessMsg:'%1 occurrence(s) replaced.'},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',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'},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:{title:'Button Properties',text:'Text (Value)',type:'Type',typeBtn:'Button',typeSbm:'Submit',typeRst:'Reset'},checkboxAndRadio:{checkboxTitle:'Checkbox Properties',radioTitle:'Radio Button Properties',value:'Value',selected:'Selected'},form:{title:'Form Properties',menu:'Form Properties',action:'Action',method:'Method',encoding:'Encoding'},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:{title:'Textarea Properties',cols:'Columns',rows:'Rows'},textfield:{title:'Text Field Properties',name:'Name',value:'Value',charWidth:'Character Width',maxChars:'Maximum Characters',type:'Type',typeText:'Text',typePass:'Password'},hidden:{title:'Hidden Field Properties',name:'Name',value:'Value'},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',unlockRatio:'Unlock 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.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},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',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',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.'},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'},elementsPath:{eleLabel:'Elements path',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'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'Paste from Word',title:'Paste from Word',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'Paste as plain text',title:'Paste as Plain Text'},templates:{button:'Templates',title:'Content Templates',options:'Template Options',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',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',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Font',voiceLabel:'Font',panelTitle:'Font Name'},fontSize:{label:'Size',voiceLabel:'Font Size',panelTitle:'Font Size'},colorButton:{textColorTitle:'Text Colour',bgColorTitle:'Background Colour',panelTitle:'Colors',auto:'Automatic',more:'More Colours...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/en-au.js | en-au.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang['en-ca']={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',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',unlink:'Unlink',undo:'Undo',redo:'Redo',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',preview:'Preview',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Width',height:'Height',align:'Align',alignLeft:'Left',alignRight:'Right',alignCenter:'Centre',alignTop:'Top',alignMiddle:'Middle',alignBottom:'Bottom',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Insert Special Character',title:'Select Special Character',options:'Special Character Options'},link:{toolbar:'Link',other:'<other>',menu:'Edit Link',title:'Link',info:'Link Info',target:'Target',upload:'Upload',advanced:'Advanced',type:'Link Type',toUrl:'URL',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',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:{toolbar:'Anchor',menu:'Edit Anchor',title:'Anchor Properties',name:'Anchor Name',errorName:'Please type the anchor name'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Find and Replace',find:'Find',replace:'Replace',findWhat:'Find what:',replaceWith:'Replace with:',notFoundMsg:'The specified text was not found.',matchCase:'Match case',matchWord:'Match whole word',matchCyclic:'Match cyclic',replaceAll:'Replace All',replaceSuccessMsg:'%1 occurrence(s) replaced.'},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',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'},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:{title:'Button Properties',text:'Text (Value)',type:'Type',typeBtn:'Button',typeSbm:'Submit',typeRst:'Reset'},checkboxAndRadio:{checkboxTitle:'Checkbox Properties',radioTitle:'Radio Button Properties',value:'Value',selected:'Selected'},form:{title:'Form Properties',menu:'Form Properties',action:'Action',method:'Method',encoding:'Encoding'},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:{title:'Textarea Properties',cols:'Columns',rows:'Rows'},textfield:{title:'Text Field Properties',name:'Name',value:'Value',charWidth:'Character Width',maxChars:'Maximum Characters',type:'Type',typeText:'Text',typePass:'Password'},hidden:{title:'Hidden Field Properties',name:'Name',value:'Value'},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',unlockRatio:'Unlock 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.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},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',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',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.'},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'},elementsPath:{eleLabel:'Elements path',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'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'Paste from Word',title:'Paste from Word',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'Paste as plain text',title:'Paste as Plain Text'},templates:{button:'Templates',title:'Content Templates',options:'Template Options',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',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',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Font',voiceLabel:'Font',panelTitle:'Font Name'},fontSize:{label:'Size',voiceLabel:'Font Size',panelTitle:'Font Size'},colorButton:{textColorTitle:'Text Colour',bgColorTitle:'Background Colour',panelTitle:'Colors',auto:'Automatic',more:'More Colours...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/en-ca.js | en-ca.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.th={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'ดูรหัส HTML',newPage:'สร้างหน้าเอกสารใหม่',save:'บันทึก',preview:'ดูหน้าเอกสารตัวอย่าง',cut:'ตัด',copy:'สำเนา',paste:'วาง',print:'สั่งพิมพ์',underline:'ตัวขีดเส้นใต้',bold:'ตัวหนา',italic:'ตัวเอียง',selectAll:'เลือกทั้งหมด',removeFormat:'ล้างรูปแบบ',strike:'ตัวขีดเส้นทับ',subscript:'ตัวห้อย',superscript:'ตัวยก',horizontalrule:'แทรกเส้นคั่นบรรทัด',pagebreak:'แทรกตัวแบ่งหน้า Page Break',pagebreakAlt:'Page Break',unlink:'ลบ ลิงค์',undo:'ยกเลิกคำสั่ง',redo:'ทำซ้ำคำสั่ง',common:{browseServer:'เปิดหน้าต่างจัดการไฟล์อัพโหลด',url:'ที่อยู่อ้างอิง URL',protocol:'โปรโตคอล',upload:'อัพโหลดไฟล์',uploadSubmit:'อัพโหลดไฟล์ไปเก็บไว้ที่เครื่องแม่ข่าย (เซิร์ฟเวอร์)',image:'รูปภาพ',flash:'ไฟล์ Flash',form:'แบบฟอร์ม',checkbox:'เช็คบ๊อก',radio:'เรดิโอบัตตอน',textField:'เท็กซ์ฟิลด์',textarea:'เท็กซ์แอเรีย',hiddenField:'ฮิดเดนฟิลด์',button:'ปุ่ม',select:'แถบตัวเลือก',imageButton:'ปุ่มแบบรูปภาพ',notSet:'<ไม่ระบุ>',id:'ไอดี',name:'ชื่อ',langDir:'การเขียน-อ่านภาษา',langDirLtr:'จากซ้ายไปขวา (LTR)',langDirRtl:'จากขวามาซ้าย (RTL)',langCode:'รหัสภาษา',longDescr:'คำอธิบายประกอบ URL',cssClass:'คลาสของไฟล์กำหนดลักษณะการแสดงผล',advisoryTitle:'คำเกริ่นนำ',cssStyle:'ลักษณะการแสดงผล',ok:'ตกลง',cancel:'ยกเลิก',close:'Close',preview:'Preview',generalTab:'General',advancedTab:'ขั้นสูง',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'ความกว้าง',height:'ความสูง',align:'การจัดวาง',alignLeft:'ชิดซ้าย',alignRight:'ชิดขวา',alignCenter:'กึ่งกลาง',alignTop:'บนสุด',alignMiddle:'กึ่งกลางแนวตั้ง',alignBottom:'ชิดด้านล่าง',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'แทรกตัวอักษรพิเศษ',title:'แทรกตัวอักษรพิเศษ',options:'Special Character Options'},link:{toolbar:'แทรก/แก้ไข ลิงค์',other:'<อื่น ๆ>',menu:'แก้ไข ลิงค์',title:'ลิงค์เชื่อมโยงเว็บ อีเมล์ รูปภาพ หรือไฟล์อื่นๆ',info:'รายละเอียด',target:'การเปิดหน้าลิงค์',upload:'อัพโหลดไฟล์',advanced:'ขั้นสูง',type:'ประเภทของลิงค์',toUrl:'URL',toAnchor:'จุดเชื่อมโยง (Anchor)',toEmail:'ส่งอีเมล์ (E-Mail)',targetFrame:'<เปิดในเฟรม>',targetPopup:'<เปิดหน้าจอเล็ก (Pop-up)>',targetFrameName:'ชื่อทาร์เก็ตเฟรม',targetPopupName:'ระบุชื่อหน้าจอเล็ก (Pop-up)',popupFeatures:'คุณสมบัติของหน้าจอเล็ก (Pop-up)',popupResizable:'Resizable',popupStatusBar:'แสดงแถบสถานะ',popupLocationBar:'แสดงที่อยู่ของไฟล์',popupToolbar:'แสดงแถบเครื่องมือ',popupMenuBar:'แสดงแถบเมนู',popupFullScreen:'แสดงเต็มหน้าจอ (IE5.5++ เท่านั้น)',popupScrollBars:'แสดงแถบเลื่อน',popupDependent:'แสดงเต็มหน้าจอ (Netscape)',popupLeft:'พิกัดซ้าย (Left Position)',popupTop:'พิกัดบน (Top Position)',id:'Id',langDir:'การเขียน-อ่านภาษา',langDirLTR:'จากซ้ายไปขวา (LTR)',langDirRTL:'จากขวามาซ้าย (RTL)',acccessKey:'แอคเซส คีย์',name:'ชื่อ',langCode:'การเขียน-อ่านภาษา',tabIndex:'ลำดับของ แท็บ',advisoryTitle:'คำเกริ่นนำ',advisoryContentType:'ชนิดของคำเกริ่นนำ',cssClasses:'คลาสของไฟล์กำหนดลักษณะการแสดงผล',charset:'ลิงค์เชื่อมโยงไปยังชุดตัวอักษร',styles:'ลักษณะการแสดงผล',selectAnchor:'ระบุข้อมูลของจุดเชื่อมโยง (Anchor)',anchorName:'ชื่อ',anchorId:'ไอดี',emailAddress:'อีเมล์ (E-Mail)',emailSubject:'หัวเรื่อง',emailBody:'ข้อความ',noAnchors:'(ยังไม่มีจุดเชื่อมโยงภายในหน้าเอกสารนี้)',noUrl:'กรุณาระบุที่อยู่อ้างอิงออนไลน์ (URL)',noEmail:'กรุณาระบุอีเมล์ (E-mail)'},anchor:{toolbar:'แทรก/แก้ไข Anchor',menu:'รายละเอียด Anchor',title:'รายละเอียด Anchor',name:'ชื่อ Anchor',errorName:'กรุณาระบุชื่อของ Anchor'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Find and Replace',find:'ค้นหา',replace:'ค้นหาและแทนที่',findWhat:'ค้นหาคำว่า:',replaceWith:'แทนที่ด้วย:',notFoundMsg:'ไม่พบคำที่ค้นหา.',matchCase:'ตัวโหญ่-เล็ก ต้องตรงกัน',matchWord:'ต้องตรงกันทุกคำ',matchCyclic:'Match cyclic',replaceAll:'แทนที่ทั้งหมดที่พบ',replaceSuccessMsg:'%1 occurrence(s) replaced.'},table:{toolbar:'ตาราง',title:'คุณสมบัติของ ตาราง',menu:'คุณสมบัติของ ตาราง',deleteTable:'ลบตาราง',rows:'แถว',columns:'สดมน์',border:'ขนาดเส้นขอบ',widthPx:'จุดสี',widthPc:'เปอร์เซ็น',widthUnit:'width unit',cellSpace:'ระยะแนวนอนน',cellPad:'ระยะแนวตั้ง',caption:'หัวเรื่องของตาราง',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:'ช่องตาราง',insertBefore:'Insert Cell Before',insertAfter:'Insert Cell After',deleteCell:'ลบช่อง',merge:'ผสานช่อง',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'},row:{menu:'แถว',insertBefore:'Insert Row Before',insertAfter:'Insert Row After',deleteRow:'ลบแถว'},column:{menu:'คอลัมน์',insertBefore:'Insert Column Before',insertAfter:'Insert Column After',deleteColumn:'ลบสดมน์'}},button:{title:'รายละเอียดของ ปุ่ม',text:'ข้อความ (ค่าตัวแปร)',type:'ข้อความ',typeBtn:'Button',typeSbm:'Submit',typeRst:'Reset'},checkboxAndRadio:{checkboxTitle:'คุณสมบัติของ เช็คบ๊อก',radioTitle:'คุณสมบัติของ เรดิโอบัตตอน',value:'ค่าตัวแปร',selected:'เลือกเป็นค่าเริ่มต้น'},form:{title:'คุณสมบัติของ แบบฟอร์ม',menu:'คุณสมบัติของ แบบฟอร์ม',action:'แอคชั่น',method:'เมธอด',encoding:'Encoding'},select:{title:'คุณสมบัติของ แถบตัวเลือก',selectInfo:'อินโฟ',opAvail:'รายการตัวเลือก',value:'ค่าตัวแปร',size:'ขนาด',lines:'บรรทัด',chkMulti:'เลือกหลายค่าได้',opText:'ข้อความ',opValue:'ค่าตัวแปร',btnAdd:'เพิ่ม',btnModify:'แก้ไข',btnUp:'บน',btnDown:'ล่าง',btnSetValue:'เลือกเป็นค่าเริ่มต้น',btnDelete:'ลบ'},textarea:{title:'คุณสมบัติของ เท็กแอเรีย',cols:'สดมภ์',rows:'แถว'},textfield:{title:'คุณสมบัติของ เท็กซ์ฟิลด์',name:'ชื่อ',value:'ค่าตัวแปร',charWidth:'ความกว้าง',maxChars:'จำนวนตัวอักษรสูงสุด',type:'ชนิด',typeText:'ข้อความ',typePass:'รหัสผ่าน'},hidden:{title:'คุณสมบัติของ ฮิดเดนฟิลด์',name:'ชื่อ',value:'ค่าตัวแปร'},image:{title:'คุณสมบัติของ รูปภาพ',titleButton:'คุณสมบัติของ ปุ่มแบบรูปภาพ',menu:'คุณสมบัติของ รูปภาพ',infoTab:'ข้อมูลของรูปภาพ',btnUpload:'อัพโหลดไฟล์ไปเก็บไว้ที่เครื่องแม่ข่าย (เซิร์ฟเวอร์)',upload:'อัพโหลดไฟล์',alt:'คำประกอบรูปภาพ',lockRatio:'กำหนดอัตราส่วน กว้าง-สูง แบบคงที่',unlockRatio:'Unlock Ratio',resetSize:'กำหนดรูปเท่าขนาดจริง',border:'ขนาดขอบรูป',hSpace:'ระยะแนวนอน',vSpace:'ระยะแนวตั้ง',alertUrl:'กรุณาระบุที่อยู่อ้างอิงออนไลน์ของไฟล์รูปภาพ (URL)',linkTab:'ลิ้งค์',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.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'คุณสมบัติของไฟล์ Flash',propertiesTab:'Properties',title:'คุณสมบัติของไฟล์ Flash',chkPlay:'เล่นอัตโนมัติ Auto Play',chkLoop:'เล่นวนรอบ Loop',chkMenu:'ให้ใช้งานเมนูของ Flash',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:'ชิดด้านล่างสุด',alignAbsMiddle:'กึ่งกลาง',alignBaseline:'ชิดบรรทัด',alignTextTop:'ใต้ตัวอักษร',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'สีพื้นหลัง',hSpace:'ระยะแนวนอน',vSpace:'ระยะแนวตั้ง',validateSrc:'กรุณาระบุที่อยู่อ้างอิงออนไลน์ (URL)',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'ตรวจการสะกดคำ',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %s.',notInDic:'ไม่พบในดิกชันนารี',changeTo:'แก้ไขเป็น',btnIgnore:'ยกเว้น',btnIgnoreAll:'ยกเว้นทั้งหมด',btnReplace:'แทนที่',btnReplaceAll:'แทนที่ทั้งหมด',btnUndo:'ยกเลิก',noSuggestions:'- ไม่มีคำแนะนำใดๆ -',progress:'กำลังตรวจสอบคำสะกด...',noMispell:'ตรวจสอบคำสะกดเสร็จสิ้น: ไม่พบคำสะกดผิด',noChanges:'ตรวจสอบคำสะกดเสร็จสิ้น: ไม่มีการแก้คำใดๆ',oneChange:'ตรวจสอบคำสะกดเสร็จสิ้น: แก้ไข1คำ',manyChanges:'ตรวจสอบคำสะกดเสร็จสิ้น:: แก้ไข %1 คำ',ieSpellDownload:'ไม่ได้ติดตั้งระบบตรวจสอบคำสะกด. ต้องการติดตั้งไหมครับ?'},smiley:{toolbar:'รูปสื่ออารมณ์',title:'แทรกสัญลักษณ์สื่ออารมณ์',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},numberedlist:'ลำดับรายการแบบตัวเลข',bulletedlist:'ลำดับรายการแบบสัญลักษณ์',indent:'เพิ่มระยะย่อหน้า',outdent:'ลดระยะย่อหน้า',justify:{left:'จัดชิดซ้าย',center:'จัดกึ่งกลาง',right:'จัดชิดขวา',block:'จัดพอดีหน้ากระดาษ'},blockquote:'Block Quote',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.',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'วางสำเนาจากตัวอักษรเวิร์ด',title:'วางสำเนาจากตัวอักษรเวิร์ด',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'วางแบบตัวอักษรธรรมดา',title:'วางแบบตัวอักษรธรรมดา'},templates:{button:'เทมเพลต',title:'เทมเพลตของส่วนเนื้อหาเว็บไซต์',options:'Template Options',insertOption:'แทนที่เนื้อหาเว็บไซต์ที่เลือก',selectPromptMsg:'กรุณาเลือก เทมเพลต เพื่อนำไปแก้ไขในอีดิตเตอร์<br />(เนื้อหาส่วนนี้จะหายไป):',emptyListMsg:'(ยังไม่มีการกำหนดเทมเพลต)'},showBlocks:'Show Blocks',stylesCombo:{label:'ลักษณะ',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},format:{label:'รูปแบบ',panelTitle:'รูปแบบ',tag_p:'Normal',tag_pre:'Formatted',tag_address:'Address',tag_h1:'Heading 1',tag_h2:'Heading 2',tag_h3:'Heading 3',tag_h4:'Heading 4',tag_h5:'Heading 5',tag_h6:'Heading 6',tag_div:'Paragraph (DIV)'},div:{title:'Create Div Container',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'แบบอักษร',voiceLabel:'Font',panelTitle:'แบบอักษร'},fontSize:{label:'ขนาด',voiceLabel:'Font Size',panelTitle:'ขนาด'},colorButton:{textColorTitle:'สีตัวอักษร',bgColorTitle:'สีพื้นหลัง',panelTitle:'Colors',auto:'สีอัตโนมัติ',more:'เลือกสีอื่นๆ...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/th.js | th.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.gu={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'મૂળ કે પ્રાથમિક દસ્તાવેજ',newPage:'નવુ પાનું',save:'સેવ',preview:'પૂર્વદર્શન',cut:'કાપવું',copy:'નકલ',paste:'પેસ્ટ',print:'પ્રિન્ટ',underline:'અન્ડર્લાઇન, નીચે લીટી',bold:'બોલ્ડ/સ્પષ્ટ',italic:'ઇટેલિક, ત્રાંસા',selectAll:'બઘું પસંદ કરવું',removeFormat:'ફૉર્મટ કાઢવું',strike:'છેકી નાખવું',subscript:'એક ચિહ્નની નીચે કરેલું બીજું ચિહ્ન',superscript:'એક ચિહ્ન ઉપર કરેલું બીજું ચિહ્ન.',horizontalrule:'સમસ્તરીય રેખા ઇન્સર્ટ/દાખલ કરવી',pagebreak:'ઇન્સર્ટ પેજબ્રેક/પાનાને અલગ કરવું/દાખલ કરવું',pagebreakAlt:'Page Break',unlink:'લિંક કાઢવી',undo:'રદ કરવું; પહેલાં હતી એવી સ્થિતિ પાછી લાવવી',redo:'રિડૂ; પછી હતી એવી સ્થિતિ પાછી લાવવી',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',preview:'Preview',generalTab:'General',advancedTab:'અડ્વાન્સડ',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'પહોળાઈ',height:'ઊંચાઈ',align:'લાઇનદોરીમાં ગોઠવવું',alignLeft:'ડાબી બાજુ ગોઠવવું',alignRight:'જમણી',alignCenter:'મધ્ય સેન્ટર',alignTop:'ઉપર',alignMiddle:'વચ્ચે',alignBottom:'નીચે',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'વિશિષ્ટ અક્ષર ઇન્સર્ટ/દાખલ કરવું',title:'સ્પેશિઅલ વિશિષ્ટ અક્ષર પસંદ કરો',options:'Special Character Options'},link:{toolbar:'લિંક ઇન્સર્ટ/દાખલ કરવી',other:'<other>',menu:' લિંક એડિટ/માં ફેરફાર કરવો',title:'લિંક',info:'લિંક ઇન્ફૉ ટૅબ',target:'ટાર્ગેટ/લક્ષ્ય',upload:'અપલોડ',advanced:'અડ્વાન્સડ',type:'લિંક પ્રકાર',toUrl:'URL',toAnchor:'આ પેજનો ઍંકર',toEmail:'ઈ-મેલ',targetFrame:'<ફ્રેમ>',targetPopup:'<પૉપ-અપ વિન્ડો>',targetFrameName:'ટાર્ગેટ ફ્રેમ નું નામ',targetPopupName:'પૉપ-અપ વિન્ડો નું નામ',popupFeatures:'પૉપ-અપ વિન્ડો ફીચરસૅ',popupResizable:'Resizable',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:'સ્ટાઇલ',selectAnchor:'ઍંકર પસંદ કરો',anchorName:'ઍંકર નામથી પસંદ કરો',anchorId:'ઍંકર એલિમન્ટ Id થી પસંદ કરો',emailAddress:'ઈ-મેલ સરનામું',emailSubject:'ઈ-મેલ વિષય',emailBody:'સંદેશ',noAnchors:'(ડૉક્યુમન્ટમાં ઍંકરની સંખ્યા)',noUrl:'લિંક URL ટાઇપ કરો',noEmail:'ઈ-મેલ સરનામું ટાઇપ કરો'},anchor:{toolbar:'ઍંકર ઇન્સર્ટ/દાખલ કરવી',menu:'ઍંકરના ગુણ',title:'ઍંકરના ગુણ',name:'ઍંકરનું નામ',errorName:'ઍંકરનું નામ ટાઈપ કરો'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'શોધવું અને બદલવું',find:'શોધવું',replace:'રિપ્લેસ/બદલવું',findWhat:'આ શોધો',replaceWith:'આનાથી બદલો',notFoundMsg:'તમે શોધેલી ટેક્સ્ટ નથી મળી',matchCase:'કેસ સરખા રાખો',matchWord:'બઘા શબ્દ સરખા રાખો',matchCyclic:'Match cyclic',replaceAll:'બઘા બદલી ',replaceSuccessMsg:'%1 occurrence(s) replaced.'},table:{toolbar:'ટેબલ, કોઠો',title:'ટેબલ, કોઠાનું મથાળું',menu:'ટેબલ, કોઠાનું મથાળું',deleteTable:'કોઠો ડિલીટ/કાઢી નાખવું',rows:'પંક્તિના ખાના',columns:'કૉલમ/ઊભી કટાર',border:'કોઠાની બાજુ(બોર્ડર) સાઇઝ',widthPx:'પિકસલ',widthPc:'પ્રતિશત',widthUnit:'width unit',cellSpace:'સેલ અંતર',cellPad:'સેલ પૅડિંગ',caption:'મથાળું/કૅપ્શન ',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:'કોષના ખાના',insertBefore:'પહેલાં કોષ ઉમેરવો',insertAfter:'પછી કોષ ઉમેરવો',deleteCell:'કોષ ડિલીટ/કાઢી નાખવો',merge:'કોષ ભેગા કરવા',mergeRight:'જમણી બાજુ ભેગા કરવા',mergeDown:'નીચે ભેગા કરવા',splitHorizontal:'કોષને સમસ્તરીય વિભાજન કરવું',splitVertical:'કોષને સીધું ને ઊભું વિભાજન કરવું',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'},row:{menu:'પંક્તિના ખાના',insertBefore:'પહેલાં પંક્તિ ઉમેરવી',insertAfter:'પછી પંક્તિ ઉમેરવી',deleteRow:'પંક્તિઓ ડિલીટ/કાઢી નાખવી'},column:{menu:'કૉલમ/ઊભી કટાર',insertBefore:'પહેલાં કૉલમ/ઊભી કટાર ઉમેરવી',insertAfter:'પછી કૉલમ/ઊભી કટાર ઉમેરવી',deleteColumn:'કૉલમ/ઊભી કટાર ડિલીટ/કાઢી નાખવી'}},button:{title:'બટનના ગુણ',text:'ટેક્સ્ટ (વૅલ્યૂ)',type:'પ્રકાર',typeBtn:'બટન',typeSbm:'સબ્મિટ',typeRst:'રિસેટ'},checkboxAndRadio:{checkboxTitle:'ચેક બોક્સ ગુણ',radioTitle:'રેડિઓ બટનના ગુણ',value:'વૅલ્યૂ',selected:'સિલેક્ટેડ'},form:{title:'ફૉર્મ/પત્રકના ગુણ',menu:'ફૉર્મ/પત્રકના ગુણ',action:'ક્રિયા',method:'પદ્ધતિ',encoding:'Encoding'},select:{title:'પસંદગી ક્ષેત્રના ગુણ',selectInfo:'સૂચના',opAvail:'ઉપલબ્ધ વિકલ્પ',value:'વૅલ્યૂ',size:'સાઇઝ',lines:'લીટીઓ',chkMulti:'એકથી વધારે પસંદ કરી શકો',opText:'ટેક્સ્ટ',opValue:'વૅલ્યૂ',btnAdd:'ઉમેરવું',btnModify:'બદલવું',btnUp:'ઉપર',btnDown:'નીચે',btnSetValue:'પસંદ કરલી વૅલ્યૂ સેટ કરો',btnDelete:'રદ કરવું'},textarea:{title:'ટેક્સ્ટ એઅરિઆ, શબ્દ વિસ્તારના ગુણ',cols:'કૉલમ/ઊભી કટાર',rows:'પંક્તિઓ'},textfield:{title:'ટેક્સ્ટ ફીલ્ડ, શબ્દ ક્ષેત્રના ગુણ',name:'નામ',value:'વૅલ્યૂ',charWidth:'કેરેક્ટરની પહોળાઈ',maxChars:'અધિકતમ કેરેક્ટર',type:'ટાઇપ',typeText:'ટેક્સ્ટ',typePass:'પાસવર્ડ'},hidden:{title:'ગુપ્ત ક્ષેત્રના ગુણ',name:'નામ',value:'વૅલ્યૂ'},image:{title:'ચિત્રના ગુણ',titleButton:'ચિત્ર બટનના ગુણ',menu:'ચિત્રના ગુણ',infoTab:'ચિત્ર ની જાણકારી',btnUpload:'આ સર્વરને મોકલવું',upload:'અપલોડ',alt:'ઑલ્ટર્નટ ટેક્સ્ટ',lockRatio:'લૉક ગુણોત્તર',unlockRatio:'Unlock Ratio',resetSize:'રીસેટ સાઇઝ',border:'બોર્ડર',hSpace:'સમસ્તરીય જગ્યા',vSpace:'લંબરૂપ જગ્યા',alertUrl:'ચિત્રની URL ટાઇપ કરો',linkTab:'લિંક',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.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'ફ્લૅશના ગુણ',propertiesTab:'Properties',title:'ફ્લૅશ ગુણ',chkPlay:'ઑટો/સ્વયં પ્લે',chkLoop:'લૂપ',chkMenu:'ફ્લૅશ મેન્યૂ નો પ્રયોગ કરો',chkFull:'Allow Fullscreen',scale:'સ્કેલ',scaleAll:'સ્કેલ ઓલ/બધુ બતાવો',scaleNoBorder:'સ્કેલ બોર્ડર વગર',scaleFit:'સ્કેલ એકદમ ફીટ',access:'Script Access',accessAlways:'Always',accessSameDomain:'Same domain',accessNever:'Never',alignAbsBottom:'Abs નીચે',alignAbsMiddle:'Abs ઉપર',alignBaseline:'આધાર લીટી',alignTextTop:'ટેક્સ્ટ ઉપર',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'બૅકગ્રાઉન્ડ રંગ,',hSpace:'સમસ્તરીય જગ્યા',vSpace:'લંબરૂપ જગ્યા',validateSrc:'લિંક URL ટાઇપ કરો',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'જોડણી (સ્પેલિંગ) તપાસવી',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %s.',notInDic:'શબ્દકોશમાં નથી',changeTo:'આનાથી બદલવું',btnIgnore:'ઇગ્નોર/અવગણના કરવી',btnIgnoreAll:'બધાની ઇગ્નોર/અવગણના કરવી',btnReplace:'બદલવું',btnReplaceAll:'બધા બદલી કરો',btnUndo:'અન્ડૂ',noSuggestions:'- કઇ સજેશન નથી -',progress:'શબ્દની જોડણી/સ્પેલ ચેક ચાલુ છે...',noMispell:'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: ખોટી જોડણી મળી નથી',noChanges:'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: એકપણ શબ્દ બદલયો નથી',oneChange:'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: એક શબ્દ બદલયો છે',manyChanges:'શબ્દની જોડણી/સ્પેલ ચેક પૂર્ણ: %1 શબ્દ બદલયા છે',ieSpellDownload:'સ્પેલ-ચેકર ઇન્સ્ટોલ નથી. શું તમે ડાઉનલોડ કરવા માંગો છો?'},smiley:{toolbar:'સ્માઇલી',title:'સ્માઇલી પસંદ કરો',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},numberedlist:'સંખ્યાંકન સૂચિ',bulletedlist:'બુલેટ સૂચિ',indent:'ઇન્ડેન્ટ, લીટીના આરંભમાં જગ્યા વધારવી',outdent:'ઇન્ડેન્ટ લીટીના આરંભમાં જગ્યા ઘટાડવી',justify:{left:'ડાબી બાજુએ/બાજુ તરફ',center:'સંકેંદ્રણ/સેંટરિંગ',right:'જમણી બાજુએ/બાજુ તરફ',block:'બ્લૉક, અંતરાય જસ્ટિફાઇ'},blockquote:'બ્લૉક-કોટ, અવતરણચિહ્નો',clipboard:{title:'પેસ્ટ',cutError:'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસ કટ કરવાની પરવાનગી નથી આપતી. (Ctrl/Cmd+X) નો ઉપયોગ કરો.',copyError:'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસ કોપી કરવાની પરવાનગી નથી આપતી. (Ctrl/Cmd+C) का प्रयोग करें।',pasteMsg:'Ctrl/Cmd+V નો પ્રયોગ કરી પેસ્ટ કરો',securityMsg:'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસના કારણે,એડિટર તમારા કિલ્પબોર્ડ ડેટા ને કોપી નથી કરી શકતો. તમારે આ વિન્ડોમાં ફરીથી પેસ્ટ કરવું પડશે.',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'પેસ્ટ (વડૅ ટેક્સ્ટ)',title:'પેસ્ટ (વડૅ ટેક્સ્ટ)',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'પેસ્ટ (ટેક્સ્ટ)',title:'પેસ્ટ (ટેક્સ્ટ)'},templates:{button:'ટેમ્પ્લેટ',title:'કન્ટેન્ટ ટેમ્પ્લેટ',options:'Template Options',insertOption:'મૂળ શબ્દને બદલો',selectPromptMsg:'એડિટરમાં ઓપન કરવા ટેમ્પ્લેટ પસંદ કરો (વર્તમાન કન્ટેન્ટ સેવ નહીં થાય):',emptyListMsg:'(કોઈ ટેમ્પ્લેટ ડિફાઇન નથી)'},showBlocks:'બ્લૉક બતાવવું',stylesCombo:{label:'શૈલી/રીત',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},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',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'ફૉન્ટ',voiceLabel:'Font',panelTitle:'ફૉન્ટ'},fontSize:{label:'ફૉન્ટ સાઇઝ/કદ',voiceLabel:'Font Size',panelTitle:'ફૉન્ટ સાઇઝ/કદ'},colorButton:{textColorTitle:'શબ્દનો રંગ',bgColorTitle:'બૅકગ્રાઉન્ડ રંગ,',panelTitle:'Colors',auto:'સ્વચાલિત',more:'ઔર રંગ...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/gu.js | gu.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.cs={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',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:'Page Break',unlink:'Odstranit odkaz',undo:'Zpět',redo:'Znovu',common:{browseServer:'Vybrat na serveru',url:'URL',protocol:'Protokol',upload:'Odeslat',uploadSubmit:'Odeslat na server',image:'Obrázek',flash:'Flash',form:'Formulář',checkbox:'Zaškrtávací políčko',radio:'Přepínač',textField:'Textové pole',textarea:'Textová oblast',hiddenField:'Skryté pole',button:'Tlačítko',select:'Seznam',imageButton:'Obrázkové tlačítko',notSet:'<nenastaveno>',id:'Id',name:'Jméno',langDir:'Orientace jazyka',langDirLtr:'Zleva do prava (LTR)',langDirRtl:'Zprava do leva (RTL)',langCode:'Kód jazyka',longDescr:'Dlouhý popis URL',cssClass:'Třída stylu',advisoryTitle:'Pomocný titulek',cssStyle:'Styl',ok:'OK',cancel:'Storno',close:'Close',preview:'Preview',generalTab:'Obecné',advancedTab:'Rozšířené',validateNumberFailed:'Zadaná hodnota není číselná.',confirmNewPage:'Jakékoliv neuložené změny obsahu budou ztraceny. Skutečně chete otevrít novou stránku?',confirmCancel:'Některá z nastavení byla změněna. Skutečně chete zavřít dialogové okno?',options:'Options',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Šířka',height:'Výška',align:'Zarovnání',alignLeft:'Vlevo',alignRight:'Vpravo',alignCenter:'Na střed',alignTop:'Nahoru',alignMiddle:'Na střed',alignBottom:'Dolů',invalidHeight:'Zadaná výška musí být číslo.',invalidWidth:'Zadaná šířka musí být číslo.',unavailable:'%1<span class="cke_accessibility">, nedostupné</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Vložit speciální znaky',title:'Výběr speciálního znaku',options:'Special Character Options'},link:{toolbar:'Vložit/změnit odkaz',other:'<jiný>',menu:'Změnit odkaz',title:'Odkaz',info:'Informace o odkazu',target:'Cíl',upload:'Odeslat',advanced:'Rozšířené',type:'Typ odkazu',toUrl:'URL',toAnchor:'Kotva v této stránce',toEmail:'E-Mail',targetFrame:'<rámec>',targetPopup:'<vyskakovací okno>',targetFrameName:'Název cílového rámu',targetPopupName:'Název vyskakovacího okna',popupFeatures:'Vlastnosti vyskakovacího okna',popupResizable:'Umožňující měnit velikost',popupStatusBar:'Stavový řádek',popupLocationBar:'Panel umístění',popupToolbar:'Panel nástrojů',popupMenuBar:'Panel nabídky',popupFullScreen:'Celá obrazovka (IE)',popupScrollBars:'Posuvníky',popupDependent:'Závislost (Netscape)',popupLeft:'Levý okraj',popupTop:'Horní okraj',id:'Id',langDir:'Orientace jazyka',langDirLTR:'Zleva do prava (LTR)',langDirRTL:'Zprava do leva (RTL)',acccessKey:'Přístupový klíč',name:'Jméno',langCode:'Orientace jazyka',tabIndex:'Pořadí prvku',advisoryTitle:'Pomocný titulek',advisoryContentType:'Pomocný typ obsahu',cssClasses:'Třída stylu',charset:'Přiřazená znaková sada',styles:'Styl',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:{toolbar:'Vložít/změnit záložku',menu:'Vlastnosti záložky',title:'Vlastnosti záložky',name:'Název záložky',errorName:'Zadejte prosím název záložky'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Najít a nahradit',find:'Hledat',replace:'Nahradit',findWhat:'Co hledat:',replaceWith:'Čím nahradit:',notFoundMsg:'Hledaný text nebyl nalezen.',matchCase:'Rozlišovat velikost písma',matchWord:'Pouze celá slova',matchCyclic:'Procházet opakovaně',replaceAll:'Nahradit vše',replaceSuccessMsg:'%1 nahrazení.'},table:{toolbar:'Tabulka',title:'Vlastnosti tabulky',menu:'Vlastnosti tabulky',deleteTable:'Smazat tabulku',rows:'Řádky',columns:'Sloupce',border:'Ohraničení',widthPx:'bodů',widthPc:'procent',widthUnit:'width unit',cellSpace:'Vzdálenost buněk',cellPad:'Odsazení obsahu v buňce',caption:'Popis',summary:'Souhrn',headers:'Záhlaví',headersNone:'Žádné',headersColumn:'První sloupec',headersRow:'První řádek',headersBoth:'Obojí',invalidRows:'Počet řádků musí být číslo větší než 0.',invalidCols:'Počet sloupců musí být číslo větší než 0.',invalidBorder:'Zdaná velikost okraje musí být číselná.',invalidWidth:'Zadaná šířka tabulky musí být číselná.',invalidHeight:'zadaná výška tabulky musí být číselná.',invalidCellSpacing:'Zadaná vzdálenost buněk musí být číselná.',invalidCellPadding:'Zadané odsazení obsahu v buňce musí být číselné.',cell:{menu:'Buňka',insertBefore:'Vložit buňku před',insertAfter:'Vložit buňku za',deleteCell:'Smazat buňky',merge:'Sloučit buňky',mergeRight:'Sloučit doprava',mergeDown:'Sloučit dolů',splitHorizontal:'Rozdělit buňky vodorovně',splitVertical:'Rozdělit buňky svisle',title:'Vlastnosti buňky',cellType:'Typ buňky',rowSpan:'Spojit řádky',colSpan:'Spojit sloupce',wordWrap:'Zalamování',hAlign:'Vodorovné zarovnání',vAlign:'Svislé zarovnání',alignBaseline:'Na účaří',bgColor:'Barva pozadí',borderColor:'Barva okraje',data:'Data',header:'Hlavička',yes:'Ano',no:'Ne',invalidWidth:'Zadaná šířka buňky musí být číslená.',invalidHeight:'Zadaná výška buňky musí být číslená.',invalidRowSpan:'Zadaný počet sloučených řádků musí být celé číslo.',invalidColSpan:'Zadaný počet sloučených sloupců musí být celé číslo.',chooseColor:'Výběr'},row:{menu:'Řádek',insertBefore:'Vložit řádek před',insertAfter:'Vložit řádek za',deleteRow:'Smazat řádky'},column:{menu:'Sloupec',insertBefore:'Vložit sloupec před',insertAfter:'Vložit sloupec za',deleteColumn:'Smazat sloupec'}},button:{title:'Vlastnosti tlačítka',text:'Popisek',type:'Typ',typeBtn:'Tlačítko',typeSbm:'Odeslat',typeRst:'Obnovit'},checkboxAndRadio:{checkboxTitle:'Vlastnosti zaškrtávacího políčka',radioTitle:'Vlastnosti přepínače',value:'Hodnota',selected:'Zaškrtnuto'},form:{title:'Vlastnosti formuláře',menu:'Vlastnosti formuláře',action:'Akce',method:'Metoda',encoding:'Kódování'},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:{title:'Vlastnosti textové oblasti',cols:'Sloupců',rows:'Řádků'},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:{title:'Vlastnosti skrytého pole',name:'Název',value:'Hodnota'},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',unlockRatio:'Unlock Ratio',resetSize:'Původní velikost',border:'Okraje',hSpace:'H-mezera',vSpace:'V-mezera',alertUrl:'Zadejte prosím URL obrázku',linkTab:'Odkaz',button2Img:'Skutečně chcete převést zvolené obrázkové tlačítko na obyčejný obrázek?',img2Button:'Skutečně chcete převést zvolený obrázek na obrázkové tlačítko?',urlMissing:'Zadané URL zdroje obrázku nebylo nalezeno.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'Vlastnosti Flashe',propertiesTab:'Vlastnosti',title:'Vlastnosti Flashe',chkPlay:'Automatické spuštění',chkLoop:'Opakování',chkMenu:'Nabídka Flash',chkFull:'Povolit celoobrazovkový režim',scale:'Zobrazit',scaleAll:'Zobrazit vše',scaleNoBorder:'Bez okraje',scaleFit:'Přizpůsobit',access:'Přístup ke skriptu',accessAlways:'Vždy',accessSameDomain:'Ve stejné doméně',accessNever:'Nikdy',alignAbsBottom:'Zcela dolů',alignAbsMiddle:'Doprostřed',alignBaseline:'Na účaří',alignTextTop:'Na horní okraj textu',quality:'Kvalita',qualityBest:'Nejlepší',qualityHigh:'Vysoká',qualityAutoHigh:'Vysoká - auto',qualityMedium:'Střední',qualityAutoLow:'Nízká - auto',qualityLow:'Nejnižší',windowModeWindow:'Okno',windowModeOpaque:'Neprůhledné',windowModeTransparent:'Průhledné',windowMode:'Režim okna',flashvars:'Proměnné pro Flash',bgcolor:'Barva pozadí',hSpace:'H-mezera',vSpace:'V-mezera',validateSrc:'Zadejte prosím URL odkazu',validateHSpace:'Zadaná H-mezera musí být číslo.',validateVSpace:'Zadaná V-mezera musí být číslo.'},spellCheck:{toolbar:'Zkontrolovat pravopis',title:'Kontrola pravopisu',notAvailable:'Omlouváme se, ale služba nyní není dostupná.',errorLoading:'Chyba nahrávání služby aplikace z: %s.',notInDic:'Není ve slovníku',changeTo:'Změnit na',btnIgnore:'Přeskočit',btnIgnoreAll:'Přeskakovat vše',btnReplace:'Zaměnit',btnReplaceAll:'Zaměňovat vše',btnUndo:'Zpět',noSuggestions:'- žádné návrhy -',progress:'Probíhá kontrola pravopisu...',noMispell:'Kontrola pravopisu dokončena: Žádné pravopisné chyby nenalezeny',noChanges:'Kontrola pravopisu dokončena: Beze změn',oneChange:'Kontrola pravopisu dokončena: Jedno slovo změněno',manyChanges:'Kontrola pravopisu dokončena: %1 slov změněno',ieSpellDownload:'Kontrola pravopisu není nainstalována. Chcete ji nyní stáhnout?'},smiley:{toolbar:'Smajlíky',title:'Vkládání smajlíků',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',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:'Paste Area'},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:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'Vložit jako čistý text',title:'Vložit jako čistý text'},templates:{button:'Šablony',title:'Šablony obsahu',options:'Template Options',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:'Formatting Styles',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:'Create Div Container',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},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:'Colors',auto:'Automaticky',more:'Více barev...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Kontrola pravopisu během psaní (SCAYT)',opera_title:'Not supported by Opera',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:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Jazyky',dictionariesTab:'Slovníky',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'O aplikaci'},about:{title:'O aplikaci CKEditor',dlgTitle:'O aplikaci 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:'Hidden Field',unknown:'Neznámý objekt'},resize:'Uchopit pro změnu velikosti',colordialog:{title:'Výběr barvy',options:'Color Options',highlight:'Zvýraznit',selected:'Vybráno',clear:'Vyčistit'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/cs.js | cs.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.gl={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',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',unlink:'Eliminar Ligazón',undo:'Desfacer',redo:'Refacer',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',preview:'Preview',generalTab:'General',advancedTab:'Advanzado',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',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.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Inserir Carácter Especial',title:'Seleccione Caracter Especial',options:'Special Character Options'},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',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',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',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',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:{toolbar:'Inserir/Editar Referencia',menu:'Propriedades da Referencia',title:'Propriedades da Referencia',name:'Nome da Referencia',errorName:'Por favor, escriba o nome da referencia'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Find and Replace',find:'Procurar',replace:'Substituir',findWhat:'Texto a procurar:',replaceWith:'Substituir con:',notFoundMsg:'Non te atopou o texto indicado.',matchCase:'Coincidir Mai./min.',matchWord:'Coincidir con toda a palabra',matchCyclic:'Match cyclic',replaceAll:'Substitiur Todo',replaceSuccessMsg:'%1 occurrence(s) replaced.'},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',cellSpace:'Marxe entre Celas',cellPad:'Marxe interior',caption:'Título',summary:'Sumario',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:'Cela',insertBefore:'Insert Cell Before',insertAfter:'Insert Cell After',deleteCell:'Borrar Cela',merge:'Unir Celas',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'},row:{menu:'Fila',insertBefore:'Insert Row Before',insertAfter:'Insert Row After',deleteRow:'Borrar Filas'},column:{menu:'Columna',insertBefore:'Insert Column Before',insertAfter:'Insert Column After',deleteColumn:'Borrar Columnas'}},button:{title:'Propriedades do Botón',text:'Texto (Valor)',type:'Tipo',typeBtn:'Button',typeSbm:'Submit',typeRst:'Reset'},checkboxAndRadio:{checkboxTitle:'Propriedades do Cadro de Verificación',radioTitle:'Propriedades do Botón de Radio',value:'Valor',selected:'Seleccionado'},form:{title:'Propriedades do Formulario',menu:'Propriedades do Formulario',action:'Acción',method:'Método',encoding:'Encoding'},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:{title:'Propriedades da Área de Texto',cols:'Columnas',rows:'Filas'},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:{title:'Propriedades do Campo Oculto',name:'Nome',value:'Valor'},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',unlockRatio:'Unlock Ratio',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?',img2Button:'Do you want to transform the selected image on a image button?',urlMissing:'Image source URL is missing.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'Propriedades Flash',propertiesTab:'Properties',title:'Propriedades Flash',chkPlay:'Auto Execución',chkLoop:'Bucle',chkMenu:'Activar Menú Flash',chkFull:'Allow Fullscreen',scale:'Escalar',scaleAll:'Amosar Todo',scaleNoBorder:'Sen Borde',scaleFit:'Encaixar axustando',access:'Script Access',accessAlways:'Always',accessSameDomain:'Same domain',accessNever:'Never',alignAbsBottom:'Abs Inferior',alignAbsMiddle:'Abs Centro',alignBaseline:'Liña Base',alignTextTop:'Tope do Texto',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'Cor do Fondo',hSpace:'Esp. Horiz.',vSpace:'Esp. Vert.',validateSrc:'Por favor, escriba a ligazón URL',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'Corrección Ortográfica',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %s.',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'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},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',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.',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'Pegar dende Word',title:'Pegar dende Word',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'Pegar como texto plano',title:'Pegar como texto plano'},templates:{button:'Plantillas',title:'Plantillas de Contido',options:'Template Options',insertOption:'Replace actual contents',selectPromptMsg:'Por favor, seleccione a plantilla a abrir no editor<br>(o contido actual perderase):',emptyListMsg:'(Non hai plantillas definidas)'},showBlocks:'Show Blocks',stylesCombo:{label:'Estilo',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},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',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Tipo',voiceLabel:'Font',panelTitle:'Tipo'},fontSize:{label:'Tamaño',voiceLabel:'Font Size',panelTitle:'Tamaño'},colorButton:{textColorTitle:'Cor do Texto',bgColorTitle:'Cor do Fondo',panelTitle:'Colors',auto:'Automático',more:'Máis Cores...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/gl.js | gl.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.uk={dir:'ltr',editorTitle:'Текстовий редактор, %1, натисніть ALT 0 для довідки.',toolbar:'Панель інструментів',editor:'Текстовий редактор',source:'Джерело',newPage:'Нова сторінка',save:'Зберегти',preview:'Попередній перегляд',cut:'Вирізати',copy:'Копіювати',paste:'Вставити',print:'Друк',underline:'Підкреслений',bold:'Жирний',italic:'Курсив',selectAll:'Виділити все',removeFormat:'Очистити форматування',strike:'Закреслений',subscript:'Нижній індекс',superscript:'Верхній індекс',horizontalrule:'Горизонтальна лінія',pagebreak:'Вставити розрив сторінки',pagebreakAlt:'Page Break',unlink:'Видалити посилання',undo:'Повернути',redo:'Повторити',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:'Ширина повинна бути цілим числом.',unavailable:'%1<span class="cke_accessibility">, не доступне</span>'},contextmenu:{options:'Опції контекстного меню'},specialChar:{toolbar:'Спеціальний символ',title:'Оберіть спеціальний символ',options:'Опції'},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',selectAnchor:'Оберіть якір',anchorName:"За ім'ям елементу",anchorId:'За ідентифікатором елементу',emailAddress:'Адреса ел. пошти',emailSubject:'Тема листа',emailBody:'Тіло повідомлення',noAnchors:'(В цьому документі немає якорів)',noUrl:'Будь ласка, вкажіть URL посилання',noEmail:'Будь ласка, вкажіть адрес ел. пошти'},anchor:{toolbar:'Вставити/Редагувати якір',menu:'Властивості якоря',title:'Властивості якоря',name:"Ім'я якоря",errorName:"Будь ласка, вкажіть ім'я якоря"},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 і т.д.)'},findAndReplace:{title:'Знайти і замінити',find:'Пошук',replace:'Заміна',findWhat:'Шукати:',replaceWith:'Замінити на:',notFoundMsg:'Вказаний текст не знайдено.',matchCase:'Враховувати регістр',matchWord:'Збіг цілих слів',matchCyclic:'Циклічна заміна',replaceAll:'Замінити все',replaceSuccessMsg:'%1 співпадінь(ня) замінено.'},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:{title:'Властивості кнопки',text:'Значення',type:'Тип',typeBtn:'Кнопка (button)',typeSbm:'Надіслати (submit)',typeRst:'Очистити (reset)'},checkboxAndRadio:{checkboxTitle:'Властивості галочки',radioTitle:'Властивості кнопки вибору',value:'Значення',selected:'Обрана'},form:{title:'Властивості форми',menu:'Властивості форми',action:'Дія',method:'Метод',encoding:'Кодування'},select:{title:'Властивості списку',selectInfo:'Інфо',opAvail:'Доступні варіанти',value:'Значення',size:'Кількість',lines:'видимих позицій у списку',chkMulti:'Список з мультивибором',opText:'Текст',opValue:'Значення',btnAdd:'Добавити',btnModify:'Змінити',btnUp:'Вгору',btnDown:'Вниз',btnSetValue:'Встановити як обране значення',btnDelete:'Видалити'},textarea:{title:'Властивості текстової області',cols:'Стовбці',rows:'Рядки'},textfield:{title:'Властивості текстового поля',name:"Ім'я",value:'Значення',charWidth:'Ширина',maxChars:'Макс. к-ть символів',type:'Тип',typeText:'Текст',typePass:'Пароль'},hidden:{title:'Властивості прихованого поля',name:"Ім'я",value:'Значення'},image:{title:'Властивості зображення',titleButton:'Властивості кнопки із зображенням',menu:'Властивості зображення',infoTab:'Інформація про зображення',btnUpload:'Надіслати на сервер',upload:'Надіслати',alt:'Альтернативний текст',lockRatio:'Зберегти пропорції',unlockRatio:'Не зберігати пропорції',resetSize:'Очистити поля розмірів',border:'Рамка',hSpace:'Гориз. відступ',vSpace:'Верт. відступ',alertUrl:'Будь ласка, вкажіть URL зображення',linkTab:'Посилання',button2Img:'Бажаєте перетворити обрану кнопку-зображення на просте зображення?',img2Button:'Бажаєте перетворити обране зображення на кнопку-зображення?',urlMissing:'Вкажіть URL зображення.',validateBorder:'Ширина рамки повинна бути цілим числом.',validateHSpace:'Гориз. відступ повинен бути цілим числом.',validateVSpace:'Верт. відступ повинен бути цілим числом.'},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:'Верт. відступ повинен бути цілим числом.'},spellCheck:{toolbar:'Перевірити орфографію',title:'Перевірка орфографії',notAvailable:'Вибачте, але сервіс наразі недоступний.',errorLoading:'Помилка завантаження : %s.',notInDic:'Немає в словнику',changeTo:'Замінити на',btnIgnore:'Пропустити',btnIgnoreAll:'Пропустити все',btnReplace:'Замінити',btnReplaceAll:'Замінити все',btnUndo:'Назад',noSuggestions:'- немає варіантів -',progress:'Виконується перевірка орфографії...',noMispell:'Перевірку орфографії завершено: помилок не знайдено',noChanges:'Перевірку орфографії завершено: жодне слово не змінено',oneChange:'Перевірку орфографії завершено: змінено одне слово',manyChanges:'Перевірку орфографії завершено: 1% слів(ова) змінено',ieSpellDownload:'Модуль перевірки орфографії не встановлено. Бажаєте завантажити його зараз?'},smiley:{toolbar:'Смайлик',title:'Вставити смайлик',options:'Опції смайликів'},elementsPath:{eleLabel:'Шлях',eleTitle:'%1 елемент'},numberedlist:'Нумерований список',bulletedlist:'Маркірований список',indent:'Збільшити відступ',outdent:'Зменшити відступ',justify:{left:'По лівому краю',center:'По центру',right:'По правому краю',block:'По ширині'},blockquote:'Цитата',clipboard:{title:'Вставити',cutError:'Налаштування безпеки Вашого браузера не дозволяють редактору автоматично виконувати операції вирізування. Будь ласка, використовуйте клавіатуру для цього (Ctrl/Cmd+X)',copyError:'Налаштування безпеки Вашого браузера не дозволяють редактору автоматично виконувати операції копіювання. Будь ласка, використовуйте клавіатуру для цього (Ctrl/Cmd+C).',pasteMsg:'Будь ласка, вставте інформацію з буфера обміну в цю область, користуючись комбінацією клавіш (<STRONG>Ctrl/Cmd+V</STRONG>), та натисніть <STRONG>OK</STRONG>.',securityMsg:"Редактор не може отримати прямий доступ до буферу обміну у зв'язку з налаштуваннями Вашого браузера. Вам потрібно вставити інформацію в це вікно.",pasteArea:'Область вставки'},pastefromword:{confirmCleanup:'Текст, що Ви намагаєтесь вставити, схожий на скопійований з Word. Бажаєте очистити його форматування перед вставлянням?',toolbar:'Вставити з Word',title:'Вставити з Word',error:'Неможливо очистити форматування через внутрішню помилку.'},pasteText:{button:'Вставити тільки текст',title:'Вставити тільки текст'},templates:{button:'Шаблони',title:'Шаблони змісту',options:'Опції шаблону',insertOption:'Замінити поточний вміст',selectPromptMsg:'Оберіть, будь ласка, шаблон для відкриття в редакторі<br>(поточний зміст буде втрачено):',emptyListMsg:'(Не знайдено жодного шаблону)'},showBlocks:'Показувати блоки',stylesCombo:{label:'Стиль',panelTitle:'Стилі форматування',panelTitle1:'Блочні стилі',panelTitle2:'Рядкові стилі',panelTitle3:"Об'єктні стилі"},format:{label:'Форматування',panelTitle:'Форматування',tag_p:'Нормальний',tag_pre:'Форматований',tag_address:'Адреса',tag_h1:'Заголовок 1',tag_h2:'Заголовок 2',tag_h3:'Заголовок 3',tag_h4:'Заголовок 4',tag_h5:'Заголовок 5',tag_h6:'Заголовок 6',tag_div:'Нормальний (div)'},div:{title:'Створити блок-контейнер',toolbar:'Створити блок-контейнер',cssClassInputLabel:'Клас CSS',styleSelectLabel:'Стиль CSS',IdInputLabel:'Ідентифікатор',languageCodeInputLabel:'Код мови',inlineStyleInputLabel:'Вписаний стиль',advisoryTitleInputLabel:'Зміст випливаючої підказки',langDirLabel:'Напрямок мови',langDirLTRLabel:'Зліва направо (LTR)',langDirRTLLabel:'Справа наліво (RTL)',edit:'Редагувати блок',remove:'Видалити блок'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame 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',moreInfo:'Щодо інформації з ліцензування завітайте на наш сайт:',copy:'Copyright © $1. Всі права застережено.'},maximize:'Максимізувати',minimize:'Мінімізувати',fakeobjects:{anchor:'Якір',flash:'Flash-анімація',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:"Невідомий об'єкт"},resize:'Потягніть для зміни розмірів',colordialog:{title:'Обрати колір',options:'Опції кольорів',highlight:'Колір, на який вказує курсор',selected:'Обраний колір',clear:'Очистити'},toolbarCollapse:'Згорнути панель інструментів',toolbarExpand:'Розгорнути панель інструментів',bidi:{ltr:'Напрямок тексту зліва направо',rtl:'Напрямок тексту справа наліво'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/uk.js | uk.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.ca={dir:'ltr',editorTitle:'Editor de text enriquit, %1, prem ALT 0 per obtenir ajuda.',toolbar:"Barra d'eines",editor:'Editor de text enriquit',source:'Codi font',newPage:'Nova pàgina',save:'Desa',preview:'Visualització prèvia',cut:'Retalla',copy:'Copia',paste:'Enganxa',print:'Imprimeix',underline:'Subratllat',bold:'Negreta',italic:'Cursiva',selectAll:'Selecciona-ho tot',removeFormat:'Elimina Format',strike:'Barrat',subscript:'Subíndex',superscript:'Superíndex',horizontalrule:'Insereix línia horitzontal',pagebreak:'Insereix salt de pàgina',pagebreakAlt:'Page Break',unlink:"Elimina l'enllaç",undo:'Desfés',redo:'Refés',common:{browseServer:'Veure servidor',url:'URL',protocol:'Protocol',upload:'Puja',uploadSubmit:'Envia-la al servidor',image:'Imatge',flash:'Flash',form:'Formulari',checkbox:'Casella de verificació',radio:"Botó d'opció",textField:'Camp de text',textarea:'Àrea de text',hiddenField:'Camp ocult',button:'Botó',select:'Camp de selecció',imageButton:"Botó d'imatge",notSet:'<no definit>',id:'Id',name:'Nom',langDir:"Direcció de l'idioma",langDirLtr:"D'esquerra a dreta (LTR)",langDirRtl:'De dreta a esquerra (RTL)',langCode:"Codi d'idioma",longDescr:'Descripció llarga de la URL',cssClass:"Classes del full d'estil",advisoryTitle:'Títol consultiu',cssStyle:'Estil',ok:"D'acord",cancel:'Cancel·la',close:'Tanca',preview:'Previsualitza',generalTab:'General',advancedTab:'Avançat',validateNumberFailed:'Aquest valor no és un número.',confirmNewPage:'Els canvis en aquest contingut que no es desin es perdran. Esteu segur que voleu carregar una pàgina nova?',confirmCancel:"Algunes opcions s'han canviat. Esteu segur que voleu tancar la finestra de diàleg?",options:'Opcions',target:'Destí',targetNew:'Nova finestra (_blank)',targetTop:'Finestra major (_top)',targetSelf:'Mateixa finestra (_self)',targetParent:'Finestra pare (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Amplada',height:'Alçada',align:'Alineació',alignLeft:"Ajusta a l'esquerra",alignRight:'Ajusta a la dreta',alignCenter:'Centre',alignTop:'Top',alignMiddle:'Middle',alignBottom:'Bottom',invalidHeight:"L'alçada ha de ser un nombre.",invalidWidth:"L'amplada ha de ser un nombre.",unavailable:'%1<span class="cke_accessibility">, no disponible</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Insereix caràcter especial',title:'Selecciona el caràcter especial',options:'Special Character Options'},link:{toolbar:'Insereix/Edita enllaç',other:'<altre>',menu:"Edita l'enllaç",title:'Enllaç',info:"Informació de l'enllaç",target:'Destí',upload:'Puja',advanced:'Avançat',type:"Tipus d'enllaç",toUrl:'URL',toAnchor:'Àncora en aquesta pàgina',toEmail:'Correu electrònic',targetFrame:'<marc>',targetPopup:'<finestra emergent>',targetFrameName:'Nom del marc de destí',targetPopupName:'Nom finestra popup',popupFeatures:'Característiques finestra popup',popupResizable:'Redimensionable',popupStatusBar:"Barra d'estat",popupLocationBar:"Barra d'adreça",popupToolbar:"Barra d'eines",popupMenuBar:'Barra de menú',popupFullScreen:'Pantalla completa (IE)',popupScrollBars:"Barres d'scroll",popupDependent:'Depenent (Netscape)',popupLeft:'Posició esquerra',popupTop:'Posició dalt',id:'Id',langDir:"Direcció de l'idioma",langDirLTR:"D'esquerra a dreta (LTR)",langDirRTL:'De dreta a esquerra (RTL)',acccessKey:"Clau d'accés",name:'Nom',langCode:"Direcció de l'idioma",tabIndex:'Index de Tab',advisoryTitle:'Títol consultiu',advisoryContentType:'Tipus de contingut consultiu',cssClasses:"Classes del full d'estil",charset:'Conjunt de caràcters font enllaçat',styles:'Estil',selectAnchor:'Selecciona una àncora',anchorName:"Per nom d'àncora",anchorId:"Per Id d'element",emailAddress:'Adreça de correu electrònic',emailSubject:'Assumpte del missatge',emailBody:'Cos del missatge',noAnchors:'(No hi ha àncores disponibles en aquest document)',noUrl:"Si us plau, escrigui l'enllaç URL",noEmail:"Si us plau, escrigui l'adreça correu electrònic"},anchor:{toolbar:'Insereix/Edita àncora',menu:"Propietats de l'àncora",title:"Propietats de l'àncora",name:"Nom de l'àncora",errorName:"Si us plau, escriviu el nom de l'ancora"},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Cerca i reemplaça',find:'Cerca',replace:'Reemplaça',findWhat:'Cerca:',replaceWith:'Remplaça amb:',notFoundMsg:"El text especificat no s'ha trobat.",matchCase:'Distingeix majúscules/minúscules',matchWord:'Només paraules completes',matchCyclic:'Match cyclic',replaceAll:'Reemplaça-ho tot',replaceSuccessMsg:'%1 ocurrència/es reemplaçada/es.'},table:{toolbar:'Taula',title:'Propietats de la taula',menu:'Propietats de la taula',deleteTable:'Suprimeix la taula',rows:'Files',columns:'Columnes',border:'Mida vora',widthPx:'píxels',widthPc:'percentatge',widthUnit:"unitat d'amplada",cellSpace:'Espaiat de cel·les',cellPad:'Encoixinament de cel·les',caption:'Títol',summary:'Resum',headers:'Capçaleres',headersNone:'Cap',headersColumn:'Primera columna',headersRow:'Primera fila',headersBoth:'Ambdues',invalidRows:'El nombre de files ha de ser un nombre major que 0.',invalidCols:'El nombre de columnes ha de ser un nombre major que 0.',invalidBorder:'El gruix de la vora ha de ser un nombre.',invalidWidth:"L'amplada de la taula ha de ser un nombre.",invalidHeight:"L'alçada de la taula ha de ser un nombre.",invalidCellSpacing:"L'espaiat de cel·la ha de ser un nombre.",invalidCellPadding:"L'encoixinament de cel·la ha de ser un nombre.",cell:{menu:'Cel·la',insertBefore:'Insereix cel·la abans de',insertAfter:'Insereix cel·la darrera',deleteCell:'Suprimeix les cel·les',merge:'Fusiona les cel·les',mergeRight:'Fusiona cap a la dreta',mergeDown:'Fusiona cap avall',splitHorizontal:'Divideix la cel·la horitzontalment',splitVertical:'Divideix la cel·la verticalment',title:'Propertiat de la cel·la',cellType:'Tipus de cel·la',rowSpan:'Expansió de files',colSpan:'Expansió de columnes',wordWrap:'Ajustar al contingut',hAlign:'Aliniació Horizontal',vAlign:'Aliniació Vertical',alignBaseline:'A la línia base',bgColor:'Color de fons',borderColor:'Color de la vora',data:'Data',header:'Capçalera',yes:'Sí',no:'No',invalidWidth:"L'amplada de cel·la ha de ser un nombre.",invalidHeight:"L'alçada de cel·la ha de ser un nombre.",invalidRowSpan:"L'expansió de files ha de ser un nombre enter.",invalidColSpan:"L'expansió de columnes ha de ser un nombre enter.",chooseColor:'Trieu'},row:{menu:'Fila',insertBefore:'Insereix fila abans de',insertAfter:'Insereix fila darrera',deleteRow:'Suprimeix una fila'},column:{menu:'Columna',insertBefore:'Insereix columna abans de',insertAfter:'Insereix columna darrera',deleteColumn:'Suprimeix una columna'}},button:{title:'Propietats del botó',text:'Text (Valor)',type:'Tipus',typeBtn:'Botó',typeSbm:'Transmet formulari',typeRst:'Reinicia formulari'},checkboxAndRadio:{checkboxTitle:'Propietats de la casella de verificació',radioTitle:"Propietats del botó d'opció",value:'Valor',selected:'Seleccionat'},form:{title:'Propietats del formulari',menu:'Propietats del formulari',action:'Acció',method:'Mètode',encoding:'Codificació'},select:{title:'Propietats del camp de selecció',selectInfo:'Info',opAvail:'Opcions disponibles',value:'Valor',size:'Mida',lines:'Línies',chkMulti:'Permet múltiples seleccions',opText:'Text',opValue:'Valor',btnAdd:'Afegeix',btnModify:'Modifica',btnUp:'Amunt',btnDown:'Avall',btnSetValue:'Selecciona per defecte',btnDelete:'Elimina'},textarea:{title:"Propietats de l'àrea de text",cols:'Columnes',rows:'Files'},textfield:{title:'Propietats del camp de text',name:'Nom',value:'Valor',charWidth:'Amplada',maxChars:'Nombre màxim de caràcters',type:'Tipus',typeText:'Text',typePass:'Contrasenya'},hidden:{title:'Propietats del camp ocult',name:'Nom',value:'Valor'},image:{title:'Propietats de la imatge',titleButton:"Propietats del botó d'imatge",menu:'Propietats de la imatge',infoTab:'Informació de la imatge',btnUpload:'Envia-la al servidor',upload:'Puja',alt:'Text alternatiu',lockRatio:'Bloqueja les proporcions',unlockRatio:'Desbloqueja el ràtio',resetSize:'Restaura la mida',border:'Vora',hSpace:'Espaiat horit.',vSpace:'Espaiat vert.',alertUrl:'Si us plau, escriviu la URL de la imatge',linkTab:'Enllaç',button2Img:"Voleu transformar el botó d'imatge seleccionat en una simple imatge?",img2Button:"Voleu transformar la imatge seleccionada en un botó d'imatge?",urlMissing:'Falta la URL de la imatge.',validateBorder:'La vora ha de ser un nombre enter.',validateHSpace:'HSpace ha de ser un nombre enter.',validateVSpace:'VSpace ha de ser un nombre enter.'},flash:{properties:'Propietats del Flash',propertiesTab:'Propietats',title:'Propietats del Flash',chkPlay:'Reprodució automàtica',chkLoop:'Bucle',chkMenu:'Habilita menú Flash',chkFull:'Permetre la pantalla completa',scale:'Escala',scaleAll:'Mostra-ho tot',scaleNoBorder:'Sense vores',scaleFit:'Mida exacta',access:'Accés a scripts',accessAlways:'Sempre',accessSameDomain:'El mateix domini',accessNever:'Mai',alignAbsBottom:'Abs Bottom',alignAbsMiddle:'Abs Middle',alignBaseline:'Baseline',alignTextTop:'Text Top',quality:'Qualitat',qualityBest:'La millor',qualityHigh:'Alta',qualityAutoHigh:'Alta automàtica',qualityMedium:'Mitjana',qualityAutoLow:'Baixa automàtica',qualityLow:'Baixa',windowModeWindow:'Finestra',windowModeOpaque:'Opaca',windowModeTransparent:'Transparent',windowMode:'Mode de la finestra',flashvars:'Variables de Flash',bgcolor:'Color de Fons',hSpace:'Espaiat horit.',vSpace:'Espaiat vert.',validateSrc:"Si us plau, escrigui l'enllaç URL",validateHSpace:"L'espaiat horitzonatal ha de ser un nombre.",validateVSpace:"L'espaiat vertical ha de ser un nombre."},spellCheck:{toolbar:"Revisa l'ortografia",title:"Comprova l'ortografia",notAvailable:'El servei no es troba disponible ara.',errorLoading:'Error carregant el servidor: %s.',notInDic:'No és al diccionari',changeTo:'Reemplaça amb',btnIgnore:'Ignora',btnIgnoreAll:'Ignora-les totes',btnReplace:'Canvia',btnReplaceAll:'Canvia-les totes',btnUndo:'Desfés',noSuggestions:'Cap suggeriment',progress:'Verificació ortogràfica en curs...',noMispell:'Verificació ortogràfica acabada: no hi ha cap paraula mal escrita',noChanges:"Verificació ortogràfica: no s'ha canviat cap paraula",oneChange:"Verificació ortogràfica: s'ha canviat una paraula",manyChanges:"Verificació ortogràfica: s'han canviat %1 paraules",ieSpellDownload:'Verificació ortogràfica no instal·lada. Voleu descarregar-ho ara?'},smiley:{toolbar:'Icona',title:'Insereix una icona',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},numberedlist:'Llista numerada',bulletedlist:'Llista de pics',indent:'Augmenta el sagnat',outdent:'Redueix el sagnat',justify:{left:"Alinia a l'esquerra",center:'Centrat',right:'Alinia a la dreta',block:'Justificat'},blockquote:'Bloc de cita',clipboard:{title:'Enganxa',cutError:'La seguretat del vostre navegador no permet executar automàticament les operacions de retallar. Si us plau, utilitzeu el teclat (Ctrl+X).',copyError:'La seguretat del vostre navegador no permet executar automàticament les operacions de copiar. Si us plau, utilitzeu el teclat (Ctrl+C).',pasteMsg:'Si us plau, enganxeu dins del següent camp utilitzant el teclat (<STRONG>Ctrl+V</STRONG>) i premeu <STRONG>OK</STRONG>.',securityMsg:"A causa de la configuració de seguretat del vostre navegador, l'editor no pot accedir al porta-retalls directament. Enganxeu-ho un altre cop en aquesta finestra.",pasteArea:"Àrea d'enganxat"},pastefromword:{confirmCleanup:'El text que voleu enganxar sembla provenir de Word. Voleu netejar aquest text abans que sigui enganxat?',toolbar:'Enganxa des del Word',title:'Enganxa des del Word',error:'No ha estat possible netejar les dades enganxades degut a un error intern'},pasteText:{button:'Enganxa com a text no formatat',title:'Enganxa com a text no formatat'},templates:{button:'Plantilles',title:'Contingut plantilles',options:'Template Options',insertOption:'Reemplaça el contingut actual',selectPromptMsg:"Si us plau, seleccioneu la plantilla per obrir a l'editor<br>(el contingut actual no serà enregistrat):",emptyListMsg:'(No hi ha plantilles definides)'},showBlocks:'Mostra els blocs',stylesCombo:{label:'Estil',panelTitle:'Estils de format',panelTitle1:'Estils de bloc',panelTitle2:'Estils incrustats',panelTitle3:"Estils d'objecte"},format:{label:'Format',panelTitle:'Format',tag_p:'Normal',tag_pre:'Formatejat',tag_address:'Adreça',tag_h1:'Encapçalament 1',tag_h2:'Encapçalament 2',tag_h3:'Encapçalament 3',tag_h4:'Encapçalament 4',tag_h5:'Encapçalament 5',tag_h6:'Encapçalament 6',tag_div:'Normal (DIV)'},div:{title:'Crea un contenidor Div',toolbar:'Crea un contenidor Div',cssClassInputLabel:"Classes de la fulla d'estils",styleSelectLabel:'Estil',IdInputLabel:'Id',languageCodeInputLabel:" Codi d'idioma",inlineStyleInputLabel:'Estil en línia',advisoryTitleInputLabel:'Títol de guia',langDirLabel:"Direcció de l'idioma",langDirLTRLabel:"D'esquerra a dreta (LTR)",langDirRTLLabel:'De dreta a esquerra (RTL)',edit:'Edita Div',remove:'Elimina Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Tipus de lletra',voiceLabel:'Tipus de lletra',panelTitle:'Tipus de lletra'},fontSize:{label:'Mida',voiceLabel:'Mida de la lletra',panelTitle:'Mida'},colorButton:{textColorTitle:'Color de Text',bgColorTitle:'Color de Fons',panelTitle:'Colors',auto:'Automàtic',more:'Més colors...'},colors:{'000':'Negre',800000:'Granat','8B4513':'Marró sella','2F4F4F':'Gris pissarra fosca','008080':'Blau xarxet','000080':'Blau marí','4B0082':'Indi',696969:'Gris intens',B22222:'Maó',A52A2A:'Marró (web)',DAA520:'Solidago','006400':'Verd fosc','40E0D0':'Turquesa','0000CD':'Atzur',800080:'Lila',808080:'Gris',F00:'Vermell',FF8C00:'Taronja fosc',FFD700:'Or','008000':'Verd','0FF':'Cian','00F':'Blau',EE82EE:'Lavanda rosat',A9A9A9:'Gris clar',FFA07A:'Salmó clar',FFA500:'Taronja',FFFF00:'Groc','00FF00':'Verd llima',AFEEEE:'Blau pàlid',ADD8E6:'Blau clar',DDA0DD:'Pruna',D3D3D3:'Gris clar',FFF0F5:'Lavanda rosat',FAEBD7:'Blanc antic',FFFFE0:'Groc clar',F0FFF0:'Verd pàlid',F0FFFF:'Blau cel pàlid',F0F8FF:'Cian pàlid',E6E6FA:'Lavanda',FFF:'Blanc'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:"Habilitat l'SCAYT",disable:'Deshabilita SCAYT',about:"Quant a l'SCAYT",toggle:"Commuta l'SCAYT",options:'Opcions',langs:'Idiomes',moreSuggestions:'Més suggerències',ignore:'Ignora',ignoreAll:"Ignora'ls tots",addWord:'Afegeix una paraula',emptyDic:"El nom del diccionari no hauria d'estar buit.",optionsTab:'Opcions',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Idiomes',dictionariesTab:'Diccionaris',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'Quant a'},about:{title:'Quan al CKEditor',dlgTitle:'Quan al CKEditor',moreInfo:'Per informació sobre llicències visiteu el web:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximitza',minimize:'Minimitza',fakeobjects:{anchor:'Àncora',flash:'Animació Flash',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Objecte desconegut'},resize:'Arrossegueu per redimensionar',colordialog:{title:'Selecciona el color',options:'Color Options',highlight:'Destacat',selected:'Seleccionat',clear:'Neteja'},toolbarCollapse:"Redueix la barra d'eines",toolbarExpand:"Amplia la barra d'eines",bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/ca.js | ca.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.ko={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'소스',newPage:'새 문서',save:'저장하기',preview:'미리보기',cut:'잘라내기',copy:'복사하기',paste:'붙여넣기',print:'인쇄하기',underline:'밑줄',bold:'진하게',italic:'이텔릭',selectAll:'전체선택',removeFormat:'포맷 지우기',strike:'취소선',subscript:'아래 첨자',superscript:'위 첨자',horizontalrule:'수평선 삽입',pagebreak:'Insert Page Break for Printing',pagebreakAlt:'Page Break',unlink:'링크 삭제',undo:'취소',redo:'재실행',common:{browseServer:'서버 보기',url:'URL',protocol:'프로토콜',upload:'업로드',uploadSubmit:'서버로 전송',image:'이미지',flash:'플래쉬',form:'폼',checkbox:'체크박스',radio:'라디오버튼',textField:'입력필드',textarea:'입력영역',hiddenField:'숨김필드',button:'버튼',select:'펼침목록',imageButton:'이미지버튼',notSet:'<설정되지 않음>',id:'ID',name:'Name',langDir:'쓰기 방향',langDirLtr:'왼쪽에서 오른쪽 (LTR)',langDirRtl:'오른쪽에서 왼쪽 (RTL)',langCode:'언어 코드',longDescr:'URL 설명',cssClass:'Stylesheet Classes',advisoryTitle:'Advisory Title',cssStyle:'Style',ok:'예',cancel:'아니오',close:'Close',preview:'Preview',generalTab:'General',advancedTab:'자세히',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'너비',height:'높이',align:'정렬',alignLeft:'왼쪽',alignRight:'오른쪽',alignCenter:'가운데',alignTop:'위',alignMiddle:'중간',alignBottom:'아래',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'특수문자 삽입',title:'특수문자 선택',options:'Special Character Options'},link:{toolbar:'링크 삽입/변경',other:'<기타>',menu:'링크 수정',title:'링크',info:'링크 정보',target:'타겟',upload:'업로드',advanced:'자세히',type:'링크 종류',toUrl:'URL',toAnchor:'책갈피',toEmail:'이메일',targetFrame:'<프레임>',targetPopup:'<팝업창>',targetFrameName:'타겟 프레임 이름',targetPopupName:'팝업창 이름',popupFeatures:'팝업창 설정',popupResizable:'Resizable',popupStatusBar:'상태바',popupLocationBar:'주소표시줄',popupToolbar:'툴바',popupMenuBar:'메뉴바',popupFullScreen:'전체화면 (IE)',popupScrollBars:'스크롤바',popupDependent:'Dependent (Netscape)',popupLeft:'왼쪽 위치',popupTop:'윗쪽 위치',id:'Id',langDir:'쓰기 방향',langDirLTR:'왼쪽에서 오른쪽 (LTR)',langDirRTL:'오른쪽에서 왼쪽 (RTL)',acccessKey:'엑세스 키',name:'Name',langCode:'쓰기 방향',tabIndex:'탭 순서',advisoryTitle:'Advisory Title',advisoryContentType:'Advisory Content Type',cssClasses:'Stylesheet Classes',charset:'Linked Resource Charset',styles:'Style',selectAnchor:'책갈피 선택',anchorName:'책갈피 이름',anchorId:'책갈피 ID',emailAddress:'이메일 주소',emailSubject:'제목',emailBody:'내용',noAnchors:'(문서에 책갈피가 없습니다.)',noUrl:'링크 URL을 입력하십시요.',noEmail:'이메일주소를 입력하십시요.'},anchor:{toolbar:'책갈피 삽입/변경',menu:'책갈피 속성',title:'책갈피 속성',name:'책갈피 이름',errorName:'책갈피 이름을 입력하십시요.'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'찾기 & 바꾸기',find:'찾기',replace:'바꾸기',findWhat:'찾을 문자열:',replaceWith:'바꿀 문자열:',notFoundMsg:'문자열을 찾을 수 없습니다.',matchCase:'대소문자 구분',matchWord:'온전한 단어',matchCyclic:'Match cyclic',replaceAll:'모두 바꾸기',replaceSuccessMsg:'%1 occurrence(s) replaced.'},table:{toolbar:'표',title:'표 설정',menu:'표 설정',deleteTable:'표 삭제',rows:'가로줄',columns:'세로줄',border:'테두리 크기',widthPx:'픽셀',widthPc:'퍼센트',widthUnit:'width unit',cellSpace:'셀 간격',cellPad:'셀 여백',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:'앞에 셀/칸 삽입',insertAfter:'뒤에 셀/칸 삽입',deleteCell:'셀 삭제',merge:'셀 합치기',mergeRight:'오른쪽 뭉치기',mergeDown:'왼쪽 뭉치기',splitHorizontal:'수평 나누기',splitVertical:'수직 나누기',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'},row:{menu:'행(Row)',insertBefore:'앞에 행 삽입',insertAfter:'뒤에 행 삽입',deleteRow:'가로줄 삭제'},column:{menu:'열(Column)',insertBefore:'앞에 열 삽입',insertAfter:'뒤에 열 삽입',deleteColumn:'세로줄 삭제'}},button:{title:'버튼 속성',text:'버튼글자(값)',type:'버튼종류',typeBtn:'Button',typeSbm:'Submit',typeRst:'Reset'},checkboxAndRadio:{checkboxTitle:'체크박스 속성',radioTitle:'라디오버튼 속성',value:'값',selected:'선택됨'},form:{title:'폼 속성',menu:'폼 속성',action:'실행경로(Action)',method:'방법(Method)',encoding:'Encoding'},select:{title:'펼침목록 속성',selectInfo:'정보',opAvail:'선택옵션',value:'값',size:'세로크기',lines:'줄',chkMulti:'여러항목 선택 허용',opText:'이름',opValue:'값',btnAdd:'추가',btnModify:'변경',btnUp:'위로',btnDown:'아래로',btnSetValue:'선택된것으로 설정',btnDelete:'삭제'},textarea:{title:'입력영역 속성',cols:'칸수',rows:'줄수'},textfield:{title:'입력필드 속성',name:'이름',value:'값',charWidth:'글자 너비',maxChars:'최대 글자수',type:'종류',typeText:'문자열',typePass:'비밀번호'},hidden:{title:'숨김필드 속성',name:'이름',value:'값'},image:{title:'이미지 설정',titleButton:'이미지버튼 속성',menu:'이미지 설정',infoTab:'이미지 정보',btnUpload:'서버로 전송',upload:'업로드',alt:'이미지 설명',lockRatio:'비율 유지',unlockRatio:'Unlock Ratio',resetSize:'원래 크기로',border:'테두리',hSpace:'수평여백',vSpace:'수직여백',alertUrl:'이미지 URL을 입력하십시요',linkTab:'링크',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.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'플래쉬 속성',propertiesTab:'Properties',title:'플래쉬 등록정보',chkPlay:'자동재생',chkLoop:'반복',chkMenu:'플래쉬메뉴 가능',chkFull:'Allow Fullscreen',scale:'영역',scaleAll:'모두보기',scaleNoBorder:'경계선없음',scaleFit:'영역자동조절',access:'Script Access',accessAlways:'Always',accessSameDomain:'Same domain',accessNever:'Never',alignAbsBottom:'줄아래(Abs Bottom)',alignAbsMiddle:'줄중간(Abs Middle)',alignBaseline:'기준선',alignTextTop:'글자상단',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'배경 색상',hSpace:'수평여백',vSpace:'수직여백',validateSrc:'링크 URL을 입력하십시요.',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'철자검사',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %s.',notInDic:'사전에 없는 단어',changeTo:'변경할 단어',btnIgnore:'건너뜀',btnIgnoreAll:'모두 건너뜀',btnReplace:'변경',btnReplaceAll:'모두 변경',btnUndo:'취소',noSuggestions:'- 추천단어 없음 -',progress:'철자검사를 진행중입니다...',noMispell:'철자검사 완료: 잘못된 철자가 없습니다.',noChanges:'철자검사 완료: 변경된 단어가 없습니다.',oneChange:'철자검사 완료: 단어가 변경되었습니다.',manyChanges:'철자검사 완료: %1 단어가 변경되었습니다.',ieSpellDownload:'철자 검사기가 철치되지 않았습니다. 지금 다운로드하시겠습니까?'},smiley:{toolbar:'아이콘',title:'아이콘 삽입',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},numberedlist:'순서있는 목록',bulletedlist:'순서없는 목록',indent:'들여쓰기',outdent:'내어쓰기',justify:{left:'왼쪽 정렬',center:'가운데 정렬',right:'오른쪽 정렬',block:'양쪽 맞춤'},blockquote:'Block Quote',clipboard:{title:'붙여넣기',cutError:'브라우저의 보안설정때문에 잘라내기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl/Cmd+X).',copyError:'브라우저의 보안설정때문에 복사하기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl/Cmd+C).',pasteMsg:'키보드의 (<STRONG>Ctrl/Cmd+V</STRONG>) 를 이용해서 상자안에 붙여넣고 <STRONG>OK</STRONG> 를 누르세요.',securityMsg:'브러우저 보안 설정으로 인해, 클립보드의 자료를 직접 접근할 수 없습니다. 이 창에 다시 붙여넣기 하십시오.',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'MS Word 형식에서 붙여넣기',title:'MS Word 형식에서 붙여넣기',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'텍스트로 붙여넣기',title:'텍스트로 붙여넣기'},templates:{button:'템플릿',title:'내용 템플릿',options:'Template Options',insertOption:'현재 내용 바꾸기',selectPromptMsg:'에디터에서 사용할 템플릿을 선택하십시요.<br>(지금까지 작성된 내용은 사라집니다.):',emptyListMsg:'(템플릿이 없습니다.)'},showBlocks:'Show Blocks',stylesCombo:{label:'스타일',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},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',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'폰트',voiceLabel:'Font',panelTitle:'폰트'},fontSize:{label:'글자 크기',voiceLabel:'Font Size',panelTitle:'글자 크기'},colorButton:{textColorTitle:'글자 색상',bgColorTitle:'배경 색상',panelTitle:'Colors',auto:'기본색상',more:'색상선택...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/ko.js | ko.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.is={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'Kóði',newPage:'Ný síða',save:'Vista',preview:'Forskoða',cut:'Klippa',copy:'Afrita',paste:'Líma',print:'Prenta',underline:'Undirstrikað',bold:'Feitletrað',italic:'Skáletrað',selectAll:'Velja allt',removeFormat:'Fjarlægja snið',strike:'Yfirstrikað',subscript:'Niðurskrifað',superscript:'Uppskrifað',horizontalrule:'Lóðrétt lína',pagebreak:'Setja inn síðuskil',pagebreakAlt:'Page Break',unlink:'Fjarlægja stiklu',undo:'Afturkalla',redo:'Hætta við afturköllun',common:{browseServer:'Fletta í skjalasafni',url:'Vefslóð',protocol:'Samskiptastaðall',upload:'Senda upp',uploadSubmit:'Hlaða upp',image:'Setja inn mynd',flash:'Flash',form:'Setja inn innsláttarform',checkbox:'Setja inn hökunarreit',radio:'Setja inn valhnapp',textField:'Setja inn textareit',textarea:'Setja inn textasvæði',hiddenField:'Setja inn falið svæði',button:'Setja inn hnapp',select:'Setja inn lista',imageButton:'Setja inn myndahnapp',notSet:'<ekkert valið>',id:'Auðkenni',name:'Nafn',langDir:'Lesstefna',langDirLtr:'Frá vinstri til hægri (LTR)',langDirRtl:'Frá hægri til vinstri (RTL)',langCode:'Tungumálakóði',longDescr:'Nánari lýsing',cssClass:'Stílsniðsflokkur',advisoryTitle:'Titill',cssStyle:'Stíll',ok:'Í lagi',cancel:'Hætta við',close:'Close',preview:'Preview',generalTab:'Almennt',advancedTab:'Tæknilegt',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Breidd',height:'Hæð',align:'Jöfnun',alignLeft:'Vinstri',alignRight:'Hægri',alignCenter:'Miðjað',alignTop:'Efst',alignMiddle:'Miðjuð',alignBottom:'Neðst',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Setja inn merki',title:'Velja tákn',options:'Special Character Options'},link:{toolbar:'Stofna/breyta stiklu',other:'<annar>',menu:'Breyta stiklu',title:'Stikla',info:'Almennt',target:'Mark',upload:'Senda upp',advanced:'Tæknilegt',type:'Stikluflokkur',toUrl:'URL',toAnchor:'Bókamerki á þessari síðu',toEmail:'Netfang',targetFrame:'<rammi>',targetPopup:'<sprettigluggi>',targetFrameName:'Nafn markglugga',targetPopupName:'Nafn sprettiglugga',popupFeatures:'Eigindi sprettiglugga',popupResizable:'Resizable',popupStatusBar:'Stöðustika',popupLocationBar:'Fanglína',popupToolbar:'Verkfærastika',popupMenuBar:'Vallína',popupFullScreen:'Heilskjár (IE)',popupScrollBars:'Skrunstikur',popupDependent:'Háð venslum (Netscape)',popupLeft:'Fjarlægð frá vinstri',popupTop:'Fjarlægð frá efri brún',id:'Id',langDir:'Lesstefna',langDirLTR:'Frá vinstri til hægri (LTR)',langDirRTL:'Frá hægri til vinstri (RTL)',acccessKey:'Skammvalshnappur',name:'Nafn',langCode:'Lesstefna',tabIndex:'Raðnúmer innsláttarreits',advisoryTitle:'Titill',advisoryContentType:'Tegund innihalds',cssClasses:'Stílsniðsflokkur',charset:'Táknróf',styles:'Stíll',selectAnchor:'Veldu akkeri',anchorName:'Eftir akkerisnafni',anchorId:'Eftir auðkenni einingar',emailAddress:'Netfang',emailSubject:'Efni',emailBody:'Meginmál',noAnchors:'<Engin bókamerki á skrá>',noUrl:'Sláðu inn veffang stiklunnar!',noEmail:'Sláðu inn netfang!'},anchor:{toolbar:'Stofna/breyta kaflamerki',menu:'Eigindi kaflamerkis',title:'Eigindi kaflamerkis',name:'Nafn bókamerkis',errorName:'Sláðu inn nafn bókamerkis!'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Finna og skipta',find:'Leita',replace:'Skipta út',findWhat:'Leita að:',replaceWith:'Skipta út fyrir:',notFoundMsg:'Leitartexti fannst ekki!',matchCase:'Gera greinarmun á¡ há¡- og lágstöfum',matchWord:'Aðeins heil orð',matchCyclic:'Match cyclic',replaceAll:'Skipta út allsstaðar',replaceSuccessMsg:'%1 occurrence(s) replaced.'},table:{toolbar:'Tafla',title:'Eigindi töflu',menu:'Eigindi töflu',deleteTable:'Fella töflu',rows:'Raðir',columns:'Dálkar',border:'Breidd ramma',widthPx:'myndeindir',widthPc:'prósent',widthUnit:'width unit',cellSpace:'Bil milli reita',cellPad:'Reitaspássía',caption:'Titill',summary:'Áfram',headers:'Fyrirsagnir',headersNone:'Engar',headersColumn:'Fyrsti dálkur',headersRow:'Fyrsta röð',headersBoth:'Hvort tveggja',invalidRows:'Number of rows must be a number greater than 0.',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:'Reitur',insertBefore:'Skjóta inn reiti fyrir aftan',insertAfter:'Skjóta inn reiti fyrir framan',deleteCell:'Fella reit',merge:'Sameina reiti',mergeRight:'Sameina til hægri',mergeDown:'Sameina niður á við',splitHorizontal:'Kljúfa reit lárétt',splitVertical:'Kljúfa reit lóðrétt',title:'Cell Properties',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'},row:{menu:'Röð',insertBefore:'Skjóta inn röð fyrir ofan',insertAfter:'Skjóta inn röð fyrir neðan',deleteRow:'Eyða röð'},column:{menu:'Dálkur',insertBefore:'Skjóta inn dálki vinstra megin',insertAfter:'Skjóta inn dálki hægra megin',deleteColumn:'Fella dálk'}},button:{title:'Eigindi hnapps',text:'Texti',type:'Gerð',typeBtn:'Hnappur',typeSbm:'Staðfesta',typeRst:'Hreinsa'},checkboxAndRadio:{checkboxTitle:'Eigindi markreits',radioTitle:'Eigindi valhnapps',value:'Gildi',selected:'Valið'},form:{title:'Eigindi innsláttarforms',menu:'Eigindi innsláttarforms',action:'Aðgerð',method:'Aðferð',encoding:'Encoding'},select:{title:'Eigindi lista',selectInfo:'Upplýsingar',opAvail:'Kostir',value:'Gildi',size:'Stærð',lines:'línur',chkMulti:'Leyfa fleiri kosti',opText:'Texti',opValue:'Gildi',btnAdd:'Bæta við',btnModify:'Breyta',btnUp:'Upp',btnDown:'Niður',btnSetValue:'Merkja sem valið',btnDelete:'Eyða'},textarea:{title:'Eigindi textasvæðis',cols:'Dálkar',rows:'Línur'},textfield:{title:'Eigindi textareits',name:'Nafn',value:'Gildi',charWidth:'Breidd (leturtákn)',maxChars:'Hámarksfjöldi leturtákna',type:'Gerð',typeText:'Texti',typePass:'Lykilorð'},hidden:{title:'Eigindi falins svæðis',name:'Nafn',value:'Gildi'},image:{title:'Eigindi myndar',titleButton:'Eigindi myndahnapps',menu:'Eigindi myndar',infoTab:'Almennt',btnUpload:'Hlaða upp',upload:'Hlaða upp',alt:'Baklægur texti',lockRatio:'Festa stærðarhlutfall',unlockRatio:'Unlock Ratio',resetSize:'Reikna stærð',border:'Rammi',hSpace:'Vinstri bil',vSpace:'Hægri bil',alertUrl:'Sláðu inn slóðina að myndinni',linkTab:'Stikla',button2Img:'Do you want to transform the selected image button on a simple image?',img2Button:'Do you want to transform the selected image on a image button?',urlMissing:'Image source URL is missing.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'Eigindi Flash',propertiesTab:'Properties',title:'Eigindi Flash',chkPlay:'Sjálfvirk spilun',chkLoop:'Endurtekning',chkMenu:'Sýna Flash-valmynd',chkFull:'Allow Fullscreen',scale:'Skali',scaleAll:'Sýna allt',scaleNoBorder:'Án ramma',scaleFit:'Fella skala að stærð',access:'Script Access',accessAlways:'Always',accessSameDomain:'Same domain',accessNever:'Never',alignAbsBottom:'Abs neðst',alignAbsMiddle:'Abs miðjuð',alignBaseline:'Grunnlína',alignTextTop:'Efri brún texta',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'Bakgrunnslitur',hSpace:'Vinstri bil',vSpace:'Hægri bil',validateSrc:'Sláðu inn veffang stiklunnar!',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'Villuleit',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %s.',notInDic:'Ekki í orðabókinni',changeTo:'Tillaga',btnIgnore:'Hunsa',btnIgnoreAll:'Hunsa allt',btnReplace:'Skipta',btnReplaceAll:'Skipta öllu',btnUndo:'Til baka',noSuggestions:'- engar tillögur -',progress:'Villuleit í gangi...',noMispell:'Villuleit lokið: Engin villa fannst',noChanges:'Villuleit lokið: Engu orði breytt',oneChange:'Villuleit lokið: Einu orði breytt',manyChanges:'Villuleit lokið: %1 orðum breytt',ieSpellDownload:'Villuleit ekki sett upp.<br>Viltu setja hana upp?'},smiley:{toolbar:'Svipur',title:'Velja svip',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},numberedlist:'Númeraður listi',bulletedlist:'Punktalisti',indent:'Minnka inndrátt',outdent:'Auka inndrátt',justify:{left:'Vinstrijöfnun',center:'Miðja texta',right:'Hægrijöfnun',block:'Jafna báðum megin'},blockquote:'Inndráttur',clipboard:{title:'Líma',cutError:'Öryggisstillingar vafrans þíns leyfa ekki klippingu texta með músaraðgerð. Notaðu lyklaborðið í klippa (Ctrl/Cmd+X).',copyError:'Öryggisstillingar vafrans þíns leyfa ekki afritun texta með músaraðgerð. Notaðu lyklaborðið í afrita (Ctrl/Cmd+C).',pasteMsg:'Límdu í svæðið hér að neðan og (<STRONG>Ctrl/Cmd+V</STRONG>) og smelltu á <STRONG>OK</STRONG>.',securityMsg:'Vegna öryggisstillinga í vafranum þínum fær ritillinn ekki beinan aðgang að klippuborðinu. Þú verður að líma innihaldið aftur inn í þennan glugga.',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'Líma úr Word',title:'Líma úr Word',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'Líma sem ósniðinn texta',title:'Líma sem ósniðinn texta'},templates:{button:'Sniðmát',title:'Innihaldssniðmát',options:'Template Options',insertOption:'Skipta út raunverulegu innihaldi',selectPromptMsg:'Veldu sniðmát til að opna í ritlinum.<br>(Núverandi innihald víkur fyrir því!):',emptyListMsg:'(Ekkert sniðmát er skilgreint!)'},showBlocks:'Sýna blokkir',stylesCombo:{label:'Stílflokkur',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},format:{label:'Stílsnið',panelTitle:'Stílsnið',tag_p:'Venjulegt letur',tag_pre:'Forsniðið',tag_address:'Vistfang',tag_h1:'Fyrirsögn 1',tag_h2:'Fyrirsögn 2',tag_h3:'Fyrirsögn 3',tag_h4:'Fyrirsögn 4',tag_h5:'Fyrirsögn 5',tag_h6:'Fyrirsögn 6',tag_div:'Venjulegt (DIV)'},div:{title:'Create Div Container',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Leturgerð ',voiceLabel:'Font',panelTitle:'Leturgerð '},fontSize:{label:'Leturstærð ',voiceLabel:'Font Size',panelTitle:'Leturstærð '},colorButton:{textColorTitle:'Litur texta',bgColorTitle:'Bakgrunnslitur',panelTitle:'Colors',auto:'Sjálfval',more:'Fleiri liti...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/is.js | is.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.de={dir:'ltr',editorTitle:'WYSIWYG-Editor, %1, drücken Sie ALT 0 für Hilfe.',toolbar:'Symbolleiste',editor:'WYSIWYG-Editor',source:'Quellcode',newPage:'Neue Seite',save:'Speichern',preview:'Vorschau',cut:'Ausschneiden',copy:'Kopieren',paste:'Einfügen',print:'Drucken',underline:'Unterstrichen',bold:'Fett',italic:'Kursiv',selectAll:'Alles auswählen',removeFormat:'Formatierungen entfernen',strike:'Durchgestrichen',subscript:'Tiefgestellt',superscript:'Hochgestellt',horizontalrule:'Horizontale Linie einfügen',pagebreak:'Seitenumbruch einfügen',pagebreakAlt:'Seitenumbruch einfügen',unlink:'Link entfernen',undo:'Rückgängig',redo:'Wiederherstellen',common:{browseServer:'Server durchsuchen',url:'URL',protocol:'Protokoll',upload:'Hochladen',uploadSubmit:'Zum Server senden',image:'Bild',flash:'Flash',form:'Formular',checkbox:'Checkbox',radio:'Radiobutton',textField:'Textfeld einzeilig',textarea:'Textfeld mehrzeilig',hiddenField:'Verstecktes Feld',button:'Klickbutton',select:'Auswahlfeld',imageButton:'Bildbutton',notSet:'<nichts>',id:'ID',name:'Name',langDir:'Schreibrichtung',langDirLtr:'Links nach Rechts (LTR)',langDirRtl:'Rechts nach Links (RTL)',langCode:'Sprachenkürzel',longDescr:'Langform URL',cssClass:'Stylesheet Klasse',advisoryTitle:'Titel Beschreibung',cssStyle:'Style',ok:'OK',cancel:'Abbrechen',close:'Schließen',preview:'Vorschau',generalTab:'Allgemein',advancedTab:'Erweitert',validateNumberFailed:'Dieser Wert ist keine Nummer.',confirmNewPage:'Alle nicht gespeicherten Änderungen gehen verlohren. Sind Sie sicher die neue Seite zu laden?',confirmCancel:'Einige Optionen wurden geändert. Wollen Sie den Dialog dennoch schließen?',options:'Optionen',target:'Zielseite',targetNew:'Neues Fenster (_blank)',targetTop:'Oberstes Fenster (_top)',targetSelf:'Gleiches Fenster (_self)',targetParent:'Oberes Fenster (_parent)',langDirLTR:'Links nach Rechts (LNR)',langDirRTL:'Rechts nach Links (RNL)',styles:'Style',cssClasses:'Stylesheet Klasse',width:'Breite',height:'Höhe',align:'Ausrichtung',alignLeft:'Links',alignRight:'Rechts',alignCenter:'Zentriert',alignTop:'Oben',alignMiddle:'Mitte',alignBottom:'Unten',invalidHeight:'Höhe muss eine Zahl sein.',invalidWidth:'Breite muss eine Zahl sein.',unavailable:'%1<span class="cke_accessibility">, nicht verfügbar</span>'},contextmenu:{options:'Kontextmenü Optionen'},specialChar:{toolbar:'Sonderzeichen einfügen/editieren',title:'Sonderzeichen auswählen',options:'Sonderzeichen Optionen'},link:{toolbar:'Link einfügen/editieren',other:'<andere>',menu:'Link editieren',title:'Link',info:'Link-Info',target:'Zielseite',upload:'Hochladen',advanced:'Erweitert',type:'Link-Typ',toUrl:'URL',toAnchor:'Anker in dieser Seite',toEmail:'E-Mail',targetFrame:'<Frame>',targetPopup:'<Pop-up Fenster>',targetFrameName:'Ziel-Fenster-Name',targetPopupName:'Pop-up Fenster-Name',popupFeatures:'Pop-up Fenster-Eigenschaften',popupResizable:'Größe änderbar',popupStatusBar:'Statusleiste',popupLocationBar:'Adress-Leiste',popupToolbar:'Werkzeugleiste',popupMenuBar:'Menü-Leiste',popupFullScreen:'Vollbild (IE)',popupScrollBars:'Rollbalken',popupDependent:'Abhängig (Netscape)',popupLeft:'Linke Position',popupTop:'Obere Position',id:'Id',langDir:'Schreibrichtung',langDirLTR:'Links nach Rechts (LTR)',langDirRTL:'Rechts nach Links (RTL)',acccessKey:'Zugriffstaste',name:'Name',langCode:'Sprachenkürzel',tabIndex:'Tab-Index',advisoryTitle:'Titel Beschreibung',advisoryContentType:'Inhaltstyp',cssClasses:'Stylesheet Klasse',charset:'Ziel-Zeichensatz',styles:'Style',selectAnchor:'Anker auswählen',anchorName:'nach Anker Name',anchorId:'nach Element Id',emailAddress:'E-Mail Addresse',emailSubject:'Betreffzeile',emailBody:'Nachrichtentext',noAnchors:'(keine Anker im Dokument vorhanden)',noUrl:'Bitte geben Sie die Link-URL an',noEmail:'Bitte geben Sie e-Mail Adresse an'},anchor:{toolbar:'Anker einfügen/editieren',menu:'Anker-Eigenschaften',title:'Anker-Eigenschaften',name:'Anker Name',errorName:'Bitte geben Sie den Namen des Ankers ein'},list:{numberedTitle:'Nummerierte Listen-Eigenschaften',bulletedTitle:'Listen-Eigenschaften',type:'Typ',start:'Start',validateStartNumber:'List Startnummer muss eine ganze Zahl sein.',circle:'Ring',disc:'Kreis',square:'Quadrat',none:'Keine',notset:'<nicht gesetzt>',armenian:'Armenisch Nummerierung',georgian:'Georgisch Nummerierung (an, ban, gan, etc.)',lowerRoman:'Klein römisch (i, ii, iii, iv, v, etc.)',upperRoman:'Groß römisch (I, II, III, IV, V, etc.)',lowerAlpha:'Klein alpha (a, b, c, d, e, etc.)',upperAlpha:'Groß alpha (A, B, C, D, E, etc.)',lowerGreek:'Klein griechisch (alpha, beta, gamma, etc.)',decimal:'Dezimal (1, 2, 3, etc.)',decimalLeadingZero:'Dezimal mit führende Null (01, 02, 03, etc.)'},findAndReplace:{title:'Suchen und Ersetzen',find:'Suchen',replace:'Ersetzen',findWhat:'Suche nach:',replaceWith:'Ersetze mit:',notFoundMsg:'Der gesuchte Text wurde nicht gefunden.',matchCase:'Groß-Kleinschreibung beachten',matchWord:'Nur ganze Worte suchen',matchCyclic:'Zyklische Suche',replaceAll:'Alle ersetzen',replaceSuccessMsg:'%1 vorkommen ersetzt.'},table:{toolbar:'Tabelle',title:'Tabellen-Eigenschaften',menu:'Tabellen-Eigenschaften',deleteTable:'Tabelle löschen',rows:'Zeile',columns:'Spalte',border:'Rahmen',widthPx:'Pixel',widthPc:'%',widthUnit:'Breite Einheit',cellSpace:'Zellenabstand außen',cellPad:'Zellenabstand innen',caption:'Überschrift',summary:'Inhaltsübersicht',headers:'Kopfzeile',headersNone:'Keine',headersColumn:'Erste Spalte',headersRow:'Erste Zeile',headersBoth:'Beide',invalidRows:'Die Anzahl der Zeilen muß größer als 0 sein.',invalidCols:'Die Anzahl der Spalten muß größer als 0 sein..',invalidBorder:'Die Rahmenbreite muß eine Zahl sein.',invalidWidth:'Die Tabellenbreite muss eine Zahl sein.',invalidHeight:'Die Tabellenbreite muß eine Zahl sein.',invalidCellSpacing:'Der Zellenabstand außen muß eine Zahl sein.',invalidCellPadding:'Der Zellenabstand innen muß eine Zahl sein.',cell:{menu:'Zelle',insertBefore:'Zelle davor einfügen',insertAfter:'Zelle danach einfügen',deleteCell:'Zelle löschen',merge:'Zellen verbinden',mergeRight:'Nach rechts verbinden',mergeDown:'Nach unten verbinden',splitHorizontal:'Zelle horizontal teilen',splitVertical:'Zelle vertikal teilen',title:'Zellen Eigenschaften',cellType:'Zellart',rowSpan:'Anzahl Zeilen verbinden',colSpan:'Anzahl Spalten verbinden',wordWrap:'Zeilenumbruch',hAlign:'Horizontale Ausrichtung',vAlign:'Vertikale Ausrichtung',alignBaseline:'Grundlinie',bgColor:'Hintergrundfarbe',borderColor:'Rahmenfarbe',data:'Daten',header:'Überschrift',yes:'Ja',no:'Nein',invalidWidth:'Zellenbreite muß eine Zahl sein.',invalidHeight:'Zellenhöhe muß eine Zahl sein.',invalidRowSpan:'"Anzahl Zeilen verbinden" muss eine Ganzzahl sein.',invalidColSpan:'"Anzahl Spalten verbinden" muss eine Ganzzahl sein.',chooseColor:'Wählen'},row:{menu:'Zeile',insertBefore:'Zeile oberhalb einfügen',insertAfter:'Zeile unterhalb einfügen',deleteRow:'Zeile entfernen'},column:{menu:'Spalte',insertBefore:'Spalte links davor einfügen',insertAfter:'Spalte rechts danach einfügen',deleteColumn:'Spalte löschen'}},button:{title:'Button-Eigenschaften',text:'Text (Wert)',type:'Typ',typeBtn:'Button',typeSbm:'Absenden',typeRst:'Zurücksetzen'},checkboxAndRadio:{checkboxTitle:'Checkbox-Eigenschaften',radioTitle:'Optionsfeld-Eigenschaften',value:'Wert',selected:'ausgewählt'},form:{title:'Formular-Eigenschaften',menu:'Formular-Eigenschaften',action:'Action',method:'Method',encoding:'Zeichenkodierung'},select:{title:'Auswahlfeld-Eigenschaften',selectInfo:'Info',opAvail:'Mögliche Optionen',value:'Wert',size:'Größe',lines:'Linien',chkMulti:'Erlaube Mehrfachauswahl',opText:'Text',opValue:'Wert',btnAdd:'Hinzufügen',btnModify:'Ändern',btnUp:'Hoch',btnDown:'Runter',btnSetValue:'Setze als Standardwert',btnDelete:'Entfernen'},textarea:{title:'Textfeld (mehrzeilig) Eigenschaften',cols:'Spalten',rows:'Reihen'},textfield:{title:'Textfeld (einzeilig) Eigenschaften',name:'Name',value:'Wert',charWidth:'Zeichenbreite',maxChars:'Max. Zeichen',type:'Typ',typeText:'Text',typePass:'Passwort'},hidden:{title:'Verstecktes Feld-Eigenschaften',name:'Name',value:'Wert'},image:{title:'Bild-Eigenschaften',titleButton:'Bildbutton-Eigenschaften',menu:'Bild-Eigenschaften',infoTab:'Bild-Info',btnUpload:'Zum Server senden',upload:'Hochladen',alt:'Alternativer Text',lockRatio:'Größenverhältnis beibehalten',unlockRatio:'Ratio freischalten',resetSize:'Größe zurücksetzen',border:'Rahmen',hSpace:'Horizontal-Abstand',vSpace:'Vertikal-Abstand',alertUrl:'Bitte geben Sie die Bild-URL an',linkTab:'Link',button2Img:'Möchten Sie den gewählten Bild-Button in ein einfaches Bild umwandeln?',img2Button:'Möchten Sie das gewählten Bild in einen Bild-Button umwandeln?',urlMissing:'Imagequelle URL fehlt.',validateBorder:'Rahmen muß eine ganze Zahl sein.',validateHSpace:'Horizontal-Abstand muß eine ganze Zahl sein.',validateVSpace:'Vertikal-Abstand muß eine ganze Zahl sein.'},flash:{properties:'Flash-Eigenschaften',propertiesTab:'Eigenschaften',title:'Flash-Eigenschaften',chkPlay:'Automatisch Abspielen',chkLoop:'Endlosschleife',chkMenu:'Flash-Menü aktivieren',chkFull:'Vollbildmodus erlauben',scale:'Skalierung',scaleAll:'Alles anzeigen',scaleNoBorder:'Ohne Rand',scaleFit:'Passgenau',access:'Skript Zugang',accessAlways:'Immer',accessSameDomain:'Gleiche Domain',accessNever:'Nie',alignAbsBottom:'Abs Unten',alignAbsMiddle:'Abs Mitte',alignBaseline:'Baseline',alignTextTop:'Text Oben',quality:'Qualität',qualityBest:'Beste',qualityHigh:'Hoch',qualityAutoHigh:'Auto Hoch',qualityMedium:'Medium',qualityAutoLow:'Auto Niedrig',qualityLow:'Niedrig',windowModeWindow:'Fenster',windowModeOpaque:'Deckend',windowModeTransparent:'Transparent',windowMode:'Fenster Modus',flashvars:'Variablen für Flash',bgcolor:'Hintergrundfarbe',hSpace:'Horizontal-Abstand',vSpace:'Vertikal-Abstand',validateSrc:'Bitte geben Sie die Link-URL an',validateHSpace:'HSpace muss eine Zahl sein.',validateVSpace:'VSpace muss eine Zahl sein.'},spellCheck:{toolbar:'Rechtschreibprüfung',title:'Rechtschreibprüfung',notAvailable:'Entschuldigung, aber dieser Dienst steht im Moment nicht zur Verfügung.',errorLoading:'Fehler beim laden des Dienstanbieters: %s.',notInDic:'Nicht im Wörterbuch',changeTo:'Ändern in',btnIgnore:'Ignorieren',btnIgnoreAll:'Alle Ignorieren',btnReplace:'Ersetzen',btnReplaceAll:'Alle Ersetzen',btnUndo:'Rückgängig',noSuggestions:' - keine Vorschläge - ',progress:'Rechtschreibprüfung läuft...',noMispell:'Rechtschreibprüfung abgeschlossen - keine Fehler gefunden',noChanges:'Rechtschreibprüfung abgeschlossen - keine Worte geändert',oneChange:'Rechtschreibprüfung abgeschlossen - ein Wort geändert',manyChanges:'Rechtschreibprüfung abgeschlossen - %1 Wörter geändert',ieSpellDownload:'Rechtschreibprüfung nicht installiert. Möchten Sie sie jetzt herunterladen?'},smiley:{toolbar:'Smiley',title:'Smiley auswählen',options:'Smiley Optionen'},elementsPath:{eleLabel:'Elements Pfad',eleTitle:'%1 Element'},numberedlist:'Nummerierte Liste',bulletedlist:'Liste',indent:'Einzug erhöhen',outdent:'Einzug verringern',justify:{left:'Linksbündig',center:'Zentriert',right:'Rechtsbündig',block:'Blocksatz'},blockquote:'Zitatblock',clipboard:{title:'Einfügen',cutError:'Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch auszuschneiden. Bitte benutzen Sie die System-Zwischenablage über STRG-X (ausschneiden) und STRG-V (einfügen).',copyError:'Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch kopieren. Bitte benutzen Sie die System-Zwischenablage über STRG-C (kopieren).',pasteMsg:'Bitte fügen Sie den Text in der folgenden Box über die Tastatur (mit <STRONG>Strg+V</STRONG>) ein und bestätigen Sie mit <STRONG>OK</STRONG>.',securityMsg:'Aufgrund von Sicherheitsbeschränkungen Ihres Browsers kann der Editor nicht direkt auf die Zwischenablage zugreifen. Bitte fügen Sie den Inhalt erneut in diesem Fenster ein.',pasteArea:'Einfügebereich'},pastefromword:{confirmCleanup:'Der Text, den Sie einfügen möchten, scheint aus MS-Word kopiert zu sein. Möchten Sie ihn zuvor bereinigen lassen?',toolbar:'Aus MS-Word einfügen',title:'Aus MS-Word einfügen',error:'Aufgrund eines internen Fehlers war es nicht möglich die eingefügten Daten zu bereinigen'},pasteText:{button:'Als Text einfügen',title:'Als Text einfügen'},templates:{button:'Vorlagen',title:'Vorlagen',options:'Vorlagen Optionen',insertOption:'Aktuellen Inhalt ersetzen',selectPromptMsg:'Klicken Sie auf eine Vorlage, um sie im Editor zu öffnen (der aktuelle Inhalt wird dabei gelöscht!):',emptyListMsg:'(keine Vorlagen definiert)'},showBlocks:'Blöcke anzeigen',stylesCombo:{label:'Stil',panelTitle:'Formatierungenstil',panelTitle1:'Block Stilart',panelTitle2:'Inline Stilart',panelTitle3:'Objekt Stilart'},format:{label:'Format',panelTitle:'Format',tag_p:'Normal',tag_pre:'Formatiert',tag_address:'Addresse',tag_h1:'Überschrift 1',tag_h2:'Überschrift 2',tag_h3:'Überschrift 3',tag_h4:'Überschrift 4',tag_h5:'Überschrift 5',tag_h6:'Überschrift 6',tag_div:'Normal (DIV)'},div:{title:'Div Container erzeugen',toolbar:'Div Container erzeugen',cssClassInputLabel:'Stylesheet Klasse',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:'Sprachenkürzel',inlineStyleInputLabel:'Inline Stil',advisoryTitleInputLabel:'Tooltip',langDirLabel:'Sprache Richtung',langDirLTRLabel:'Links nach Rechs (LTR)',langDirRTLLabel:'Rechs nach Links (RTL)',edit:'Div bearbeiten',remove:'Div entfernen'},iframe:{title:'IFrame-Eigenschaften',toolbar:'IFrame',noUrl:'Bitte geben Sie die IFrame-URL an',scrolling:'Rollbalken anzeigen',border:'Rahmen anzeigen'},font:{label:'Schriftart',voiceLabel:'Schriftart',panelTitle:'Schriftart'},fontSize:{label:'Größe',voiceLabel:'Schrifgröße',panelTitle:'Größe'},colorButton:{textColorTitle:'Textfarbe',bgColorTitle:'Hintergrundfarbe',panelTitle:'Farben',auto:'Automatisch',more:'Weitere Farben...'},colors:{'000':'Schwarz',800000:'Kastanienbraun','8B4513':'Braun','2F4F4F':'Dunkles Schiefergrau','008080':'Blaugrün','000080':'Navy','4B0082':'Indigo',696969:'Dunkelgrau',B22222:'Ziegelrot',A52A2A:'Braun',DAA520:'Goldgelb','006400':'Dunkelgrün','40E0D0':'Türkis','0000CD':'Medium Blau',800080:'Lila',808080:'Grau',F00:'Rot',FF8C00:'Dunkelorange',FFD700:'Gold','008000':'Grün','0FF':'Cyan','00F':'Blau',EE82EE:'Hellviolett',A9A9A9:'Dunkelgrau',FFA07A:'Helles Lachsrosa',FFA500:'Orange',FFFF00:'Gelb','00FF00':'Lime',AFEEEE:'Blaß-Türkis',ADD8E6:'Hellblau',DDA0DD:'Pflaumenblau',D3D3D3:'Hellgrau',FFF0F5:'Lavendel',FAEBD7:'Antik Weiß',FFFFE0:'Hellgelb',F0FFF0:'Honigtau',F0FFFF:'Azurblau',F0F8FF:'Alice Blau',E6E6FA:'Lavendel',FFF:'Weiß'},scayt:{title:'Rechtschreibprüfung während der Texteingabe (SCAYT)',opera_title:'Nicht von Opera unterstützt',enable:'SCAYT einschalten',disable:'SCAYT ausschalten',about:'Über SCAYT',toggle:'SCAYT umschalten',options:'Optionen',langs:'Sprachen',moreSuggestions:'Mehr Vorschläge',ignore:'Ignorieren',ignoreAll:'Alle ignorieren',addWord:'Wort hinzufügen',emptyDic:'Wörterbuchname sollte leer sein.',optionsTab:'Optionen',allCaps:'Groß geschriebenen Wörter ignorieren',ignoreDomainNames:'Domain-Namen ignorieren',mixedCase:'Wörter mit gemischte Setzkasten ignorieren',mixedWithDigits:'Wörter mit Zahlen ignorieren',languagesTab:'Sprachen',dictionariesTab:'Wörterbücher',dic_field_name:'Wörterbuchname',dic_create:'Erzeugen',dic_restore:'Wiederherstellen',dic_delete:'Löschen',dic_rename:'Umbenennen',dic_info:'Anfangs wird das Benutzerwörterbuch in einem Cookie gespeichert. Allerdings sind Cookies in der Größe begrenzt. Wenn das Benutzerwörterbuch bis zu einem Punkt wächst, wo es nicht mehr in einem Cookie gespeichert werden kann, wird das Benutzerwörterbuch auf dem Server gespeichert. Um Ihr persönliches Wörterbuch auf dem Server zu speichern, müssen Sie einen Namen für das Wörterbuch angeben. Falls Sie schon ein gespeicherte Wörterbuch haben, geben Sie bitte dessen Namen ein und klicken Sie auf die Schaltfläche Wiederherstellen.',aboutTab:'Über'},about:{title:'Über CKEditor',dlgTitle:'Über CKEditor',moreInfo:'Für Informationen über unsere Lizenzbestimmungen besuchen sie bitte unsere Webseite:',copy:'Copyright © $1. Alle Rechte vorbehalten.'},maximize:'Maximieren',minimize:'Minimieren',fakeobjects:{anchor:'Anker',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Verstecktes Feld',unknown:'Unbekanntes Objekt'},resize:'Zum Vergrößern ziehen',colordialog:{title:'Farbe wählen',options:'Farbeoptionen',highlight:'Hervorheben',selected:'Ausgewählte Farbe',clear:'Entfernen'},toolbarCollapse:'Symbolleiste einklappen',toolbarExpand:'Symbolleiste ausklappen',bidi:{ltr:'Leserichtung von Links nach Rechts',rtl:'Leserichtung von Rechts nach Links'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/de.js | de.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.eo={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'Fonto',newPage:'Nova Paĝo',save:'Sekurigi',preview:'Vidigi Aspekton',cut:'Eltondi',copy:'Kopii',paste:'Interglui',print:'Presi',underline:'Substreko',bold:'Grasa',italic:'Kursiva',selectAll:'Elekti ĉion',removeFormat:'Forigi Formaton',strike:'Trastreko',subscript:'Subskribo',superscript:'Superskribo',horizontalrule:'Enmeti Horizonta Linio',pagebreak:'Insert Page Break for Printing',pagebreakAlt:'Page Break',unlink:'Forigi Ligilon',undo:'Malfari',redo:'Refari',common:{browseServer:'Foliumi en la Servilo',url:'URL',protocol:'Protokolo',upload:'Alŝuti',uploadSubmit:'Sendu al Servilo',image:'Bildo',flash:'Flash',form:'Formularo',checkbox:'Markobutono',radio:'Radiobutono',textField:'Teksta kampo',textarea:'Teksta Areo',hiddenField:'Kaŝita Kampo',button:'Butono',select:'Elekta Kampo',imageButton:'Bildbutono',notSet:'<Defaŭlta>',id:'Id',name:'Nomo',langDir:'Skribdirekto',langDirLtr:'De maldekstro dekstren (LTR)',langDirRtl:'De dekstro maldekstren (RTL)',langCode:'Lingva Kodo',longDescr:'URL de Longa Priskribo',cssClass:'Klasoj de Stilfolioj',advisoryTitle:'Indika Titolo',cssStyle:'Stilo',ok:'Akcepti',cancel:'Rezigni',close:'Close',preview:'Preview',generalTab:'General',advancedTab:'Speciala',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Larĝo',height:'Alto',align:'Ĝisrandigo',alignLeft:'Maldekstre',alignRight:'Dekstre',alignCenter:'Centre',alignTop:'Supre',alignMiddle:'Centre',alignBottom:'Malsupre',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Enmeti Specialan Signon',title:'Enmeti Specialan Signon',options:'Special Character Options'},link:{toolbar:'Enmeti/Ŝanĝi Ligilon',other:'<other>',menu:'Modifier Ligilon',title:'Ligilo',info:'Informoj pri la Ligilo',target:'Celo',upload:'Alŝuti',advanced:'Speciala',type:'Tipo de Ligilo',toUrl:'URL',toAnchor:'Ankri en tiu ĉi paĝo',toEmail:'Retpoŝto',targetFrame:'<kadro>',targetPopup:'<ŝprucfenestro>',targetFrameName:'Nomo de Kadro',targetPopupName:'Nomo de Ŝprucfenestro',popupFeatures:'Atributoj de la Ŝprucfenestro',popupResizable:'Resizable',popupStatusBar:'Statobreto',popupLocationBar:'Adresobreto',popupToolbar:'Ilobreto',popupMenuBar:'Menubreto',popupFullScreen:'Tutekrane (IE)',popupScrollBars:'Rulumlisteloj',popupDependent:'Dependa (Netscape)',popupLeft:'Pozicio de Maldekstro',popupTop:'Pozicio de Supro',id:'Id',langDir:'Skribdirekto',langDirLTR:'De maldekstro dekstren (LTR)',langDirRTL:'De dekstro maldekstren (RTL)',acccessKey:'Fulmoklavo',name:'Nomo',langCode:'Skribdirekto',tabIndex:'Taba Ordo',advisoryTitle:'Indika Titolo',advisoryContentType:'Indika Enhavotipo',cssClasses:'Klasoj de Stilfolioj',charset:'Signaro de la Ligita Rimedo',styles:'Stilo',selectAnchor:'Elekti Ankron',anchorName:'Per Ankronomo',anchorId:'Per Elementidentigilo',emailAddress:'Retadreso',emailSubject:'Temlinio',emailBody:'Mesaĝa korpo',noAnchors:'<Ne disponeblas ankroj en la dokumento>',noUrl:'Bonvolu entajpi la URL-on',noEmail:'Bonvolu entajpi la retadreson'},anchor:{toolbar:'Enmeti/Ŝanĝi Ankron',menu:'Ankraj Atributoj',title:'Ankraj Atributoj',name:'Ankra Nomo',errorName:'Bv tajpi la ankran nomon'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Find and Replace',find:'Serĉi',replace:'Anstataŭigi',findWhat:'Serĉi:',replaceWith:'Anstataŭigi per:',notFoundMsg:'La celteksto ne estas trovita.',matchCase:'Kongruigi Usklecon',matchWord:'Tuta Vorto',matchCyclic:'Match cyclic',replaceAll:'Anstataŭigi Ĉiun',replaceSuccessMsg:'%1 occurrence(s) replaced.'},table:{toolbar:'Tabelo',title:'Atributoj de Tabelo',menu:'Atributoj de Tabelo',deleteTable:'Delete Table',rows:'Linioj',columns:'Kolumnoj',border:'Bordero',widthPx:'Bitbilderoj',widthPc:'elcentoj',widthUnit:'width unit',cellSpace:'Interspacigo de Ĉeloj',cellPad:'Ĉirkaŭenhava Plenigado',caption:'Titolo',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:'Forigi Ĉelojn',merge:'Kunfandi Ĉelojn',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'},row:{menu:'Row',insertBefore:'Insert Row Before',insertAfter:'Insert Row After',deleteRow:'Forigi Liniojn'},column:{menu:'Column',insertBefore:'Insert Column Before',insertAfter:'Insert Column After',deleteColumn:'Forigi Kolumnojn'}},button:{title:'Butonaj Atributoj',text:'Teksto (Valoro)',type:'Tipo',typeBtn:'Button',typeSbm:'Submit',typeRst:'Reset'},checkboxAndRadio:{checkboxTitle:'Markobutonaj Atributoj',radioTitle:'Radiobutonaj Atributoj',value:'Valoro',selected:'Elektita'},form:{title:'Formularaj Atributoj',menu:'Formularaj Atributoj',action:'Ago',method:'Metodo',encoding:'Encoding'},select:{title:'Atributoj de Elekta Kampo',selectInfo:'Select Info',opAvail:'Elektoj Disponeblaj',value:'Valoro',size:'Grando',lines:'Linioj',chkMulti:'Permesi Plurajn Elektojn',opText:'Teksto',opValue:'Valoro',btnAdd:'Aldoni',btnModify:'Modifi',btnUp:'Supren',btnDown:'Malsupren',btnSetValue:'Agordi kiel Elektitan Valoron',btnDelete:'Forigi'},textarea:{title:'Atributoj de Teksta Areo',cols:'Kolumnoj',rows:'Vicoj'},textfield:{title:'Atributoj de Teksta Kampo',name:'Nomo',value:'Valoro',charWidth:'Signolarĝo',maxChars:'Maksimuma Nombro da Signoj',type:'Tipo',typeText:'Teksto',typePass:'Pasvorto'},hidden:{title:'Atributoj de Kaŝita Kampo',name:'Nomo',value:'Valoro'},image:{title:'Atributoj de Bildo',titleButton:'Bildbutonaj Atributoj',menu:'Atributoj de Bildo',infoTab:'Informoj pri Bildo',btnUpload:'Sendu al Servilo',upload:'Alŝuti',alt:'Anstataŭiga Teksto',lockRatio:'Konservi Proporcion',unlockRatio:'Unlock Ratio',resetSize:'Origina Grando',border:'Bordero',hSpace:'HSpaco',vSpace:'VSpaco',alertUrl:'Bonvolu tajpi la URL de la bildo',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.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},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 Malsupre',alignAbsMiddle:'Abs Centre',alignBaseline:'Je Malsupro de Teksto',alignTextTop:'Je Supro de Teksto',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'Fona Koloro',hSpace:'HSpaco',vSpace:'VSpaco',validateSrc:'Bonvolu entajpi la URL-on',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'Literumada Kontrolilo',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %s.',notInDic:'Ne trovita en la vortaro',changeTo:'Ŝanĝi al',btnIgnore:'Malatenti',btnIgnoreAll:'Malatenti Ĉiun',btnReplace:'Anstataŭigi',btnReplaceAll:'Anstataŭigi Ĉiun',btnUndo:'Malfari',noSuggestions:'- Neniu propono -',progress:'Literumkontrolado daŭras...',noMispell:'Literumkontrolado finita: neniu fuŝo trovita',noChanges:'Literumkontrolado finita: neniu vorto ŝanĝita',oneChange:'Literumkontrolado finita: unu vorto ŝanĝita',manyChanges:'Literumkontrolado finita: %1 vortoj ŝanĝitaj',ieSpellDownload:'Literumada Kontrolilo ne instalita. Ĉu vi volas elŝuti ĝin nun?'},smiley:{toolbar:'Mienvinjeto',title:'Enmeti Mienvinjeton',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},numberedlist:'Numera Listo',bulletedlist:'Bula Listo',indent:'Pligrandigi Krommarĝenon',outdent:'Malpligrandigi Krommarĝenon',justify:{left:'Maldekstrigi',center:'Centrigi',right:'Dekstrigi',block:'Ĝisrandigi Ambaŭflanke'},blockquote:'Block Quote',clipboard:{title:'Interglui',cutError:'La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras eltondajn operaciojn. Bonvolu uzi la klavaron por tio (Ctrl/Cmd-X).',copyError:'La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras kopiajn operaciojn. Bonvolu uzi la klavaron por tio (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'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'Interglui el Word',title:'Interglui el Word',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'Interglui kiel Tekston',title:'Interglui kiel Tekston'},templates:{button:'Templates',title:'Content Templates',options:'Template Options',insertOption:'Replace actual contents',selectPromptMsg:'Please select the template to open in the editor',emptyListMsg:'(No templates defined)'},showBlocks:'Show Blocks',stylesCombo:{label:'Stilo',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},format:{label:'Formato',panelTitle:'Formato',tag_p:'Normala',tag_pre:'Formatita',tag_address:'Adreso',tag_h1:'Titolo 1',tag_h2:'Titolo 2',tag_h3:'Titolo 3',tag_h4:'Titolo 4',tag_h5:'Titolo 5',tag_h6:'Titolo 6',tag_div:'Paragrafo (DIV)'},div:{title:'Create Div Container',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Tiparo',voiceLabel:'Font',panelTitle:'Tiparo'},fontSize:{label:'Grando',voiceLabel:'Font Size',panelTitle:'Grando'},colorButton:{textColorTitle:'Teksta Koloro',bgColorTitle:'Fona Koloro',panelTitle:'Colors',auto:'Aŭtomata',more:'Pli da Koloroj...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/eo.js | eo.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.et={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'Lähtekood',newPage:'Uus leht',save:'Salvesta',preview:'Eelvaade',cut:'Lõika',copy:'Kopeeri',paste:'Kleebi',print:'Prindi',underline:'Allajoonitud',bold:'Paks',italic:'Kursiiv',selectAll:'Vali kõik',removeFormat:'Eemalda vorming',strike:'Läbijoonitud',subscript:'Allindeks',superscript:'Ülaindeks',horizontalrule:'Sisesta horisontaaljoon',pagebreak:'Sisesta lehevahetuskoht',pagebreakAlt:'Page Break',unlink:'Eemalda link',undo:'Võta tagasi',redo:'Korda toimingut',common:{browseServer:'Sirvi serverit',url:'URL',protocol:'Protokoll',upload:'Lae üles',uploadSubmit:'Saada serverissee',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:'Juhendav tiitel',cssStyle:'Laad',ok:'OK',cancel:'Loobu',close:'Close',preview:'Preview',generalTab:'General',advancedTab:'Täpsemalt',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Laius',height:'Kõrgus',align:'Joondus',alignLeft:'Vasak',alignRight:'Paremale',alignCenter:'Kesk',alignTop:'Üles',alignMiddle:'Keskele',alignBottom:'Alla',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Sisesta erimärk',title:'Vali erimärk',options:'Special Character Options'},link:{toolbar:'Sisesta link / Muuda linki',other:'<muu>',menu:'Muuda linki',title:'Link',info:'Lingi info',target:'Sihtkoht',upload:'Lae üles',advanced:'Täpsemalt',type:'Lingi tüüp',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:'Resizable',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 ressurssi märgistik',styles:'Laad',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 ei ole ankruid)',noUrl:'Palun kirjuta lingi URL',noEmail:'Palun kirjuta E-Posti aadress'},anchor:{toolbar:'Sisesta ankur / Muuda ankrut',menu:'Ankru omadused',title:'Ankru omadused',name:'Ankru nimi',errorName:'Palun sisest ankru nimi'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Otsi ja asenda',find:'Otsi',replace:'Asenda',findWhat:'Leia mida:',replaceWith:'Asenda millega:',notFoundMsg:'Valitud teksti ei leitud.',matchCase:'Erista suur- ja väiketähti',matchWord:'Otsi terviklike sõnu',matchCyclic:'Match cyclic',replaceAll:'Asenda kõik',replaceSuccessMsg:'%1 occurrence(s) replaced.'},table:{toolbar:'Tabel',title:'Tabeli atribuudid',menu:'Tabeli atribuudid',deleteTable:'Kustuta tabel',rows:'Read',columns:'Veerud',border:'Joone suurus',widthPx:'pikslit',widthPc:'protsenti',widthUnit:'width unit',cellSpace:'Lahtri vahe',cellPad:'Lahtri täidis',caption:'Tabeli tiitel',summary:'Kokkuvõte',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:'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:'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'},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:{title:'Nupu omadused',text:'Tekst (väärtus)',type:'Tüüp',typeBtn:'Nupp',typeSbm:'Saada',typeRst:'Lähtesta'},checkboxAndRadio:{checkboxTitle:'Märkeruudu omadused',radioTitle:'Raadionupu omadused',value:'Väärtus',selected:'Valitud'},form:{title:'Vormi omadused',menu:'Vormi omadused',action:'Toiming',method:'Meetod',encoding:'Encoding'},select:{title:'Valiklahtri omadused',selectInfo:'Info',opAvail:'Võimalikud valikud',value:'Väärtus',size:'Suurus',lines:'ridu',chkMulti:'Võimalda mitu valikut',opText:'Tekst',opValue:'Väärtus',btnAdd:'Lisa',btnModify:'Muuda',btnUp:'Üles',btnDown:'Alla',btnSetValue:'Sea valitud olekuna',btnDelete:'Kustuta'},textarea:{title:'Tekstiala omadused',cols:'Veerge',rows:'Ridu'},textfield:{title:'Tekstilahtri omadused',name:'Nimi',value:'Väärtus',charWidth:'Laius (tähemärkides)',maxChars:'Maksimaalselt tähemärke',type:'Tüüp',typeText:'Tekst',typePass:'Parool'},hidden:{title:'Varjatud lahtri omadused',name:'Nimi',value:'Väärtus'},image:{title:'Pildi atribuudid',titleButton:'Piltnupu omadused',menu:'Pildi atribuudid',infoTab:'Pildi info',btnUpload:'Saada serverissee',upload:'Lae üles',alt:'Alternatiivne tekst',lockRatio:'Lukusta kuvasuhe',unlockRatio:'Unlock Ratio',resetSize:'Lähtesta suurus',border:'Joon',hSpace:'H. vaheruum',vSpace:'V. vaheruum',alertUrl:'Palun kirjuta pildi 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.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'Flash omadused',propertiesTab:'Properties',title:'Flash omadused',chkPlay:'Automaatne start ',chkLoop:'Korduv',chkMenu:'Võimalda flash menüü',chkFull:'Allow Fullscreen',scale:'Mastaap',scaleAll:'Näita kõike',scaleNoBorder:'Äärist ei ole',scaleFit:'Täpne sobivus',access:'Script Access',accessAlways:'Always',accessSameDomain:'Same domain',accessNever:'Never',alignAbsBottom:'Abs alla',alignAbsMiddle:'Abs keskele',alignBaseline:'Baasjoonele',alignTextTop:'Tekstit üles',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'Tausta värv',hSpace:'H. vaheruum',vSpace:'V. vaheruum',validateSrc:'Palun kirjuta lingi URL',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'Kontrolli õigekirja',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %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 installeeritud. Soovid sa selle alla laadida?'},smiley:{toolbar:'Emotikon',title:'Sisesta emotikon',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},numberedlist:'Nummerdatud loetelu',bulletedlist:'Punktiseeritud loetelu',indent:'Suurenda taanet',outdent:'Vähenda taanet',justify:{left:'Vasakjoondus',center:'Keskjoondus',right:'Paremjoondus',block:'Rööpjoondus'},blockquote:'Blokktsitaat',clipboard:{title:'Kleebi',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 kleebi 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 kleepima need uuesti siia aknasse.',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'Kleebi Wordist',title:'Kleebi Wordist',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'Kleebi tavalise tekstina',title:'Kleebi tavalise tekstina'},templates:{button:'Šabloon',title:'Sisu šabloonid',options:'Template Options',insertOption:'Asenda tegelik sisu',selectPromptMsg:'Palun vali šabloon, et avada see redaktoris<br />(praegune sisu läheb kaotsi):',emptyListMsg:'(Ühtegi šablooni ei ole defineeritud)'},showBlocks:'Näita blokke',stylesCombo:{label:'Laad',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},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:'Create Div Container',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Kiri',voiceLabel:'Font',panelTitle:'Kiri'},fontSize:{label:'Suurus',voiceLabel:'Font Size',panelTitle:'Suurus'},colorButton:{textColorTitle:'Teksti värv',bgColorTitle:'Tausta värv',panelTitle:'Colors',auto:'Automaatne',more:'Rohkem värve...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/et.js | et.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.fr={dir:'ltr',editorTitle:"Éditeur de Texte Enrichi, %1, appuyez sur ALT-0 pour l'aide.",toolbar:"Barre d'outils",editor:'Éditeur de Texte Enrichi',source:'Source',newPage:'Nouvelle page',save:'Enregistrer',preview:'Aperçu',cut:'Couper',copy:'Copier',paste:'Coller',print:'Imprimer',underline:'Souligné',bold:'Gras',italic:'Italique',selectAll:'Tout sélectionner',removeFormat:'Supprimer la mise en forme',strike:'Barré',subscript:'Indice',superscript:'Exposant',horizontalrule:'Ligne horizontale',pagebreak:'Saut de page',pagebreakAlt:'Saut de page',unlink:'Supprimer le lien',undo:'Annuler',redo:'Rétablir',common:{browseServer:'Explorer le serveur',url:'URL',protocol:'Protocole',upload:'Envoyer',uploadSubmit:'Envoyer sur le serveur',image:'Image',flash:'Flash',form:'Formulaire',checkbox:'Case à cocher',radio:'Bouton Radio',textField:'Champ texte',textarea:'Zone de texte',hiddenField:'Champ caché',button:'Bouton',select:'Liste déroulante',imageButton:'Bouton image',notSet:'<non défini>',id:'Id',name:'Nom',langDir:"Sens d'écriture",langDirLtr:'Gauche à droite (LTR)',langDirRtl:'Droite à gauche (RTL)',langCode:'Code de langue',longDescr:'URL de description longue (longdesc => malvoyant)',cssClass:'Classe CSS',advisoryTitle:'Description (title)',cssStyle:'Style',ok:'OK',cancel:'Annuler',close:'Fermer',preview:'Aperçu',generalTab:'Général',advancedTab:'Avancé',validateNumberFailed:"Cette valeur n'est pas un nombre.",confirmNewPage:'Les changements non sauvegardés seront perdus. Êtes-vous sûr de vouloir charger une nouvelle page?',confirmCancel:'Certaines options ont été modifiées. Êtes-vous sûr de vouloir fermer?',options:'Options',target:'Cible (Target)',targetNew:'Nouvelle fenêtre (_blank)',targetTop:'Fenêtre supérieure (_top)',targetSelf:'Même fenêtre (_self)',targetParent:'Fenêtre parent (_parent)',langDirLTR:'Gauche à Droite (LTR)',langDirRTL:'Droite à Gauche (RTL)',styles:'Style',cssClasses:'Classes de style',width:'Largeur',height:'Hauteur',align:'Alignement',alignLeft:'Gauche',alignRight:'Droite',alignCenter:'Centré',alignTop:'Haut',alignMiddle:'Milieu',alignBottom:'Bas',invalidHeight:'La hauteur doit être un nombre.',invalidWidth:'La largeur doit être un nombre.',unavailable:'%1<span class="cke_accessibility">, Indisponible</span>'},contextmenu:{options:'Options du menu contextuel'},specialChar:{toolbar:'Insérer un caractère spécial',title:'Sélectionnez un caractère',options:'Options des caractères spéciaux'},link:{toolbar:'Lien',other:'<autre>',menu:'Editer le lien',title:'Lien',info:'Infos sur le lien',target:'Cible',upload:'Envoyer',advanced:'Avancé',type:'Type de lien',toUrl:'URL',toAnchor:'Transformer le lien en ancre dans le texte',toEmail:'E-mail',targetFrame:'<cadre>',targetPopup:'<fenêtre popup>',targetFrameName:'Nom du Cadre destination',targetPopupName:'Nom de la fenêtre popup',popupFeatures:'Options de la fenêtre popup',popupResizable:'Redimensionnable',popupStatusBar:'Barre de status',popupLocationBar:"Barre d'adresse",popupToolbar:"Barre d'outils",popupMenuBar:'Barre de menu',popupFullScreen:'Plein écran (IE)',popupScrollBars:'Barres de défilement',popupDependent:'Dépendante (Netscape)',popupLeft:'Position gauche',popupTop:'Position haute',id:'Id',langDir:"Sens d'écriture",langDirLTR:'Gauche à droite',langDirRTL:'Droite à gauche',acccessKey:"Touche d'accessibilité",name:'Nom',langCode:'Code de langue',tabIndex:'Index de tabulation',advisoryTitle:'Description (title)',advisoryContentType:'Type de contenu (ex: text/html)',cssClasses:'Classe CSS',charset:'Charset de la cible',styles:'Style',selectAnchor:"Sélectionner l'ancre",anchorName:"Par nom d'ancre",anchorId:"Par ID d'élément",emailAddress:'Adresse E-Mail',emailSubject:'Sujet du message',emailBody:'Corps du message',noAnchors:'(Aucune ancre disponible dans ce document)',noUrl:"Veuillez entrer l'adresse du lien",noEmail:"Veuillez entrer l'adresse e-mail"},anchor:{toolbar:'Ancre',menu:"Editer l'ancre",title:"Propriétés de l'ancre",name:"Nom de l'ancre",errorName:"Veuillez entrer le nom de l'ancre."},list:{numberedTitle:'Propriétés de la liste numérotée',bulletedTitle:'Propriétés de la liste à puces',type:'Type',start:'Début',validateStartNumber:'Le premier élément de la liste doit être un nombre entier.',circle:'Cercle',disc:'Disque',square:'Carré',none:'Aucun',notset:'<Non défini>',armenian:'Numération arménienne',georgian:'Numération géorgienne (an, ban, gan, etc.)',lowerRoman:'Nombres romains minuscules (i, ii, iii, iv, v, etc.)',upperRoman:'Nombres romains majuscules (I, II, III, IV, V, etc.)',lowerAlpha:'Alphabétique minuscules (a, b, c, d, e, etc.)',upperAlpha:'Alphabétique majuscules (A, B, C, D, E, etc.)',lowerGreek:'Grec minuscule (alpha, beta, gamma, etc.)',decimal:'Décimal (1, 2, 3, etc.)',decimalLeadingZero:'Décimal précédé par un 0 (01, 02, 03, etc.)'},findAndReplace:{title:'Trouver et remplacer',find:'Trouver',replace:'Remplacer',findWhat:'Expression à trouver: ',replaceWith:'Remplacer par: ',notFoundMsg:'Le texte spécifié ne peut être trouvé.',matchCase:'Respecter la casse',matchWord:'Mot entier uniquement',matchCyclic:'Boucler',replaceAll:'Remplacer tout',replaceSuccessMsg:'%1 occurrence(s) replacée(s).'},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:'% pourcents',widthUnit:'unité de largeur',cellSpace:'Espacement des cellules',cellPad:'Marge interne des cellules',caption:'Titre du tableau',summary:'Résumé (description)',headers:'En-Têtes',headersNone:'Aucunes',headersColumn:'Première colonne',headersRow:'Première ligne',headersBoth:'Les deux',invalidRows:'Le nombre de lignes doit être supérieur à 0.',invalidCols:'Le nombre de colonnes doit être supérieur à 0.',invalidBorder:'La taille de la bordure doit être un nombre.',invalidWidth:'La largeur du tableau doit être un nombre.',invalidHeight:'La hauteur du tableau doit être un nombre.',invalidCellSpacing:"L'espacement des cellules doit être un nombre.",invalidCellPadding:'La marge intérieure des cellules doit être un nombre.',cell:{menu:'Cellule',insertBefore:'Insérer une cellule avant',insertAfter:'Insérer une cellule après',deleteCell:'Supprimer les cellules',merge:'Fusionner les cellules',mergeRight:'Fusionner à droite',mergeDown:'Fusionner en bas',splitHorizontal:'Fractionner horizontalement',splitVertical:'Fractionner verticalement',title:'Propriétés de la cellule',cellType:'Type de cellule',rowSpan:'Fusion de lignes',colSpan:'Fusion de colonnes',wordWrap:'Césure',hAlign:'Alignement Horizontal',vAlign:'Alignement Vertical',alignBaseline:'Bas du texte',bgColor:"Couleur d'arrière-plan",borderColor:'Couleur de Bordure',data:'Données',header:'Entête',yes:'Oui',no:'Non',invalidWidth:'La Largeur de Cellule doit être un nombre.',invalidHeight:'La Hauteur de Cellule doit être un nombre.',invalidRowSpan:'La fusion de lignes doit être un nombre entier.',invalidColSpan:'La fusion de colonnes doit être un nombre entier.',chooseColor:'Choisissez'},row:{menu:'Ligne',insertBefore:'Insérer une ligne avant',insertAfter:'Insérer une ligne après',deleteRow:'Supprimer les lignes'},column:{menu:'Colonnes',insertBefore:'Insérer une colonne avant',insertAfter:'Insérer une colonne après',deleteColumn:'Supprimer les colonnes'}},button:{title:'Propriétés du bouton',text:'Texte (Value)',type:'Type',typeBtn:'Bouton',typeSbm:'Validation (submit)',typeRst:'Remise à zéro'},checkboxAndRadio:{checkboxTitle:'Propriétés de la case à cocher',radioTitle:'Propriétés du bouton Radio',value:'Valeur',selected:'Sélectionné'},form:{title:'Propriétés du formulaire',menu:'Propriétés du formulaire',action:'Action',method:'Méthode',encoding:'Encodage'},select:{title:'Propriétés du menu déroulant',selectInfo:'Informations sur le menu déroulant',opAvail:'Options disponibles',value:'Valeur',size:'Taille',lines:'Lignes',chkMulti:'Permettre les sélections multiples',opText:'Texte',opValue:'Valeur',btnAdd:'Ajouter',btnModify:'Modifier',btnUp:'Haut',btnDown:'Bas',btnSetValue:'Définir comme valeur sélectionnée',btnDelete:'Supprimer'},textarea:{title:'Propriétés de la zone de texte',cols:'Colonnes',rows:'Lignes'},textfield:{title:'Propriétés du champ texte',name:'Nom',value:'Valeur',charWidth:'Taille des caractères',maxChars:'Nombre maximum de caractères',type:'Type',typeText:'Texte',typePass:'Mot de passe'},hidden:{title:'Propriétés du champ caché',name:'Nom',value:'Valeur'},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:'Envoyer',alt:'Texte de remplacement',lockRatio:'Conserver les proportions',unlockRatio:'Ne pas conserver les proportions',resetSize:"Taille d'origine",border:'Bordure',hSpace:'Espacement horizontal',vSpace:'Espacement vertical',alertUrl:"Veuillez entrer l'adresse de l'image",linkTab:'Lien',button2Img:'Voulez-vous transformer le bouton image sélectionné en simple image?',img2Button:"Voulez-vous transformer l'image en bouton image?",urlMissing:"L'adresse source de l'image est manquante.",validateBorder:'Bordure doit être un entier.',validateHSpace:'HSpace doit être un entier.',validateVSpace:'VSpace doit être un entier.'},flash:{properties:'Propriétés du Flash',propertiesTab:'Propriétés',title:'Propriétés du Flash',chkPlay:'Jouer automatiquement',chkLoop:'Boucle',chkMenu:'Activer le menu Flash',chkFull:'Permettre le plein écran',scale:'Echelle',scaleAll:'Afficher tout',scaleNoBorder:'Pas de bordure',scaleFit:"Taille d'origine",access:'Accès aux scripts',accessAlways:'Toujours',accessSameDomain:'Même domaine',accessNever:'Jamais',alignAbsBottom:'Bas absolu',alignAbsMiddle:'Milieu absolu',alignBaseline:'Bas du texte',alignTextTop:'Haut du texte',quality:'Qualité',qualityBest:'Meilleure',qualityHigh:'Haute',qualityAutoHigh:'Haute Auto',qualityMedium:'Moyenne',qualityAutoLow:'Basse Auto',qualityLow:'Basse',windowModeWindow:'Fenêtre',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Mode fenêtre',flashvars:'Variables du Flash',bgcolor:"Couleur d'arrière-plan",hSpace:'Espacement horizontal',vSpace:'Espacement vertical',validateSrc:"L'adresse ne doit pas être vide.",validateHSpace:"L'espacement horizontal doit être un nombre.",validateVSpace:"L'espacement vertical doit être un nombre."},spellCheck:{toolbar:"Vérifier l'orthographe",title:"Vérifier l'orthographe",notAvailable:'Désolé, le service est indisponible actuellement.',errorLoading:"Erreur du chargement du service depuis l'hôte : %s.",notInDic:"N'existe pas dans le dictionnaire.",changeTo:'Modifier pour',btnIgnore:'Ignorer',btnIgnoreAll:'Ignorer tout',btnReplace:'Remplacer',btnReplaceAll:'Remplacer tout',btnUndo:'Annuler',noSuggestions:'- Aucune suggestion -',progress:"Vérification de l'orthographe en cours...",noMispell:"Vérification de l'orthographe terminée : aucune erreur trouvée.",noChanges:"Vérification de l'orthographe terminée : Aucun mot corrigé.",oneChange:"Vérification de l'orthographe terminée : Un seul mot corrigé.",manyChanges:"Vérification de l'orthographe terminée : %1 mots corrigés.",ieSpellDownload:"La vérification d'orthographe n'est pas installée. Voulez-vous la télécharger maintenant?"},smiley:{toolbar:'Émoticones',title:'Insérer un émoticone',options:'Options des émoticones'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 éléments'},numberedlist:'Insérer/Supprimer la liste numérotée',bulletedlist:'Insérer/Supprimer la liste à puces',indent:'Augmenter le retrait (tabulation)',outdent:'Diminuer le retrait (tabulation)',justify:{left:'Aligner à gauche',center:'Centrer',right:'Aligner à droite',block:'Justifier'},blockquote:'Citation',clipboard:{title:'Coller',cutError:"Les paramètres de sécurité de votre navigateur ne permettent pas à l'éditeur d'exécuter automatiquement l'opération \"couper\". Veuillez utiliser le raccourci clavier (Ctrl/Cmd+X).",copyError:"Les paramètres de sécurité de votre navigateur ne permettent pas à l'éditeur d'exécuter automatiquement des opérations de copie. Veuillez utiliser le raccourci clavier (Ctrl/Cmd+C).",pasteMsg:'Veuillez coller le texte dans la zone suivante en utilisant le raccourci clavier (<strong>Ctrl/Cmd+V</strong>) et cliquez sur OK.',securityMsg:"A cause des paramètres de sécurité de votre navigateur, l'éditeur n'est pas en mesure d'accéder directement à vos données contenues dans le presse-papier. Vous devriez réessayer de coller les données dans la fenêtre.",pasteArea:'Coller la zone'},pastefromword:{confirmCleanup:'Le texte à coller semble provenir de Word. Désirez-vous le nettoyer avant de coller?',toolbar:'Coller depuis Word',title:'Coller depuis Word',error:"Il n'a pas été possible de nettoyer les données collées à la suite d'une erreur interne."},pasteText:{button:'Coller comme texte sans mise en forme',title:'Coller comme texte sans mise en forme'},templates:{button:'Modèles',title:'Contenu des modèles',options:'Options des modèles',insertOption:'Remplacer le contenu actuel',selectPromptMsg:"Veuillez sélectionner le modèle pour l'ouvrir dans l'éditeur",emptyListMsg:'(Aucun modèle disponible)'},showBlocks:'Afficher les blocs',stylesCombo:{label:'Styles',panelTitle:'Styles de mise en page',panelTitle1:'Styles de blocs',panelTitle2:'Styles en ligne',panelTitle3:"Styles d'objet"},format:{label:'Format',panelTitle:'Format de paragraphe',tag_p:'Normal',tag_pre:'Formaté',tag_address:'Adresse',tag_h1:'Titre 1',tag_h2:'Titre 2',tag_h3:'Titre 3',tag_h4:'Titre 4',tag_h5:'Titre 5',tag_h6:'Titre 6',tag_div:'Normal (DIV)'},div:{title:'Créer un container DIV',toolbar:'Créer un container DIV',cssClassInputLabel:'Classe CSS',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:'Code de langue',inlineStyleInputLabel:'Style en ligne',advisoryTitleInputLabel:'Advisory Title',langDirLabel:"Sens d'écriture",langDirLTRLabel:'Gauche à droite (LTR)',langDirRTLLabel:'Droite à gauche (RTL)',edit:'Éditer la DIV',remove:'Enlever la DIV'},iframe:{title:'Propriétés de la IFrame',toolbar:'IFrame',noUrl:"Veuillez entrer l'adresse du lien de la IFrame",scrolling:'Permettre à la barre de défilement',border:'Afficher une bordure de la IFrame'},font:{label:'Police',voiceLabel:'Police',panelTitle:'Style de police'},fontSize:{label:'Taille',voiceLabel:'Taille de police',panelTitle:'Taille de police'},colorButton:{textColorTitle:'Couleur de texte',bgColorTitle:"Couleur d'arrière plan",panelTitle:'Couleurs',auto:'Automatique',more:'Plus de couleurs...'},colors:{'000':'Noir',800000:'Marron','8B4513':'Brun moyen','2F4F4F':'Vert sombre','008080':'Canard','000080':'Bleu marine','4B0082':'Indigo',696969:'Gris foncé',B22222:'Rouge brique',A52A2A:'Brun',DAA520:'Or terni','006400':'Vert foncé','40E0D0':'Turquoise','0000CD':'Bleu royal',800080:'Pourpre',808080:'Gris',F00:'Rouge',FF8C00:'Orange foncé',FFD700:'Or','008000':'Vert','0FF':'Cyan','00F':'Bleu',EE82EE:'Violet',A9A9A9:'Gris moyen',FFA07A:'Saumon',FFA500:'Orange',FFFF00:'Jaune','00FF00':'Lime',AFEEEE:'Turquoise clair',ADD8E6:'Bleu clair',DDA0DD:'Prune',D3D3D3:'Gris clair',FFF0F5:'Fard Lavande',FAEBD7:'Blanc antique',FFFFE0:'Jaune clair',F0FFF0:'Honeydew',F0FFFF:'Azur',F0F8FF:'Bleu Alice',E6E6FA:'Lavande',FFF:'Blanc'},scayt:{title:"Vérification de l'Orthographe en Cours de Frappe (SCAYT: Spell Check As You Type)",opera_title:'Non supporté par Opera',enable:'Activer SCAYT',disable:'Désactiver SCAYT',about:'A propos de SCAYT',toggle:'Activer/Désactiver SCAYT',options:'Options',langs:'Langues',moreSuggestions:'Plus de suggestions',ignore:'Ignorer',ignoreAll:'Ignorer Tout',addWord:'Ajouter le mot',emptyDic:'Le nom du dictionnaire ne devrait pas être vide.',optionsTab:'Options',allCaps:'Ignorer les mots entierement en majuscules',ignoreDomainNames:'Ignorer les noms de domaines',mixedCase:'Ignorer les mots à casse multiple',mixedWithDigits:'Ignorer les mots contenant des chiffres',languagesTab:'Langues',dictionariesTab:'Dictionnaires',dic_field_name:'Nom du dictionnaire',dic_create:'Créer',dic_restore:'Restaurer',dic_delete:'Effacer',dic_rename:'Renommer',dic_info:"Initiallement, le dictionnaire de l'utilisateur est stocké dans un cookie. Cependant, les cookies sont limités en taille. Quand le dictionnaire atteint une taille qu'il n'est plus possible de stocker dans un cookie, il peut alors être stocké sur nos serveurs. Afin de stocker votre dictionnaire personnel sur nos serveurs, vous devez spécifier un nom pour ce dictionnaire. Si vous avez déjà un dictionnaire stocké, merci de taper son nom puis cliquer sur Restaurer pour le récupérer.",aboutTab:'À propos de'},about:{title:'A propos de CKEditor',dlgTitle:'A propos de CKEditor',moreInfo:'Pour les informations de licence, veuillez visiter notre site web:',copy:'Copyright © $1. Tous droits réservés.'},maximize:'Agrandir',minimize:'Minimiser',fakeobjects:{anchor:'Ancre',flash:'Animation Flash',iframe:'IFrame',hiddenfield:'Champ caché',unknown:'Objet inconnu'},resize:'Déplacer pour modifier la taille',colordialog:{title:'Choisir une couleur',options:'Option des couleurs',highlight:'Détails',selected:'Couleur choisie',clear:'Effacer'},toolbarCollapse:"Enrouler la barre d'outils",toolbarExpand:"Dérouler la barre d'outils",bidi:{ltr:'Direction du texte de la gauche vers la droite',rtl:'Direction du texte de la droite vers la gauche'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/fr.js | fr.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.bn={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'সোর্স',newPage:'নতুন পেজ',save:'সংরক্ষন কর',preview:'প্রিভিউ',cut:'কাট',copy:'কপি',paste:'পেস্ট',print:'প্রিন্ট',underline:'আন্ডারলাইন',bold:'বোল্ড',italic:'ইটালিক',selectAll:'সব সিলেক্ট কর',removeFormat:'ফরমেট সরাও',strike:'স্ট্রাইক থ্রু',subscript:'অধোলেখ',superscript:'অভিলেখ',horizontalrule:'রেখা যুক্ত কর',pagebreak:'পেজ ব্রেক',pagebreakAlt:'Page Break',unlink:'লিংক সরাও',undo:'আনডু',redo:'রি-ডু',common:{browseServer:'ব্রাউজ সার্ভার',url:'URL',protocol:'প্রোটোকল',upload:'আপলোড',uploadSubmit:'ইহাকে সার্ভারে প্রেরন কর',image:'ছবির লেবেল যুক্ত কর',flash:'ফ্লাশ লেবেল যুক্ত কর',form:'ফর্ম',checkbox:'চেক বাক্স',radio:'রেডিও বাটন',textField:'টেক্সট ফীল্ড',textarea:'টেক্সট এরিয়া',hiddenField:'গুপ্ত ফীল্ড',button:'বাটন',select:'বাছাই ফীল্ড',imageButton:'ছবির বাটন',notSet:'<সেট নেই>',id:'আইডি',name:'নাম',langDir:'ভাষা লেখার দিক',langDirLtr:'বাম থেকে ডান (LTR)',langDirRtl:'ডান থেকে বাম (RTL)',langCode:'ভাষা কোড',longDescr:'URL এর লম্বা বর্ণনা',cssClass:'স্টাইল-শীট ক্লাস',advisoryTitle:'পরামর্শ শীর্ষক',cssStyle:'স্টাইল',ok:'ওকে',cancel:'বাতিল',close:'Close',preview:'Preview',generalTab:'General',advancedTab:'এডভান্সড',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'প্রস্থ',height:'দৈর্ঘ্য',align:'এলাইন',alignLeft:'বামে',alignRight:'ডানে',alignCenter:'মাঝখানে',alignTop:'উপর',alignMiddle:'মধ্য',alignBottom:'নীচে',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'বিশেষ অক্ষর যুক্ত কর',title:'বিশেষ ক্যারেক্টার বাছাই কর',options:'Special Character Options'},link:{toolbar:'লিংক যুক্ত কর',other:'<other>',menu:'লিংক সম্পাদন',title:'লিংক',info:'লিংক তথ্য',target:'টার্গেট',upload:'আপলোড',advanced:'এডভান্সড',type:'লিংক প্রকার',toUrl:'URL',toAnchor:'এই পেজে নোঙর কর',toEmail:'ইমেইল',targetFrame:'<ফ্রেম>',targetPopup:'<পপআপ উইন্ডো>',targetFrameName:'টার্গেট ফ্রেমের নাম',targetPopupName:'পপআপ উইন্ডোর নাম',popupFeatures:'পপআপ উইন্ডো ফীচার সমূহ',popupResizable:'Resizable',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:'স্টাইল',selectAnchor:'নোঙর বাছাই',anchorName:'নোঙরের নাম দিয়ে',anchorId:'নোঙরের আইডি দিয়ে',emailAddress:'ইমেইল ঠিকানা',emailSubject:'মেসেজের বিষয়',emailBody:'মেসেজের দেহ',noAnchors:'(No anchors available in the document)',noUrl:'অনুগ্রহ করে URL লিংক টাইপ করুন',noEmail:'অনুগ্রহ করে ইমেইল এড্রেস টাইপ করুন'},anchor:{toolbar:'নোঙ্গর',menu:'নোঙর প্রোপার্টি',title:'নোঙর প্রোপার্টি',name:'নোঙরের নাম',errorName:'নোঙরের নাম টাইপ করুন'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Find and Replace',find:'খোজো',replace:'রিপ্লেস',findWhat:'যা খুঁজতে হবে:',replaceWith:'যার সাথে বদলাতে হবে:',notFoundMsg:'আপনার উল্লেখিত টেকস্ট পাওয়া যায়নি',matchCase:'কেস মিলাও',matchWord:'পুরা শব্দ মেলাও',matchCyclic:'Match cyclic',replaceAll:'সব বদলে দাও',replaceSuccessMsg:'%1 occurrence(s) replaced.'},table:{toolbar:'টেবিলের লেবেল যুক্ত কর',title:'টেবিল প্রোপার্টি',menu:'টেবিল প্রোপার্টি',deleteTable:'টেবিল ডিলীট কর',rows:'রো',columns:'কলাম',border:'বর্ডার সাইজ',widthPx:'পিক্সেল',widthPc:'শতকরা',widthUnit:'width unit',cellSpace:'সেল স্পেস',cellPad:'সেল প্যাডিং',caption:'শীর্ষক',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:'সেল',insertBefore:'Insert Cell Before',insertAfter:'Insert Cell After',deleteCell:'সেল মুছে দাও',merge:'সেল জোড়া দাও',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'},row:{menu:'রো',insertBefore:'Insert Row Before',insertAfter:'Insert Row After',deleteRow:'রো মুছে দাও'},column:{menu:'কলাম',insertBefore:'Insert Column Before',insertAfter:'Insert Column After',deleteColumn:'কলাম মুছে দাও'}},button:{title:'বাটন প্রোপার্টি',text:'টেক্সট (ভ্যালু)',type:'প্রকার',typeBtn:'Button',typeSbm:'Submit',typeRst:'Reset'},checkboxAndRadio:{checkboxTitle:'চেক বক্স প্রোপার্টি',radioTitle:'রেডিও বাটন প্রোপার্টি',value:'ভ্যালু',selected:'সিলেক্টেড'},form:{title:'ফর্ম প্রোপার্টি',menu:'ফর্ম প্রোপার্টি',action:'একশ্যন',method:'পদ্ধতি',encoding:'Encoding'},select:{title:'বাছাই ফীল্ড প্রোপার্টি',selectInfo:'তথ্য',opAvail:'অন্যান্য বিকল্প',value:'ভ্যালু',size:'সাইজ',lines:'লাইন সমূহ',chkMulti:'একাধিক সিলেকশন এলাউ কর',opText:'টেক্সট',opValue:'ভ্যালু',btnAdd:'যুক্ত',btnModify:'বদলে দাও',btnUp:'উপর',btnDown:'নীচে',btnSetValue:'বাছাই করা ভ্যালু হিসেবে সেট কর',btnDelete:'ডিলীট'},textarea:{title:'টেক্সট এরিয়া প্রোপার্টি',cols:'কলাম',rows:'রো'},textfield:{title:'টেক্সট ফীল্ড প্রোপার্টি',name:'নাম',value:'ভ্যালু',charWidth:'ক্যারেক্টার প্রশস্ততা',maxChars:'সর্বাধিক ক্যারেক্টার',type:'টাইপ',typeText:'টেক্সট',typePass:'পাসওয়ার্ড'},hidden:{title:'গুপ্ত ফীল্ড প্রোপার্টি',name:'নাম',value:'ভ্যালু'},image:{title:'ছবির প্রোপার্টি',titleButton:'ছবি বাটন প্রোপার্টি',menu:'ছবির প্রোপার্টি',infoTab:'ছবির তথ্য',btnUpload:'ইহাকে সার্ভারে প্রেরন কর',upload:'আপলোড',alt:'বিকল্প টেক্সট',lockRatio:'অনুপাত লক কর',unlockRatio:'Unlock Ratio',resetSize:'সাইজ পূর্বাবস্থায় ফিরিয়ে দাও',border:'বর্ডার',hSpace:'হরাইজন্টাল স্পেস',vSpace:'ভার্টিকেল স্পেস',alertUrl:'অনুগ্রহক করে ছবির URL টাইপ করুন',linkTab:'লিংক',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.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'ফ্লাশ প্রোপার্টি',propertiesTab:'Properties',title:'ফ্ল্যাশ প্রোপার্টি',chkPlay:'অটো প্লে',chkLoop:'লূপ',chkMenu:'ফ্ল্যাশ মেনু এনাবল কর',chkFull:'Allow Fullscreen',scale:'স্কেল',scaleAll:'সব দেখাও',scaleNoBorder:'কোনো বর্ডার নেই',scaleFit:'নিখুঁত ফিট',access:'Script Access',accessAlways:'Always',accessSameDomain:'Same domain',accessNever:'Never',alignAbsBottom:'Abs নীচে',alignAbsMiddle:'Abs উপর',alignBaseline:'মূল রেখা',alignTextTop:'টেক্সট উপর',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'বেকগ্রাউন্ড রং',hSpace:'হরাইজন্টাল স্পেস',vSpace:'ভার্টিকেল স্পেস',validateSrc:'অনুগ্রহ করে URL লিংক টাইপ করুন',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'বানান চেক',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %s.',notInDic:'শব্দকোষে নেই',changeTo:'এতে বদলাও',btnIgnore:'ইগনোর কর',btnIgnoreAll:'সব ইগনোর কর',btnReplace:'বদলে দাও',btnReplaceAll:'সব বদলে দাও',btnUndo:'আন্ডু',noSuggestions:'- কোন সাজেশন নেই -',progress:'বানান পরীক্ষা চলছে...',noMispell:'বানান পরীক্ষা শেষ: কোন ভুল বানান পাওয়া যায়নি',noChanges:'বানান পরীক্ষা শেষ: কোন শব্দ পরিবর্তন করা হয়নি',oneChange:'বানান পরীক্ষা শেষ: একটি মাত্র শব্দ পরিবর্তন করা হয়েছে',manyChanges:'বানান পরীক্ষা শেষ: %1 গুলো শব্দ বদলে গ্যাছে',ieSpellDownload:'বানান পরীক্ষক ইনস্টল করা নেই। আপনি কি এখনই এটা ডাউনলোড করতে চান?'},smiley:{toolbar:'স্মাইলী',title:'স্মাইলী যুক্ত কর',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},numberedlist:'সাংখ্যিক লিস্টের লেবেল',bulletedlist:'বুলেট লিস্ট লেবেল',indent:'ইনডেন্ট বাড়াও',outdent:'ইনডেন্ট কমাও',justify:{left:'বা দিকে ঘেঁষা',center:'মাঝ বরাবর ঘেষা',right:'ডান দিকে ঘেঁষা',block:'ব্লক জাস্টিফাই'},blockquote:'Block Quote',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.',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'পেস্ট (শব্দ)',title:'পেস্ট (শব্দ)',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'সাদা টেক্সট হিসেবে পেস্ট কর',title:'সাদা টেক্সট হিসেবে পেস্ট কর'},templates:{button:'টেমপ্লেট',title:'কনটেন্ট টেমপ্লেট',options:'Template Options',insertOption:'Replace actual contents',selectPromptMsg:'অনুগ্রহ করে এডিটরে ওপেন করার জন্য টেমপ্লেট বাছাই করুন<br>(আসল কনটেন্ট হারিয়ে যাবে):',emptyListMsg:'(কোন টেমপ্লেট ডিফাইন করা নেই)'},showBlocks:'Show Blocks',stylesCombo:{label:'স্টাইল',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},format:{label:'ফন্ট ফরমেট',panelTitle:'ফন্ট ফরমেট',tag_p:'সাধারণ',tag_pre:'ফর্মেটেড',tag_address:'ঠিকানা',tag_h1:'শীর্ষক ১',tag_h2:'শীর্ষক ২',tag_h3:'শীর্ষক ৩',tag_h4:'শীর্ষক ৪',tag_h5:'শীর্ষক ৫',tag_h6:'শীর্ষক ৬',tag_div:'শীর্ষক (DIV)'},div:{title:'Create Div Container',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'ফন্ট',voiceLabel:'Font',panelTitle:'ফন্ট'},fontSize:{label:'সাইজ',voiceLabel:'Font Size',panelTitle:'সাইজ'},colorButton:{textColorTitle:'টেক্স্ট রং',bgColorTitle:'বেকগ্রাউন্ড রং',panelTitle:'Colors',auto:'অটোমেটিক',more:'আরও রং...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/bn.js | bn.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.ja={dir:'ltr',editorTitle:'リッチテキストエディタ, %1, ヘルプは ALT 0 を押してください',toolbar:'ツールバー',editor:'リッチテキストエディタ',source:'ソース',newPage:'新しいページ',save:'保存',preview:'プレビュー',cut:'切り取り',copy:'コピー',paste:'貼り付け',print:'印刷',underline:'下線',bold:'太字',italic:'斜体',selectAll:'すべて選択',removeFormat:'フォーマット削除',strike:'打ち消し線',subscript:'添え字',superscript:'上付き文字',horizontalrule:'横罫線',pagebreak:'改ページ挿入',pagebreakAlt:'Page Break',unlink:'リンク削除',undo:'元に戻す',redo:'やり直し',common:{browseServer:'サーバーブラウザー',url:'URL',protocol:'プロトコル',upload:'アップロード',uploadSubmit:'サーバーに送信',image:'イメージ',flash:'Flash',form:'フォーム',checkbox:'チェックボックス',radio:'ラジオボタン',textField:'1行テキスト',textarea:'テキストエリア',hiddenField:'不可視フィールド',button:'ボタン',select:'選択フィールド',imageButton:'画像ボタン',notSet:'<なし>',id:'Id',name:'Name属性',langDir:'文字表記の方向',langDirLtr:'左から右 (LTR)',langDirRtl:'右から左 (RTL)',langCode:'言語コード',longDescr:'longdesc属性(長文説明)',cssClass:'スタイルシートクラス',advisoryTitle:'Title属性',cssStyle:'スタイルシート',ok:'OK',cancel:'キャンセル',close:'閉じる',preview:'プレビュー',generalTab:'全般',advancedTab:'高度な設定',validateNumberFailed:'値が数ではありません',confirmNewPage:'変更内容を保存せず、 新しいページを開いてもよろしいでしょうか?',confirmCancel:'オプション設定を変更しました。ダイアログを閉じてもよろしいでしょうか?',options:'オプション',target:'ターゲット',targetNew:'新しいウィンドウ (_空白)',targetTop:'最上部ウィンドウ (_トップ)',targetSelf:'同じウィンドウ (_同一)',targetParent:'親ウィンドウ (_親)',langDirLTR:'左から右 (LTR)',langDirRTL:'右から左 (RTL)',styles:'スタイル',cssClasses:'スタイルシートクラス',width:'幅',height:'高さ',align:'行揃え',alignLeft:'左',alignRight:'右',alignCenter:'中央',alignTop:'上',alignMiddle:'中央',alignBottom:'下',invalidHeight:'高さは数値で入力してください。',invalidWidth:'幅は数値で入力してください。',unavailable:'%1<span class="cke_accessibility">, 利用不可能</span>'},contextmenu:{options:'コンテキストメニューオプション'},specialChar:{toolbar:'特殊文字挿入',title:'特殊文字選択',options:'特殊文字オプション'},link:{toolbar:'リンク挿入/編集',other:'<その他の>',menu:'リンク編集',title:'ハイパーリンク',info:'ハイパーリンク 情報',target:'ターゲット',upload:'アップロード',advanced:'高度な設定',type:'リンクタイプ',toUrl:'URL',toAnchor:'このページのアンカー',toEmail:'E-Mail',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:'Name属性',langCode:'言語コード',tabIndex:'タブインデックス',advisoryTitle:'Title属性',advisoryContentType:'Content Type属性',cssClasses:'スタイルシートクラス',charset:'リンクcharset属性',styles:'スタイルシート',selectAnchor:'アンカーを選択',anchorName:'アンカー名',anchorId:'エレメントID',emailAddress:'E-Mail アドレス',emailSubject:'件名',emailBody:'本文',noAnchors:'(ドキュメントにおいて利用可能なアンカーはありません。)',noUrl:'リンクURLを入力してください。',noEmail:'メールアドレスを入力してください。'},anchor:{toolbar:'アンカー挿入/編集',menu:'アンカー プロパティ',title:'アンカー プロパティ',name:'アンカー名',errorName:'アンカー名を必ず入力してください。'},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:'上位桁に0をつけた数字 (01, 02, 03, etc.)'},findAndReplace:{title:'検索して置換',find:'検索',replace:'置き換え',findWhat:'検索する文字列:',replaceWith:'置換えする文字列:',notFoundMsg:'指定された文字列は見つかりませんでした。',matchCase:'大文字と小文字を区別する',matchWord:'単語単位で探す',matchCyclic:'一周する',replaceAll:'すべて置換え',replaceSuccessMsg:'%1 個置換しました。'},table:{toolbar:'テーブル',title:'テーブル プロパティ',menu:'テーブル プロパティ',deleteTable:'テーブル削除',rows:'行',columns:'列',border:'ボーダーサイズ',widthPx:'ピクセル',widthPc:'パーセント',widthUnit:'ユニット',cellSpace:'セル内余白',cellPad:'セル内間隔',caption:'キャプション',summary:'テーブルの概要',headers:'テーブルヘッダ(th)',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:'テーブルデータ(td)',header:'テーブルヘッダ(th)',yes:'Yes',no:'No',invalidWidth:'セル幅は数値で入力してください。',invalidHeight:'セル高さは数値で入力してください。',invalidRowSpan:'縦幅(行数)は数値で入力してください。',invalidColSpan:'横幅(列数)は数値で入力してください。',chooseColor:'色の選択'},row:{menu:'行',insertBefore:'行の前に挿入',insertAfter:'行の後に挿入',deleteRow:'行削除'},column:{menu:'カラム',insertBefore:'カラムの前に挿入',insertAfter:'カラムの後に挿入',deleteColumn:'列削除'}},button:{title:'ボタン プロパティ',text:'テキスト (値)',type:'タイプ',typeBtn:'ボタン',typeSbm:'送信',typeRst:'リセット'},checkboxAndRadio:{checkboxTitle:'チェックボックス プロパティ',radioTitle:'ラジオボタン プロパティ',value:'値',selected:'選択済み'},form:{title:'フォーム プロパティ',menu:'フォーム プロパティ',action:'アクション',method:'メソッド',encoding:'エンコーディング'},select:{title:'選択フィールド プロパティ',selectInfo:'情報',opAvail:'利用可能なオプション',value:'選択項目値',size:'サイズ',lines:'行',chkMulti:'複数項目選択を許可',opText:'選択項目名',opValue:'値',btnAdd:'追加',btnModify:'編集',btnUp:'上へ',btnDown:'下へ',btnSetValue:'選択した値を設定',btnDelete:'削除'},textarea:{title:'テキストエリア プロパティ',cols:'列',rows:'行'},textfield:{title:'1行テキスト プロパティ',name:'名前',value:'値',charWidth:'サイズ',maxChars:'最大長',type:'タイプ',typeText:'テキスト',typePass:'パスワード入力'},hidden:{title:'不可視フィールド プロパティ',name:'名前',value:'値'},image:{title:'イメージ プロパティ',titleButton:'画像ボタン プロパティ',menu:'イメージ プロパティ',infoTab:'イメージ 情報',btnUpload:'サーバーに送信',upload:'アップロード',alt:'代替テキスト',lockRatio:'ロック比率',unlockRatio:'アンロック比率',resetSize:'サイズリセット',border:'ボーダー',hSpace:'横間隔',vSpace:'縦間隔',alertUrl:'イメージのURLを入力してください。',linkTab:'リンク',button2Img:'選択したボタンを画像に置き換えますか?',img2Button:'選択した画像をボタンに置き換えますか?',urlMissing:'イメージのURLを入力してください。',validateBorder:'ボーダーは数値で入力してください。',validateHSpace:'横間隔は数値で入力してください。',validateVSpace:'縦間隔は数値で入力してください。'},flash:{properties:'Flash プロパティ',propertiesTab:'プロパティ',title:'Flash プロパティ',chkPlay:'再生',chkLoop:'ループ再生',chkMenu:'Flashメニュー可能',chkFull:'フルスクリーン許可',scale:'拡大縮小設定',scaleAll:'すべて表示',scaleNoBorder:'外が見えない様に拡大',scaleFit:'上下左右にフィット',access:'スプリクトアクセス(AllowScriptAccess)',accessAlways:'すべての場合に通信可能(Always)',accessSameDomain:'同一ドメインのみに通信可能(Same domain)',accessNever:'すべての場合に通信不可能(Never)',alignAbsBottom:'下部(絶対的)',alignAbsMiddle:'中央(絶対的)',alignBaseline:'ベースライン',alignTextTop:'テキスト上部',quality:'画質',qualityBest:'品質優先',qualityHigh:'高',qualityAutoHigh:'自動/高',qualityMedium:'中',qualityAutoLow:'自動/低',qualityLow:'低',windowModeWindow:'標準',windowModeOpaque:'背景を不透明設定',windowModeTransparent:'背景を透過設定',windowMode:'ウィンドウモード',flashvars:'フラッシュに渡す変数(FlashVars)',bgcolor:'背景色',hSpace:'横間隔',vSpace:'縦間隔',validateSrc:'リンクURLを入力してください。',validateHSpace:'横間隔は数値で入力してください。',validateVSpace:'縦間隔は数値で入力してください。'},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:'絵文字オプション'},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:'貼り付けを行うテキストは、ワード文章からコピーされようとしています。貼り付ける前にクリーニングを行いますか?',toolbar:'ワード文章から貼り付け',title:'ワード文章から貼り付け',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:'Divコンテナ',toolbar:'Divコンテナ',cssClassInputLabel:'スタイルシートクラス',styleSelectLabel:'スタイル',IdInputLabel:'Id',languageCodeInputLabel:' 言語コード',inlineStyleInputLabel:'インラインスタイル',advisoryTitleInputLabel:'Title属性',langDirLabel:'文字表記の方向',langDirLTRLabel:'左から右 (LTR)',langDirRTLLabel:'右から左 (RTL)',edit:'Divコンテナ 編集',remove:'Divコンテナ 削除'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'フォント',voiceLabel:'フォント',panelTitle:'フォント'},fontSize:{label:'サイズ',voiceLabel:'フォントサイズ',panelTitle:'サイズ'},colorButton:{textColorTitle:'テキスト色',bgColorTitle:'背景色',panelTitle:'色',auto:'自動',more:'その他の色...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'スペルチェック設定(SCAYT)',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:'バージョン情報'},about:{title:'CKEditorバージョン情報',dlgTitle:'CKEditorバージョン情報',moreInfo:'ライセンス情報の詳細はウェブサイトにて確認してください:',copy:'Copyright © $1. All rights reserved.'},maximize:'最大化',minimize:'最小化',fakeobjects:{anchor:'アンカー',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'ドラッグしてリサイズ',colordialog:{title:'色選択',options:'カラーオプション',highlight:'ハイライト',selected:'選択された色',clear:'クリア'},toolbarCollapse:'ツールバーを閉じる',toolbarExpand:'ツールバーを開く',bidi:{ltr:'テキストの向き : 左から右へ',rtl:'テキストの向き : 右から左へ'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/ja.js | ja.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.zh={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'原始碼',newPage:'開新檔案',save:'儲存',preview:'預覽',cut:'剪下',copy:'複製',paste:'貼上',print:'列印',underline:'底線',bold:'粗體',italic:'斜體',selectAll:'全選',removeFormat:'清除格式',strike:'刪除線',subscript:'下標',superscript:'上標',horizontalrule:'插入水平線',pagebreak:'插入分頁符號',pagebreakAlt:'Page Break',unlink:'移除超連結',undo:'復原',redo:'重複',common:{browseServer:'瀏覽伺服器端',url:'URL',protocol:'通訊協定',upload:'上傳',uploadSubmit:'上傳至伺服器',image:'影像',flash:'Flash',form:'表單',checkbox:'核取方塊',radio:'選項按鈕',textField:'文字方塊',textarea:'文字區域',hiddenField:'隱藏欄位',button:'按鈕',select:'清單/選單',imageButton:'影像按鈕',notSet:'<尚未設定>',id:'ID',name:'名稱',langDir:'語言方向',langDirLtr:'由左而右 (LTR)',langDirRtl:'由右而左 (RTL)',langCode:'語言代碼',longDescr:'詳細 URL',cssClass:'樣式表類別',advisoryTitle:'標題',cssStyle:'樣式',ok:'確定',cancel:'取消',close:'Close',preview:'Preview',generalTab:'一般',advancedTab:'進階',validateNumberFailed:'需要輸入數字格式',confirmNewPage:'現存的修改尚未儲存,要開新檔案?',confirmCancel:'部份選項尚未儲存,要關閉對話盒?',options:'Options',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'寬度',height:'高度',align:'對齊',alignLeft:'靠左對齊',alignRight:'靠右對齊',alignCenter:'置中',alignTop:'靠上對齊',alignMiddle:'置中對齊',alignBottom:'靠下對齊',invalidHeight:'高度必須為數字格式',invalidWidth:'寬度必須為數字格式',unavailable:'%1<span class="cke_accessibility">, 已關閉</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'插入特殊符號',title:'請選擇特殊符號',options:'Special Character Options'},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:'從屬 (NS)',popupLeft:'左',popupTop:'右',id:'ID',langDir:'語言方向',langDirLTR:'由左而右 (LTR)',langDirRTL:'由右而左 (RTL)',acccessKey:'存取鍵',name:'名稱',langCode:'語言方向',tabIndex:'定位順序',advisoryTitle:'標題',advisoryContentType:'內容類型',cssClasses:'樣式表類別',charset:'連結資源之編碼',styles:'樣式',selectAnchor:'請選擇錨點',anchorName:'依錨點名稱',anchorId:'依元件 ID',emailAddress:'電子郵件',emailSubject:'郵件主旨',emailBody:'郵件內容',noAnchors:'(本文件尚無可用之錨點)',noUrl:'請輸入欲連結的 URL',noEmail:'請輸入電子郵件位址'},anchor:{toolbar:'插入/編輯錨點',menu:'錨點屬性',title:'錨點屬性',name:'錨點名稱',errorName:'請輸入錨點名稱'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'尋找與取代',find:'尋找',replace:'取代',findWhat:'尋找:',replaceWith:'取代:',notFoundMsg:'未找到指定的文字。',matchCase:'大小寫須相符',matchWord:'全字相符',matchCyclic:'循環搜索',replaceAll:'全部取代',replaceSuccessMsg:'共完成 %1 次取代'},table:{toolbar:'表格',title:'表格屬性',menu:'表格屬性',deleteTable:'刪除表格',rows:'列數',columns:'欄數',border:'邊框',widthPx:'像素',widthPc:'百分比',widthUnit:'width unit',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'},row:{menu:'列',insertBefore:'向上插入列',insertAfter:'向下插入列',deleteRow:'刪除列'},column:{menu:'欄',insertBefore:'向左插入欄',insertAfter:'向右插入欄',deleteColumn:'刪除欄'}},button:{title:'按鈕屬性',text:'顯示文字 (值)',type:'類型',typeBtn:'按鈕 (Button)',typeSbm:'送出 (Submit)',typeRst:'重設 (Reset)'},checkboxAndRadio:{checkboxTitle:'核取方塊屬性',radioTitle:'選項按鈕屬性',value:'選取值',selected:'已選取'},form:{title:'表單屬性',menu:'表單屬性',action:'動作',method:'方法',encoding:'表單編碼'},select:{title:'清單/選單屬性',selectInfo:'資訊',opAvail:'可用選項',value:'值',size:'大小',lines:'行',chkMulti:'可多選',opText:'顯示文字',opValue:'選取值',btnAdd:'新增',btnModify:'修改',btnUp:'上移',btnDown:'下移',btnSetValue:'設為預設值',btnDelete:'刪除'},textarea:{title:'文字區域屬性',cols:'字元寬度',rows:'列數'},textfield:{title:'文字方塊屬性',name:'名稱',value:'值',charWidth:'字元寬度',maxChars:'最多字元數',type:'類型',typeText:'文字',typePass:'密碼'},hidden:{title:'隱藏欄位屬性',name:'名稱',value:'值'},image:{title:'影像屬性',titleButton:'影像按鈕屬性',menu:'影像屬性',infoTab:'影像資訊',btnUpload:'上傳至伺服器',upload:'上傳',alt:'替代文字',lockRatio:'等比例',unlockRatio:'Unlock Ratio',resetSize:'重設為原大小',border:'邊框',hSpace:'水平距離',vSpace:'垂直距離',alertUrl:'請輸入影像 URL',linkTab:'超連結',button2Img:'要把影像按鈕改成影像嗎?',img2Button:'要把影像改成影像按鈕嗎?',urlMissing:'Image source URL is missing.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},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:'垂直間距必須為數字格式'},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'},elementsPath:{eleLabel:'Elements path',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'},pastefromword:{confirmCleanup:'您想貼上的文字似乎是自 Word 複製而來,請問您是否要先清除 Word 的格式後再行貼上?',toolbar:'自 Word 貼上',title:'自 Word 貼上',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'貼為純文字格式',title:'貼為純文字格式'},templates:{button:'樣版',title:'內容樣版',options:'Template Options',insertOption:'取代原有內容',selectPromptMsg:'請選擇欲開啟的樣版<br> (原有的內容將會被清除):',emptyListMsg:'(無樣版)'},showBlocks:'顯示區塊',stylesCombo:{label:'樣式',panelTitle:'Formatting Styles',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',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'字體',voiceLabel:'字體',panelTitle:'字體'},fontSize:{label:'大小',voiceLabel:'文字大小',panelTitle:'大小'},colorButton:{textColorTitle:'文字顏色',bgColorTitle:'背景顏色',panelTitle:'Colors',auto:'自動',more:'更多顏色…'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'即時拼寫檢查',opera_title:'Not supported by Opera',enable:'啟用即時拼寫檢查',disable:'關閉即時拼寫檢查',about:'關於即時拼寫檢查',toggle:'啟用/關閉即時拼寫檢查',options:'選項',langs:'語言',moreSuggestions:'更多拼寫建議',ignore:'忽略',ignoreAll:'全部忽略',addWord:'添加單詞',emptyDic:'字典名不應為空.',optionsTab:'選項',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'語言',dictionariesTab:'字典',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'關於'},about:{title:'關於 CKEditor',dlgTitle:'關於 CKEditor',moreInfo:'訪問我們的網站以獲取更多關於協議的信息',copy:'Copyright © $1. All rights reserved.'},maximize:'最大化',minimize:'Minimize',fakeobjects:{anchor:'錨點',flash:'Flash 動畫',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'不明物件'},resize:'拖拽改變大小',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/zh.js | zh.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.he={dir:'rtl',editorTitle:'עורך טקסט עשיר, %1, לחץ אלט (ALT) + 0 לעזרה.',toolbar:'סרגל הכלים',editor:'עורך טקסט עשיר',source:'מקור',newPage:'דף חדש',save:'שמירה',preview:'תצוגה מקדימה',cut:'גזירה',copy:'העתקה',paste:'הדבקה',print:'הדפסה',underline:'קו תחתון',bold:'מודגש',italic:'נטוי',selectAll:'בחירת הכל',removeFormat:'הסרת העיצוב',strike:'כתיב מחוק',subscript:'כתיב תחתון',superscript:'כתיב עליון',horizontalrule:'הוספת קו אופקי',pagebreak:'הוספת שבירת דף',pagebreakAlt:'שבירת דף',unlink:'הסרת הקישור',undo:'ביטול צעד אחרון',redo:'חזרה על צעד אחרון',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:'הרוחב חייב להיות מספר.',unavailable:'%1<span class="cke_accessibility">, לא זמין</span>'},contextmenu:{options:'אפשרויות תפריט ההקשר'},specialChar:{toolbar:'הוספת תו מיוחד',title:'בחירת תו מיוחד',options:'אפשרויות תווים מיוחדים'},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:'סגנון',selectAnchor:'בחירת עוגן',anchorName:'עפ"י שם העוגן',anchorId:'עפ"י זיהוי (ID) האלמנט',emailAddress:'כתובת הדוא"ל',emailSubject:'נושא ההודעה',emailBody:'גוף ההודעה',noAnchors:'(אין עוגנים זמינים בדף)',noUrl:'יש להקליד את כתובת הקישור (URL)',noEmail:'יש להקליד את כתובת הדוא"ל'},anchor:{toolbar:'הוספת/עריכת נקודת עיגון',menu:'מאפייני נקודת עיגון',title:'מאפייני נקודת עיגון',name:'שם לנקודת עיגון',errorName:'יש להקליד שם לנקודת עיגון'},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 וכו')"},findAndReplace:{title:'חיפוש והחלפה',find:'חיפוש',replace:'החלפה',findWhat:'חיפוש מחרוזת:',replaceWith:'החלפה במחרוזת:',notFoundMsg:'הטקסט המבוקש לא נמצא.',matchCase:'הבחנה בין אותיות רשיות לקטנות (Case)',matchWord:'התאמה למילה המלאה',matchCyclic:'התאמה מחזורית',replaceAll:'החלפה בכל העמוד',replaceSuccessMsg:'%1 טקסטים הוחלפו.'},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:{title:'מאפייני כפתור',text:'טקסט (ערך)',type:'סוג',typeBtn:'כפתור',typeSbm:'שליחה',typeRst:'איפוס'},checkboxAndRadio:{checkboxTitle:'מאפייני תיבת סימון',radioTitle:'מאפייני לחצן אפשרויות',value:'ערך',selected:'מסומן'},form:{title:'מאפיני טופס',menu:'מאפיני טופס',action:'שלח אל',method:'סוג שליחה',encoding:'קידוד'},select:{title:'מאפייני שדה בחירה',selectInfo:'מידע',opAvail:'אפשרויות זמינות',value:'ערך',size:'גודל',lines:'שורות',chkMulti:'איפשור בחירות מרובות',opText:'טקסט',opValue:'ערך',btnAdd:'הוספה',btnModify:'שינוי',btnUp:'למעלה',btnDown:'למטה',btnSetValue:'קביעה כברירת מחדל',btnDelete:'מחיקה'},textarea:{title:'מאפייני איזור טקסט',cols:'עמודות',rows:'שורות'},textfield:{title:'מאפייני שדה טקסט',name:'שם',value:'ערך',charWidth:'רוחב לפי תווים',maxChars:'מקסימום תווים',type:'סוג',typeText:'טקסט',typePass:'סיסמה'},hidden:{title:'מאפיני שדה חבוי',name:'שם',value:'ערך'},image:{title:'מאפייני התמונה',titleButton:'מאפיני כפתור תמונה',menu:'תכונות התמונה',infoTab:'מידע על התמונה',btnUpload:'שליחה לשרת',upload:'העלאה',alt:'טקסט חלופי',lockRatio:'נעילת היחס',unlockRatio:'ביטול נעילת היחס',resetSize:'איפוס הגודל',border:'מסגרת',hSpace:'מרווח אופקי',vSpace:'מרווח אנכי',alertUrl:'יש להקליד את כתובת התמונה',linkTab:'קישור',button2Img:'האם להפוך את תמונת הכפתור לתמונה פשוטה?',img2Button:'האם להפוך את התמונה לכפתור תמונה?',urlMissing:'כתובת התמונה חסרה.',validateBorder:'שדה המסגרת חייב להיות מספר שלם.',validateHSpace:'שדה המרווח האופקי חייב להיות מספר שלם.',validateVSpace:'שדה המרווח האנכי חייב להיות מספר שלם.'},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:'המרווח האנכי חייב להיות מספר.'},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',moreInfo:'למידע נוסף בקרו באתרנו:',copy:'Copyright © $1. כל הזכויות שמורות.'},maximize:'הגדלה למקסימום',minimize:'הקטנה למינימום',fakeobjects:{anchor:'עוגן',flash:'סרטון פלאש',iframe:'חלון פנימי (iframe)',hiddenfield:'שדה חבוי',unknown:'אובייקט לא ידוע'},resize:'יש לגרור בכדי לשנות את הגודל',colordialog:{title:'בחירת צבע',options:'אפשרויות צבע',highlight:'סימון',selected:'בחירה',clear:'ניקוי'},toolbarCollapse:'מזעור סרגל כלים',toolbarExpand:'הרחבת סרגל כלים',bidi:{ltr:'כיוון טקסט משמאל לימין (LTR)',rtl:'כיוון טקסט מימין לשמאל (RTL)'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/he.js | he.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.ro={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'Sursa',newPage:'Pagină nouă',save:'Salvează',preview:'Previzualizare',cut:'Taie',copy:'Copiază',paste:'Adaugă',print:'Printează',underline:'Subliniat (underline)',bold:'Îngroşat (bold)',italic:'Înclinat (italic)',selectAll:'Selectează tot',removeFormat:'Înlătură formatarea',strike:'Tăiat (strike through)',subscript:'Indice (subscript)',superscript:'Putere (superscript)',horizontalrule:'Inserează linie orizontă',pagebreak:'Inserează separator de pagină (Page Break)',pagebreakAlt:'Page Break',unlink:'Înlătură link (legătură web)',undo:'Starea anterioară (undo)',redo:'Starea ulterioară (redo)',common:{browseServer:'Răsfoieşte server',url:'URL',protocol:'Protocol',upload:'Încarcă',uploadSubmit:'Trimite la server',image:'Imagine',flash:'Flash',form:'Formular (Form)',checkbox:'Bifă (Checkbox)',radio:'Buton radio (RadioButton)',textField:'Câmp text (TextField)',textarea:'Suprafaţă text (Textarea)',hiddenField:'Câmp ascuns (HiddenField)',button:'Buton',select:'Câmp selecţie (SelectionField)',imageButton:'Buton imagine (ImageButton)',notSet:'<nesetat>',id:'Id',name:'Nume',langDir:'Direcţia cuvintelor',langDirLtr:'stânga-dreapta (LTR)',langDirRtl:'dreapta-stânga (RTL)',langCode:'Codul limbii',longDescr:'Descrierea lungă URL',cssClass:'Clasele cu stilul paginii (CSS)',advisoryTitle:'Titlul consultativ',cssStyle:'Stil',ok:'Bine',cancel:'Anulare',close:'Close',preview:'Preview',generalTab:'General',advancedTab:'Avansat',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'Lăţime',height:'Înălţime',align:'Aliniere',alignLeft:'Stânga',alignRight:'Dreapta',alignCenter:'Centru',alignTop:'Sus',alignMiddle:'Mijloc',alignBottom:'Jos',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'Inserează caracter special',title:'Selectează caracter special',options:'Special Character Options'},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 frame-ului ţintă',targetPopupName:'Numele ferestrei popup',popupFeatures:'Proprietăţile ferestrei popup',popupResizable:'Resizable',popupStatusBar:'Bara de status',popupLocationBar:'Bara de locaţie',popupToolbar:'Bara de opţiuni',popupMenuBar:'Bara de meniu',popupFullScreen:'Tot ecranul (Full Screen)(IE)',popupScrollBars:'Scroll Bars',popupDependent:'Dependent (Netscape)',popupLeft:'Poziţia la stânga',popupTop:'Poziţia la dreapta',id:'Id',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',selectAnchor:'Selectaţi o ancoră',anchorName:'după numele ancorei',anchorId:'după Id-ul elementului',emailAddress:'Adresă de e-mail',emailSubject:'Subiectul mesajului',emailBody:'Conţinutul mesajului',noAnchors:'(Nicio ancoră disponibilă în document)',noUrl:'Vă rugăm să scrieţi URL-ul',noEmail:'Vă rugăm să scrieţi adresa de e-mail'},anchor:{toolbar:'Inserează/Editează ancoră',menu:'Proprietăţi ancoră',title:'Proprietăţi ancoră',name:'Numele ancorei',errorName:'Vă rugăm scrieţi numele ancorei'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},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.',matchCase:'Deosebeşte majuscule de minuscule (Match case)',matchWord:'Doar cuvintele întregi',matchCyclic:'Match cyclic',replaceAll:'Înlocuieşte tot',replaceSuccessMsg:'%1 occurrence(s) replaced.'},table:{toolbar:'Tabel',title:'Proprietăţile tabelului',menu:'Proprietăţile tabelului',deleteTable:'Şterge tabel',rows:'Linii',columns:'Coloane',border:'Mărimea marginii',widthPx:'pixeli',widthPc:'procente',widthUnit:'width unit',cellSpace:'Spaţiu între celule',cellPad:'Spaţiu în cadrul celulei',caption:'Titlu (Caption)',summary:'Rezumat',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:'Celulă',insertBefore:'Inserează celulă înainte',insertAfter:'Inserează celulă după',deleteCell:'Şterge celule',merge:'Uneşte celule',mergeRight:'Uneşte la dreapta',mergeDown:'Uneşte jos',splitHorizontal:'Împarte celula pe orizontală',splitVertical:'Împarte celula pe verticală',title:'Cell Properties',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'},row:{menu:'Linie',insertBefore:'Inserează linie înainte',insertAfter:'Inserează linie după',deleteRow:'Şterge linii'},column:{menu:'Coloană',insertBefore:'Inserează coloană înainte',insertAfter:'Inserează coloană după',deleteColumn:'Şterge celule'}},button:{title:'Proprietăţi buton',text:'Text (Valoare)',type:'Tip',typeBtn:'Button',typeSbm:'Submit',typeRst:'Reset'},checkboxAndRadio:{checkboxTitle:'Proprietăţi bifă (Checkbox)',radioTitle:'Proprietăţi buton radio (Radio Button)',value:'Valoare',selected:'Selectat'},form:{title:'Proprietăţi formular (Form)',menu:'Proprietăţi formular (Form)',action:'Acţiune',method:'Metodă',encoding:'Encoding'},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:{title:'Proprietăţi suprafaţă text (Textarea)',cols:'Coloane',rows:'Linii'},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:{title:'Proprietăţi câmp ascuns (Hidden Field)',name:'Nume',value:'Valoare'},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',unlockRatio:'Unlock Ratio',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?',img2Button:'Do you want to transform the selected image on a image button?',urlMissing:'Image source URL is missing.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'Proprietăţile flash-ului',propertiesTab:'Properties',title:'Proprietăţile flash-ului',chkPlay:'Rulează automat',chkLoop:'Repetă (Loop)',chkMenu:'Activează meniul flash',chkFull:'Allow Fullscreen',scale:'Scală',scaleAll:'Arată tot',scaleNoBorder:'Fără margini (No border)',scaleFit:'Potriveşte',access:'Script Access',accessAlways:'Always',accessSameDomain:'Same domain',accessNever:'Never',alignAbsBottom:'Jos absolut (Abs Bottom)',alignAbsMiddle:'Mijloc absolut (Abs Middle)',alignBaseline:'Linia de jos (Baseline)',alignTextTop:'Text sus',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'Coloarea fundalului',hSpace:'HSpace',vSpace:'VSpace',validateSrc:'Vă rugăm să scrieţi URL-ul',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'Verifică text',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application 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:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},numberedlist:'Listă numerotată',bulletedlist:'Listă cu puncte',indent:'Creşte indentarea',outdent:'Scade indentarea',justify:{left:'Aliniere la stânga',center:'Aliniere centrală',right:'Aliniere la dreapta',block:'Aliniere în bloc (Block Justify)'},blockquote:'Citat',clipboard:{title:'Adaugă',cutError:'Setările de securitate ale navigatorului (browser) pe care îl folosiţi nu permit editorului să execute automat operaţiunea de tăiere. Vă rugăm folosiţi tastatura (Ctrl/Cmd+X).',copyError:'Setările de securitate ale navigatorului (browser) pe care îl folosiţi nu permit editorului să execute automat operaţiunea de copiere. Vă rugăm folosiţi tastatura (Ctrl/Cmd+C).',pasteMsg:'Vă rugăm adăugaţi în căsuţa următoare folosind tastatura (<STRONG>Ctrl/Cmd+V</STRONG>) şi apăsaţi <STRONG>OK</STRONG>.',securityMsg:'Din cauza setărilor de securitate ale programului dvs. cu care navigaţi pe internet (browser), editorul nu poate accesa direct datele din clipboard. Va trebui să adăugaţi din nou datele în această fereastră.',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'Adaugă din Word',title:'Adaugă din Word',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'Adaugă ca text simplu (Plain Text)',title:'Adaugă ca text simplu (Plain Text)'},templates:{button:'Template-uri (şabloane)',title:'Template-uri (şabloane) de conţinut',options:'Template Options',insertOption:'Înlocuieşte cuprinsul actual',selectPromptMsg:'Vă rugăm selectaţi template-ul (şablonul) ce se va deschide în editor<br>(conţinutul actual va fi pierdut):',emptyListMsg:'(Niciun template (şablon) definit)'},showBlocks:'Arată blocurile',stylesCombo:{label:'Stil',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},format:{label:'Formatare',panelTitle:'Formatare',tag_p:'Normal',tag_pre:'Formatted',tag_address:'Address',tag_h1:'Heading 1',tag_h2:'Heading 2',tag_h3:'Heading 3',tag_h4:'Heading 4',tag_h5:'Heading 5',tag_h6:'Heading 6',tag_div:'Normal (DIV)'},div:{title:'Create Div Container',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'Font',voiceLabel:'Font',panelTitle:'Font'},fontSize:{label:'Mărime',voiceLabel:'Font Size',panelTitle:'Mărime'},colorButton:{textColorTitle:'Culoarea textului',bgColorTitle:'Coloarea fundalului',panelTitle:'Colors',auto:'Automatic',more:'Mai multe culori...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/ro.js | ro.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.lang.km={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'កូត',newPage:'ទំព័រថ្មី',save:'រក្សាទុក',preview:'មើលសាកល្បង',cut:'កាត់យក',copy:'ចំលងយក',paste:'ចំលងដាក់',print:'បោះពុម្ភ',underline:'ដិតបន្ទាត់ពីក្រោមអក្សរ',bold:'អក្សរដិតធំ',italic:'អក្សរផ្តេក',selectAll:'ជ្រើសរើសទាំងអស់',removeFormat:'លប់ចោល ការរចនា',strike:'ដិតបន្ទាត់ពាក់កណ្តាលអក្សរ',subscript:'អក្សរតូចក្រោម',superscript:'អក្សរតូចលើ',horizontalrule:'បន្ថែមបន្ទាត់ផ្តេក',pagebreak:'បន្ថែម ការផ្តាច់ទំព័រ',pagebreakAlt:'Page Break',unlink:'លប់ឈ្នាប់',undo:'សារឡើងវិញ',redo:'ធ្វើឡើងវិញ',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',preview:'Preview',generalTab:'General',advancedTab:'កំរិតខ្ពស់',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'ទទឹង',height:'កំពស់',align:'កំណត់ទីតាំង',alignLeft:'ខាងឆ្វង',alignRight:'ខាងស្តាំ',alignCenter:'កណ្តាល',alignTop:'ខាងលើ',alignMiddle:'កណ្តាល',alignBottom:'ខាងក្រោម',invalidHeight:'Height must be a number.',invalidWidth:'Width must be a number.',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'បន្ថែមអក្សរពិសេស',title:'តូអក្សរពិសេស',options:'Special Character Options'},link:{toolbar:'បន្ថែម/កែប្រែ ឈ្នាប់',other:'<other>',menu:'កែប្រែឈ្នាប់',title:'ឈ្នាប់',info:'ពត៌មានអំពីឈ្នាប់',target:'គោលដៅ',upload:'ទាញយក',advanced:'កំរិតខ្ពស់',type:'ប្រភេទឈ្នាប់',toUrl:'URL',toAnchor:'យុថ្កានៅក្នុងទំព័រនេះ',toEmail:'អ៊ីមែល',targetFrame:'<ហ្វ្រេម>',targetPopup:'<វីនដូវ លោត>',targetFrameName:'ឈ្មោះហ្រ្វេមដែលជាគោលដៅ',targetPopupName:'ឈ្មោះវីនដូវលោត',popupFeatures:'លក្ខណះរបស់វីនដូលលោត',popupResizable:'Resizable',popupStatusBar:'របា ពត៌មាន',popupLocationBar:'របា ទីតាំង',popupToolbar:'របា ឩបករណ៍',popupMenuBar:'របា មឺនុយ',popupFullScreen:'អេក្រុងពេញ(IE)',popupScrollBars:'របា ទាញ',popupDependent:'អាស្រ័យលើ (Netscape)',popupLeft:'ទីតាំងខាងឆ្វេង',popupTop:'ទីតាំងខាងលើ',id:'Id',langDir:'ទិសដៅភាសា',langDirLTR:'ពីឆ្វេងទៅស្តាំ(LTR)',langDirRTL:'ពីស្តាំទៅឆ្វេង(RTL)',acccessKey:'ឃី សំរាប់ចូល',name:'ឈ្មោះ',langCode:'ទិសដៅភាសា',tabIndex:'លេខ Tab',advisoryTitle:'ចំណងជើង ប្រឹក្សា',advisoryContentType:'ប្រភេទអត្ថបទ ប្រឹក្សា',cssClasses:'Stylesheet Classes',charset:'លេខកូតអក្សររបស់ឈ្នាប់',styles:'ម៉ូត',selectAnchor:'ជ្រើសរើសយុថ្កា',anchorName:'តាមឈ្មោះរបស់យុថ្កា',anchorId:'តាម Id',emailAddress:'អ៊ីមែល',emailSubject:'ចំណងជើងអត្ថបទ',emailBody:'អត្ថបទ',noAnchors:'(No anchors available in the document)',noUrl:'សូមសរសេរ អាស័យដ្ឋាន URL',noEmail:'សូមសរសេរ អាស័យដ្ឋាន អ៊ីមែល'},anchor:{toolbar:'បន្ថែម/កែប្រែ យុថ្កា',menu:'ការកំណត់យុថ្កា',title:'ការកំណត់យុថ្កា',name:'ឈ្មោះយុទ្ធថ្កា',errorName:'សូមសរសេរ ឈ្មោះយុទ្ធថ្កា'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'Find and Replace',find:'ស្វែងរក',replace:'ជំនួស',findWhat:'ស្វែងរកអ្វី:',replaceWith:'ជំនួសជាមួយ:',notFoundMsg:'ពាក្យនេះ រកមិនឃើញទេ ។',matchCase:'ករណ៉ត្រូវរក',matchWord:'ត្រូវពាក្យទាំងអស់',matchCyclic:'Match cyclic',replaceAll:'ជំនួសទាំងអស់',replaceSuccessMsg:'%1 occurrence(s) replaced.'},table:{toolbar:'តារាង',title:'ការកំណត់ តារាង',menu:'ការកំណត់ តារាង',deleteTable:'លប់តារាង',rows:'ជួរផ្តេក',columns:'ជួរឈរ',border:'ទំហំស៊ុម',widthPx:'ភីកសែល',widthPc:'ភាគរយ',widthUnit:'width unit',cellSpace:'គំលាតសែល',cellPad:'គែមសែល',caption:'ចំណងជើង',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:'លប់សែល',merge:'បញ្ជូលសែល',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'},row:{menu:'Row',insertBefore:'Insert Row Before',insertAfter:'Insert Row After',deleteRow:'លប់ជួរផ្តេក'},column:{menu:'Column',insertBefore:'Insert Column Before',insertAfter:'Insert Column After',deleteColumn:'លប់ជួរឈរ'}},button:{title:'ការកំណត់ ប៉ូតុន',text:'អត្ថបទ(តំលៃ)',type:'ប្រភេទ',typeBtn:'Button',typeSbm:'Submit',typeRst:'Reset'},checkboxAndRadio:{checkboxTitle:'ការកំណត់ប្រអប់ជ្រើសរើស',radioTitle:'ការកំណត់ប៉ូតុនរង្វង់',value:'តំលៃ',selected:'បានជ្រើសរើស'},form:{title:'ការកំណត់បែបបទ',menu:'ការកំណត់បែបបទ',action:'សកម្មភាព',method:'វិធី',encoding:'Encoding'},select:{title:'ការកំណត់ជួរជ្រើសរើស',selectInfo:'ពត៌មាន',opAvail:'ការកំណត់ជ្រើសរើស ដែលអាចកំណត់បាន',value:'តំលៃ',size:'ទំហំ',lines:'បន្ទាត់',chkMulti:'អនុញ្ញាតអោយជ្រើសរើសច្រើន',opText:'ពាក្យ',opValue:'តំលៃ',btnAdd:'បន្ថែម',btnModify:'ផ្លាស់ប្តូរ',btnUp:'លើ',btnDown:'ក្រោម',btnSetValue:'Set as selected value',btnDelete:'លប់'},textarea:{title:'ការកំណត់កន្លែងសរសេរអត្ថបទ',cols:'ជូរឈរ',rows:'ជូរផ្តេក'},textfield:{title:'ការកំណត់ជួរអត្ថបទ',name:'ឈ្មោះ',value:'តំលៃ',charWidth:'ទទឹង អក្សរ',maxChars:'អក្សរអតិបរិមា',type:'ប្រភេទ',typeText:'ពាក្យ',typePass:'ពាក្យសំងាត់'},hidden:{title:'ការកំណត់ជួរលាក់',name:'ឈ្មោះ',value:'តំលៃ'},image:{title:'ការកំណត់រូបភាព',titleButton:'ការកំណត់ប៉ូតុនរូបភាព',menu:'ការកំណត់រូបភាព',infoTab:'ពត៌មានអំពីរូបភាព',btnUpload:'បញ្ជូនទៅកាន់ម៉ាស៊ីនផ្តល់សេវា',upload:'ទាញយក',alt:'អត្ថបទជំនួស',lockRatio:'អត្រាឡុក',unlockRatio:'Unlock Ratio',resetSize:'កំណត់ទំហំឡើងវិញ',border:'ស៊ុម',hSpace:'គំលាតទទឹង',vSpace:'គំលាតបណ្តោយ',alertUrl:'សូមសរសេរងាស័យដ្ឋានរបស់រូបភាព',linkTab:'ឈ្នាប់',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.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'ការកំណត់ Flash',propertiesTab:'Properties',title:'ការកំណត់ Flash',chkPlay:'លេងដោយស្វ័យប្រវត្ត',chkLoop:'ចំនួនដង',chkMenu:'បង្ហាញ មឺនុយរបស់ Flash',chkFull:'Allow Fullscreen',scale:'ទំហំ',scaleAll:'បង្ហាញទាំងអស់',scaleNoBorder:'មិនបង្ហាញស៊ុម',scaleFit:'ត្រូវល្មម',access:'Script Access',accessAlways:'Always',accessSameDomain:'Same domain',accessNever:'Never',alignAbsBottom:'Abs Bottom',alignAbsMiddle:'Abs Middle',alignBaseline:'បន្ទាត់ជាមូលដ្ឋាន',alignTextTop:'លើអត្ថបទ',quality:'Quality',qualityBest:'Best',qualityHigh:'High',qualityAutoHigh:'Auto High',qualityMedium:'Medium',qualityAutoLow:'Auto Low',qualityLow:'Low',windowModeWindow:'Window',windowModeOpaque:'Opaque',windowModeTransparent:'Transparent',windowMode:'Window mode',flashvars:'Variables for Flash',bgcolor:'ពណ៌ផ្ទៃខាងក្រោយ',hSpace:'គំលាតទទឹង',vSpace:'គំលាតបណ្តោយ',validateSrc:'សូមសរសេរ អាស័យដ្ឋាន URL',validateHSpace:'HSpace must be a number.',validateVSpace:'VSpace must be a number.'},spellCheck:{toolbar:'ពិនិត្យអក្ខរាវិរុទ្ធ',title:'Spell Check',notAvailable:'Sorry, but service is unavailable now.',errorLoading:'Error loading application service host: %s.',notInDic:'គ្មានក្នុងវចនានុក្រម',changeTo:'ផ្លាស់ប្តូរទៅ',btnIgnore:'មិនផ្លាស់ប្តូរ',btnIgnoreAll:'មិនផ្លាស់ប្តូរ ទាំងអស់',btnReplace:'ជំនួស',btnReplaceAll:'ជំនួសទាំងអស់',btnUndo:'សារឡើងវិញ',noSuggestions:'- គ្មានសំណើរ -',progress:'កំពុងពិនិត្យអក្ខរាវិរុទ្ធ...',noMispell:'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: គ្មានកំហុស',noChanges:'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពុំមានផ្លាស់ប្តូរ',oneChange:'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពាក្យមួយត្រូចបានផ្លាស់ប្តូរ',manyChanges:'ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: %1 ពាក្យបានផ្លាស់ប្តូរ',ieSpellDownload:'ពុំមានកម្មវិធីពិនិត្យអក្ខរាវិរុទ្ធ ។ តើចង់ទាញយកពីណា?'},smiley:{toolbar:'រូបភាព',title:'បញ្ជូលរូបភាព',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 element'},numberedlist:'បញ្ជីជាអក្សរ',bulletedlist:'បញ្ជីជារង្វង់មូល',indent:'បន្ថែមការចូលបន្ទាត់',outdent:'បន្ថយការចូលបន្ទាត់',justify:{left:'តំរឹមឆ្វេង',center:'តំរឹមកណ្តាល',right:'តំរឹមស្តាំ',block:'តំរឹមសងខាង'},blockquote:'Block Quote',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.',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',toolbar:'ចំលងដាក់ពី Word',title:'ចំលងដាក់ពី Word',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'ចំលងដាក់អត្ថបទធម្មតា',title:'ចំលងដាក់អត្ថបទធម្មតា'},templates:{button:'ឯកសារគំរូ',title:'ឯកសារគំរូ របស់អត្ថន័យ',options:'Template Options',insertOption:'Replace actual contents',selectPromptMsg:'សូមជ្រើសរើសឯកសារគំរូ ដើម្បីបើកនៅក្នុងកម្មវិធីតាក់តែងអត្ថបទ<br>(អត្ថបទនឹងបាត់បង់):',emptyListMsg:'(ពុំមានឯកសារគំរូត្រូវបានកំណត់)'},showBlocks:'Show Blocks',stylesCombo:{label:'ម៉ូត',panelTitle:'Formatting Styles',panelTitle1:'Block Styles',panelTitle2:'Inline Styles',panelTitle3:'Object Styles'},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',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'ហ្វុង',voiceLabel:'Font',panelTitle:'ហ្វុង'},fontSize:{label:'ទំហំ',voiceLabel:'Font Size',panelTitle:'ទំហំ'},colorButton:{textColorTitle:'ពណ៌អក្សរ',bgColorTitle:'ពណ៌ផ្ទៃខាងក្រោយ',panelTitle:'Colors',auto:'ស្វ័យប្រវត្ត',more:'ពណ៌ផ្សេងទៀត..'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'Spell Check As You Type',opera_title:'Not supported by Opera',enable:'Enable SCAYT',disable:'Disable SCAYT',about:'About SCAYT',toggle:'Toggle SCAYT',options:'Options',langs:'Languages',moreSuggestions:'More suggestions',ignore:'Ignore',ignoreAll:'Ignore All',addWord:'Add Word',emptyDic:'Dictionary name should not be empty.',optionsTab:'Options',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'Languages',dictionariesTab:'Dictionaries',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',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.',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright © $1. All rights reserved.'},maximize:'Maximize',minimize:'Minimize',fakeobjects:{anchor:'Anchor',flash:'Flash Animation',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'Unknown Object'},resize:'Drag to resize',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'}}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/lang/km.js | km.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
(function(){CKEDITOR.config.jqueryOverrideVal=typeof CKEDITOR.config.jqueryOverrideVal=='undefined'?true:CKEDITOR.config.jqueryOverrideVal;var a=window.jQuery;if(typeof a=='undefined')return;a.extend(a.fn,{ckeditorGet:function(){var b=this.eq(0).data('ckeditorInstance');if(!b)throw 'CKEditor not yet initialized, use ckeditor() with callback.';return b;},ckeditor:function(b,c){if(!CKEDITOR.env.isCompatible)return this;if(!a.isFunction(b)){var d=c;c=b;b=d;}c=c||{};this.filter('textarea, div, p').each(function(){var e=a(this),f=e.data('ckeditorInstance'),g=e.data('_ckeditorInstanceLock'),h=this;if(f&&!g){if(b)b.apply(f,[this]);}else if(!g){if(c.autoUpdateElement||typeof c.autoUpdateElement=='undefined'&&CKEDITOR.config.autoUpdateElement)c.autoUpdateElementJquery=true;c.autoUpdateElement=false;e.data('_ckeditorInstanceLock',true);f=CKEDITOR.replace(h,c);e.data('ckeditorInstance',f);f.on('instanceReady',function(i){var j=i.editor;setTimeout(function(){if(!j.element){setTimeout(arguments.callee,100);return;}i.removeListener('instanceReady',this.callee);j.on('dataReady',function(){e.trigger('setData.ckeditor',[j]);});j.on('getData',function(l){e.trigger('getData.ckeditor',[j,l.data]);},999);j.on('destroy',function(){e.trigger('destroy.ckeditor',[j]);});if(j.config.autoUpdateElementJquery&&e.is('textarea')&&e.parents('form').length){var k=function(){e.ckeditor(function(){j.updateElement();});};e.parents('form').submit(k);e.parents('form').bind('form-pre-serialize',k);e.bind('destroy.ckeditor',function(){e.parents('form').unbind('submit',k);e.parents('form').unbind('form-pre-serialize',k);});}j.on('destroy',function(){e.data('ckeditorInstance',null);});e.data('_ckeditorInstanceLock',null);e.trigger('instanceReady.ckeditor',[j]);if(b)b.apply(j,[h]);},0);},null,null,9999);}else CKEDITOR.on('instanceReady',function(i){var j=i.editor;setTimeout(function(){if(!j.element){setTimeout(arguments.callee,100);return;}if(j.element.$==h)if(b)b.apply(j,[h]);},0);},null,null,9999);});return this;}});if(CKEDITOR.config.jqueryOverrideVal)a.fn.val=CKEDITOR.tools.override(a.fn.val,function(b){return function(c,d){var e=typeof c!='undefined',f;this.each(function(){var g=a(this),h=g.data('ckeditorInstance');if(!d&&g.is('textarea')&&h){if(e)h.setData(c);else{f=h.getData();return null;}}else if(e)b.call(g,c);else{f=b.call(g);return null;}return true;});return e?this:f;};});})(); | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/adapters/jquery.js | jquery.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.skins.add('kama',(function(){var a='cke_ui_color';return{editor:{css:['editor.css']},dialog:{css:['dialog.css']},templates:{css:['templates.css']},margins:[0,0,0,0],init:function(b){if(b.config.width&&!isNaN(b.config.width))b.config.width-=12;var c=[],d=/\$color/g,e='/* UI Color Support */.cke_skin_kama .cke_menuitem .cke_icon_wrapper{\tbackground-color: $color !important;\tborder-color: $color !important;}.cke_skin_kama .cke_menuitem a:hover .cke_icon_wrapper,.cke_skin_kama .cke_menuitem a:focus .cke_icon_wrapper,.cke_skin_kama .cke_menuitem a:active .cke_icon_wrapper{\tbackground-color: $color !important;\tborder-color: $color !important;}.cke_skin_kama .cke_menuitem a:hover .cke_label,.cke_skin_kama .cke_menuitem a:focus .cke_label,.cke_skin_kama .cke_menuitem a:active .cke_label{\tbackground-color: $color !important;}.cke_skin_kama .cke_menuitem a.cke_disabled:hover .cke_label,.cke_skin_kama .cke_menuitem a.cke_disabled:focus .cke_label,.cke_skin_kama .cke_menuitem a.cke_disabled:active .cke_label{\tbackground-color: transparent !important;}.cke_skin_kama .cke_menuitem a.cke_disabled:hover .cke_icon_wrapper,.cke_skin_kama .cke_menuitem a.cke_disabled:focus .cke_icon_wrapper,.cke_skin_kama .cke_menuitem a.cke_disabled:active .cke_icon_wrapper{\tbackground-color: $color !important;\tborder-color: $color !important;}.cke_skin_kama .cke_menuitem a.cke_disabled .cke_icon_wrapper{\tbackground-color: $color !important;\tborder-color: $color !important;}.cke_skin_kama .cke_menuseparator{\tbackground-color: $color !important;}.cke_skin_kama .cke_menuitem a:hover,.cke_skin_kama .cke_menuitem a:focus,.cke_skin_kama .cke_menuitem a:active{\tbackground-color: $color !important;}';if(CKEDITOR.env.webkit){e=e.split('}').slice(0,-1);for(var f=0;f<e.length;f++)e[f]=e[f].split('{');}function g(j){var k=j.getById(a);if(!k){k=j.getHead().append('style');k.setAttribute('id',a);k.setAttribute('type','text/css');}return k;};function h(j,k,l){var m,n,o;for(var p=0;p<j.length;p++){if(CKEDITOR.env.webkit)for(n=0;n<k.length;n++){o=k[n][1];for(m=0;m<l.length;m++)o=o.replace(l[m][0],l[m][1]);j[p].$.sheet.addRule(k[n][0],o);}else{o=k;for(m=0;m<l.length;m++)o=o.replace(l[m][0],l[m][1]);if(CKEDITOR.env.ie)j[p].$.styleSheet.cssText+=o;else j[p].$.innerHTML+=o;}}};var i=/\$color/g;CKEDITOR.tools.extend(b,{uiColor:null,getUiColor:function(){return this.uiColor;},setUiColor:function(j){var k,l=g(CKEDITOR.document),m='.'+b.id,n=[m+' .cke_wrapper',m+'_dialog .cke_dialog_contents',m+'_dialog a.cke_dialog_tab',m+'_dialog .cke_dialog_footer'].join(','),o='background-color: $color !important;';
if(CKEDITOR.env.webkit)k=[[n,o]];else k=n+'{'+o+'}';return(this.setUiColor=function(p){var q=[[i,p]];b.uiColor=p;h([l],k,q);h(c,e,q);})(j);}});b.on('menuShow',function(j){var k=j.data[0],l=k.element.getElementsByTag('iframe').getItem(0).getFrameDocument();if(!l.getById('cke_ui_color')){var m=g(l);c.push(m);var n=b.getUiColor();if(n)h([m],e,[[i,n]]);}});if(b.config.uiColor)b.setUiColor(b.config.uiColor);}};})());(function(){CKEDITOR.dialog?a():CKEDITOR.on('dialogPluginReady',a);function a(){CKEDITOR.dialog.on('resize',function(b){var c=b.data,d=c.width,e=c.height,f=c.dialog,g=f.parts.contents;if(c.skin!='kama')return;g.setStyles({width:d+'px',height:e+'px'});});};})(); | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/skins/kama/skin.js | skin.js |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.themes.add('default',(function(){function a(b,c){var d,e;e=b.config.sharedSpaces;e=e&&e[c];e=e&&CKEDITOR.document.getById(e);if(e){var f='<span class="cke_shared " dir="'+b.lang.dir+'"'+'>'+'<span class="'+b.skinClass+' '+b.id+' cke_editor_'+b.name+'">'+'<span class="'+CKEDITOR.env.cssClass+'">'+'<span class="cke_wrapper cke_'+b.lang.dir+'">'+'<span class="cke_editor">'+'<div class="cke_'+c+'">'+'</div></span></span></span></span></span>',g=e.append(CKEDITOR.dom.element.createFromHtml(f,e.getDocument()));if(e.getCustomData('cke_hasshared'))g.hide();else e.setCustomData('cke_hasshared',1);d=g.getChild([0,0,0,0]);!b.sharedSpaces&&(b.sharedSpaces={});b.sharedSpaces[c]=d;b.on('focus',function(){for(var h=0,i,j=e.getChildren();i=j.getItem(h);h++){if(i.type==CKEDITOR.NODE_ELEMENT&&!i.equals(g)&&i.hasClass('cke_shared'))i.hide();}g.show();});b.on('destroy',function(){g.remove();});}return d;};return{build:function(b,c){var d=b.name,e=b.element,f=b.elementMode;if(!e||f==CKEDITOR.ELEMENT_MODE_NONE)return;if(f==CKEDITOR.ELEMENT_MODE_REPLACE)e.hide();var g=b.fire('themeSpace',{space:'top',html:''}).html,h=b.fire('themeSpace',{space:'contents',html:''}).html,i=b.fireOnce('themeSpace',{space:'bottom',html:''}).html,j=h&&b.config.height,k=b.config.tabIndex||b.element.getAttribute('tabindex')||0;if(!h)j='auto';else if(!isNaN(j))j+='px';var l='',m=b.config.width;if(m){if(!isNaN(m))m+='px';l+='width: '+m+';';}var n=g&&a(b,'top'),o=a(b,'bottom');n&&(n.setHtml(g),g='');o&&(o.setHtml(i),i='');var p=CKEDITOR.dom.element.createFromHtml(['<span id="cke_',d,'" class="',b.skinClass,' ',b.id,' cke_editor_',d,'" dir="',b.lang.dir,'" title="',CKEDITOR.env.gecko?' ':'','" lang="',b.langCode,'"'+(CKEDITOR.env.webkit?' tabindex="'+k+'"':'')+' role="application"'+' aria-labelledby="cke_',d,'_arialbl"'+(l?' style="'+l+'"':'')+'>'+'<span id="cke_',d,'_arialbl" class="cke_voice_label">'+b.lang.editor+'</span>'+'<span class="',CKEDITOR.env.cssClass,'" role="presentation"><span class="cke_wrapper cke_',b.lang.dir,'" role="presentation"><table class="cke_editor" border="0" cellspacing="0" cellpadding="0" role="presentation"><tbody><tr',g?'':' style="display:none"',' role="presentation"><td id="cke_top_',d,'" class="cke_top" role="presentation">',g,'</td></tr><tr',h?'':' style="display:none"',' role="presentation"><td id="cke_contents_',d,'" class="cke_contents" style="height:',j,'" role="presentation">',h,'</td></tr><tr',i?'':' style="display:none"',' role="presentation"><td id="cke_bottom_',d,'" class="cke_bottom" role="presentation">',i,'</td></tr></tbody></table><style>.',b.skinClass,'{visibility:hidden;}</style></span></span></span>'].join(''));
p.getChild([1,0,0,0,0]).unselectable();p.getChild([1,0,0,0,2]).unselectable();if(f==CKEDITOR.ELEMENT_MODE_REPLACE)p.insertAfter(e);else e.append(p);b.container=p;p.disableContextMenu();b.fireOnce('themeLoaded');b.fireOnce('uiReady');},buildDialog:function(b){var c=CKEDITOR.tools.getNextNumber(),d=CKEDITOR.dom.element.createFromHtml(['<div class="',b.id,'_dialog cke_editor_',b.name.replace('.','\\.'),'_dialog cke_skin_',b.skinName,'" dir="',b.lang.dir,'" lang="',b.langCode,'" role="dialog" aria-labelledby="%title#"><table class="cke_dialog',' '+CKEDITOR.env.cssClass,' cke_',b.lang.dir,'" style="position:absolute" role="presentation"><tr><td role="presentation"><div class="%body" role="presentation"><div id="%title#" class="%title" role="presentation"></div><a id="%close_button#" class="%close_button" href="javascript:void(0)" title="'+b.lang.common.close+'" role="button"><span class="cke_label">X</span></a>'+'<div id="%tabs#" class="%tabs" role="tablist"></div>'+'<table class="%contents" role="presentation">'+'<tr>'+'<td id="%contents#" class="%contents" role="presentation"></td>'+'</tr>'+'<tr>'+'<td id="%footer#" class="%footer" role="presentation"></td>'+'</tr>'+'</table>'+'</div>'+'<div id="%tl#" class="%tl"></div>'+'<div id="%tc#" class="%tc"></div>'+'<div id="%tr#" class="%tr"></div>'+'<div id="%ml#" class="%ml"></div>'+'<div id="%mr#" class="%mr"></div>'+'<div id="%bl#" class="%bl"></div>'+'<div id="%bc#" class="%bc"></div>'+'<div id="%br#" class="%br"></div>'+'</td></tr>'+'</table>',CKEDITOR.env.ie?'':'<style>.cke_dialog{visibility:hidden;}</style>','</div>'].join('').replace(/#/g,'_'+c).replace(/%/g,'cke_dialog_')),e=d.getChild([0,0,0,0,0]),f=e.getChild(0),g=e.getChild(1);f.unselectable();g.unselectable();return{element:d,parts:{dialog:d.getChild(0),title:f,close:g,tabs:e.getChild(2),contents:e.getChild([3,0,0,0]),footer:e.getChild([3,0,1,0])}};},destroy:function(b){var c=b.container,d=b.element;if(c){c.clearCustomData();c.remove();}if(d){d.clearCustomData();b.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE&&d.show();delete b.element;}}};})());CKEDITOR.editor.prototype.getThemeSpace=function(a){var b='cke_'+a,c=this._[b]||(this._[b]=CKEDITOR.document.getById(b+'_'+this.name));return c;};CKEDITOR.editor.prototype.resize=function(a,b,c,d){var e=this.container,f=CKEDITOR.document.getById('cke_contents_'+this.name),g=d?e.getChild(1):e;CKEDITOR.env.webkit&&g.setStyle('display','none');g.setSize('width',a,true);if(CKEDITOR.env.webkit){g.$.offsetWidth;g.setStyle('display','');
}var h=c?0:(g.$.offsetHeight||0)-(f.$.clientHeight||0);f.setStyle('height',Math.max(b-h,0)+'px');this.fire('resize');};CKEDITOR.editor.prototype.getResizable=function(){return this.container;}; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/themes/default/theme.js | theme.js |
/**
* SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
*
* SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*
*/
/*
Copyright (c) 2007 Geoff Stearns
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/*jsl:ignoreall*/
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject; | z3c.formwidget.ckeditor | /z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/_samples/assets/swfobject.js | swfobject.js |
Introduction
============
This package implements a widget that groups select values into optgroups.
Usage
=====
Imagine you have the following schema::
class IMySchema(Interface):
country = schema.Choice(
required=True,
title=u"Country",
vocabulary='countries',
)
subdivision = schema.Choice(
required=True,
title=u"State",
vocabulary='subdivisions',
)
region = schema.Choice(
required=True,
title=u"County",
vocabulary='regions',
)
When you create your vocabularies (e.g. using ``SimpleVocabulary``), instead of adding ``SimpleTerm`` items::
...
for country in pycountry.countries:
terms.append(SimpleTerm(value=country.alpha2, token=country.alpha2,
title=country.name))
...
you add ``OptgroupTerm`` items::
from z3c.formwidget.optgroup.widget import OptgroupTerm
...
country_list = countries(context)
for item in pycountry.subdivisions:
parent = country_list.getTermByToken(item.country_code).title
terms.append(OptgroupTerm(value=item.code, token=item.code,
title=item.name, optgroup=parent))
...
In your form, simply assign the ``OptgroupFieldWidget``::
from z3c.formwidget.optgroup.widget import OptgroupFieldWidget
class MyForm(form.Form):
fields = field.Fields(IMySchema)
fields['subdivision'].widgetFactory = OptgroupFieldWidget
fields['region'].widgetFactory = OptgroupFieldWidget
| z3c.formwidget.optgroup | /z3c.formwidget.optgroup-1.2.tar.gz/z3c.formwidget.optgroup-1.2/README.txt | README.txt |
##############################################################################
#
# Copyright (c) 2012 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""An optgroup widget for z3c.form."""
# zope imports
from z3c.form import converter, interfaces
from z3c.form.browser import widget
from z3c.form.browser.select import SelectWidget
from z3c.form.widget import FieldWidget
from zope.component import adapter, getMultiAdapter
from zope.schema.interfaces import (IFromUnicode, ITextLine,
ITitledTokenizedTerm, ITokenizedTerm)
from zope.i18n import translate
from zope.interface import implementer, implements
from zope.interface.declarations import directlyProvides
# local imports
from z3c.formwidget.optgroup.interfaces import IOptgroupWidget
class OptgroupTerm(object):
"""A SimpleTerm with an aditional attribute "optgroup".
It's also a tokenized term used by SimpleVocabulary.
"""
implements(ITokenizedTerm)
def __init__(self, value, token=None, title=None, optgroup=None):
"""Create a term for value and token.
If token is omitted, str(value) is used for the token. If title is
provided, term implements ITitledTokenizedTerm.
"""
self.optgroup = optgroup
self.value = value
if token is None:
token = value
self.token = str(token)
self.title = title
if title is not None:
directlyProvides(self, ITitledTokenizedTerm)
class OptgroupWidget(SelectWidget):
"""Optgroup widget based on SelectWidget."""
implements(IOptgroupWidget, IFromUnicode)
klass = u'optgroup-widget'
def update(self):
"""See z3c.form.interfaces.IWidget."""
super(OptgroupWidget, self).update()
widget.addFieldClass(self)
@property
def items(self):
if self.terms is None: # update() has not been called yet
return ()
items = []
if self.multiple is None:
message = self.noValueMessage
if self.prompt:
message = self.promptMessage
items.append({
'id': self.id + '-novalue',
'value': self.noValueToken,
'content': message,
'selected': self.value == []
})
unordered_items = {}
optgroups = []
for count, term in enumerate(self.terms):
# Exctract optgroups in an ordered list, so we can use this to
# preserve the main order of optgroups.
if not term.optgroup in optgroups:
optgroups.append(term.optgroup)
selected = self.isSelected(term)
id = '%s-%i' % (self.id, count)
content = term.title
if ITitledTokenizedTerm.providedBy(term):
content = self.getContent(term)
if not term.optgroup in unordered_items:
unordered_items[term.optgroup] = []
unordered_items[term.optgroup].append({
'id': id,
'value': term.token,
'content': content,
'selected': selected,
})
for group in optgroups:
item = {}
item['title'] = group
item['member'] = unordered_items[group]
items.append(item)
self.getSize(items)
return items
def getSize(self, items):
"""Get a dynamic size for the widget."""
if hasattr(self.field, 'max_length'):
self.size = self.field.max_length
return
if not self.multiple:
self.size = 1
return
amount = len(items)
for optgroup in range(0, len(items)):
amount = amount + len(items[optgroup]['member'])
if amount <= 10:
self.size = amount
else:
self.size = 10
def displayValue(self):
value = {}
for token in self.value:
# Ignore no value entries. They are in the request only.
if token == self.noValueToken:
continue
term = self.terms.getTermByToken(token)
if ITitledTokenizedTerm.providedBy(term):
content = self.getContent(term)
else:
value.append(term.value)
if not term.optgroup in value:
value[term.optgroup] = []
value[term.optgroup].append(content)
return value
def getContent(self, term):
return translate(term.title, context=self.request, default=term.title)
@adapter(converter.FieldDataConverter)
@adapter(ITextLine, interfaces.IFormLayer)
@implementer(interfaces.IFieldWidget)
def OptgroupFieldWidget(field, request):
"""Factory for OptgroupWidget."""
widget = FieldWidget(field, OptgroupWidget(request))
if hasattr(field, 'value_type'):
widget.multiple = getMultiAdapter((field,
field.value_type, request), interfaces.IFieldWidget).multiple
else:
widget.multiple = getMultiAdapter((field, request),
interfaces.IFieldWidget).multiple
return widget | z3c.formwidget.optgroup | /z3c.formwidget.optgroup-1.2.tar.gz/z3c.formwidget.optgroup-1.2/src/z3c/formwidget/optgroup/widget.py | widget.py |
from itertools import chain
import z3c.form.browser.checkbox
import z3c.form.browser.radio
import z3c.form.button
import z3c.form.field
import z3c.form.form
import z3c.form.interfaces
import z3c.form.term
import z3c.form.widget
import zope.component
import zope.interface
import zope.schema
import zope.schema.interfaces
from zope.schema.interfaces import IContextSourceBinder
from zope.schema.interfaces import ISource
from zope.schema.vocabulary import SimpleVocabulary
from zope.security import checkPermission
from z3c.formwidget.query import MessageFactory as _
HAS_AC = True
try:
from AccessControl.interfaces import IRoleManager
except ImportError:
HAS_AC = False
class SourceTerms(z3c.form.term.Terms):
def __init__(self, context, request, form, field, widget, source):
self.context = context
self.request = request
self.form = form
self.field = field
self.widget = widget
self.terms = source
class QueryTerms(z3c.form.term.Terms):
def __init__(self, context, request, form, field, widget, terms):
self.context = context
self.request = request
self.form = form
self.field = field
self.widget = widget
self.terms = SimpleVocabulary(terms)
@zope.interface.implementer(z3c.form.interfaces.ISubForm)
class QuerySubForm(z3c.form.form.Form):
css_class = 'querySelectSearch'
fields = z3c.form.field.Fields(
zope.schema.TextLine(
__name__='query',
required=False))
def __init__(self, context, request, prefix=None):
super().__init__(context, request)
if prefix is not None:
self.prefix = prefix
@z3c.form.button.buttonAndHandler(_("Search"))
def search(self, action):
data, errors = self.widgets.extract()
if not errors:
z3c.form.form.applyChanges(self, self.context, data)
class QueryContext:
query = None
class QuerySourceRadioWidget(z3c.form.browser.radio.RadioWidget):
"""Query source widget that allows single selection."""
_radio = True
_queryform = None
_resultsform = None
_bound_source = None
ignoreMissing = False
noValueLabel = _('(nothing)')
@property
def source(self):
"""We need to bind the field to the context so that vocabularies
appear as sources"""
return self.field.bind(self.context).source
@property
def bound_source(self):
if self._bound_source is None:
source = self.source
if IContextSourceBinder.providedBy(source):
source = source(self.context)
assert ISource.providedBy(source)
self._bound_source = source
return self._bound_source
@property
def items(self):
# add "novalue" option
items_getter = z3c.form.browser.radio.RadioWidget.items
if isinstance(items_getter, property):
items = items_getter.fget(self)
else:
items = items_getter(self)
if self._radio and not self.required:
checked = not self.value or self.value[0] == self.noValueToken
return chain([{
'id': self.id + '-novalue',
'name': self.name,
'value': self.noValueToken,
'label': self.noValueLabel,
'checked': checked,
}], items)
else:
return items
def update(self):
# Allow the source to provide terms until we have more specific ones
# from the query. Things do not go well if self.terms is None
self._bound_source = None
source = self.bound_source
self.terms = SourceTerms(
self.context,
self.request,
self.form,
self.field,
self,
source)
# If we have values in the request, use these to get the terms.
# Otherwise, take the value from the current saved value.
terms = []
request_values = z3c.form.interfaces.NOVALUE
if not self.ignoreRequest:
request_values = self.extract(default=z3c.form.interfaces.NOVALUE)
if request_values is not z3c.form.interfaces.NOVALUE:
if not isinstance(request_values, (tuple, set, list)):
request_values = (request_values,)
for token in request_values:
if not token or token == self.noValueToken:
continue
try:
terms.append(source.getTermByToken(token))
except LookupError:
# Term no longer available
if not self.ignoreMissing:
raise
elif not self.ignoreContext:
selection = zope.component.getMultiAdapter(
(self.context, self.field),
z3c.form.interfaces.IDataManager).query()
if selection is z3c.form.interfaces.NOVALUE:
selection = []
elif not isinstance(selection, (tuple, set, list)):
selection = [selection]
for value in selection:
if not value:
continue
if HAS_AC and IRoleManager.providedBy(value):
if not checkPermission('zope2.View', value):
continue
try:
terms.append(source.getTerm(value))
except LookupError:
# Term no longer available
if not self.ignoreMissing:
raise
elif self.showDefault:
adapter = zope.component.queryMultiAdapter(
(self.context, self.request, self.form, self.field, self),
z3c.form.interfaces.IValue, name='default')
if adapter:
default_value = adapter.get()
if not isinstance(default_value, (tuple, set, list)):
default_value = [default_value]
for value in default_value:
if not value:
continue
if HAS_AC and IRoleManager.providedBy(value):
if not checkPermission('zope2.View', value):
continue
try:
terms.append(source.getTerm(value))
except LookupError:
# Term no longer available
if not self.ignoreMissing:
raise
# Set up query form
subform = self.subform = QuerySubForm(
QueryContext(),
self.request,
self.name)
subform.update()
# Don't carry on any search if we're ignoring the request
if not self.ignoreRequest:
data, errors = subform.extractData()
if errors:
return
# perform the search
query = data['query']
if query is not None:
query_terms = set(source.search(query))
tokens = {term.token for term in terms}
for term in query_terms:
if term.token not in tokens:
terms.append(term)
# set terms
self.terms = QueryTerms(
self.context,
self.request,
self.form,
self.field,
self,
terms)
# update widget - will set self.value
self.updateQueryWidget()
def extract(self, default=z3c.form.interfaces.NOVALUE):
return self.extractQueryWidget(default)
def render(self):
subform = self.subform
return "\n".join((subform.render(), self.renderQueryWidget()))
def __call__(self):
self.update()
return self.render()
# For subclasses to override
def updateQueryWidget(self):
z3c.form.browser.radio.RadioWidget.update(self)
def renderQueryWidget(self):
return z3c.form.browser.radio.RadioWidget.render(self)
def extractQueryWidget(self, default=z3c.form.interfaces.NOVALUE):
return z3c.form.browser.radio.RadioWidget.extract(self, default)
@zope.interface.implementer_only(z3c.form.interfaces.ICheckBoxWidget)
class QuerySourceCheckboxWidget(
QuerySourceRadioWidget, z3c.form.browser.checkbox.CheckBoxWidget):
"""Query source widget that allows multiple selections."""
_radio = False
@property
def source(self):
return self.field.bind(self.context).value_type.source
def updateQueryWidget(self):
z3c.form.browser.checkbox.CheckBoxWidget.update(self)
def renderQueryWidget(self):
return z3c.form.browser.checkbox.CheckBoxWidget.render(self)
def extractQueryWidget(self, default=z3c.form.interfaces.NOVALUE):
return z3c.form.browser.checkbox.CheckBoxWidget.extract(self, default)
@zope.interface.implementer(z3c.form.interfaces.IFieldWidget)
def QuerySourceFieldRadioWidget(field, request):
return z3c.form.widget.FieldWidget(field, QuerySourceRadioWidget(request))
@zope.interface.implementer(z3c.form.interfaces.IFieldWidget)
def QuerySourceFieldCheckboxWidget(field, request):
return z3c.form.widget.FieldWidget(
field, QuerySourceCheckboxWidget(request))
class IgnoreMissingQuerySourceRadioWidget(QuerySourceRadioWidget):
"""Query source widget that allows single selection and ignores missing
values."""
ignoreMissing = True
class IgnoreMissingQuerySourceCheckboxWidget(QuerySourceRadioWidget):
"""Query source widget that allows multiple selections and ignores missing
values."""
ignoreMissing = True
@zope.interface.implementer(z3c.form.interfaces.IFieldWidget)
def IgnoreMissingQuerySourceFieldRadioWidget(field, request):
return z3c.form.widget.FieldWidget(
field, IgnoreMissingQuerySourceRadioWidget(request))
@zope.interface.implementer(z3c.form.interfaces.IFieldWidget)
def IgnoreMissingQuerySourceFieldCheckboxWidget(field, request):
return z3c.form.widget.FieldWidget(
field, IgnoreMissingQuerySourceCheckboxWidget(request)) | z3c.formwidget.query | /z3c.formwidget.query-2.0.0-py3-none-any.whl/z3c/formwidget/query/widget.py | widget.py |
z3c.formwidget.query
====================
This package provides a widget to query a source.
>>> from z3c.form import testing
>>> testing.setupFormDefaults()
We must register a form page template to render forms.
>>> from z3c.form import form, testing
>>> factory = form.FormTemplateFactory(
... testing.getPath('../tests/simple_subedit.pt'))
Let's register our new template-based adapter factory:
>>> component.provideAdapter(factory)
Sources
-------
Let's start by defining a source.
>>> from z3c.formwidget.query.interfaces import IQuerySource
>>> from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
To make things simple, we'll just use unicode strings as values.
>>> @interface.implementer(IQuerySource)
... class ItalianCities(object):
...
... vocabulary = SimpleVocabulary((
... SimpleTerm(u'Bologna', 'bologna', u'Bologna'),
... SimpleTerm(u'Palermo', 'palermo', u'Palermo'),
... SimpleTerm(u'Sorrento', 'sorrento', u'Sorrento')))
...
... def __init__(self, context):
... self.context = context
...
... __contains__ = vocabulary.__contains__
... __iter__ = vocabulary.__iter__
... getTerm = vocabulary.getTerm
... getTermByToken = vocabulary.getTermByToken
...
... def search(self, query_string):
... return [v for v in self if query_string.lower() in v.value.lower()]
>>> from zope.schema.interfaces import IContextSourceBinder
>>> @interface.implementer(IContextSourceBinder)
... class ItalianCitiesSourceBinder(object):
...
... def __call__(self, context):
... return ItalianCities(context)
Fields setup
------------
>>> import zope.component
>>> import zope.schema
>>> from zope.publisher.interfaces.browser import IBrowserRequest
First we have to create a field and a request:
>>> city = zope.schema.Choice(
... __name__='city',
... title=u'City',
... description=u'Select a city.',
... source=ItalianCitiesSourceBinder())
Widgets
-------
There are four widgets available; one that corresponds to a single selection,
a multi-selection of items from the source, and variants of these that set the
ignoreMissing to True by default.
To enable multiple selections, wrap the ``zope.schema.Choice`` in a field
derived from ``zope.schema.Collection``.
Let's begin with a single selection.
>>> class Location(object):
... city = None
>>> location = Location()
>>> from z3c.formwidget.query.widget import QuerySourceFieldRadioWidget
>>> def setupWidget(field, context, request):
... widget = QuerySourceFieldRadioWidget(field, request)
... widget.name = field.__name__
... widget.context = context
... return widget
>>> from z3c.form.testing import TestRequest
>>> request = TestRequest()
An empty query is not carried out.
>>> widget = setupWidget(city, location, request)
>>> 'type="radio"' in widget()
False
Let's choose a city:
>>> location.city = u"Palermo"
>>> widget = setupWidget(city, location, request)
We now expect a radio button to be present.
>>> 'type="radio"' in widget()
True
We can put a query string in the request, and have our source queried.
>>> request = TestRequest(form={
... 'city.widgets.query': u'bologna'})
>>> widget = setupWidget(city, location, request)
Verify results:
>>> 'Bologna' in widget()
True
>>> 'Sorrento' in widget()
False
However, the source shouldn't be queried if ``ignoreRequest`` is True.
>>> request = TestRequest(form={
... 'city.widgets.query': u'bologna'})
>>> widget = setupWidget(city, location, request)
>>> widget.ignoreRequest = True
>>> 'Bologna' in widget()
False
Selecting 'Bologna' from the list should check the corresponding box.
>>> request = TestRequest(form={
... 'city.widgets.query': u'bologna',
... 'city': ('bologna',)})
>>> widget = setupWidget(city, location, request)
>>> 'checked="checked"' in widget()
True
However, no terms should be added from the request if we're ignoring it.
>>> request = TestRequest(form={
... 'city': ('bologna',)})
>>> widget = setupWidget(city, location, request)
>>> widget.ignoreRequest = True
>>> widget.update()
>>> 'bologna' in set([term.token for term in widget.terms])
False
Nor from the context if we're ignoring it.
>>> request = TestRequest()
>>> widget = setupWidget(city, location, request)
>>> widget.ignoreContext = True
>>> widget.update()
>>> 'palermo' in set([term.token for term in widget.terms])
False
If the source changes so that the value is no longer available, rendering the
widget raises an error.
>>> missinglocation = Location()
>>> missinglocation.city = u"Pompeii"
>>> request = TestRequest()
>>> widget = setupWidget(city, missinglocation, request)
>>> widget.update()
Traceback (most recent call last):
...
LookupError: Pompeii
This can be avoided by setting ``ignoreMissing`` on the widget:
>>> request = TestRequest()
>>> widget = setupWidget(city, missinglocation, request)
>>> widget.ignoreMissing = True
>>> 'type="radio"' in widget()
False
Now we want to try out selection of multiple items.
>>> cities = zope.schema.Set(
... __name__='cities',
... title=u'Cities',
... description=u'Select one or more cities.',
... value_type=zope.schema.Choice(
... source=ItalianCitiesSourceBinder()
... ))
>>> class Route(object):
... cities = ()
>>> route = Route()
>>> from z3c.formwidget.query.widget import QuerySourceFieldCheckboxWidget
>>> def setupMultiWidget(field, context, request):
... widget = QuerySourceFieldCheckboxWidget(field, request)
... widget.name = field.__name__
... widget.context = context
... return widget
>>> request = TestRequest()
An empty query is not carried out.
>>> widget = setupMultiWidget(cities, route, request)
>>> 'type="checkbox"' in widget()
False
Let's set a city on the route:
>>> route.cities = (u"Palermo",)
>>> widget = setupMultiWidget(cities, route, request)
>>> 'type="checkbox"' in widget()
True
Let's make a query for "bologna".
>>> request = TestRequest(form={
... 'cities.widgets.query': u'bologna'})
>>> widget = setupMultiWidget(cities, route, request)
Verify results:
>>> 'Bologna' in widget()
True
>>> 'Sorrento' in widget()
False
We'll select 'Bologna' from the list.
>>> request = TestRequest(form={
... 'cities.widgets.query': u'bologna',
... 'cities': ('bologna',)})
>>> widget = setupMultiWidget(cities, route, request)
Verify that Bologna has been selected.
>>> 'checked="checked"' in widget()
True
Let's try and simulate removing the item we've set on the
context. We'll submit an empty tuple.
>>> request = TestRequest(form={
... 'cities': ()})
>>> widget = setupMultiWidget(cities, route, request)
We expect the checkbox to be gone.
>>> 'type="checkbox"' in widget()
False
>>> 'checked="checked"' in widget()
False
Named Sources
-------------
We can also provide a data source using named vocabularies. First we register
our source as a named vocabulary::
>>> from zope.schema.interfaces import IVocabularyFactory
>>> from zope.schema.vocabulary import getVocabularyRegistry
>>> vr = getVocabularyRegistry()
>>> vr.register(u'test vocabulary name', ItalianCities)
>>> city2 = zope.schema.Choice(
... __name__='city',
... title=u'City',
... description=u'Select a city.',
... vocabulary=u'test vocabulary name')
>>> request = TestRequest(form={
... 'city.widgets.query': u'bologna',
... 'city': ('bologna',)})
>>> location = Location()
>>> widget = setupWidget(city2, location, request)
>>> 'Bologna' in widget()
True
>>> 'Palermo' in widget()
False
The same is true of multi-select widgets::
>>> cities2 = zope.schema.Set(
... __name__='cities',
... title=u'Cities',
... description=u'Select one or more cities.',
... value_type=zope.schema.Choice(
... vocabulary=u'test vocabulary name'
... ))
>>> route = Route()
>>> request = TestRequest(form={
... 'cities.widgets.query': u'bologna',
... 'cities': ('bologna',)})
>>> widget = setupMultiWidget(cities2, route, request)
>>> 'Bologna' in widget()
True
>>> 'Palermo' in widget()
False
Permission
----------
First let's create a simple security policy
>>> from zope.security.interfaces import IInteraction
>>> from zope.security.interfaces import ISecurityPolicy
>>> from zope.security.simplepolicies import ParanoidSecurityPolicy
>>> from zope.security.management import thread_local
>>> from zope.interface import provider
>>> @provider(ISecurityPolicy)
... @interface.implementer(IInteraction)
... class SimpleSecurityPolicy(ParanoidSecurityPolicy):
...
... def checkPermission(self, permission, object):
... return object.permission == permission
>>> thread_local.interaction = SimpleSecurityPolicy()
Let's define a permission aware object
>>> HAS_AC = True
>>> try:
... from AccessControl.interfaces import IRoleManager
... except ImportError:
... HAS_AC = False
>>> if HAS_AC:
... @interface.implementer(IRoleManager)
... class Document(object):
...
... name = None
... permission = None
...
... def __init__(self, name, permission):
... self.name = name
... self.permission = permission
... else:
... class Document(object):
...
... name = None
... permission = None
...
... def __init__(self, name, permission):
... self.name = name
... self.permission = permission
>>> secret_document = Document(u'Secret', 'zope2.Secret')
>>> public_document = Document(u'Public', 'zope2.View')
>>> @interface.implementer(IQuerySource)
... class PermissionSource(object):
...
... vocabulary = SimpleVocabulary((
... SimpleTerm(secret_document, 'secret', u'Secret'),
... SimpleTerm(public_document, 'public', u'Public')))
...
... def __init__(self, context):
... self.context = context
...
... __contains__ = vocabulary.__contains__
... __iter__ = vocabulary.__iter__
... getTerm = vocabulary.getTerm
... getTermByToken = vocabulary.getTermByToken
...
... def search(self, query_string):
... return [v for v in self if query_string.lower() in v.name.lower()]
>>> from zope.schema.interfaces import IContextSourceBinder
>>> @interface.implementer(IContextSourceBinder)
... class PermissionSourceBinder(object):
...
... def __call__(self, context):
... return PermissionSource(context)
Now our field
>>> document = zope.schema.Choice(
... __name__='document',
... title=u'Document',
... description=u'Select a document.',
... source=PermissionSourceBinder())
>>> class Person(object):
...
... document = None
Let's first select our private document
>>> person = Person()
>>> person.document = secret_document
>>> request = TestRequest()
>>> widget = setupWidget(document, person, request)
>>> if HAS_AC:
... u'Secret' not in widget()
... else:
... print(True)
True
And now, let's try with the public one
>>> person = Person()
>>> person.document = public_document
>>> request = TestRequest()
>>> widget = setupWidget(document, person, request)
>>> u'Public' in widget()
True
Todo
----
- Functional testing with zope.testbrowser
| z3c.formwidget.query | /z3c.formwidget.query-2.0.0-py3-none-any.whl/z3c/formwidget/query/README.txt | README.txt |
CHANGES
*******
0.2.6 (2014-11-14)
==================
- Adjust threshold for area.
0.2.5 (2014-07-13)
==================
- I18N updates.
0.2.4 (2014-06-02)
==================
- I18N updates.
0.2.3 (2014-06-02)
==================
- Return the unit tuple so we can better access some properties of it.
0.2.2 (2014-05-26)
==================
- Don't fail when we can't store annotations.
0.2.1 (2014-05-22)
==================
- Append select picker to body element (fixes some layout issues).
0.2 (2014-05-21)
================
- Show unit for display.
- Always show 2 decimal places for the value (if type is Decimal).
- Fixed unit level selection.
- Keep selected system in contextless forms when reloading (e.g. in add-forms).
0.1 (2014-05-17)
================
- Initial release.
| z3c.formwidget.unit | /z3c.formwidget.unit-0.2.6.tar.gz/z3c.formwidget.unit-0.2.6/CHANGES.rst | CHANGES.rst |
# python imports
from decimal import Decimal
# zope imports
from z3c.form.interfaces import ITextWidget
# local imports
from z3c.formwidget.unit.i18n import _
TWOPLACES = Decimal(10) ** -2
SYSTEM_METRIC = 'metric'
SYSTEM_IMPERIAL = 'imperial'
DIMENSION_AREA = 'area'
DIMENSION_LENGTH = 'length'
UNIT_NONE = (None, None, None, None)
# Metric length units.
UNIT_MM = ('mm', u'mm', _(u'millimeter'), _(u'0.001 meter'))
UNIT_M = ('m', u'm', _(u'meter'), None)
UNIT_KM = ('km', u'km', _(u'kilometer'), _(u'1,000 meter'))
# Metric area units.
UNIT_SQM = ('sq_m', u'm²', _(u'square meter'), None)
UNIT_HA = ('ha', u'ha', _(u'hectare'), _(u'10,000 square meter'))
UNIT_SQKM = ('sq_km', u'km²', _(u'square kilometer'), _(u'100 hectare'))
# Imperial length units.
UNIT_IN = ('in', u'in', _(u'inch'), _(u'1/12 foot'))
UNIT_FT = ('ft', u'ft', _(u'foot'), None)
UNIT_YD = ('yd', u'yd', _(u'yard'), _(u'3 feet'))
UNIT_MI = ('mi', u'mi', _(u'mile'), _(u'1,760 yards'))
# Imperial area units.
UNIT_SQFT = ('sq_ft', u'sq ft', _(u'square feet'), None)
UNIT_ACRE = ('acre', u'acre', _(u'acre'), _(u'43,560 square feet'))
UNIT_SQMI = ('sq_mi', u'sq mi', _(u'square mile'), _(u'640 acres'))
LABELS = {
SYSTEM_METRIC: _(u'Metric'),
SYSTEM_IMPERIAL: _(u'Imperial'),
}
ALL_UNITS = [
UNIT_ACRE,
UNIT_FT,
UNIT_HA,
UNIT_IN,
UNIT_KM,
UNIT_M,
UNIT_MI,
UNIT_MM,
UNIT_SQFT,
UNIT_SQKM,
UNIT_SQM,
UNIT_SQMI,
UNIT_YD,
]
UNITS = {
SYSTEM_METRIC: {
DIMENSION_AREA: [
UNIT_SQM, # level 0
UNIT_HA, # level 1
UNIT_SQKM, # level 2
],
DIMENSION_LENGTH: [
UNIT_MM, # level 0
UNIT_M, # level 1
UNIT_KM, # level 2
],
},
SYSTEM_IMPERIAL: {
DIMENSION_AREA: [
UNIT_SQFT, # level 0
UNIT_ACRE, # level 1
UNIT_SQMI, # level 2
],
DIMENSION_LENGTH: [
UNIT_IN, # level 0
UNIT_FT, # level 1
UNIT_MI, # level 2
],
},
}
METRICS = [
UNIT_MM[0],
UNIT_M[0],
UNIT_KM[0],
UNIT_SQM[0],
UNIT_HA[0],
UNIT_SQKM[0],
]
IMPERIALS = [
UNIT_IN[0],
UNIT_FT[0],
UNIT_MI[0],
UNIT_SQFT[0],
UNIT_ACRE[0],
UNIT_SQMI[0],
]
class IUnitWidget(ITextWidget):
"""Base unit widget."""
class ILengthWidget(IUnitWidget):
"""Unit widget for 'lenght' dimensions."""
class IAreaWidget(IUnitWidget):
"""Unit widget for 'area' dimensions.""" | z3c.formwidget.unit | /z3c.formwidget.unit-0.2.6.tar.gz/z3c.formwidget.unit-0.2.6/src/z3c/formwidget/unit/interfaces.py | interfaces.py |
# python imports
from decimal import Decimal
from pint import UndefinedUnitError
import string
# fanstatic
try:
from js.bootstrap_select import bootstrap_select
HAS_BS_SELECT = True
except ImportError:
HAS_BS_SELECT = False
# zope imports
from persistent.dict import PersistentDict
from z3c.form.widget import FieldWidget
from z3c.form.browser.text import TextWidget
from z3c.form.interfaces import (
IDataConverter,
IFieldWidget,
IFormLayer,
NO_VALUE,
)
from zope.annotation.interfaces import IAnnotations
from zope.component import adapter
from zope.i18n import translate
from zope.security.proxy import Proxy, removeSecurityProxy
from zope.interface import (
implementer,
implementsOnly,
)
from zope.schema.interfaces import ITextLine
# local imports
from z3c.formwidget.unit import interfaces, ureg, utils
from z3c.formwidget.unit.i18n import _
KEY = 'z3c.formwidget.unit'
class MultiUnitWidget(TextWidget):
"""Multi Unit Widget based on TextWidget."""
implementsOnly(interfaces.IUnitWidget)
klass = u'multiunit-widget'
value = u''
unit = None
unit_systems = (
interfaces.SYSTEM_METRIC,
interfaces.SYSTEM_IMPERIAL,
)
preferred_system = interfaces.SYSTEM_METRIC
level_min = 0
level_max = None
data_header = _(u'Select a unit')
data_width = '75px'
_javascript_input = """
jQuery(function(jq){
if (jQuery().selectpicker) {
jq('#${id}-unit').selectpicker({});
}
});
"""
@property
def unit_dimension(self):
raise NotImplementedError
@property
def widget_value(self):
"""Return the converted value."""
self.unit = self.request.get(self.name + '-unit', self.preferred_unit)
if not self.value:
return
try:
base_unit = getattr(ureg, self.base_unit)
except UndefinedUnitError:
value = self.value
else:
# Do the conversion
converter = IDataConverter(self)
try:
value = converter.toFieldValue(self.value)
except:
return self.value
system = None
if not self.ignoreContext:
system = self._get_unit_annotation()
else:
if self.unit in interfaces.METRICS:
system = interfaces.SYSTEM_METRIC
elif self.unit in interfaces.IMPERIALS:
system = interfaces.SYSTEM_IMPERIAL
if not system in self.unit_systems:
system = self.preferred_system
self.unit = utils.get_best_unit(
value,
system,
self.unit_dimension,
level_min=self.level_min,
level_max=self.level_max,
)[0]
unit = getattr(ureg, self.unit)
value = value * base_unit
value = value.to(unit).magnitude
if isinstance(value, Decimal):
value = value.quantize(interfaces.TWOPLACES)
value = converter.toWidgetValue(value)
return value
def render(self):
if HAS_BS_SELECT:
bootstrap_select.need()
return super(MultiUnitWidget, self).render()
def extract(self, default=NO_VALUE):
value = self.request.get(self.name, default)
converter = IDataConverter(self)
try:
c_value = converter.toFieldValue(value)
except:
return value
unit_name = self.request.get(self.name + '-unit')
if unit_name and unit_name != self.base_unit:
try:
unit = getattr(ureg, unit_name)
base_unit = getattr(ureg, self.base_unit)
except UndefinedUnitError:
c_value = self.field.get(self.context)
# Do the conversion
try:
c_value = c_value * unit
except TypeError:
return value
else:
c_value = c_value.to(base_unit).magnitude
if not self.ignoreContext:
self._set_unit_annotation(unit_name)
value = converter.toWidgetValue(c_value)
return value
def _get_unit_annotation(self):
context = self.context
if isinstance(context, Proxy):
context = removeSecurityProxy(context)
try:
annotations = IAnnotations(context)
except:
return None
else:
storage = annotations.get(KEY, {})
return storage.get(self.name)
def _set_unit_annotation(self, unit):
context = self.context
if isinstance(context, Proxy):
context = removeSecurityProxy(context)
try:
annotations = IAnnotations(context)
except:
return None
else:
storage = annotations.get(KEY)
if storage is None:
storage = annotations[KEY] = PersistentDict({})
# Store the unit system
storage[self.name] = utils.system_for_unit(unit)
def javascript_input(self):
return string.Template(self._javascript_input).substitute(dict(
id=self.id,
))
def isSelected(self, key):
return key == self.unit
@property
def base_unit(self):
raise NotImplementedError
@property
def preferred_unit(self):
return interfaces.UNITS.get(
self.preferred_system, {}
).get(self.unit_dimension, [(None,)])[0][0]
def items(self):
items = []
for system in self.unit_systems:
dimensions = interfaces.UNITS.get(system, None)
if not dimensions:
continue
units = []
available_units = dimensions.get(self.unit_dimension, [])
if self.level_max is not None:
level_max = self.level_max + 1
else:
level_max = None
available_units = available_units[self.level_min:level_max]
for unit in available_units:
abbr, label_short, label, info = unit
subtext = translate(label, context=self.request)
if info:
info = translate(info, context=self.request)
subtext = subtext + ' (%s)' % info
units.append({
'id': abbr,
'value': abbr,
'content': label_short,
'subtext': subtext,
'selected': self.isSelected(abbr),
})
item = {}
item['title'] = interfaces.LABELS.get(system)
item['member'] = units
items.append(item)
return items
def unit_label(self):
unit = [unit for unit in interfaces.ALL_UNITS if unit[0] == self.unit]
unit = unit and unit.pop() or interfaces.UNIT_NONE
return unit[1]
class AreaWidget(MultiUnitWidget):
"""Unit widget for 'area' dimensions."""
implementsOnly(interfaces.IAreaWidget)
klass = u'area-widget unit-widget'
@property
def unit_dimension(self):
return interfaces.DIMENSION_AREA
@property
def base_unit(self):
return interfaces.UNIT_SQM[0]
@adapter(ITextLine, IFormLayer)
@implementer(IFieldWidget)
def AreaFieldWidget(field, request):
"""Factory for AreaWidget"""
return FieldWidget(field, AreaWidget(request))
class LengthWidget(MultiUnitWidget):
"""Unit widget for 'length' dimensions."""
implementsOnly(interfaces.ILengthWidget)
klass = u'length-widget unit-widget'
@property
def unit_dimension(self):
return interfaces.DIMENSION_LENGTH
@property
def base_unit(self):
return interfaces.UNIT_M[0]
@adapter(ITextLine, IFormLayer)
@implementer(IFieldWidget)
def LengthFieldWidget(field, request):
"""Factory for LengthWidget"""
return FieldWidget(field, LengthWidget(request)) | z3c.formwidget.unit | /z3c.formwidget.unit-0.2.6.tar.gz/z3c.formwidget.unit-0.2.6/src/z3c/formwidget/unit/widget.py | widget.py |
==============
z3c.gibberish
==============
Generate CSV files containing random words from a dictionary
Get the script from the buildout::
>>> import os
>>> gibberish = os.path.join(
... reduce(lambda path, _: os.path.dirname(path),
... range(3), __file__), 'bin', 'gibberish')
Print the help::
>>> from zc.buildout.testing import system
>>> print system(gibberish+' --help'),
usage: gibberish [options] LINES COLUMN [COLUMN ...]
<BLANKLINE>
Generate lines of CSV consisting of random words from a
dictionary. The number of lines of CSV must be specified either
as a single integer to specify a fixed number of lines or two
integers separated by a dash to specify that a random number of
lines between the two integers should be used. The columns are
specified in the same manner where the numbers represent the
number of words in that column for a given line.
<BLANKLINE>
options:
-h, --help show this help message and exit
-w WORDS, --words=WORDS
File containing the words to be chosen
from [default: /usr/share/dict/words]
Make a simple file with one line and one column containing one word::
>>> import cStringIO, csv
>>> result = tuple(csv.reader(cStringIO.StringIO(
... system(gibberish+' 1 1'))))
>>> len(result)
1
>>> len(result[0])
1
>>> len(result[0][0].split())
1
Make sure that the newline is stripped::
>>> result[0][0][-1] != '\n'
True
With two words in the column::
>>> result = tuple(csv.reader(cStringIO.StringIO(
... system(gibberish+' 1 2'))))
>>> len(result)
1
>>> len(result[0])
1
>>> len(result[0][0].split())
2
With a random number of words in the column::
>>> result = tuple(csv.reader(cStringIO.StringIO(
... system(gibberish+' 1 1-10'))))
>>> len(result)
1
>>> len(result[0])
1
>>> 1 <= len(result[0][0].split()) <= 10
True
With 10 lines::
>>> result = tuple(csv.reader(cStringIO.StringIO(
... system(gibberish+' 10 2'))))
>>> len(result)
10
>>> len(result[0])
1
>>> len(result[0][0].split())
2
With a random number of lines::
>>> result = tuple(csv.reader(cStringIO.StringIO(
... system(gibberish+' 1-10 2'))))
>>> 1 <= len(result) <= 10
True
>>> len(result[0])
1
>>> len(result[0][0].split())
2
With two columns::
>>> result = tuple(csv.reader(cStringIO.StringIO(
... system(gibberish+' 1 2 3'))))
>>> len(result)
1
>>> len(result[0])
2
>>> len(result[0][0].split())
2
>>> len(result[0][1].split())
3
With a random number of words including zero in the column::
>>> result = tuple(csv.reader(cStringIO.StringIO(
... system(gibberish+' 1 0-1'))))
>>> len(result)
1
>>> len(result[0])
1
>>> len(result[0][0].split()) in (0, 1)
True
With a small dictionary to test exhausting the dictionary::
>>> import tempfile
>>> _, tmp_path = tempfile.mkstemp()
>>> tmp = file(tmp_path, 'w')
>>> tmp.write('foo')
>>> tmp.close()
>>> result = tuple(csv.reader(cStringIO.StringIO(
... system(gibberish+' -w %s 1 1' % tmp_path))))
>>> result
(['foo'],)
>>> os.remove(tmp_path) | z3c.gibberish | /z3c.gibberish-0.1.tar.gz/z3c.gibberish-0.1/z3c/gibberish/README.txt | README.txt |
==================
z3c.hashedresource
==================
While we want browsers to cache static resources such as CSS-stylesheets and
JavaScript files, we also want them *not* to use the cached version if the
files on the server have been updated. (And we don't want to make end-users
have to empty their browser cache to get the latest version. Nor explain how
to do that over the phone every time.)
To make browsers update their caches of resources immediately when the
resource changes, the absolute URLs of resources can now be made to contain a
hash of the resource's contents, so it will look like
/++noop++12345/@@/myresource instead of /@@/myresource.
In developer mode the hash is recomputed each time the resource is asked for
its URL, while in production mode the hash is computed only once, so remember
to restart the server after changing resource files (else browsers will still
see the old URL unchanged and use their outdated cached versions of the files).
To use this package, include its configure.zcml and use
`z3c.hashedresource.interfaces.IHashedResourceSkin` or a skin that inherits from
it.
The dependency on zope.app.publisher >= 3.8.2 is not longer declared
explicitly in order to gain compatibility with Zope2, but it is still required
when using Zope3.
| z3c.hashedresource | /z3c.hashedresource-1.1.3.tar.gz/z3c.hashedresource-1.1.3/src/z3c/hashedresource/README.txt | README.txt |
================
Z3C I18N Package
================
This package contains various i18n related convinience modules.
Translation Domains
-------------------
The following translation domains are registered based on the
`zope.i18n.locales` package:
``z3c.i18n.iso.languages``: Translates all available languages
``z3c.i18n.iso.territories``: Translates all available terrritories
Vocabularies
------------
Based on the translation domains mentioned above, there are two
vocabularies registered. The terms of these vocabularies have a
``Message`` as title with the according translation domain.
``z3c.i18n.iso.languageVocabularyFactory``: Contains all languages defined.
``z3c.i18n.iso.territoryVocabularyFactory``: Contains all territories defined.
| z3c.i18n | /z3c.i18n-0.1.2.tar.gz/z3c.i18n-0.1.2/src/z3c/i18n/README.txt | README.txt |
from zope.schema.vocabulary import SimpleVocabulary,SimpleTerm
from zope.schema.interfaces import IVocabularyFactory
from zope.i18n.locales import locales,LOCALEDIR
from zope.i18nmessageid.message import MessageFactory
from zope.i18n.interfaces import ITranslationDomain,INegotiator
from zope.interface import implements
from zope.i18n import interpolate
from zope.component import getUtility
from types import StringType
import glob
import os
# get the locales list
# XXX maybe we should load variants too?
LANGS = []
for name in glob.glob(os.path.join(LOCALEDIR,'??.xml')):
LANGS.append(os.path.basename(name)[:2])
class DisplayNameTranslationDomain(object):
"""base class for displayname based translation domains"""
implements(ITranslationDomain)
def translate(self, msgid, mapping=None, context=None,
target_language=None, default=None):
'''See interface ITranslationDomain'''
# Find out what the target language should be
if target_language is None and context is not None:
# Let's negotiate the language to translate to. :)
negotiator = getUtility(INegotiator)
target_language = negotiator.getLanguage(LANGS, context)
# Find a translation; if nothing is found, use the default
# value
if default is None:
default = msgid
displayNames = locales.getLocale(target_language).displayNames
text = getattr(displayNames,
self.displayNameAttr).get(msgid,None)
if text is None:
text = default
return interpolate(text, mapping)
class TerritoryTranslationDomain(DisplayNameTranslationDomain):
"""a translation domain which translates territory codes
>>> d = TerritoryTranslationDomain()
>>> d.translate('DE',target_language='de')
u'Deutschland'
>>> d.translate('DE',target_language='en')
u'Germany'
"""
domain='z3c.i18n.iso.territories'
displayNameAttr = 'territories'
class LanguageTranslationDomain(DisplayNameTranslationDomain):
"""a translation domain which translates language codes
>>> d = LanguageTranslationDomain()
>>> d.translate('de',target_language='de')
u'Deutsch'
>>> d.translate('de',target_language='en')
u'German'
"""
domain='z3c.i18n.iso.languages'
displayNameAttr = 'languages'
territoryTranslationDomain = TerritoryTranslationDomain()
languageTranslationDomain = LanguageTranslationDomain()
_territories = MessageFactory(TerritoryTranslationDomain.domain)
_languages = MessageFactory(LanguageTranslationDomain.domain)
class LanguageVocabularyFactory(object):
"""a language vocabulary factory
The factory has a class attribute with messages from the
iso.languages domain as titles
>>> fac = LanguageVocabularyFactory()
>>> voc = fac(None)
>>> voc
<zope.schema.vocabulary.SimpleVocabulary object at ...>
>>> 'de' in voc
True
>>> term = voc.getTerm('de')
>>> term.title.default
u'German'
>>> term = voc.getTerm('fr')
>>> term.title.default
u'French'
Let's check if we can translate the title, which is actally a
Message.
>>> term.title.domain
'z3c.i18n.iso.languages'
>>> from zope import component
>>> component.provideUtility(languageTranslationDomain,
... name='z3c.i18n.iso.languages')
>>> from zope.i18n import translate
>>> translate(term.title,target_language='fr')==u'fran\xe7ais'
True
>>> translate(term.title,target_language='de')==u'Franz\xf6sisch'
True
"""
implements(IVocabularyFactory)
def __init__(self):
self.terms = []
# excluding fallback etc
for key,value in [(key,value) for key,value in
locales.getLocale('en').displayNames.languages.items()
if key.lower()==key and len(key)==2]:
term = SimpleTerm(key,title=_languages(key,value))
self.terms.append(term)
self.vocab = SimpleVocabulary(self.terms)
def __call__(self,context):
return self.vocab
languageVocabularyFactory = LanguageVocabularyFactory()
class TerritoryVocabularyFactory(object):
"""a territory vocabulary factory
The factory has a class attribute with messages from the
iso.territory domain as titles
>>> fac = TerritoryVocabularyFactory()
>>> voc = fac(None)
>>> voc
<zope.schema.vocabulary.SimpleVocabulary object at ...>
>>> 'DE' in voc
True
>>> term = voc.getTerm('DE')
>>> term.title.default
u'Germany'
>>> u'Fallback' in voc
False
>>> from zope import component
>>> component.provideUtility(territoryTranslationDomain,
... name='z3c.i18n.iso.territories')
>>> from zope.i18n import translate
>>> translate(term.title,target_language='fr')
u'Allemagne'
>>> translate(term.title,target_language='de')
u'Deutschland'
"""
implements(IVocabularyFactory)
def __init__(self):
self.terms = []
# excluding fallback etc
for key,value in [(key,value) for key,value in
locales.getLocale('en').displayNames.territories.items()
if key.upper()==key and len(key)==2]:
term = SimpleTerm(key,title=_territories(key,value))
self.terms.append(term)
self.vocab = SimpleVocabulary(self.terms)
def __call__(self,context):
return self.vocab
territoryVocabularyFactory = TerritoryVocabularyFactory() | z3c.i18n | /z3c.i18n-0.1.2.tar.gz/z3c.i18n-0.1.2/src/z3c/i18n/iso.py | iso.py |
import time
import PIL
from datetime import datetime
from cStringIO import StringIO
from types import StringType
import zope.datetime
from zope.security.proxy import isinstance, removeSecurityProxy
from zope.publisher.browser import BrowserView
from zope.dublincore.interfaces import IZopeDublinCore
from zope.app.file.image import getImageInfo
from interfaces import IProcessableImage
def getMaxSize(image_size, desired_size):
"""returns the maximum size of image_size to fit into the
rectangualar defined by desired_size
>>> getMaxSize((100,200),(100,100))
(50, 100)
>>> getMaxSize((100,300),(100,100))
(33, 100)
>>> getMaxSize((300,100),(100,100))
(100, 33)
>>> getMaxSize((300,100),(400,200))
(400, 133)
"""
x_ratio = float(desired_size[0])/image_size[0]
y_ratio = float(desired_size[1])/image_size[1]
if x_ratio < y_ratio:
new_size = (round(x_ratio*image_size[0]),
round(x_ratio*image_size[1]))
else:
new_size = (round(y_ratio*image_size[0]),
round(y_ratio*image_size[1]))
return tuple(map(int, new_size))
class ImageProcessorView(BrowserView):
"""image processor"""
def __init__(self, context, request):
self.params = request.form
super(ImageProcessorView,self).__init__(context,request)
def _collectParams(self):
# rotate
self.degrees =int(self.params.get('remote.adjust.rotate',0))
# resize
self.width = int(self.params.get('remote.size.w',0))
self.height = int(self.params.get('remote.size.h',0))
# crop
self.cropX = self.params.get('local.crop.x',None)
self.cropW = self.params.get('local.crop.w',None)
self.cropY = self.params.get('local.crop.y',None)
self.cropH = self.params.get('local.crop.h',None)
# rezize after crop
self.afterSizeW = int(self.params.get('after.size.w',0))
self.afterSizeH = int(self.params.get('after.size.h',0))
self.size = (self.width,self.height)
self._calcAfterSize()
@property
def data(self):
context = removeSecurityProxy(self.context)
data = context.data
if not isinstance(data, str):
pos = data.tell()
data.seek(0)
res = data.read(1024*1024)
data.seek(pos)
data = res
else:
data = context.data
return data
def _resultingRatio(self):
if ( self.cropW is not None
and self.cropH is not None
and self.cropW != 0
and self.cropH != 0
):
ratio = float(self.cropW) / float(self.cropH)
else:
t,w,h = getImageInfo(self.data)
ratio = float(w) / float(h)
return ratio
def _calcAfterSize(self):
if ( (self.afterSizeW == 0 or self.afterSizeH == 0)
and self.afterSizeW != self.afterSizeH
):
ratio = self._resultingRatio()
if self.afterSizeH == 0:
self.afterSizeH = int(round(self.afterSizeW / ratio))
if self.afterSizeW == 0:
self.afterSizeW = int(round(self.afterSizeH * ratio))
self.afterSize = (self.afterSizeW,self.afterSizeH)
def _process(self):
self._collectParams()
pimg = IProcessableImage(self.context)
self._pushCommands(pimg)
return pimg.process()
def _pushCommands(self, pimg):
if self.degrees > 0:
pimg.rotate(self.degrees)
if self.width and self.height:
pimg.resize(self.size)
if self.cropX is not None and self.cropY is not None \
and self.cropW is not None and self.cropH is not None:
self.croparea = (int(self.cropX),
int(self.cropY),
int(self.cropX) + int(self.cropW),
int(self.cropY) + int(self.cropH))
pimg.crop(self.croparea)
if self.afterSizeW is not 0 and self.afterSizeH is not 0:
if self.cropW and self.cropH:
currentSize = (int(self.cropW), int(self.cropH))
elif self.width and self.height:
currentSize = (self.width, self.height)
else:
t,w,h = getImageInfo(self.data)
currentSize = (w,h)
size=getMaxSize(currentSize, self.afterSize)
pimg.resize(size)
def processed(self):
processed = self._process()
if self.request is not None:
self.request.response.setHeader('Content-Type',
processed.contentType)
self.request.response.setHeader('Content-Length',
processed.getSize())
return processed.data
def __call__(self):
try:
modified = IZopeDublinCore(self.context).modified
except TypeError:
modified=None
if modified is None or not isinstance(modified,datetime):
return self.processed()
header= self.request.getHeader('If-Modified-Since', None)
lmt = long(time.mktime(modified.timetuple()))
if header is not None:
header = header.split(';')[0]
try: mod_since=long(zope.datetime.time(header))
except: mod_since=None
if mod_since is not None:
if lmt <= mod_since:
self.request.response.setStatus(304)
return ''
self.request.response.setHeader('Last-Modified',
zope.datetime.rfc1123_date(lmt))
return self.processed()
class ResizedImageView(ImageProcessorView):
def _collectParams(self):
super(ResizedImageView,self)._collectParams()
data = self.data
t,w,h = getImageInfo(data)
self.size = (w,h)
self.width = self.params.get('w',self.size[0])
self.height = self.params.get('h',self.size[1])
def _pushCommands(self, pimg):
new_size = getMaxSize(self.size, (self.width, self.height))
if new_size != self.size:
pimg.resize(new_size)
class PasteImageView(ResizedImageView):
"""Paste an image into the image.
The subclass must provide the image to be pasted.
"""
img = None
def _collectParams(self):
super(PasteImageView, self)._collectParams()
self.x = self.params.get('x', 0)
self.y = self.params.get('y', 0)
self.imgId = self.params.get('img', 0)
def _pushCommands(self, pimg):
super(PasteImageView, self)._pushCommands(pimg)
img = self.img
if img is not None:
if type(img)!=StringType:
img.seek(0)
img = img.read()
img = PIL.Image.open(StringIO(img))
pimg.paste(img, (self.x, self.y), img) | z3c.image | /z3c.image-1.0.0.tar.gz/z3c.image-1.0.0/src/z3c/image/proc/browser.py | browser.py |
========================
Image Processing Adapter
========================
>>> from z3c.image import testing
>>> from z3c.image.proc.adapter import ProcessableImage
>>> from z3c.image.proc.interfaces import IProcessableImage
>>> image = testing.getTestImage('flower.jpg')
>>> image.contentType
'image/jpeg'
>>> image.getImageSize()
(103, 118)
In order to do some processing we have to register the adapter
>>> from zope import component
>>> component.provideAdapter(ProcessableImage)
>>> pimg = IProcessableImage(image)
Let us rotate the image
>>> pimg.rotate(90)
To get a processed image we call the process method
>>> res = pimg.process()
>>> res
<z3c.image.image.VImage object at ...>
>>> res.getImageSize()
(118, 103)
The command queue stays when processed is called, but it is always
called on the same original image. To reset the command queue, use the
reset method. If no processing is done the original context is returned.
>>> pimg.reset()
>>> pimg.process() is image
True
Resizing is also possible.
>>> pimg.resize([20,30])
>>> res = pimg.process()
>>> res.getImageSize()
(20, 30)
You can append another command to the processing. The commands are
processed in the order they have been aplied.
>>> pimg.rotate(90)
>>> res = pimg.process()
>>> res.getImageSize()
(30, 20)
Also another image can be pasted into the image.
Note: paste changes the original image
>>> pimg.reset()
>>> data = testing.readTestImage('locked.png')
>>> from PIL import Image
>>> from StringIO import StringIO
>>> img = Image.open(StringIO(data))
>>> pimg.paste(img, (0, 0), img)
>>> res = pimg.process()
Also the PNG and GIF filetypes are supported.
>>> image = testing.getTestImage('locked.png')
>>> image.contentType
'image/png'
>>> image.getImageSize()
(128, 128)
>>> pimg = IProcessableImage(image)
>>> pimg.resize([80,80])
>>> res = pimg.process()
>>> res.getImageSize()
(80, 80)
>>> image = testing.getTestImage('hiring.gif')
>>> image.contentType
'image/gif'
>>> image.getImageSize()
(199, 183)
>>> pimg = IProcessableImage(image)
>>> pimg.resize([80,80])
>>> res = pimg.process()
>>> res.getImageSize()
(80, 80)
Cache Handling
==============
The adapter uses a RamCache instance to cache results.
>>> from z3c.image.proc.adapter import imgCache
We have to take private methods to get to the objects, because the
getStatistics implementation does not allow to get the size of
unpickleable objects.
>>> sorted(imgCache._getStorage()._data.keys())
[<zope.app.file.image.Image object at ...>,
<zope.app.file.image.Image object at ...>,
<zope.app.file.image.Image object at ...>]
To demonstrate caching we now invalidate first and process another.
>>> imgCache.invalidateAll()
>>> sorted(imgCache._getStorage()._data.keys())
[]
>>> image = testing.getTestImage('hiring.gif')
>>> pimg = IProcessableImage(image)
>>> pimg.rotate(90)
>>> res = pimg.process()
>>> res.getImageSize()
(183, 199)
Now let us change the data of the image.
>>> import os
>>> path = os.path.join(testing.dataDir,'flower.jpg')
>>> image.data = file(path,'rb').read()
>>> image.getImageSize()
(103, 118)
And now we do the same processing again
>>> pimg = IProcessableImage(image)
>>> pimg.rotate(90)
>>> res = pimg.process()
>>> res.getImageSize()
(183, 199)
The cache is invalidated when a modified event is fired. To
demonstrate this we need to set up event handling
>>> from zope.component import eventtesting
>>> eventtesting.setUp()
>>> from zope.lifecycleevent import ObjectModifiedEvent
When we now fire the event, the result changes.
>>> from zope.event import notify
>>> notify(ObjectModifiedEvent(image))
>>> pimg = IProcessableImage(image)
>>> pimg.rotate(90)
>>> res = pimg.process()
>>> res.getImageSize()
(118, 103)
| z3c.image | /z3c.image-1.0.0.tar.gz/z3c.image-1.0.0/src/z3c/image/proc/README.txt | README.txt |
from zope.interface import implements
from zope import component
from z3c.image.image import VImage
from zope.app.file.interfaces import IFile
from zope.cachedescriptors.property import readproperty
from cStringIO import StringIO
from interfaces import IProcessableImage
from PIL import ImageFile, Image
from types import StringType
from zope.app.cache.ram import RAMCache
import os
import logging
try:
ulimit = int(os.popen('ulimit -n').read().strip())
maxEntries = ulimit - 100
except:
ulimit = -1
maxEntries = 100
# see http://mail.python.org/pipermail/image-sig/2003-May/002228.html
ImageFile.MAXBLOCK = 1024*1024*10
imgCache = RAMCache()
maxEntries = min(maxEntries, 400)
logging.debug('z3c.image.proc init imgCache maxEntries: %r, ulimit %r' % (
maxEntries, ulimit))
imgCache.maxEntries = maxEntries
def invalidateCache(object, event):
imgCache.invalidate(object)
class ProcessableImage(object):
component.adapts(IFile)
implements(IProcessableImage)
def __init__(self, image):
self.context = image
self.format = ''
contentType = image.contentType
if contentType is not None:
try:
self.format = image.contentType.split('/')[1]
except IndexError:
pass
self.cmds = []
def getPILImg(self):
data = self.context.data
if type(data)!=StringType:
data.seek(0)
data = data.read()
p = Image.open(StringIO(data))
return p
def _toImage(self, pimg, *args,**kw):
"""returns an Image object from the given PIL image"""
if self.format == 'gif':
# optimization seems to create corrupted gif files wiht
# PIL, so we switch it off
kw.pop('optimize')
img = VImage(contentType=self.context.contentType,
size=pimg.size)
try:
pimg.save(img.data,self.format,*args,**kw)
except IOError:
# retry without optimization
kw.pop('optimize')
pimg.save(img.data,self.format,*args,**kw)
img.data.seek(0)
return img
def rotate(self, degrees):
self.cmds.append(('rotate',(degrees,),{}))
def crop(self, croparea):
croparea = map(int,croparea)
self.cmds.append(('crop',(croparea,),{}))
def resize(self, size):
"""See IPILImageResizeUtility"""
size = map(int, size)
self.cmds.append(('resize',(size, Image.ANTIALIAS),{}))
def paste(self, img, box=None, mask=None):
if box is not None:
box = tuple(map(int, box))
self.cmds.append(('paste',(img, box, mask), {}))
def reset(self):
self.cmds=[]
def process(self,quality=90,optimize=1):
"""processes the command queue and returns the image"""
if not self.cmds:
return self.context
key = {'cmds':str(self.cmds)}
img = imgCache.query(self.context , key)
if img is not None and not img.data.closed:
img.data.seek(0)
return img
pimg = self.getPILImg()
for name,args,kwords in self.cmds:
func = getattr(pimg,name)
oldImg = pimg
pimg = func(*args,**kwords)
if pimg is None:
pimg = oldImg
img = self._toImage(pimg, quality=quality, optimize=optimize)
imgCache.set(img, self.context, key=key)
return img | z3c.image | /z3c.image-1.0.0.tar.gz/z3c.image-1.0.0/src/z3c/image/proc/adapter.py | adapter.py |
__docformat__ = "reStructuredText"
import zope.interface
import zope.component
from zope.intid.interfaces import IIntIds
from zope.index.interfaces import IIndexSort
from zc.catalog.index import FamilyProperty
from z3c.indexer import interfaces
class ResultSet:
"""Lazily accessed set of objects."""
def __init__(self, uids, intids):
self.uids = uids
self.intids = intids
def __len__(self):
return len(self.uids)
def __contains__(self, item):
idx = self.intids.queryId(item)
if idx is not None and idx in self.uids:
return True
else:
return False
def __getitem__(self, slice):
start = slice.start
stop = slice.stop
if stop > len(self):
stop = len(self)
uids = self.uids
getObject = self.intids.getObject
return [getObject(uids[idx]) for idx in xrange(start, stop)]
def __iter__(self):
getObject = self.intids.getObject
for uid in self.uids:
obj = getObject(uid)
yield obj
def __repr__(self):
return '<%s len: %s>' % (self.__class__.__name__, len(self.uids))
class SearchQuery(object):
"""Chainable query processor.
Note: this search query is and acts as a chain. This means if you apply two
query with the And method, the result will contain the intersection of both
results. If you later add a query ithin the Or method to the chain the
new result will contain items in the result we skipped with the And method
before if the new query contains such (previous Not() filtered) items.
"""
zope.interface.implements(interfaces.ISearchQuery)
family = FamilyProperty()
searchResultFactory = ResultSet
_results = None
def __init__(self, query=None, family=None):
"""Initialize with none or existing query."""
res = None
if query is not None:
res = query.apply()
if family is not None:
self.family = family
if res is not None:
self.results = self.family.IF.Set(res)
@apply
def results():
"""Ensure a empty result if None is given and allows to override
existing results.
"""
def get(self):
if self._results is None:
return self.family.IF.Set()
return self._results
def set(self, results):
self._results = results
return property(get, set)
def apply(self):
return self.results
def searchResults(self, intids=None, searchResultFactory=None,
sort_index=None, reverse=False, limit=None):
if searchResultFactory is None:
searchResultFactory = self.searchResultFactory
results = []
if len(self.results) > 0:
res = self.results
if sort_index is not None:
idx = zope.component.getUtility(interfaces.IIndex, name=sort_index)
if not IIndexSort.providedBy(idx):
raise TypeError('Index %s does not implement sorting.' % sort_index)
res = list(idx.sort(res, reverse, limit))
else:
if reverse or limit:
res = list(res)
if reverse:
res.reverse()
if limit:
del res[limit:]
if intids is None:
intids = zope.component.getUtility(IIntIds)
results = searchResultFactory(res, intids)
return results
def Or(self, query):
"""Enhance search results. (union)
The result will contain intids which exist in the existing result
and/or in the result from te given query.
"""
res = query.apply()
if res:
if len(self.results) == 0:
# setup our first result if query=None was used in __init__
self.results = self.family.IF.Set(res)
else:
self.results = self.family.IF.union(self.results, res)
return self
def And(self, query):
"""Restrict search results. (intersection)
The result will only contain intids which exist in the existing
result and in the result from the given query.
"""
if len(self.results) == 0:
# there is no need to do something if previous results is empty
return self
res = query.apply()
if res:
self.results = self.family.IF.intersection(self.results, res)
# if given query is empty, means we have to return a empty result too!
else:
self.results = self.family.IF.Set()
return self
def Not(self, query):
"""Exclude search results. (difference)
The result will only contain intids which exist in the existing
result but do not exist in the result from the given query.
This is faster if the existing result is small. But note, it get
processed in a chain, results added after this query get added again.
So probably you need to call this at the end of the chain.
"""
if len(self.results) == 0:
# there is no need to do something if previous results is empty
return self
res = query.apply()
if res:
self.results = self.family.IF.difference(self.results, res)
return self | z3c.indexer | /z3c.indexer-0.6.1.zip/z3c.indexer-0.6.1/src/z3c/indexer/search.py | search.py |
__docformat__ = "reStructuredText"
import zope.interface
import zope.deferredimport
from transaction.interfaces import IDataManager
from zope.index.interfaces import IInjection
from zope.index.interfaces import IIndexSearch
from zope.index.interfaces import IStatistics
from zope.container.interfaces import IContained
NOVALUE = object()
# deprecated auto index subscribers
zope.deferredimport.deprecated(
"IAutoIndexer will go away in 1.0.0 release. Use the new optimized "
"intIdAddedEventDispatcher and intIdRemovedEventDispatcher subscribers.",
IAutoIndexer = 'z3c.indexer._bbb:IAutoIndexer',
IValueAutoIndexer = 'z3c.indexer._bbb:IValueAutoIndexer',
IMultiAutoIndexer = 'z3c.indexer._bbb:IMultiAutoIndexer',
)
class ISearchQuery(zope.interface.Interface):
"""Chainable search query."""
def __init__(query=None, family=None):
"""Initialize with none or existing query."""
results = zope.interface.Attribute("""List of initids.""")
def apply():
"""Return iterable search result wrapper."""
def searchResults(intids=None, searchResultFactory=None, sort_index=None, reverse=False, limit=None):
"""Returns an iterable search result objects.
The IntIds utility can be specified for use in the ResulSet using the ``intids`` argument.
The ``searchResultFactory`` argument can be used to specify a factory
for the ResultSet object, returned by this method.
The name of index to sort results with can be specified using the
``sort_index`` argument. The index should provide the
zope.index.interfaces.IIndexSort interface. The optional ``reverse``
and ``limit`` argument will be used by the index for efficient sorting.
Though the ``limit`` and ``reverse`` arguments can be used without the
``sort_index``, it doesn't make much sense, because we can't guarantee
any particular order in unsorted result set.
"""
def Or(query):
"""Enhance search results. (union)
The result will contain intids which exist in the existing result
and/or in the result from te given query.
"""
def And(query):
"""Restrict search results. (intersection)
The result will only contain intids which exist in the existing
result and in the result from te given query. (union)
"""
def Not(query):
"""Exclude search results. (difference)
The result will only contain intids which exist in the existing
result but do not exist in the result from te given query.
This is faster if the existing result is small. But note, it get
processed in a chain, results added after this query get added again.
So probably you need to call this at the end of the chain.
"""
# adapter based indexing concept
class IIndexer(zope.interface.Interface):
"""An Indexer knows how to index objects."""
oid = zope.interface.Attribute("""IIntId of context.""")
def doIndex():
"""Index the context in the relevant index."""
def doUnIndex():
"""Unindex the context in the relevant index."""
class IValueIndexer(IIndexer):
"""An Indexer which knows the value used for indexing."""
index = zope.interface.Attribute("""The named index utility.""")
value = zope.interface.Attribute("""Value for context/index combination.""")
class IMultiIndexer(IIndexer):
"""Can be used a s base for index a object in more then one index."""
def getIndex(indexName):
"""The named index utility getter method."""
# index base interface
class IIndex(zope.interface.Interface, IContained):
"""An Index marker interface."""
def doIndex(obj, value):
"""Index a object."""
def doUnIndex(obj):
"""Unindex a object."""
def apply(query):
"""Simple apply method with single argument."""
# indexes
class ITextIndex(IIndex, IInjection, IIndexSearch, IStatistics):
"""Text index."""
def apply(value):
"""Apply text query."""
class ITextIndex64(ITextIndex):
"""ITextIndex with family 64 BTree support."""
class IFieldIndex(IIndex):
"""Value index."""
def applyEq(value):
"""Apply equals query."""
def applyNotEq(not_value):
"""Apply not equals query."""
def applyBetween(min_value, max_value, exclude_min=False,
exclude_max=False):
"""Apply between query."""
def applyGe(min_value, exclude_min=False):
"""Apply greater query."""
def applyLe(max_value, exclude_max=False):
"""Apply less query."""
def applyIn(values):
"""Apply in query."""
class IValueIndex(IIndex):
"""Value index."""
def applyEq(value):
"""Apply equals query."""
def applyNotEq(not_value):
"""Apply not equals query."""
def applyBetween(min_value, max_value, exclude_min, exclude_max):
"""Apply between query."""
def applyGe(min_value, exclude_min=False):
"""Apply greater query."""
def applyLe(max_value, exclude_max=False):
"""Apply less query."""
def applyIn(values):
"""Apply in query."""
def applyExtentAny(extent):
"""Apply extent any query."""
def applyExtentNone(extent):
"""Apply extent query."""
class ISetIndex(IIndex):
"""Value index."""
def applyAnyOf(values):
"""Apply any of query."""
def applyAllOf(values):
"""Apply all of query."""
def applyBetween(min_value, max_value, exclude_min, exclude_max):
"""Apply between query."""
def applyGe(min_value, exclude_min=False):
"""Apply greater query."""
def applyLe(max_value, exclude_max=False):
"""Apply less query."""
def applyExtentAny(extent):
"""Apply extent any query."""
def applyExtentNone(extent):
"""Apply extent None query."""
# queries
class IQuery(zope.interface.Interface):
"""Search query."""
def apply():
"""Apply query with predefined query value."""
class ITextQuery(IQuery):
"""Text index query."""
def __init__(indexOrName, value):
"""Query signature."""
class IEqQuery(IQuery):
"""Equal query."""
def __init__(indexOrName, value):
"""Query signature."""
class INotEqQuery(IQuery):
"""Not equal query."""
def __init__(indexOrName, not_value):
"""Query signature."""
class IBetweenQuery(IQuery):
"""Between query."""
def __init__(indexOrName, min_value, max_value):
"""Query signature."""
class IGeQuery(IQuery):
"""Greater query."""
def __init__(indexOrName, min_value):
"""Query signature."""
class ILeQuery(IQuery):
"""Less query."""
def __init__(indexOrName, max_value):
"""Query signature."""
class IInQuery(IQuery):
"""In query."""
def __init__(indexOrName, values):
"""Query signature."""
class IAnyOfQuery(IQuery):
"""AnyOf query.
The result will be the docids whose values contain any of the given values.
"""
def __init__(indexOrName, values):
"""Query signature."""
class IAllOfQuery(IQuery):
"""AllOf query.
The result will be the docids whose values contain all of the given values.
"""
def __init__(indexOrName, values):
"""Query signature."""
class IExtentAnyQuery(IQuery):
"""ExtentAny query."""
def __init__(indexOrName, values):
"""Query signature."""
class IExtentNoneQuery(IQuery):
"""ExtentNone query."""
def __init__(indexOrName, values):
"""Query signature."""
# transaction based indexing concept
class IIndexerCollector(IDataManager):
"""Collects IIndexer which get processed at the end of the transaction."""
def addIndexer(obj):
"""Add an object indexer."""
def addUnIndexer(obj):
"""Add an object un-indexer.""" | z3c.indexer | /z3c.indexer-0.6.1.zip/z3c.indexer-0.6.1/src/z3c/indexer/interfaces.py | interfaces.py |
__docformat__ = "reStructuredText"
import zope.interface
import zope.component
import zope.deferredimport
from zope.cachedescriptors.property import Lazy
from zope.intid.interfaces import IIntIds
from z3c.indexer import interfaces
# deprecated IAutoIndexer (remove in 1.0.0 release)
zope.deferredimport.deprecated(
"IAutoIndexer will go away in 1.0.0 release. Implement IIndexerSubscriber "
"and use them within the new intIdAddedEventDispatcher and "
"intIdRemovedEventDispatcher subscribers.",
ValueAutoIndexer = 'z3c.indexer._bbb:ValueAutoIndexer',
MultiAutoIndexer = 'z3c.indexer._bbb:MultiAutoIndexer',
)
def index(context):
"""Index object.
This will only call indexes which object have IIndexer adapter for and will
avoid calling all indexes for each object.
If you use the old indexing pattern, implement a own subscriber which uses
this pattern for z3c.indexer based indexes.
"""
adapters = zope.component.getAdapters((context,), interfaces.IIndexer)
for name, adapter in adapters:
adapter.doIndex()
def unindex(context):
"""Unindex object.
This will only call indexes which object have IIndexer adapter for and will
avoid calling all indexes for each object.
If you use the old unindexing pattern, implement a own subscriber which
uses this pattern for z3c.indexer based indexes.
"""
adapters = zope.component.getAdapters((context,), interfaces.IIndexer)
for name, adapter in adapters:
adapter.doUnIndex()
class IndexerBase(object):
"""Indexer base class.
A IIndexer is registered as a named adapter. This makes it possible to
provide more then one adapter per object. You can implement one single
IIndexer adapter for your object or more then one. It depends on how you
like to call them. The global helper method called ``index`` and
``unindex`` above can be used for call all IIndexer in a single call.
"""
def __init__(self, context):
"""Registered as named index adapter"""
self.context = context
@Lazy
def oid(self):
"""Get IntId for the adapted context.
This attribute must be Lazy stored and the oid must get accessed right
after we collect the indexer in our transaction data manager. The
reason is; the oid will not be available at the end of our transaction
if we remove objects because the object get removed from the IIntids
utility before we process the indexer. If you access other objects
during unindexing make sure they still exist at the end of the
transactions or keep a reference to them in the indexer adapter.
"""
intids = zope.component.getUtility(IIntIds)
return intids.getId(self.context)
def doIndex(self):
"""Implement your own indexing pattern."""
raise NotImplementedError("Subclass must implement doIndex method.")
def doUnIndex(self):
"""Implement your own un-indexing pattern."""
raise NotImplementedError("Subclass must implement doUnIndex method.")
# value indexer
class ValueIndexerBase(IndexerBase):
"""Value indexer implementation."""
indexName = ''
@Lazy
def index(self):
return zope.component.getUtility(interfaces.IIndex, self.indexName)
@property
def value(self):
"""Get the index value for the adapted context and relevant index."""
raise NotImplementedError("Subclass must implement the value property.")
def doIndex(self):
self.index.doIndex(self.oid, self.value)
def doUnIndex(self):
self.index.doUnIndex(self.oid)
class ValueIndexer(ValueIndexerBase):
"""Value indexer implementation."""
zope.interface.implements(interfaces.IValueIndexer)
# multi indexer
class MultiIndexerBase(IndexerBase):
"""Can be used a s base for index a object in more then one index."""
def __init__(self, context):
"""Registered as named index adapter"""
self.context = context
def getIndex(self, indexName):
return zope.component.getUtility(interfaces.IIndex, indexName)
def doIndex(self):
"""Implement your own indexing pattern."""
raise NotImplementedError("Subclass must implement doIndex method.")
def doUnIndex(self):
"""Implement your own un-indexing pattern."""
raise NotImplementedError("Subclass must implement doUnIndex method.")
class MultiIndexer(MultiIndexerBase):
"""Can be used as base for index a object in more then one index."""
zope.interface.implements(interfaces.IMultiIndexer) | z3c.indexer | /z3c.indexer-0.6.1.zip/z3c.indexer-0.6.1/src/z3c/indexer/indexer.py | indexer.py |
__docformat__ = "reStructuredText"
import zope.component
import zope.deferredimport
import zope.lifecycleevent.interfaces
import zope.intid.interfaces
from zope.intid.interfaces import IIntIds
from z3c.indexer import interfaces
from z3c.indexer import collector
###############################################################################
#
# Auto indexing strategy
#
#
# The first indexing pattern offers a python method called index which will
# lookup one or more object IIndexer adapters which will index the object based
# on this IIndexer adapters. In the initial release we offered subscribers
# for this indexing methods. This subscribers will get deprecated in the
# release 1.0.0 because this indexing strategy is to slow because it will
# index one object more then one time if more then one time if too much events
# are involved. e.g. adding more then one object.
#
# The auto indexer implementation will be removed in 1.0.0 release.
#
###############################################################################
# deprecated auto index subscribers
zope.deferredimport.deprecated(
"IAutoIndexer will go away in 1.0.0 release. Implement IIndexerSubscriber "
"and use them within the new intIdAddedEventDispatcher and "
"intIdRemovedEventDispatcher subscribers.",
autoIndexSubscriber = 'z3c.indexer._bbb:autoIndexSubscriber',
autoUnindexSubscriber = 'z3c.indexer._bbb:autoUnindexSubscriber',
)
###############################################################################
#
# Unified indexing strategy
#
#
# The second indexing pattern registers indexer with a transaction data manager.
# This allows us to filter multiple index calls and only use the latest which
# is very useful because object modified event will force to index an object
# more then one time during a transaction.
#
###############################################################################
# object added
@zope.component.adapter(zope.intid.interfaces.IIntIdAddedEvent)
def intIdAddedEventDispatcher(event):
"""Event subscriber to dispatch IntIdAddedEvent to IIndexer adapters.
This event subscriber allows to use IIndexer adapters and collects them
in the transaction data manager. At the end of the transaction the different
registered adapters get calculated and only relevant indexer get processed.
This will ensure that we never process an indexer more then one time per
transaction.
"""
adapters = zope.component.getAdapters((event.object,), interfaces.IIndexer)
if adapters:
# collect indexer
iCollector = collector.get()
for name, indexer in adapters:
iCollector.addIndexer(name, indexer)
# object modified
@zope.component.adapter(zope.lifecycleevent.interfaces.IObjectModifiedEvent)
def objectModifiedDispatcher(event):
"""Event subscriber to dispatch IObjectModifiedEvent to interested adapters.
"""
adapters = zope.component.getAdapters((event.object,), interfaces.IIndexer)
if adapters:
# collect indexer
iCollector = collector.get()
for name, indexer in adapters:
iCollector.addIndexer(name, indexer)
# object removed
@zope.component.adapter(zope.intid.interfaces.IIntIdRemovedEvent)
def intIdRemovedEventDispatcher(event):
"""Event subscriber to dispatch IIntIdRemovedEvent to interested adapters.
This event subscriber allows to use subscription adapters for
(object, IIntIdRemovedEvent) which reduces simple (IIntIdRemovedEvent)
subscription adapter calls and makes the indexing story more explicit.
"""
adapters = zope.component.getAdapters((event.object,), interfaces.IIndexer)
if adapters:
# collect indexer
iCollector = collector.get()
for name, indexer in adapters:
iCollector.addUnIndexer(name, indexer) | z3c.indexer | /z3c.indexer-0.6.1.zip/z3c.indexer-0.6.1/src/z3c/indexer/subscriber.py | subscriber.py |
__docformat__ = "reStructuredText"
import zope.interface
import zope.component
from zope.intid.interfaces import IIntIdAddedEvent
from zope.intid.interfaces import IIntIdRemovedEvent
from z3c.indexer import interfaces
from z3c.indexer import indexer
# Remove in 1.0.0 release
class IAutoIndexer(zope.interface.Interface):
"""Auto indexer adapter get called by the auto indexer subscriber."""
oid = zope.interface.Attribute("""IIntId of context.""")
def doIndex():
"""Index the context in the relevant index."""
def doUnIndex():
"""Unindex the context in the relevant index."""
class IValueAutoIndexer(IAutoIndexer):
"""Value (auto) indexer."""
index = zope.interface.Attribute("""The named index utility.""")
value = zope.interface.Attribute("""Value for context/index combination.""")
class IMultiAutoIndexer(IAutoIndexer):
"""Multi (auto) indexer"""
def getIndex(indexName):
"""The named index utility getter method."""
# implicit indexing pattern (generic)
# IAutoIndexer adapter
@zope.component.adapter(IIntIdAddedEvent)
def autoIndexSubscriber(event):
"""Index all objects which get added to the intids utility."""
adapters = zope.component.getAdapters((event.object,),
interfaces.IAutoIndexer)
for name, adapter in adapters:
adapter.doIndex()
# IAutoIndexer adapter
@zope.component.adapter(IIntIdRemovedEvent)
def autoUnindexSubscriber(event):
"""Unindex all objects which get added to the intids utility."""
adapters = zope.component.getAdapters((event.object,),
interfaces.IAutoIndexer)
for name, adapter in adapters:
adapter.doUnIndex()
class ValueAutoIndexer(indexer.ValueIndexerBase):
"""Value (auto) indexer implementation."""
zope.interface.implements(interfaces.IValueAutoIndexer)
class MultiAutoIndexer(indexer.MultiIndexerBase):
"""Can be used as base for index a object in more then one index."""
zope.interface.implements(interfaces.IMultiAutoIndexer) | z3c.indexer | /z3c.indexer-0.6.1.zip/z3c.indexer-0.6.1/src/z3c/indexer/_bbb.py | _bbb.py |
======
README
======
Intro
-----
The existing catalog and index implementation get a little out of sync
because there are at least 3 different type of indexes. These are FieldIndex,
ValueIndex and SetIndex. Each of them uses a different API when it comes to the
searching. This implementation will make it easier to use all the relevant
catalog index concepts. It also makes the catalog itself obsolete because
the search query API interacts directly with indexes.
The explicit usage of this components will also allow you to index object
if you need them and not because a container likes to do it explicit because
of some default registered generic catalog index subscribers.
This package tries to improve the different search query concept as well. This
is done in two different levels. The And, Or and Not queries are implemented as
a chainable query processor which allows to apply intersections, unions etc.
based on previous results from the query chain. Other query hooks are directly
implemented at the index level. This allows us to improve the query concept
directly at the index implementation level for each query index combination.
The implementation of different query types at the index level allows us
to reuse the search query API which makes it easy to reuse for new indexes.
This means you don't have to learn a new search query API if somebody provides
the search query API defined in this package.
Note
----
This package does nothing out of the box, everything is explicit and you have
to decide what you like to do and how. The package offers you a ready to use
API and a nice set of adapters and utilities which you can register and use.
Especialy there is no subscriber which does something for you. You need to
find your own pattern how and when you need to index your objects. Nothing will
index or unindex objects by default. This is probably not the right concept
for every project but it's needed for one of my project which started having
performance issues during a search. So I started to review and rethink
existing patterns. As far as I can see, there is not much potential for
improvments in the indexing implementation, but the search and indexing concept
offered by this package provide a huge performance win. One of my page in a
project which uses a complex query for list some items is now 9 times faster
because of the new chainable search query. Also note, indexing and build
intelligent search query patterns are not an easy part and this package can
only help to improve your work if you know what you are doing ;-)
Let me say it again, you can get into trouble very quickly if you chain the
And, Or and Not parts in wrong order. But on the other hand this concept can
incredibly speedup your search query because it compares combined queries
against each other and not against all available objects.
Performance
-----------
See also the performance test located in this package. The interesting part is
the speedup different for a larger amount of indexes. Here is a sample output
from my 2,53 GHz Thinkpad W500:
Run test with
-------------
- 100 x repeat tests
- 10000 objects
- 3 relevant indexes
- 25 other indexes
Note, the index update get only processed one time.
z3c.indexer
indexer based indexing time: 2.47 s
indexer based query time: 0.72 s
indexer based not query time: 0.73 s
indexer based update time: 1.05 s
indexer object modified time: 0.02 s
indexer parent modified time: 0.00 s
indexer object moved time: 0.00 s
indexer parent moved time: 15.00 s
indexer object remove time: 2.08 s
zope.catalog
catalog based indexing time: 14.41 s
catalog based query time: 0.97 s
catalog based not query time: 3.63 s
catalog based update time: 7.72 s
catalog object modified time: 0.09 s
catalog parent modified time: 0.02 s
catalog object moved time: 0.00 s
catalog parent moved time: 15.11 s
catalog object remove time: 8.47 s
Result for 10000 objects with 3 relevant and 25 other indexes
----------------------------------------------------------------------------------
| type | indexing | query | not query | update | modify | moved | remove |
----------------------------------------------------------------------------------
| catalog | 14.41s | 0.97s | 3.63s | 7.72s | 0.09s | 0.00s | 8.47s |
----------------------------------------------------------------------------------
| indexer | 2.47s | 0.72s | 0.73s | 1.05s | 0.02s | 0.00s | 2.08s |
----------------------------------------------------------------------------------
| speedup | 11.94s | 0.25s | 2.89s | 6.67s | 0.08s | 0.00s | 6.39s |
----------------------------------------------------------------------------------
| speedup | 483% | 35% | 393% | 638% | 487% | 0% | 308% |
----------------------------------------------------------------------------------
Run test with
-------------
- 100 x repeat tests
- 10000 objects
- 3 relevant indexes
- 75 other indexes
Note, the index update get only processed one time.
z3c.indexer
indexer based indexing time: 2.63 s
indexer based query time: 0.72 s
indexer based not query time: 0.73 s
indexer based update time: 1.03 s
indexer object modified time: 0.02 s
indexer parent modified time: 0.00 s
indexer object moved time: 0.00 s
indexer parent moved time: 15.09 s
indexer object remove time: 2.09 s
zope.catalog
catalog based indexing time: 36.92 s
catalog based query time: 0.75 s
catalog based not query time: 2.66 s
catalog based update time: 22.33 s
catalog object modified time: 0.22 s
catalog parent modified time: 0.02 s
catalog object moved time: 0.00 s
catalog parent moved time: 15.22 s
catalog object remove time: 19.53 s
Result for 10000 objects with 3 relevant and 75 other indexes
----------------------------------------------------------------------------------
| type | indexing | query | not query | update | modify | moved | remove |
----------------------------------------------------------------------------------
| catalog | 36.92s | 0.75s | 2.66s | 22.33s | 0.22s | 0.00s | 19.53s |
----------------------------------------------------------------------------------
| indexer | 2.63s | 0.72s | 0.73s | 1.03s | 0.02s | 0.00s | 2.09s |
----------------------------------------------------------------------------------
| speedup | 34.30s | 0.03s | 1.92s | 21.30s | 0.20s | 0.00s | 17.44s |
----------------------------------------------------------------------------------
| speedup | 1307% | 4% | 261% | 2066% | 1269% | 0% | 833% |
----------------------------------------------------------------------------------
Goals
-----
The goals of this package are:
indexing
~~~~~~~~
- Allow to explicitly define of what, where and when get indexed.
- Reduce index calls. The existing zope.catalog implementation forces to
index every object which raises a ObjectAddedEvent. This ends in trying to
index each object on every existing index contained in a catalog.
- Get rid of persistent catalog as a single indexing utility.
- Use indexes as utilities.
searching
~~~~~~~~~
- Offer an optimized query function for build search queries. Implement a
chainable search query builder.
Concepts
--------
The concepts used in this package are:
- Each index is an utility.
- The IIndexer can index objects in one or more index.
- Everything is explicit. This means that there's no default actions on
the IntIdAddedEvent by. But you can easily write your own subscriber if
you need to use it. This package provides ready-to-use event handlers
for that.
This will allow you to
----------------------
- choose when you index
- choose how you index, e.g.
- in AddForm
- call index per object
- in large data imports
- call update on index after import all objects
And you can make custom speedup improvments like
- index per object or update the index after adding large data sets without
indexing on each object added event
- write index with built in value getter
Start a simple test setup
-------------------------
Setup some helpers:
>>> import zope.component
>>> from zope.site import folder
>>> from zope.site import LocalSiteManager
>>> from z3c.indexer import interfaces
>>> from z3c.indexer import testing
Setup a site
>>> class SiteStub(folder.Folder):
... """Sample site."""
>>> site = SiteStub()
>>> root['site'] = site
>>> sm = LocalSiteManager(site)
>>> site.setSiteManager(sm)
And set the site as the current site. This is normaly done by traversing to a
site:
>>> from zope.site import hooks
>>> hooks.setSite(site)
Setup a IIntIds utility:
>>> from zope.intid import IntIds
>>> from zope.intid.interfaces import IIntIds
>>> intids = IntIds()
>>> sm['default']['intids'] = intids
>>> sm.registerUtility(intids, IIntIds)
TextIndex
---------
Setup a text index:
>>> from z3c.indexer.index import TextIndex
>>> textIndex = TextIndex()
>>> sm['default']['textIndex'] = textIndex
>>> sm.registerUtility(textIndex, interfaces.IIndex, name='textIndex')
FieldIndex
----------
Setup a field index:
>>> from z3c.indexer.index import FieldIndex
>>> fieldIndex = FieldIndex()
>>> sm['default']['fieldIndex'] = fieldIndex
>>> sm.registerUtility(fieldIndex, interfaces.IIndex, name='fieldIndex')
ValueIndex
----------
Setup a value index:
>>> from z3c.indexer.index import ValueIndex
>>> valueIndex = ValueIndex()
>>> sm['default']['valueIndex'] = valueIndex
>>> sm.registerUtility(valueIndex, interfaces.IIndex, name='valueIndex')
SetIndex
--------
Setup a set index:
>>> from z3c.indexer.index import SetIndex
>>> setIndex = SetIndex()
>>> sm['default']['setIndex'] = setIndex
>>> sm.registerUtility(setIndex, interfaces.IIndex, name='setIndex')
DemoContent
-----------
Now we define a content object:
>>> import persistent
>>> import zope.interface
>>> from zope.container import contained
>>> from zope.schema.fieldproperty import FieldProperty
>>> class IDemoContent(zope.interface.Interface):
... """Demo content."""
... title = zope.schema.TextLine(
... title=u'Title',
... default=u'')
...
... body = zope.schema.TextLine(
... title=u'Body',
... default=u'')
...
... field = zope.schema.TextLine(
... title=u'a field',
... default=u'')
...
... value = zope.schema.TextLine(
... title=u'A value',
... default=u'')
...
... iterable = zope.schema.Tuple(
... title=u'A sequence of values',
... default=())
>>> class DemoContent(persistent.Persistent, contained.Contained):
... """Demo content."""
... zope.interface.implements(IDemoContent)
...
... title = FieldProperty(IDemoContent['title'])
... body = FieldProperty(IDemoContent['body'])
... field = FieldProperty(IDemoContent['field'])
... value = FieldProperty(IDemoContent['value'])
... iterable = FieldProperty(IDemoContent['iterable'])
...
... def __init__(self, title=u''):
... self.title = title
...
... def __repr__(self):
... return '<%s %r>' % (self.__class__.__name__, self.title)
And we create and add the content object to the site:
>>> demo = DemoContent(u'Title')
>>> demo.description = u'Description'
>>> demo.field = u'Field'
>>> demo.value = u'Value'
>>> demo.iterable = (1, 2, 'Iterable')
>>> site['demo'] = demo
The zope event subscriber for __setitem__ whould call the IIntIds register
method for our content object. But we didn't setup the relevant subscribers, so
we do this here:
>>> uid = intids.register(demo)
Indexer
-------
Setup a indexer adapter for our content object. Let's define a IIndexer class
which knows how to index text given from body and description attribute:
>>> from z3c.indexer.indexer import ValueIndexer
>>> class DemoValueIndexer(ValueIndexer):
... zope.component.adapts(IDemoContent)
...
... indexName = 'textIndex'
...
... @property
... def value(self):
... """Get the value form context."""
... return '%s %s' % (self.context.title, self.context.body)
Register the adapter as a named adapter:
>>> zope.component.provideAdapter(DemoValueIndexer, name='textIndex')
We can also use a indexer wich knows how to index the object in different
indexes.
>>> from z3c.indexer.indexer import MultiIndexer
>>> class DemoMultiIndexer(MultiIndexer):
... zope.component.adapts(IDemoContent)
...
... def doIndex(self):
...
... # index context in fieldIndex
... fieldIndex = self.getIndex('fieldIndex')
... fieldIndex.doIndex(self.oid, self.context.field)
...
... # index context in setIndex
... setIndex = self.getIndex('setIndex')
... setIndex.doIndex(self.oid, self.context.iterable)
...
... # index context in valueIndex
... valueIndex = self.getIndex('valueIndex')
... valueIndex.doIndex(self.oid, self.context.value)
...
... def doUnIndex(self):
...
... # index context in fieldIndex
... fieldIndex = self.getIndex('fieldIndex')
... fieldIndex.doUnIndex(self.oid)
...
... # index context in setIndex
... setIndex = self.getIndex('setIndex')
... setIndex.doUnIndex(self.oid)
...
... # index context in valueIndex
... valueIndex = self.getIndex('valueIndex')
... valueIndex.doUnIndex(self.oid)
Register the adapter as a named adapter:
>>> zope.component.provideAdapter(DemoMultiIndexer, name='DemoMultiIndexer')
Indexing
--------
Before we start indexing, we check the index:
>>> textIndex.documentCount()
0
>>> setIndex.documentCount()
0
>>> valueIndex.documentCount()
0
Now we can index our demo object:
>>> from z3c.indexer.indexer import index
>>> index(demo)
And check our indexes:
>>> textIndex.documentCount()
1
>>> setIndex.documentCount()
1
>>> valueIndex.documentCount()
1
SearchQuery
-----------
Text Index Query
~~~~~~~~~~~~~~~~
Build a simple text search query:
>>> from z3c.indexer.search import SearchQuery
>>> from z3c.indexer.query import TextQuery
>>> textQuery = TextQuery('textIndex', 'Title')
>>> query = SearchQuery(textQuery)
Now let's see if we get ``uid`` from the content object:
>>> res = query.apply()
>>> res[0] == uid
True
A none existent value will return a empty result:
>>> textQuery = TextQuery('textIndex', 'bad')
>>> query = SearchQuery(textQuery)
>>> query.apply()
IFSet([])
Field Index Query
~~~~~~~~~~~~~~~~~
Search with a Eq query:
>>> from z3c.indexer.query import Eq
>>> eqQuery = Eq('fieldIndex', 'Field')
>>> query = SearchQuery(eqQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A none existent value will return a empty result:
>>> eqQuery = Eq('fieldIndex', 'bad')
>>> query = SearchQuery(eqQuery)
>>> query.apply()
IFSet([])
Search with a NotEq query:
>>> from z3c.indexer.query import NotEq
>>> notEqQuery = NotEq('fieldIndex', 'bad')
>>> query = SearchQuery(notEqQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A existent value will return a empty result:
>>> notEqQuery = NotEq('fieldIndex', 'Field')
>>> query = SearchQuery(notEqQuery)
>>> query.apply()
IFSet([])
Search with a Between query:
>>> from z3c.indexer.query import Between
>>> betweenQuery = Between('fieldIndex', 'Fiel', 'Fielder')
>>> query = SearchQuery(betweenQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A wrong min and max value will return a empty result:
>>> betweenQuery = Between('fieldIndex', 'Fielder', 'Fiel')
>>> query = SearchQuery(betweenQuery)
>>> query.apply()
IFSet([])
Search with a Ge query:
>>> from z3c.indexer.query import Ge
>>> geQuery = Ge('fieldIndex', 'Fiel')
>>> query = SearchQuery(geQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A wrong max value will return a empty result:
>>> geQuery = Ge('fieldIndex', 'Fielder')
>>> query = SearchQuery(geQuery)
>>> query.apply()
IFSet([])
Search with a Le query:
>>> from z3c.indexer.query import Le
>>> leQuery = Le('fieldIndex', 'Fielder')
>>> query = SearchQuery(leQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A wrong min value will return a empty result:
>>> leQuery = Le('fieldIndex', 'Fiel')
>>> query = SearchQuery(leQuery)
>>> query.apply()
IFSet([])
Search with a In query:
>>> from z3c.indexer.query import In
>>> inQuery = In('fieldIndex', ['Field', 1, 2])
>>> query = SearchQuery(inQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A list of none existent values will return a empty result:
>>> inQuery = In('fieldIndex', ['Fielder', 1, 2])
>>> query = SearchQuery(inQuery)
>>> query.apply()
IFSet([])
Value Index Query
~~~~~~~~~~~~~~~~~
Search with a Eq query:
>>> eqQuery = Eq('valueIndex', 'Value')
>>> query = SearchQuery(eqQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A none existent value will return a empty result:
>>> eqQuery = Eq('valueIndex', 'bad')
>>> query = SearchQuery(eqQuery)
>>> query.apply()
IFSet([])
Search with a NotEq query:
>>> notEqQuery = NotEq('valueIndex', 'bad')
>>> query = SearchQuery(notEqQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A existent value will return a empty result:
>>> notEqQuery = NotEq('valueIndex', 'Value')
>>> query = SearchQuery(notEqQuery)
>>> query.apply()
IFSet([])
Search with a Between query:
>>> betweenQuery = Between('valueIndex', 'Val', 'Values')
>>> query = SearchQuery(betweenQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A wrong min and max value will return a empty result:
>>> betweenQuery = Between('valueIndex', 'Values', 'Val')
>>> query = SearchQuery(betweenQuery)
>>> query.apply()
IFSet([])
Search with a Ge query:
>>> geQuery = Ge('valueIndex', 'Val')
>>> query = SearchQuery(geQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A wrong max value will return a empty result:
>>> geQuery = Ge('valueIndex', 'Values')
>>> query = SearchQuery(geQuery)
>>> query.apply()
IFSet([])
Search with a Le query:
>>> leQuery = Le('valueIndex', 'Values')
>>> query = SearchQuery(leQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A wrong min value will return a empty result:
>>> leQuery = Le('valueIndex', 'Val')
>>> query = SearchQuery(leQuery)
>>> query.apply()
IFSet([])
Search with a In query:
>>> inQuery = In('valueIndex', ['Value', 1, 2])
>>> query = SearchQuery(inQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A list of none existent values will return a empty result:
>>> inQuery = In('valueIndex', ['Values', 1, 2])
>>> query = SearchQuery(inQuery)
>>> query.apply()
IFSet([])
Search with a ExtentAny query:
>>> from zc.catalog.extentcatalog import Extent
>>> from z3c.indexer.query import ExtentAny
>>> extent = Extent()
>>> extent.add(uid, ['Values', 1, 2])
>>> extentAnyQuery = ExtentAny('valueIndex', extent)
>>> query = SearchQuery(extentAnyQuery)
>>> res = query.apply()
>>> res[0] == uid
True
Search with a ExtentNone query:
>>> from z3c.indexer.query import ExtentNone
>>> extentNoneQuery = ExtentNone('valueIndex', extent)
>>> query = SearchQuery(extentNoneQuery)
>>> res = query.apply()
>>> len(res)
0
Set Index Query
~~~~~~~~~~~~~~~
Search with a AnyOf query:
>>> from z3c.indexer.query import AnyOf
>>> anyOfQuery = AnyOf('setIndex', ['Iterable', 1])
>>> query = SearchQuery(anyOfQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A list of none existent values will return a empty result:
>>> anyOfQuery = AnyOf('setIndex', ['Iter', 3])
>>> query = SearchQuery(anyOfQuery)
>>> query.apply()
IFSet([])
Search with a AllOf query:
>>> from z3c.indexer.query import AllOf
>>> allOfQuery = AllOf('setIndex', ['Iterable', 1, 2])
>>> query = SearchQuery(allOfQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A list of to less values will return the same result:
>>> from z3c.indexer.query import AllOf
>>> allOfQuery = AllOf('setIndex', ['Iterable', 1])
>>> query = SearchQuery(allOfQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A list of to much values will return a empty result:
>>> allOfQuery = AllOf('setIndex', ['Iterable', 1, 2, 3])
>>> query = SearchQuery(allOfQuery)
>>> query.apply()
IFSet([])
Search with a Between query:
>>> betweenQuery = Between('setIndex', 'Iter', 'Iterables')
>>> query = SearchQuery(betweenQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A wrong min and max value will return a empty result:
>>> betweenQuery = Between('setIndex', 'Iterables', 'Iter')
>>> query = SearchQuery(betweenQuery)
>>> query.apply()
IFSet([])
Search with a Ge query:
>>> geQuery = Ge('valueIndex', 'Iter')
>>> query = SearchQuery(geQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A wrong max value will return a empty result:
>>> geQuery = Ge('setIndex', 'Iterables')
>>> query = SearchQuery(geQuery)
>>> query.apply()
IFSet([])
Search with a Le query:
>>> leQuery = Le('setIndex', 'Iterables')
>>> query = SearchQuery(leQuery)
>>> res = query.apply()
>>> res[0] == uid
True
A wrong min value will return a empty result:
>>> leQuery = Le('setIndex', 0)
>>> query = SearchQuery(leQuery)
>>> query.apply()
IFSet([])
Search with a ExtentAny query:
>>> extentAnyQuery = ExtentAny('setIndex', extent)
>>> query = SearchQuery(extentAnyQuery)
>>> res = query.apply()
>>> res[0] == uid
True
Search with a ExtentNone query:
>>> extent = Extent()
>>> extent.add(uid, ['Iterables'])
>>> extentNoneQuery = ExtentNone('setIndex', extent)
>>> query = SearchQuery(extentNoneQuery)
>>> query.apply()
IFSet([])
Chainable Search Query
----------------------
A search query is chainable. This means we can append queries to queries
itself. The result of a previous query will be used for the next query in the
chain. Note, this pattern can give you hugh speedup but you have to take care
on what you chain in which order or you will very quickly get a wrong result.
But the speedup can be hugh, I optimized one of my application with this
pattern and got a speedup by 900%.
Let's cleanup the text index first:
>>> textIndex.clear()
And add some more demo object with different values:
>>> apple = DemoContent(u'Apple')
>>> site['apple'] = apple
>>> appleId = intids.register(apple)
>>> house = DemoContent(u'House')
>>> site['house'] = house
>>> houseId = intids.register(house)
>>> tower = DemoContent(u'Tower')
>>> site['tower'] = tower
>>> towerId = intids.register(tower)
>>> every = DemoContent(u'Apple House Tower')
>>> site['every'] = every
>>> everyId = intids.register(every)
And register them in the text index:
>>> index(apple)
>>> index(house)
>>> index(tower)
>>> index(every)
Now we can see that we have 3 items in the text index:
>>> textIndex.documentCount()
4
Let's build some query:
>>> appleQuery = TextQuery('textIndex', 'Apple')
>>> houseQuery = TextQuery('textIndex', 'House')
>>> towerQuery = TextQuery('textIndex', 'Tower')
>>> badQuery = TextQuery('textIndex', 'Bad')
And SearchQuery
---------------
Now we can build a search query chain with this queries. The following sample
will return all items which are returned by the 'Apple' and the 'House' query
This is only the case for the ``every`` object:
>>> query = SearchQuery(appleQuery).And(houseQuery)
>>> res = query.apply()
>>> res[0] == everyId
True
>>> intids.getObject(res[0])
<DemoContent u'Apple House Tower'>
We'll always get an empty result if we use And to an empty query:
>>> query = SearchQuery().And(appleQuery)
>>> len(query.apply())
0
Or if we'll use And to non-empty query with an empty one:
>>> query = SearchQuery(appleQuery).And(badQuery)
>>> len(query.apply())
0
Or SearchQuery
--------------
The Or search query will return all object which are contained in each query. The
search query below will return all 4 objects becaues each of them get found by
one of the existing queries. And the ``every`` object will only get listed once:
>>> allQuery = SearchQuery(appleQuery).Or(houseQuery).Or(towerQuery)
>>> res = allQuery.apply()
>>> len(res)
4
It will return the same if we start with empty query:
>>> allQuery = SearchQuery().Or(appleQuery).Or(houseQuery).Or(towerQuery)
>>> res = allQuery.apply()
>>> len(res)
4
Not SearchQuery
---------------
A Not search query will return all object which are not contained in the given
query. The search query below will return all objects except the ones which
contains the word ``Apple`` becaues we exclude them within the appleQuery.
Another interesting thing is, that we can use the previous query and simple
add another query to the chain. This is a very interesting pattern for filters.
>>> query = allQuery.Not(appleQuery)
>>> res = query.apply()
>>> len(res)
2
>>> intids.getObject(sorted(res)[0])
<DemoContent u'House'>
>>> intids.getObject(sorted(res)[1])
<DemoContent u'Tower'>
Again, the Not query will return nothing on an empty query:
>>> query = SearchQuery().Not(appleQuery)
>>> len(query.apply())
0
ResultSet
---------
The SearchQuery provides also a ResultSet wrapper. We can get an iterable
ResultSet instance if we call ``searchResults`` from the search query:
>>> allQuery = SearchQuery(appleQuery).Or(houseQuery).Or(towerQuery)
>>> resultSet = allQuery.searchResults()
>>> resultSet
<ResultSet len: 4>
>>> len(resultSet)
4
Or we can get a slice from the ResultSet:
>>> resultSet[-1:]
[<DemoContent u'Apple House Tower'>]
>>> resultSet[0:]
[<DemoContent u'Apple'>, <DemoContent u'House'>, <DemoContent u'Tower'>,
<DemoContent u'Apple House Tower'>]
>>> resultSet[1:]
[<DemoContent u'House'>, <DemoContent u'Tower'>,
<DemoContent u'Apple House Tower'>]
>>> resultSet[:-2]
[<DemoContent u'Apple'>, <DemoContent u'House'>]
Or we can iterate over the ResultSet:
>>> list(resultSet)
[<DemoContent u'Apple'>, <DemoContent u'House'>, <DemoContent u'Tower'>,
<DemoContent u'Apple House Tower'>]
Or check if a item is a part of the result set:
>>> object() in resultSet
False
>>> apple in resultSet
True
There is an optional intids argument in searchResults. If given, it's used for
query the objects instead of lookup the IIntIds utility.
>>> resultSet = allQuery.searchResults(intids)
>>> len(resultSet)
4
This will return the same objects as before:
>>> resultSet[-1:]
[<DemoContent u'Apple House Tower'>]
Also, the ``searchResults`` provides a way to sort objects
by their indexed values. You can pass the ``sort_index``,
``reverse`` and ``limit`` arguments.
If ``sort_index`` is not specified, results are reversed/splitted
by simple python list mechanisms. That doesn't make any sense
though, as we can't guarantee any order with that.
>>> allQuery = SearchQuery(appleQuery).Or(houseQuery).Or(towerQuery)
>>> list(allQuery.searchResults())
[<DemoContent u'Apple'>, <DemoContent u'House'>, <DemoContent u'Tower'>,
<DemoContent u'Apple House Tower'>]
>>> list(allQuery.searchResults(reverse=True))
[<DemoContent u'Apple House Tower'>, <DemoContent u'Tower'>,
<DemoContent u'House'>, <DemoContent u'Apple'>]
>>> list(allQuery.searchResults(reverse=True, limit=2))
[<DemoContent u'Apple House Tower'>, <DemoContent u'Tower'>]
>>> list(allQuery.searchResults(limit=2))
[<DemoContent u'Apple'>, <DemoContent u'House'>]
However, when ``sort_index`` is specified, results are sorted
by values, indexed by specified index using its ``sort`` method.
Limiting and reversing order are also done by index itself, so
index can do that efficiently. At the time of writing, only
the FieldIndexes supports sorting.
Let's provide sensible ``field`` value for our content and
reindex it.
>>> apple.field = u'3'
>>> house.field = u'6'
>>> tower.field = u'2'
>>> every.field = u'4'
>>> index(apple)
>>> index(house)
>>> index(tower)
>>> index(every)
>>> list(allQuery.searchResults(sort_index='fieldIndex'))
[<DemoContent u'Tower'>, <DemoContent u'Apple'>,
<DemoContent u'Apple House Tower'>, <DemoContent u'House'>]
>>> list(allQuery.searchResults(sort_index='fieldIndex', reverse=True))
[<DemoContent u'House'>, <DemoContent u'Apple House Tower'>,
<DemoContent u'Apple'>, <DemoContent u'Tower'>]
>>> list(allQuery.searchResults(sort_index='fieldIndex', limit=2))
[<DemoContent u'Tower'>, <DemoContent u'Apple'>]
>>> list(allQuery.searchResults(sort_index='fieldIndex', reverse=True, limit=2))
[<DemoContent u'House'>, <DemoContent u'Apple House Tower'>]
The index must provide the ``zope.index.interfaces.IIndexSort``
interface, otherwise, TypeError is raised.
>>> allQuery.searchResults(sort_index='textIndex')
Traceback (most recent call last):
...
TypeError: Index textIndex does not implement sorting.
Batching
--------
This ResultSet described above can be used together with the Batch
implementation defined in the z3c.batching package.
unindex
-------
Now after the different index and serch tests we are ready to unindex our
indexed objects. Let's see what we have in the indexes:
>>> textIndex.documentCount()
4
>>> setIndex.documentCount()
1
>>> valueIndex.documentCount()
5
Now let's use our unindex method from the module indexer. This will call our
Indexer adapter and delegate the unindex call to the doUnIndex method of such
a IIndexer adapter. Let's unindex our demo object:
>>> from z3c.indexer.indexer import unindex
>>> unindex(demo)
Now you can see that the dome object get reomved:
>>> textIndex.documentCount()
4
>>> setIndex.documentCount()
0
>>> valueIndex.documentCount()
4
Coverage
--------
Let's test some line of code which are not used right now. First test if the
base class IndexerBase raises a NotImplementedError if we do not implement the
methods:
>>> from z3c.indexer.indexer import IndexerBase
>>> indexerBase = IndexerBase(object())
>>> indexerBase.doIndex()
Traceback (most recent call last):
...
NotImplementedError: Subclass must implement doIndex method.
>>> indexerBase.doUnIndex()
Traceback (most recent call last):
...
NotImplementedError: Subclass must implement doUnIndex method.
The MutliIndexer does also not implement this methods:
>>> from z3c.indexer.indexer import MultiIndexer
>>> multiIndexer = MultiIndexer(object())
>>> multiIndexer.doIndex()
Traceback (most recent call last):
...
NotImplementedError: Subclass must implement doIndex method.
>>> multiIndexer.doUnIndex()
Traceback (most recent call last):
...
NotImplementedError: Subclass must implement doUnIndex method.
And the ValueIndexer does not implement the value attribute:
>>> valueIndexer = ValueIndexer(object())
>>> valueIndexer.indexName = 'textIndex'
>>> valueIndexer.value
Traceback (most recent call last):
...
NotImplementedError: Subclass must implement the value property.
Another use case which we didn't test is that a applyIn can contain the
same object twice with different values. Let's test the built in union
which removes such duplications. Since this is the first test which uses
IIntId subscribers let' register them:
>>> from zope.intid import addIntIdSubscriber
>>> from zope.intid import removeIntIdSubscriber
>>> zope.component.provideHandler(addIntIdSubscriber)
>>> zope.component.provideHandler(removeIntIdSubscriber)
>>> demo1 = DemoContent(u'Demo 1')
>>> demo1.description = u'Description'
>>> demo1.field = u'Field'
>>> demo1.value = u'Value'
>>> demo1.iterable = (1, 2, 'Iterable')
>>> site['demo1'] = demo1
>>> index(demo1)
>>> demo2 = DemoContent(u'Demo 2')
>>> demo2.description = u'Description'
>>> demo2.field = u'Field'
>>> demo2.value = u'Value'
>>> demo2.iterable = (1, 2, 'Iterable')
>>> site['demo2'] = demo2
>>> index(demo2)
>>> inQuery = In('fieldIndex', ['Field', 'Field'])
>>> query = SearchQuery(inQuery)
>>> resultSet = query.searchResults()
>>> demo1 in resultSet
True
>>> demo2 in resultSet
True
A SearchQuery allows us to set a BTrees family argument:
>>> import BTrees
>>> textDemo = DemoContent(u'Text Demo')
>>> textDemo.description = u'Description'
>>> site['textDemo'] = textDemo
>>> index(textDemo)
>>> textQuery = TextQuery('textIndex', 'Text Demo')
>>> query = SearchQuery(textQuery, BTrees.family32)
>>> demo1 in resultSet
True
| z3c.indexer | /z3c.indexer-0.6.1.zip/z3c.indexer-0.6.1/src/z3c/indexer/README.txt | README.txt |
__docformat__ = "reStructuredText"
import time
import transaction
import persistent
import zope.interface
import zope.component
import zope.schema
import zope.event
import zope.lifecycleevent
import zope.location.interfaces
from BTrees.IFBTree import difference, IFBTree
from zope.index.text.textindex import TextIndex as ZTextIndex
from zope.keyreference.interfaces import IKeyReference
from zope.keyreference.testing import SimpleKeyReference
from zope.site import hooks
from zope.catalog.interfaces import ICatalog
from zope.catalog.field import FieldIndex as ZFieldIndex
from zope.catalog.interfaces import ICatalogIndex
from zope.catalog.catalog import Catalog
from zope.catalog.catalog import indexAdded
from zope.catalog.catalog import indexDocSubscriber
from zope.catalog.catalog import reindexDocSubscriber
from zope.catalog.catalog import unindexDocSubscriber
from zope.container.interfaces import IReadContainer
from zope.container.interfaces import IObjectAddedEvent
from zope.container.interfaces import IObjectModifiedEvent
from zope.container.interfaces import IObjectMovedEvent
from zope.container import contained
from zope.intid import IntIds
from zope.intid import addIntIdSubscriber
from zope.intid import removeIntIdSubscriber
from zope.intid.interfaces import IIntIds
from zope.intid.interfaces import IIntIdAddedEvent
from zope.intid.interfaces import IIntIdRemovedEvent
from zope.app.testing import setup
from zc.catalog import index as zcindex
from z3c.indexer import interfaces
from z3c.indexer import subscriber
from z3c.indexer import collector
from z3c.indexer.query import TextQuery
from z3c.indexer.query import Eq
from z3c.indexer.index import TextIndex
from z3c.indexer.index import FieldIndex
from z3c.indexer.index import ValueIndex
from z3c.indexer.indexer import MultiIndexer
from z3c.indexer.search import SearchQuery
timeResult = None
def timeTest(function, counter=10000, *args, **kw):
"""timer"""
res = []
append = res.append
def wrapper(*args, **kw):
start_time = time.time()
for i in range(counter):
append(function(*args, **kw))
total_time = time.time() - start_time
global timeResult
timeResult = total_time
# commit transaction forces indexer collector indexing our objects
transaction.commit()
return res
return wrapper(*args, **kw)
#def calcSpeedUp(catalogTime, indexerTime):
# # adjust time and prevent zero division errors
# if float(catalogTime) == 0:
# catalogTime = 0.001
# if float(indexerTime) == 0:
# indexerTime = 0.001
# if catalogTime > indexerTime:
# # faster
# precent = int('%.0f' % \
# float(float(catalogTime) / float(indexerTime) * 100 -100))
# return '%4d%s' % (precent, '%')
# else:
# # slower
# precent = int('%.0f' % \
# float(float(indexerTime) / float(catalogTime) * 100 -100))
# return '-%3d%s' % (precent, '%')
def calcSpeedUp(catalogTime, indexerTime):
# adjust time and prevent zero division errors
indexerTime = float(indexerTime) or 0.001
catalogTime = float(catalogTime) or 0.001
try:
if catalogTime < indexerTime:
# slower
precent = int('%.0f' % float(indexerTime / catalogTime * 100 -100))
return '-%3d%s' % (precent, '%')
else:
# faster
precent = int('%.0f' % float(catalogTime / indexerTime * 100 -100))
return '%4d%s' % (precent, '%')
except ZeroDivisionError:
return ' 0'
##############################################################################
#
# test components
#
##############################################################################
class IContent(zope.interface.Interface):
"""Sample content."""
title = zope.schema.TextLine(title=u'Title')
counter = zope.schema.Int(title=u'Counter')
time = zope.schema.Datetime(title=u'Time')
class Content(persistent.Persistent, contained.Contained):
"""Sample content."""
zope.interface.implements(IContent)
def __init__(self, counter):
self.title = u'Number %s' % counter
self.counter = counter
self.time = time.time()
# catalog index
class CatalogTextIndex(ZTextIndex, contained.Contained):
"""Test index for catalog."""
def index_doc(self, docid, obj):
if not IContent.providedBy(obj):
return
return super(CatalogTextIndex, self).index_doc(docid, obj.title)
class CatalogValueIndex(zcindex.ValueIndex, contained.Contained):
"""Value Index for catalog setup."""
def index_doc(self, docid, obj):
if not IContent.providedBy(obj):
return
return super(CatalogValueIndex, self).index_doc(docid, obj.time)
class CatalogFieldIndex(ZFieldIndex, contained.Contained):
"""Value Index for catalog setup."""
default_field_name = 'counter'
default_interface = IContent
# indexer
class ContentIndexer(MultiIndexer):
"""Multi indexer for IContent."""
zope.component.adapts(IContent)
def __init__(self, context):
"""Registered as named index adapter"""
super(ContentIndexer, self).__init__(context)
site = hooks.getSite()
sm = site.getSiteManager()
self.textIndex = sm['textIndex']
self.valueIndex = sm['valueIndex']
self.fieldIndex = sm['fieldIndex']
def doIndex(self):
# index context in textIndex
self.textIndex.doIndex(self.oid, self.context.title)
# index context in valueIndex
self.valueIndex.doIndex(self.oid, self.context.time)
# index context in fieldIndex
self.fieldIndex.doIndex(self.oid, self.context.counter)
def doUnIndex(self):
# index context in setIndex
self.textIndex.doUnIndex(self.oid)
# index context in valueIndex
self.valueIndex.doUnIndex(self.oid)
# index context in fieldIndex
self.fieldIndex.doUnIndex(self.oid)
def setUpIntIds(sm):
intids = IntIds()
sm['intids'] = intids
zope.component.provideUtility(intids, IIntIds)
def setUpAdapter():
# setup key reference
zope.component.provideAdapter(SimpleKeyReference, (None,), IKeyReference)
# provide sub location adapter
zope.component.provideAdapter(contained.ContainerSublocations,
(IReadContainer,), zope.location.interfaces.ISublocations)
def setUpSharedSubscribers(gsm):
gsm.registerHandler(addIntIdSubscriber)
gsm.registerHandler(removeIntIdSubscriber)
gsm.registerHandler(contained.dispatchToSublocations,
(zope.location.interfaces.ILocation, IObjectMovedEvent))
def setUpCatalogSubscribers(gsm):
gsm.registerHandler(indexAdded, (ICatalogIndex, IObjectAddedEvent))
gsm.registerHandler(indexDocSubscriber, (IIntIdAddedEvent,))
gsm.registerHandler(reindexDocSubscriber, (IObjectModifiedEvent,))
gsm.registerHandler(unindexDocSubscriber, (IIntIdRemovedEvent,))
def setUpindexerSubscribers(gsm):
gsm.registerHandler(subscriber.intIdAddedEventDispatcher)
gsm.registerHandler(subscriber.objectModifiedDispatcher)
gsm.registerHandler(subscriber.intIdRemovedEventDispatcher)
def setUpCatalog(amountOfIndexes=0):
site = setup.placefulSetUp(True)
setUpAdapter()
# setup IIntIds
sm = site.getSiteManager()
setUpIntIds(sm)
# setup catalog
ctlg = Catalog()
sm['catalog'] = ctlg
sm.registerUtility(ctlg, ICatalog)
# create and add indexes
ctlg['textIndex'] = CatalogTextIndex()
ctlg['valueIndex'] = CatalogValueIndex()
ctlg['fieldIndex'] = CatalogFieldIndex()
# add additional not IContent relevant indexes
for i in range(amountOfIndexes):
idxName = 'index-%i' % i
ctlg[idxName] = CatalogTextIndex()
# now we are ready and can setup the event subscribers
gsm = zope.component.getGlobalSiteManager()
setUpSharedSubscribers(gsm)
setUpCatalogSubscribers(gsm)
# return site
return site
def setUpIndexer(amountOfIndexes=0):
site = setup.placefulSetUp(True)
setUpAdapter()
# setup IIntIds
sm = site.getSiteManager()
setUpIntIds(sm)
# create and add indexes
sm['textIndex'] = textIndex = TextIndex()
sm['valueIndex'] = valueIndex = ValueIndex()
sm['fieldIndex'] = fieldIndex = FieldIndex()
# register indexes as utilities
sm.registerUtility(textIndex, interfaces.IIndex, name='textIndex')
sm.registerUtility(valueIndex, interfaces.IIndex, name='valueIndex')
sm.registerUtility(fieldIndex, interfaces.IIndex, name='fieldIndex')
# add additional not IContent relevant indexes
for i in range(amountOfIndexes):
idxName = 'index-%i' % i
sm[idxName] = TextIndex()
sm.registerUtility(sm[idxName], interfaces.IIndex, name=idxName)
# provide IIndexer for IContent
zope.component.provideAdapter(ContentIndexer)
# now we are ready and can setup the event subscribers
gsm = zope.component.getGlobalSiteManager()
setUpSharedSubscribers(gsm)
setUpindexerSubscribers(gsm)
# return site
return site
def tearDownCatalog():
setup.placefulTearDown()
def tearDownIndexer():
setup.placefulTearDown()
def runCatalogIndexing(site, amountOfObjects=1000):
# setup component
for i in range(amountOfObjects):
content = Content(i)
zope.event.notify(zope.lifecycleevent.ObjectCreatedEvent(content))
site[unicode(i)] = content
def runIndexerIndexing(site, amountOfObjects=1000):
# setup component
for i in range(amountOfObjects):
content = Content(i)
zope.event.notify(zope.lifecycleevent.ObjectCreatedEvent(content))
site[unicode(i)] = content
def runCatalogUpdate():
ctlg = zope.component.getUtility(ICatalog)
ctlg.updateIndexes()
def runIndexerUpdate(site):
[interfaces.IIndexer(content).doIndex() for content in site.values()]
def runCatalogQuery():
ctlg = zope.component.getUtility(ICatalog)
return ctlg.searchResults(textIndex='Number 42', fieldIndex=(41, 43))
def runIndexerQuery():
textQuery = TextQuery('textIndex', 'Number 42')
fieldQuery = Eq('fieldIndex', 42)
searchQuery = SearchQuery(textQuery).Or(fieldQuery)
return searchQuery.apply()
def runCatalogNotQuery():
ctlg = zope.component.getUtility(ICatalog)
query = ({'textIndex':'Number', 'fieldIndex':(1, 999999999999999999)})
found = ctlg.apply(query)
# get all objects
intids = zope.component.getUtility(IIntIds)
# and remove the given result
result = IFBTree()
for uid in intids:
result.insert(uid, 0)
return difference(result, found)
def runIndexerNotQuery():
textQuery = TextQuery('textIndex', 'Number 42')
fieldQuery = Eq('fieldIndex', 1)
searchQuery = SearchQuery(textQuery).Not(fieldQuery)
return searchQuery.apply()
def runObjectModifiedEvent(obj):
zope.event.notify(zope.lifecycleevent.ObjectModifiedEvent(obj))
def runObjectMovedEvent(obj):
zope.event.notify(contained.ObjectMovedEvent(obj, None, None,
obj.__parent__, obj.__name__))
def runObjectRemove(site):
# remove one item
for item in site.values():
del site[item.__name__]
return
##############################################################################
#
# performance test
#
# This performance test will show that the default zope.catalog based
# indexing pattern is very bad on a large set of indexes. Because the default
# catalog pattern tries to index every object in every index.
#
# The z3c.indexer pattern avoids this because you can implement optimized
# indexing pattern which only index objects in the relevant indexes.
#
##############################################################################
def runTest(repeatTimes, amountOfObjects, amountOfIndexes=0):
print ""
print "Run test with"
print "-------------"
print "- %i x repeat tests" % repeatTimes
print "- %i objects" % amountOfObjects
print "- 3 relevant indexes"
print "- %i other indexes" % amountOfIndexes
print "Note, the index update get only processed one time."
# setup z3c.indexer based performance test
indexerSite = setUpIndexer(amountOfIndexes)
print ""
print "z3c.indexer"
# time indexer indexing
timeTest(runIndexerIndexing, 1, indexerSite, amountOfObjects)
runIndexerIndexingTime = timeResult
print "indexer based indexing time: %.2f s" % runIndexerIndexingTime
# now get the first obejct
firstObj = indexerSite['1']
# time indexer query
res = timeTest(runIndexerQuery, repeatTimes)
runIndexerQueryTime = timeResult
print "indexer based query time: %.2f s" % runIndexerQueryTime
if len(res.pop(0)) != 1:
print "...bad query result returned"
# time indexer query
res = timeTest(runIndexerNotQuery, repeatTimes)
runIndexerNotQueryTime = timeResult
print "indexer based not query time: %.2f s" % runIndexerNotQueryTime
if len(res.pop(0)) != 1:
print "...bad query result returned"
# time indexer indexes update
timeTest(runIndexerUpdate, 1, indexerSite)
runIndexerUpdateTime = timeResult
print "indexer based update time: %.2f s" % runIndexerUpdateTime
# time object modified event
timeTest(runObjectModifiedEvent, repeatTimes, firstObj)
runIndexerModifiedTime = timeResult
print "indexer object modified time: %.2f s" % runIndexerModifiedTime
# time parent modified event
timeTest(runObjectModifiedEvent, repeatTimes, indexerSite)
runIndexerParentModifiedTime = timeResult
print "indexer parent modified time: %.2f s" % runIndexerParentModifiedTime
# time object moved event
timeTest(runObjectMovedEvent, repeatTimes, firstObj)
runIndexerObjectMovedTime = timeResult
print "indexer object moved time: %.2f s" % runIndexerObjectMovedTime
# time parent moved event
timeTest(runObjectMovedEvent, repeatTimes, indexerSite)
runIndexerParentObjectMovedTime = timeResult
print "indexer parent moved time: %.2f s" % runIndexerParentObjectMovedTime
# time object remove (IObjectMovedEvent)
timeTest(runObjectRemove, amountOfObjects, indexerSite)
runIndexerObjectRemoveTime = timeResult
print "indexer object remove time: %.2f s" % runIndexerObjectRemoveTime
# check if all intids get removed
intids = zope.component.getUtility(IIntIds)
if len(intids) > 0:
print "...Not all objects get removed from IIntIds"
# tear down
tearDownIndexer()
print ""
print "zope.catalog"
# setup zope.catalog based performance test
catalogSite = setUpCatalog(amountOfIndexes)
# time catalog indexing
timeTest(runCatalogIndexing, 1, catalogSite, amountOfObjects)
runCatalogIndexingTime = timeResult
print "catalog based indexing time: %.2f s" % runCatalogIndexingTime
# now get the first obejct
firstObj = catalogSite['1']
# time catalog query
res = timeTest(runCatalogQuery, repeatTimes)
runCatalogQueryTime = timeResult
print "catalog based query time: %.2f s" % runCatalogQueryTime
if len(res.pop(0)) != 1:
print "...bad query result returned"
# time catalog not query
res = timeTest(runCatalogNotQuery, repeatTimes)
runCatalogNotQueryTime = timeResult
print "catalog based not query time: %.2f s" % runCatalogNotQueryTime
if len(res.pop(0)) != 1:
print "...bad query result returned"
# time catalog indexes update
timeTest(runCatalogUpdate, 1)
runCatalogUpdateTime = timeResult
print "catalog based update time: %.2f s" % runCatalogUpdateTime
# time object modified event
timeTest(runObjectModifiedEvent, repeatTimes, firstObj)
runCatalogModifiedTime = timeResult
print "catalog object modified time: %.2f s" % runCatalogModifiedTime
# time parent modified event
timeTest(runObjectModifiedEvent, repeatTimes, catalogSite)
runCatalogParentModifiedTime = timeResult
print "catalog parent modified time: %.2f s" % runCatalogParentModifiedTime
# time object moved event
timeTest(runObjectMovedEvent, repeatTimes, firstObj)
runCatalogObjectMovedTime = timeResult
print "catalog object moved time: %.2f s" % runCatalogObjectMovedTime
# time parent moved event
timeTest(runObjectMovedEvent, repeatTimes, catalogSite)
runCatalogParentObjectMovedTime = timeResult
print "catalog parent moved time: %.2f s" % runCatalogParentObjectMovedTime
# time object remove (IObjectMovedEvent)
timeTest(runObjectRemove, amountOfObjects, catalogSite)
runCatalogObjectRemoveTime = timeResult
print "catalog object remove time: %.2f s" % runCatalogObjectRemoveTime
# check if all intids get removed
intids = zope.component.getUtility(IIntIds)
if len(intids) > 0:
print "...Not all objects get removed from IIntIds"
# tear down
tearDownCatalog()
print ""
print "Result for %i objects with 3 relevant and %i other indexes" % (
amountOfObjects, amountOfIndexes)
print " ----------------------------------------------------------------------------------"
print "| type | indexing | query | not query | update | modify | moved | remove |"
print " ----------------------------------------------------------------------------------"
print "| catalog | % 7.2fs |% 7.2fs | % 7.2fs |% 7.2fs |% 7.2fs |% 7.2fs |% 7.2fs |" % (
runCatalogIndexingTime, runCatalogQueryTime, runCatalogNotQueryTime,
runCatalogUpdateTime, runCatalogModifiedTime, runCatalogObjectMovedTime,
runCatalogObjectRemoveTime)
print " ----------------------------------------------------------------------------------"
print "| indexer | % 7.2fs |% 7.2fs | % 7.2fs |% 7.2fs |% 7.2fs |% 7.2fs |% 7.2fs |" % (
runIndexerIndexingTime, runIndexerQueryTime, runIndexerNotQueryTime,
runIndexerUpdateTime, runIndexerModifiedTime, runIndexerObjectMovedTime,
runIndexerObjectRemoveTime)
print " ----------------------------------------------------------------------------------"
print "| speedup | % 7.2fs |% 7.2fs | % 7.2fs |% 7.2fs |% 7.2fs |% 7.2fs |% 7.2fs |" % (
(runCatalogIndexingTime - runIndexerIndexingTime),
(runCatalogQueryTime - runIndexerQueryTime),
(runCatalogNotQueryTime - runIndexerNotQueryTime),
(runCatalogUpdateTime - runIndexerUpdateTime),
(runCatalogModifiedTime - runIndexerModifiedTime),
(runCatalogObjectMovedTime - runIndexerObjectMovedTime),
(runCatalogObjectRemoveTime - runIndexerObjectRemoveTime))
print " ----------------------------------------------------------------------------------"
print "| speedup | %s | %s | %s | %s | %s | %s | %s |" %(
calcSpeedUp(runCatalogIndexingTime, runIndexerIndexingTime),
calcSpeedUp(runCatalogQueryTime, runIndexerQueryTime),
calcSpeedUp(runCatalogNotQueryTime, runIndexerNotQueryTime),
calcSpeedUp(runCatalogUpdateTime, runIndexerUpdateTime),
calcSpeedUp(runCatalogModifiedTime, runIndexerModifiedTime),
calcSpeedUp(runCatalogObjectMovedTime, runIndexerObjectMovedTime),
calcSpeedUp(runCatalogObjectRemoveTime, runIndexerObjectRemoveTime))
print " ----------------------------------------------------------------------------------"
print ""
def main():
runTest(1000, 1000, 25)
runTest(1000, 1000, 75)
runTest(100, 10000, 25)
runTest(100, 10000, 75) | z3c.indexer | /z3c.indexer-0.6.1.zip/z3c.indexer-0.6.1/src/z3c/indexer/performance.py | performance.py |
__docformat__ = "reStructuredText"
import threading
import transaction
import zope.interface
from z3c.indexer import interfaces
class IndexerCollector(object):
"""The collector stores pending indexer and their indexing state.
These indexer get calculated and the relevant indexer get processed at
the end of the transaction.
"""
zope.interface.implements(interfaces.IIndexerCollector)
def __init__(self, transaction):
self.transaction = transaction
self._pending = []
self._prepared = False
def addIndexer(self, name, indexer):
"""Index a value by it's id."""
self._pending.append((name, indexer.oid, indexer, True))
def addUnIndexer(self, name, indexer):
# Since the oid is Lazy, we ensure by accessing it that the oid is
# available after remove the object from the IntIds utility.
self._pending.append((name, indexer.oid, indexer, False))
def abort(self, transaction):
self._checkTransaction(transaction)
if self.transaction is not None:
self.transaction = None
self._pending = []
self._prepared = False
def tpc_begin(self, transaction):
if self._prepared:
raise TypeError('Already prepared')
self._checkTransaction(transaction)
self.transaction = transaction
self._prepared = True
def tpc_vote(self, transaction):
"""unify pending indexer calls.
Some sample use cases are:
index -> index
index, index -> index
index, index, index -> index
unindex -> unindex
index, unindex -> unindex
index, index, unindex -> unindex
The following usecases will work but should not happen:
unindex, unindex -> unindex (1)
The following usecases will work but should not happen:
unindex, index -> works but should not happen (2)
index, unindex, index -> works but should not happen (2)
(1) calling unindex two times without our indexer collector will end
in a KeyError in IIntIds because of the already removed object. We
silently ignore this fact and just unindex the object once because it
should never happen.
(2) index after unindex means that the object get removed from the
IIntIds utility. This should never happen but will work. The following
is going on in such a scenario. The last unindex will remove the oid
from the indexes and the first index call will index the new oid in the
relevant indexes.
"""
self._checkTransaction(transaction)
# find obsolate objects
doIndex = []
doUnIndex = []
seen = {}
# build a dict with final indexing states based on our chronological
# ordered (name, oid, indexer, state) list
for name, oid, indexer, state in self._pending:
seen[(name, oid, indexer.__class__)] = (indexer, state)
for (name, oid, cls), (indexer, state) in seen.items():
if state:
indexer.doIndex()
else:
indexer.doUnIndex()
self._pending = []
def commit(self, transaction):
pass
def tpc_finish(self, transaction):
pass
def tpc_abort(self, transaction):
self.abort(transaction)
def _checkTransaction(self, transaction):
if (self.transaction is not None and
self.transaction is not transaction):
raise TypeError("Transaction mismatch",
transaction, self.transaction)
def sortKey(self):
return str(id(self))
_collector = threading.local()
def get():
"""Returns a index collector
Threading local provides a storage for our index collector. This will
ensure that we never use more then one collector in a transaction.
"""
txn = transaction.manager.get()
indexerCollector = getattr(_collector, 'z3cIndexerCollector', None)
if indexerCollector is None:
indexerCollector = IndexerCollector(txn)
_collector.z3cIndexerCollector = indexerCollector
txn.join(indexerCollector)
elif txn != indexerCollector.transaction:
# can happen in testing where we use more then one setUp, tearDown
indexerCollector = IndexerCollector(txn)
_collector.z3cIndexerCollector = indexerCollector
txn.join(indexerCollector)
return indexerCollector | z3c.indexer | /z3c.indexer-0.6.1.zip/z3c.indexer-0.6.1/src/z3c/indexer/collector.py | collector.py |
__docformat__ = "reStructuredText"
import zope.component
from z3c.indexer import interfaces
class QueryMixin(object):
"""Index query."""
def __init__(self, indexOrName):
if isinstance(indexOrName, basestring):
self.index = zope.component.getUtility(interfaces.IIndex,
name=indexOrName)
else:
# indexOrName is a index
self.index = indexOrName
class TextQuery(QueryMixin):
"""Text query."""
zope.interface.implements(interfaces.ITextQuery)
def __init__(self, indexOrName, value):
super(TextQuery, self).__init__(indexOrName)
self.value = value
def apply(self):
return self.index.apply(self.value)
class Eq(QueryMixin):
"""Equal query."""
zope.interface.implements(interfaces.IEqQuery)
def __init__(self, indexOrName, value):
assert value is not None
super(Eq, self).__init__(indexOrName)
self.value = value
def apply(self):
return self.index.applyEq(self.value)
class NotEq(QueryMixin):
"""Not equal query."""
zope.interface.implements(interfaces.INotEqQuery)
def __init__(self, indexOrName, value):
assert value is not None
super(NotEq, self).__init__(indexOrName)
self.value = value
def apply(self):
return self.index.applyNotEq(self.value)
class Between(QueryMixin):
"""Between query."""
zope.interface.implements(interfaces.IBetweenQuery)
def __init__(self, indexOrName, min_value, max_value, exclude_min=False,
exclude_max=False):
super(Between, self).__init__(indexOrName)
self.min_value = min_value
self.max_value = max_value
self.exclude_min = exclude_min
self.exclude_max = exclude_max
def apply(self):
return self.index.applyBetween(self.min_value, self.max_value,
self.exclude_min, self.exclude_max)
class Ge(QueryMixin):
"""Greater (or equal) query."""
zope.interface.implements(interfaces.IGeQuery)
def __init__(self, indexOrName, min_value, exclude_min=False):
super(Ge, self).__init__(indexOrName)
self.min_value = min_value
self.exclude_min = exclude_min
def apply(self):
return self.index.applyGe(self.min_value, self.exclude_min)
class Le(QueryMixin):
"""Less (or equal) query."""
zope.interface.implements(interfaces.ILeQuery)
def __init__(self, indexOrName, max_value, exclude_max=False):
super(Le, self).__init__(indexOrName)
self.max_value = max_value
self.exclude_max = exclude_max
def apply(self):
return self.index.applyLe(self.max_value, self.exclude_max)
class In(QueryMixin):
"""In query."""
zope.interface.implements(interfaces.IInQuery)
def __init__(self, indexOrName, values):
super(In, self).__init__(indexOrName)
self.values = values
def apply(self):
return self.index.applyIn(self.values)
class AnyOf(QueryMixin):
"""Any of query.
The result will be the docids whose values contain any of the given values.
"""
zope.interface.implements(interfaces.IAnyOfQuery)
def __init__(self, indexOrName, values):
super(AnyOf, self).__init__(indexOrName)
self.values = values
def apply(self):
return self.index.applyAnyOf(self.values)
class AllOf(QueryMixin):
"""Any of query.
The result will be the docids whose values contain all of the given values.
"""
zope.interface.implements(interfaces.IAllOfQuery)
def __init__(self, indexOrName, values):
super(AllOf, self).__init__(indexOrName)
self.values = values
def apply(self):
return self.index.applyAllOf(self.values)
class ExtentAny(QueryMixin):
"""ExtentAny query."""
zope.interface.implements(interfaces.IExtentAnyQuery)
def __init__(self, indexOrName, extent):
super(ExtentAny, self).__init__(indexOrName)
self.extent = extent
def apply(self):
return self.index.applyExtentAny(self.extent)
class ExtentNone(QueryMixin):
"""ExtentNone query."""
zope.interface.implements(interfaces.IExtentNoneQuery)
def __init__(self, indexOrName, extent):
super(ExtentNone, self).__init__(indexOrName)
self.extent = extent
def apply(self):
return self.index.applyExtentNone(self.extent) | z3c.indexer | /z3c.indexer-0.6.1.zip/z3c.indexer-0.6.1/src/z3c/indexer/query.py | query.py |
__docformat__ = "reStructuredText"
import BTrees
import zope.interface
from zope.container import contained
from zope.index.field import index as fieldindex
from zope.index.text import lexicon as lex
from zope.index.text import textindex
from BTrees.Length import Length
from zope.index.text import okapiindex
from zc.catalog import index as zcindex
from z3c.indexer import interfaces
class IndexMixin(object):
"""Index mixin class for indexes implementing zope.index.interfaces.IInjection"""
def doIndex(self, oid, value):
"""Index a value by its object id."""
self.index_doc(oid, value)
def doUnIndex(self, oid):
"""Unindex a value by its object id."""
self.unindex_doc(oid)
class TextIndex(IndexMixin, textindex.TextIndex, contained.Contained):
"""Text index based on zope.index.text.textindex.TextIndex"""
zope.interface.implements(interfaces.ITextIndex)
class Lexicon64(lex.Lexicon):
"""Lexicon with long key support used by p01.oid."""
def __init__(self, *pipeline):
family64 = BTrees.family64
#self._wids = OIBTree() # word -> wid
self._wids = family64.OI.BTree()
#self._words = IOBTree() # wid -> word
self._words = family64.IO.BTree()
# wid 0 is reserved for words that aren't in the lexicon (OOV -- out
# of vocabulary). This can happen, e.g., if a query contains a word
# we never saw before, and that isn't a known stopword (or otherwise
# filtered out). Returning a special wid value for OOV words is a
# way to let clients know when an OOV word appears.
self.wordCount = Length()
self._pipeline = pipeline
class TextIndex64(TextIndex):
"""TextIndex with long key support used by p01.oid."""
zope.interface.implements(interfaces.ITextIndex64)
def __init__(self, lexicon=None, index=None):
"""Provisional constructor.
This creates the lexicon and index if not passed in.
"""
family64 = BTrees.family64
if lexicon is None:
lexicon = Lexicon64(lex.Splitter(), lex.CaseNormalizer(),
lex.StopWordRemover())
if index is None:
index = okapiindex.OkapiIndex(lexicon, family64)
self.lexicon = lexicon
self.index = index
class FieldIndex(IndexMixin, fieldindex.FieldIndex,
contained.Contained):
"""Field index based on zope.index.field.index.TextIndex
Field index will use tuple in it's base apply method.
"""
zope.interface.implements(interfaces.IFieldIndex)
def applyEq(self, value):
return self.apply((value, value))
def applyNotEq(self, not_value):
all = self.apply((None, None))
r = self.apply((not_value, not_value))
return self.family.IF.difference(all, r)
def applyBetween(self, min_value, max_value, exclude_min=False,
exclude_max=False):
return self.apply((min_value, max_value))
def applyGe(self, min_value, exclude_min=False):
return self.apply((min_value, None))
def applyLe(self, max_value, exclude_max=False):
return self.apply((None, max_value))
def applyIn(self, values):
results = []
for value in values:
res = self.apply((value, value))
# empty results
if not res:
continue
results.append(res)
if not results:
# no applicable terms at all
return self.family.IF.BTree()
result = results.pop(0)
for res in results:
result = self.family.IF.union(result, res)
return result
class ValueIndex(IndexMixin, zcindex.ValueIndex, contained.Contained):
"""Value index based on zc.catalog.index.ValueIndex"""
zope.interface.implements(interfaces.IValueIndex)
def applyEq(self, value):
return self.apply({'any_of': (value,)})
def applyNotEq(self, not_value):
values = list(self.values())
if not_value in values:
values.remove(not_value)
return self.apply({'any_of': values})
def applyBetween(self, min_value, max_value, exclude_min, exclude_max):
return self.apply(
{'between': (min_value, max_value, exclude_min, exclude_max)})
def applyGe(self, min_value, exclude_min=False):
return self.apply({'between': (min_value, None, exclude_min, False)})
def applyLe(self, max_value, exclude_max=False):
return self.apply({'between': (None, max_value, False, exclude_max)})
def applyIn(self, values):
return self.apply({'any_of': values})
def applyExtentAny(self, extent):
return self.apply({'any': extent})
def applyExtentNone(self, extent):
return self.apply({'none': extent})
class SetIndex(IndexMixin, zcindex.SetIndex, contained.Contained):
"""Set index based on zc.catalog.index.SetIndex"""
zope.interface.implements(interfaces.ISetIndex)
def applyAnyOf(self, values):
return self.apply({'any_of': values})
def applyAllOf(self, values):
return self.apply({'all_of': values})
def applyBetween(self, min_value, max_value, exclude_min, exclude_max):
self.tuple = (min_value, max_value, exclude_min, exclude_max)
return self.apply({'between': self.tuple})
def applyGe(self, min_value, exclude_min=False):
self.tuple = (min_value, None, exclude_min, False)
return self.apply({'between': self.tuple})
def applyLe(self, max_value, exclude_max=False):
self.tuple = (None, max_value, False, exclude_max)
return self.apply({'between': self.tuple})
def applyExtentAny(self, extent):
return self.apply({'any': extent})
def applyExtentNone(self, extent):
return self.apply({'none': extent}) | z3c.indexer | /z3c.indexer-0.6.1.zip/z3c.indexer-0.6.1/src/z3c/indexer/index.py | index.py |
"""z3c.insist -- Persistence to ini files"""
import zope.interface
import zope.schema
from zope.lifecycleevent import ObjectModifiedEvent
from zope.lifecycleevent.interfaces import IObjectModifiedEvent
NONE_MARKER = '!None'
class IConfigurationStore(zope.interface.Interface):
schema = zope.schema.Field(
title=u"Schema",
description=u"The schema to serialize",
)
section = zope.schema.TextLine(
title=u"Section",
description=u"Configuration file section to export this object in",
)
def dump():
"""Serialize the context to the configuration file.
Returns a ConfigParser object.
"""
def load(config):
"""Load the object state from the configuration file."""
def dumps():
"""Serialize the context to the configuration file.
Returns a string.
"""
def loads(config):
"""Load the object state from the configuration as a string."""
class ISeparateFileConfigurationStore(IConfigurationStore):
"""Collection Configuration Store Utilizing a Separate File
This is a configuration store for collections that stores all
configuration for the collection intoa separate file.
"""
def getConfigPath():
"""Get configuration directory path.
Returns the path of the drirectory in which to store the configuration.
"""
raise NotImplemented
def getConfigFilename():
"""Return the config filename."""
class IFieldSerializer(zope.interface.Interface):
"""Serializer for a particular field type.
An adapter that takes a field and a value.
"""
def hasValue():
"""Return True if the value is not empty/missing."""
def serialize(ignoreDefault=False):
"""Return a string representation of the field.
If ignoreDefault is True, and the value is the default, return None,
which signals insist to ignore the value for dumping purposes.
"""
def deserialize(state):
"""Set the field value from a given serialized state"""
def serializeValueWithNone(value):
"""Return NONE_MARKER if value is None, otherwise serialize normally.
"""
def serializeValue(value):
"""Convert the real native type -> string.
Always must return a properly serialized string.
"""
def deserializeValueWithNone(value):
"""Return None if value is NONE_MARKER, otherwise deserialie normally.
"""
def deserializeValue(value):
"""Convert real string -> native type.
Must always return a valid value for the given field.
"""
class IObjectConfigurationLoadedEvent(IObjectModifiedEvent):
"""Object configuration loaded event interface"""
@zope.interface.implementer(IObjectConfigurationLoadedEvent)
class ObjectConfigurationLoadedEvent(ObjectModifiedEvent):
"""Object configuration loaded"""
class ConfigurationLoadError(Exception):
"""Configuration load error""" | z3c.insist | /z3c.insist-1.5.2-py3-none-any.whl/z3c/insist/interfaces.py | interfaces.py |
"""z3c.insist -- Persistence to ini files
"""
import configparser
import datetime
import decimal
import glob
import hashlib
import io
import iso8601
import json
import logging
import os
import re
import zope.component
import zope.schema
from zope.schema import vocabulary
from z3c.insist import interfaces
RE_INCLUDES = r'^#include (\S*)'
class FilesystemMixin(object):
"""Hooks to abstract file access."""
def listDir(self, path):
return os.listdir(path)
def fileExists(self, path):
return os.path.exists(path)
def getFileModTime(self, path):
if not self.fileExists(path):
return None
return os.path.getmtime(path)
def openFile(self, path, mode='r', encoding=None):
return io.open(path, mode, encoding=encoding)
def hashFile(self, filename):
with self.openFile(filename, 'rb') as f:
hsh = hashlib.sha256(f.read())
return hsh.hexdigest()
def hashFilesByPattern(self, pattern):
"""Return hash of all the files, specified in the glob pattern"""
files = glob.glob(pattern)
filehashes =[self.hashFile(fn) for fn in files]
return hash(tuple(filehashes))
log = logging.getLogger(__name__)
@zope.interface.implementer(interfaces.IConfigurationStore)
class ConfigurationStore(object):
"""Base Configuration Store"""
file_header = None
_section = None
fields = None
ignore_fields = None
ignore_missing = False
ignore_default = False
root = None
def __init__(self, context=None):
self.context = context
@property
def section(self):
if self._section is None:
return self.schema.__name__
else:
return self._section
@section.setter
def section(self, value):
self._section = value
def getSectionFromPath(self, path):
return self.section
@classmethod
def makeStore(cls, value, schema, section=None):
store = cls(value)
store.schema = schema
if section is not None:
store.section = section
return store
def write(self, config, fileobj):
if self.file_header is not None:
fileobj.write(self.file_header + '\n')
config.write(fileobj)
def _createConfigParser(self, config=None):
if config is None:
config = configparser.RawConfigParser()
config.optionxform = str
return config
def _get_fields(self):
"""Returns a sequence of (name, field) pairs"""
return zope.schema.getFieldsInOrder(self.schema)
def _dump(self, config, add_section=True):
"""Hook for extending"""
if add_section:
config.add_section(self.section)
for fn, field in self._get_fields():
if self.fields is not None and fn not in self.fields:
continue
if self.ignore_fields is not None and fn in self.ignore_fields:
continue
ftype = field.__class__.__name__
__traceback_info__ = (self.section, self.schema, fn, ftype)
if hasattr(self, 'dump_%s' % fn):
serializer = CustomSerializer(field, self.context, self)
elif hasattr(self, 'dump_type_%s' % ftype):
serializer = CustomFieldTypeSerializer(field, self.context, self)
else:
serializer = zope.component.getMultiAdapter(
(field, self.context), interfaces.IFieldSerializer)
if self.ignore_missing and not serializer.hasValue():
continue
state = serializer.serialize(self.ignore_default)
# Give the serializer the opportunity to decide not to provide a
# serialized value.
if state is None:
continue
config.set(self.section, fn, state)
def dump(self, config=None):
config = self._createConfigParser(config)
self._dump(config)
return config
def dumps(self):
config = self.dump()
buf = io.StringIO()
self.write(config, buf)
return buf.getvalue()
def load(self, config):
for fn, field in self._get_fields():
if self.fields is not None and fn not in self.fields:
continue
# XXX: __name__ is special for RawConfigParser
# http://bugs.python.org/msg215809
if not config.has_section(self.section):
continue
elif fn not in config.options(self.section):
continue
#if not config.has_option(self.section, fn):
# continue
ftype = field.__class__.__name__
__traceback_info__ = (self.section, self.schema, fn, ftype)
if hasattr(self, 'load_%s' % fn):
serializer = CustomSerializer(field, self.context, self)
elif hasattr(self, 'load_type_%s' % ftype):
serializer = CustomFieldTypeSerializer(field, self.context, self)
else:
serializer = zope.component.getMultiAdapter(
(field, self.context), interfaces.IFieldSerializer)
serializer.deserialize(config.get(self.section, fn))
zope.event.notify(
interfaces.ObjectConfigurationLoadedEvent(
self.context))
def loads(self, cfgstr):
config = self._createConfigParser()
config.read_string(cfgstr)
self.load(config)
class CollectionConfigurationStore(ConfigurationStore):
"""A configuration store for collections.
Subclasses must provide the following attributes:
* schema
* section_prefix
* item_factory
Optionally:
* item_factory_typed(config, section)
"""
schema = None
# Flag, indicating that this configuration store can properly support
# syncing without reloading all objects. To support syncing store has to
# implement `getConfigHash` method. Change in the hash indicates that child
# has to be reloaded.
supports_sync = True
_deleted = 0
_added = 0
_reloaded = 0
def selectSections(self, sections):
"""Return relevant sections from config
"""
return (sec for sec in sections
if sec.startswith(self.section_prefix))
def getItemName(self, config, section):
"""Return a unique name for item, represented by this section
"""
return section[len(self.section_prefix):]
def addItem(self, name, obj):
self._added += 1
self.context[name] = obj
def deleteItem(self, name):
self._deleted += 1
del self.context[name]
def _createItemConfigStore(self, obj, config, section):
store = interfaces.IConfigurationStore(obj)
store.section = section
store.root = self.root
return store
def dump(self, config=None):
config = self._createConfigParser(config)
for k, v in self.context.items():
__traceback_info__ = (k, v)
store = self._createItemConfigStore(
v, config, self.section_prefix + k)
store.dump(config)
return config
def load(self, config):
self._deleted = 0
self._added = 0
self._reloaded = 0
if not self.supports_sync:
# No sync support, just delete all the items
for k in self.context.keys():
self.deleteItem(k)
unloaded = set(self.context.keys())
for section in self.selectSections(config.sections()):
loaded = self.loadFromSection(config, section)
if loaded in unloaded:
unloaded.remove(loaded)
# Remove any unloaded items from collection
for k in unloaded:
self.deleteItem(k)
self._logStatus()
def _logStatus(self):
if not self.supports_sync:
return
if not self._deleted and not self._added and not self._reloaded:
return
log.info("Insist collection loading status for '%s': "
"%s reloaded, %s added, %s deleted",
self.schema,
self._reloaded, self._added, self._deleted)
def _createNewItem(self, config, section):
if hasattr(self, 'item_factory_typed'):
obj = self.item_factory_typed(config, section)
else:
obj = self.item_factory()
return obj
def getSectionHash(self, config, section):
return hash(tuple(config.items(section)))
def getChildConfigHash(self, obj, config, section):
return self.getSectionHash(config, section)
def loadFromSection(self, config, section):
"""Load object from section and return name of the loaded object
After this function is completed, object with returned name should
exist in a collection and objects data should be up to date with
configuration.
"""
name = self.getItemName(config, section)
existing = name in self.context
# Obtain the object we are loading. Find in collection or create new
# one.
if existing:
obj = self.context[name]
else:
obj = self._createNewItem(config, section)
# Find the store object, that will handle loading
confhash = self.getChildConfigHash(obj, config, section)
# Check if configuration has changed. Note that in some cases when the
# object is new, the hash might not have been computable and thus
# None. In those cases we want to go on.
if confhash is not None and \
getattr(obj, "__insist_hash__", None) == confhash:
return name
# Config has changed, we can load object with properties from
# configuration.
if existing:
self._reloaded += 1
# First of all, make sure class of the item didn't change. Otherwise we
# have to remove it and re-add, because property set for it may be
# completely different.
if existing:
newobj = self._createNewItem(config, section)
if newobj.__class__ is not obj.__class__:
# Yeah, class have changed, let's replace the item
self.deleteItem(name)
obj = newobj
existing = False
# Now we can load properties into the object
store = self._createItemConfigStore(obj, config, section)
store.load(config)
# Set the confhash.
obj.__insist_hash__ = confhash
if not existing:
# Let everyone know the object is being added to a collection
if hasattr(store, 'loadBeforeAdd'):
obj = store.loadBeforeAdd(name, config)
self.addItem(name, obj)
if hasattr(store, 'loadAfterAdd'):
store.loadAfterAdd(config)
return name
@zope.interface.implementer(interfaces.ISeparateFileConfigurationStore)
class SeparateFileConfigurationStoreMixIn(FilesystemMixin):
allowMainConfigLoad = True
dumpSectionStub = True
subConfig = None
def getConfigPath(self):
raise NotImplemented
def getConfigFilename(self):
return self.section + '.ini'
def getIncludes(self, cfgstr):
basePath = self.getConfigPath()
return [
os.path.normpath(os.path.join(basePath, include))
for include in re.findall(RE_INCLUDES, cfgstr, re.MULTILINE)
]
def _dumpSubConfig(self, config):
super(SeparateFileConfigurationStoreMixIn, self).dump(config)
def dump(self, config=None):
# 1. Store all items in a separate configuration file.
# 1.1. Create the config object and fill it.
subconfig = self._createConfigParser()
self._dumpSubConfig(subconfig)
# 1.2. Dump the config in a file.
configFilename = self.getConfigFilename()
configPath = os.path.join(self.getConfigPath(), configFilename)
with self.openFile(configPath, 'w') as file:
self.write(subconfig, file)
# 2. Store a reference to the cofniguration file in the main
# configuration object.
# 2.1. Create the config object, if it does not exist.
config = self._createConfigParser(config)
# 2.2. Now dump the section stub in the original config object, if so
# desired.
if self.dumpSectionStub:
config.add_section(self.section)
config.set(self.section, 'config-file', configFilename)
return config
def _readSubConfig(self, configPath):
with self.openFile(configPath, 'r') as fle:
cfgstr = fle.read()
includes = self.getIncludes(cfgstr)
for include in includes:
if not self.fileExists(include):
raise ValueError(
f'Included file "{include}" (in "{configPath}") not found.')
self.subConfig.read(includes)
self.subConfig.read_string(cfgstr)
def _loadSubConfig(self, config):
super(SeparateFileConfigurationStoreMixIn, self).load(config)
def load(self, config):
# 1. Generate the config file path.
configFilename = self.getConfigFilename()
configPath = os.path.join(self.getConfigPath(), configFilename)
# 2. Create a new sub-config object and load the data.
if self.subConfig is not None:
pass
elif not self.fileExists(configPath):
if not self.allowMainConfigLoad:
raise ValueError(
'Configuration file does not exist: %s' % configPath)
# Assume that the configuration is part of the main config. This
# allows for controlled migration.
self.subConfig = config
else:
self.subConfig = self._createConfigParser()
self._readSubConfig(configPath)
# 3. Load as usual from the sub-config.
self._loadSubConfig(self.subConfig)
class SeparateFileConfigurationStore(
SeparateFileConfigurationStoreMixIn, ConfigurationStore):
pass
class SeparateFileCollectionConfigurationStore(
SeparateFileConfigurationStoreMixIn, CollectionConfigurationStore):
def getChildConfigHash(self, obj, config, section):
ownhash = super(SeparateFileCollectionConfigurationStore, self). \
getChildConfigHash(obj, config, section)
# With making the assumption that all object related config files
# start with section name + ".", we simply create the hash from the
# mod time of all files found.
configPath = self.getConfigPath()
pattern = os.path.join(configPath, "%s.*" % section)
fileshash = self.hashFilesByPattern(pattern)
return hash((ownhash, fileshash))
class FileSectionsCollectionConfigurationStore(
CollectionConfigurationStore, FilesystemMixin):
"""File Section Configuration Store
These are collection stores that look for sections in other files. A base
implementation is provided that assumes that the filenames and section
names are identical.
"""
allowMainConfigLoad = True
filePostfix = '.ini'
def __init__(self, *args, **kw):
super(FileSectionsCollectionConfigurationStore, self).__init__(
*args, **kw)
# A cache, so that we need to read each config file at most once.
self.section_configs = {}
def _createItemConfigStore(self, obj, config, section):
store = super(FileSectionsCollectionConfigurationStore, self)\
._createItemConfigStore(obj, config, section)
store.subConfig = self.section_configs.get(section)
return store
def getConfigPath(self):
raise NotImplementedError
def getSectionPath(self, section):
return os.path.join(self.getConfigPath(), section + self.filePostfix)
def getSectionFromPath(self, path):
dirname, section_name = os.path.split(path)
while '.' in section_name:
section_name = section_name.rsplit('.', 1)[0]
if self.fileExists(self.getSectionPath(section_name)):
return section_name
raise RuntimeError(
'Could not find valid section name in path: %s' % path)
def selectSections(self, sections):
baseDir = self.getConfigPath()
file_sections = [
filename[:-len(self.filePostfix)]
for filename in self.listDir(baseDir)
if (filename.startswith(self.section_prefix) and
filename.endswith(self.filePostfix))]
if file_sections:
return file_sections
# If we allow loading via main config file, let's use the usual way to
# lookup sections.
if not self.allowMainConfigLoad:
return []
return super(FileSectionsCollectionConfigurationStore, self)\
.selectSections(sections)
def getConfigForSection(self, section):
if section not in self.section_configs:
config = self._createConfigParser()
with self.openFile(self.getSectionPath(section), 'r') as file:
config.read_file(file)
self.section_configs[section] = config
return self.section_configs[section]
def getChildConfigHash(self, obj, config, section):
# With making the assumption that all object related config files
# start with section name + ".", we simply create the hash from the
# mod time of all files found.
configPath = self.getConfigPath()
pattern = os.path.join(configPath, "%s.*" % section)
return self.hashFilesByPattern(pattern)
@zope.interface.implementer(interfaces.IFieldSerializer)
class FieldSerializer(object):
escape = '!'
def __init__(self, field, context):
self.field = field
self.context = context
def hasValue(self):
value = getattr(self.context, self.field.__name__)
return value is not self.field.missing_value
def serializeValueWithNone(self, value):
if value is None:
return interfaces.NONE_MARKER
else:
result = self.serializeValue(value)
if result is None:
return None
return result.replace(self.escape, self.escape * 2)
def serialize(self, ignoreDefault=False):
value = getattr(self.context, self.field.__name__)
if ignoreDefault and value == self.field.default:
return None
return self.serializeValueWithNone(value)
def deserializeValueWithNone(self, value):
if value == interfaces.NONE_MARKER:
return None
else:
value = value.replace(self.escape * 2, self.escape)
return self.deserializeValue(value)
def deserialize(self, value):
setattr(self.context, self.field.__name__,
self.deserializeValueWithNone(value))
@zope.component.adapter(
zope.schema.interfaces.IBytes, zope.interface.Interface)
class BytesFieldSerializer(FieldSerializer):
def serializeValue(self, value):
return value.decode('utf-8')
def deserializeValue(self, value):
return value.encode('utf-8')
@zope.component.adapter(
zope.schema.interfaces.IText, zope.interface.Interface)
class TextFieldSerializer(FieldSerializer):
def serializeValue(self, value):
return value
def deserializeValue(self, value):
return value
@zope.component.adapter(
zope.schema.interfaces.ITextLine, zope.interface.Interface)
class TextLineFieldSerializer(TextFieldSerializer):
pass
@zope.component.adapter(
zope.schema.interfaces.IInt, zope.interface.Interface)
class IntFieldSerializer(FieldSerializer):
def serializeValue(self, value):
return str(value)
def deserializeValue(self, value):
return int(value)
@zope.component.adapter(
zope.schema.interfaces.IFloat, zope.interface.Interface)
class FloatFieldSerializer(FieldSerializer):
def serializeValue(self, value):
return str(value)
def deserializeValue(self, value):
return float(value)
@zope.component.adapter(
zope.schema.interfaces.IDecimal, zope.interface.Interface)
class DecimalFieldSerializer(FieldSerializer):
def serializeValue(self, value):
return str(value)
def deserializeValue(self, value):
return decimal.Decimal(value)
@zope.component.adapter(
zope.schema.interfaces.IBool, zope.interface.Interface)
class BoolFieldSerializer(FieldSerializer):
def serializeValue(self, value):
return str(value)
def deserializeValue(self, value):
return value in ('True', 'true')
@zope.component.adapter(
zope.schema.interfaces.IDate, zope.interface.Interface)
class DateFieldSerializer(FieldSerializer):
format = '%Y-%m-%d'
def serializeValue(self, value):
return value.strftime(self.format)
def deserializeValue(self, value):
return datetime.datetime.strptime(value, self.format).date()
@zope.component.adapter(
zope.schema.interfaces.IDatetime, zope.interface.Interface)
class DateTimeFieldSerializer(FieldSerializer):
# format = '%Y-%m-%dT%H:%M:%S.%f+%z'
# notzFormat = '%Y-%m-%dT%H:%M:%S.%f'
def serializeValue(self, value):
return value.isoformat()
def deserializeValue(self, value):
# the pain here is that datetimes without a TZ burp with
# ValueError: time data '2014-01-01T00:00:00.000000'
# does not match format '%Y-%m-%dT%H:%M:%S.%f %Z'
# and strptime isn't tops with timezones (does not support %z)
#return dateutil.parser.parse(value)
return iso8601.parse_date(value)
@zope.component.adapter(
zope.schema.interfaces.IChoice, zope.interface.Interface)
class ChoiceFieldSerializer(FieldSerializer):
def _getVocabulary(self):
vocab = self.field.vocabulary
if vocab is None:
reg = vocabulary.getVocabularyRegistry()
vocab = reg.get(self.context, self.field.vocabularyName)
return vocab
def serializeValue(self, value):
vocabulary = self._getVocabulary()
try:
return vocabulary.getTerm(value).token
except LookupError:
# The term does not exist any more. Since in most cases the for
# user-defined vocabularies the value == token, we'll just return
# the str'ed value.
return str(value)
def deserializeValue(self, value):
vocabulary = self._getVocabulary()
try:
return vocabulary.getTermByToken(value).value
except LookupError:
# The term does not exist any more. Since in most cases the for
# user-defined vocabularies the value == token, we'll just return
# the str'ed value.
return str(value)
class SequenceFieldSerializer(FieldSerializer):
sequence = None
separator = ", "
__item_serializer = None
@property
def _item_serializer(self):
if self.__item_serializer is None:
self.__item_serializer = zope.component.getMultiAdapter(
(self.field.value_type, self.context), interfaces.IFieldSerializer)
return self.__item_serializer
def serializeValue(self, value):
results = []
for item in value:
results.append(self._item_serializer.serializeValueWithNone(item))
return self.separator.join(results)
def deserializeValue(self, value):
if value == '':
return self.sequence()
results = []
for item in value.split(self.separator):
__traceback_info__ = item, self.field.value_type
item = item.strip()
results.append(self._item_serializer.deserializeValueWithNone(item))
return self.sequence(results)
@zope.component.adapter(zope.schema.interfaces.IList, zope.interface.Interface)
class ListFieldSerializer(SequenceFieldSerializer):
sequence = list
@zope.component.adapter(zope.schema.interfaces.ITuple, zope.interface.Interface)
class TupleFieldSerializer(SequenceFieldSerializer):
sequence = tuple
class CustomSerializer(FieldSerializer):
"""Allow a field-specific method on storage handle the value.
Expects that the store will have methods `dump_foo` and `load_foo`
that do the value conversion for field `foo`.
"""
def __init__(self, field, context, store):
self.field = field
self.context = context
self.store = store
def serializeValue(self, value):
return getattr(self.store, 'dump_' + self.field.__name__)(value)
def deserializeValue(self, value):
return getattr(self.store, 'load_' + self.field.__name__)(value)
class CustomFieldTypeSerializer(FieldSerializer):
"""Allow a field-specific method on storage handle the value.
Expects that the store will have methods `dump_foo` and `load_foo`
that do the value conversion for field `foo`.
"""
def __init__(self, field, context, store):
self.field = field
self.ftype = field.__class__.__name__
self.context = context
self.store = store
def serializeValue(self, value):
return getattr(self.store, 'dump_type_' + self.ftype)(self.field, value)
def deserializeValue(self, value):
return getattr(self.store, 'load_type_' + self.ftype)(self.field, value)
@zope.component.adapter(zope.schema.interfaces.IDict, zope.interface.Interface)
class DictFieldSerializer(FieldSerializer):
factory = dict
separator = '::'
__key_serializer = None
__value_serializer = None
@property
def _key_serializer(self):
if self.__key_serializer is None:
self.__key_serializer = zope.component.getMultiAdapter(
(self.field.key_type, self.context), interfaces.IFieldSerializer)
return self.__key_serializer
@property
def _value_serializer(self):
if self.__value_serializer is None:
self.__value_serializer = zope.component.getMultiAdapter(
(self.field.value_type, self.context), interfaces.IFieldSerializer)
return self.__value_serializer
def _encodeString(self, value):
# drive string through json, to encode eventual \n and stuff
return json.dumps(value)[1:-1]
def _decodeString(self, value):
# drive string through json, to decode eventual \n and stuff
return json.loads('"' + value + '"')
def serializeValue(self, value):
results = []
# serialize key and values with their serializers
# supports OrderedDict too, just need to override self.factory
for key, val in value.items():
keySer = self._key_serializer.serializeValueWithNone(key)
keySer = self._encodeString(keySer)
valSer = self._value_serializer.serializeValueWithNone(val)
valSer = self._encodeString(valSer)
resstr = '%s%s%s' % (keySer, self.separator, valSer)
results.append(resstr)
return '\n'.join(results)
def deserializeValue(self, value):
results = self.factory()
if value == '':
return results
lines = [line.strip() for line in value.splitlines()]
for line in lines:
if not line:
continue
key, val = line.split(self.separator, 1)
key = self._decodeString(key)
val = self._decodeString(val)
results[
self._key_serializer.deserializeValueWithNone(key)] = \
self._value_serializer.deserializeValueWithNone(val)
return results | z3c.insist | /z3c.insist-1.5.2-py3-none-any.whl/z3c/insist/insist.py | insist.py |
"""Module implementing a file listener to config changes.
"""
import collections
import dataclasses
import logging
import os
import pathlib
import re
import time
import watchdog.events
import watchdog.observers
import watchdog.utils
import zope.component
import zope.interface
from watchdog.utils.patterns import match_any_paths
from z3c.insist import interfaces, insist
logger = logging.getLogger('z3c.insist.enforcer')
class EnforcerFileSectionsCollectionStore(object):
@classmethod
def fromRootAndFilename(cls, root, filename=None):
raise NotImplementedError('Create store from root and filename.')
def getFilePatterns(self):
return ['*/%s.ini' % self.section,
'*/%s*.*' % self.section_prefix]
class EnforcerEventHandler(watchdog.events.FileSystemEventHandler):
patterns = None
ignore_patterns = [
'*/.#*.*', # Emacs temporary files
'*/.*~', # Vim temporary files
'*/*.swp', # Vim temporary files
]
case_sensitive = True
def __init__(self, reg, root=None):
self.root = root
self.factory = reg.factory
self.patterns = reg.factory().getFilePatterns()
def createStore(self, factory, path):
return factory.fromRootAndFilename(self.root, path)
def getStoreFromEvent(self, event):
path = os.fsdecode(event.src_path)
if match_any_paths([path],
included_patterns=self.patterns,
excluded_patterns=self.ignore_patterns,
case_sensitive=self.case_sensitive):
return self.createStore(self.factory, path)
def getSectionFromEvent(self, event):
return event.store.getSectionFromPath(event.src_path)
def dispatch(self, event):
if event.event_type == watchdog.events.EVENT_TYPE_OPENED:
# Do not update configuration for EVENT_TYPE_OPENED. Doing this to avoid
# unnecessary processing on file open events, need this since watchdog
# started sending EVENT_TYPE_OPENED events. Eventually refactor dispatch
# and event handlers later to do work and logging only on specific events.
return False
ts = time.time()
store = self.getStoreFromEvent(event)
if store is None:
return False
event.store = store
event.section = self.getSectionFromEvent(event)
super(EnforcerEventHandler, self).dispatch(event)
logger.info('Configuration for %r updated in %.1fms.',
store.root, (time.time()-ts)*1000)
return True
def on_modified(self, event):
raise NotImplementedError()
def on_created(self, event):
raise NotImplementedError()
def on_deleted(self, event):
raise NotImplementedError()
class SimpleEnforcerEventHandler(EnforcerEventHandler):
def on_modified(self, event):
config = event.store._createConfigParser()
with open(event.src_path, 'r') as fle:
config.readfp(fle)
event.store.load(config)
def on_created(self, event):
config = event.store._createConfigParser()
with open(event.src_path, 'r') as fle:
config.readfp(fle)
event.store.load(config)
def on_deleted(self, event):
logger.error(
'Collection files should not be deleted: %s', event.src_path)
class FileSectionsEnforcerEventHandler(EnforcerEventHandler):
def on_modified(self, event):
config = event.store._createConfigParser()
event.store.loadFromSection(config, event.section)
def on_created(self, event):
config = event.store._createConfigParser()
event.store.loadFromSection(config, event.section)
def on_deleted(self, event):
name = event.section.replace(event.store.section_prefix, '')
event.store.deleteItem(name)
class SeparateFileEnforcerEventHandler(EnforcerEventHandler):
def on_modified(self, event):
config = event.store._createConfigParser()
event.store.load(config)
def on_created(self, event):
config = event.store._createConfigParser()
event.store.load(config)
def on_deleted(self, event):
logger.error(
'Collection files should not be deleted: %s', event.src_path)
class Enforcer(watchdog.observers.Observer):
"""Detects configuration changes and applies them."""
lockFilename = 'lock'
handlers = {
insist.FileSectionsCollectionConfigurationStore: \
FileSectionsEnforcerEventHandler,
insist.SeparateFileCollectionConfigurationStore: \
SeparateFileEnforcerEventHandler
}
gsm = zope.component.globalSiteManager
def __init__(self, watched_dir, context=None):
self.watchedDir = watched_dir
self.lockedDirectories = set()
self.context = context
self.path2HandlerCache = {}
super(Enforcer, self).__init__()
def _handleLocks(self, event):
# The config directory can be locked by other processes. For that time
# all event listening should be suspended. Unfortuantely, oftentimes
# inotify events are not fired until the lock is released.
# The good news is that inotify guarantees the file events to be
# generated in order, so that we can use the lock file creation and
# deletion events as markers.
eventDir = os.path.dirname(event.src_path)
lockPath = os.path.join(eventDir, self.lockFilename)
# 1. Sometimes we start up without knowing about some locked
# directories, so let's make sure we are up-to-date.
if os.path.exists(lockPath) and eventDir not in self.lockedDirectories:
self.lockedDirectories.add(eventDir)
# 2. If the event happened in a locked directory, we ignore the event.
if event.src_path != lockPath and eventDir in self.lockedDirectories:
logger.debug('Event ignored due to suspension: %r', event)
return True
# 3. If we are not dealing with a lock file, we are not handling this
# event.
if not event.src_path.endswith(self.lockFilename):
return False
# 4. Now handle the various lock operations.
# 4.1. Add the directory to the locked directories list if the
# lock file was created.
if event.event_type == watchdog.events.EVENT_TYPE_CREATED:
self.lockedDirectories.add(eventDir)
logger.debug('Enforcer suspended due to directory locking.')
# 4.2. Remove the directory from the locked directories list if the
# lock file was deleted.
elif event.event_type == watchdog.events.EVENT_TYPE_DELETED:
if eventDir in self.lockedDirectories:
self.lockedDirectories.remove(eventDir)
logger.debug('Enforcer resuming after directory unlocking.')
return True
def getEventHandlerForRegistration(self, reg):
bases = reg.factory.__mro__
for storeBase, handlerFactory in self.handlers.items():
if storeBase in bases:
return handlerFactory(reg, self.context)
raise RuntimeError(
'Could not find event handler for registration: %r',
reg.factory)
def registerHandlers(self):
for reg in self.gsm.registeredAdapters():
if not reg.provided.isOrExtends(interfaces.IConfigurationStore):
continue
logger.debug('Found store: %r', reg.factory)
if not hasattr(reg.factory, 'fromRootAndFilename'):
continue
handler = self.getEventHandlerForRegistration(reg)
logger.info(
'Registering %r -> %s (%s)',
handler.patterns, handler.factory.__name__,
handler.__class__.__name__)
self.register(handler)
def register(self, handler):
self.schedule(handler, path=self.watchedDir, recursive=True)
def dispatch_events(self, event_queue):
ev = event_queue.get(block=True)
if not isinstance(ev, tuple):
return
event, watch = ev
with self._lock:
# Optimization: Ignore all directory modified events, since we
# cannot really do anything with those. It will also avoid
# unnecessary transactions due to lock file action.
if event.is_directory and \
event.event_type == watchdog.events.EVENT_TYPE_MODIFIED:
return True
# Handle lock file events first.
handled = self._handleLocks(event)
if handled:
return
# Use simple cache from path to handler, which is specific to our
# limited use of watchdog.
path = event.src_path
if path in self.path2HandlerCache:
try:
self.path2HandlerCache[path].dispatch(event)
except Exception as err:
# Handle all exceptions that happen whilel handling the
# event and continue.
logger.exception('Exception while handling event.')
return
# To allow unschedule/stop and safe removal of event handlers
# within event handlers itself, check if the handler is still
# registered after every dispatch.
for handler in list(self._handlers.get(watch, [])):
if handler in self._handlers.get(watch, []):
try:
handled = handler.dispatch(event)
except Exception as err:
# Handle all exceptions that happen while handling the
# event and continue.
logger.exception('Exception while handling event.')
handled = True
# Enforcer supports exactely one handler per file.
if handled:
self.path2HandlerCache[path] = handler
break
event_queue.task_done()
class IncludingFilesHandler(watchdog.events.FileSystemEventHandler):
"""Including File Event Handler.
This handler listens for changes to any watched config (`*.ini`) files to
check whether any included files changed. If the `#include` statements in
an config file change, then the `IncludeOserver` is updated appropriately.
"""
patterns = ['*/*.ini']
ignore_patterns = [
'*/.#*.*', # Emacs temporary files
'*/.*~', # Vim temporary files
'*/*.swp', # Vim temporary files
]
case_sensitive = True
def __init__(self, incObserver):
self.incObserver = incObserver
def dispatch(self, event):
if event.event_type == watchdog.events.EVENT_TYPE_OPENED:
# Do not update configuration for EVENT_TYPE_OPENED. Doing this to avoid
# unnecessary processing on file open events, need this since watchdog
# started sending EVENT_TYPE_OPENED events. Eventually refactor dispatch
# and event handlers later to do work and logging only on specific events.
return
logger.info("Handling %s", event)
if event.is_directory:
return
if match_any_paths([os.fsdecode(event.src_path)],
included_patterns=self.patterns,
excluded_patterns=self.ignore_patterns,
case_sensitive=self.case_sensitive):
super().dispatch(event)
def on_modified(self, event):
self.incObserver.update(event.src_path)
def on_created(self, event):
self.incObserver.update(event.src_path)
def on_deleted(self, event):
self.incObserver.update(event.src_path)
class IncludedFilesHandler(watchdog.events.FileSystemEventHandler):
"""Included File Event Handler
An event handler that tracks all included files and will touch to the
including file upon changes. The touch will in return cause the proper
handler for the including file to be called.
This algorithm is not 100% fool proof as it would not listen to changes of
involved non-config files.
"""
def __init__(self, incObserver):
self.incObserver = incObserver
def dispatch(self, event):
if pathlib.Path(event.src_path) not in self.incObserver.includedFiles:
return
super().dispatch(event)
def on_modified(self, event):
included = self.incObserver.includedFiles[pathlib.Path(event.src_path)]
for filepath in included:
# Touch the including file which will trigger the enforcer to run
# the update handler.
logger.info(
f'Included file in "{filepath}" changed. '
'Touch file to trigger update.')
pathlib.Path(filepath).touch()
def on_deleted(self, event):
logger.error(
'Included File cannot be deleted: %s', event.src_path)
class IncludeObserver(watchdog.observers.Observer):
watchedDir: str
# A mapping of included files to watched files.
includedFiles: collections.defaultdict
# A mapping of watched files to included files.
watchedFiles: collections.defaultdict
# A mapping of directories that contain include files to watched files
# that reference the directory. This is needed to know when a directory
# should be scheduled or unscheduled.
includeDirs: collections.defaultdict
# Watches for included directories.
watches: dict
EventHandler = IncludedFilesHandler
def __init__(self, watchedDir: str, context=None):
self.watchedDir = watchedDir
self.includedFiles = collections.defaultdict(lambda: set())
self.watchedFiles = collections.defaultdict(lambda: set())
self.includeDirs = collections.defaultdict(lambda: set())
self.watches = {}
super().__init__()
def initialize(self) -> None:
logger.info(f'Initializing Include Observer for {self.watchedDir}')
for path in pathlib.Path(self.watchedDir).rglob('*.ini'):
self.update(path)
self.schedule(
IncludingFilesHandler(self),
path=self.watchedDir, recursive=True)
def update(
self,
watchedPath: str
) -> None:
# Convert file path to proper Path object.
path = pathlib.Path(watchedPath)
# 1. Enumerate the included files. If the file does not exist, skip
# it. It is commonly due to the deletion of the ini file.
includes = []
if path.exists():
with open(path, 'r') as fp:
cfgstr = fp.read()
includes = set([
pathlib.Path(path.parent, include).resolve()
for include in re.findall(
insist.RE_INCLUDES, cfgstr, re.MULTILINE)
])
logger.debug(
f'Updating include observer: {watchedPath} '
f'includes {[str(inc) for inc in includes]}')
# 2. Determine the added and removed include files by comparing the
# old and new lists.
addedIncludes = includes - self.watchedFiles[path]
removedIncludes = self.watchedFiles[path] - includes
# 3. Update the state for each newly included file.
for added in addedIncludes:
# 3.1. Update the `includedFiles` index.
self.includedFiles[added].add(path)
# 3.2. Update the `includeDirs` state and schedule a "watch" for
# the directory if necessary, so we can pick up changes to
# the included file.
addedDir = added.parent
# 3.2.1. If this is the first time we see the included directory,
# schedule the event listener and record the watcher.
if not self.includeDirs[addedDir]:
logger.debug(
f'Start watching include dir: {addedDir}')
self.watches[addedDir] = self.schedule(
self.EventHandler(self),
path=str(addedDir), recursive=False)
# 3.2.2. Update the `includeDirs` state.
self.includeDirs[addedDir].add(added)
# 4. Update the state for each removed included file.
for removed in removedIncludes:
# 4.1. Update the `includedFiles` index.
self.includedFiles[removed].remove(path)
# 4.2. Update the `includeDirs` state and remove the "watch" for
# the directory if no more files require listening.
removedDir = removed.parent
# 4.2.1. Update the `includeDirs` state.
self.includeDirs[removedDir].add(removed)
# 4.2.2. If the last file in a directory was removed, then the
# watch for that directory can removed as well.
if not self.includeDirs[removedDir]:
logger.debug(
f'Stop watching include dir: {removedDir}')
self.unschedule(self.watches[removedDir])
del self.watches[removedDir]
# 5. Update the `watchedFiles` state with the new list of includes.
self.watchedFiles[path] = includes | z3c.insist | /z3c.insist-1.5.2-py3-none-any.whl/z3c/insist/enforce.py | enforce.py |
__docformat__ = "reStructuredText"
import csv
import StringIO
import persistent
import zope.app.intid
import zope.interface
import zope.location
from BTrees import IOBTree, IFBTree, OIBTree
from zc.catalog import index
from zope.app.container import contained
from zope.schema.fieldproperty import FieldProperty
from z3c.iplocation import interfaces
def getIP(decimal):
pieces = []
for pos in xrange(4):
piece = decimal/(256**(3-pos))
pieces.append(str(piece))
decimal -= piece*256**(3-pos)
return '.'.join(pieces)
def getDecimal(ip):
return sum(
[int(piece)*(256**(3-pos))
for pos, piece in enumerate(ip.split('.'))])
class Location(persistent.Persistent):
zope.interface.implements(interfaces.ILocation)
ipFrom = FieldProperty(interfaces.ILocation['ipFrom'])
ipTo = FieldProperty(interfaces.ILocation['ipTo'])
name = FieldProperty(interfaces.ILocation['name'])
def __init__(self, ipFrom, ipTo, name):
self.ipFrom = ipFrom
self.ipTo = ipTo
self.name = name
def __repr__(self):
return '<%s %s-%s %r>' %(
self.__class__.__name__, self.ipFrom, self.ipTo, self.name)
class IPLocator(contained.Contained, persistent.Persistent):
"""A persistent IP Locator implementation."""
zope.interface.implements(
interfaces.IIPLocator, interfaces.IIPLocatorManagement)
def __init__(self):
super(IPLocator, self).__init__()
self.reset()
def reset(self):
self._locations = OIBTree.OITreeSet()
self._ids = zope.app.intid.IntIds()
self._ipFrom = index.ValueIndex()
self._ipTo = index.ValueIndex()
def update(self, file, klass=None, skipLines=5):
self.reset()
counter = 0
if klass is None:
raise ValueError("Must use a ipligence location class.")
try:
# probably we've got file upload data from a form
if isinstance(file, str):
reader = csv.reader(StringIO.StringIO(file))
else:
reader = csv.reader(file)
for row in reader:
counter += 1
if skipLines < counter:
loc = klass(*row)
self.add(loc, loc.decimalFrom, loc.decimalTo)
except TypeError:
raise ValueError("Wrong ipligence location class used or skipped "
"the wrong amount of skipLines.")
def get(self, ip, default=None):
"""See interfaces.IIPLocator"""
ip = getDecimal(ip)
fromResult = self._ipFrom.apply(
{'between': (None, ip, False, False)})
toResult = self._ipTo.apply(
{'between': (ip, None, False, False)})
result = IFBTree.intersection(fromResult, toResult)
if not result:
return default
return self._ids.getObject(result[0])
def add(self, location, fromDecimal=None, toDecimal=None):
"""See interfaces.IIPLocatorManagement
The ``fromDecimal`` and ``toDecimal`` optional arguments are designed
to save the conversion, if the IPs already exist in decimal format.
"""
if location in self._locations.keys():
return
self._locations.insert(location)
# give em a location and prevent to run into NotYet errors in IIntIds
zope.location.locate(location, self)
uid = self._ids.register(location)
self._ipFrom.index_doc(uid, fromDecimal or getDecimal(location.ipFrom))
self._ipTo.index_doc(uid, toDecimal or getDecimal(location.ipTo))
def remove(self, location):
"""See interfaces.IIPLocatorManagement"""
if location not in self._locations:
return
uid = self._ids.getId(location)
self._ipFrom.unindex_doc(uid)
self._ipTo.unindex_doc(uid)
self._ids.unregister(location)
self._locations.remove(location) | z3c.iplocation | /z3c.iplocation-0.5.0.tar.gz/z3c.iplocation-0.5.0/src/z3c/iplocation/locator.py | locator.py |
__docformat__ = "reStructuredText"
import zope.interface
import zope.schema
from z3c.schema import ip
class ILocation(zope.interface.Interface):
"""A location for a given IP range."""
ipFrom = ip.IPAddress(
title=u'IP From',
description=u'First IP address in Netblock.',
required=True)
ipTo = ip.IPAddress(
title=u'IP To',
description=u'Last IP address in Netblock.',
required=True)
name = zope.schema.TextLine(
title=u'Name',
description=u'The name of the location of the IP range.',
required=True)
class IIPligenceLiteLocation(ILocation):
"""An IPligence compatible location for the lite version of the data."""
decimalFrom = zope.schema.Int(
title=u'Decimal IP From',
description=u'First IP address in Netblock as a decimal.',
required=True)
decimalTo = zope.schema.Int(
title=u'Decimal IP To',
description=u'Last IP address in Netblock as a decimal.',
required=True)
countryCode = zope.schema.ASCIILine(
title=u'Country Code',
description=u'Two characters country code based on ISO 3166.',
min_length=2,
max_length=2,
required=True)
countryName = zope.schema.ASCIILine(
title=u'Country Name',
description=u'Country name based on ISO 3166.',
required=True)
continentCode = zope.schema.ASCIILine(
title=u'Continent Code',
description=u'Two characters continent code based on ISO 3166.',
min_length=2,
max_length=2,
required=True)
continentName = zope.schema.ASCIILine(
title=u'Continent Name',
description=u'Continent name based on ISO 3166.',
required=True)
class IIPligenceBasicLocation(IIPligenceLiteLocation):
"""An IPligence compatible location for the basic version of the data."""
owner = zope.schema.ASCIILine(
title=u'Owner',
description=u'Company owner or Internet Service Provider.',
required=True)
timeZone = zope.schema.ASCIILine(
title=u'Time Zone',
description=u'Time Zone',
required=True)
regionCode = zope.schema.ASCIILine(
title=u'Region Code',
description=u'Two characters region or state code.',
min_length=2,
max_length=2,
required=False)
regionName = zope.schema.ASCIILine(
title=u'Region Name',
description=u'Region or State name.',
required=False)
class IIPligenceMaxLocation(IIPligenceBasicLocation):
"""An IPligence compatible location for the max version of the data."""
cityName = zope.schema.ASCIILine(
title=u'City Name',
description=u'City name.',
required=True)
countyName = zope.schema.ASCIILine(
title=u'County Name',
description=u'County name.',
required=False)
latitude = zope.schema.Float(
title=u'Latitude',
description=u'Latitude.',
required=True)
longitude = zope.schema.Float(
title=u'Longitude',
description=u'Longitude.',
required=True)
class IIPLocator(zope.interface.Interface):
"""Component to retrieve the location of an IP address."""
def get(ip, default=None):
"""Return a location for the given IP.
The location must at least implement ``ILocation``, but might also
implement any of the extended location interfaces.
If no location was found, return the default value.
"""
class IIPLocatorManagement(zope.interface.Interface):
"""Manage IP Locator data."""
def add(location):
"""Add an IP location.
If the location is already in the locator, ignore the request.
"""
def remove(location):
"""Remove an IP location.
If the location is not in the locator, ignore the request.
""" | z3c.iplocation | /z3c.iplocation-0.5.0.tar.gz/z3c.iplocation-0.5.0/src/z3c/iplocation/interfaces.py | interfaces.py |
__docformat__ = "reStructuredText"
import csv
import zope.interface
from zope.schema.fieldproperty import FieldProperty
from z3c.iplocation import interfaces, locator
class LiteLocation(locator.Location):
zope.interface.implements(interfaces.IIPligenceLiteLocation)
decimalFrom = FieldProperty(
interfaces.IIPligenceLiteLocation['decimalFrom'])
decimalTo = FieldProperty(
interfaces.IIPligenceLiteLocation['decimalTo'])
countryCode = FieldProperty(
interfaces.IIPligenceLiteLocation['countryCode'])
countryName = FieldProperty(
interfaces.IIPligenceLiteLocation['countryName'])
continentCode = FieldProperty(
interfaces.IIPligenceLiteLocation['continentCode'])
continentName = FieldProperty(
interfaces.IIPligenceLiteLocation['continentName'])
def __init__(self, decimalFrom, decimalTo, countryCode, countryName,
continentCode, continentName):
self.decimalFrom = int(decimalFrom)
self.decimalTo = int(decimalTo)
self.countryCode = countryCode
self.countryName = countryName
self.continentCode = continentCode
self.continentName = continentName
@property
def ipFrom(self):
return locator.getIP(self.decimalFrom)
@property
def ipTo(self):
return locator.getIP(self.decimalTo)
@property
def name(self):
return unicode(self.countryName)
class BasicLocation(LiteLocation):
zope.interface.implements(interfaces.IIPligenceBasicLocation)
owner = FieldProperty(
interfaces.IIPligenceBasicLocation['owner'])
timeZone = FieldProperty(
interfaces.IIPligenceBasicLocation['timeZone'])
regionCode = FieldProperty(
interfaces.IIPligenceBasicLocation['regionCode'])
regionName = FieldProperty(
interfaces.IIPligenceBasicLocation['regionName'])
def __init__(self, decimalFrom, decimalTo, countryCode, countryName,
continentCode, continentName, owner, timeZone,
regionCode, regionName):
super(BasicLocation, self).__init__(
decimalFrom, decimalTo, countryCode, countryName,
continentCode, continentName)
self.owner = owner
self.timeZone = timeZone
self.regionCode = regionCode or None
self.regionName = regionName or None
class MaxLocation(BasicLocation):
zope.interface.implements(interfaces.IIPligenceMaxLocation)
cityName = FieldProperty(
interfaces.IIPligenceMaxLocation['cityName'])
countryName = FieldProperty(
interfaces.IIPligenceMaxLocation['countryName'])
latitude = FieldProperty(
interfaces.IIPligenceMaxLocation['latitude'])
longitude = FieldProperty(
interfaces.IIPligenceMaxLocation['longitude'])
def __init__(self, decimalFrom, decimalTo, countryCode, countryName,
continentCode, continentName, owner, timeZone,
regionCode, regionName, cityName, countyName,
latitude, longitude):
super(MaxLocation, self).__init__(
decimalFrom, decimalTo, countryCode, countryName, continentCode,
continentName, owner, timeZone, regionCode, regionName)
self.cityName = cityName
self.countyName = countyName or None
self.latitude = float(latitude)
self.longitude = float(longitude)
def createLocator(file, klass=LiteLocation):
liteLocator = locator.IPLocator()
for row in csv.reader(file):
loc = klass(*row)
liteLocator.add(loc, loc.decimalFrom, loc.decimalTo)
return liteLocator | z3c.iplocation | /z3c.iplocation-0.5.0.tar.gz/z3c.iplocation-0.5.0/src/z3c/iplocation/ipligence.py | ipligence.py |
==========
IP Locator
==========
The IP Locator is a utility that provides a location for a particular IP
address.
>>> from z3c.iplocation import locator
>>> loc = locator.IPLocator()
A location can be retrieved using:
>>> loc.get('10.0.0.1')
If no location was found, as it is the case here, the default value which is
``None`` by default is returned. Of course, you can specify an alternative
default value:
>>> loc.get('10.0.0.1', default=1)
1
If the passed in value is not a valid IP address, an error is raised:
>>> loc.get('10.0.0.x')
Traceback (most recent call last):
...
ValueError: invalid literal for int()...
An extension to the ip locator API is the ip location management, which allows
you to manage the locations within the utility. Let's now add a location.
>>> us = locator.Location('24.225.0.0', '24.225.255.255', u'United States')
>>> us
<Location 24.225.0.0-24.225.255.255 u'United States'>
>>> loc.add(us)
We can now locate IPs within this range:
>>> loc.get('24.225.10.88')
<Location 24.225.0.0-24.225.255.255 u'United States'>
Adding the same location again, is simply ignored:
>>> loc.add(us)
Locations can as easily be removed:
>>> loc.remove(us)
>>> loc.get('24.225.10.88')
Deleting a non-existent location is silently ignored:
>>> loc.remove(us)
IPligence Locations
-------------------
One of the providers for IP to location mappings is IPligence at
www.ipligence.com.
Lite Database
~~~~~~~~~~~~~
Let's load their demo version of the lite database:
>>> import os
>>> file = open(os.path.join(dirpath, 'ipligence-lite-demo.txt'), 'r')
# Read some lines first
>>> for count in xrange(5):
... print file.readline().strip()
############ IPligence Lite DEMO FILE ###############
(c) IPligence. All rights reserved.
For more information visit http://www.ipligence.com
#####################################################
<BLANKLINE>
Let's now generate the locator:
>>> from z3c.iplocation import ipligence
>>> liteLocator = ipligence.createLocator(file, ipligence.LiteLocation)
We can now lookup locations:
>>> loc = liteLocator.get('24.225.10.88')
>>> loc
<LiteLocation 24.225.0.0-24.225.255.255 u'UNITED STATES'>
>>> loc.ipFrom
'24.225.0.0'
>>> loc.ipTo
'24.225.255.255'
>>> loc.name
u'UNITED STATES'
>>> loc.decimalFrom
417398784
>>> loc.decimalTo
417464319
>>> loc.countryCode
'US'
>>> loc.countryName
'UNITED STATES'
>>> loc.continentCode
'NA'
>>> loc.continentName
'NORTH AMERICA'
Basic Database
~~~~~~~~~~~~~~
Let's load their demo version of the basic database:
>>> import os
>>> file = open(os.path.join(dirpath, 'ipligence-basic-demo.txt'), 'r')
# Read some lines first
>>> for count in xrange(5):
... print file.readline().strip()
############ IPligence Basic DEMO FILE ###############
(c) IPligence. All rights reserved.
For more information visit http://www.ipligence.com
#####################################################
<BLANKLINE>
Let's now generate the locator:
>>> from z3c.iplocation import ipligence
>>> basicLocator = ipligence.createLocator(file, ipligence.BasicLocation)
We can now lookup locations:
>>> loc = basicLocator.get('62.40.2.132')
>>> loc
<BasicLocation 62.40.2.40-62.40.2.255 u'GERMANY'>
>>> loc.decimalFrom
1042809384
>>> loc.decimalTo
1042809599
>>> loc.countryCode
'DE'
>>> loc.countryName
'GERMANY'
>>> loc.continentCode
'EU'
>>> loc.continentName
'EUROPE'
>>> loc.owner
'KLOECKNER-MOELLER GMBH'
>>> loc.timeZone
'GMT+1'
>>> loc.regionCode
'HE'
>>> loc.regionName
'HESSEN'
Max Database
~~~~~~~~~~~~
Let's load their demo version of the max database:
>>> import os
>>> file = open(os.path.join(dirpath, 'ipligence-max-demo.txt'), 'r')
# Read some lines first
>>> for count in xrange(5):
... print file.readline().strip()
############ IPligence Max DEMO FILE ###############
(c) IPligence. All rights reserved.
For more information visit http://www.ipligence.com
#####################################################
<BLANKLINE>
Let's now generate the locator:
>>> from z3c.iplocation import ipligence
>>> maxLocator = ipligence.createLocator(file, ipligence.MaxLocation)
We can now lookup locations:
>>> loc = maxLocator.get('62.21.101.13')
>>> loc
<MaxLocation 62.21.100.0-62.21.102.255 u'POLAND'>
>>> loc.decimalFrom
1041589248
>>> loc.decimalTo
1041590015
>>> loc.countryCode
'PL'
>>> loc.countryName
'POLAND'
>>> loc.continentCode
'EU'
>>> loc.continentName
'EUROPE'
>>> loc.owner
'INTERNET CABLE PROVIDER'
>>> loc.timeZone
'GMT+1'
>>> loc.regionCode
>>> loc.regionName
>>> loc.cityName
'WARSAW'
>>> loc.countyName
>>> loc.latitude
52.25
>>> loc.longitude
21.0
update
------
An existing IPLocator can get updated with new data. If we do this, we will
remove all existing data. Take care if you are using custom added data which
are not in the original ipligence data file.
Let's get the existing maxLocator and update them with the lite data file.
>>> file = open(os.path.join(dirpath, 'ipligence-lite-demo.txt'), 'r')
>>> maxLocator.update(file)
Traceback (most recent call last):
...
ValueError: Must use a ipligence location class.
As you can see, you must use a location class for update the data:
>>> maxLocator.update(file, ipligence.MaxLocation)
Traceback (most recent call last):
...
ValueError: Wrong ipligence location class used or skipped the wrong amount of skipLines.
But you have to use the right ipligence location class:
>>> file = open(os.path.join(dirpath, 'ipligence-lite-demo.txt'), 'r')
>>> maxLocator.update(file, ipligence.LiteLocation)
Now we must get the lite location as result for the given IP:
>>> liteLocator.get('24.225.10.88')
<LiteLocation 24.225.0.0-24.225.255.255 u'UNITED STATES'>
Since we skip first 5 lines by default in the update method, let's check
the amount of locations which must be 42:
>>> len(liteLocator._locations)
42
reset
-----
The locator offers also a reset method which will remove all existing data and
can setup a clean empty locator. This method is used on initialization and
before the data get updated like shown in the sample above.
>>> liteLocator.reset()
After the reset, the locator is empty and doesn't return any location:
>>> liteLocator.get('24.225.10.88') is None
True
Converting IPs to Decimals
--------------------------
In order to efficiently look up the location from the given IP, IPs are
converted to decimals.
>>> from z3c.iplocation import locator
>>> locator.getDecimal('123.29.4.1')
2065499137
>>> locator.getDecimal('0.0.0.0')
0
>>> locator.getDecimal('255.255.255.255')
4294967295L
Converting Decimals to IPs
--------------------------
In order to provide a user-readable format of the IPs, the decimals can be
converted back to IP addresses:
>>> locator.getIP(2065499137)
'123.29.4.1'
>>> locator.getIP(0)
'0.0.0.0'
>>> locator.getIP(4294967295L)
'255.255.255.255'
| z3c.iplocation | /z3c.iplocation-0.5.0.tar.gz/z3c.iplocation-0.5.0/src/z3c/iplocation/README.txt | README.txt |
Changes
=======
2.0 (2023-05-04)
----------------
- Add support for Python 3.9, 3.10, 3.11.
- Drop support for Python 2.7, 3.5, 3.6.
1.1.1 (2021-08-18)
------------------
- Fix error in find_zope2_product: "TypeError: expected str, bytes or os.PathLike object, not list".
[jensens]
1.1.0 (2020-09-20)
------------------
- Added support for static resource registered using the "static"
directive of `plone.resource`.
[malthe]
1.0.0 (2020-08-25)
------------------
- Breaking: Remove long deprecated backward compatibility imports of getSite and setHooks.
[jensens]
- Fix #8: Broken on Windows (non case-sensitive filesystem).
[jensens]
- Fix tests to run on ``windows``.
[jensens]
- Add Github Actions testrunners for ``ubuntu``, ``windows``.
[jensens]
- Run tests with Zope 4.5.
[jensens]
- Breaking: Add and test/support for Python 3.8. Drop support for Python 3.5.
[jensens]
0.8 (2018-11-07)
----------------
- Added support for Python 3.5, 3.6, 3.7; dropped support for 2.6.
[ale-rt, pbauer]
- Fix: Be sure ignored templates will reread from disk.
[ale-rt]
- Standardize namespace __init__
- Fix issue where zope.browserpage.viewpagetemplatefile.ViewPageTemplateFile
was not using jbot overrides.
[davisagli]
0.7.1 (2012-01-09)
------------------
- Fixed an issue where multiple registrations against the same layer
would cause only one registration (decided randomly) to have effect.
The lookup code now uses the specification resolution order to query
for override registrations in order of specialization.
[malthe]
0.7 (2012-01-05)
----------------
- Fixed issue where templates being patched by ``five.pt`` would not
get properly jbotted.
- Use ``five.pt`` if available. [malthe]
- Fixed an issue where tests would fail on Zope 2.10. [malthe]
0.6.3 (2010-09-07)
------------------
- Fixed compatibility with Plone 3.x. [malthe]
0.6.2 (2010-02-17)
------------------
- Downgrade log messages to debug level. In normal operation they don't contain
any valuable information. [hannosch]
- Prefer zope.site over zope.app.component if it is available. [hannosch]
0.6.1 (2010-02-09)
------------------
- Fix bungled release [optilude]
0.6.0 (2010-02-09)
------------------
- Zope 2.12 compatibility. [malthe]
- Added support for automatic configuration. [malthe]
- Fixed layer specialization ordering. [malthe]
0.5.3 (2009-10-31)
------------------
- ZCML-directive is now called ``jbot``. [malthe]
0.5.2 (2009-10-23)
------------------
- Fixed issue where an exception would be raised if a view was not an
acquirer, while the context was. [gweis]
0.5.1 (2009-10-19)
------------------
- Acquisition-wrap template instance, if applicable. This fixes an
issue on Zope 2.10 where legacy code would break.
0.5 (2009-10-16)
----------------
- Added support for CMF skin objects.
0.4 (2009-10-15)
----------------
- Added Chameleon-support.
- Reimplemented override logic; the total usage cost is now reduced to
an insignificant amount. Meanwhile, only templates that are defined
as class-attributes (e.g. on views, viewlets and portlets) can be
overriden.
0.3 (2009-09-26)
----------------
- Improved test coverage.
- Refactored code, improving performance.
- Fixed issue with multiple layers.
0.2 (2008-07-14)
----------------
- Added layer support.
0.1 (2007-11-27)
----------------
- Initial public release.
| z3c.jbot | /z3c.jbot-2.0.tar.gz/z3c.jbot-2.0/CHANGES.rst | CHANGES.rst |
Overview
========
The ``z3c.jbot`` (or "Just a bunch of templates") package allows easy
customization of existing templates and images. It works on Zope 2 and
Zope 3.
The Chameleon rendering engine is supported [#]_.
Use of this package adds a small (2-3 ms per request on Plone) to the
total application response time.
.. [#] To enable Chameleon on Zope 2, use the ``five.pt`` package (CMF-apps like Plone should use ``cmf.pt`` which adds full support).
Usage
-----
To override a particular file, first determine its *canonical
filename*. It's defined as the path relative to the package within
which the file is located; directory separators are replaced with
dots.
Example:
Suppose you want to override: /plone/app/layout/viewlets/logo.pt
You would use the filename: plone.app.layout.viewlets.logo.pt
Simply drop the file in a directory and register that directory for
use with jbot using a ZCML-directive::
<include package="z3c.jbot" file="meta.zcml" />
<browser:jbot
directory="<path>"
layer="<layer>" />
Templates in views, viewlets and portlets
-----------------------------------------
Any template that is defined as a class-attribute can be overriden
using jbot, e.g. those used in views, viewlets and portlets. The
template overrides may be registered for any request layer or only a
specific layer.
CMF objects
-----------
Any skin-object (e.g. images, templates) on the file system (directory
views) can be overridden.
Plone resources
---------------
If `plone.resource` is installed, it's possible to use jbot to
override filesystem resources.
Author
------
Malthe Borch <[email protected]>
| z3c.jbot | /z3c.jbot-2.0.tar.gz/z3c.jbot-2.0/README.rst | README.rst |
Zope Public License (ZPL) Version 2.1
A copyright notice accompanies this license document that identifies the
copyright holders.
This license has been certified as open source. It has also been designated as
GPL compatible by the Free Software Foundation (FSF).
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions in source code must retain the accompanying copyright
notice, this list of conditions, and the following disclaimer.
2. Redistributions in binary form must reproduce the accompanying copyright
notice, this list of conditions, and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Names of the copyright holders must not be used to endorse or promote
products derived from this software without prior written permission from the
copyright holders.
4. The right to distribute this software or to use it for any purpose does not
give you the right to use Servicemarks (sm) or Trademarks (tm) of the
copyright
holders. Use of them is covered by separate agreement with the copyright
holders.
5. If any files are modified, you must cause the modified files to carry
prominent notices stating that you changed the files and the date of any
change.
Disclaimer
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
| z3c.jbot | /z3c.jbot-2.0.tar.gz/z3c.jbot-2.0/LICENSE.rst | LICENSE.rst |
z3c.jbot
========
The z3c.jbot (or "Just a bunch of templates") package allows drop-in
page template and resource file overrides.
Templates
---------
It works with templates which are defined as an attribute on a view::
>>> from zope.pagetemplate.pagetemplatefile import PageTemplateFile
>>> class View(object):
... template = PageTemplateFile("tests/templates/example.pt")
>>> view = View()
To render the template, we instantiate the view and call the
``template`` attribute.
>>> print(view.template())
This is an example page template.
We use the global template manager to register and unregister new
template override directories.
If we register the directory where it's placed with the global template
manager, it will be used when rendering this template object instead
of the original filename::
>>> import z3c.jbot.tests
>>> directory = z3c.jbot.tests.__path__[0]
Register overrides directory (by default for any request); we confirm
that it's registered for the same template manager::
>>> from z3c.jbot.metaconfigure import handler
>>> manager = handler("%s/overrides/interface" % directory, interface.Interface)
We make sure that the presence of an additional, trivial manager, does
not affect the result. We register the system temporary directory::
>>> import tempfile
>>> handler(tempfile.tempdir, interface.Interface)
<z3c.jbot.manager.TemplateManager object at ...>
We should now see that the new filename will be used for rendering::
>>> print(view.template())
Override from ./interface.
Before we proceed we'll clean up::
>>> manager.unregisterAllDirectories()
The template does indeed render the original template::
>>> print(view.template())
This is an example page template.
Upon rendering, the global template manager will have reverted the
template filename to the original::
>>> view.template.filename.replace("\\", "/")
'.../z3c/jbot/tests/templates/example.pt'
Overrides can be registered for a specific layer. Let's register three
more overrides, one for the general-purpose ``IRequest`` layer, one
for the ``IHTTPRequest`` layer and one for a made-up ``IHTTPSRequest``
layer::
>>> from zope.publisher.interfaces import IRequest
>>> from zope.publisher.interfaces.http import IHTTPRequest
>>> class IHTTPSRequest(IRequest):
... """An HTTPS request."""
Next we register an overrides directory for the ``IRequest`` layer::
>>> general = handler("%s/overrides/request" % directory, IRequest)
Let's set up an interaction with a trivial participation::
>>> class Participation:
... interaction = None
>>> participation = Participation()
>>> import zope.security.management
>>> zope.security.management.newInteraction(participation)
This participation does not provide even the basic request interface::
>>> IRequest.providedBy(participation)
False
We don't expect the template to be overriden for this interaction::
>>> print(view.template())
This is an example page template.
<BLANKLINE>
Let's upgrade it::
>>> request = participation
>>> interface.alsoProvides(request, IRequest)
>>> print(view.template())
Override from ./request.
<BLANKLINE>
>>> view.template._v_cooked
1
Going back to a basic request::
>>> interface.noLongerProvides(request, IRequest)
>>> print(view.template())
This is an example page template.
<BLANKLINE>
Let's verify that we only cook once per template source::
>>> output = view.template()
>>> view.template._v_last_read and view.template._v_cooked
1
>>> interface.alsoProvides(request, IRequest)
>>> output = view.template()
>>> view.template._v_last_read and view.template._v_cooked
1
>>> print(view.template())
Override from ./request.
<BLANKLINE>
Now, if we switch to the HTTP-layer::
>>> interface.noLongerProvides(request, IRequest)
>>> interface.alsoProvides(request, IHTTPRequest)
>>> print(view.template())
Override from ./request.
<BLANKLINE>
>>> general.unregisterAllDirectories()
>>> print(view.template())
This is an example page template.
<BLANKLINE>
>>> http = handler("%s/overrides/http" % directory, IHTTPRequest)
>>> https = handler("%s/overrides/https" % directory, IHTTPSRequest)
>>> print(view.template())
Override from ./http.
<BLANKLINE>
Switching to HTTPS::
>>> interface.noLongerProvides(request, IHTTPRequest)
>>> interface.alsoProvides(request, IHTTPSRequest)
>>> print(view.template())
Override from ./https.
<BLANKLINE>
>>> interface.noLongerProvides(request, IHTTPSRequest)
Unregister all directories (cleanup)::
>>> for manager, layer in ((http, IHTTPRequest), (https, IHTTPSRequest)):
... interface.alsoProvides(request, layer)
... _ = view.template()
... manager.unregisterAllDirectories()
... interface.noLongerProvides(request, layer)
The override is no longer in effect::
>>> print(view.template())
This is an example page template.
<BLANKLINE>
Using ZCML
----------
First we load the metadirectives of the package. This will allow us
to register template overrides directories in configuration files.
>>> from io import StringIO
>>> from zope.configuration import xmlconfig
>>> xmlconfig.XMLConfig('meta.zcml', z3c.jbot)()
Let's try registering the directory again::
>>> xmlconfig.xmlconfig(StringIO("""
... <configure xmlns="http://namespaces.zope.org/browser">
... <jbot directory="%s/overrides/interface" />
... </configure>
... """ % directory))
Once again, the override will be in effect::
>>> print(view.template())
Override from ./interface.
<BLANKLINE>
Providing the HTTP-request layer does not change this::
>>> interface.alsoProvides(request, IHTTPRequest)
>>> print(view.template())
Override from ./interface.
<BLANKLINE>
Unregister overrides::
>>> for manager in z3c.jbot.utility.getManagers(IHTTPRequest):
... manager.unregisterAllDirectories()
>>> print(view.template())
This is an example page template.
<BLANKLINE>
Let's register overrides for the HTTP-request layer::
>>> xmlconfig.xmlconfig(StringIO("""
... <configure xmlns="http://namespaces.zope.org/browser">
... <jbot
... directory="%s/overrides/http"
... layer="zope.publisher.interfaces.browser.IHTTPRequest" />
... </configure>
... """ % directory))
Since we now provide the HTTP-request layer, the override is used::
>>> print(view.template())
Override from ./http.
<BLANKLINE>
Plone resources
---------------
We'll configure a plone static resource directory and set up
jbot-based resource overrides:
>>> xmlconfig.xmlconfig(StringIO("""
... <configure package="z3c.jbot"
... xmlns="http://namespaces.zope.org/browser" xmlns:plone="http://namespaces.plone.org/plone">
... <include package="plone.resource" file="meta.zcml" />
... <plone:static directory="tests/resources" type="plone"/>
... <jbot directory="tests/overrides/resources" />
... </configure>
... """))
Verify that we can query the test resource:
>>> from plone.resource.utils import queryResourceDirectory
>>> directory = queryResourceDirectory("plone", "z3c.jbot")
>>> resource = directory['test.txt']
>>> with open(resource.path) as f:
... f.read()
'Original\n'
If we try to publish this resource, we'll get the resource override instead:
>>> from zope.component import getMultiAdapter
>>> from zope.publisher.interfaces.browser import IBrowserPublisher
>>> publisher = getMultiAdapter((resource, interface.Interface), IBrowserPublisher)
>>> resource, _ = publisher.browserDefault(None)
>>> with open(resource.path) as f:
... f.read()
'Override\n'
| z3c.jbot | /z3c.jbot-2.0.tar.gz/z3c.jbot-2.0/src/z3c/jbot/README.rst | README.rst |
import os
import sys
from zope.interface import implementer
from . import interfaces
from . import utility
IGNORE = object()
DELETE = object()
def normalize(filepath):
return os.path.normcase(os.path.normpath(filepath))
def root_length(a, b):
if b.startswith(a):
return len(a)
return 0
def sort_by_path(path, paths):
return sorted(
paths, key=lambda syspath: root_length(syspath, path), reverse=True
)
def find_zope2_product(path):
"""Check the Zope 5 magic Products semi-namespace to see if the
path is part of a Product."""
_syspaths = sort_by_path(
path,
[normalize(path) for path in sys.modules["Products"].__path__],
)
syspath = _syspaths[0]
if not path.startswith(syspath):
return
product = path[len(syspath) + 1:].split(os.path.sep, 2)[0]
return normalize("Products." + product)
def find_package(syspaths, path):
"""Determine the Python-package where path is located. If the path is
not located within the Python sys-path, return ``None``.
The returned path is already 'normcase'. """
_syspaths = sort_by_path(path, syspaths)
syspath = _syspaths[0]
if not path.startswith(syspath):
if not utility.ZOPE_3:
return find_zope2_product(path)
return None
path = path[len(syspath):]
# convert path to dotted filename
if path.startswith(os.path.sep):
path = path[1:]
return path
class ResourceManagerFactory:
def __init__(self, name):
self.manager = TemplateManager(name)
def __call__(self, layer):
return self.manager
class TemplateManagerFactory:
def __init__(self, name):
self.manager = TemplateManager(name)
def __call__(self, layer):
return self.manager
@implementer(interfaces.ITemplateManager)
class TemplateManager:
def __init__(self, name):
self.syspaths = {normalize(p) for p in sys.path}
self.resources = {}
self.templates = {}
self.paths = {}
self.directories = set()
self.name = name
def registerDirectory(self, directory):
directory = normalize(directory)
self.directories.add(directory)
for filename in os.listdir(directory):
filename = os.path.normcase(filename)
self.paths[filename] = normalize(
"%s%s%s" %
(directory, os.path.sep, filename))
for template, filename in list(self.templates.items()):
if filename is IGNORE:
del self.templates[template]
def unregisterDirectory(self, directory):
directory = normalize(directory)
self.directories.remove(directory)
templates = []
for template, filename in self.templates.items():
if os.path.normcase(filename) in self.paths:
templates.append(template)
for filename in os.listdir(directory):
if os.path.normcase(filename) in self.paths:
del self.paths[filename]
for template in templates:
inst = template.__get__(self)
self.registerTemplate(inst, template)
del self.templates[template]
inst.filename = inst._filename
def unregisterAllDirectories(self):
for directory in tuple(self.directories):
self.unregisterDirectory(directory)
def registerTemplate(self, template, token):
# assert that the template is not already registered
filename = self.templates.get(token)
if filename is IGNORE:
return
# if the template filename matches an override, we're done
if filename is not None:
if self.paths.get(filename) == template.filename:
return
# verify that override has not been unregistered
if filename is not None and filename not in self.paths:
template.filename = template._filename
del self.templates[token]
# check if an override exists
path = find_package(self.syspaths, normalize(template.filename))
if path is None:
# permanently ignore template
self.templates[token] = IGNORE
return
filename = path.replace(os.path.sep, '.')
if filename not in self.paths:
self.templates[token] = IGNORE
template._v_last_read = False
return
path = self.paths[filename]
# save original filename
template._filename = template.filename
# save template and registry and assign path
template.filename = path
self.templates[token] = os.path.normcase(filename)
return True
def queryResourcePath(self, resource):
path = self.resources.get(resource.path)
if path is IGNORE:
return
if path is not None:
return path
path = find_package(self.syspaths, normalize(resource.path))
if path is None:
self.resources[resource.path] = IGNORE
return
filename = path.replace(os.path.sep, '.')
resource_path = self.paths.get(filename)
if resource_path is None:
self.resources[resource.path] = IGNORE
return
return resource_path | z3c.jbot | /z3c.jbot-2.0.tar.gz/z3c.jbot-2.0/src/z3c/jbot/manager.py | manager.py |
import logging
from zope.pagetemplate.pagetemplatefile import PageTemplateFile
from . import utility
try:
from Acquisition.interfaces import IAcquirer
except ImportError:
IAcquirer = None
logger = logging.getLogger('jbot')
# Standard PageTemplateFile
PT_CLASSES = [PageTemplateFile]
try:
import Products.PageTemplates.PageTemplateFile
PT_CLASSES.append(Products.PageTemplates.PageTemplateFile.PageTemplateFile)
except ImportError:
pass
registry = {}
def get(template, view=None, cls=None):
layer = utility.getLayer()
key = layer, template
inst = registry.get(key)
if inst is None:
cls = type(template)
inst = registry[key] = cls.__new__(cls)
inst.__dict__ = template.__dict__.copy()
for manager in utility.getManagers(layer):
# register template; this call returns ``True`` if the
# template was invalidated (changed filename)
if manager.registerTemplate(inst, template):
inst._v_last_read = False
inst.__dict__.pop('_v_template', None)
break
if view is not None and IAcquirer is not None:
if IAcquirer.providedBy(inst) and IAcquirer.providedBy(view):
return inst.__of__(view)
return inst
# five.pt / Chameleon
try:
from five.pt.pagetemplate import ViewPageTemplateFile as pt_class
except ImportError:
pass
else:
five_bind = pt_class.__get__
def get_and_bind(template, view=None, cls=None):
inst = get(template, view, cls)
if inst._v_last_read is False:
inst.registry.purge()
inst.read()
return five_bind(inst, view, cls)
pt_class.__get__ = get_and_bind
logger.debug(repr(pt_class))
del pt_class
# Zope 2.12 ViewPageTemplateFile; note that we import
# ``BoundPageTemplate`` to provoke an import-error on Zope 2.10.
try:
from Products.Five.browser.pagetemplatefile import \
ViewPageTemplateFile as pt_class
zope_bind = pt_class.__get__
except ImportError:
pass
except AttributeError:
pass
else:
def five_get_and_bind(template, view=None, cls=None):
inst = get(template, view, cls)
if inst._v_last_read is False:
inst.read()
return zope_bind(inst, view, cls)
pt_class.__get__ = five_get_and_bind
logger.debug(repr(pt_class))
del pt_class
# zope.browserpage ViewPageTemplateFile
try:
from zope.browserpage.viewpagetemplatefile import \
ViewPageTemplateFile as pt_class
browserpage_bind = pt_class.__get__
except ImportError:
pass
except AttributeError:
pass
else:
def get_and_bind(template, view=None, cls=None):
inst = get(template, view, cls)
if inst._v_last_read is False:
inst.read()
return browserpage_bind(inst, view, cls)
pt_class.__get__ = get_and_bind
logger.debug(repr(pt_class))
del pt_class
for pt_class in PT_CLASSES:
pt_class.__get__ = get
logger.debug(repr(pt_class))
# CMF skin layer resources
try:
from Products.CMFCore.FSObject import FSObject as fs_class
except ImportError:
pass
else:
of = fs_class.__of__
def get_skin_obj(obj, view=None, cls=None):
layer = utility.getLayer()
key = layer, obj
inst = registry.get(key)
if inst is None:
cls = obj.__class__
inst = registry[key] = cls.__new__(cls)
inst.__dict__ = obj.__dict__.copy()
for manager in utility.getManagers(layer):
# register template; this call returns ``True`` if the
# template was invalidated (changed filename)
if manager.registerTemplate(inst, obj):
inst._parsed = False
inst.getObjectFSPath()
return of(inst, view)
def get_filename(obj, *args):
return obj._filepath
def set_filename(obj, value, *args):
obj._filepath = value
fs_class.__of__ = get_skin_obj
fs_class.filename = property(get_filename, set_filename)
logger.debug(repr(fs_class)) | z3c.jbot | /z3c.jbot-2.0.tar.gz/z3c.jbot-2.0/src/z3c/jbot/patches.py | patches.py |
import os, shutil, sys, tempfile
from optparse import OptionParser
tmpeggs = tempfile.mkdtemp()
usage = '''\
[DESIRED PYTHON FOR BUILDOUT] bootstrap.py [options]
Bootstraps a buildout-based project.
Simply run this script in a directory containing a buildout.cfg, using the
Python that you want bin/buildout to use.
Note that by using --setup-source and --download-base to point to
local resources, you can keep this script from going over the network.
'''
parser = OptionParser(usage=usage)
parser.add_option("-v", "--version", help="use a specific zc.buildout version")
parser.add_option("-t", "--accept-buildout-test-releases",
dest='accept_buildout_test_releases',
action="store_true", default=False,
help=("Normally, if you do not specify a --version, the "
"bootstrap script and buildout gets the newest "
"*final* versions of zc.buildout and its recipes and "
"extensions for you. If you use this flag, "
"bootstrap and buildout will get the newest releases "
"even if they are alphas or betas."))
parser.add_option("-c", "--config-file",
help=("Specify the path to the buildout configuration "
"file to be used."))
parser.add_option("-f", "--find-links",
help=("Specify a URL to search for buildout releases"))
options, args = parser.parse_args()
######################################################################
# load/install distribute
to_reload = False
try:
import pkg_resources, setuptools
if not hasattr(pkg_resources, '_distribute'):
to_reload = True
raise ImportError
except ImportError:
ez = {}
try:
from urllib.request import urlopen
except ImportError:
from urllib2 import urlopen
exec(urlopen('http://python-distribute.org/distribute_setup.py').read(), ez)
setup_args = dict(to_dir=tmpeggs, download_delay=0, no_fake=True)
ez['use_setuptools'](**setup_args)
if to_reload:
reload(pkg_resources)
import pkg_resources
# This does not (always?) update the default working set. We will
# do it.
for path in sys.path:
if path not in pkg_resources.working_set.entries:
pkg_resources.working_set.add_entry(path)
######################################################################
# Install buildout
ws = pkg_resources.working_set
cmd = [sys.executable, '-c',
'from setuptools.command.easy_install import main; main()',
'-mZqNxd', tmpeggs]
find_links = os.environ.get(
'bootstrap-testing-find-links',
options.find_links or
('http://downloads.buildout.org/'
if options.accept_buildout_test_releases else None)
)
if find_links:
cmd.extend(['-f', find_links])
distribute_path = ws.find(
pkg_resources.Requirement.parse('distribute')).location
requirement = 'zc.buildout'
version = options.version
if version is None and not options.accept_buildout_test_releases:
# Figure out the most recent final version of zc.buildout.
import setuptools.package_index
_final_parts = '*final-', '*final'
def _final_version(parsed_version):
for part in parsed_version:
if (part[:1] == '*') and (part not in _final_parts):
return False
return True
index = setuptools.package_index.PackageIndex(
search_path=[distribute_path])
if find_links:
index.add_find_links((find_links,))
req = pkg_resources.Requirement.parse(requirement)
if index.obtain(req) is not None:
best = []
bestv = None
for dist in index[req.project_name]:
distv = dist.parsed_version
if _final_version(distv):
if bestv is None or distv > bestv:
best = [dist]
bestv = distv
elif distv == bestv:
best.append(dist)
if best:
best.sort()
version = best[-1].version
if version:
requirement = '=='.join((requirement, version))
cmd.append(requirement)
import subprocess
if subprocess.call(cmd, env=dict(os.environ, PYTHONPATH=distribute_path)) != 0:
raise Exception(
"Failed to execute command:\n%s",
repr(cmd)[1:-1])
######################################################################
# Import and run buildout
ws.add_entry(tmpeggs)
ws.require(requirement)
import zc.buildout.buildout
if not [a for a in args if '=' not in a]:
args.append('bootstrap')
# if -c was provided, we push it back into args for buildout' main function
if options.config_file is not None:
args[0:0] = ['-c', options.config_file]
zc.buildout.buildout.main(args)
shutil.rmtree(tmpeggs) | z3c.json | /z3c.json-0.5.5.zip/z3c.json-0.5.5/bootstrap.py | bootstrap.py |
__docformat__ = "reStructuredText"
import zope.interface
from z3c.json import interfaces
from z3c.json import minjson
from z3c.json import exceptions
try:
import cjson
hasCJson = True
except ImportError:
import logging
logger = logging.getLogger()
logger.log(logging.INFO,
"Using minjson only. cjson is much faster and available at the cheese "
"shop. easy_install python-cjson")
hasCJson = False
class JSONReader(object):
"""JSON reader utility."""
zope.interface.implements(interfaces.IJSONReader)
def read(self, aString, encoding=None):
if hasCJson:
try:
# the True parameter here tells cjson to make all strings
# unicode. This is a good idea here.
return cjson.decode(aString, True)
except cjson.DecodeError:
# fall back to minjson
pass
# This is a fall-back position for less-well-constructed JSON
try:
return minjson.read(aString, encoding)
except minjson.ReadException, e:
raise exceptions.ResponseError(e)
class JSONWriter(object):
"""JSON writer utility."""
zope.interface.implements(interfaces.IJSONWriter)
def write(self, anObject):
if hasCJson:
try:
return unicode(cjson.encode(anObject))
except cjson.EncodeError:
# fall back to minjson
pass
try:
return minjson.write(anObject)
except minjson.WriteException, e:
raise TypeError, e
def premarshal(data):
"""Premarshal data before handing it to JSON writer for marshalling
The initial purpose of this function is to remove security proxies
without resorting to removeSecurityProxy. This way, we can avoid
inadvertently providing access to data that should be protected.
"""
premarshaller = interfaces.IJSONRPCPremarshaller(data, alternate=None)
if premarshaller is not None:
return premarshaller()
return data
class PreMarshallerBase(object):
"""Abstract base class for pre-marshallers."""
zope.interface.implements(interfaces.IJSONRPCPremarshaller)
def __init__(self, data):
self.data = data
def __call__(self):
raise Exception, "Not implemented"
class DictPreMarshaller(PreMarshallerBase):
"""Pre-marshaller for dicts"""
def __call__(self):
return dict([(premarshal(k), premarshal(v))
for (k, v) in self.data.items()])
class ListPreMarshaller(PreMarshallerBase):
"""Pre-marshaller for list"""
def __call__(self):
return map(premarshal, self.data) | z3c.json | /z3c.json-0.5.5.zip/z3c.json-0.5.5/src/z3c/json/converter.py | converter.py |
======
README
======
We can use the `JSONReader` and `JSONWriter` if we need to convert a data
structure to or from JSON syntax -- in other words a EcmaScript mapping
object. Let's check the utilities:
>>> import zope.component
>>> from z3c.json import interfaces
>>> from z3c.json import testing
>>> testing.setUpJSONConverter()
`JSONWriter` Utility
--------------------
>>> jsonWriter = zope.component.getUtility(interfaces.IJSONWriter)
>>> jsonWriter
<z3c.json.converter.JSONWriter object at ...>
Read some data:
>>> input = {u'a': ['fred', 7],
... u'b': ['mary', 1.234]}
>>> jsonStr = jsonWriter.write(input)
>>> jsonStr
u'{"a":["fred",7],"b":["mary",1.234]}'
`JSONReader` Utility
--------------------
>>> jsonReader = zope.component.getUtility(interfaces.IJSONReader)
>>> jsonReader
<z3c.json.converter.JSONReader object at ...>
Convert the data back to python:
>>> output = jsonReader.read(jsonStr)
>>> output
{u'a': [u'fred', 7], u'b': [u'mary', 1.234]}
>>> input == output
True
| z3c.json | /z3c.json-0.5.5.zip/z3c.json-0.5.5/src/z3c/json/README.txt | README.txt |
__docformat__ = "reStructuredText"
import string
import urllib
import httplib
import base64
import types
import zope.component
from z3c.json import interfaces
from z3c.json.exceptions import ProtocolError
from z3c.json.exceptions import ResponseError
def getparser():
un = Unmarshaller()
par = Parser(un)
return par,un
class Unmarshaller(object):
def __init__(self):
self.data = None
def feed(self, data):
if self.data is None:
self.data = data
else:
self.data = self.data + data
def close(self):
# convert to json, reader raises ResponseError on read error
json = zope.component.getUtility(interfaces.IJSONReader)
return json.read(self.data)
class Parser(object):
def __init__(self, unmarshaller):
self._target = unmarshaller
self.data = None
def feed(self, data):
if self.data is None:
self.data = data
else:
self.data = self.data + data
def close(self):
self._target.feed(self.data)
class Transport(object):
"""Handles an HTTP transaction to an JSON-RPC server.
Standard transport class for JSON-RPC over HTTP.
You can create custom transports by subclassing this method, and
overriding selected methods.
Send a complete request, and parse the response.
@param host Target host.
@param handler Target PRC handler.
@param request_body JSON-RPC request body.
@param verbose Debugging flag.
@return Parsed response.
"""
user_agent = "z3c.jsonrpc/0.5.0"
def request(self, host, handler, request_body, verbose=0):
# issue JSON-RPC request
h = self.make_connection(host)
if verbose:
h.set_debuglevel(1)
self.send_request(h, handler, request_body)
self.send_host(h, host)
self.send_user_agent(h)
self.send_content(h, request_body)
errcode, errmsg, headers = h.getreply()
if errcode != 200:
raise ProtocolError(host + handler, errcode, errmsg, headers)
self.verbose = verbose
self.parse_response_headers(headers)
try:
sock = h._conn.sock
except AttributeError:
sock = None
return self._parse_response(h.getfile(), sock)
def getparser(self):
"""Get parser and unmarshaller."""
return getparser()
def get_host_info(self, host):
"""Get authorization info from host parameter
Host may be a string, or a (host, x509-dict) tuple; if a string,
it is checked for a "user:pw@host" format, and a "Basic
Authentication" header is added if appropriate.
@param host Host descriptor (URL or (URL, x509 info) tuple).
@return A 3-tuple containing (actual host, extra headers,
x509 info). The header and x509 fields may be None.
"""
x509 = {}
if isinstance(host, types.TupleType):
host, x509 = host
auth, host = urllib.splituser(host)
if auth:
auth = base64.encodestring(urllib.unquote(auth))
auth = string.join(string.split(auth), "") # get rid of whitespace
extra_headers = [
("Authorization", "Basic " + auth)
]
else:
extra_headers = None
return host, extra_headers, x509
def make_connection(self, host):
# create a HTTP connection object from a host descriptor
host, extra_headers, x509 = self.get_host_info(host)
return httplib.HTTP(host)
def send_request(self, connection, handler, request_body):
connection.putrequest("POST", handler)
def send_host(self, connection, host):
host, extra_headers, x509 = self.get_host_info(host)
connection.putheader("Host", host)
if extra_headers:
if isinstance(extra_headers, dict):
extra_headers = extra_headers.items()
for key, value in extra_headers:
connection.putheader(key, value)
def send_user_agent(self, connection):
connection.putheader("User-Agent", self.user_agent)
def send_content(self, connection, request_body):
connection.putheader("Content-Type", "application/json")
connection.putheader("Content-Length", str(len(request_body)))
connection.endheaders()
if request_body:
connection.send(request_body)
def parse_response_headers(self, headers):
pass
def parse_response(self, file):
# compatibility interface
return self._parse_response(file, None)
def _parse_response(self, file, sock):
# read response from input file/socket, and parse it
p, u = self.getparser()
while 1:
if sock:
response = sock.recv(1024)
else:
response = file.read(1024)
if not response:
break
if self.verbose:
print "body:", repr(response)
p.feed(response)
file.close()
p.close()
return u.close()
class SafeTransportMixin(object):
"""Handles an HTTPS transaction to an JSON-RPC server."""
def make_connection(self, host):
"""Create a HTTPS connection object from a host descriptor
host may be a string, or a (host, x509-dict) tuple
"""
host, extra_headers, x509 = self.get_host_info(host)
try:
HTTPS = httplib.HTTPS
except AttributeError:
raise NotImplementedError(
"your version of httplib doesn't support HTTPS"
)
else:
return HTTPS(host, None, **(x509 or {}))
class SafeTransport(SafeTransportMixin, Transport):
"""Handles an HTTPS transaction to an JSON-RPC server."""
class BasicAuthTransport(Transport):
"""Handles a transaction to an JSON-RPC server using HTTP basic auth."""
def __init__(self, username=None, password=None, verbose=0):
self.username=username
self.password=password
self.verbose=verbose
def send_content(self, connection, request_body):
# send basic auth
if self.username is not None and self.password is not None:
connection.putheader("AUTHORIZATION", "Basic %s" %
base64.encodestring("%s:%s" % (self.username, self.password)
).replace("\012", ""))
super(BasicAuthTransport, self).send_content(connection, request_body)
class SafeBasicAuthTransport(SafeTransportMixin, BasicAuthTransport):
"""Basic AUTH through HTTPS""" | z3c.json | /z3c.json-0.5.5.zip/z3c.json-0.5.5/src/z3c/json/transport.py | transport.py |
__docformat__ = "reStructuredText"
import urllib
import copy
import logging
import socket
import zope.component
from z3c.json import interfaces
from z3c.json.exceptions import ProtocolError
from z3c.json.exceptions import ResponseError
from z3c.json.transport import Transport
from z3c.json.transport import SafeTransport
logger = logging.getLogger(__name__)
JSON_RPC_VERSION = '2.0'
class _Method(object):
def __init__(self, call, name, jsonId, jsonVersion):
self.call = call
self.name = name
self.jsonId = jsonId
self.jsonVersion = jsonVersion
def __call__(self, *args, **kwargs):
request = {}
# add our version
if self.jsonVersion == '1.0':
pass
elif self.jsonVersion == '1.1':
request['version'] = self.jsonVersion
else:
request['jsonrpc'] = self.jsonVersion
request['method'] = self.name
# There is not support for postional and named parameters in one
# call. We propably will add support for this within a extension
# in a later version. Till then, we will raise an exception if
# we will get both paramters.
if len(args) > 0 and len(kwargs) > 0:
raise ValueError(
'Mixing positional and named parameters in one call is not possible')
if self.jsonVersion in ['1.0', '1.1']:
if len(args) > 0:
params = args
elif len(kwargs) > 0:
params = copy.copy(kwargs)
index = 0
for arg in args:
params[str(index)] = arg
index += 1
else:
params = []
else:
if len(args) > 0:
params = args
elif len(kwargs) > 0:
params = kwargs
else:
params = []
# set params and write json
request['params'] = params
# add our json id
request['id'] = self.jsonId
json = zope.component.getUtility(interfaces.IJSONWriter)
data = json.write(request)
try:
return self.call(data)
except socket.error, msg:
raise ResponseError("JSONRPC server connection error.")
def __getattr__(self, name):
return _Method(self.call, "%s.%s" % (self.name, name), self.jsonId,
self.jsonVersion)
class JSONRPCProxy(object):
"""JSON-RPC server proxy."""
def __init__(self, uri, transport=None, encoding=None,
verbose=None, jsonId=None, jsonVersion=JSON_RPC_VERSION):
utype, uri = urllib.splittype(uri)
if utype not in ("http", "https"):
raise IOError, "Unsupported JSONRPC protocol"
self.__host, self.__handler = urllib.splithost(uri)
if not self.__handler:
self.__handler = ""
if transport is None:
if utype == "https":
transport = SafeTransport()
else:
transport = Transport()
self.__transport = transport
self.__encoding = encoding
self.__verbose = verbose
self.jsonId = jsonId or u'jsonrpc'
self.jsonVersion = jsonVersion or JSON_RPC_VERSION
self.error = None
def __request(self, request):
"""call a method on the remote server.
This will raise a ResponseError or return the JSON result dict
"""
# apply encoding if any
if self.__encoding:
request = request.encode(self.__encoding)
# start the call
try:
response = self.__transport.request(self.__host, self.__handler,
request, verbose=self.__verbose)
self.error = None
except ResponseError, e:
# catch error message
self.error = unicode(str(e), 'utf-8')
raise
if isinstance(response, int):
# that's just a status code response with no result
logger.error('Received status code %s' % response)
elif len(response) == 3:
# that's a valid response format
if (self.jsonId is not None and
response.get('id') is not None and
self.jsonId != response.get('id')):
# different request id returned
raise ResponseError("Invalid request id returned")
if response.get('error'):
# error mesage in response
self.error = response['error']
raise ResponseError("Received error from server: %s" %
self.error)
else:
# only return the result if everything is fine
return response['result']
return response
def __getattr__(self, name):
"""This let us call methods on remote server."""
return _Method(self.__request, name, self.jsonId, self.jsonVersion)
def __repr__(self):
return ("<JSONProxy for %s%s>" % (self.__host, self.__handler))
__str__ = __repr__ | z3c.json | /z3c.json-0.5.5.zip/z3c.json-0.5.5/src/z3c/json/proxy.py | proxy.py |
# minjson.py
# reads minimal javascript objects.
# str's objects and fixes the text to write javascript.
#UNICODE USAGE: Minjson tries hard to accommodate naive usage in a
#"Do what I mean" manner. Real applications should handle unicode separately.
# The "right" way to use minjson in an application is to provide minjson a
# python unicode string for reading and accept a unicode output from minjson's
# writing. That way, the assumptions for unicode are yours and not minjson's.
# That said, the minjson code has some (optional) unicode handling that you
# may look at as a model for the unicode handling your application may need.
# Thanks to Patrick Logan for starting the json-py project and making so many
# good test cases.
# Additional thanks to Balazs Ree for replacing the writing module.
# Jim Washington 6 Dec 2006.
# 2006-12-06 Thanks to Koen van de Sande, now handles the case where someone
# might want e.g., a literal "\n" in text not a new-line.
# 2005-12-30 writing now traverses the object tree instead of relying on
# str() or unicode()
# 2005-10-10 on reading, looks for \\uxxxx and replaces with u'\uxxxx'
# 2005-10-09 now tries hard to make all strings unicode when reading.
# 2005-10-07 got rid of eval() completely, makes object as found by the
# tokenizer.
# 2005-09-06 imported parsing constants from tokenize; they changed a bit from
# python2.3 to 2.4
# 2005-08-22 replaced the read sanity code
# 2005-08-21 Search for exploits on eval() yielded more default bad operators.
# 2005-08-18 Added optional code from Koen van de Sande to escape
# outgoing unicode chars above 128
from re import compile, sub, search, DOTALL
from token import ENDMARKER, NAME, NUMBER, STRING, OP, ERRORTOKEN
from tokenize import tokenize, TokenError, NL
#Usually, utf-8 will work, set this to utf-16 if you dare.
emergencyEncoding = 'utf-8'
class ReadException(Exception):
pass
class WriteException(Exception):
pass
#################################
# read JSON object #
#################################
slashstarcomment = compile(r'/\*.*?\*/',DOTALL)
doubleslashcomment = compile(r'//.*\n')
unichrRE = compile(r"\\u[0-9a-fA-F]{4,4}")
def unichrReplace(match):
return unichr(int(match.group()[2:],16))
escapeStrs = (('\n',r'\n'),('\b',r'\b'),
('\f',r'\f'),('\t',r'\t'),('\r',r'\r'), ('"',r'\"')
)
class DictToken:
__slots__=[]
pass
class ListToken:
__slots__=[]
pass
class ColonToken:
__slots__=[]
pass
class CommaToken:
__slots__=[]
pass
class JSONReader(object):
"""raise SyntaxError if it is not JSON, and make the object available"""
def __init__(self, data):
self.stop = False
#make an iterator of data so that next() works in tokenize.
self._data = iter([data])
self.lastOp = None
self.objects = []
self.tokenize()
def tokenize(self):
try:
tokenize(self._data.next,self.readTokens)
except TokenError:
raise SyntaxError
def resolveList(self):
#check for empty list
if isinstance(self.objects[-1],ListToken):
self.objects[-1] = []
return
theList = []
commaCount = 0
try:
item = self.objects.pop()
except IndexError:
raise SyntaxError
while not isinstance(item,ListToken):
if isinstance(item,CommaToken):
commaCount += 1
else:
theList.append(item)
try:
item = self.objects.pop()
except IndexError:
raise SyntaxError
if not commaCount == (len(theList) -1):
raise SyntaxError
theList.reverse()
item = theList
self.objects.append(item)
def resolveDict(self):
theList = []
#check for empty dict
if isinstance(self.objects[-1], DictToken):
self.objects[-1] = {}
return
#not empty; must have at least three values
try:
#value (we're going backwards!)
value = self.objects.pop()
except IndexError:
raise SyntaxError
try:
#colon
colon = self.objects.pop()
if not isinstance(colon, ColonToken):
raise SyntaxError
except IndexError:
raise SyntaxError
try:
#key
key = self.objects.pop()
if not isinstance(key,basestring):
raise SyntaxError
except IndexError:
raise SyntaxError
#salt the while
comma = value
while not isinstance(comma,DictToken):
# store the value
theList.append((key,value))
#do it again...
try:
#might be a comma
comma = self.objects.pop()
except IndexError:
raise SyntaxError
if isinstance(comma,CommaToken):
#if it's a comma, get the values
try:
value = self.objects.pop()
except IndexError:
#print self.objects
raise SyntaxError
try:
colon = self.objects.pop()
if not isinstance(colon, ColonToken):
raise SyntaxError
except IndexError:
raise SyntaxError
try:
key = self.objects.pop()
if not isinstance(key,basestring):
raise SyntaxError
except IndexError:
raise SyntaxError
theDict = {}
for k in theList:
theDict[k[0]] = k[1]
self.objects.append(theDict)
def readTokens(self,type, token, (srow, scol), (erow, ecol), line):
# UPPERCASE consts from tokens.py or tokenize.py
if type == OP:
if token not in "[{}],:-":
raise SyntaxError
else:
self.lastOp = token
if token == '[':
self.objects.append(ListToken())
elif token == '{':
self.objects.append(DictToken())
elif token == ']':
self.resolveList()
elif token == '}':
self.resolveDict()
elif token == ':':
self.objects.append(ColonToken())
elif token == ',':
self.objects.append(CommaToken())
elif type == STRING:
tok = token[1:-1]
parts = tok.split("\\\\")
for k in escapeStrs:
if k[1] in tok:
parts = [part.replace(k[1],k[0]) for part in parts]
self.objects.append("\\".join(parts))
elif type == NUMBER:
if self.lastOp == '-':
factor = -1
else:
factor = 1
try:
self.objects.append(factor * int(token))
except ValueError:
self.objects.append(factor * float(token))
elif type == NAME:
try:
self.objects.append({'true':True,
'false':False,'null':None}[token])
except KeyError:
raise SyntaxError
elif type == ENDMARKER:
pass
elif type == NL:
pass
elif type == ERRORTOKEN:
if ecol == len(line):
#it's a char at the end of the line. (mostly) harmless.
pass
else:
raise SyntaxError
else:
raise SyntaxError
def output(self):
try:
assert len(self.objects) == 1
except AssertionError:
raise SyntaxError
return self.objects[0]
def safeRead(aString, encoding=None):
"""read the js, first sanitizing a bit and removing any c-style comments
If the input is a unicode string, great. That's preferred. If the input
is a byte string, strings in the object will be produced as unicode anyway.
"""
# get rid of trailing null. Konqueror appends this.
CHR0 = chr(0)
while aString.endswith(CHR0):
aString = aString[:-1]
# strip leading and trailing whitespace
aString = aString.strip()
# zap /* ... */ comments
aString = slashstarcomment.sub('',aString)
# zap // comments
aString = doubleslashcomment.sub('',aString)
# detect and handle \\u unicode characters. Note: This has the side effect
# of converting the entire string to unicode. This is probably OK.
unicodechars = unichrRE.search(aString)
if unicodechars:
aString = unichrRE.sub(unichrReplace, aString)
#if it's already unicode, we won't try to decode it
if isinstance(aString, unicode):
s = aString
else:
if encoding:
# note: no "try" here. the encoding provided must work for the
# incoming byte string. UnicodeDecode error will be raised
# in that case. Often, it will be best not to provide the encoding
# and allow the default
s = unicode(aString, encoding)
#print "decoded %s from %s" % (s,encoding)
else:
# let's try to decode to unicode in system default encoding
try:
s = unicode(aString)
#import sys
#print "decoded %s from %s" % (s,sys.getdefaultencoding())
except UnicodeDecodeError:
# last choice: handle as emergencyEncoding
enc = emergencyEncoding
s = unicode(aString, enc)
#print "%s decoded from %s" % (s, enc)
# parse and get the object.
try:
data = JSONReader(s).output()
except SyntaxError:
raise ReadException, 'Unacceptable JSON expression: %s' % aString
return data
read = safeRead
#################################
# write object as JSON #
#################################
import re, codecs
from cStringIO import StringIO
### Codec error handler
def jsonreplace_handler(exc):
'''Error handler for json
If encoding fails, \\uxxxx must be emitted. This
is similar to the "backshashreplace" handler, only
that we never emit \\xnn since this is not legal
according to the JSON syntax specs.
'''
if isinstance(exc, UnicodeEncodeError):
part = exc.object[exc.start]
# repr(part) will convert u'\unnnn' to u'u\\nnnn'
return u'\\u%04x' % ord(part), exc.start+1
else:
raise exc
# register the error handler
codecs.register_error('jsonreplace', jsonreplace_handler)
### Writer
def write(input, encoding='utf-8', outputEncoding=None):
writer = JsonWriter(input_encoding=encoding, output_encoding=outputEncoding)
writer.write(input)
return writer.getvalue()
re_strmangle = re.compile('"|\b|\f|\n|\r|\t|\\\\')
def func_strmangle(match):
return {
'"': '\\"',
'\b': '\\b',
'\f': '\\f',
'\n': '\\n',
'\r': '\\r',
'\t': '\\t',
'\\': '\\\\',
}[match.group(0)]
def strmangle(text):
return re_strmangle.sub(func_strmangle, text)
class JsonStream(object):
def __init__(self):
self.buf = []
def write(self, text):
self.buf.append(text)
def getvalue(self):
return ''.join(self.buf)
class JsonWriter(object):
def __init__(self, stream=None, input_encoding='utf-8', output_encoding=None):
'''
- stream is optional, if specified must also give output_encoding
- The input strings can be unicode or in input_encoding
- output_encoding is optional, if omitted, result will be unicode
'''
if stream is not None:
if output_encoding is None:
raise WriteException, 'If a stream is given, output encoding must also be provided'
else:
stream = JsonStream()
self.stream = stream
self.input_encoding = input_encoding
self.output_encoding = output_encoding
def write(self, obj):
if isinstance(obj, (list, tuple)):
self.stream.write('[')
first = True
for elem in obj:
if first:
first = False
else:
self.stream.write(',')
self.write(elem)
self.stream.write(']'),
elif isinstance(obj, dict):
self.stream.write('{')
first = True
for key, value in obj.iteritems():
if first:
first = False
else:
self.stream.write(',')
self.write(key)
self.stream.write(':')
self.write(value)
self.stream.write('}')
elif obj is True:
self.stream.write('true')
elif obj is False:
self.stream.write('false')
elif obj is None:
self.stream.write('null')
elif not isinstance(obj, basestring):
# if we are not baseobj, convert to it
try:
obj = str(obj)
except Exception, exc:
raise WriteException, 'Cannot write object (%s: %s)' % (exc.__class__, exc)
self.stream.write(obj)
else:
# convert to unicode first
if not isinstance(obj, unicode):
try:
obj = unicode(obj, self.input_encoding)
except (UnicodeDecodeError, UnicodeTranslateError):
obj = unicode(obj, 'utf-8', 'replace')
# do the mangling
obj = strmangle(obj)
# make the encoding
if self.output_encoding is not None:
obj = obj.encode(self.output_encoding, 'jsonreplace')
self.stream.write('"')
self.stream.write(obj)
self.stream.write('"')
def getvalue(self):
return self.stream.getvalue() | z3c.json | /z3c.json-0.5.5.zip/z3c.json-0.5.5/src/z3c/json/minjson.py | minjson.py |
import os, shutil, sys, tempfile, urllib, urllib2, subprocess
from optparse import OptionParser
if sys.platform == 'win32':
def quote(c):
if ' ' in c:
return '"%s"' % c # work around spawn lamosity on windows
else:
return c
else:
quote = str
# See zc.buildout.easy_install._has_broken_dash_S for motivation and comments.
stdout, stderr = subprocess.Popen(
[sys.executable, '-Sc',
'try:\n'
' import ConfigParser\n'
'except ImportError:\n'
' print 1\n'
'else:\n'
' print 0\n'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
has_broken_dash_S = bool(int(stdout.strip()))
# In order to be more robust in the face of system Pythons, we want to
# run without site-packages loaded. This is somewhat tricky, in
# particular because Python 2.6's distutils imports site, so starting
# with the -S flag is not sufficient. However, we'll start with that:
if not has_broken_dash_S and 'site' in sys.modules:
# We will restart with python -S.
args = sys.argv[:]
args[0:0] = [sys.executable, '-S']
args = map(quote, args)
os.execv(sys.executable, args)
# Now we are running with -S. We'll get the clean sys.path, import site
# because distutils will do it later, and then reset the path and clean
# out any namespace packages from site-packages that might have been
# loaded by .pth files.
clean_path = sys.path[:]
import site # imported because of its side effects
sys.path[:] = clean_path
for k, v in sys.modules.items():
if k in ('setuptools', 'pkg_resources') or (
hasattr(v, '__path__') and
len(v.__path__) == 1 and
not os.path.exists(os.path.join(v.__path__[0], '__init__.py'))):
# This is a namespace package. Remove it.
sys.modules.pop(k)
is_jython = sys.platform.startswith('java')
setuptools_source = 'http://peak.telecommunity.com/dist/ez_setup.py'
distribute_source = 'http://python-distribute.org/distribute_setup.py'
# parsing arguments
def normalize_to_url(option, opt_str, value, parser):
if value:
if '://' not in value: # It doesn't smell like a URL.
value = 'file://%s' % (
urllib.pathname2url(
os.path.abspath(os.path.expanduser(value))),)
if opt_str == '--download-base' and not value.endswith('/'):
# Download base needs a trailing slash to make the world happy.
value += '/'
else:
value = None
name = opt_str[2:].replace('-', '_')
setattr(parser.values, name, value)
usage = '''\
[DESIRED PYTHON FOR BUILDOUT] bootstrap.py [options]
Bootstraps a buildout-based project.
Simply run this script in a directory containing a buildout.cfg, using the
Python that you want bin/buildout to use.
Note that by using --setup-source and --download-base to point to
local resources, you can keep this script from going over the network.
'''
parser = OptionParser(usage=usage)
parser.add_option("-v", "--version", dest="version",
help="use a specific zc.buildout version")
parser.add_option("-d", "--distribute",
action="store_true", dest="use_distribute", default=False,
help="Use Distribute rather than Setuptools.")
parser.add_option("--setup-source", action="callback", dest="setup_source",
callback=normalize_to_url, nargs=1, type="string",
help=("Specify a URL or file location for the setup file. "
"If you use Setuptools, this will default to " +
setuptools_source + "; if you use Distribute, this "
"will default to " + distribute_source + "."))
parser.add_option("--download-base", action="callback", dest="download_base",
callback=normalize_to_url, nargs=1, type="string",
help=("Specify a URL or directory for downloading "
"zc.buildout and either Setuptools or Distribute. "
"Defaults to PyPI."))
parser.add_option("--eggs",
help=("Specify a directory for storing eggs. Defaults to "
"a temporary directory that is deleted when the "
"bootstrap script completes."))
parser.add_option("-t", "--accept-buildout-test-releases",
dest='accept_buildout_test_releases',
action="store_true", default=False,
help=("Normally, if you do not specify a --version, the "
"bootstrap script and buildout gets the newest "
"*final* versions of zc.buildout and its recipes and "
"extensions for you. If you use this flag, "
"bootstrap and buildout will get the newest releases "
"even if they are alphas or betas."))
parser.add_option("-c", None, action="store", dest="config_file",
help=("Specify the path to the buildout configuration "
"file to be used."))
options, args = parser.parse_args()
if options.eggs:
eggs_dir = os.path.abspath(os.path.expanduser(options.eggs))
else:
eggs_dir = tempfile.mkdtemp()
if options.setup_source is None:
if options.use_distribute:
options.setup_source = distribute_source
else:
options.setup_source = setuptools_source
if options.accept_buildout_test_releases:
args.insert(0, 'buildout:accept-buildout-test-releases=true')
try:
import pkg_resources
import setuptools # A flag. Sometimes pkg_resources is installed alone.
if not hasattr(pkg_resources, '_distribute'):
raise ImportError
except ImportError:
ez_code = urllib2.urlopen(
options.setup_source).read().replace('\r\n', '\n')
ez = {}
exec ez_code in ez
setup_args = dict(to_dir=eggs_dir, download_delay=0)
if options.download_base:
setup_args['download_base'] = options.download_base
if options.use_distribute:
setup_args['no_fake'] = True
if sys.version_info[:2] == (2, 4):
setup_args['version'] = '0.6.32'
ez['use_setuptools'](**setup_args)
if 'pkg_resources' in sys.modules:
reload(sys.modules['pkg_resources'])
import pkg_resources
# This does not (always?) update the default working set. We will
# do it.
for path in sys.path:
if path not in pkg_resources.working_set.entries:
pkg_resources.working_set.add_entry(path)
cmd = [quote(sys.executable),
'-c',
quote('from setuptools.command.easy_install import main; main()'),
'-mqNxd',
quote(eggs_dir)]
if not has_broken_dash_S:
cmd.insert(1, '-S')
find_links = options.download_base
if not find_links:
find_links = os.environ.get('bootstrap-testing-find-links')
if not find_links and options.accept_buildout_test_releases:
find_links = 'http://downloads.buildout.org/'
if find_links:
cmd.extend(['-f', quote(find_links)])
if options.use_distribute:
setup_requirement = 'distribute'
else:
setup_requirement = 'setuptools'
ws = pkg_resources.working_set
setup_requirement_path = ws.find(
pkg_resources.Requirement.parse(setup_requirement)).location
env = dict(
os.environ,
PYTHONPATH=setup_requirement_path)
requirement = 'zc.buildout'
version = options.version
if version is None and not options.accept_buildout_test_releases:
# Figure out the most recent final version of zc.buildout.
import setuptools.package_index
_final_parts = '*final-', '*final'
def _final_version(parsed_version):
for part in parsed_version:
if (part[:1] == '*') and (part not in _final_parts):
return False
return True
index = setuptools.package_index.PackageIndex(
search_path=[setup_requirement_path])
if find_links:
index.add_find_links((find_links,))
req = pkg_resources.Requirement.parse(requirement)
if index.obtain(req) is not None:
best = []
bestv = None
for dist in index[req.project_name]:
distv = dist.parsed_version
if distv >= pkg_resources.parse_version('2dev'):
continue
if _final_version(distv):
if bestv is None or distv > bestv:
best = [dist]
bestv = distv
elif distv == bestv:
best.append(dist)
if best:
best.sort()
version = best[-1].version
if version:
requirement += '=='+version
else:
requirement += '<2dev'
cmd.append(requirement)
if is_jython:
import subprocess
exitcode = subprocess.Popen(cmd, env=env).wait()
else: # Windows prefers this, apparently; otherwise we would prefer subprocess
exitcode = os.spawnle(*([os.P_WAIT, sys.executable] + cmd + [env]))
if exitcode != 0:
sys.stdout.flush()
sys.stderr.flush()
print ("An error occurred when trying to install zc.buildout. "
"Look above this message for any errors that "
"were output by easy_install.")
sys.exit(exitcode)
ws.add_entry(eggs_dir)
ws.require(requirement)
import zc.buildout.buildout
# If there isn't already a command in the args, add bootstrap
if not [a for a in args if '=' not in a]:
args.append('bootstrap')
# if -c was provided, we push it back into args for buildout's main function
if options.config_file is not None:
args[0:0] = ['-c', options.config_file]
zc.buildout.buildout.main(args)
if not options.eggs: # clean up temporary egg directory
shutil.rmtree(eggs_dir) | z3c.jsonrpc | /z3c.jsonrpc-0.7.2.zip/z3c.jsonrpc-0.7.2/bootstrap.py | bootstrap.py |
__docformat__ = "reStructuredText"
import zope.interface
import zope.component
import zope.configuration.fields
import zope.interface
import zope.schema
import zope.security.zcml
from zope.publisher.interfaces import IDefaultSkin
from zope.interface import Interface
from zope.security.checker import CheckerPublic, Checker
from zope.configuration.exceptions import ConfigurationError
from zope.component.interface import provideInterface
from zope.component.zcml import handler
from z3c.jsonrpc import interfaces
from z3c.jsonrpc.publisher import MethodPublisher
class IJSONRPCDirective(zope.interface.Interface):
"""Directive for JSONRPC methods."""
for_ = zope.configuration.fields.GlobalObject(
title=u"Published Object Type",
description=u"""The types of objects to be published via JSONRPC
This can be expressed with either a class or an interface
""",
required=True,
)
interface = zope.configuration.fields.Tokens(
title=u"Interface to be published.",
required=False,
value_type=zope.configuration.fields.GlobalInterface()
)
methods = zope.configuration.fields.Tokens(
title=u"Methods (or attributes) to be published",
required=False,
value_type=zope.configuration.fields.PythonIdentifier()
)
class_ = zope.configuration.fields.GlobalObject(
title=u"Class",
description=u"A class that provides attributes used by the view.",
required=False
)
permission = zope.security.zcml.Permission(
title=u"Permission",
description=u"""The permission needed to use the view.
If this option is used and a name is given for the view, then
the names defined by the given methods or interfaces will be
under the given permission.
If a name is not given for the view, then, this option is required and
the given permission is required to call the individual views defined
by the given interface and methods.
(See the name attribute.)
If no permission is given, then permissions should be declared
for the view using other means, such as the class directive.
""",
required=False)
name = zope.schema.TextLine(
title=u"The name of the view.",
description=u"""
If a name is given, then rpc methods are accessed by
traversing the name and then accessing the methods. In this
case, the class should implement
zope.pubisher.interfaces.IPublishTraverse.
If no name is provided, then the names given by the attributes
and interfaces are published directly as callable views.
""",
required=False,
)
layer = zope.configuration.fields.GlobalInterface(
title=u"The layer the view is declared for",
description=u"The default layer for which the default view is "
u"applicable. By default it is applied to all layers.",
default=interfaces.IJSONRPCRequest,
required=False
)
def jsonrpc(_context, for_=None, interface=None, methods=None, class_=None,
permission=None, name=None, layer=None):
interface = interface or []
methods = methods or []
if layer is not None:
if not layer.extends(interfaces.IJSONRPCRequest):
raise ConfigurationError(
"The layer interface must extend `IJSONRPCRequest`.")
else:
layer = interfaces.IJSONRPCRequest
# If there were special permission settings provided, then use them
if permission == 'zope.Public':
permission = CheckerPublic
require = {}
for attr_name in methods:
require[attr_name] = permission
if interface:
for iface in interface:
for field_name in iface:
require[field_name] = permission
_context.action(
discriminator = None,
callable = provideInterface,
args = ('', for_)
)
# Make sure that the class inherits MethodPublisher, so that the views
# have a location
if class_ is None:
class_ = original_class = MethodPublisher
else:
original_class = class_
class_ = type(class_.__name__, (class_, MethodPublisher), {})
if name:
# Register a single jsonrpc view
if permission:
checker = Checker(require)
def proxyView(context, request, class_=class_, checker=checker):
view = class_(context, request)
# We need this in case the resource gets unwrapped and
# needs to be rewrapped
view.__Security_checker__ = checker
return view
class_ = proxyView
class_.factory = original_class
else:
# No permission was defined, so we defer to the checker
# of the original class
def proxyView(context, request, class_=class_):
view = class_(context, request)
view.__Security_checker__ = getCheckerForInstancesOf(
original_class)
return view
class_ = proxyView
class_.factory = original_class
# Register the new view.
_context.action(
discriminator = ('jsonrpc', for_, name, layer),
callable = handler,
args = ('registerAdapter',
class_, (for_, layer), Interface, name,
_context.info)
)
else:
if permission:
checker = Checker({'__call__': permission})
else:
raise ConfigurationError(
"JSONRPC view has neither a name nor a permission. "
"You have to specify at least one of the two.")
for name in require:
# create a new callable class with a security checker;
cdict = {'__Security_checker__': checker,
'__call__': getattr(class_, name)}
new_class = type(class_.__name__, (class_,), cdict)
_context.action(
discriminator = ('jsonrpc', for_, name, layer),
callable = handler,
args = ('registerAdapter',
new_class, (for_, layer), Interface, name,
_context.info)
)
# Register the used interfaces with the site manager
if for_ is not None:
_context.action(
discriminator = None,
callable = provideInterface,
args = ('', for_)
)
class IDefaultJSONRPCSkinDirective(zope.interface.Interface):
"""Sets the default JSON-RPC skin."""
name = zope.schema.TextLine(
title=u"Default skin name",
description=u"Default skin name",
required=True
)
def setDefaultJSONRPCSkin(name, info=''):
"""Set the default skin."""
skin = zope.component.getUtility(interfaces.IJSONRPCSkinType, name=name)
handler('registerAdapter', skin, (interfaces.IJSONRPCRequest,),
IDefaultSkin, '', info),
def defaultJSONRPCSkin(_context, name):
_context.action(
discriminator = 'setDefaultJSONRPCSkin',
callable = setDefaultJSONRPCSkin,
args = (name, _context.info)
) | z3c.jsonrpc | /z3c.jsonrpc-0.7.2.zip/z3c.jsonrpc-0.7.2/src/z3c/jsonrpc/zcml.py | zcml.py |
__docformat__ = "reStructuredText"
import zope.schema
import zope.interface
from zope.publisher.interfaces import IPublication
from zope.publisher.interfaces import IPublishTraverse
from zope.publisher.interfaces import ISkinnable
from zope.publisher.interfaces import ISkinType
from zope.publisher.interfaces.http import IHTTPApplicationRequest
from zope.publisher.interfaces.http import IHTTPCredentials
from zope.publisher.interfaces.http import IHTTPRequest
from zope.app.publication.interfaces import IRequestFactory
JSON_CHARSETS = ('utf-8','utf-16', 'utf-32')
class IMethodPublisher(zope.interface.Interface):
"""Marker interface for an object that wants to publish methods."""
class IJSONRPCRequestFactory(IRequestFactory):
"""Browser request factory"""
class IJSONRPCPublisher(IPublishTraverse):
"""JSON-RPC Publisher
like zope.publisher.interfaces.xmlrpc.IXMLRPCPublisher
"""
class IJSONRPCPublication(IPublication):
"""Publication for JOSN-RPC-based protocol."""
class IJSONRPCSkinType(ISkinType):
"""A skin is a set of layers."""
class IJSONRPCApplicationRequest(IHTTPApplicationRequest):
"""HTTP application request."""
class IJSONRPCRequest(IJSONRPCApplicationRequest, IHTTPCredentials,
IHTTPRequest, ISkinnable):
"""JSON-RPC request."""
jsonID = zope.interface.Attribute("""JSON-RPC ID for the request""")
class IJSONRPCException(zope.interface.Interface):
"""JSON-RPC error"""
class IJSONRPCErrorView(zope.interface.Interface):
"""Error view base class used by ZopePublications error handling.
"""
code = zope.schema.Int(
title=u'Error code',
description=u'JSON-RPC error code',
default=-32603,
required=True)
message = zope.schema.Text(
title=u'Error message',
description=u'JSON-RPC error message',
default=u'Internal error',
required=True)
data = zope.schema.Text(
title=u'Error data',
description=u'JSON-RPC error data',
default=u'',
required=True)
def __init__(self):
"""Adapts an error and a request."""
def __call__(self):
"""Must return itself by calling.""" | z3c.jsonrpc | /z3c.jsonrpc-0.7.2.zip/z3c.jsonrpc-0.7.2/src/z3c/jsonrpc/interfaces.py | interfaces.py |
__docformat__ = "reStructuredText"
import re
import sys
import logging
import zope.interface
import zope.component
from zope.exceptions.exceptionformatter import format_exception
from zope.location.location import Location
from zope.i18n.interfaces import IUserPreferredCharsets
from zope.publisher.http import HTTPRequest
from zope.publisher.http import HTTPResponse
from zope.publisher.http import getCharsetUsingRequest
from zope.publisher.http import DirectResult
from zope.security.proxy import isinstance
from z3c.json.interfaces import IJSONReader
from z3c.json.interfaces import IJSONWriter
from z3c.json.converter import premarshal
from z3c.jsonrpc import interfaces
from z3c.jsonrpc import exception
JSON_RPC_VERSION = '2.0'
DEBUG = logging.DEBUG
logger = logging.getLogger()
def intsort(item):
return int(item[0])
class MethodPublisher(Location):
"""Base class for JSON-RPC views that publish methods
like zope.app.publisher.xmlrpc.MethodPublisher
"""
zope.interface.implements(interfaces.IMethodPublisher)
def __init__(self, context, request):
self.context = context
self.request = request
def __getParent(self):
return hasattr(self, '_parent') and self._parent or self.context
def __setParent(self, parent):
self._parent = parent
__parent__ = property(__getParent, __setParent)
class MethodTraverser(object):
zope.interface.implements(interfaces.IJSONRPCPublisher)
__used_for__ = interfaces.IMethodPublisher
def __init__(self, context, request):
self.context = context
def publishTraverse(self, request, name):
return getattr(self.context, name)
class JSONRPCRequest(HTTPRequest):
"""JSON-RPC request implementation based on IHTTPRequest.
This implementation supports the following JSON-RPC Specification versions:
- 1.0
- 1.1
- 2.0
Version 1.0 and 1.1 offers params as a list. This params get converted to
positional arguments if calling the JSON-RPC function.
The version 2.0 offers support for named key/value params. The important
thing to know is that this implementation will convert named params kwargs
to form paramters. This means the method doesn't get any key word argument.
The reason why I was choosing is the existing publisher implementation and
it's debugger integration. If someone likes to integrate **kwargs support,
take a look at the publisher.publish method and it's mapply function which
get wrapped by the Debugger class. I hope that's fine for now and I
recommend to avoid kwargs for JSON-RPC methods ;-)
The z3c.jsonrpcclient JavaScript method JSONRPCProxy converts a
typeof object as arguments[0] to named key/value pair arguments.
"""
_jsonId = 'jsonrpc'
jsonVersion = JSON_RPC_VERSION
jsonId = None
zope.interface.implements(interfaces.IJSONRPCRequest,
interfaces.IJSONRPCApplicationRequest)
def __init__(self, body_instream, environ, response=None):
self.form = {}
self._args = ()
self.charsets = None
super(JSONRPCRequest, self).__init__(body_instream, environ, response)
def _createResponse(self):
"""return a response"""
return JSONRPCResponse()
def _decode(self, text):
"""Try to decode the text using one of the available charsets."""
if self.charsets is None:
envadapter = IUserPreferredCharsets(self)
self.charsets = envadapter.getPreferredCharsets() or ['utf-8']
for charset in self.charsets:
try:
text = unicode(text, charset)
break
except UnicodeError:
pass
return text
_typeFormat = re.compile('([a-zA-Z][a-zA-Z0-9_]+|\\.[xy])$')
def processInputs(self):
"""take the converted request and make useful args of it."""
json = zope.component.getUtility(IJSONReader)
stream = self._body_instream
input = []
incoming = stream.read(1000)
while incoming:
input.append(incoming)
incoming = stream.read(1000)
input = ''.join(input)
# ensure unicode
if not isinstance(input, unicode):
input = self._decode(input)
try:
data = json.read(input)
except:
# catch any error since we don't know which library is used as
# parser
raise exception.ParseError
# get the params
params = data.get('params', [])
if self.jsonId is None:
self.jsonId = data.get('id', self._jsonId)
# get the json version. The version 1.0 offers no version argument.
# The version 1.1 offers a version key and since version 2.0 the
# version is given with the ``jsonrpc`` key. Let's try to find the
# version for our request.
self.jsonVersion = data.get('version', self.jsonVersion)
self.jsonVersion = data.get('jsonrpc', self.jsonVersion)
if self.jsonVersion in ['1.0', '1.1', '2.0']:
# json-rpc 1.0 and 1.1
if isinstance(params, list):
args = params
# version 1.0 and 1.1 uses a list of arguments
for arg in args:
if isinstance(arg, dict):
# set every dict key value as form items and support at
# least ``:list`` and ``:tuple`` input field name postifx
# conversion.
for key, d in arg.items():
key = str(key)
pos = key.rfind(":")
if pos > 0:
match = self._typeFormat.match(key, pos + 1)
if match is not None:
key, type_name = key[:pos], key[pos + 1:]
if type_name == 'list' and not isinstance(d, list):
d = [d]
if type_name == 'tuple' and not isinstance(d, tuple):
d = tuple(d)
self.form[key] = d
elif isinstance(params, dict):
# process the key/value pair params. This arguments get stored
# in the request.form argument and we skip it from method calls.
# This means this library will not support key word arguments
# for method calls. It will instead store them in the form.
# This has two reasons.
# 1. Zope doesn't support kwargs in the publication
# implementation. It only supports positional arguments
# 2. The JSON-RPC specification doesn't allow to use positional
# and keyword arguments on one method call
# 3. Python doesn't allow to convert kwargs to positional
# arguments because a dict doesn't provide an order
# This means you should avoid to call a method with kwargs.
# just use positional arguments if possible. Or get them from
# directly from the request or request.form argument in your
# code. Let me know if this is a real problem for you and you
# like to implement a different kwarg handling. We have some
# ideas for add support for this.
args = params
# set every dict key value as form items and support at
# least ``:list`` and ``:tuple`` input field name postifx
# conversion.
for key, d in args.items():
key = str(key)
pos = key.rfind(":")
if pos > 0:
match = self._typeFormat.match(key, pos + 1)
if match is not None:
key, type_name = key[:pos], key[pos + 1:]
if type_name == 'list' and not isinstance(d, list):
d = [d]
if type_name == 'tuple' and not isinstance(d, tuple):
d = tuple(d)
self.form[key] = d
args = []
elif params is None:
args = []
else:
raise TypeError(
'Unsupported JSON-RPC version (%s)' % self.jsonVersion)
self._args = tuple(args)
# make environment, cookies, etc., available to request.get()
super(JSONRPCRequest, self).processInputs()
self._environ['JSONRPC_MODE'] = True
# split here on '.' for get path suffix steps
functionstr = data['method']
function = functionstr.split('.')
if function:
# translate '.' to '/' in function to represent object traversal.
self.setPathSuffix(function)
def traverse(self, object):
return super(JSONRPCRequest, self).traverse(object)
def keys(self):
"""See Interface.Common.Mapping.IEnumerableMapping."""
d = {}
d.update(self._environ)
d.update(self._cookies)
d.update(self.form)
return d.keys()
def get(self, key, default=None):
"""See Interface.Common.Mapping.IReadMapping."""
marker = object()
result = self.form.get(key, marker)
if result is not marker:
return result
return super(JSONRPCRequest, self).get(key, default)
def __getitem__(self, key):
return self.get(key)
class JSONRPCResponse(HTTPResponse):
"""JSON-RPC Response"""
def setResult(self, result):
"""The result dict contains the following key value pairs
The version 1.0 and 1.1 provides a response dict with the following
arguments:
id -- json request id
result -- result or null on error
error -- error or null if result is Ok
The version 2.0 provides a response dict with the following named
paramters:
jsonrpc -- jsonrpc version 2.0 or higher in future versions
id -- json request id
result -- result if no error is raised
error -- error if any given
"""
jsonId = self._request.jsonId
jsonVersion = self._request.jsonVersion
if interfaces.IJSONRPCErrorView.providedBy(result):
if self._request.jsonVersion == "1.0":
wrapper = {'result': None,
'error': result.message,
'id': self._request.jsonId}
elif self._request.jsonVersion == "1.1":
wrapper = {'version': self._request.jsonVersion,
'error': result.message,
'id': self._request.jsonId}
else:
wrapper = {'jsonrpc': self._request.jsonVersion,
'error': {'code': result.code,
'message': result.message,
'data': result.data},
'id': self._request.jsonId}
try:
json = zope.component.getUtility(IJSONWriter)
result = json.write(wrapper)
body = self._prepareResult(result)
super(JSONRPCResponse, self).setResult(DirectResult((body,)))
logger.log(DEBUG, "Exception: %s" % result)
# error response is not really an error, it's valid response
self.setStatus(200)
except:
# Catch all exceptions at this point
self.handleException(sys.exc_info())
return
else:
result = premarshal(result)
if jsonVersion == "1.0":
wrapper = {'result': result, 'error': None, 'id': jsonId}
elif jsonVersion == "1.1":
wrapper = {
'version': jsonVersion, 'result': result, 'id': jsonId}
else:
wrapper = {
'jsonrpc': jsonVersion, 'result': result, 'id': jsonId}
json = zope.component.getUtility(IJSONWriter)
encoding = getCharsetUsingRequest(self._request)
result = json.write(wrapper)
body = self._prepareResult(result)
super(JSONRPCResponse, self).setResult(DirectResult((body,)))
logger.log(DEBUG, "%s" % result)
def _prepareResult(self, result):
# we've asked json to return unicode; result should be unicode
encoding = getCharsetUsingRequest(self._request) or 'utf-8'
enc = encoding.lower()
if not enc in interfaces.JSON_CHARSETS:
encoding = 'utf-8'
# encode outgoing boundary.
if isinstance(result, unicode):
body = result.encode(encoding)
charset = encoding
else:
# something's wrong. JSON did not return unicode.
raise TypeError("JSON did not return unicode (%s)" % type(result))
# set content type
self.setHeader('content-type', "application/x-javascript;charset=%s"
% charset)
return body
def handleException(self, exc_info):
# only legacy Exception where we didn't define a view for get handled
# by this method. All exceptions where we have a view registered for
# get handled by the setResult method based on the given
# IJSONRPCErrorView
logger.log(logging.ERROR, "".join(format_exception(
exc_info[0], exc_info[1], exc_info[2], with_filenames=True)))
t, value = exc_info[:2]
s = '%s: %s' % (getattr(t, '__name__', t), value)
if self._request.jsonVersion == "1.0":
wrapper = {'result': None,
'error': s,
'id': self._request.jsonId}
elif self._request.jsonVersion == "1.1":
wrapper = {'version': self._request.jsonVersion,
'error': s,
'id': self._request.jsonId}
else:
# this only happens if error handling was running into en error or
# if we didn't define an IJSONRPCErrorView for a given error
wrapper = {'jsonrpc': self._request.jsonVersion,
'error': {'code': -32603,
'message': 'Internal error',
'data': s},
'id': self._request.jsonId}
json = zope.component.getUtility(IJSONWriter)
result = json.write(wrapper)
body = self._prepareResult(result)
super(JSONRPCResponse, self).setResult(DirectResult((body,)))
logger.log(DEBUG, "Exception: %s" % result)
self.setStatus(200) | z3c.jsonrpc | /z3c.jsonrpc-0.7.2.zip/z3c.jsonrpc-0.7.2/src/z3c/jsonrpc/publisher.py | publisher.py |
=======
JSONRPC
=======
JSON is javascript object notation. JSON-RPC performs the same service
as XML-RPC, except the transport is JSON instead of XML.
Many thanks to Jim Washington for the work on zif.jsonserver. This project uses
many code writen by Jim. I implemented an additional python JSONRPC proxy which
can communicate with the server. This means we can use this library to call
JSON from python to python. The JSON-RPC proxy uses similar patterns like the
XML-RPC implementation.
There is also an additional xmlhttp and json javascript implementation which
offers a JSON-RPC proxy implementation for JavaScript.
This project provides the proposed request type "application/json". The request
type "application/json-rpc" is supported as long it is not officialy deprecated.
The goal of this project is to provide a JSON-RPC implementation. Simple
Browser views which handle JSON calls with a BrowserRequest are not supported
by this package. I'm still not sure if this is good or bad and in which
direction I will go with this package.
Some of my goals are right now, but can change in the future if I'll understand
all the concepts around JSON, e.g. JSPON, JSONP, CrossSite etc:
- provide a secure way to handle JSON calls from client to server.
I hope we can implement JSONRequest some days. CrossSite seems to use a
intereting concept
- Simple pythonic implementation
- Use together with JQuery (see http://www.jquery.org).
- No other dependency then JQuery and basic zope packages.
- well tested (this is not the case for JavaScript right now)
About JSON
----------
See www.json.org for more information about JSON.
See http://json-rpc.org/wd/JSON-RPC-1-1-WD-20060807.html for more information
about the JSON 1.1 specification.
What this package can't do
--------------------------
JSON and this package have different limitations. This package can right now
not handle the following tasks:
- Handle fileupload
- Handle GET request
Note that the JSONRPCRequest implementation is based on the IHTTPRequest, this
means that there is no other browser page available if you call them in
python, e.g. getMultiAdapter((context, request), name='myViewName'). This is
explicitly done this way. If you'd like to use content form such browser pages
in a JSON request/call, you can inherit your skin form IJSONRPCLayer and
IBrowserRequest and register your JSON-RPC views for this custom layer.
JSON-RPC server
---------------
The JSON server looks for content-type "application/json", and handles those
requests as JSON-RPC. The official mime-type for JSON is "application/json"
The old content type ``application/json-rpc`` is supported too.
Let's define a content object:
>>> import zope.interface
>>> class IDemoContent(zope.interface.Interface):
... """Demo content interface."""
>>> import persistent
>>> class DemoContent(persistent.Persistent):
... """Demo content."""
... zope.interface.implements(IDemoContent)
And define a JSONRPC method view:
>>> from z3c.jsonrpc import publisher
>>> class DemoView(publisher.MethodPublisher):
... """Sample JSON view."""
...
... def hello(self):
... return u"Hello World"
...
... def greeting(self, name):
... return u"Hello %s" % name
...
... def mixedparams(self, prefix, bar=None, foo=None):
... # Note; keyword arguments can be found in request.form
... return u"%s %s %s" % (prefix, bar, foo)
...
... def kws(self, adam=None, foo=None, bar=None):
... # Note; keyword arguments can be found in request.form
... a = self.request.get('adam')
... b = self.request.form.get('foo')
... c = self.request.form.get('bar')
... return u"%s %s %s" % (a, b, c)
...
... def showId(self):
... return u"The json id is: %s" % self.request.jsonId
...
... def forceValueError(self):
... raise ValueError('Something was wrong in server method.')
Let's define a content object that is a container:
>>> import zope.interface
>>> class IDemoContainer(zope.container.interfaces.IReadContainer):
... """Demo container interface."""
>>> import persistent
>>> from zope.container import btree
>>> class DemoContainer(btree.BTreeContainer):
... """Demo container."""
... zope.interface.implements(IDemoContainer)
And define a JSONRPC method view:
>>> from z3c.jsonrpc import publisher
>>> class DemoContainerView(publisher.MethodPublisher):
... """Sample JSON view."""
...
... def available(self):
... return u"Hello World"
...
... def greeting(self, name):
... return u"Hello %s" % name
...
... def mixedparams(self, prefix, foo=None, bar=None):
... # Note; keyword arguments can be found in request.form
... return u"%s %s %s" % (prefix, foo, bar)
...
... def kws(self, adam=None, foo=None, bar=None):
... # Note; keyword arguments can be found in request.form
... a = self.request.get('adam')
... b = self.request.form.get('foo')
... c = self.request.form.get('bar')
... return u"%s %s %s" % (a, b, c)
...
... def showId(self):
... return u"The json id is: %s" % self.request.jsonId
...
... def forceValueError(self):
... raise ValueError('Something was wrong in server method.')
Make them available under the fake package ``jsonsamples``:
>>> import sys
>>> sys.modules['custom'] = type('Module', (), {})()
>>> sys.modules['custom'].IDemoContent = IDemoContent
>>> sys.modules['custom'].DemoContent = DemoContent
>>> sys.modules['custom'].DemoView = DemoView
>>> sys.modules['custom'].IDemoContainer = IDemoContainer
>>> sys.modules['custom'].DemoContainer = DemoContainer
>>> sys.modules['custom'].DemoContainerView = DemoContainerView
Let's show how we can register a jsonrpc view:
>>> from zope.configuration import xmlconfig
>>> import z3c.jsonrpc
>>> context = xmlconfig.file('meta.zcml', z3c.jsonrpc)
>>> context = xmlconfig.string("""
... <configure
... xmlns:z3c="http://namespaces.zope.org/z3c">
... <z3c:jsonrpc
... for="custom.IDemoContent"
... class="custom.DemoView"
... permission="zope.Public"
... methods="hello greeting mixedparams kws showId forceValueError"
... layer="z3c.jsonrpc.testing.IJSONRPCTestSkin"
... />
... </configure>
... """, context)
Let's show how we can register a jsonrpc view for the container:
(The container class needs permission configuration too)
>>> context = xmlconfig.file('meta.zcml', z3c.jsonrpc)
>>> context = xmlconfig.file('meta.zcml', zope.security, context)
>>> context = xmlconfig.string("""
... <configure
... xmlns:z3c="http://namespaces.zope.org/z3c"
... xmlns="http://namespaces.zope.org/zope">
... <class class="custom.DemoContainer">
... <allow
... interface="custom.IDemoContainer"
... />
... </class>
... <z3c:jsonrpc
... for="custom.IDemoContainer"
... class="custom.DemoContainerView"
... permission="zope.Public"
... methods="available greeting mixedparams kws showId forceValueError"
... layer="z3c.jsonrpc.testing.IJSONRPCTestSkin"
... />
... </configure>
... """, context)
Now we will setup a content object in our site:
>>> site = getRootFolder()
>>> content = DemoContent()
>>> site['content'] = content
>>> container = DemoContainer()
>>> site['container'] = container
Now we can call the method from our JSONRPC view:
>>> from z3c.jsonrpc import testing
>>> request = testing.TestRequest()
>>> demoView = DemoView(content, request)
>>> demoView.hello()
u'Hello World'
But this is not intuitive. Let's see how we can traverse to the method ``hello``
with the traverser:
>>> from z3c.jsonrpc.publisher import MethodTraverser
>>> methodTraverser = MethodTraverser(demoView, request)
>>> methodTraverser.publishTraverse(request, 'hello')()
u'Hello World'
Now we try to access the JSON-RPC view method with a test browser. As you can
see, there is no view accessible. This is because the JSONRPC view is not a
browser view and is not traversable. The error shows that the request factory
falls back to the browser request factory:
>>> from zope.testbrowser.testing import Browser
>>> browser = Browser()
>>> browser.handleErrors = False
>>> browser.addHeader('Accept-Language', 'en')
>>> browser.addHeader('Content-Type', 'application/json')
>>> siteURL = 'http://localhost/++skin++JSONRPCTestSkin'
>>> browser.open(siteURL + '/content/hello')
Traceback (most recent call last):
...
NotFound: Object: <zope.site.folder.Folder...: u'++skin++JSONRPCTestSkin'
Testing
-------
If you need to test a JSONRPC view you can use the test proxy like shown
below in the ``JSON-RPC proxy`` section.
JSON-RPC proxy
--------------
The jsonrpc package provides also a JSON-RPC proxy implementation. This
implementation is similar to the one known from xmlrpclib except that it can
handle JSON instead of XML.
Let's try to call our method called ``hello`` we defined before:
>>> from z3c.jsonrpc.testing import JSONRPCTestProxy
>>> proxy = JSONRPCTestProxy(siteURL + '/content')
>>> proxy.hello()
u'Hello World'
As defined in the jsonrpc spec it is also allowed to omit the params
completly we need to test this with a post directly because the
testing proxy always sets the params.
>>> browser.post(siteURL + '/content', "{'method':'hello', 'id':1}",
... content_type='application/json')
>>> browser.contents
'{"jsonrpc":"2.0","result":"Hello World","id":1}'
>>> browser.post(siteURL + '/content', "{'method':'hello', 'params':null, 'id':1}",
... content_type='application/json')
>>> browser.contents
'{"jsonrpc":"2.0","result":"Hello World","id":1}'
>>> proxy2 = JSONRPCTestProxy(siteURL + '/container')
>>> proxy2.available()
u'Hello World'
Now let's make a remote procedure call with a argument:
>>> proxy.greeting(u'Jessy')
u'Hello Jessy'
Let's call named arguments:
>>> proxy.kws(bar=u'BAR', foo=u'FOO')
u'None FOO BAR'
There is also an ``id`` in the json response. Let's use such a json request id
in our JSONRPCProxy:
>>> proxy = JSONRPCTestProxy(siteURL + '/content', jsonId = u'my id')
>>> proxy.showId()
u'The json id is: my id'
The proxy also knows this id as jsonId:
>>> proxy.jsonId
u'my id'
JSON-RPC Versions
-----------------
Let's test the different JSON-RPC versions starting with version 1.0:
>>> v1 = JSONRPCTestProxy(siteURL + '/container', jsonVersion='1.0')
>>> v1.available()
u'Hello World'
>>> v1.greeting(u'Jessy')
u'Hello Jessy'
>>> v1.kws(bar=u'BAR', foo=u'FOO')
u'None FOO BAR'
>>> v1 = JSONRPCTestProxy(siteURL + '/content', jsonId = u'my id',
... jsonVersion='1.0')
>>> v1.showId()
u'The json id is: my id'
>>> v1.jsonId
u'my id'
Now test with JSON-RPC version 1.1:
>>> v11 = JSONRPCTestProxy(siteURL + '/container', jsonVersion='1.1')
>>> v11.available()
u'Hello World'
>>> v11.greeting(u'Jessy')
u'Hello Jessy'
>>> v11.kws(bar=u'BAR', foo=u'FOO')
u'None FOO BAR'
>>> v11 = JSONRPCTestProxy(siteURL + '/content', jsonId = u'my id',
... jsonVersion='1.1')
>>> v11.showId()
u'The json id is: my id'
>>> v11.jsonId
u'my id'
Now test with JSON-RPC version 2.0:
>>> v2 = JSONRPCTestProxy(siteURL + '/container', jsonVersion='2.0')
>>> v2.available()
u'Hello World'
>>> v2.greeting(u'Jessy')
u'Hello Jessy'
>>> v2.kws(bar=u'BAR', foo=u'FOO')
u'None FOO BAR'
>>> v2 = JSONRPCTestProxy(siteURL + '/content', jsonId = u'my id',
... jsonVersion='2.0')
>>> v2.showId()
u'The json id is: my id'
>>> v2.jsonId
u'my id'
Mixed parameters
----------------
Note the keyword arguments will get stored in the request.form. Important
to know is that JSON-RPC does not support positional and named arguments in
one method call.
>>> v1.mixedparams('Hello', foo=u'FOO', bar=u'BAR')
Traceback (most recent call last):
...
ValueError: Mixing positional and named parameters in one call is not possible
>>> v11.mixedparams('Hello', foo=u'FOO', bar=u'BAR')
Traceback (most recent call last):
...
ValueError: Mixing positional and named parameters in one call is not possible
>>> v2.mixedparams('Hello', foo=u'FOO', bar=u'BAR')
Traceback (most recent call last):
...
ValueError: Mixing positional and named parameters in one call is not possible
Error handling
--------------
See what happens if the server raises an Exception. We will get a response
error with additional error content:
>>> proxy.forceValueError()
Traceback (most recent call last):
...
ResponseError: Received error from server: ...
and the error content looks like:
>>> proxy.error
{u'message': u'Internal error', u'code': -32603, u'data': {u'i18nMessage': u'Internal error'}}
The error property gets reset on the next successfull call:
>>> x = proxy.showId()
>>> proxy.error is None
True
And now we force a ResponseError with a fake JSONReader. But first we
need to replace our IJSONReader utility:
>>> from z3c.json.interfaces import IJSONReader
>>> sm = site.getSiteManager()
>>> fakeJSONReader = testing.ForceResponseErrorJSONReader()
>>> sm.registerUtility(fakeJSONReader, IJSONReader)
also setup the site hook:
>>> from zope.component import hooks
>>> hooks.setSite(site)
and just call a method this will now raise a ResponseError:
>>> proxy = JSONRPCTestProxy(siteURL + '/content')
>>> proxy.hello()
Traceback (most recent call last):
...
ResponseError: Unacceptable JSON expression: {"id":"jsonrpc", "method":"hello", "no-params"}
the error message is stored in the proxy too:
>>> proxy.error
u'Unacceptable JSON expression: {"id":"jsonrpc", "method":"hello", "no-params"}'
Transport
~~~~~~~~~
We used the JSONRPCTestProxy here for testing. This JSON-RPC proxy is a wrapper
for the original JSONRPCProxy and adds handleErrors support and a special
Transport layer which uses a testing caller. You can use one of the different
Transport layers defined in the z3c.json.transport module in real usecases
together with the default JSONRPCProxy implementation.
cleanup
-------
Now we need to clean up the custom module.
>>> del sys.modules['custom']
| z3c.jsonrpc | /z3c.jsonrpc-0.7.2.zip/z3c.jsonrpc-0.7.2/src/z3c/jsonrpc/README.txt | README.txt |
import zope.i18n
import zope.i18nmessageid
_ = zope.i18nmessageid.MessageFactory('z3c')
from z3c.jsonrpc import interfaces
# The error codes used since JSON-RPC 2.0
# See: http://groups.google.com/group/json-rpc/web/json-rpc-1-2-proposal
#
# code message Meaning
# --------------------------------
# -32700 Parse error. Invalid JSON. An error occurred on the server
# while parsing the JSON text.
# -32600 Invalid Request. The received JSON not a valid JSON-RPC Request.
# -32601 Method not found. The requested remote-procedure does not exist,
# is not available.
# -32602 Invalid params. Invalid method parameters.
# -32603 Internal error. Internal JSON-RPC error.
# -32099..-32000 Server error. Reserved for implementation-defined server-errors.
class JSONRPCErrorView(object):
"""Generic JSON-RPC error view.
This base class is used for error views which are used for error handling
by ZopePublication.
"""
zope.interface.implements(interfaces.IJSONRPCErrorView)
def __init__(self, context, request):
self.context = context
self.request = request
def __call__(self):
"""Must return itself.
This allows us to use the error view in setResult if ZopePublication
is adapting an error view to error and request and calls them.
"""
return self
class ParseErrorView(JSONRPCErrorView):
"""Knows the error data for parse errors."""
code = -32700
message = u'Parse error'
@property
def data(self):
errMsg = _('Parse error')
return {'i18nMessage':zope.i18n.translate(errMsg, context=self.request)}
class InvalidRequestErrorView(JSONRPCErrorView):
"""Knows the error data for invalid request errors."""
code = -32600
message = u'Invalid Request'
@property
def data(self):
errMsg = _('Invalid Request')
return {'i18nMessage':zope.i18n.translate(errMsg, context=self.request)}
class MethodNotFoundView(JSONRPCErrorView):
"""Knows the error data for NotFound errors."""
code = -32601
message = u'Method not found'
@property
def data(self):
errMsg = _('Method not found')
return {'i18nMessage':zope.i18n.translate(errMsg, context=self.request)}
class InvalidParamsErrorView(JSONRPCErrorView):
"""Knows the error data for invalid params errors."""
code = -32602
message = u'Invalid params'
@property
def data(self):
errMsg = _('Invalid params')
return {'i18nMessage':zope.i18n.translate(errMsg, context=self.request)}
class InternalErrorView(JSONRPCErrorView):
"""Knows the error data for invalid params errors."""
code = -32603
message = u'Internal error'
@property
def data(self):
errMsg = _('Internal error')
return {'i18nMessage':zope.i18n.translate(errMsg, context=self.request)} | z3c.jsonrpc | /z3c.jsonrpc-0.7.2.zip/z3c.jsonrpc-0.7.2/src/z3c/jsonrpc/error.py | error.py |
* @fileoverview JSON-RPC client implementation
* @author Roger Ineichen dev at projekt01 dot ch
* @version 0.5.0 supports JSON-RPC 1.0, 1.1 and 2.0
*/
//----------------------------------------------------------------------------
function JSONRPC(url, version) {
this._url = url;
// uses specification version 2.0 by default
this._version = '2.0'
if (typeof(version) != 'undefined') {
this._version = version;
}
this._methods = new Array();
this._user = null;
this._password = null;
}
function getJSONRPCProxy(url, version) {
return new JSONRPC(url, version);
}
JSONRPC.prototype.addMethod = function(name, callback, requestId) {
if (typeof(requestId) == 'undefined') {
requestId = "jsonRequest";
}
var self = this;
if(!self[name]){
var method = new JSONRPCMethod(this._url, name, callback, requestId, this._user, this._password, this._version);
self[name] = method;
this._methods.push(method);
}
}
JSONRPC.prototype.setAuthentication = function(user, pass) {
this._user = user;
this._password = pass;
for(var i=0;i<this._methods.length;i++){
this._methods[i].setAuthentication(user, pass);
}
}
function JSONRPCMethod(url, methodName, callback, requestId, user, pass, version) {
this.methodName = methodName;
this.callback = callback;
this.requestId = requestId;
this.url = url;
this.user = user;
this.password = pass;
this.version = version
var self = this;
var fn = function(){
var oldVersion = false;
if (this.version == '1.0' || this.version == '1.1') {
oldVersion = true;
}
if (!oldVersion && arguments.length == 1 && typeof arguments[0] === "object"){
// we've got version 2.0 and an associative array as argument
var args = arguments[0]
} else {
// we've got positional arguments
var args = new Array();
for(var i=0;i<arguments.length;i++){
args.push(arguments[i]);
}
}
if(self.callback) {
var data = self.jsonRequest(self.requestId, self.methodName, args);
self.postData(self.url, self.user, self.password, data, function(resp){
var res = null;
var exc = null;
try{
res = self.handleResponse(resp);
}catch(e){
exc = e;
}
try{
callback(res, self.requestId, exc);
}catch(e){
alert("callback method error: " + e.message);
}
args = null;
resp = null;
});
}
else{
var data = self.jsonRequest(self.requestId, self.methodName, args);
var resp = self.postData(self.url, self.user, self.password, data);
return self.handleResponse(resp);
}
}
return fn;
}
JSONRPCMethod.prototype.postData = function(url, user, pass, data, callback) {
var xmlhttp = new XMLHttp(url);
var header = new Array()
header["Content-Type"] = "application/json";
xmlhttp.setHeaders(header);
xmlhttp.user = user;
xmlhttp.password = pass;
xmlhttp.argString = data;
if(callback == null){
return xmlhttp.post();
}else{
xmlhttp.post(callback);
}
}
JSONRPCMethod.prototype.jsonRequest = function(id, methodName, args){
var ji = toJSON(id);
var jm = toJSON(methodName);
var ja = toJSON(args);
var ver = this.version
if (ver == '1.0'){
return '{"id":' +ji+ ', "method":' +jm+ ', "params":' +ja+ "}";
}else if (ver == '1.1'){
return '{"version":"'+ver+'", "id":' +ji+ ', "method":' +jm+ ', "params":' +ja+ "}";
}else{
return '{"jsonrpc":"'+ver+'", "id":' +ji+ ', "method":' +jm+ ', "params":' +ja+ "}";
}
}
JSONRPCMethod.prototype.setAuthentication = function(user, pass){
this.user = user;
this.password = pass;
}
JSONRPCMethod.prototype.notify = function(){
var args=new Array();
for(var i=0;i<arguments.length;i++){
args.push(arguments[i]);
}
var data = this.jsonRequest(null, this.methodName, args);
this.postData(this.url, this.user, this.password, data, function(resp){});
}
JSONRPCMethod.prototype.handleResponse = function(resp){
// TODO: Implement better error handling support since we have error codes
// offer an argument xmlhttp.onError which defines a function for custom
// error handling.
var status=null;
try{
status = resp.status;
}catch(e){
}
if(status == 200){
var respTxt = "";
try{
respTxt=resp.responseText;
}catch(e){
}
if(respTxt == null || respTxt == ""){
alert("The server responded with an empty document.");
}else{
var res = this.unmarshall(respTxt);
if(res.error != null){
return res.error
}
else if (res.requestId != self.requestId) {
alert("wrong json id returned");
}
else{
return res.result;
}
}
}else{
alert("error " + status);
}
}
JSONRPCMethod.prototype.unmarshall = function(source){
try {
var obj;
eval("obj=" + source);
return obj;
}catch(e){
alert("The server's response could not be parsed.");
}
}
function escapeJSONChar(c) {
if(c == "\"" || c == "\\") return "\\" + c;
else if (c == "\b") return "\\b";
else if (c == "\f") return "\\f";
else if (c == "\n") return "\\n";
else if (c == "\r") return "\\r";
else if (c == "\t") return "\\t";
var hex = c.charCodeAt(0).toString(16);
if(hex.length == 1) return "\\u000" + hex;
else if(hex.length == 2) return "\\u00" + hex;
else if(hex.length == 3) return "\\u0" + hex;
else return "\\u" + hex;
}
function escapeJSONString(s) {
var parts = s.split("");
for(var i=0; i < parts.length; i++) {
var c =parts[i];
if(c == '"' ||
c == '\\' ||
c.charCodeAt(0) < 32 ||
c.charCodeAt(0) >= 128)
parts[i] = escapeJSONChar(parts[i]);
}
return "\"" + parts.join("") + "\"";
}
function toJSON(o) {
if(o == null) {
return "null";
} else if(o.constructor == String) {
return escapeJSONString(o);
} else if(o.constructor == Number) {
return o.toString();
} else if(o.constructor == Boolean) {
return o.toString();
} else if(o.constructor == Date) {
return o.valueOf().toString();
} else if(o.constructor == Array) {
var v = [];
for(var i = 0; i < o.length; i++) v.push(toJSON(o[i]));
return "[" + v.join(", ") + "]";
}
else {
var v = [];
for(attr in o) {
if(o[attr] == null) v.push("\"" + attr + "\": null");
else if(typeof o[attr] == "function"); // skip
else v.push(escapeJSONString(attr) + ": " + toJSON(o[attr]));
}
return "{" + v.join(", ") + "}";
}
} | z3c.jsonrpcproxy | /z3c.jsonrpcproxy-0.6.0.tar.gz/z3c.jsonrpcproxy-0.6.0/src/z3c/jsonrpcproxy/js/z3c.jsonrpcproxy-0.5.0.js | z3c.jsonrpcproxy-0.5.0.js |
##############################################################################
#
# Copyright (c) 2008 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""
$Id:$
"""
__docformat__ = 'restructuredtext'
import zope.component
import zope.traversing.api
import zope.publisher.interfaces
from zope.proxy import sameProxiedObjects
from zope.traversing.interfaces import TraversalError
def getIconURL(item, request, name='icon'):
url = ''
icon = zope.component.queryMultiAdapter((item, request), name=name)
if icon is not None:
try:
url = icon.url()
except TraversalError:
return url
return url
def isChildOf(child, parent):
"""Check if object is a child of the parent."""
try:
if parent in zope.traversing.api.getParents(child):
return True
else:
return False
except TypeError, e:
# could be a not locatable NotFound object
return False
def getParentsFromContextToObject(context, obj):
"""Returns a list starting with the given context's parent followed by
each of its parents till we reach the object.
If the child object is not a child of the parent a empty list
will return.
"""
# this is a very bad situation. The context could be a NotFound error.
# Such NotFound objects provide a LocationProxy with the site as parent
# even if we don't allow the site in our possible parent chain. So skip it.
if zope.publisher.interfaces.INotFound.providedBy(context):
return []
if not isChildOf(context, obj):
return []
if sameProxiedObjects(context, obj):
return []
parents = []
w = context
while 1:
w = w.__parent__
if sameProxiedObjects(w, obj):
parents.append(w)
break
if w is None:
break
parents.append(w)
return parents | z3c.jsontree | /z3c.jsontree-0.6.0.tar.gz/z3c.jsontree-0.6.0/src/z3c/jsontree/util.py | util.py |
__docformat__ = 'restructuredtext'
from zope.traversing.browser import absoluteURL
from z3c.jsonrpc.publisher import MethodPublisher
from z3c.jsontree.interfaces import JSON_TREE_ID
from z3c.jsontree.interfaces import JSON_TREE_VIEW_NAME
from z3c.jsontree import base
from z3c.jsontree import subitem
from z3c.jsontree import util
class NoneJSONTreeItems(MethodPublisher, base.IdGenerator):
"""Returns no items.
Default JSON adapter for all objects.
"""
def loadJSONTreeItems(self, id):
"""Returns child information for the object with the given path in a
JSON format."""
return {'treeChilds': {'id':id, 'childs':[]}}
class JSONTreeItems(subitem.SubItemAware, MethodPublisher,
base.IdGenerator):
"""Returns the data of the childs from the path for the json tree.
This is a simple implementation which uses the traversal concept.
If you need to lookup items for other conponents then containers,
e.g. for a widget, you need to implement your own child loader class.
This is the default JSON adapter for IReadContainer.
"""
viewName = JSON_TREE_VIEW_NAME
z3cJSONTreeId = JSON_TREE_ID
linkHandler = ''
def getIconURL(self, item, request, name='icon'):
return util.getIconURL(item, request, name=name)
def loadJSONTreeItems(self, id):
"""Returns child information for the object with the given path in a
JSON format."""
res = {}
childs = []
append = childs.append
for name, subItem, hasSubItems in self.getSubItems(self.context):
if hasSubItems:
hasChilds = True
else:
hasChilds = False
info = {}
url = absoluteURL(subItem, self.request)
info['id'] = self.getId(subItem)
info['content'] = name
info['url'] = url +'/'+ self.viewName
info['iconURL'] = util.getIconURL(subItem, self.request)
info['linkHandler'] = self.linkHandler
info['hasChilds'] = hasChilds
info['contextURL'] = url
append(info)
res['treeChilds'] = {'id':id, 'childs':childs}
return res | z3c.jsontree | /z3c.jsontree-0.6.0.tar.gz/z3c.jsontree-0.6.0/src/z3c/jsontree/jsonrpc.py | jsonrpc.py |
__docformat__ = 'restructuredtext'
import zope.interface
from zope.contentprovider.interfaces import IContentProvider
# DOM id and name for json tree ``<UL>`` tag
JSON_TREE_ID = u'z3cJSONTree'
JSON_TREE_VIEW_NAME = u'@@SelectedManagementView.html'
JSON_TOGGLE_ICON_COLLAPSED = 'z3cJSONTreeCollapsedIcon'
JSON_TOGGLE_ICON_EXPANDED = 'z3cJSONTreeExpandedIcon'
JSON_TOGGLE_ICON_STATIC = 'z3cJSONTreeStaticIcon'
JSON_LI_CSS_EXPANDED = u'z3cJSONTreeExpanded'
JSON_LI_CSS_COLLAPSED = u'z3cJSONTreeCollapsed'
JSON_LI_CSS_STATIC = u'z3cJSONTreeStatic'
STATE_EXPANDED = 'expanded'
STATE_COLLAPSED = 'collapsed'
STATE_STATIC = 'static'
class ISubItemAware(zope.interface.Interface):
"""Sub item aware object."""
class ITreeItems(zope.interface.Interface):
"""Knows the items listed in tree for the given context."""
def __init__(context, request, tree):
"""Adapts the context and the request.
This allows to use different adapters for different layers on the same
context.
"""
subItems = zope.interface.Attribute(
"""List of (name, item, hasSubItems) tuple.""")
class IElementProvider(IContentProvider):
state = zope.interface.Attribute(
"""The collapsed, expanded or static state .""")
childTags = zope.interface.Attribute(
"""A list of rendered child tags.""")
viewName = zope.interface.Attribute(
"""The view name which get called on the context.""")
collapsedCSSName = zope.interface.Attribute(
"""Class name for the collapsed <LI> tag.""")
expandedCSSName = zope.interface.Attribute(
"""Class name for the expanded <LI> tag.""")
staticCSSName = zope.interface.Attribute(
"""Class name for the static <LI> tag.""")
# context icon
iconName = zope.interface.Attribute(
"""The icon name for the context icon.""")
# toggle icon
collapsedIconName = zope.interface.Attribute(
"""The icon name for the collapsed icon.""")
expandedIconNamen = zope.interface.Attribute(
"""The icon name for the expanded icon.""")
staticIconName = zope.interface.Attribute(
"""The icon name for the static icon.""")
# properties
className = zope.interface.Attribute(
"""The CSS class name for the rendered <LI> tag.""")
toggleIcon = zope.interface.Attribute(
"""The toggle icon including settings for json url.""")
icon = zope.interface.Attribute("""The icon for the given context.""")
name = zope.interface.Attribute("""The context name""")
url = zope.interface.Attribute("""The context url""")
def update():
"""Must get called before render."""
def render():
"""Render the template."""
# content provider using templates
class ILITagProvider(IElementProvider):
"""Content provider for ``LI`` tag."""
class IULTagProvider(IElementProvider):
"""Content provider for ``UL`` tag."""
class ITreeProvider(IElementProvider):
"""Content provider for tree (main) ``UL`` tag."""
# tree renderer interfaces
class ITreeRenderer(zope.interface.Interface):
"""Knows how to render elements fo the tree items."""
def renderLI(name, item):
"""Renders <LI> tags."""
def renderUL(name, item, childTags=None):
"""Renders <li> tag including rendered child tags."""
tree = zope.interface.Attribute(
"""Renders <ul> tree tag including rendered child tags.""")
class IPythonRenderer(ITreeRenderer):
"""Uses python methods for rendering the tree items."""
class ITemplateRenderer(ITreeRenderer):
"""Uses IContentProvider classes within templates for rendereing the items.
"""
class IIdGenerator(zope.interface.Interface):
"""Knows how to get ids for the tree items."""
def getId(item):
"""Returns the DOM id for a given object.
Note: we encode the upper case letters because the Dom element id are
not case sensitive in HTML. We prefix each upper case letter with ':'.
"""
def id():
"""Returns the DOM id for a given context."""
class IJSONTree(ITreeRenderer, IIdGenerator):
"""Complete JSON tree definition.
Don't care about the javascript part, just implement all methods define in
this interfaces.
"""
class ISimpleJSONTree(IJSONTree):
"""Simple JSON tree implementation.
Simple JSON tree using inline methods for rendering elements and
traversable path for item lookup.
"""
class IGenericJSONTree(IJSONTree):
"""Generic template based JSON tree implementation.
This implementation uses IContentProvider for element tag rendering.
This content provider are responsible for represent a node. This allows us
to embed html or javascript code in the html representation in a smart
way. This makes it possible to include html forms in a tree node.
""" | z3c.jsontree | /z3c.jsontree-0.6.0.tar.gz/z3c.jsontree-0.6.0/src/z3c/jsontree/interfaces.py | interfaces.py |
__docformat__ = 'restructuredtext'
import string
import zope.interface
import zope.component
from zope.traversing import api
from zope.traversing.browser import absoluteURL
from zope.traversing.namespace import getResource
from zope.contentprovider.interfaces import IContentProvider
from zope.component import hooks
from z3c.template.template import getPageTemplate
from z3c.jsontree import interfaces
from z3c.jsontree.interfaces import JSON_TREE_ID
from z3c.jsontree.interfaces import JSON_TREE_VIEW_NAME
from z3c.jsontree.interfaces import JSON_TOGGLE_ICON_COLLAPSED
from z3c.jsontree.interfaces import JSON_TOGGLE_ICON_EXPANDED
from z3c.jsontree.interfaces import JSON_TOGGLE_ICON_STATIC
from z3c.jsontree.interfaces import JSON_LI_CSS_EXPANDED
from z3c.jsontree.interfaces import JSON_LI_CSS_COLLAPSED
from z3c.jsontree.interfaces import JSON_LI_CSS_STATIC
from z3c.jsontree.interfaces import STATE_EXPANDED
from z3c.jsontree.interfaces import STATE_COLLAPSED
from z3c.jsontree.interfaces import STATE_STATIC
from z3c.jsontree import subitem
from z3c.jsontree import util
class IdGenerator(object):
"""This mixin class generates Object Ids based on the the objects path.
Note: The objects must be traversable by it's path. You can implement a
a custom path traverse concept in the getObjectByPath it you need to use
another traverse concept.
This ids must conform the w3c recommendation described in:
http://www.w3.org/TR/1999/REC-html401-19991224/types.html#type-name
"""
def getId(self, item):
"""Returns the DOM id for a given object.
Note: we encode the upper case letters because the Dom element id are
not case sensitive in HTML. We prefix each upper case letter with ':'.
"""
path = api.getPath(item)
newPath = u''
for letter in path:
if letter in string.uppercase:
newPath += ':' + letter
else:
newPath += letter
# we use a dot as a root representation, this avoids to get the same id
# for the ul and the first li tag
if newPath == '/':
newPath = '.'
# add additinal dot which separates the tree id and the path, is used
# for get the tree id out of the string in the javascript using
# ids = id.split("."); treeId = ids[0];
id = self.z3cJSONTreeId +'.'+ newPath
# convert '/' path separator to marker '::', because the path '/'' is
# not allowed as DOM id. See also:
# http://www.w3.org/TR/1999/REC-html401-19991224/types.html#type-name
return id.replace('/', '::')
def id(self):
"""Returns the DOM id for a given context."""
return self.getId(self.context)
class TreeBase(subitem.SubItemAware):
"""Tree iterator base implementation."""
root = None
childTags = None
rootChilds = None
items = []
z3cJSONTreeId = JSON_TREE_ID
z3cJSONTreeName = JSON_TREE_ID
z3cJSONTreeClass = JSON_TREE_ID
viewName = JSON_TREE_VIEW_NAME
# LI tag CSS names
collapsedCSSName = JSON_LI_CSS_COLLAPSED
expandedCSSName = JSON_LI_CSS_EXPANDED
staticCSSName = JSON_LI_CSS_STATIC
# toggle icon names
collapsedIconName = JSON_TOGGLE_ICON_COLLAPSED
expandedIconNamen = JSON_TOGGLE_ICON_EXPANDED
staticIconName = JSON_TOGGLE_ICON_STATIC
def getRoot(self):
if not self.root:
self.root = hooks.getSite()
return self.root
def __init__(self, context, request):
self.context = context
self.request = request
def getIconURL(self, item, request, name='icon'):
return util.getIconURL(item, request, name=name)
def getParents(self):
"""This method returns a parent chain.
The method is also responsible for skip objects which should get
excluded e.g. the sitemanager items.
"""
root = self.getRoot()
return util.getParentsFromContextToObject(self.context, root)
def update(self):
"""Update HTML code for representing a <ul> tag tree with the
siblings and parents of an object.
There is only one branch expanded, in other words, the tree is
filled with the object, its siblings and its parents with
their respective siblings. This tree is stateless.
If we access the tree via a virtual host, the root is adjusted to
the right root object.
The childTags get used in every implementation of this package. The
items in the childTags can get rendered with the python renderer which
uses inline code or with the template based renderer which is probably
slower then the python renderer becaue of it's tal usage.
"""
childTags = None
stackItem = self.context
parents = self.getParents()
for item in parents:
tagList = []
append = tagList.append
for name, subItem, hasSubItems in self.getSubItems(item):
if hasSubItems:
if subItem == stackItem:
append(self.renderUL(name, subItem, childTags))
else:
append(self.renderUL(name, subItem))
else:
append(self.renderLI(name, subItem))
childTags = ' '.join(tagList)
stackItem = item
self.childTags = childTags
class ProviderBase(object):
"""Base class for tag element provider."""
template = getPageTemplate()
root = None
state = None
name = None
childTags = None
iconName = 'icon'
z3cJSONTreeId = JSON_TREE_ID
z3cJSONTreeName = JSON_TREE_ID
z3cJSONTreeClass = JSON_TREE_ID
viewName = JSON_TREE_VIEW_NAME
# LI tag CSS names
collapsedCSSName = JSON_LI_CSS_COLLAPSED
expandedCSSName = JSON_LI_CSS_EXPANDED
staticCSSName = JSON_LI_CSS_STATIC
# toggle icon names
collapsedIconName = JSON_TOGGLE_ICON_COLLAPSED
expandedIconNamen = JSON_TOGGLE_ICON_EXPANDED
staticIconName = JSON_TOGGLE_ICON_STATIC
def __init__(self, context, request, view):
self.context = context
self.request = request
self.view = view
@property
def className(self):
if self.state == STATE_COLLAPSED:
return self.collapsedCSSName
elif self.state == STATE_EXPANDED:
return self.expandedCSSName
else:
return self.staticCSSName
@property
def toggleIcon(self):
"""Returns a toggle icon including settings for json url."""
if self.state == STATE_COLLAPSED:
iconName = self.collapsedIconName
elif self.state == STATE_EXPANDED:
iconName = self.expandedIconNamen
else:
iconName = self.staticIconName
icon = zope.component.getMultiAdapter((self.context, self.request),
name=iconName)
resource = getResource(icon.context, icon.rname, self.request)
src = resource()
longDescURL = absoluteURL(self.context, self.request)
return ('<img src="%s" alt="toggle icon" width="%s" height="%s" '
'border="0" longDesc="%s" />' % (src, icon.width,
icon.height, longDescURL))
def icon(self):
"""Returns a additional named icon for the given context."""
icon = zope.component.queryMultiAdapter((self.context, self.request),
name=self.iconName)
if icon is not None:
resource = getResource(icon.context, icon.rname, self.request)
src = resource()
return ('<img src="%s" alt="icon" width="%s" height="%s" '
'border="0" />' % (src, icon.width, icon.height))
return u''
@property
def url(self):
return absoluteURL(self.context, self.request) +'/'+ self.viewName
def update(self):
pass
def render(self):
return self.template()
class PythonRenderer(object):
"""Mixin class for template less tree generation.
This renderer is responsible for rendering all HTML elements for the items
found in the tree. This means evrey item will be presented in the same way.
Use this renderer only if you like to get the same representation for each
item. If you need custom representation for each item, use the template
based renderer which allows you to define for each item a custom class and
template.
"""
zope.interface.implements(interfaces.IPythonRenderer)
@property
def rootName(self):
root = self.getRoot()
name = api.getName(self.root)
if not name:
name = u'[top]'
return name
def getToggleIcon(self, item, state):
"""Returns a toggle icon including settings for json url."""
if state == STATE_COLLAPSED:
iconName = self.collapsedIconName
elif state == STATE_EXPANDED:
iconName = self.expandedIconNamen
else:
iconName = self.staticIconName
icon = zope.component.getMultiAdapter((item, self.request),
name=iconName)
resource = getResource(icon.context, icon.rname, self.request)
src = resource()
longDescURL = absoluteURL(item, self.request)
return ('<img src="%s" alt="toggle icon" width="%s" height="%s" '
'border="0" longDesc="%s" />' % (src, icon.width,
icon.height, longDescURL))
def renderLI(self, name, item):
url = absoluteURL(item, self.request) +'/'+ self.viewName
iconURL = self.getIconURL(item, self.request)
id = self.getId(item)
res = u''
toggleIcon = self.getToggleIcon(item, STATE_STATIC)
res += '<li id="%s" class="%s">%s' % (id, self.staticCSSName,
toggleIcon)
if iconURL != '':
res += '<img src="%s" width="16" height="16" />' % iconURL
res += '<a href="%s">%s</a>' % (url, name)
res += '</li>'
return res
def renderUL(self, name, item, childTags=None):
"""Renders <li> tag with already rendered child tags."""
url = absoluteURL(item, self.request) +'/'+ self.viewName
iconURL = self.getIconURL(item, self.request)
id = self.getId(item)
if item is self.context:
state = STATE_COLLAPSED
liClass = self.collapsedCSSName
else:
state = STATE_EXPANDED
liClass = self.expandedCSSName
if childTags is None:
state = STATE_COLLAPSED
liClass = self.collapsedCSSName
toggleIcon = self.getToggleIcon(item, state)
res = u''
res += '<li id="%s" class="%s">%s' % (id, liClass, toggleIcon)
if iconURL != '':
res += '<img src="%s" class="" width="16" height="16" />' % iconURL
res += '<a href="%s">%s</a>' % (url, name)
if childTags is not None:
res += ' <ul>%s</ul>' % childTags
res += '</li>'
return res
@property
def tree(self):
root = self.getRoot()
if root is None:
raise ValueError("Missing tree root object.")
id = self.getId(root)
rootName = self.rootName
url = absoluteURL(root, self.request) +'/'+ self.viewName
# setup root item
if self.childTags is None:
rootChilds = ''
liClass = self.collapsedCSSName
state = STATE_COLLAPSED
else:
rootChilds = '<ul>%s</ul>' % self.childTags
liClass = self.expandedCSSName
state = STATE_EXPANDED
# setup root toggle icon
toggleIcon = self.getToggleIcon(root, state)
# setup root link
rootLink = '<a href="%s">%s</a>' % (url, rootName)
rootItem = '<li id="%s" class="%s">%s%s%s</li>' % \
(id, liClass, toggleIcon, rootLink, rootChilds)
# render the <ul> tag tree
z3cJSONTree = u''
z3cJSONTree += '<ul class="%s" id="%s" name="%s">%s</ul>' % (
self.z3cJSONTreeClass, self.z3cJSONTreeId, self.z3cJSONTreeName, rootItem)
return z3cJSONTree
class TemplateRenderer(object):
"""Mixin class for template based tree generation.
This implementation uses IContentProvider for element tag rendering. This
makes it very flexible.
Note: Don't forget to define custom JSONTreeItems methods which reflect the
custom rendering. Or you will get the default rendering behavior for JSON
loaded items.
"""
zope.interface.implements(interfaces.ITemplateRenderer)
liProviderName = 'li'
ulProviderName = 'ul'
treeProviderName = 'tree'
def renderLI(self, name, item):
provider = zope.component.getMultiAdapter(
(item, self.request, self), IContentProvider,
self.liProviderName)
provider.name = name
provider.state = STATE_STATIC
provider.update()
return provider.render()
def renderUL(self, name, item, childTags=None):
"""Renders <li> tag with already rendered child tags."""
if item is self.context:
state = STATE_COLLAPSED
else:
state = STATE_EXPANDED
if childTags is None:
state = STATE_COLLAPSED
provider = zope.component.getMultiAdapter(
(item, self.request, self), IContentProvider,
self.ulProviderName)
provider.name = name
provider.childTags = childTags
provider.state = state
provider.update()
return provider.render()
@property
def tree(self):
root = self.getRoot()
if root is None:
raise ValueError("Missing tree root object.")
if self.childTags is None:
state = STATE_COLLAPSED
else:
state = STATE_EXPANDED
provider = zope.component.getMultiAdapter(
(root, self.request, self), IContentProvider,
self.treeProviderName)
provider.childTags = self.childTags
provider.state = state
provider.update()
return provider.render() | z3c.jsontree | /z3c.jsontree-0.6.0.tar.gz/z3c.jsontree-0.6.0/src/z3c/jsontree/base.py | base.py |
============
JSONRPC Tree
============
This package offers a JSONRPC tree view which can be used as navigation tree.
Let's show how we can register our jsonrpc tree view:
>>> from zope.configuration import xmlconfig
>>> import z3c.jsonrpc
>>> context = xmlconfig.file('meta.zcml', z3c.jsonrpc)
>>> context = xmlconfig.string("""
... <configure
... xmlns:z3c="http://namespaces.zope.org/z3c">
... <z3c:jsonrpc
... for="*"
... class="z3c.jsontree.jsonrpc.JSONTreeItems"
... permission="zope.Public"
... methods="loadJSONTreeItems"
... layer="z3c.jsonrpc.testing.IJSONRPCTestSkin"
... />
... </configure>
... """, context)
Now we will setup some content structure based on the default zope folder class:
>>> from zope.site.folder import Folder
>>> site = getRootFolder()
>>> content = Folder()
>>> site['content'] = content
And we need to be able to get an absoluteURL for the form:
>>> import zope.interface
>>> import zope.component
>>> from zope.location.interfaces import ILocation
>>> from zope.traversing.browser.interfaces import IAbsoluteURL
>>> class FakeURL(object):
... zope.interface.implements(IAbsoluteURL)
... zope.component.adapts(ILocation, zope.interface.Interface)
... def __init__(self, context, request):
... pass
... def __str__(self):
... return u'http://fake/url'
... def __call__(self):
... return str(self)
>>> zope.component.provideAdapter(FakeURL)
JSON-RPC proxy
--------------
If we call our JSON-RPC tree item method, we can see the different JSON data
on the different contexts:
>>> from z3c.jsonrpc.testing import JSONRPCTestProxy
>>> siteURL = 'http://localhost/++skin++JSONRPCTestSkin'
>>> proxy = JSONRPCTestProxy(siteURL)
>>> proxy.loadJSONTreeItems('z3cJSONTree')
{u'treeChilds': {u'childs':
[{u'hasChilds': False,
u'contextURL': u'http://fake/url',
u'url': u'http://fake/url/@@SelectedManagementView.html',
u'linkHandler': u'',
u'content': u'content',
u'iconURL': u'',
u'id': u'z3cJSONTree.::content'}],
u'id': u'z3cJSONTree'}}
The content object has no items and returns some empty JSON data:
>>> proxy = JSONRPCTestProxy(siteURL + '/content')
>>> proxy.loadJSONTreeItems('z3cJSONTree')
{u'treeChilds': {u'childs': [], u'id': u'z3cJSONTree'}}
| z3c.jsontree | /z3c.jsontree-0.6.0.tar.gz/z3c.jsontree-0.6.0/src/z3c/jsontree/README.txt | README.txt |
__docformat__ = 'restructuredtext'
import zope.interface
import zope.component
import zope.i18nmessageid
import zope.i18n
from zope.security.interfaces import Unauthorized
from zope.security.interfaces import Forbidden
from zope.traversing import api
from zope.container.interfaces import IReadContainer
from z3c.jsontree import interfaces
_ = zope.i18nmessageid.MessageFactory('z3c')
class SubItemAware(object):
"""Base class for sub item lookup."""
zope.interface.implements(interfaces.ISubItemAware)
def getSubItems(self, item):
"""Delegate call to ITreeItems adapter."""
adapter = zope.component.getMultiAdapter((item, self.request, self),
interfaces.ITreeItems)
return adapter.subItems
class TreeItemsMixin(object):
"""Base class for ITreeItems adapter."""
zope.interface.implements(interfaces.ITreeItems)
def __init__(self, context, request, tree):
self.context = context
self.request = request
self.tree = tree
class NoneTreeItems(TreeItemsMixin):
"""Returns no items.
Default tree item adapter for all objects.
"""
@property
def subItems(self):
return []
class ContainerTreeItems(TreeItemsMixin):
"""Knows the items listed in tree for the given context.
This is the default tree item adapter for IReadContainer.
"""
maxItems = 50
def _hasSubItems(self, item):
"""This method allows us to decide if a sub item has items from the
point of view of the context."""
res = False
if IReadContainer.providedBy(item):
try:
if len(item) > 0:
res = True
except(Unauthorized, Forbidden):
pass
return res
@property
def subItems(self):
"""Collect all tree items for the given context."""
items = []
keys = []
append = items.append
if IReadContainer.providedBy(self.context):
try:
keys = list(self.context.keys())
except(Unauthorized, Forbidden):
return items
else:
return items
counter = 1
for name in keys:
# Only include items we can traverse to
subItem = api.traverse(self.context, name, None)
if subItem is not None:
append((api.getName(subItem), subItem,
self._hasSubItems(subItem)))
counter += 1
if counter == self.maxItems:
# add context which should support a item listing view with
# batch
lenght = len(keys) - self.maxItems
default = '[%s more items...]' % lenght
name = zope.i18n.translate(
_('[${lenght} more items...]', mapping={'lenght':lenght}),
context=self.request, default=default)
append((name, self.context, False))
break
return items | z3c.jsontree | /z3c.jsontree-0.6.0.tar.gz/z3c.jsontree-0.6.0/src/z3c/jsontree/subitem.py | subitem.py |
__docformat__ = 'restructuredtext'
import zope.interface
import zope.component
from zope.publisher.interfaces.browser import IBrowserRequest
from zope.publisher.interfaces.http import IHTTPRequest
from zope.viewlet.interfaces import IViewlet
from z3c.jsontree import interfaces
from z3c.jsontree import base
# simple trees
class SimpleJSONTree(base.TreeBase, base.PythonRenderer,
base.IdGenerator):
"""Simple JSON tree using inline methods for rendering elements and
using traversable path for item lookup.
"""
zope.interface.implements(interfaces.ISimpleJSONTree)
# simple tree viewlet
class SimpleJSONTreeViewlet(SimpleJSONTree):
"""Simple JSON tree viewlet."""
zope.interface.implements(IViewlet)
def __init__(self, context, request, view, manager):
super(SimpleJSONTreeViewlet, self).__init__(context, request)
self.__parent__ = view
self.context = context
self.request = request
self.manager = manager
# generic template based tree
class LITagProvider(base.ProviderBase, base.IdGenerator):
"""LI tag content provider."""
zope.interface.implements(interfaces.ILITagProvider)
zope.component.adapts(zope.interface.Interface, IHTTPRequest,
interfaces.ITemplateRenderer)
class ULTagProvider(base.ProviderBase, base.IdGenerator):
"""UL tag contet provider."""
zope.interface.implements(interfaces.IULTagProvider)
zope.component.adapts(zope.interface.Interface, IHTTPRequest,
interfaces.ITemplateRenderer)
class TreeProvider(base.ProviderBase, base.IdGenerator):
"""UL tag contet provider."""
name = u'[top]'
zope.interface.implements(interfaces.ITreeProvider)
zope.component.adapts(zope.interface.Interface, IBrowserRequest,
interfaces.ITemplateRenderer)
class GenericJSONTree(base.TreeBase, base.TemplateRenderer,
base.IdGenerator):
"""Template base tree.
This implementation uses IContentProvider for element tag rendering.
This content provider are resonsible for represent a node. This allows us
to embed html or javascript calls in the html representation in a smart
way.
"""
zope.interface.implements(interfaces.IGenericJSONTree)
# generic tree viewlet
class GenericJSONTreeViewlet(GenericJSONTree):
"""Generic JSON tree viewlet."""
zope.interface.implements(IViewlet)
def __init__(self, context, request, view, manager):
super(GenericJSONTreeViewlet, self).__init__(context, request)
self.__parent__ = view
self.context = context
self.request = request
self.manager = manager | z3c.jsontree | /z3c.jsontree-0.6.0.tar.gz/z3c.jsontree-0.6.0/src/z3c/jsontree/browser/tree.py | tree.py |
* @fileoverview JSON loading unordered list based tree
*
* @author Roger Ineichen dev at projekt01 dot org.
* @version Initial, not documented
*/
//----------------------------------------------------------------------------
/* zrt-replace: "./z3cJSONTreeIMG" tal"string:${context/++resource++z3cJSONTreeIMG}" */
/* Note: this script uses z3c.xmlhttp.js and z3c.jsonrpcproxy.js */
/* TODO: use metadata plugin for get/set the json loader uri */
//----------------------------------------------------------------------------
// public API
//----------------------------------------------------------------------------
(function($) {
$.fn.z3cJSONTree = function (settings) {
settings = $.extend({
z3cJSONTreeCollapsedGif: './z3cJSONTreeIMG/z3cJSONTreeCollapsed.gif',
z3cJSONTreeExpandedGif: './z3cJSONTreeIMG/z3cJSONTreeExpanded.gif',
z3cJSONTreeStaticGif: './z3cJSONTreeIMG/z3cJSONTreeStatic.gif',
z3cJSONTreeCollapsedClass: 'z3cJSONTreeCollapsed',
z3cJSONTreeExpandedClass: 'z3cJSONTreeExpanded',
z3cJSONTreeStaticClass: 'z3cJSONTreeItem',
z3cJSONTreeIconClass: 'z3cJSONTreeIcon',
loadItemsMethodName: 'loadJSONTreeItems'
}, settings);
function z3cJSONTreeToggleItem(img) {
ele = img.parentNode;
var uri = $(img).attr('longDesc');
if ($(ele).hasClass(settings.z3cJSONTreeExpandedClass)) {
$(ele).removeClass(
settings.z3cJSONTreeExpandedClass).addClass(
settings.z3cJSONTreeCollapsedClass
);
$(img).attr("src", settings.z3cJSONTreeCollapsedGif);
}
else {
/* check for sub items */
if ($(ele).find('li').length == 0){
/* load childs from server via JSON */
id = $(ele).attr('id');
z3cJSONTreeLoadItems(uri, id);
}
$(ele).removeClass(
settings.z3cJSONTreeCollapsedClass).addClass(
settings.z3cJSONTreeExpandedClass
);
$(img).attr("src", settings.z3cJSONTreeExpandedGif);
}
return false;
}
function z3cJSONTreeLoadItems(uri, id) {
/* each different json tree uses a own function for calling the childs */
loader = settings.loadItemsMethodName;
var jsonProxy = new JSONRPC(uri);
jsonProxy.addMethod(loader, z3cJSONTreeAddItems, id);
/* call the child loader method */
var loaderMethod = jsonProxy[loader];
loaderMethod(id);
}
function z3cJSONTreeAddItems(response, requestId) {
var res = response['treeChilds'];
var childs = res['childs'];
ele = document.getElementById(res['id']);
var ele = $(ele);
var ul = null;
/* find ul tag which will contain the new childs */
var ul = ele.find('ul')[0]
if (!ul){
ele.append('<ul></ul>')
}
var ul = ele.find('ul')[0]
/* render and append the new childs to the existing empty <ul> tag */
for (var i=0; i<childs.length; i++) {
var itemInfo = childs[i];
var iconSrc = itemInfo['iconURL'];
var hasChilds = itemInfo['hasChilds'];
var linkHandler = itemInfo['linkHandler'];
var contextURL = itemInfo['contextURL'];
/* create toggle icon */
if (iconSrc != '') {
var icon = $('<img></img>');
icon.attr("src", iconSrc);
}
/* create li tag */
var li = $('<li></li>');
li.attr("id", itemInfo['id']);
/* create toggle image */
var img = $('<img></img>');
img.attr("width", "16");
img.attr("height", "16");
if (hasChilds) {
img.className = settings.z3cJSONTreeIconClass;
img.attr('longDesc', contextURL);
img.click(function(){
z3cJSONTreeToggleItem(this)
});
img.attr("src", settings.z3cJSONTreeCollapsedGif);
li.className = settings.z3cJSONTreeCollapsedClass;
}
else{
li.className = settings.z3cJSONTreeStaticClass;
img.attr("src", settings.z3cJSONTreeStaticGif);
}
/* create link or handler */
var a = $('<a href=""></a>');
if (linkHandler != '') {
a.click(eval(linkHandler));
a.attr("href", '#');
}else {
a.attr("href", itemInfo['url']);
}
/* append content to link */
a.html(itemInfo['content']);
li.append(a);
/* append link to to link */
if (iconSrc != '') {
icon.insertBefore(a);
img.insertBefore(icon);
}
else {
img.insertBefore(a);
}
$(ul).append(li);
}
}
// render tree
function renderTree(ul) {
if ($(ul).length == 0) {
return;
}
for (var i=0; i<ul.childNodes.length; i++) {
var item = ul.childNodes[i];
if (item.nodeName == "LI") {
for (var si=0; si<item.childNodes.length; si++) {
var subitem = item.childNodes[si];
if (subitem.nodeName == "UL") {
renderTree(subitem, false);
}
}
img = $(item.firstChild);
img.click(function(){
z3cJSONTreeToggleItem(this)
});
}
}
}
// initialize json trees
return $(this).each(function(){
renderTree(this);
});
};
})(jQuery); | z3c.jsontree | /z3c.jsontree-0.6.0.tar.gz/z3c.jsontree-0.6.0/src/z3c/jsontree/browser/js/z3c.jsontree-0.5.0.js | z3c.jsontree-0.5.0.js |
__docformat__ = 'restructuredtext'
import zope.interface
import zope.i18nmessageid
import zope.schema
from zope.schema.interfaces import IVocabularyTokenized
_ = zope.i18nmessageid.MessageFactory('z3c')
language_policies = ['server', 'session', 'browser',
'browser --> session --> server', 'browser --> server',
'session --> browser --> server', 'session --> server']
LANGUAGE_CACHE_KEY = 'z3c.language.negotiator.cache'
class INegotiatorManager(zope.interface.Interface):
"""Local negotiator utility manager interface."""
policy = zope.schema.Choice(
title=_("Language lookup policy"),
description=_("Defines how the language lookup is working."),
values=language_policies,
default='session --> browser --> server',
required=True)
serverLanguage = zope.schema.TextLine(
title=_(u"Server language"),
description=_(u"The language used for server policy."),
default=u"en",
required=True,
)
offeredLanguages = zope.schema.List(
title=_(u"Offered languages"),
description=_(u"A list of offered languages. Can be used for "
"let the user to select languages which are offered in "
"a skin."""),
value_type = zope.schema.TextLine(title=_(u"A i18n language."),
description=_(u"A i18n locale string.")),
default=[],
required=False,
)
cacheEnabled = zope.schema.Bool(
title=_(u"Language caching enabled"),
description=_(u"Language caching enabled (per request)"),
default=False,
)
def clearCache(request):
"""Clear the cached language value"""
class IOfferedLanguages(zope.interface.Interface):
def getOfferedLanguages():
"""A list of available (offered) languages."""
def hasOfferedLanguages():
"""Retruns a boolean for available offered languages."""
class IOfferedLanguagesVocabulary(IVocabularyTokenized):
"""A vocabulary of available (offered) languages."""
class IAvailableTranslationDomainLanguagesVocabulary(IVocabularyTokenized):
"""Available translation domain languages.
If you use this, take care on that you use the right translation domain.
So you probably have to implement your own vocabulary for your ``correct``
translation domain.
""" | z3c.language.negotiator | /z3c.language.negotiator-1.1.3.tar.gz/z3c.language.negotiator-1.1.3/src/z3c/language/negotiator/interfaces.py | interfaces.py |
__docformat__ = 'restructuredtext'
import persistent
import zope.interface
from zope.container import contained
from zope.schema.fieldproperty import FieldProperty
from zope.i18n.interfaces import INegotiator
from zope.i18n.negotiator import negotiator
from z3c.language.session.interfaces import ILanguageSession
from z3c.language.negotiator.interfaces import INegotiatorManager
from z3c.language.negotiator.interfaces import language_policies
from z3c.language.negotiator.interfaces import LANGUAGE_CACHE_KEY
class Negotiator(persistent.Persistent, contained.Contained):
"""Local negotiator implementation.
The negotiator let you change the policy, which is a alias
for the lookup mechanism.
'server' -- The server defines the language
'session' -- The session defines the language (useful for testing)
'browser' -- The browser defines the language (useful for testing)
'browser --> session --> server' -- Left criteria first
'browser --> server' -- Left criteria first
'session --> browser --> server' -- Left criteria first (default use case)
'session --> server' -- Left criteria first
The 'server' criteria is used as a fallback criteria in most use cases.
"""
zope.interface.implements(INegotiator, INegotiatorManager)
serverLanguage = FieldProperty(INegotiatorManager['serverLanguage'])
offeredLanguages = FieldProperty(INegotiatorManager['offeredLanguages'])
cacheEnabled = FieldProperty(INegotiatorManager['cacheEnabled'])
def __init__(self):
self._policy = 'session --> browser --> server'
@apply
def policy():
def get(self):
"""Returns the language policy."""
return self._policy
def set(self, policy):
"""Set the language policy."""
if policy not in language_policies:
policies = str(language_policies)
raise ValueError('Not a valid policy name.', policy)
self._policy = policy
return property(get, set)
def getLanguage(self, languages, request):
"""Returns the language dependent on the policy."""
policyList = self._policy.split(' --> ')
for policy in policyList:
# the server is handling the language
if policy == 'server':
if self.serverLanguage:
return self.serverLanguage
# the language is handled by a session
elif policy == 'session':
if self.cacheEnabled:
try:
cached = request.annotations[LANGUAGE_CACHE_KEY]
return cached
except KeyError:
session = ILanguageSession(request)
lang = session.getLanguage()
if lang is not None:
request.annotations[LANGUAGE_CACHE_KEY] = lang
return lang
else:
session = ILanguageSession(request)
lang = session.getLanguage()
if lang is not None:
return lang
# the language is handled by the browsers language settings
elif policy == 'browser':
lang = negotiator.getLanguage(languages, request)
if lang is not None:
return lang
return None
def clearCache(self, request):
try:
del request.annotations[LANGUAGE_CACHE_KEY]
except KeyError:
pass | z3c.language.negotiator | /z3c.language.negotiator-1.1.3.tar.gz/z3c.language.negotiator-1.1.3/src/z3c/language/negotiator/app.py | app.py |
==========
Negotiator
==========
This package provides a local implementation of the ``INegotiator`` interface
defined in ``zope.i18n.interfaces``. The negotiator implementation offers some
additional usefull attributes which are explained later. This ``INegotiator``
is also used in the ``z3c.language.switch`` package.
Let's setup a negotiator:
>>> from z3c.language.negotiator import app
>>> negotiator = app.Negotiator()
Such a negotiator provides the following interfaces:
>>> from zope.i18n.interfaces import INegotiator
>>> from z3c.language.negotiator.interfaces import INegotiatorManager
>>> INegotiator.providedBy(negotiator)
True
>>>
>>> INegotiatorManager.providedBy(negotiator)
True
>>>
By default a negotiator has the following values:
>>> negotiator.policy
'session --> browser --> server'
>>> negotiator.serverLanguage
u'en'
>>> negotiator.offeredLanguages
[]
If we set a policy with a wrong value, we will get a ValueError:
>>> negotiator.policy = u'wrong'
Traceback (most recent call last):
...
ValueError: ('Not a valid policy name.', u'wrong')
Register the negotiator as a global utility:
>>> import zope.component
>>> zope.component.provideUtility(negotiator, INegotiator)
Now we can use the vocabulary and see what offered languages are available:
>>> from z3c.language.negotiator import vocabulary
>>> vocab = vocabulary.OfferedLanguagesVocabulary(None)
>>> vocab
<z3c.language.negotiator.vocabulary.OfferedLanguagesVocabulary object at ...>
>>> vocab._terms
[]
Add some offered languages and check the vocabulary again:
>>> negotiator.offeredLanguages = [u'de', u'fr']
>>> negotiator.offeredLanguages
[u'de', u'fr']
Try to get the utility and ceck the offeredLanguages again:
>>> util = zope.component.getUtility(INegotiator)
>>> util.offeredLanguages
[u'de', u'fr']
Now check the vocabulary again:
>>> vocab = vocabulary.OfferedLanguagesVocabulary(None)
>>> vocab._terms[0].value
u'de'
>>> vocab._terms[0].token
'de'
>>> vocab._terms[0].title
u'de'
>>> vocab._terms[1].value
u'fr'
>>> vocab._terms[1].token
'fr'
>>> vocab._terms[1].title
u'fr'
See ``tests.py`` for more tests.
| z3c.language.negotiator | /z3c.language.negotiator-1.1.3.tar.gz/z3c.language.negotiator-1.1.3/src/z3c/language/negotiator/README.txt | README.txt |
======
README
======
The package provides a simple access to a session for store a language.
>>> from zope.session.interfaces import ISession
>>> from zope.session.session import PersistentSessionDataContainer
>>> from zope.session import tests
>>> from z3c.language.session import interfaces
>>> from z3c.language.session import app
We have to setup a session data container and create a test request:
>>> request = tests.setUp(PersistentSessionDataContainer)
We can simply create a session with the request as attribute:
>>> langSession = app.LanguageSession(request)
Such a session provides ILanguageSession:
>>> interfaces.ILanguageSession.providedBy(langSession)
True
And the base ISession interface:
>>> ISession.providedBy(langSession)
True
getLanguage
-----------
We can check if there is a language set in the session with getLanguage. If no
language is set, it should be None:
>>> langSession.getLanguage()
setLanguage
-----------
The session provides setLanguage which can set a language:
>>> langSession.setLanguage('de')
Now we should get the new language stored in the session:
>>> langSession.getLanguage()
'de'
| z3c.language.session | /z3c.language.session-1.0.2.zip/z3c.language.session-1.0.2/src/z3c/language/session/README.txt | README.txt |
##############################################################################
#
# Copyright (c) 2005 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""
$Id: views.py 69742 2006-08-23 22:17:00Z rogerineichen $
"""
__docformat__ = 'restructuredtext'
import zope.interface
import zope.component
from zope.publisher.browser import BrowserView
from z3c.language.session import IGetLanguage
from z3c.language.session import IHasLanguage
from z3c.language.session import ILanguageSession
from z3c.language.session import ISetLanguage
class LanguageSessionView(BrowserView):
zope.interface.implements(IHasLanguage, IGetLanguage, ISetLanguage)
def hasLanguage(self):
"""View for to check if a session has a i18n language value."""
try:
session = ILanguageSession(self.request)
lang = session.getLanguage()
if lang:
return True
else:
return False
except zope.component.ComponentLookupError:
return False
def getLanguage(self):
"""View for to check if a session has a i18n language value."""
_fallback = 'en'
try:
session = ILanguageSession(self.request)
return session.getLanguage()
except AttributeError:
return _fallback
def setLanguage(self):
"""Set the given language in the request to the session.
You can do it via the javascript sessionlanguage.js with the
javascript method setLanguage:
javascript:setLanguage('@@setLanguage','de')
Or send the request to the view '@@setLanguage'. There has to be a
variable 'language' and 'nextURL' in the request like
"""
nextURL = '.'
if "language" in self.request:
lang = self.request['language']
if "nextURL" in self.request:
nextURL = self.request['nextURL']
if lang:
session = ILanguageSession(self.request)
session.setLanguage(lang)
self.request.response.redirect(nextURL) | z3c.language.session | /z3c.language.session-1.0.2.zip/z3c.language.session-1.0.2/src/z3c/language/session/browser/views.py | views.py |
__docformat__ = 'restructuredtext'
import zope.interface
from zope.schema.interfaces import IVocabularyTokenized
class IReadI18n(zope.interface.Interface):
"""Let the language switch to the desired language.
Support add and remove objects of a language.
"""
def getDefaultLanguage():
"""Return the default language."""
def getPreferedLanguage():
"""Return the best matching language."""
def getAvailableLanguages():
"""Find all the languages that are available."""
def getAttribute(name, language=None):
"""Get name attribute of the language specific translation.
Parameter:
name -- Attribute name.
language -- Language code for example 'de'. If None the default language
is returned.
Return Value:
object -- Evaluate of the language specific data object.
Exceptions:
KeyError -- If attribute or language code does not exists.
"""
def queryAttribute(name, language=None, default=None):
"""Get name attribute of the language specific translation or default.
Parameter:
name -- Attribute name.
language -- Language code for example 'de'. If None the default language
is returned.
default -- Any object.
Return Value:
object -- Evaluate of the language specific data object or return default
if not found.
"""
class IWriteI18n(zope.interface.Interface):
"""Let the language switch to the desired language.
Support add and remove objects of a language.
"""
def setDefaultLanguage(language):
"""Set the default language, which will be used if the language is not
specified, or not available.
"""
def addLanguage(language, *args, **kw):
"""Add a i18n base object of the i18n type. The ``*args``, ``**kw``
can be used for the constructor of a new sub object.
"""
def removeLanguage(language):
"""Remove the object under the given language."""
def setAttributes(language, **kws):
"""Set the language specific attribute of the translation defined by kw.
Parameter:
language -- Language code for example ``'de'``
kws -- Attributes that have to be set as keyword value pairs.
Exceptions:
KeyError -- If attribute does not exists.
"""
class II18n(IReadI18n, IWriteI18n):
"""Read and write support for I18n objects."""
class II18nLanguageSwitch(zope.interface.Interface):
"""Let the language switch to the desired language."""
def getLanguage():
"""Returns the used language."""
def setLanguage(language):
"""Sets the language for useing in the adapter."""
class IAvailableLanguages(zope.interface.Interface):
def getAvailableLanguages():
"""Returns a list of available languages if we provide IReadI18n."""
def hasAvailableLanguages():
"""View for to check if we have i18n support on a context."""
class IAvailableLanguagesVocabulary(IVocabularyTokenized):
"""Available languages.""" | z3c.language.switch | /z3c.language.switch-1.1.0.zip/z3c.language.switch-1.1.0/src/z3c/language/switch/interfaces.py | interfaces.py |
__docformat__ = 'restructuredtext'
import zope.interface
from z3c.language.switch import II18n
from z3c.language.switch import II18nLanguageSwitch
class I18nLanguageSwitch(object):
"""Mixing class for switch a language on a object.
Use the method _getI18n for set the i18n object.
"""
zope.interface.implements(II18nLanguageSwitch)
_language = 'en'
def __init__(self, context):
self.context = context
self.i18n = self._getI18n()
self._language = self._getDefaultLanguage()
def _getDefaultLanguage(self):
"""Subclasses may overwrite this method."""
return self.i18n.getDefaultLanguage()
def _getI18n(self):
"""Subclasses may overwrite this method."""
return self.context
# II18nLanguageSwitch interface
def getLanguage(self):
"""See `z3c.langauge.switch.interfaces.II18nLanguageSwitch`"""
return self._language
def setLanguage(self, language):
"""See `z3c.langauge.switch.interfaces.II18nLanguageSwitch`"""
self._language = language
class I18nAdapter(object):
"""Mixing class for i18n adapters which must provide the adapted object
under the attribute 'self.i18n'.
"""
zope.interface.implements(II18n)
# z3c.langauge.switch.IReadI18n
def getAvailableLanguages(self):
"""See `z3c.langauge.switch.interfaces.IReadI18n`"""
return self.i18n.getAvailableLanguages()
def getDefaultLanguage(self):
"""See `z3c.langauge.switch.interfaces.IReadI18n`"""
return self.i18n.getDefaultLanguage()
def getPreferedLanguage(self):
"""See `z3c.langauge.switch.interfaces.IReadI18n`"""
return self.i18n.getPreferedLanguage()
def getAttribute(self, name, language=None):
return self.i18n.getAttribute(name, language)
def queryAttribute(self, name, language=None, default=None):
return self.i18n.queryAttribute(name, language, default)
# z3c.langauge.switch.IWriteI18n interface
def setDefaultLanguage(self, language):
"""See `z3c.langauge.switch.interfaces.IWriteI18n`"""
return self.i18n.setDefaultLanguage(language)
def addLanguage(self, language, *args, **kw):
"""See `z3c.langauge.switch.interfaces.IWriteI18n`"""
return self.i18n.addLanguage(language, *args, **kw)
def removeLanguage(self, language):
"""See `z3c.langauge.switch.interfaces.IWriteI18n`"""
self.i18n.removeLanguage(language)
def setAttributes(self, language, **kws):
"""See `z3c.langauge.switch.interfaces.IWriteI18n`"""
self.i18n.setAttributes(language, **kws) | z3c.language.switch | /z3c.language.switch-1.1.0.zip/z3c.language.switch-1.1.0/src/z3c/language/switch/adapters.py | adapters.py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.