Changeset 1740

Show
Ignore:
Timestamp:
2008-03-20 07:48:50 (7 months ago)
Author:
martinkou
Message:

Fixed #1991 : Updated Catalan language file.

Location:
FCKeditor/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/lang/ca.js

    r1565 r1740  
    2727Dir                                     : "ltr", 
    2828 
    29 ToolbarCollapse         : "Col·lapsa la barra", 
    30 ToolbarExpand           : "Amplia la barra", 
     29ToolbarCollapse         : "Redueix la barra d'eines", 
     30ToolbarExpand           : "Amplia la barra d'eines", 
    3131 
    3232// Toolbar Items and Context Menu 
    3333Save                            : "Desa", 
    3434NewPage                         : "Nova Pàgina", 
    35 Preview                         : "Vista Prèvia", 
     35Preview                         : "Visualització prèvia", 
    3636Cut                                     : "Retalla", 
    3737Copy                            : "Copia", 
     
    5959InsertSmileyLbl         : "Icona", 
    6060InsertSmiley            : "Insereix icona", 
    61 About                           : "Quant a FCKeditor", 
     61About                           : "Quant a l'FCKeditor", 
    6262Bold                            : "Negreta", 
    6363Italic                          : "Cursiva", 
     
    6666Subscript                       : "Subíndex", 
    6767Superscript                     : "Superíndex", 
    68 LeftJustify                     : "Aliniament esquerra", 
    69 CenterJustify           : "Aliniament centrat", 
    70 RightJustify            : "Aliniament dreta", 
    71 BlockJustify            : "Justifica", 
    72 DecreaseIndent          : "Sagna el text", 
    73 IncreaseIndent          : "Treu el sagnat del text", 
     68LeftJustify                     : "Alinia a l'esquerra", 
     69CenterJustify           : "Centrat", 
     70RightJustify            : "Alinia a la dreta", 
     71BlockJustify            : "Justificat", 
     72DecreaseIndent          : "Redueix el sagnat", 
     73IncreaseIndent          : "Augmenta el sagnat", 
    7474Blockquote                      : "Bloc de cita", 
    7575Undo                            : "Desfés", 
    7676Redo                            : "Refés", 
    7777NumberedListLbl         : "Llista numerada", 
    78 NumberedList            : "Aplica o elimina la llista numerada", 
     78NumberedList            : "Numeració activada/desactivada", 
    7979BulletedListLbl         : "Llista de pics", 
    80 BulletedList            : "Aplica o elimina la llista de pics", 
     80BulletedList            : "Pics activats/descativats", 
    8181ShowTableBorders        : "Mostra les vores de les taules", 
    8282ShowDetails                     : "Mostra detalls", 
     
    144144FormProp                        : "Propietats del formulari", 
    145145 
    146 FontFormats                     : "Normal;Formatejat;Adreça;Encapçalament 1;Encapçalament 2;Encapçalament 3;Encapçalament 4;Encapçalament 5;Encapçalament 6", 
     146FontFormats                     : "Normal;Formatejat;Adreça;Encapçalament 1;Encapçalament 2;Encapçalament 3;Encapçalament 4;Encapçalament 5;Encapçalament 6;Normal (DIV)", 
    147147 
    148148// Alerts and Messages 
     
    375375// Speller Pages Dialog 
    376376DlgSpellNotInDic                : "No és al diccionari", 
    377 DlgSpellChangeTo                : "Canvia a", 
     377DlgSpellChangeTo                : "Reemplaça amb", 
    378378DlgSpellBtnIgnore               : "Ignora", 
    379379DlgSpellBtnIgnoreAll    : "Ignora-les totes", 
     
    381381DlgSpellBtnReplaceAll   : "Canvia-les totes", 
    382382DlgSpellBtnUndo                 : "Desfés", 
    383 DlgSpellNoSuggestions   : "Cap sugerència", 
    384 DlgSpellProgress                : "Comprovació ortogràfica en progrés", 
    385 DlgSpellNoMispell               : "Comprovació ortogràfica completada", 
    386 DlgSpellNoChanges               : "Comprovació ortogràfica: cap paraulada canviada", 
    387 DlgSpellOneChange               : "Comprovació ortogràfica: una paraula canviada", 
    388 DlgSpellManyChanges             : "Comprovació ortogràfica %1 paraules canviades", 
    389  
    390 IeSpellDownload                 : "Comprovació ortogràfica no instal·lada. Voleu descarregar-ho ara?", 
     383DlgSpellNoSuggestions   : "Cap suggeriment", 
     384DlgSpellProgress                : "Verificació ortogràfica en curs...", 
     385DlgSpellNoMispell               : "Verificació ortogràfica acabada: no hi ha cap paraula mal escrita", 
     386DlgSpellNoChanges               : "Verificació ortogràfica: no s'ha canviat cap paraula", 
     387DlgSpellOneChange               : "Verificació ortogràfica: s'ha canviat una paraula", 
     388DlgSpellManyChanges             : "Verificació ortogràfica: s'han canviat %1 paraules", 
     389 
     390IeSpellDownload                 : "Verificació ortogràfica no instal·lada. Voleu descarregar-ho ara?", 
    391391 
    392392// Button Dialog 
     
    431431DlgTextName                     : "Nom", 
    432432DlgTextValue            : "Valor", 
    433 DlgTextCharWidth        : "Amplada de caràcter", 
    434 DlgTextMaxChars         : "Màxim de caràcters", 
     433DlgTextCharWidth        : "Amplada", 
     434DlgTextMaxChars         : "Nombre màxim de caràcters", 
    435435DlgTextType                     : "Tipus", 
    436436DlgTextTypeText         : "Text", 
     
    452452DlgLstTypeLCase         : "Lletres minúscules (a, b, c)", 
    453453DlgLstTypeUCase         : "Lletres majúscules (A, B, C)", 
    454 DlgLstTypeSRoman        : "Números romans minúscules (i, ii, iii)", 
    455 DlgLstTypeLRoman        : "Números romans majúscules (I, II, III)", 
     454DlgLstTypeSRoman        : "Números romans en minúscules (i, ii, iii)", 
     455DlgLstTypeLRoman        : "Números romans en majúscules (I, II, III)", 
    456456 
    457457// Document Properties Dialog 
     
    502502Templates                       : "Plantilles", 
    503503DlgTemplatesTitle       : "Contingut plantilles", 
    504 DlgTemplatesSelMsg      : "Si us plau, seleccioneu la plantilla per obrir en l'editor<br>(el contingut actual no serà enregistrat):", 
     504DlgTemplatesSelMsg      : "Si us plau, seleccioneu la plantilla per obrir a l'editor<br>(el contingut actual no serà enregistrat):", 
    505505DlgTemplatesLoading     : "Carregant la llista de plantilles. Si us plau, espereu...", 
    506506DlgTemplatesNoTpl       : "(No hi ha plantilles definides)", 
  • FCKeditor/trunk/editor/_source/classes/fckstyle.js

    r1716 r1740  
    820820                                results.push( value ) ; 
    821821                        } ) ; 
    822  
     822                 
    823823                // Assigning innerHTML to <PRE> in IE causes all linebreaks to be reduced to spaces. 
    824824                // Assigning outerHTML to <PRE> in IE doesn't work if the <PRE> isn't contained in another node 
     
    858858                var doc = range.Window.document ; 
    859859 
     860                var preBlocks = [] ; 
     861                var convertedPreBlocks = [] ; 
     862 
    860863                while( ( block = iterator.GetNextParagraph() ) )                // Only one = 
    861864                { 
     
    867870                        var blockIsPre = block.nodeName.IEquals( 'pre' ) ; 
    868871                        if ( newBlockIsPre && !blockIsPre ) 
     872                        { 
    869873                                newBlock = this._ToPre( doc, block, newBlock ) ; 
     874                                preBlocks.push( newBlock ) ; 
     875                        } 
    870876                        else if ( !newBlockIsPre && blockIsPre ) 
     877                        { 
    871878                                newBlock = this._FromPre( doc, block, newBlock ) ; 
     879                                convertedPreBlocks.push( newBlock ) ; 
     880                        } 
    872881                        else    // Convering from a regular block to another regular block. 
    873882                                FCKDomTools.MoveChildren( block, newBlock ) ; 
     
    876885                        block.parentNode.insertBefore( newBlock, block ) ; 
    877886                        FCKDomTools.RemoveNode( block ) ; 
     887                } 
     888 
     889                // Merge adjacent <PRE> blocks for #1229. 
     890                for ( var i = 0 ; i < preBlocks.length - 1 ; i++ ) 
     891                { 
     892                        // Check if the next block in HTML equals the next <PRE> block generated. 
     893                        if ( FCKDomTools.GetNextSourceElement( preBlocks[i], true, [], [], true ) != preBlocks[i+1] ) 
     894                                continue ; 
     895 
     896                        // Merge the upper <PRE> block's content into the lower <PRE> block. 
     897                        // Remove the upper <PRE> block. 
     898                        preBlocks[i+1].innerHTML = preBlocks[i].innerHTML + '\n\n' + preBlocks[i+1].innerHTML ; 
     899                        FCKDomTools.RemoveNode( preBlocks[i] ) ; 
     900                } 
     901 
     902                // Split converted <PRE> blocks for #1229. 
     903                for ( var i = 0 ; i < convertedPreBlocks.length ; i++ ) 
     904                { 
     905                        var currentBlock = convertedPreBlocks[i] ; 
     906                        var lastNewBlock = null ; 
     907                        for ( var j = 0 ; j < currentBlock.childNodes.length ; j++ ) 
     908                        { 
     909                                var cursor = currentBlock.childNodes[j] ; 
     910 
     911                                // If we have two <BR>s, and they're not at the beginning or the end, 
     912                                // then we'll split up the contents following them into another block. 
     913                                if ( cursor.nodeName.IEquals( 'br' ) && j != 0 && j != currentBlock.childNodes.length - 2 
     914                                                && cursor.nextSibling && cursor.nextSibling.nodeName.IEquals( 'br' ) ) 
     915                                { 
     916                                        FCKDomTools.RemoveNode( cursor.nextSibling ) ; 
     917                                        FCKDomTools.RemoveNode( cursor ) ; 
     918                                        j-- ;   // restart at current index at next iteration 
     919                                        lastNewBlock = FCKDomTools.InsertAfterNode( lastNewBlock || currentBlock, doc.createElement( currentBlock.nodeName ) ) ; 
     920                                        continue ; 
     921                                } 
     922 
     923                                if ( lastNewBlock ) 
     924                                { 
     925                                        FCKDomTools.MoveNode( cursor, lastNewBlock ) ; 
     926                                        j-- ;   // restart at current index at next iteration 
     927                                } 
     928                        } 
    878929                } 
    879930 
  • FCKeditor/trunk/_whatsnew.html

    r1736 r1740  
    239239                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1868">#1868</a>] Links 
    240240                        to file browser has been changed to avoid requests containing double dots.</li> 
     241                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1229">#1229</a>] Converting 
     242                        multiple contiguous paragraphs to Formatted will now be merged into a single  
     243                        &lt;PRE&gt; block.</li> 
    241244        </ul> 
    242245        <p>