Changeset 3348
- Timestamp:
- 02/04/15 19:14:24 (8 years ago)
- Location:
- plugins/atReply
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/atReply/_admin.php
r3236 r3348 50 50 $core->addBehavior('adminAfterCommentCreate', 51 51 array('AtReplyAdmin','adminAfterCommentCreate')); 52 53 $core->addBehavior('adminDashboardFavs',54 array('AtReplyAdmin','adminDashboardFavs'));55 52 56 53 $_menu['Blog']->addItem(__('@ Reply'),'plugin.php?p=atReply', … … 163 160 } 164 161 # /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 }179 162 } 180 163 181 ?> 164 $core->addBehavior('adminDashboardFavorites','atReplyDashboardFavorites'); 165 166 function 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 35 35 /* Description*/ 'Easily reply to comments', 36 36 /* 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 ) 39 46 ); 40 ?> -
plugins/atReply/_install.php
r3093 r3348 53 53 54 54 return true; 55 ?> -
plugins/atReply/_public.php
r3235 r3348 89 89 'var atReplyDisplayTitle = '.$title.';'."\n". 90 90 'var atReplyTitle = \''. 91 html::escapeHTML(__('Reply to this comment by{author}')).'\';'."\n".91 html::escapeHTML(__('Reply to comment {author}')).'\';'."\n". 92 92 'var atReplyImage = \''.$image_url.'\';'."\n". 93 93 'var atReply_switch_text = \''. … … 134 134 } 135 135 } 136 137 ?> -
plugins/atReply/index.php
r3236 r3348 225 225 226 226 <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, 228 229 $settings->atreply_active)); ?> 229 230 <label class="classic" for="atreply_active"> … … 231 232 </label> 232 233 </p> 233 <p class=" form-note">234 <p class="info"> 234 235 <?php 235 236 # from commentsWikibar/index.php 236 237 echo(' '.__('Activating this plugin also enforces wiki syntax in blog comments.')); ?> 237 238 </p> 238 239 </div> 240 241 <div class="fieldset"><h4><?php echo(__('Settings')); ?></h4> 239 242 <p><?php echo(form::checkbox('atreply_display_title',1, 240 243 $settings->atreply_display_title)); ?> … … 257 260 </label> 258 261 </p> 259 <p class=" form-note">260 <?php printf(__('Requires %s.'),262 <p class="info"> 263 <?php printf(__('Requires "%s".'), 261 264 __('Append replies to appropriate comments')); ?> 262 265 </p> … … 269 272 </label> 270 273 </p> 271 <p class=" form-note">274 <p class="info"> 272 275 <?php printf(__('Requires the %s plugin.'), 273 276 __('Subscribe to comments')); ?> … … 281 284 $settings->atreply_color,'colorpicker')); ?> 282 285 </p> 283 <p class=" form-note">286 <p class="info"> 284 287 <?php echo(__('Leave blank to disable this feature.').' '. 285 288 __('The default image will be used.')); ?> … … 289 292 '" alt="reply.png" /></p>'); ?> 290 293 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> 292 296 293 297 <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> 295 299 </form> 296 300 -
plugins/atReply/locales/fr/admin.po
r3236 r3348 41 41 #: index.php:211 42 42 msgid "Activating this plugin also enforces wiki syntax in blog comments." 43 msgstr "L'activation de ce tte extension force la syntaxe wiki dans les commentaires du blog."43 msgstr "L'activation de ce plugin force la syntaxe wiki dans les commentaires du blog." 44 44 45 45 #: index.php:217 … … 57 57 58 58 #: index.php:235 59 msgid "Requires %s."60 msgstr "Nécessite %s."59 msgid "Requires "%s"." 60 msgstr "Nécessite "%s"." 61 61 62 62 #: index.php:242 63 63 msgid "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"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 le plugin %s" 65 65 66 66 #: index.php:243 … … 70 70 #: index.php:247 71 71 msgid "Requires the %s plugin." 72 msgstr " Ceci nécessite l'extension %s."72 msgstr "Le plugin %s est requis." 73 73 74 74 #: index.php:253 … … 84 84 msgstr "Aperçu :" 85 85 86 #: index.php:26787 msgid "Save configuration"88 msgstr "Enregistrer la configuration"89 90 86 msgid "Visitors may see the old image if their browser still use it." 91 87 msgstr "Les visiteurs peuvent voir l'ancienne image si leur navigateur l'utilise toujours." … … 94 90 msgstr "Laissez vide pour annuler ce comportement." 95 91 92 #: _define.php:35 93 msgid "Easily reply to comments" 94 msgstr "Répondre facilement aux commentaires" -
plugins/atReply/locales/fr/main.po
r3093 r3348 26 26 27 27 #: _public.php:101 28 msgid "Reply to this comment by{author}"29 msgstr "Répondre à ce commentaire par{author}"28 msgid "Reply to comment {author}" 29 msgstr "Répondre au commentaire de {author}" 30 30 31 31 #: _public.php:104
Note: See TracChangeset
for help on using the changeset viewer.