Dotclear

Changeset 3348


Ignore:
Timestamp:
02/04/15 19:14:24 (8 years ago)
Author:
brol
Message:

1.8.2 cosmétique et localisation

Location:
plugins/atReply
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • plugins/atReply/_admin.php

    r3236 r3348  
    5050$core->addBehavior('adminAfterCommentCreate', 
    5151     array('AtReplyAdmin','adminAfterCommentCreate')); 
    52  
    53 $core->addBehavior('adminDashboardFavs', 
    54      array('AtReplyAdmin','adminDashboardFavs')); 
    5552 
    5653$_menu['Blog']->addItem(__('@ Reply'),'plugin.php?p=atReply', 
     
    163160     } 
    164161     # /from hum plugin 
    165       
    166      public static function adminDashboardFavs($core,$favs) 
    167      { 
    168           $favs['atReply'] = new ArrayObject(array( 
    169                'atReply', 
    170                __('@ Reply'), 
    171                'plugin.php?p=atReply', 
    172                'index.php?pf=atReply/icon.png', 
    173                'index.php?pf=atReply/icon-big.png', 
    174                'usage,contentadmin', 
    175                null, 
    176                null) 
    177           ); 
    178      } 
    179162} 
    180163 
    181 ?> 
     164$core->addBehavior('adminDashboardFavorites','atReplyDashboardFavorites'); 
     165 
     166function atReplyDashboardFavorites($core,$favs) 
     167{ 
     168     $favs->register('atReply', array( 
     169          'title' => __('@ Reply'), 
     170          'url' => 'plugin.php?p=atReply', 
     171          'small-icon' => 'index.php?pf=atReply/icon.png', 
     172          'large-icon' => 'index.php?pf=atReply/icon-big.png', 
     173          'permissions' => 'usage,contentadmin' 
     174     )); 
     175} 
  • plugins/atReply/_define.php

    r3236 r3348  
    3535  /* Description*/  'Easily reply to comments', 
    3636  /* Author */           'Moe (http://gniark.net/) append extension by buns.fr', 
    37   /* Version */               '1.8.1', 
    38   /* Permissions */ 'usage,contentadmin' 
     37  /* Version */               '1.8.2', 
     38     /* Properties */ 
     39     array( 
     40          'permissions' => 'usage,contentadmin', 
     41          'type' => 'plugin', 
     42          'dc_min' => '2.6', 
     43          'support' => 'http://lab.dotclear.org/wiki/plugin/atReply', 
     44          'details' => 'http://plugins.dotaddict.org/dc2/details/atReply' 
     45          ) 
    3946); 
    40 ?> 
  • plugins/atReply/_install.php

    r3093 r3348  
    5353 
    5454return true; 
    55 ?> 
  • plugins/atReply/_public.php

    r3235 r3348  
    8989               'var atReplyDisplayTitle = '.$title.';'."\n". 
    9090               'var atReplyTitle = \''. 
    91                     html::escapeHTML(__('Reply to this comment by {author}')).'\';'."\n". 
     91                    html::escapeHTML(__('Reply to comment {author}')).'\';'."\n". 
    9292               'var atReplyImage = \''.$image_url.'\';'."\n". 
    9393               'var atReply_switch_text = \''. 
     
    134134     } 
    135135} 
    136  
    137 ?> 
  • plugins/atReply/index.php

    r3236 r3348  
    225225      
    226226     <form method="post" action="<?php echo $p_url; ?>"> 
    227           <p><?php echo(form::checkbox('atreply_active',1, 
     227          <div class="fieldset"><h4><?php echo(__('Activation')); ?></h4> 
     228    <p><?php echo(form::checkbox('atreply_active',1, 
    228229               $settings->atreply_active)); ?> 
    229230               <label class="classic" for="atreply_active"> 
     
    231232               </label> 
    232233          </p> 
    233           <p class="form-note"> 
     234          <p class="info"> 
    234235               <?php 
    235236                    # from commentsWikibar/index.php 
    236237                    echo(' '.__('Activating this plugin also enforces wiki syntax in blog comments.')); ?> 
    237238          </p> 
    238  
     239          </div> 
     240           
     241          <div class="fieldset"><h4><?php echo(__('Settings')); ?></h4> 
    239242          <p><?php echo(form::checkbox('atreply_display_title',1, 
    240243               $settings->atreply_display_title)); ?> 
     
    257260               </label> 
    258261          </p> 
    259           <p class="form-note"> 
    260                <?php printf(__('Requires %s.'), 
     262          <p class="info"> 
     263               <?php printf(__('Requires "%s".'), 
    261264                    __('Append replies to appropriate comments')); ?> 
    262265          </p> 
     
    269272               </label> 
    270273          </p> 
    271           <p class="form-note"> 
     274          <p class="info"> 
    272275               <?php printf(__('Requires the %s plugin.'), 
    273276                    __('Subscribe to comments')); ?> 
     
    281284                    $settings->atreply_color,'colorpicker')); ?> 
    282285          </p> 
    283           <p class="form-note"> 
     286          <p class="info"> 
    284287               <?php echo(__('Leave blank to disable this feature.').' '. 
    285288                    __('The default image will be used.')); ?> 
     
    289292               '" alt="reply.png" /></p>'); ?> 
    290293           
    291           <p class="form-note"><?php echo(__('Visitors may see the old image if their browser still use it.')); ?></p> 
     294          <p class="info"><?php echo(__('Visitors may see the old image if their browser still use it.')); ?></p> 
     295          </div> 
    292296           
    293297          <p><?php echo $core->formNonce(); ?></p> 
    294           <p><input type="submit" name="saveconfig" value="<?php echo __('Save configuration'); ?>" /></p> 
     298          <p><input type="submit" name="saveconfig" value="<?php echo __('Save'); ?>" /></p> 
    295299     </form> 
    296300 
  • plugins/atReply/locales/fr/admin.po

    r3236 r3348  
    4141#: index.php:211 
    4242msgid "Activating this plugin also enforces wiki syntax in blog comments." 
    43 msgstr "L'activation de cette extension force la syntaxe wiki dans les commentaires du blog." 
     43msgstr "L'activation de ce plugin force la syntaxe wiki dans les commentaires du blog." 
    4444 
    4545#: index.php:217 
     
    5757 
    5858#: index.php:235 
    59 msgid "Requires %s." 
    60 msgstr "Nécessite %s." 
     59msgid "Requires "%s"." 
     60msgstr "Nécessite "%s"." 
    6161 
    6262#: index.php:242 
    6363msgid "When clicking on the \"%s\" button in a comment list of the administration, subscribe to comments the email address of the replied comment with the %s plugin" 
    64 msgstr "Lors du clic sur le bouton \"%s\" dans une liste de commentaires de l'administration, abonner aux commentaires l'adresse email du commentaire répondu avec l'extension %s" 
     64msgstr "Lors du clic sur le bouton \"%s\" dans une liste de commentaires de l'administration, abonner aux commentaires l'adresse email du commentaire répondu avec le plugin %s" 
    6565 
    6666#: index.php:243 
     
    7070#: index.php:247 
    7171msgid "Requires the %s plugin." 
    72 msgstr "Ceci nécessite l'extension %s." 
     72msgstr "Le plugin %s est requis." 
    7373 
    7474#: index.php:253 
     
    8484msgstr "Aperçu&nbsp;:" 
    8585 
    86 #: index.php:267 
    87 msgid "Save configuration" 
    88 msgstr "Enregistrer la configuration" 
    89  
    9086msgid "Visitors may see the old image if their browser still use it." 
    9187msgstr "Les visiteurs peuvent voir l'ancienne image si leur navigateur l'utilise toujours." 
     
    9490msgstr "Laissez vide pour annuler ce comportement." 
    9591 
     92#: _define.php:35 
     93msgid "Easily reply to comments" 
     94msgstr "Répondre facilement aux commentaires" 
  • plugins/atReply/locales/fr/main.po

    r3093 r3348  
    2626 
    2727#: _public.php:101 
    28 msgid "Reply to this comment by {author}" 
    29 msgstr "Répondre à ce commentaire par {author}" 
     28msgid "Reply to comment {author}" 
     29msgstr "Répondre au commentaire de {author}" 
    3030 
    3131#: _public.php:104 
Note: See TracChangeset for help on using the changeset viewer.

Sites map