Dotclear

Changeset 1576


Ignore:
Timestamp:
10/13/09 21:38:48 (13 years ago)
Author:
Moe
Message:

Contribute 1.0-alpha20 :

  • added help (closes #244)
  • rearranged admin page
  • added _install.php file
  • moved PHP classes to inc/directory
Location:
plugins/contribute
Files:
2 added
11 edited
2 moved

Legend:

Unmodified
Added
Removed
  • plugins/contribute/_define.php

    r1505 r1576  
    2828     /* Description*/                "Allow visitors to contribute to your blog", 
    2929     /* Author */                    "Moe (http://gniark.net/)", 
    30      /* Version */                   '1.0-alpha19', 
     30     /* Version */                   '1.0-alpha20', 
    3131     /* Permissions */               'admin' 
    3232); 
  • plugins/contribute/_prepend.php

    r910 r1576  
    2424if (!defined('DC_RC_PATH')) {return;} 
    2525 
    26 $__autoload['contribute'] = dirname(__FILE__).'/lib.contribute.php'; 
    27 $__autoload['contributeAntispam'] = dirname(__FILE__).'/lib.antispam.contribute.php'; 
     26$__autoload['contribute'] = 
     27     dirname(__FILE__).'/inc/lib.contribute.php'; 
     28$__autoload['contributeAntispam'] = 
     29     dirname(__FILE__).'/inc/lib.antispam.contribute.php'; 
    2830 
    2931# inspirated by contactMe/_public.php 
  • plugins/contribute/_public.php

    r1498 r1576  
    2424if (!defined('DC_RC_PATH')) {return;} 
    2525 
     26l10n::set(dirname(__FILE__).'/locales/'.$_lang.'/public'); 
     27 
    2628/** 
    2729@ingroup Contribute 
     
    6062           
    6163          $_ctx->contribute = new ArrayObject(); 
     64          $_ctx->contribute->help = @base64_decode($settings->contribute_help); 
    6265          $_ctx->contribute->message = ''; 
    6366          $_ctx->contribute->preview = false; 
     
    213216                         # it overrides the default format 
    214217                         if ($settings->contribute_format == '') 
     218                          
    215219                         { 
    216220                              $_ctx->contribute->choose_format = true; 
     
    684688$core->tpl->addValue('ContributeMessage', 
    685689     array('contributeTpl','ContributeMessage')); 
     690      
     691$core->tpl->addValue('ContributeHelp', 
     692     array('contributeTpl','ContributeHelp')); 
    686693 
    687694$core->tpl->addBlock('ContributePreview', 
     
    758765      
    759766     /** 
     767     display the help 
     768     @return   <b>string</b> PHP block 
     769     */ 
     770     public static function ContributeHelp() 
     771     { 
     772          return('<?php echo($_ctx->contribute->help); ?>'); 
     773     } 
     774      
     775     /** 
    760776     display preview 
    761777     @param    attr <b>array</b>   Attribute 
     
    808824     { 
    809825          $if = array(); 
    810           $operator = isset($attr['operator']) ? self::getOperator($attr['operator']) : '&&'; 
     826          $operator = isset($attr['operator']) ? 
     827               self::getOperator($attr['operator']) : '&&'; 
    811828           
    812829          if (isset($attr['message'])) 
  • plugins/contribute/default-templates/contribute.html

    r910 r1576  
    159159     <tpl:ContributeForm> 
    160160          <div id="contribute"> 
     161          {{tpl:ContributeHelp}} 
    161162          <form method="post" action="{{tpl:SysSelfURI}}" id="entry-form"> 
    162163               <!-- # it's a trick : when pressing Enter, the preview button 
  • plugins/contribute/index.php

    r1505 r1576  
    4343               !empty($_POST['contribute_enable_antispam']), 
    4444               'boolean', 'Enable antispam'); 
    45                 
     45           
     46          $settings->put('contribute_help', 
     47               base64_encode($_POST['contribute_help']),'String','Help'); 
     48          $settings->put('contribute_default_post', 
     49               $_POST['contribute_default_post'],'integer','Default post'); 
     50          $settings->put('contribute_format',$_POST['contribute_format'], 
     51               'string','Post format'); 
    4652           
    4753          $settings->put('contribute_allow_excerpt', 
     
    7379               'string','Author format'); 
    7480           
    75           $settings->put('contribute_default_post', 
    76                $_POST['contribute_default_post'],'integer','Default post'); 
    77           $settings->put('contribute_format',$_POST['contribute_format'], 
    78                'string','Post format'); 
    79                 
    8081          $settings->put('contribute_allow_mymeta', 
    8182               !empty($_POST['contribute_allow_mymeta']), 
     
    230231           
    231232          <fieldset> 
    232                <legend><?php echo(__('Allow contributors to')); ?></legend> 
    233                <p> 
    234                     <?php echo(form::checkbox('contribute_allow_excerpt',1, 
    235                          $settings->contribute_allow_excerpt)); ?> 
    236                     <label class="classic" for="contribute_allow_excerpt"> 
    237                     <?php echo(__('write an excerpt')); ?> 
    238                     </label> 
    239                </p> 
    240                 
    241                <p> 
    242                     <?php echo(form::checkbox('contribute_allow_category',1, 
    243                          $settings->contribute_allow_category)); ?> 
    244                     <label class="classic" for="contribute_allow_category"> 
    245                     <?php echo(__('choose the category')); ?> 
    246                     </label> 
    247                </p> 
    248                 
    249                <p> 
    250                     <?php echo(form::checkbox('contribute_allow_tags',1, 
    251                          $settings->contribute_allow_tags)); ?> 
    252                     <label class="classic" for="contribute_allow_tags"> 
    253                     <?php echo(__('choose the tags')); ?> 
    254                     </label> 
    255                </p> 
    256                 
    257                <p> 
    258                     <?php echo(form::checkbox('contribute_allow_new_tags',1, 
    259                          $settings->contribute_allow_new_tags)); ?> 
    260                     <label class="classic" for="contribute_allow_new_tags"> 
    261                     <?php echo(__('add new tags (only if tags are allowed)')); ?> 
    262                     </label> 
    263                </p> 
    264                           
    265                <p> 
    266                     <?php echo(form::checkbox('contribute_allow_notes',1, 
    267                          $settings->contribute_allow_notes)); ?> 
    268                     <label class="classic" for="contribute_allow_notes"> 
    269                     <?php echo(__('write notes')); ?> 
    270                     </label> 
    271                </p> 
    272                 
    273                <p> 
    274                     <?php echo(form::checkbox('contribute_allow_author',1, 
    275                          $settings->contribute_allow_author)); ?> 
    276                     <label class="classic" for="contribute_allow_author"> 
    277                     <?php echo(__('enter their name, email address and website URL')); ?> 
    278                     </label> 
    279                </p> 
    280                 
    281                <p> 
    282                     <?php echo(form::checkbox('contribute_require_name_email',1, 
    283                          $settings->contribute_require_name_email)); ?> 
    284                     <label class="classic" for="contribute_require_name_email"> 
    285                     <?php echo(__('require name and email (only if name, email address and website URL are allowed)')); ?> 
    286                     </label> 
    287                </p> 
    288           </fieldset> 
    289            
    290           <fieldset> 
    291                <legend><?php echo(__('Display')); ?></legend> 
    292                <p> 
    293                     <label for="contribute_author_format"> 
    294                     <?php echo(__('Display of the author name on the blog:').' '.__('(%s is the author name or nickname)'). 
    295                     form::field('contribute_author_format',80,80,$author_format)); ?> 
    296                     </label>  
    297                </p> 
    298                <p class="form-note"> 
    299                     <?php echo(__('Leave empty to cancel this feature.')); ?> 
    300                </p> 
    301           </fieldset>     
    302            
    303           <fieldset> 
    304                <legend><?php echo(__('Default post and format')); ?></legend> 
     233               <legend><?php echo(__('Form')); ?></legend> 
     234               <p class="area"> 
     235                    <label><?php echo(__('Help:'). 
     236                         form::textarea('contribute_help',80,10, 
     237                         html::escapeHTML(base64_decode($settings->contribute_help)))); ?> 
     238                    </label> 
     239               </p> 
    305240               <p> 
    306241                    <label for="contribute_default_post"> 
     
    336271                         __('Leave empty to cancel this feature.')); ?> 
    337272               </p> 
     273                
     274               <h3><?php echo(__('Allow contributors to:')); ?></h3> 
     275               <p> 
     276                    <?php echo(form::checkbox('contribute_allow_excerpt',1, 
     277                         $settings->contribute_allow_excerpt)); ?> 
     278                    <label class="classic" for="contribute_allow_excerpt"> 
     279                    <?php echo(__('write an excerpt')); ?> 
     280                    </label> 
     281               </p> 
     282                
     283               <p> 
     284                    <?php echo(form::checkbox('contribute_allow_category',1, 
     285                         $settings->contribute_allow_category)); ?> 
     286                    <label class="classic" for="contribute_allow_category"> 
     287                    <?php echo(__('choose the category')); ?> 
     288                    </label> 
     289               </p> 
     290                
     291               <p> 
     292                    <?php echo(form::checkbox('contribute_allow_tags',1, 
     293                         $settings->contribute_allow_tags)); ?> 
     294                    <label class="classic" for="contribute_allow_tags"> 
     295                    <?php echo(__('choose the tags')); ?> 
     296                    </label> 
     297               </p> 
     298                
     299               <p> 
     300                    <?php echo(form::checkbox('contribute_allow_new_tags',1, 
     301                         $settings->contribute_allow_new_tags)); ?> 
     302                    <label class="classic" for="contribute_allow_new_tags"> 
     303                    <?php echo(__('add new tags (only if tags are allowed)')); ?> 
     304                    </label> 
     305               </p> 
     306                          
     307               <p> 
     308                    <?php echo(form::checkbox('contribute_allow_notes',1, 
     309                         $settings->contribute_allow_notes)); ?> 
     310                    <label class="classic" for="contribute_allow_notes"> 
     311                    <?php echo(__('write notes')); ?> 
     312                    </label> 
     313               </p> 
     314                
     315               <p> 
     316                    <?php echo(form::checkbox('contribute_allow_author',1, 
     317                         $settings->contribute_allow_author)); ?> 
     318                    <label class="classic" for="contribute_allow_author"> 
     319                    <?php echo(__('enter their name, email address and website URL')); ?> 
     320                    </label> 
     321               </p> 
     322                
     323               <p> 
     324                    <?php echo(form::checkbox('contribute_require_name_email',1, 
     325                         $settings->contribute_require_name_email)); ?> 
     326                    <label class="classic" for="contribute_require_name_email"> 
     327                    <?php echo(__('require name and email (only if name, email address and website URL are allowed)')); ?> 
     328                    </label> 
     329               </p> 
    338330          </fieldset> 
     331           
     332          <fieldset> 
     333               <legend><?php echo(__('Display')); ?></legend> 
     334               <p> 
     335                    <label for="contribute_author_format"> 
     336                    <?php echo(__('Display of the author name on the blog:').' '.__('(%s is the author name or nickname)'). 
     337                    form::field('contribute_author_format',80,80,$author_format)); ?> 
     338                    </label>  
     339               </p> 
     340               <p class="form-note"> 
     341                    <?php echo(__('Leave empty to cancel this feature.')); ?> 
     342               </p> 
     343          </fieldset>     
    339344           
    340345          <fieldset> 
  • plugins/contribute/locales/fr/admin.lang.php

    r1499 r1576  
    11<?php 
    22// Language: français  
    3 // Module: contribute - 1.0-alpha18 
    4 // Date: 2009-09-24 19:00:32  
    5 // Translated with dcTranslater - 0.2.4  
     3// Module: contribute - 1.0-alpha20 
     4// Date: 2009-10-13 18:54:02  
     5// Translated with dcTranslater - 1.2  
     6 
     7#index.php:147 
     8$GLOBALS['__l10n']['%s (contributor)'] = '%s (contributeur)'; 
     9 
     10#index.php:336 
     11$GLOBALS['__l10n']['(%s is the author name or nickname)'] = '(%s est le nom ou le pseudo de l\'auteur)'; 
     12 
     13#index.php:372 
     14$GLOBALS['__l10n']['Enable these %s values:'] = 'Activer ces valeurs de %s&nbsp;:'; 
     15 
     16#index.php:224 
     17$GLOBALS['__l10n']['Enable antispam.'] = 'Activer l\'antispam.'; 
     18 
     19#index.php:333 
     20$GLOBALS['__l10n']['Display'] = 'Affichage'; 
     21 
     22#index.php:336 
     23$GLOBALS['__l10n']['Display of the author name on the blog:'] = 'Affichage du nom de l\'auteur sur le blog&nbsp;:'; 
     24 
     25#index.php:303 
     26$GLOBALS['__l10n']['add new tags (only if tags are allowed)'] = 'ajouter des nouveaux tags (seulement si les tags sont permis)'; 
     27 
     28#index.php:242 
     29$GLOBALS['__l10n']['Default post:'] = 'Billet par défaut&nbsp;:'; 
     30 
     31#_public.php:321 
     32$GLOBALS['__l10n']['Invalid cat_id'] = 'cat_id invalide'; 
     33 
     34#index.php:191 
     35$GLOBALS['__l10n']['This will disable smilies on entries and comments.'] = 'Ceci désactivera les émoticones dans les billets et commentaires.'; 
     36 
     37#index.php:354 
     38$GLOBALS['__l10n']['It requires the %s plugin.'] = 'Cela nécessite le plugin %s.'; 
     39 
     40#index.php:270 
     41$GLOBALS['__l10n']['Some formats may be unavailable on the blog.'] = 'Certains formats peuvent ne pas être disponibles sur le blog.'; 
     42 
     43#index.php:287 
     44$GLOBALS['__l10n']['choose the category'] = 'choisir la catégorie'; 
     45 
     46#index.php:295 
     47$GLOBALS['__l10n']['choose the tags'] = 'choisir les tags'; 
     48 
     49#index.php:106 
     50$GLOBALS['__l10n']['Configuration successfully updated.'] = 'Configuration mise à jour avec succès.'; 
    651 
    752#_admin.php:163 
    853$GLOBALS['__l10n']['Delete this author'] = 'Effacer cet auteur'; 
    954 
    10 #_public.php:147 
    11 $GLOBALS['__l10n']['No default post.'] = 'Pas de billet par défaut.'; 
     55#index.php:392 
     56$GLOBALS['__l10n']['Save configuration'] = 'Enregistrer la configuration'; 
    1257 
    13 #_public.php:315 
    14 $GLOBALS['__l10n']['Invalid cat_id'] = 'cat_id invalide'; 
     58#index.php:319 
     59$GLOBALS['__l10n']['enter their name, email address and website URL'] = 'entrer leur nom, adresse email et URL de leur site'; 
    1560 
    16 #index.php:103 
    17 $GLOBALS['__l10n']['Configuration successfully updated.'] = 'Configuration mise à jour avec succès.'; 
     61#index.php:209 
     62$GLOBALS['__l10n']['Send emails to these email adresses when a new post is submitted:'] = 'Envoyer des emails à ces adresses emails quand un nouveau billet est soumis&nbsp;:'; 
    1863 
    19 #index.php:126 
     64#index.php:263 
     65$GLOBALS['__l10n']['Text formating (only if no default post is selected):'] = 'Format du texte (seulement si aucun billet par défaut n\'est sélectionné)&nbsp;:'; 
     66 
     67#index.php:233 
     68$GLOBALS['__l10n']['Form'] = 'Formulaire'; 
     69 
     70#index.php:255 
     71$GLOBALS['__l10n']['The post can be %s or %s.'] = 'Le billet peut être %s ou %s.'; 
     72 
     73#index.php:257 
     74$GLOBALS['__l10n']['The form will be filled with the values of this post.'] = 'Le formulaire sera rempli avec les valeurs du billet.'; 
     75 
     76#index.php:129 
    2077$GLOBALS['__l10n']['me'] = 'moi'; 
    2178 
    22 #index.php:144 
    23 $GLOBALS['__l10n']['%s (contributor)'] = '%s (contributeur)'; 
    24  
    25 #index.php:178 
     79#index.php:181 
    2680$GLOBALS['__l10n']['General settings'] = 'Paramètres généraux'; 
    2781 
    28 #index.php:184 
     82#index.php:269 
     83$GLOBALS['__l10n']['Contributors will be able to choose the format.'] = 'Permet aux contributeurs de choisir le format.'; 
     84 
     85#index.php:351 
     86$GLOBALS['__l10n']['Allow contributors to choose %s values.'] = 'Permettre aux contributeurs de choisir les valeurs de %s.'; 
     87 
     88#index.php:274 
     89$GLOBALS['__l10n']['Allow contributors to:'] = 'Permettre aux contributeurs de&nbsp;:'; 
     90 
     91#index.php:187 
    2992$GLOBALS['__l10n']['Allow visitors to contribute to your blog'] = 'Permettre aux visiteurs de contribuer à votre blog'; 
    3093 
    31 #index.php:188 
    32 $GLOBALS['__l10n']['This will disable smilies on entries and comments.'] = 'Ceci désactivera les émoticones dans les billets et commentaires.'; 
    33  
    34 #index.php:193 
     94#index.php:196 
    3595$GLOBALS['__l10n']['Owner of the posts:'] = 'Propriétaire des billets&nbsp;:'; 
    3696 
    37 #index.php:198 
     97#index.php:327 
     98$GLOBALS['__l10n']['require name and email (only if name, email address and website URL are allowed)'] = 'rendre obligatoires le nom et l\'adresse email (seulement si le nom, l\'adresse email et l\'URL de leur site sont autorisés)'; 
     99 
     100#index.php:201 
    38101$GLOBALS['__l10n']['Only the users with the following permissions on this blog are shown:'] = 'Seuls les utilisateurs avec les permissions suivantes sur le blog sont affichés&nbsp;:'; 
    39102 
    40 #index.php:206 
    41 $GLOBALS['__l10n']['Send emails to these email adresses when a new post is submitted:'] = 'Envoyer des emails à ces adresses emails quand un nouveau billet est soumis&nbsp;:'; 
     103#index.php:254 
     104$GLOBALS['__l10n']['Select an existing post or create a new post, then select it.'] = 'Sélectionner un billet existant ou créer un nouveau billet puis le sélectionner.'; 
    42105 
    43 #index.php:212 
     106#index.php:398 
     107$GLOBALS['__l10n']['URL of the %s page:'] = 'URL de la page %s&nbsp;:'; 
     108 
     109#index.php:403 
     110$GLOBALS['__l10n']['View the %s page'] = 'Voir la page %s'; 
     111 
     112#index.php:215 
    44113$GLOBALS['__l10n']['You can enter several email adresses by separating these by a comma (<code>,</code>).'] = 'Vous pouvez entrer plusieurs adresses email en les séparant par une virgule (<code>,</code>).'; 
    45114 
    46 #index.php:221 
    47 $GLOBALS['__l10n']['Enable antispam.'] = 'Activer l\'antispam.'; 
     115#index.php:311 
     116$GLOBALS['__l10n']['write notes'] = 'écrire des notes'; 
    48117 
    49 #index.php:347 
    50 $GLOBALS['__l10n']['It requires the %s plugin.'] = 'Cela nécessite le plugin %s.'; 
    51  
    52 #index.php:230 
    53 $GLOBALS['__l10n']['Allow contributors to'] = 'Permettre aux contributeurs de'; 
    54  
    55 #index.php:235 
     118#index.php:279 
    56119$GLOBALS['__l10n']['write an excerpt'] = 'écrire un extrait'; 
    57120 
    58 #index.php:243 
    59 $GLOBALS['__l10n']['choose the category'] = 'choisir la catégorie'; 
    60  
    61 #index.php:251 
    62 $GLOBALS['__l10n']['choose the tags'] = 'choisir les tags'; 
    63  
    64 #index.php:259 
    65 $GLOBALS['__l10n']['add new tags (only if tags are allowed)'] = 'ajouter des nouveaux tags (seulement si les tags sont permis)'; 
    66  
    67 #index.php:267 
    68 $GLOBALS['__l10n']['write notes'] = 'écrire des notes'; 
    69  
    70 #index.php:275 
    71 $GLOBALS['__l10n']['enter their name, email address and website URL'] = 'entrer leur nom, adresse email et URL de leur site'; 
    72  
    73 #index.php:283 
    74 $GLOBALS['__l10n']['require name and email (only if name, email address and website URL are allowed)'] = 'rendre obligatoires le nom et l\'adresse email (seulement si le nom, l\'adresse email et l\'URL de leur site sont autorisés)'; 
    75  
    76 #index.php:289 
    77 $GLOBALS['__l10n']['Display'] = 'Affichage'; 
    78  
    79 #index.php:292 
    80 $GLOBALS['__l10n']['Display of the author name on the blog:'] = 'Affichage du nom de l\'auteur sur le blog&nbsp;:'; 
    81  
    82 #index.php:292 
    83 $GLOBALS['__l10n']['(%s is the author name or nickname)'] = '(%s est le nom ou le pseudo de l\'auteur)'; 
    84  
    85 #index.php:302 
    86 $GLOBALS['__l10n']['Default post and format'] = 'Billet par défaut et format'; 
    87  
    88 #index.php:305 
    89 $GLOBALS['__l10n']['Default post:'] = 'Billet par défaut&nbsp;:'; 
    90  
    91 #index.php:312 
     121#index.php:249 
    92122$GLOBALS['__l10n']['edit this post'] = 'éditer ce billet'; 
    93123 
    94 #index.php:317 
    95 $GLOBALS['__l10n']['Select an existing post or create a new post, then select it.'] = 'Sélectionner un billet existant ou créer un nouveau billet puis le sélectionner.'; 
    96  
    97 #index.php:318 
    98 $GLOBALS['__l10n']['The post can be %s or %s.'] = 'Le billet peut être %s ou %s.'; 
    99  
    100 #index.php:320 
    101 $GLOBALS['__l10n']['The form will be filled with the values of this post.'] = 'Le formulaire sera rempli avec les valeurs du billet.'; 
    102  
    103 #index.php:326 
    104 $GLOBALS['__l10n']['Text formating (only if no default post is selected):'] = 'Format du texte (seulement si aucun billet par défaut n\'est sélectionné)&nbsp;:'; 
    105  
    106 #index.php:332 
    107 $GLOBALS['__l10n']['Contributors will be able to choose the format.'] = 'Permet aux contributeurs de choisir le format.'; 
    108  
    109 #index.php:333 
    110 $GLOBALS['__l10n']['Some formats may be unavailable on the blog.'] = 'Certains formats peuvent ne pas être disponibles sur le blog.'; 
    111  
    112 #index.php:344 
    113 $GLOBALS['__l10n']['Allow contributors to choose %s values.'] = 'Permettre aux contributeurs de choisir les valeurs de %s.'; 
    114  
    115 #index.php:365 
    116 $GLOBALS['__l10n']['Enable these %s values:'] = 'Activer ces valeurs de %s&nbsp;:'; 
    117  
    118 #index.php:385 
    119 $GLOBALS['__l10n']['Save configuration'] = 'Enregistrer la configuration'; 
    120  
    121 #index.php:391 
    122 $GLOBALS['__l10n']['URL of the %s page:'] = 'URL de la page %s&nbsp;:'; 
    123  
    124 #index.php:396 
    125 $GLOBALS['__l10n']['View the %s page'] = 'Voir la page %s'; 
    126  
    127124?> 
  • plugins/contribute/locales/fr/admin.po

    r1499 r1576  
    11# Language: français 
    2 # Module: contribute - 1.0-alpha18 
    3 # Date: 2009-09-24 19:00:32 
    4 # Translated with dcTranslater - 0.2.4 
     2# Module: contribute - 1.0-alpha20 
     3# Date: 2009-10-13 18:54:02 
     4# Translated with dcTranslater - 1.2 
    55 
    66msgid "" 
    77msgstr "Content-Type: text/plain; charset=UTF-8\n" 
     8 
     9#: index.php:147 
     10msgid "%s (contributor)" 
     11msgstr "%s (contributeur)" 
     12 
     13#: index.php:336 
     14msgid "(%s is the author name or nickname)" 
     15msgstr "(%s est le nom ou le pseudo de l'auteur)" 
     16 
     17#: index.php:372 
     18msgid "Enable these %s values:" 
     19msgstr "Activer ces valeurs de %s&nbsp;:" 
     20 
     21#: index.php:224 
     22msgid "Enable antispam." 
     23msgstr "Activer l'antispam." 
     24 
     25#: index.php:333 
     26msgid "Display" 
     27msgstr "Affichage" 
     28 
     29#: index.php:336 
     30msgid "Display of the author name on the blog:" 
     31msgstr "Affichage du nom de l'auteur sur le blog&nbsp;:" 
     32 
     33#: index.php:303 
     34msgid "add new tags (only if tags are allowed)" 
     35msgstr "ajouter des nouveaux tags (seulement si les tags sont permis)" 
     36 
     37#: index.php:242 
     38msgid "Default post:" 
     39msgstr "Billet par défaut&nbsp;:" 
     40 
     41#: _public.php:321 
     42msgid "Invalid cat_id" 
     43msgstr "cat_id invalide" 
     44 
     45#: index.php:191 
     46msgid "This will disable smilies on entries and comments." 
     47msgstr "Ceci désactivera les émoticones dans les billets et commentaires." 
     48 
     49#: index.php:354 
     50msgid "It requires the %s plugin." 
     51msgstr "Cela nécessite le plugin %s." 
     52 
     53#: index.php:270 
     54msgid "Some formats may be unavailable on the blog." 
     55msgstr "Certains formats peuvent ne pas être disponibles sur le blog." 
     56 
     57#: index.php:287 
     58msgid "choose the category" 
     59msgstr "choisir la catégorie" 
     60 
     61#: index.php:295 
     62msgid "choose the tags" 
     63msgstr "choisir les tags" 
     64 
     65#: index.php:106 
     66msgid "Configuration successfully updated." 
     67msgstr "Configuration mise à jour avec succès." 
    868 
    969#: _admin.php:163 
     
    1171msgstr "Effacer cet auteur" 
    1272 
    13 #: _public.php:147 
    14 msgid "No default post." 
    15 msgstr "Pas de billet par défaut." 
     73#: index.php:392 
     74msgid "Save configuration" 
     75msgstr "Enregistrer la configuration" 
    1676 
    17 #: _public.php:315 
    18 msgid "Invalid cat_id" 
    19 msgstr "cat_id invalide" 
     77#: index.php:319 
     78msgid "enter their name, email address and website URL" 
     79msgstr "entrer leur nom, adresse email et URL de leur site" 
    2080 
    21 #: index.php:103 
    22 msgid "Configuration successfully updated." 
    23 msgstr "Configuration mise à jour avec succès." 
     81#: index.php:209 
     82msgid "Send emails to these email adresses when a new post is submitted:" 
     83msgstr "Envoyer des emails à ces adresses emails quand un nouveau billet est soumis&nbsp;:" 
    2484 
    25 #: index.php:126 
     85#: index.php:263 
     86msgid "Text formating (only if no default post is selected):" 
     87msgstr "Format du texte (seulement si aucun billet par défaut n'est sélectionné)&nbsp;:" 
     88 
     89#: index.php:233 
     90msgid "Form" 
     91msgstr "Formulaire" 
     92 
     93#: index.php:255 
     94msgid "The post can be %s or %s." 
     95msgstr "Le billet peut être %s ou %s." 
     96 
     97#: index.php:257 
     98msgid "The form will be filled with the values of this post." 
     99msgstr "Le formulaire sera rempli avec les valeurs du billet." 
     100 
     101#: index.php:129 
    26102msgid "me" 
    27103msgstr "moi" 
    28104 
    29 #: index.php:144 
    30 msgid "%s (contributor)" 
    31 msgstr "%s (contributeur)" 
    32  
    33 #: index.php:178 
     105#: index.php:181 
    34106msgid "General settings" 
    35107msgstr "Paramètres généraux" 
    36108 
    37 #: index.php:184 
     109#: index.php:269 
     110msgid "Contributors will be able to choose the format." 
     111msgstr "Permet aux contributeurs de choisir le format." 
     112 
     113#: index.php:351 
     114msgid "Allow contributors to choose %s values." 
     115msgstr "Permettre aux contributeurs de choisir les valeurs de %s." 
     116 
     117#: index.php:274 
     118msgid "Allow contributors to:" 
     119msgstr "Permettre aux contributeurs de&nbsp;:" 
     120 
     121#: index.php:187 
    38122msgid "Allow visitors to contribute to your blog" 
    39123msgstr "Permettre aux visiteurs de contribuer à votre blog" 
    40124 
    41 #: index.php:188 
    42 msgid "This will disable smilies on entries and comments." 
    43 msgstr "Ceci désactivera les émoticones dans les billets et commentaires." 
    44  
    45 #: index.php:193 
     125#: index.php:196 
    46126msgid "Owner of the posts:" 
    47127msgstr "Propriétaire des billets&nbsp;:" 
    48128 
    49 #: index.php:198 
     129#: index.php:327 
     130msgid "require name and email (only if name, email address and website URL are allowed)" 
     131msgstr "rendre obligatoires le nom et l'adresse email (seulement si le nom, l'adresse email et l'URL de leur site sont autorisés)" 
     132 
     133#: index.php:201 
    50134msgid "Only the users with the following permissions on this blog are shown:" 
    51135msgstr "Seuls les utilisateurs avec les permissions suivantes sur le blog sont affichés&nbsp;:" 
    52136 
    53 #: index.php:206 
    54 msgid "Send emails to these email adresses when a new post is submitted:" 
    55 msgstr "Envoyer des emails à ces adresses emails quand un nouveau billet est soumis&nbsp;:" 
     137#: index.php:254 
     138msgid "Select an existing post or create a new post, then select it." 
     139msgstr "Sélectionner un billet existant ou créer un nouveau billet puis le sélectionner." 
    56140 
    57 #: index.php:212 
     141#: index.php:398 
     142msgid "URL of the %s page:" 
     143msgstr "URL de la page %s&nbsp;:" 
     144 
     145#: index.php:403 
     146msgid "View the %s page" 
     147msgstr "Voir la page %s" 
     148 
     149#: index.php:215 
    58150msgid "You can enter several email adresses by separating these by a comma (<code>,</code>)." 
    59151msgstr "Vous pouvez entrer plusieurs adresses email en les séparant par une virgule (<code>,</code>)." 
    60152 
    61 #: index.php:221 
    62 msgid "Enable antispam." 
    63 msgstr "Activer l'antispam." 
     153#: index.php:311 
     154msgid "write notes" 
     155msgstr "écrire des notes" 
    64156 
    65 #: index.php:347 
    66 msgid "It requires the %s plugin." 
    67 msgstr "Cela nécessite le plugin %s." 
    68  
    69 #: index.php:230 
    70 msgid "Allow contributors to" 
    71 msgstr "Permettre aux contributeurs de" 
    72  
    73 #: index.php:235 
     157#: index.php:279 
    74158msgid "write an excerpt" 
    75159msgstr "écrire un extrait" 
    76160 
    77 #: index.php:243 
    78 msgid "choose the category" 
    79 msgstr "choisir la catégorie" 
    80  
    81 #: index.php:251 
    82 msgid "choose the tags" 
    83 msgstr "choisir les tags" 
    84  
    85 #: index.php:259 
    86 msgid "add new tags (only if tags are allowed)" 
    87 msgstr "ajouter des nouveaux tags (seulement si les tags sont permis)" 
    88  
    89 #: index.php:267 
    90 msgid "write notes" 
    91 msgstr "écrire des notes" 
    92  
    93 #: index.php:275 
    94 msgid "enter their name, email address and website URL" 
    95 msgstr "entrer leur nom, adresse email et URL de leur site" 
    96  
    97 #: index.php:283 
    98 msgid "require name and email (only if name, email address and website URL are allowed)" 
    99 msgstr "rendre obligatoires le nom et l'adresse email (seulement si le nom, l'adresse email et l'URL de leur site sont autorisés)" 
    100  
    101 #: index.php:289 
    102 msgid "Display" 
    103 msgstr "Affichage" 
    104  
    105 #: index.php:292 
    106 msgid "Display of the author name on the blog:" 
    107 msgstr "Affichage du nom de l'auteur sur le blog&nbsp;:" 
    108  
    109 #: index.php:292 
    110 msgid "(%s is the author name or nickname)" 
    111 msgstr "(%s est le nom ou le pseudo de l'auteur)" 
    112  
    113 #: index.php:302 
    114 msgid "Default post and format" 
    115 msgstr "Billet par défaut et format" 
    116  
    117 #: index.php:305 
    118 msgid "Default post:" 
    119 msgstr "Billet par défaut&nbsp;:" 
    120  
    121 #: index.php:312 
     161#: index.php:249 
    122162msgid "edit this post" 
    123163msgstr "éditer ce billet" 
    124164 
    125 #: index.php:317 
    126 msgid "Select an existing post or create a new post, then select it." 
    127 msgstr "Sélectionner un billet existant ou créer un nouveau billet puis le sélectionner." 
    128  
    129 #: index.php:318 
    130 msgid "The post can be %s or %s." 
    131 msgstr "Le billet peut être %s ou %s." 
    132  
    133 #: index.php:320 
    134 msgid "The form will be filled with the values of this post." 
    135 msgstr "Le formulaire sera rempli avec les valeurs du billet." 
    136  
    137 #: index.php:326 
    138 msgid "Text formating (only if no default post is selected):" 
    139 msgstr "Format du texte (seulement si aucun billet par défaut n'est sélectionné)&nbsp;:" 
    140  
    141 #: index.php:332 
    142 msgid "Contributors will be able to choose the format." 
    143 msgstr "Permet aux contributeurs de choisir le format." 
    144  
    145 #: index.php:333 
    146 msgid "Some formats may be unavailable on the blog." 
    147 msgstr "Certains formats peuvent ne pas être disponibles sur le blog." 
    148  
    149 #: index.php:344 
    150 msgid "Allow contributors to choose %s values." 
    151 msgstr "Permettre aux contributeurs de choisir les valeurs de %s." 
    152  
    153 #: index.php:365 
    154 msgid "Enable these %s values:" 
    155 msgstr "Activer ces valeurs de %s&nbsp;:" 
    156  
    157 #: index.php:385 
    158 msgid "Save configuration" 
    159 msgstr "Enregistrer la configuration" 
    160  
    161 #: index.php:391 
    162 msgid "URL of the %s page:" 
    163 msgstr "URL de la page %s&nbsp;:" 
    164  
    165 #: index.php:396 
    166 msgid "View the %s page" 
    167 msgstr "Voir la page %s" 
    168  
  • plugins/contribute/locales/fr/main.lang.php

    r1499 r1576  
    11<?php 
    22// Language: français  
    3 // Module: contribute - 1.0-alpha18 
    4 // Date: 2009-09-24 19:00:32  
    5 // Translated with dcTranslater - 0.2.4  
     3// Module: contribute - 1.0-alpha20 
     4// Date: 2009-10-13 18:54:03  
     5// Translated with dcTranslater - 1.2  
    66 
    77#public_l10n.php:10 
    88$GLOBALS['__l10n']['Contribute'] = 'Contribuer'; 
    99 
     10#_public.php:150 
     11$GLOBALS['__l10n']['No default post.'] = 'Pas de billet par défaut.'; 
     12 
    1013?> 
  • plugins/contribute/locales/fr/main.po

    r1498 r1576  
    11# Language: français 
    2 # Module: contribute - 1.0-alpha18 
    3 # Date: 2009-09-24 19:00:32 
    4 # Translated with dcTranslater - 0.2.4 
     2# Module: contribute - 1.0-alpha20 
     3# Date: 2009-10-13 18:54:03 
     4# Translated with dcTranslater - 1.2 
    55 
    66msgid "" 
     
    1111msgstr "Contribuer" 
    1212 
     13#: _public.php:150 
     14msgid "No default post." 
     15msgstr "Pas de billet par défaut." 
     16 
  • plugins/contribute/locales/fr/public.lang.php

    r1499 r1576  
    11<?php 
    22// Language: français  
    3 // Module: contribute - 1.0-alpha18 
    4 // Date: 2009-09-24 19:00:32  
    5 // Translated with dcTranslater - 0.2.4  
     3// Module: contribute - 1.0-alpha20 
     4// Date: 2009-10-13 18:54:02  
     5// Translated with dcTranslater - 1.2  
    66 
    7 #_public.php:485 
    8 $GLOBALS['__l10n']['The user is not allowed to create an entry'] = 'L\'utilisateur n\'est pas autorisé à créer des billets'; 
     7#_public.php:630 
     8$GLOBALS['__l10n']['Email address: %s'] = 'Adresse email&nbsp;: %s'; 
    99 
    10 #_public.php:608 
    11 $GLOBALS['__l10n']['New post submitted on %s'] = 'Nouveau billet envoyé sur %s.'; 
    12  
    13 #_public.php:611 
    14 $GLOBALS['__l10n']['Title: %s'] = 'Titre&nbsp;: %s'; 
    15  
    16 #_public.php:616 
     10#_public.php:622 
    1711$GLOBALS['__l10n']['Author: %s'] = 'Auteur&nbsp;: %s'; 
    1812 
    19 #_public.php:624 
    20 $GLOBALS['__l10n']['Email address: %s'] = 'Adresse email&nbsp;: %s'; 
    21  
    22 #_public.php:637 
    23 $GLOBALS['__l10n']['Edit this entry:'] = 'Éditer ce billet&nbsp;:'; 
    24  
    25 #_public.php:641 
    26 $GLOBALS['__l10n']['You must log in on the backend before clicking on this link to go directly to the post.'] = 'Vous devez vous enregistrer sur l\'interface d\'administration avant de cliquer sur ce lien pour aller directement sur ce billet.'; 
    27  
    28 #_widget.php:46 
    29 $GLOBALS['__l10n']['Write a post for this blog'] = 'Écrire un billet pour ce blog'; 
     13#public_l10n.php:50 
     14$GLOBALS['__l10n']['This is a preview.'] = 'Ceci est un aperçu.'; 
    3015 
    3116#public_l10n.php:7 
    3217$GLOBALS['__l10n']['Click on <strong>save</strong> when the post is ready.'] = 'Cliquez sur <strong>enregistrer</strong> quand le billet est prêt.'; 
     18 
     19#public_l10n.php:9 
     20$GLOBALS['__l10n']['Content'] = 'Contenu'; 
    3321 
    3422#public_l10n.php:11 
     
    3826$GLOBALS['__l10n']['Excerpt'] = 'Extrait'; 
    3927 
     28#public_l10n.php:48 
     29$GLOBALS['__l10n']['Text formating'] = 'Format du texte'; 
     30 
    4031#public_l10n.php:19 
    4132$GLOBALS['__l10n']['http://dotclear.org/documentation/2.0/usage/syntaxes'] = 'http://fr.dotclear.org/documentation/2.0/usage/syntaxes'; 
     
    4435$GLOBALS['__l10n']['It needs to be approved by an administrator to be published.'] = 'Il faut qu\'il soit approuvé par un administrateur pour être publié.'; 
    4536 
     37#_public.php:491 
     38$GLOBALS['__l10n']['The user is not allowed to create an entry'] = 'L\'utilisateur n\'est pas autorisé à créer des billets'; 
     39 
     40#public_l10n.php:49 
     41$GLOBALS['__l10n']['The post has been saved.'] = 'Le billet a été sauvegardé.'; 
     42 
     43#public_l10n.php:57 
     44$GLOBALS['__l10n']['won\'t be displayed'] = 'ne sera pas affichée'; 
     45 
    4646#public_l10n.php:34 
    4747$GLOBALS['__l10n']['Notes'] = 'Notes'; 
     48 
     49#_public.php:614 
     50$GLOBALS['__l10n']['New post submitted on %s'] = 'Nouveau billet envoyé sur %s.'; 
     51 
     52#public_l10n.php:56 
     53$GLOBALS['__l10n']['wiki syntax reference'] = 'référence de la syntaxe wiki'; 
     54 
     55#public_l10n.php:44 
     56$GLOBALS['__l10n']['separate tags by a comma'] = 'séparer les tags par une virgule'; 
     57 
     58#_public.php:617 
     59$GLOBALS['__l10n']['Title: %s'] = 'Titre&nbsp;: %s'; 
    4860 
    4961#public_l10n.php:36 
    5062$GLOBALS['__l10n']['only visible by administrators, won\'t be displayed in the post'] = 'uniquement visibles par les administrateurs, ne seront pas affichées dans le billet'; 
    5163 
    52 #public_l10n.php:44 
    53 $GLOBALS['__l10n']['separate tags by a comma'] = 'séparer les tags par une virgule'; 
    54  
    55 #public_l10n.php:48 
    56 $GLOBALS['__l10n']['Text formating'] = 'Format du texte'; 
    57  
    58 #public_l10n.php:49 
    59 $GLOBALS['__l10n']['The post has been saved.'] = 'Le billet a été sauvegardé.'; 
    60  
    61 #public_l10n.php:50 
    62 $GLOBALS['__l10n']['This is a preview.'] = 'Ceci est un aperçu.'; 
    63  
    64 #public_l10n.php:56 
    65 $GLOBALS['__l10n']['wiki syntax reference'] = 'référence de la syntaxe wiki'; 
    66  
    67 #public_l10n.php:57 
    68 $GLOBALS['__l10n']['won\'t be displayed'] = 'ne sera pas affichée'; 
    69  
    7064#public_l10n.php:60 
    7165$GLOBALS['__l10n']['Your informations'] = 'Vos informations'; 
    7266 
     67#_public.php:647 
     68$GLOBALS['__l10n']['You must log in on the backend before clicking on this link to go directly to the post.'] = 'Vous devez vous enregistrer sur l\'interface d\'administration avant de cliquer sur ce lien pour aller directement sur ce billet.'; 
     69 
     70#_widget.php:46 
     71$GLOBALS['__l10n']['Write a post for this blog'] = 'Écrire un billet pour ce blog'; 
     72 
     73#_public.php:643 
     74$GLOBALS['__l10n']['Edit this entry:'] = 'Éditer ce billet&nbsp;:'; 
     75 
    7376?> 
  • plugins/contribute/locales/fr/public.po

    r1499 r1576  
    11# Language: français 
    2 # Module: contribute - 1.0-alpha18 
    3 # Date: 2009-09-24 19:00:32 
    4 # Translated with dcTranslater - 0.2.4 
     2# Module: contribute - 1.0-alpha20 
     3# Date: 2009-10-13 18:54:02 
     4# Translated with dcTranslater - 1.2 
    55 
    66msgid "" 
    77msgstr "Content-Type: text/plain; charset=UTF-8\n" 
    88 
    9 #: _public.php:485 
    10 msgid "The user is not allowed to create an entry" 
    11 msgstr "L'utilisateur n'est pas autorisé à créer des billets" 
     9#: _public.php:630 
     10msgid "Email address: %s" 
     11msgstr "Adresse email&nbsp;: %s" 
    1212 
    13 #: _public.php:608 
    14 msgid "New post submitted on %s" 
    15 msgstr "Nouveau billet envoyé sur %s." 
    16  
    17 #: _public.php:611 
    18 msgid "Title: %s" 
    19 msgstr "Titre&nbsp;: %s" 
    20  
    21 #: _public.php:616 
     13#: _public.php:622 
    2214msgid "Author: %s" 
    2315msgstr "Auteur&nbsp;: %s" 
    2416 
    25 #: _public.php:624 
    26 msgid "Email address: %s" 
    27 msgstr "Adresse email&nbsp;: %s" 
    28  
    29 #: _public.php:637 
    30 msgid "Edit this entry:" 
    31 msgstr "Éditer ce billet&nbsp;:" 
    32  
    33 #: _public.php:641 
    34 msgid "You must log in on the backend before clicking on this link to go directly to the post." 
    35 msgstr "Vous devez vous enregistrer sur l'interface d'administration avant de cliquer sur ce lien pour aller directement sur ce billet." 
    36  
    37 #: _widget.php:46 
    38 msgid "Write a post for this blog" 
    39 msgstr "Écrire un billet pour ce blog" 
     17#: public_l10n.php:50 
     18msgid "This is a preview." 
     19msgstr "Ceci est un aperçu." 
    4020 
    4121#: public_l10n.php:7 
    4222msgid "Click on <strong>save</strong> when the post is ready." 
    4323msgstr "Cliquez sur <strong>enregistrer</strong> quand le billet est prêt." 
     24 
     25#: public_l10n.php:9 
     26msgid "Content" 
     27msgstr "Contenu" 
    4428 
    4529#: public_l10n.php:11 
     
    5135msgstr "Extrait" 
    5236 
     37#: public_l10n.php:48 
     38msgid "Text formating" 
     39msgstr "Format du texte" 
     40 
    5341#: public_l10n.php:19 
    5442msgid "http://dotclear.org/documentation/2.0/usage/syntaxes" 
     
    5947msgstr "Il faut qu'il soit approuvé par un administrateur pour être publié." 
    6048 
     49#: _public.php:491 
     50msgid "The user is not allowed to create an entry" 
     51msgstr "L'utilisateur n'est pas autorisé à créer des billets" 
     52 
     53#: public_l10n.php:49 
     54msgid "The post has been saved." 
     55msgstr "Le billet a été sauvegardé." 
     56 
     57#: public_l10n.php:57 
     58msgid "won't be displayed" 
     59msgstr "ne sera pas affichée" 
     60 
    6161#: public_l10n.php:34 
    6262msgid "Notes" 
    6363msgstr "Notes" 
     64 
     65#: _public.php:614 
     66msgid "New post submitted on %s" 
     67msgstr "Nouveau billet envoyé sur %s." 
     68 
     69#: public_l10n.php:56 
     70msgid "wiki syntax reference" 
     71msgstr "référence de la syntaxe wiki" 
     72 
     73#: public_l10n.php:44 
     74msgid "separate tags by a comma" 
     75msgstr "séparer les tags par une virgule" 
     76 
     77#: _public.php:617 
     78msgid "Title: %s" 
     79msgstr "Titre&nbsp;: %s" 
    6480 
    6581#: public_l10n.php:36 
     
    6783msgstr "uniquement visibles par les administrateurs, ne seront pas affichées dans le billet" 
    6884 
    69 #: public_l10n.php:44 
    70 msgid "separate tags by a comma" 
    71 msgstr "séparer les tags par une virgule" 
    72  
    73 #: public_l10n.php:48 
    74 msgid "Text formating" 
    75 msgstr "Format du texte" 
    76  
    77 #: public_l10n.php:49 
    78 msgid "The post has been saved." 
    79 msgstr "Le billet a été sauvegardé." 
    80  
    81 #: public_l10n.php:50 
    82 msgid "This is a preview." 
    83 msgstr "Ceci est un aperçu." 
    84  
    85 #: public_l10n.php:56 
    86 msgid "wiki syntax reference" 
    87 msgstr "référence de la syntaxe wiki" 
    88  
    89 #: public_l10n.php:57 
    90 msgid "won't be displayed" 
    91 msgstr "ne sera pas affichée" 
    92  
    9385#: public_l10n.php:60 
    9486msgid "Your informations" 
    9587msgstr "Vos informations" 
    9688 
     89#: _public.php:647 
     90msgid "You must log in on the backend before clicking on this link to go directly to the post." 
     91msgstr "Vous devez vous enregistrer sur l'interface d'administration avant de cliquer sur ce lien pour aller directement sur ce billet." 
     92 
     93#: _widget.php:46 
     94msgid "Write a post for this blog" 
     95msgstr "Écrire un billet pour ce blog" 
     96 
     97#: _public.php:643 
     98msgid "Edit this entry:" 
     99msgstr "Éditer ce billet&nbsp;:" 
     100 
Note: See TracChangeset for help on using the changeset viewer.

Sites map