Dotclear

Changeset 544


Ignore:
Timestamp:
11/04/08 20:42:54 (15 years ago)
Author:
Moe
google:author:
appears
Message:

DL Manager 1.0-RC1 :

  • added entries containing the media in mediaplayer (thanks to oum2013)
  • added parameter to activate download counter
  • added ability to redefine {{tpl::AttachmentURL}} to count downloaded attachments in download counter (thanks to oum2013)
  • removed self error tags, use <tpl:SysIfFormError>
  • the widget is now in "jail"
Location:
plugins/dlManager
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • plugins/dlManager/_admin.php

    r542 r544  
    4848          $settings->put('dlmanager_active',!empty($_POST['dlmanager_active']), 
    4949               'boolean','Enable DL Manager'); 
     50          $settings->put('dlmanager_counter',!empty($_POST['dlmanager_counter']), 
     51               'boolean','Enable download counter'); 
     52          $settings->put('dlmanager_attachment_url',!empty($_POST['dlmanager_attachment_url']), 
     53               'boolean','Redirect attachments links to DL Manager'); 
    5054          $settings->put('dlmanager_enable_sort',!empty($_POST['dlmanager_enable_sort']), 
    5155               'boolean','Allow visitors to choose how to sort files'); 
     
    7377               $core->blog->settings->dlmanager_active). 
    7478          '<label class="classic" for="dlmanager_active">'. 
    75           sprintf(__('Enable the %s page'),__('Download manager')). 
     79          sprintf(__('Enable the %s'),__('Download manager')). 
    7680          '</label>'. 
    7781          '</p>'. 
    7882          '<p class="form-note">'. 
    79           sprintf(__('The %s page display media on a public page.'), 
     83          sprintf(__('The %s display media on a public page.'), 
    8084               __('Download manager')). 
     85          '</p>'. 
     86          '<p>'. 
     87          form::checkbox('dlmanager_counter',1, 
     88               $core->blog->settings->dlmanager_counter). 
     89          '<label class="classic" for="dlmanager_counter">'. 
     90          __('Enable the download counter'). 
     91          '</label>'. 
     92          '</p>'. 
     93          '<p>'. 
     94          form::checkbox('dlmanager_attachment_url',1, 
     95               $core->blog->settings->dlmanager_attachment_url). 
     96          '<label class="classic" for="dlmanager_attachment_url">'. 
     97          sprintf(__('Redirect attachments links to %s'), 
     98          __('Download manager')). 
     99          '</label>'. 
     100          '</p>'. 
     101          '<p class="form-note">'. 
     102          __('When downloading an attachment, the download counter will be increased.').' '. 
     103          sprintf(__('This will redefine the %s tag.'), 
     104               '<strong>{{tpl:AttachmentURL}}</strong>'). 
    81105          '</p>'. 
    82106          '<p>'. 
     
    99123          '<p>'. 
    100124          '<label for="dlmanager_root">'. 
    101           __('Display a subdirectory :'). 
     125          sprintf(__('Change root of %s:'),__('Download manager')). 
    102126          form::combo('dlmanager_root',dlManager::listDirs(), 
    103127               $core->blog->settings->dlmanager_root). 
     
    106130          '<p class="form-note">'. 
    107131          __('Leave empty to cancel this feature.').' '. 
    108           __('The public directory will be displayed.'). 
     132          sprintf(__('This will change the root of the %s page and of the widget.'), 
     133          __('Download manager')).' '. 
     134          sprintf(__('If you change this setting, reconfigure the %s widget.'), 
     135          __('Download manager')). 
    109136          '</p>'. 
    110137          # filemanager->$exclude_list is protected 
     
    147174 
    148175          $w->dlManager->setting('root',__('root directory:'),'','combo', 
    149                dlManager::listDirs()); 
     176               dlManager::listDirs(true)); 
    150177           
    151178          $w->dlManager->setting('display_dirs',__('Display subdirectories'), 
  • plugins/dlManager/_define.php

    r542 r544  
    2828     /* Description*/                "Download manager with a public page and a widget", 
    2929     /* Author */                    "Moe (http://gniark.net/), Osku and Tomtom (http://blog.zenstyle.fr)", 
    30      /* Version */                   '1.0-beta11', 
     30     /* Version */                   '1.0-RC1', 
    3131     /* Permissions */               'admin' 
    3232); 
  • plugins/dlManager/_public.php

    r542 r544  
    2424if (!defined('DC_RC_PATH')) { return; } 
    2525 
    26  
    27 # load locales for the blog language 
    28 l10n::set(dirname(__FILE__).'/locales/'.$core->blog->settings->lang.'/public'); 
    29  
    3026/** 
    3127@ingroup Download manager 
     
    147143          catch (Exception $e) 
    148144          { 
    149                $_ctx->dlManager_Error = $e->getMessage(); 
     145               $_ctx->form_error = $e->getMessage(); 
    150146          } 
    151147 
     
    239235          if (is_readable($file->file)) 
    240236          { 
    241                $count = unserialize($core->blog->settings->dlmanager_count_dl); 
    242                if (!is_array($count)) {$count = array();} 
    243                $count[$file->media_id] = array_key_exists($file->media_id,$count) 
    244                     ? $count[$file->media_id]+1 : 1; 
    245                 
    246                $settings =& $core->blog->settings; 
    247                 
    248                $settings->setNamespace('dlmanager'); 
    249                $settings->put('dlmanager_count_dl',serialize($count),'string', 
    250                     'Download counter'); 
     237               if ($core->blog->settings->dlmanager_counter) 
     238               { 
     239                    $count = unserialize($core->blog->settings->dlmanager_count_dl); 
     240                    if (!is_array($count)) {$count = array();} 
     241                    $count[$file->media_id] = array_key_exists($file->media_id,$count) 
     242                         ? $count[$file->media_id]+1 : 1; 
     243                     
     244                    $settings =& $core->blog->settings; 
     245                     
     246                    $settings->setNamespace('dlmanager'); 
     247                    $settings->put('dlmanager_count_dl',serialize($count),'string', 
     248                         'Download counter'); 
     249               } 
    251250               //$core->callBehavior('publicDownloadedFile',(integer)$args); 
    252251               header('Content-type: '.$file->type); 
     
    314313$core->tpl->addBlock('DLMBreadCrumbSeparator',array('dlManagerPageTpl', 
    315314     'breadCrumbSeparator')); 
    316  
    317 # error 
    318 $core->tpl->addBlock('DLMIfError',array('dlManagerPageTpl','ifError')); 
    319 $core->tpl->addValue('DLMError',array('dlManagerPageTpl','error')); 
    320315 
    321316# items 
     
    351346     'itemImageThumbPath')); 
    352347 
     348$core->tpl->addBlock('DLMDownloadCounter',array('dlManagerPageTpl','downloadCounter')); 
     349 
    353350# image meta 
    354351$core->tpl->addBlock('DLMItemImageMeta',array('dlManagerPageTpl', 
     
    364361$core->tpl->addValue('DLMItemZipContentFile',array('dlManagerPageTpl', 
    365362     'itemZipContentFile')); 
     363 
     364# find entries containing a media 
     365$core->tpl->addBlock('DLMItemEntries',array('dlManagerPageTpl', 
     366     'itemEntries')); 
     367 
     368if ($core->blog->settings->dlmanager_attachment_url) 
     369{ 
     370     # redefine {{tpl:AttachmentURL}} 
     371     $core->tpl->addValue('AttachmentURL',array('dlManagerPageTpl', 
     372          'AttachmentURL')); 
     373} 
    366374 
    367375/** 
     
    470478          $content. 
    471479          '<?php endif; ?>'); 
    472      } 
    473  
    474      /** 
    475      if there is an error 
    476      @param    attr <b>array</b>   Attribute 
    477      @param    content   <b>string</b>  Content 
    478      @return   <b>string</b> PHP block 
    479      */ 
    480      public static function ifError($attr,$content) 
    481      { 
    482           return 
    483           "<?php if (\$_ctx->dlManager_Error !== null) : ?>"."\n". 
    484           $content. 
    485           "<?php endif; ?>"; 
    486      } 
    487  
    488      /** 
    489      display an error 
    490      @param    attr <b>array</b>   Attribute 
    491      @return   <b>string</b> PHP block 
    492      */ 
    493      public static function error($attr) 
    494      { 
    495           $f = $GLOBALS['core']->tpl->getFilters($attr); 
    496            
    497           return("<?php if (\$_ctx->dlManager_Error !== null) :"."\n". 
    498           'echo('.sprintf($f,'$_ctx->dlManager_Error').');'. 
    499           "endif; ?>"); 
    500480     } 
    501481      
     
    818798     } 
    819799 
     800     /** 
     801     Test if the download counter is active 
     802     @param    attr <b>array</b>   Attribute 
     803     @param    content   <b>string</b>  Content of the loop 
     804     @return   <b>string</b> PHP block 
     805     */ 
     806     public static function downloadCounter($attr,$content) 
     807     { 
     808          return('<?php if ($core->blog->settings->dlmanager_counter) : ?>'. 
     809          $content. 
     810          '<?php endif; ?>'); 
     811     } 
     812      
    820813     /** 
    821814     Item image thumbnail 
     
    919912          return('<?php echo '.sprintf($f,'$file').'; ?>'); 
    920913     } 
     914      
     915     /** 
     916     loop on posts which contain this item 
     917     @param    attr <b>array</b>   Attribute 
     918     @param    content   <b>string</b>  Content 
     919     @return   <b>string</b> PHP block 
     920     */ 
     921     public static function itemEntries($attr,$content) 
     922     { 
     923          return("<?php ". 
     924          '$_ctx->posts = dlManager::findPosts($_ctx->dlManager_item->media_id);'. 
     925          '$_ctx->dlManager_index = 0;'. 
     926          "if (!\$_ctx->posts->isEmpty()) :"."\n". 
     927          "while (\$_ctx->posts->fetch()) : ?>"."\n". 
     928          $content. 
     929          "<?php \$_ctx->dlManager_index += 1;". 
     930          "endwhile; "."\n". 
     931          " endif;"."\n". 
     932          "unset(\$_ctx->posts,\$_ctx->dlManager_index); ?>"); 
     933     } 
     934      
     935     public function AttachmentURL($attr) 
     936     { 
     937          $f = $GLOBALS['core']->tpl->getFilters($attr); 
     938           
     939          return('<?php echo($core->blog->url.$core->url->getBase(\'download\').'. 
     940               '\'/\'.'.sprintf($f,'$attach_f->media_id').'); ?>'); 
     941     } 
    921942} 
    922943 
     
    939960               return; 
    940961          } 
    941                 
     962           
    942963          # from /dotclear/admin/media.php 
    943964          if ($w->file_sort) { 
     
    948969          $core->media->chdir($w->root); 
    949970          $core->media->getDir(); 
     971           
     972          if (!dlManager::inJail($w->root)) {return;} 
    950973           
    951974          $items_str = $str = ''; 
  • plugins/dlManager/default-templates/media.html

    r542 r544  
    4444     </div> 
    4545 
    46      <tpl:DLMIfError> 
    47           <div class="error"> 
    48                {{tpl:DLMError}} 
    49           </div> 
    50      </tpl:DLMIfError> 
     46     <tpl:SysIfFormError> 
     47          <div class="error">{{tpl:SysFormError}}</div> 
     48     </tpl:SysIfFormError> 
    5149 
    5250     <div id="dlmanager"> 
     
    110108                                   <!-- #<th>{{tpl:lang Extension}}</th>--> 
    111109                                   <th>{{tpl:lang Modification time}}</th> 
    112                                    <th>{{tpl:lang Downloads}}</th> 
     110                                   <tpl:DLMDownloadCounter> 
     111                                        <th>{{tpl:lang Downloads}}</th> 
     112                                   </tpl:DLMDownloadCounter> 
    113113                              </tr> 
    114114                         </thead> 
     
    151151                         return "txt" --> 
    152152                    <td>{{tpl:DLMItemMTime}}</td> 
    153                     <td class="number">{{tpl:DLMItemDlCount}}</td> 
     153                    <tpl:DLMDownloadCounter> 
     154                         <td class="number">{{tpl:DLMItemDlCount}}</td> 
     155                    </tpl:DLMDownloadCounter> 
    154156               </tr> 
    155157               <tpl:DLMFooter> 
  • plugins/dlManager/default-templates/media_player.html

    r542 r544  
    77  <meta name="MSSmartTagsPreventParsing" content="TRUE" /> 
    88  <meta name="robots" content="noindex, nofollow" /> 
    9   <title>{{tpl:lang Preview}} - {{tpl:DLMItemTitle}} - {{tpl:BlogName encode_html="1"}}</title> 
     9  <title>{{tpl:lang Download manager}} - {{tpl:DLMItemTitle}} - {{tpl:BlogName encode_html="1"}}</title> 
    1010   
    1111  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
     
    3838     <div id="content-info"> 
    3939          <h2> 
    40                {{tpl:lang Preview}} 
     40               {{tpl:lang Download manager}} - {{tpl:lang Preview}} 
    4141          </h2> 
    4242     </div> 
    4343           
    44      <tpl:DLMIfError> 
    45           <div class="error"> 
    46                {{tpl:DLMError}} 
    47           </div> 
    48      </tpl:DLMIfError> 
     44     <tpl:SysIfFormError> 
     45          <div class="error">{{tpl:SysFormError}}</div> 
     46     </tpl:SysIfFormError> 
    4947 
    5048     <div id="dlmanager"> 
     
    108106               <dt>{{tpl:lang Modification time}}</dt> 
    109107               <dd>{{tpl:DLMItemMTime}}</dd> 
    110                <dt>{{tpl:lang Download number}}</dt> 
    111                <dd>{{tpl:DLMItemDlCount}}</dd> 
     108               <tpl:DLMDownloadCounter> 
     109                    <dt>{{tpl:lang Download number}}</dt> 
     110                    <dd>{{tpl:DLMItemDlCount}}</dd> 
     111               </tpl:DLMDownloadCounter> 
    112112          </dl> 
    113113           
     
    125125               </tpl:DLMItemImageMeta> 
    126126          </tpl:DLMItemIf> 
     127           
     128          <tpl:DLMItemEntries> 
     129               <tpl:DLMHeader> 
     130                    <h3>{{tpl:lang Entries containing this media}}</h3> 
     131                    <ul> 
     132               </tpl:DLMHeader> 
     133               <li> 
     134                    <a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}} 
     135                    ({{tpl:EntryDate format="%d/%m/%Y"}})</a> 
     136               </li> 
     137               <tpl:DLMFooter> 
     138                    </ul> 
     139               </tpl:DLMFooter> 
     140          </tpl:DLMItemEntries> 
    127141     </div><!-- End #dlmanager --> 
    128142 
  • plugins/dlManager/lib.dlManager.php

    r542 r544  
    3232     @return   <b>array</b> Subdirectories 
    3333     */ 
    34      public static function listDirs() 
     34     public static function listDirs($in_jail=false) 
    3535     { 
    3636          global $core; 
     
    4848               foreach ($core->media->getRootDirs() as $v) 
    4949               { 
    50                     $dirs[$v->relname] = $v->relname; 
     50                    $path = $v->relname; 
     51                    if (($in_jail) && (self::inJail($path))) 
     52                         $dirs[$path] = $path; 
     53                    } 
     54                    else 
     55                    { 
     56                         $dirs[$path] = $path; 
     57                    } 
    5158               } 
    5259          } 
     
    130137          $root = $core->blog->settings->dlmanager_root; 
    131138           
    132           if (!empty($root)) 
     139          if (!empty($root) && (strpos($path,$root) !== 0)) 
    133140          { 
    134                if (strpos($path,$root) !== 0) 
    135                { 
    136                     return false; 
    137                } 
     141               return false; 
    138142          } 
    139143           
    140144          return true; 
    141145     } 
     146      
     147     /** 
     148     find entries containing this media 
     149     @param    path <b>string</b>  path 
     150     @return   <b>boolean</b> BreadCrumb 
     151     */ 
     152     public static function findPosts($id) 
     153     { 
     154          global $core; 
     155           
     156          $file = $core->media->getFile($id); 
     157           
     158          # from /dotclear/admin/media_item.php 
     159          $params = array( 
     160               'post_type' => '', 
     161               'from' => 'LEFT OUTER JOIN '.$core->prefix.'post_media PM ON P.post_id = PM.post_id ', 
     162               'sql' => 'AND ('. 
     163                    'PM.media_id = '.(integer) $id.' '. 
     164                    "OR post_content_xhtml LIKE '%".$core->con->escape($file->relname)."%' ". 
     165                    "OR post_excerpt_xhtml LIKE '%".$core->con->escape($file->relname)."%' " 
     166          ); 
     167           
     168          if ($file->media_image) 
     169          { # We look for thumbnails too 
     170               $media_root = $core->blog->host.path::clean($core->blog->settings->public_url).'/'; 
     171               foreach ($file->media_thumb as $v) { 
     172                    $v = preg_replace('/^'.preg_quote($media_root,'/').'/','',$v); 
     173                    $params['sql'] .= "OR post_content_xhtml LIKE '%".$core->con->escape($v)."%' "; 
     174                    $params['sql'] .= "OR post_excerpt_xhtml LIKE '%".$core->con->escape($v)."%' "; 
     175               } 
     176          } 
     177           
     178          $params['sql'] .= ') '; 
     179           
     180          $rs = $core->blog->getPosts($params); 
     181           
     182          return $rs; 
     183     } 
    142184} 
    143185 
  • plugins/dlManager/locales/fr/main.po

    r542 r544  
    33"Project-Id-Version: DL Manager\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2008-11-03 00:24+0100\n" 
    6 "PO-Revision-Date: 2008-11-03 00:24+0100\n" 
     5"POT-Creation-Date: 2008-11-04 20:13+0100\n" 
     6"PO-Revision-Date: 2008-11-04 20:19+0100\n" 
    77"Last-Translator: Moe <poedit@gniark.net>\n" 
    88"Language-Team: Moe <poedit@gniark.net>\n" 
     
    1717"X-Poedit-SearchPath-0: .\n" 
    1818 
    19 #: _public.php:134 
     19#: _public.php:130 
    2020#: public_l10n.php:7 
    2121msgid "parent directory" 
    2222msgstr "répertoire parent" 
    2323 
    24 #: _public.php:999 
    25 #: _public.php:1006 
    26 #: _public.php:1013 
     24#: _public.php:1007 
     25#: _public.php:1014 
     26#: _public.php:1021 
    2727msgid "Preview :" 
    2828msgstr "" 
    2929 
    30 #: _public.php:1001 
    31 #: _public.php:1008 
    32 #: _public.php:1015 
     30#: _public.php:1009 
     31#: _public.php:1016 
     32#: _public.php:1023 
    3333msgid "Preview" 
    3434msgstr "" 
    3535 
    36 #: lib.dlManager.php:72 
     36#: lib.dlManager.php:83 
    3737msgid "By names, ascendant" 
    3838msgstr "Par noms, croissants" 
    3939 
    40 #: lib.dlManager.php:73 
     40#: lib.dlManager.php:84 
    4141msgid "By names, descendant" 
    4242msgstr "Par noms, décroissants" 
    4343 
    44 #: lib.dlManager.php:74 
     44#: lib.dlManager.php:85 
    4545msgid "By dates, ascendant" 
    4646msgstr "Par dates, croissantes" 
    4747 
    48 #: lib.dlManager.php:75 
     48#: lib.dlManager.php:86 
    4949msgid "By dates, descendant" 
    5050msgstr "Par dates, décroissantes" 
     
    5353#: _admin.php:75 
    5454#: _admin.php:80 
    55 #: _admin.php:114 
    56 #: _admin.php:119 
    57 #: _admin.php:124 
    58 #: _admin.php:139 
    59 #: _admin.php:143 
    60 #: _admin.php:169 
    61 #: _admin.php:170 
     55#: _admin.php:94 
     56#: _admin.php:121 
     57#: _admin.php:129 
     58#: _admin.php:131 
     59#: _admin.php:137 
     60#: _admin.php:142 
     61#: _admin.php:147 
     62#: _admin.php:162 
     63#: _admin.php:166 
     64#: _admin.php:192 
     65#: _admin.php:193 
    6266#: public_l10n.php:3 
    6367msgid "Download manager" 
     
    6670#: _admin.php:75 
    6771#, php-format 
    68 msgid "Enable the %s page" 
    69 msgstr "Activer la page %s" 
     72msgid "Enable the %s" 
     73msgstr "Activer %s" 
    7074 
    7175#: _admin.php:79 
    7276#, php-format 
    73 msgid "The %s page display media on a public page." 
    74 msgstr "La page %s affiche les médias sur une page publique." 
     77msgid "The %s display media on a public page." 
     78msgstr "Le %s affiche les médias sur une page publique." 
    7579 
    7680#: _admin.php:86 
     81msgid "Enable the download counter" 
     82msgstr "Activer le compteur de téléchargements" 
     83 
     84#: _admin.php:93 
     85#, php-format 
     86msgid "Redirect attachments links to %s" 
     87msgstr "Rediriger les liens des pièces jointes vers %s" 
     88 
     89#: _admin.php:98 
     90msgid "When downloading an attachment, the download counter will be increased." 
     91msgstr "Lors du téléchargement d'une pièce jointe, le compteur de téléchargements sera augmenté." 
     92 
     93#: _admin.php:99 
     94#, php-format 
     95msgid "This will redefine the %s tag." 
     96msgstr "Ceci redéfinira la balise %s." 
     97 
     98#: _admin.php:106 
    7799msgid "Allow visitors to choose how to sort files" 
    78100msgstr "Autoriser les visiteurs à choisir l'ordre des fichiers" 
    79101 
    80 #: _admin.php:91 
    81 #: _admin.php:145 
     102#: _admin.php:111 
     103#: _admin.php:168 
    82104#: public_l10n.php:5 
    83105msgid "Sort files:" 
    84 msgstr "Trier les fichiers :" 
    85  
    86 #: _admin.php:97 
    87 #: _admin.php:107 
     106msgstr "Trier les fichiers&nbsp;:" 
     107 
     108#: _admin.php:117 
     109#: _admin.php:127 
    88110msgid "Leave empty to cancel this feature." 
    89111msgstr "" 
    90112 
    91 #: _admin.php:101 
    92 msgid "Display a subdirectory :" 
    93 msgstr "Afficher un sous-répertoire :" 
    94  
    95 #: _admin.php:108 
    96 msgid "The public directory will be displayed." 
    97 msgstr "Le répertoire public sera affiché." 
    98  
    99 #: _admin.php:113 
     113#: _admin.php:121 
     114#, php-format 
     115msgid "Change root of %s:" 
     116msgstr "Changer la racine de %s&nbsp;:" 
     117 
     118#: _admin.php:128 
     119#, php-format 
     120msgid "This will change the root of the %s page and of the widget." 
     121msgstr "Ceci changera la racine de la page %s et du widget." 
     122 
     123#: _admin.php:130 
     124#, php-format 
     125msgid "If you change this setting, reconfigure the %s widget." 
     126msgstr "Si vous changez ce paramètre, reconfigurez le widget %s." 
     127 
     128#: _admin.php:136 
    100129#, php-format 
    101130msgid "Files can be excluded from %1$s by editing <strong>%2$s</strong> in <strong>%3$s</strong>." 
    102131msgstr "Les fichiers peuvent être exclus de %1$s en éditant <strong>%2$s</strong> dans <strong>%3$s</strong>." 
    103132 
    104 #: _admin.php:114 
     133#: _admin.php:137 
    105134msgid "about:config" 
    106135msgstr "" 
    107136 
    108 #: _admin.php:115 
     137#: _admin.php:138 
    109138#, php-format 
    110139msgid "For example, to exclude %1$s and %2$s files : <code>%3$s</code>" 
    111140msgstr "Par exemple, pour exclure les fichiers %1$s et %2$s : <code>%3$s</code>" 
    112141 
    113 #: _admin.php:116 
     142#: _admin.php:139 
    114143msgid "PNG" 
    115144msgstr "" 
    116145 
    117 #: _admin.php:116 
     146#: _admin.php:139 
    118147msgid "JPG" 
    119148msgstr "" 
    120149 
    121 #: _admin.php:119 
     150#: _admin.php:142 
    122151#, php-format 
    123152msgid "URL of the %s page :" 
    124 msgstr "URL de la page %s :" 
    125  
    126 #: _admin.php:123 
     153msgstr "URL de la page %s&nbsp;:" 
     154 
     155#: _admin.php:146 
    127156#, php-format 
    128157msgid "View the %s page" 
    129158msgstr "Voir la page %s" 
    130159 
    131 #: _admin.php:142 
     160#: _admin.php:165 
    132161msgid "Title:" 
    133162msgstr "Titre :" 
    134163 
    135 #: _admin.php:142 
    136 #: _admin.php:155 
    137 #: _admin.php:161 
    138 #: _admin.php:170 
     164#: _admin.php:165 
     165#: _admin.php:178 
     166#: _admin.php:184 
     167#: _admin.php:193 
    139168msgid "optional" 
    140169msgstr "facultatif" 
    141170 
    142 #: _admin.php:148 
     171#: _admin.php:171 
    143172msgid "root directory:" 
    144173msgstr "répertoire de base :" 
    145174 
    146 #: _admin.php:151 
     175#: _admin.php:174 
    147176msgid "Display subdirectories" 
    148 msgstr "Afficher les sous-répertoires :" 
    149  
    150 #: _admin.php:154 
     177msgstr "Afficher les sous-répertoires&nbsp;:" 
     178 
     179#: _admin.php:177 
    151180msgid "Subdirectories title:" 
    152 msgstr "Titre des sous-répertoires :" 
    153  
    154 #: _admin.php:155 
     181msgstr "Titre des sous-répertoires&nbsp;:" 
     182 
     183#: _admin.php:178 
    155184#: public_l10n.php:6 
    156185msgid "Directories" 
    157186msgstr "Répertoires" 
    158187 
    159 #: _admin.php:157 
     188#: _admin.php:180 
    160189msgid "Display files" 
    161190msgstr "Afficher les fichiers" 
    162191 
    163 #: _admin.php:160 
     192#: _admin.php:183 
    164193msgid "Files title:" 
    165 msgstr "Titre des fichiers :" 
    166  
    167 #: _admin.php:161 
     194msgstr "Titre des fichiers&nbsp;:" 
     195 
     196#: _admin.php:184 
    168197#: public_l10n.php:12 
    169198msgid "Files" 
    170199msgstr "Fichiers" 
    171200 
    172 #: _admin.php:163 
     201#: _admin.php:186 
    173202msgid "Block display:" 
    174 msgstr "Affichage du bloc :" 
    175  
    176 #: _admin.php:165 
     203msgstr "Affichage du bloc&nbsp;:" 
     204 
     205#: _admin.php:188 
    177206msgid "Item display:" 
    178 msgstr "Affichage d'un élément :" 
    179  
    180 #: _admin.php:169 
     207msgstr "Affichage d'un élément&nbsp;:" 
     208 
     209#: _admin.php:192 
    181210#, php-format 
    182211msgid "Add a link to %s in the widget:" 
    183 msgstr "Ajouter un lien vers %s dans le widget :" 
    184  
    185 #: _admin.php:172 
     212msgstr "Ajouter un lien vers %s dans le widget&nbsp;:" 
     213 
     214#: _admin.php:195 
    186215msgid "Home page only" 
    187216msgstr "" 
     
    251280msgstr "Contenu du fichier zip" 
    252281 
     282#: public_l10n.php:29 
     283msgid "Entries containing this media" 
     284msgstr "Billets contenant ce média" 
     285 
     286#~ msgid "Display a subdirectory :" 
     287#~ msgstr "Afficher un sous-répertoire :" 
     288#~ msgid "The public directory will be displayed." 
     289#~ msgstr "Le répertoire public sera affiché." 
     290 
  • plugins/dlManager/public_l10n.php

    r542 r544  
    2727__('Image meta'); 
    2828__('Zip file content'); 
     29__('Entries containing this media'); 
    2930?> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map