Ticket #1569: 1569.patch

File 1569.patch, 25.3 KB (added by Artur Formella, 16 years ago)
  • FCKeditor.body.php

     
    327327                        $parser->setOutputType(OT_HTML);
    328328                        $form->textbox1 = $parser->parse($form->textbox1, $wgTitle, $options)->getText();
    329329                }
     330                $userLang = $wgUser->getOption( 'language' );
    330331
    331332                $printsheet = htmlspecialchars( "$wgStylePath/common/wikiprintable.css?$wgStyleVersion" );
    332333
     
    381382oFCKeditor.Config["CustomConfigurationsPath"] = "'.$wgScriptPath.'/'.$wgFCKEditorExtDir.'/fckeditor_config.js" ;
    382383oFCKeditor.Config["EditorAreaCSS"] = "'.$wgScriptPath.'/'.$wgFCKEditorExtDir.'/css/fckeditor.css" ;
    383384oFCKeditor.ToolbarSet = "'. $wgFCKEditorToolbarSet .'" ;
     385oFCKeditor.Config[ "AutoDetectLanguage" ] = false ;
     386oFCKeditor.Config[ "DefaultLanguage" ] = "'.$userLang.'" ;
    384387oFCKeditor.ready = true;
    385388';
    386389                $script .= '</script>';
     
    562565                }
    563566        }
    564567}
     568
     569//#1569
     570function plural( thingsToCount, found0, found1, foundSeveral, foundMore ) {     /* english: use the same foundSeveral and foundMore */
     571        var cnt = thingsToCount.length;
     572
     573        if ( cnt == 0 || ( cnt == 1 && thingsToCount[0].length == 0 ) )
     574                return ( found0 );
     575
     576        if ( cnt == 1 )
     577                return ( found1 );
     578
     579        var foundMsg = foundMore;
     580        switch ( cnt % 10 ) {
     581                case 2:
     582                case 3:
     583                case 4:
     584                        if ( cnt / 10 % 10 != 1)
     585                                foundMsg = foundSeveral;
     586                        break;
     587                default:
     588                        break;
     589        }
     590        return ( foundMsg.replace( '%s', cnt ) );
     591}
     592
    565593function checkSelected()
    566594{
    567595        if (!selText) {
  • FCKeditor.popup.html

     
    7070        return true;
    7171}
    7272
     73//#1569
     74function plural( thingsToCount, found0, found1, foundSeveral, foundMore ) {
     75        return popup.window.parent.plural( thingsToCount, found0, found1, foundSeveral, foundMore );
     76}
    7377        </script>
    7478</head>
    7579<body style="margin:0px 0px 10px;">
  • fckeditor_config.js

     
    2323        ['FitWindow','-','About']
    2424] ;
    2525
     26var MediaWikiPluginLanguage = parent.window.oFCKeditor.Config[ "DefaultLanguage" ];
    2627// Load the extension plugins.
    2728FCKConfig.PluginsPath = FCKConfig.EditorPath + '../plugins/' ;
    28 FCKConfig.Plugins.Add( 'mediawiki' ) ;
     29FCKConfig.Plugins.Add( 'mediawiki', MediaWikiPluginLanguage) ;
    2930
    3031FCKConfig.ForcePasteAsPlainText = true ;
    3132FCKConfig.FontFormats   = 'p;h1;h2;h3;h4;h5;h6;pre' ;
    3233
    33 FCKConfig.AutoDetectLanguage    = false ;
    34 FCKConfig.DefaultLanguage               = 'en' ;
     34//FCKConfig.AutoDetectLanguage  = false ;
     35//FCKConfig.DefaultLanguage             = 'en' ;
    3536
    3637// FCKConfig.DisableObjectResizing = true ;
    3738
  • plugins/mediawiki/dialogs/image.html

     
    191191                ClearSearch() ;
    192192
    193193                if ( link.length == 0 )
    194                         SetSearchMessage( 'start typing in the above field' ) ;
     194                        SetSearchMessage( FCKLang.wikiImgStartTyping ) ;
    195195                else
    196                         SetSearchMessage( 'too short... type more' ) ;
     196                        SetSearchMessage( FCKLang.wikiImgTooShort ) ;
    197197                return ;
    198198        }
    199199
    200         SetSearchMessage( 'stop typing to search' ) ;
     200        SetSearchMessage( FCKLang.wikiImgStopTyping ) ;
    201201        searchTimer = window.setTimeout( StartSearch, 500 ) ;
    202202}
    203203
     
    222222
    223223        ClearSearch() ;
    224224
    225         if ( results.length == 0 || ( results.length == 1 && results[0].length == 0 ) )
    226         {
    227                 SetSearchMessage( 'no images found' ) ;
    228         }
    229         else
    230         {
    231                 if ( results.length == 1 )
    232                         SetSearchMessage( 'one image found' ) ;
    233                 else
    234                         SetSearchMessage( results.length + ' images found' ) ;
    235 
     225        SetSearchMessage( window.parent.parent.plural( results,
     226                                                                FCKLang.wikiImgSearchNothing,
     227                                                                FCKLang.wikiImgSearch1Found,
     228                                                                FCKLang.wikiImgSearchSeveral,
     229                                                                FCKLang.wikiImgSearchALot ) );
    236230                for ( var i = 0 ; i < results.length ; i++ )
    237231                        FCKTools.AddSelectOption( select, results[i], results[i] ) ;
    238         }
    239232}
    240233
     234
    241235function ClearSearch()
    242236{
    243237        var select = GetE( 'xWikiResults' ) ;
     
    280274                <table cellspacing="1" cellpadding="1" border="0" width="100%">
    281275                        <tr valign="center">
    282276                                <td>
    283                                         <span>Image file name</span><br />
     277                                        <span fcklang="wikiImgFileName"></span><br />
    284278                                        <input id="txtUrl" style="width: 100%" type="text" onkeyup="OnUrlChange();" />
    285279                                        <br />
    286                                         Automatic search results (<span id="xWikiSearchStatus">start typing in the above field</span>)<br />
     280                                        <span fcklang="wikiImgAutomatic"></span> <b>(<span fcklang="wikiImgStartTyping" id="xWikiSearchStatus"></span>)</b><br />
    287281                                        <select id="xWikiResults" size="5" style="width: 100%; height: 70px" onclick="SetUrl( this.value );UpdatePreview();">
    288282                                        </select>
    289283                                </td>
     
    293287                        </tr>
    294288                        <tr>
    295289                                <td colspan="2">
    296                                         <span>Caption</span><br />
     290                                        <span fcklang="wikiImgCaption"></span><br />
    297291                                        <input id="txtAlt" style="width: 100%" type="text"><br />
    298292                                </td>
    299293                        </tr>
     
    302296                                        <table cellspacing="0" cellpadding="0" border="0">
    303297                                                <tr>
    304298                                                        <td nowrap="nowrap">
    305                                                                 Special Type<br />
     299                                                                <span fcklang="wikiImgType"></span><br />
    306300                                                                <select id="xType">
    307301                                                                        <option value="" selected="selected"></option>
    308                                                                         <option value="thumb">Thumbnail</option>
    309                                                                         <option value="frame">Frame</option>
    310                                                                         <option value="border">Border</option>
     302                                                                        <option fcklang="wikiImgTypeThumb" value="thumb"></option>
     303                                                                        <option fcklang="wikiImgTypeFrame" value="frame"></option>
     304                                                                        <option fcklang="wikiImgTypeBorder" value="border"></option>
    311305                                                                </select>
    312306                                                        </td>
    313307                                                        <td style="padding-left:7px;">
    314308                                                                <span fcklang="DlgImgAlign">Align</span><br />
    315309                                                                <select id="cmbAlign" onchange="UpdatePreview();">
    316310                                                                        <option value="" selected></option>
    317                                                                         <option fcklang="DlgImgAlignRight" value="right">Right</option>
    318                                                                         <option fcklang="DlgImgAlignLeft" value="left">Left</option>
    319                                                                         <option value="center">Center</option>
     311                                                                        <option fcklang="DlgImgAlignRight" value="right"></option>
     312                                                                        <option fcklang="DlgImgAlignLeft" value="left"></option>
     313                                                                        <option fcklang="wikiImgAlignLeft" value="center"></option>
    320314                                                                </select>
    321315                                                        </td>
    322316                                                        <td style="padding-left:7px;">
    323                                                                 <span fcklang="DlgImgWidth">Width</span><br />
     317                                                                <span fcklang="DlgImgWidth"></span><br />
    324318                                                                <input type="text" size="3" id="txtWidth">
    325319                                                        </td>
    326320                                                        <td style="padding-left:7px;">
    327                                                                 <span fcklang="DlgImgHeight">Height</span><br />
     321                                                                <span fcklang="DlgImgHeight"></span><br />
    328322                                                                <input type="text" size="3" id="txtHeight">
    329323                                                        </td>
    330324                                                </tr>
  • plugins/mediawiki/dialogs/link.html

     
    9090               
    9191        if ( link.StartsWith( '#' ) )
    9292        {
    93                 SetSearchMessage( 'anchor link... no search for it' ) ;
     93                SetSearchMessage( FCKLang.wikiLnkNoSearchAnchor ) ;
    9494                return ;
    9595        }
    9696       
    9797        if ( link.StartsWith( 'mailto:' ) )
    9898        {
    99                 SetSearchMessage( 'e-mail link... no search for it' ) ;
     99                SetSearchMessage( FCKLang.wikiLnkNoSearchMail ) ;
    100100                return ;
    101101        }
    102102       
    103103        if( /^\w+:\/\//.test( link ) )
    104104        {
    105                 SetSearchMessage( 'external link... no search for it' ) ;
     105                SetSearchMessage( FCKLang.wikiLnkNoSearchExt ) ;
    106106                return ;
    107107        }
    108108
     
    111111                ClearSearch() ;
    112112
    113113                if ( link.length == 0 )
    114                         SetSearchMessage( 'start typing in the above field' ) ;
     114                        SetSearchMessage( FCKLang.wikiLnkStartTyping ) ;
    115115                else
    116                         SetSearchMessage( 'too short... type more' ) ;
     116                        SetSearchMessage( FCKLang.wikiLnkTooShort ) ;
    117117                return ;
    118118        }
    119119       
    120         SetSearchMessage( 'stop typing to search' ) ;
     120        SetSearchMessage( FCKLang.wikiLnkStopTyping ) ;
    121121        searchTimer = window.setTimeout( StartSearch, 500 ) ;
    122122}
    123123
     
    128128        if ( link.length < 3  )
    129129                return ;
    130130
    131         SetSearchMessage( 'searching...' ) ;
     131        SetSearchMessage( FCKLang.wikiLnkSearching ) ;
    132132
    133133        // Make an Ajax search for the pages.
    134134        oEditor.window.parent.sajax_request_type = 'GET' ;
     
    141141        var select = GetE( 'xWikiResults' ) ;
    142142       
    143143        ClearSearch() ;
    144 
    145         if ( results.length == 0 || ( results.length == 1 && results[0].length == 0 ) )
    146         {
    147                 SetSearchMessage( 'no articles found' ) ;
    148         }
    149         else
    150         {
    151                 if ( results.length == 1 )
    152                         SetSearchMessage( 'one article found' ) ;
    153                 else
    154                         SetSearchMessage( results.length + ' articles found' ) ;
    155 
     144        //#1569
     145        SetSearchMessage( window.parent.parent.plural( results,
     146                                                                FCKLang.wikiLnkSearchNothing,
     147                                                                FCKLang.wikiLnkSearch1Found,
     148                                                                FCKLang.wikiLnkSearchSeveral,
     149                                                                FCKLang.wikiLnkSearchALot ) );
     150                                                               
    156151                for ( var i = 0 ; i < results.length ; i++ )
    157152                        FCKTools.AddSelectOption( select, results[i], results[i] ) ;
    158         }
    159153}
    160154
    161155function ClearSearch()
     
    232226<body scroll="no" style="overflow: hidden">
    233227        <div id="divInfo">
    234228                <div id="divLinkTypeUrl">
    235                         <span>Link</span><br />
     229                        <span fcklang="wikiLnk"></span><br />
    236230                        <input id="txtUrl" style="width: 100%" type="text" onkeyup="OnUrlChange();" />
    237231                        <br />
    238                         Automatic search results (<span id="xWikiSearchStatus">start typing in the above field</span>)<br />
     232                        <span fcklang="wikiLnkAutomatic"></span> (<span fcklang="wikiLnkStartTyping" id="xWikiSearchStatus"></span>)<br />
    239233                        <select id="xWikiResults" size="10" style="width: 100%; height:150px" onclick="SetUrl( this.value );">
    240234                        </select>
    241235                </div>
  • plugins/mediawiki/dialogs/math.html

     
    7676       
    7777        if ( formula.length == 0 )
    7878        {
    79                 alert( 'Please type the formula' ) ;
     79                alert( FCKLang.wikiTeXEmpty ) ;
    8080                return false ;
    8181        }
    8282
     
    126126                <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
    127127                        <tr>
    128128                                <td>
    129                                         <span>Formula (TeX markup)</span>
     129                                        <span fcklang="wikiTeX"></span>
    130130                                </td>
    131131                        </tr>
    132132                        <tr>
  • plugins/mediawiki/dialogs/ref.html

     
    103103                <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
    104104                        <tr>
    105105                                <td>
    106                                         <span>Reference text (Wikitext)</span>
     106                                        <span fcklang="wikiRef"></span>
    107107                                </td>
    108108                        </tr>
    109109                        <tr>
     
    114114                        </tr>
    115115                        <tr>
    116116                                <td>
    117                                         Reference name (optional)<br />
     117                                        <span fcklang="wikiRefName"></span><br />
    118118                                        <input id="xRefName" type="text" size="15" />
    119119                                </td>
    120120                        </tr>
  • plugins/mediawiki/dialogs/special.html

     
    200200                <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
    201201                        <tr>
    202202                                <td>
    203                                         <span>Current Special Tag:</span>
     203                                        <span fcklang="wikiSpTag"></span>:
    204204                                        <select id="xSelectTag" onchange="LoadDocumentation()">
    205205                                        </select><br>
    206206                                        <i><span id="xDefinition"></span></i>
     
    209209                        <tr>
    210210                                <td>
    211211                                        <hr>
    212                                         Special tag parameters:
     212                                        <span fcklang="wikiSpParam"></span>:
    213213                        </tr>
    214214                        <tr>
    215215                                <td height="100%">
  • plugins/mediawiki/dialogs/template.html

     
    4343//#### Dialog Tabs
    4444
    4545// Set the dialog tabs.
    46 window.parent.AddTab( 'Edit', 'Edit' ) ;
    47 window.parent.AddTab( 'Manual', 'Manual' ) ;
     46window.parent.AddTab( 'Edit', FCKLang.wikiTabEdit ) ;
     47window.parent.AddTab( 'Manual', FCKLang.wikiTabManual ) ;
    4848
    4949function OnDialogTabChange( tabCode )
    5050{
     
    132132       
    133133        if ( !( /^{{[\s\S]+}}$/.test( templateData ) ) )
    134134        {
    135                 alert( 'Templates must start with {{ and end with }}. Please check it.' ) ;
     135                alert( FCKLang.wikiTmplEmpty ) ;
    136136                return false ;
    137137        }
    138138       
     
    156156                <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
    157157                        <tr>
    158158                                <td>
    159                                         <span>Template raw definition (from {{ to }})</span><br />
     159                                        <span fcklang="wikiTmpl"></span><br />
    160160                                </td>
    161161                        </tr>
    162162                        <tr>
     
    176176                <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
    177177                        <tr>
    178178                                <select id="xWikiResults" style="width: 100%;" onchange="SetUrl( this.value );">
    179                                 <option value="">&lt;Pick up a template manual here&gt;</option>
     179                                <option fcklang="wikiTmpsel" value=""></option>
    180180                                </select>
    181181                        </tr>
    182182                        <tr>
  • plugins/mediawiki/fckplugin.js

     
    3232FCKToolbarItems.RegisterItem( 'Source', new FCKToolbarButton( 'Source', 'Wikitext', null, FCK_TOOLBARITEM_ICONTEXT, true, true, 1 ) ) ;
    3333
    3434// Register our toolbar buttons.
    35 var tbButton = new FCKToolbarButton( 'MW_Template', 'Template', 'Insert/Edit Template' ) ;
     35var tbButton = new FCKToolbarButton( 'MW_Template', 'Template',  FCKLang.wikiBtnTemplate ) ;
    3636tbButton.IconPath = FCKConfig.PluginsPath + 'mediawiki/images/tb_icon_template.gif' ;
    3737FCKToolbarItems.RegisterItem( 'MW_Template', tbButton ) ;
    3838
    39 tbButton = new FCKToolbarButton( 'MW_Ref', 'Reference', 'Insert/Edit Reference' ) ;
     39tbButton = new FCKToolbarButton( 'MW_Ref', 'Reference', FCKLang.wikiBtnReference ) ;
    4040tbButton.IconPath = FCKConfig.PluginsPath + 'mediawiki/images/tb_icon_ref.gif' ;
    4141FCKToolbarItems.RegisterItem( 'MW_Ref', tbButton ) ;
    4242
    43 tbButton = new FCKToolbarButton( 'MW_Math', 'Formula', 'Insert/Edit Formula' ) ;
     43tbButton = new FCKToolbarButton( 'MW_Math', 'Formula', FCKLang.wikiBtnFormula ) ;
    4444tbButton.IconPath = FCKConfig.PluginsPath + 'mediawiki/images/tb_icon_math.gif' ;
    4545FCKToolbarItems.RegisterItem( 'MW_Math', tbButton ) ;
    4646
    47 tbButton = new FCKToolbarButton( 'MW_Special', 'Special Tag', 'Insert/Edit Special Tag' ) ;
     47tbButton = new FCKToolbarButton( 'MW_Special', 'Special Tag', FCKLang.wikiBtnSpecial ) ;
    4848tbButton.IconPath = FCKConfig.PluginsPath + 'mediawiki/images/tb_icon_special.gif' ;
    4949FCKToolbarItems.RegisterItem( 'MW_Special', tbButton ) ;
    5050
    5151// Override some dialogs.
    52 FCKCommands.RegisterCommand( 'MW_Template', new FCKDialogCommand( 'MW_Template', 'Template Properties', FCKConfig.PluginsPath + 'mediawiki/dialogs/template.html', 400, 330 ) ) ;
    53 FCKCommands.RegisterCommand( 'MW_Ref', new FCKDialogCommand( 'MW_Ref', 'Reference Properties', FCKConfig.PluginsPath + 'mediawiki/dialogs/ref.html', 400, 250 ) ) ;
    54 FCKCommands.RegisterCommand( 'MW_Math', new FCKDialogCommand( 'MW_Math', 'Formula', FCKConfig.PluginsPath + 'mediawiki/dialogs/math.html', 400, 300 ) ) ;
    55 FCKCommands.RegisterCommand( 'MW_Special', new FCKDialogCommand( 'MW_Special', 'Special Tag Properties', FCKConfig.PluginsPath + 'mediawiki/dialogs/special.html', 400, 330 ) ) ; //YC
     52FCKCommands.RegisterCommand( 'MW_Template', new FCKDialogCommand( 'MW_Template', FCKLang.wikiCmdTemplate, FCKConfig.PluginsPath + 'mediawiki/dialogs/template.html', 400, 330 ) ) ;
     53FCKCommands.RegisterCommand( 'MW_Ref', new FCKDialogCommand( 'MW_Ref', FCKLang.wikiCmdReference, FCKConfig.PluginsPath + 'mediawiki/dialogs/ref.html', 400, 250 ) ) ;
     54FCKCommands.RegisterCommand( 'MW_Math', new FCKDialogCommand( 'MW_Math', FCKLang.wikiCmdFormula, FCKConfig.PluginsPath + 'mediawiki/dialogs/math.html', 400, 300 ) ) ;
     55FCKCommands.RegisterCommand( 'MW_Special', new FCKDialogCommand( 'MW_Special', FCKLang.wikiCmdSpecial, FCKConfig.PluginsPath + 'mediawiki/dialogs/special.html', 400, 330 ) ) ;
    5656FCKCommands.RegisterCommand( 'Link', new FCKDialogCommand( 'Link', FCKLang.DlgLnkWindowTitle, FCKConfig.PluginsPath + 'mediawiki/dialogs/link.html', 400, 250 ) ) ;
    5757FCKCommands.RegisterCommand( 'Image', new FCKDialogCommand( 'Image', FCKLang.DlgImgTitle, FCKConfig.PluginsPath + 'mediawiki/dialogs/image.html', 450, 300 ) ) ;
    5858
     
    805805                        // Hide the textarea to avoid seeing the code change.
    806806                        FCK.EditingArea.Textarea.style.visibility = 'hidden' ;
    807807                        var loading = document.createElement( 'span' ) ;
    808                         loading.innerHTML = '&nbsp;Loading Wikitext. Please wait...&nbsp;' ;
     808                        loading.innerHTML = '&nbsp;'+FCKLang.wikiLoadingWikitext+'&nbsp;';
    809809                        loading.style.position = 'absolute' ;
    810810                        loading.style.left = '5px' ;
    811811//                      loading.style.backgroundColor = '#ff0000' ;
     
    937937                        if ( tag.getAttribute( '_fck_mw_template' ) )
    938938                        {
    939939                                contextMenu.AddSeparator() ;
    940                                 contextMenu.AddItem( 'MW_Template', 'Template Properties' ) ;
     940                                contextMenu.AddItem( 'MW_Template', FCKLang.wikiMnuTemplate ) ;
    941941                        }
    942942                        if ( tag.getAttribute( '_fck_mw_magic' ) )
    943943                        {
    944944                                contextMenu.AddSeparator() ;
    945                                 contextMenu.AddItem( 'MW_MagicWord', 'Modify Magic Word' ) ;
     945                                contextMenu.AddItem( 'MW_MagicWord', FCKLang.wikiMnuMagicWord ) ;
    946946                        }
    947947                        if ( tag.getAttribute( '_fck_mw_ref' ) )
    948948                        {
    949949                                contextMenu.AddSeparator() ;
    950                                 contextMenu.AddItem( 'MW_Ref', 'Reference Properties' ) ;
     950                                contextMenu.AddItem( 'MW_Ref', FCKLang.wikiMnuReference ) ;
    951951                        }
    952952                        if ( tag.getAttribute( '_fck_mw_math' ) )
    953953                        {
    954954                                contextMenu.AddSeparator() ;
    955                                 contextMenu.AddItem( 'MW_Math', 'Edit Formula' ) ;
     955                                contextMenu.AddItem( 'MW_Math', FCKLang.wikiMnuFormula ) ;
    956956                        }
    957957                        if ( tag.getAttribute( '_fck_mw_special' ) || tag.getAttribute( '_fck_mw_nowiki' ) || tag.getAttribute( '_fck_mw_includeonly' ) || tag.getAttribute( '_fck_mw_noinclude' ) || tag.getAttribute( '_fck_mw_onlyinclude' ) || tag.getAttribute( '_fck_mw_gallery' )) //YC
    958958                        {
    959959                                contextMenu.AddSeparator() ;
    960                                 contextMenu.AddItem( 'MW_Special', 'Special Tag Properties' ) ;
     960                                contextMenu.AddItem( 'MW_Special', FCKLang.wikiMnuSpecial ) ;
    961961                        }
    962962                }
    963963        }
  • plugins/mediawiki/lang/en.js

     
     1/*
     2 * mediaWiki FCKeditor plugin
     3 *
     4 * English language file.
     5 */
     6
     7FCKLang.wikiTabEdit                                             = 'Edit';
     8FCKLang.wikiTabManual                                   = 'Manual';
     9
     10FCKLang.wikiBtnTemplate                         = 'Insert/Edit Template';
     11FCKLang.wikiBtnReference                        = 'Insert/Edit Reference';
     12FCKLang.wikiBtnFormula                          = 'Insert/Edit Formula';
     13FCKLang.wikiBtnSpecial                          = 'Insert/Edit Special Tag';
     14FCKLang.wikiCmdTemplate                         = 'Template Properties';
     15FCKLang.wikiCmdReference                        = 'Reference Properties';
     16FCKLang.wikiCmdFormula                          = 'Formula';
     17FCKLang.wikiLoadingWikitext             = 'Loading Wikitext. Please wait...';
     18FCKLang.wikiMnuTemplate                         = 'Template Properties';
     19FCKLang.wikiMnuMagicWord                        = 'Modify Magic Word';
     20FCKLang.wikiMnuReference                        = 'Reference Properties';
     21FCKLang.wikiMnuFormula                          = 'Edit Formula';
     22FCKLang.wikiCmdSpecial                          = 'Special Tag Properties';
     23FCKLang.wikiMnuSpecial                          = 'Special Tag Properties';
     24
     25FCKLang.wikiImgFileName                         = 'Image file name';
     26FCKLang.wikiImgNotice1                          = 'Image have to be uploded before';
     27FCKLang.wikiImgNotice2                          = 'use "Upload file" on the left side of the screen';
     28FCKLang.wikiImgCaption                          = 'Caption';
     29FCKLang.wikiImgType                                             = 'Special Type';
     30FCKLang.wikiImgTypeThumb                        = 'Thumbnail';
     31FCKLang.wikiImgTypeFrame                        = 'Frame';
     32FCKLang.wikiImgTypeBorder                       = 'Border';
     33FCKLang.wikiImgAlignLeft                        = 'Center';
     34
     35FCKLang.wikiImgAutomatic                        = 'Automatic search results';
     36FCKLang.wikiImgTooShort                         = 'too short... type more';
     37FCKLang.wikiImgStartTyping              = 'start typing in the above field';
     38FCKLang.wikiImgStopTyping                       = 'stop typing to search';
     39FCKLang.wikiImgSearching                        = 'searching...';
     40FCKLang.wikiImgSearchNothing    = 'no images found';
     41FCKLang.wikiImgSearch1Found             = 'one image found';
     42FCKLang.wikiImgSearchSeveral    = 'found %s images';
     43FCKLang.wikiImgSearchALot                       = 'found %s images';
     44
     45FCKLang.wikiLnk                                                         = 'Link';
     46FCKLang.wikiLnkAutomatic                        = 'Automatic search results';
     47FCKLang.wikiLnkNoSearchAnchor   = 'anchor link... no search for it';
     48FCKLang.wikiLnkNoSearchMail             = 'e-mail link... no search for it';
     49FCKLang.wikiLnkNoSearchExt              = 'external link... no search for it';
     50FCKLang.wikiLnkTooShort                         = 'too short... type more';
     51FCKLang.wikiLnkStartTyping              = 'start typing in the above field';
     52FCKLang.wikiLnkStopTyping                       = 'stop typing to search';
     53FCKLang.wikiLnkSearching                        = 'searching...';
     54FCKLang.wikiLnkSearchNothing    = 'no articles found';
     55FCKLang.wikiLnkSearch1Found             = 'one article found';
     56FCKLang.wikiLnkSearchSeveral    = '%s articles found';
     57FCKLang.wikiLnkSearchALot                       = '%s articles found';
     58
     59FCKLang.wikiTeX                                                         = 'Formula (TeX markup)';
     60FCKLang.wikiTeXEmpty                                    = 'Please type the formula';
     61
     62FCKLang.wikiSpTag                                                       = 'Current Special Tag';
     63FCKLang.wikiSpParam                                             = 'Special tag parameters';
     64
     65FCKLang.wikiRef                                                         = 'Reference text (Wikitext)';
     66FCKLang.wikiRefName                                             = 'Reference name (optional)';
     67
     68FCKLang.wikiTmpl                                                        = 'Template raw definition (from {{ to }})';
     69FCKLang.wikiTmplEmpty                                   = 'Templates must start with {{ and end with }}. Please check it.';
  • plugins/mediawiki/lang/pl.js

     
     1/*
     2 * mediaWiki FCKeditor plugin
     3 *
     4 * Polish language file.
     5 */     
     6
     7FCKLang.wikiTabEdit                                             = 'Edycja';
     8FCKLang.wikiTabManual                                   = 'Własny' ;
     9
     10FCKLang.wikiBtnTemplate                         = 'Wstaw/edytuj szablon';
     11FCKLang.wikiBtnReference                        = 'Wstaw/edytuj cytat';
     12FCKLang.wikiBtnFormula                          = 'Wstaw/edytuj formułę matematyczną';
     13FCKLang.wikiBtnSpecial                          = 'Wstaw/edytuj specialny znacznik';
     14FCKLang.wikiCmdTemplate                         = 'Właściwości szablonu';
     15FCKLang.wikiCmdReference                        = 'Właściwości cytatu';
     16FCKLang.wikiCmdFormula                          = 'Właściwości formuły matematycznej';
     17FCKLang.wikiLoadingWikitext             = '&nbsp;Konwertuję format wiki. Proszę czekać...&nbsp;';
     18FCKLang.wikiMnuTemplate                         = 'Właściwości szablonu';
     19FCKLang.wikiMnuMagicWord                        = 'Zmodyfikuj "magiczne słowo"';
     20FCKLang.wikiMnuReference                        = 'Właściwości cytatu';
     21FCKLang.wikiMnuFormula                          = 'Właściwości formuły matematycznej';
     22FCKLang.wikiCmdSpecial                          = 'Właściwości specialnego znacznika';
     23FCKLang.wikiMnuSpecial                          = 'Edytuj specialny znacznik';
     24
     25FCKLang.wikiImgFileName                         = 'Nazwa obrazka';
     26FCKLang.wikiImgNotice1                          = 'Obrazek musi być uprzednio zapisany';
     27FCKLang.wikiImgNotice2                          = 'patrz menu "Prześlij plik" z lewej strony ekranu.';
     28FCKLang.wikiImgCaption                          = 'Tytuł/tekst zastępczy';
     29FCKLang.wikiImgType                                             = "Typ";
     30FCKLang.wikiImgTypeThumb                        = 'Podgląd';
     31FCKLang.wikiImgTypeFrame                        = 'Ramka+podpis';
     32FCKLang.wikiImgTypeBorder                       = 'Ramka';
     33FCKLang.wikiImgAlignLeft                        = 'Do środka';
     34
     35FCKLang.wikiImgAutomatic                        = 'Wyniki wyszukiwania';
     36FCKLang.wikiImgTooShort                         = 'za mało liter... napisz coś jeszcze';
     37FCKLang.wikiImgStartTyping              = 'zacznij pisać w polu powyżej';
     38FCKLang.wikiImgStopTyping                       = 'przestań pisać, by rozpocząć wyszukiwanie';
     39FCKLang.wikiImgSearching                        = 'wyszukiwanie...';
     40FCKLang.wikiImgSearchNothing    = 'nie znaleziono żadnego obrazka';
     41FCKLang.wikiImgSearch1Found             = 'znaleziono jeden&nbsp;obrazek';
     42FCKLang.wikiImgSearchSeveral    = 'znaleziono %s&nbsp;obrazki';
     43FCKLang.wikiImgSearchALot                       = 'znaleziono %s&nbsp;obrazków';
     44
     45FCKLang.wikiLnk                                                         = 'Hiperłącze';
     46FCKLang.wikiLnkAutomatic                        = 'Wyniki wyszukiwania';
     47FCKLang.wikiLnkNoSearchAnchor   = 'Kotwica... nie da się wyszukać';
     48FCKLang.wikiLnkNoSearchMail             = 'Adres pocztowy... nie da się wyszukać';
     49FCKLang.wikiLnkNoSearchExt              = 'Łącze do zewnętrzne... nie da się wyszukać';
     50FCKLang.wikiLnkTooShort                         = 'za mało liter ay wyszukać';
     51FCKLang.wikiLnkStartTyping              = 'zacznij pisać w polu powyżej';
     52FCKLang.wikiLnkStopTyping                       = 'przestań pisać, by rozpocząć wyszukiwanie';
     53FCKLang.wikiLnkSearching                        = 'wyszukiwanie...';
     54FCKLang.wikiLnkSearchNothing    = 'nie znaleziono żadnego artykułu';
     55FCKLang.wikiLnkSearch1Found             = 'znaleziono jednen artykuł';
     56FCKLang.wikiLnkSearchSeveral    = 'znaleziono %s artykuły'
     57FCKLang.wikiLnkSearchALot                       = 'znaleziono %s artykułów'
     58
     59FCKLang.wikiTeX                                                         = 'Formuła matematyczna (notacja TeX)';
     60FCKLang.wikiTeXEmpty                                    = 'Nie wprowadzono formuły';
     61
     62FCKLang.wikiSpTag                                                       = 'Typ znacznika';
     63FCKLang.wikiSpParam                                             = 'Parametry';
     64
     65FCKLang.wikiRef                                                         = 'Treść cytatu (format wiki)';
     66FCKLang.wikiRefName                                             = 'Nazwa cytatu (opcjonalna)';
     67
     68FCKLang.wikiTmpl                                                        = 'Szablon (np. {{PrzykładowySzablon}})';
     69FCKLang.wikiTmplEmpty                                   = 'Szablon musi zaczynać się znakami {{ i kończyć się znakami }}';
     70FCKLang.wikiTmpsel                                              =       '(Wybierz z listy)'
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy