Changeset 2632
- Timestamp:
- 09/09/10 01:00:16 (13 years ago)
- Location:
- plugins/zoneclearFeedServer
- Files:
-
- 1 added
- 1 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/zoneclearFeedServer/_define.php
r2403 r2632 17 17 /* Description*/ "Mix your blog with a feeds planet", 18 18 /* Author */ "JC Denis, BG", 19 /* Version */ '1. 0',19 /* Version */ '1.1', 20 20 /* Permissions */ 'admin' 21 21 ); 22 /* date */ #20100 62722 /* date */ #20100908 23 23 ?> -
plugins/zoneclearFeedServer/_install.php
r2403 r2632 118 118 $s->put('zoneclearFeedServer_post_title_redir',serialize(array('feed')),'string','List of templates types for redirection to original post',false,true); 119 119 120 $s->put('zoneclearFeedServer_identica_login','','string','Identica user login',false,true); 121 $s->put('zoneclearFeedServer_identica_pass','','string','Identica user password',false,true); 122 $s->put('zoneclearFeedServer_identica_default_message','','string','Identica default message',false,true); 123 $s->put('zoneclearFeedServer_twitter_default_message','','string','Twitter default message',false,true); 124 120 125 # Version 121 126 $core->setVersion('zoneclearFeedServer',$new_version); -
plugins/zoneclearFeedServer/_prepend.php
r2403 r2632 25 25 $core->url->register('zoneclearFeedsPage','zcfeeds','^zcfeeds(.*?)$',array('zoneclearFeedServerURL','zcFeedsPage')); 26 26 27 # Add personal Twitter class 28 $__autoload['zcfsLibDcTwitter'] = dirname(__FILE__).'/inc/lib.dc.twitter.php'; 29 //$__autoload['zcfsLibDcTwitterSender'] = dirname(__FILE__).'/inc/lib.dc.twitter.php'; 27 # Add StatusNet send support 28 $__autoload['zcfsLibStatusNet'] = dirname(__FILE__).'/inc/lib.zcfs.statusnet.php'; 30 29 31 30 # Add to report on plugin activityReport -
plugins/zoneclearFeedServer/inc/class.zoneclear.feed.server.php
r2403 r2632 378 378 # Set feeds user 379 379 $this->enableUser($s->zoneclearFeedServer_user); 380 381 $twitter_msg = zcfsLibDcTwitter::getMessage("zoneclearFeedServer"); 380 381 // Identica 382 $identica_msg = $s->zoneclearFeedServer_identica_default_message; 383 $identica_login = $s->zoneclearFeedServer_identica_login; 384 $identica_pass = $s->zoneclearFeedServer_identica_pass; 385 386 // Twitter 387 $has_tac = $has_registry = $has_access = false; 388 $twitter_msg = $s->zoneclearFeedServer_twitter_default_message; 389 if ($twitter_msg) { 390 $has_tac = $this->core->plugins->moduleExists('TaC'); 391 if ($has_tac) { 392 $tac = new tac($this->core,'zoneclearFeedServer',null); 393 $has_registry = $tac->checkRegistry(); 394 } 395 if ($has_registry) { 396 $has_access = $tac->checkAccess(); 397 } 398 } 399 382 400 $updates = false; 383 401 $loop_mem = array(); … … 538 556 } 539 557 540 # Auto tweet post 541 if ($do_tweet && $ twitter_msg)558 # Auto tweet post on Identica 559 if ($do_tweet && $identica_msg && $identica_login && $identica_pass) 542 560 { 543 $shortposturl = zcfsLib DcTwitterSender::shorten($item->link);561 $shortposturl = zcfsLibStatusNet::shorten($item->link); 544 562 $shortposturl = $shortposturl ? $shortposturl : $item->link; 545 563 546 $shortsiteurl = zcfsLib DcTwitterSender::shorten($f->feed_url);564 $shortsiteurl = zcfsLibStatusNet::shorten($f->feed_url); 547 565 $shortsiteurl = $shortsiteurl ? $shortsiteurl : $f->feed_url; 548 566 … … 550 568 array('%posttitle%','%postlink%','%postauthor%','%posttweeter%','%sitetitle%','%sitelink%'), 551 569 array($cur_post->post_title,$shortposturl,$creator,$f->feed_tweeter,$f->feed_name,$shortsiteurl), 552 $ twitter_msg570 $identica_msg 553 571 ); 554 572 if (!empty($msg)) 555 573 { 556 zcfsLibDcTwitter::sendMessage("zoneclearFeedServer",$msg); 574 zcfsLibStatusNet::send($identica_login,$identica_pass,$msg); 575 } 576 } 577 578 # Auto tweet post on Twitter 579 if ($do_tweet && $has_tac && $twitter_msg) { 580 581 $shortposturl = tacTools::shorten($item->link); 582 $shortposturl = $shortposturl ? $shortposturl : $item->link; 583 584 $shortsiteurl = tacTools::shorten($f->feed_url); 585 $shortsiteurl = $shortsiteurl ? $shortsiteurl : $f->feed_url; 586 587 $msg = str_replace( 588 array('%posttitle%','%postlink%','%postauthor%','%posttweeter%','%sitetitle%','%sitelink%'), 589 array($cur_post->post_title,$shortposturl,$creator,$f->feed_tweeter,$f->feed_name,$f->feed_url), 590 $twitter_msg 591 ); 592 if (!empty($msg)) { 593 $tac->post('statuses/update',array('status'=>$msg)); 557 594 } 558 595 } -
plugins/zoneclearFeedServer/inc/index.setting.php
r2403 r2632 25 25 $feeduser = (string) $s->zoneclearFeedServer_user; 26 26 27 $identica_login = (string) $s->zoneclearFeedServer_identica_login; 28 $identica_pass = (string) $s->zoneclearFeedServer_identica_pass; 29 $identica_default_message = (string) $s->zoneclearFeedServer_identica_default_message; 30 $twitter_default_message = (string) $s->zoneclearFeedServer_twitter_default_message; 31 27 32 $section = isset($_REQUEST['section']) ? $_REQUEST['section'] : ''; 33 34 // Special Twitter 35 $has_tac = $has_registry = $has_access = $has_grant = false; 36 $has_tac = $core->plugins->moduleExists('TaC'); 37 if ($has_tac) { 38 39 try { 40 // always 41 $tac = new tac($core,'zoneclearFeedServer',null); 42 $has_registry = $tac->checkRegistry(); 43 44 // register plugin to tac 45 if (!$has_registry) { 46 $cur = $core->con->openCursor($core->prefix.'tac_registry'); 47 $cur->cr_id = 'zoneclearFeedServer'; 48 $cur->cr_key = 'R1uiJxPNKWSg2ZruRpfmDA'; 49 $cur->cr_secret = 'tpdtvsdtiiDAV3SSdGsR2vh5E8z1Uu9Fnhbamx6ck'; 50 $cur->cr_url_request = 'http://twitter.com/oauth/request_token'; 51 $cur->cr_url_access = 'http://twitter.com/oauth/access_token'; 52 $cur->cr_url_autorize = 'http://twitter.com/oauth/authorize'; 53 $cur->cr_url_authenticate = 'https://api.twitter.com/oauth/authenticate'; 54 55 $tac->addRegistry($cur); 56 57 $has_registry = $tac->checkRegistry(); 58 59 if (!$has_registry) { 60 throw new Exception(__('Failed to register plugin')); 61 } 62 } 63 // test user 64 $has_access = $tac->checkAccess(); 65 66 // request temp token 67 if ($action == 'requesttwitter') { 68 $url = $tac->requestAccess(DC_ADMIN_URL.'plugin.php?p=zoneclearFeedServer&part=setting&action=granttwitter§ion=setting-twitter'); 69 http::redirect($url); 70 } 71 72 // request final token 73 if ($action == 'granttwitter') { 74 $has_grant = $tac->grantAccess(); 75 76 if (!$has_grant) { 77 $tac->cleanAccess(); 78 } 79 http::redirect($p_url.'&part=setting&action=§ion=setting-twitter'); 80 } 81 } 82 catch(Exception $e) { 83 $has_registry = $has_access = $has_grant = false; 84 $core->error->add($e->getMessage()); 85 } 86 } 87 28 88 29 89 if ($default_part == 'setting' && $action == 'savesetting') … … 43 103 $s->put('zoneclearFeedServer_user',(string) $_POST['feeduser']); 44 104 45 # special auto tweet 46 zcfsLibDcTwitter::adminAction("zoneclearFeedServer"); 105 $s->put('zoneclearFeedServer_identica_login',(string) $_POST['identica_login']); 106 if (!empty($_POST['identica_pass'])) { 107 $s->put('zoneclearFeedServer_identica_pass',(string) $_POST['identica_pass']); 108 } 109 $s->put('zoneclearFeedServer_identica_default_message',(string) $_POST['identica_default_message']); 110 if (isset($_POST['twitter_default_message'])) { 111 $s->put('zoneclearFeedServer_twitter_default_message',(string) $_POST['twitter_default_message']); 112 } 113 114 //todo save twitter settings 47 115 48 116 $core->blog->triggerBlog(); … … 122 190 </fieldset> 123 191 124 <fieldset id="setting-twitter"><legend>'.__('Twitter').'</legend> 125 <div class="two-cols"><div class="col">'; 126 # Special auto tweet 127 zcfsLibDcTwitter::adminForm("zoneclearFeedServer"); 128 echo ' 192 <fieldset id="setting-identica"><legend>'.__('Identi.ca').'</legend> 193 <div class="two-cols"><div class="col"> 194 <h3>'.__('Identi.ca account').'</h3> 195 <p><label class="classic">'.__('Login:').'<br />'. 196 form::field('identica_login',50,255,$identica_login,'',2).' 197 </label></p> 198 <p><label class="classic">'.__('Password:').'<br />'. 199 form::password('identica_pass',50,255,'','',2).' 200 </label></p> 201 <p class="form-note">'.__('Type a password only to change old one.').'</p> 202 <h3>'.__('Message').'</h3> 203 <p><label class="classic">'.__('Text:').'<br />'. 204 form::field('identica_default_message',50,255,$identica_default_message,'',2).' 205 </label></p> 129 206 </div><div class="col"> 130 207 <ul> 131 <li>'.__('Send automatically message to tweeteron new post only if status of new post is "pusblished".').'</li>208 <li>'.__('Send automatically message to Identi.ca on new post only if status of new post is "pusblished".').'</li> 132 209 <li>'.__('Leave empty "ident" to not use this feature.').'</li> 133 210 <li>'.__('For message, use wildcard: %posttitle%, %postlink%, %postauthor%, %posttweeter%, %sitetitle%, %sitelink%').'</li> 134 </ul> 211 </ul>'; 212 if (!$has_tac) { 213 echo '<p>'.__('To use a Twitter account you must install plugin called "TaC"').'</p>'; 214 } 215 echo ' 135 216 </div></div> 136 </fieldset> 137 217 </fieldset>'; 218 219 if ($has_tac) { 220 echo ' 221 <fieldset id="setting-twitter"><legend>'.__('Twitter').'</legend> 222 <div class="two-cols"><div class="col">'; 223 224 if (!$has_access) { 225 echo ' 226 <p><a href="'.$p_url. 227 '&part=setting&action=requesttwitter&section=setting-twitter'. 228 '"><img src="index.php?pf=TaC/img/tac_light.png" alt="Sign in with Twitter"/></a></p>'; 229 } 230 else { 231 $user = $tac->get('account/verify_credentials'); 232 $content = $tac->get('account/rate_limit_status'); 233 234 echo ' 235 <ul> 236 <li>'.sprintf(__('Your are connected as "%s"'),$user->screen_name).'</li> 237 <li>'.sprintf(__('It remains %s API hits'),$content->remaining_hits).'</li> 238 <li><a href="'.$p_url.'&part=setting&action=cleantwitter&section=setting-twitter">'.__('Disconnect and clean access').'</a></li> 239 </ul>'; 240 } 241 242 echo ' 243 <h3>'.__('Message').'</h3> 244 <p><label class="classic">'.__('Text:').'<br />'. 245 form::field('twitter_default_message',50,255,$twitter_default_message,'',2).' 246 </label></p> 247 </div><div class="col"> 248 <ul> 249 <li>'.__('Send automatically message to Twitter on new post only if status of new post is "pusblished".').'</li> 250 <li>'.__('Leave empty "ident" to not use this feature.').'</li> 251 <li>'.__('For message, use wildcard: %posttitle%, %postlink%, %postauthor%, %posttweeter%, %sitetitle%, %sitelink%').'</li> 252 </ul> 253 </div></div> 254 </fieldset> 255 '; 256 } 257 258 echo ' 138 259 <fieldset id="setting-display"><legend>'. __('Display').'</legend> 139 260 <div class="two-cols"><div class="col"> -
plugins/zoneclearFeedServer/locales/fr/main.lang.php
r2403 r2632 1 1 <?php 2 2 // Language: Français 3 // Module: zoneclearFeedServer - 1. 0-alpha14 // Date: 2010-0 6-27 21:59:255 // Translated with dcTranslater - 1. 4.13 // Module: zoneclearFeedServer - 1.1 4 // Date: 2010-09-08 17:26:11 5 // Translated with dcTranslater - 1.5 6 6 7 7 #_admin.php:19 8 8 #inc/index.feed.php:593 9 9 #inc/index.feeds.php:381 10 #inc/index.setting.php: 7410 #inc/index.setting.php:142 11 11 #index.php:36 12 12 $GLOBALS['__l10n']['Feeds server'] = 'Serveur de flux'; … … 98 98 $GLOBALS['__l10n']['%s entries'] = '%s billets'; 99 99 100 #inc/class.zoneclear.feed.server.php: 665100 #inc/class.zoneclear.feed.server.php:702 101 101 $GLOBALS['__l10n']['disabled'] = 'désactivé'; 102 102 103 #inc/class.zoneclear.feed.server.php: 666103 #inc/class.zoneclear.feed.server.php:703 104 104 $GLOBALS['__l10n']['enabled'] = 'activé'; 105 105 106 #inc/class.zoneclear.feed.server.php: 673106 #inc/class.zoneclear.feed.server.php:710 107 107 $GLOBALS['__l10n']['every hour'] = 'toutes les heures'; 108 108 109 #inc/class.zoneclear.feed.server.php: 674109 #inc/class.zoneclear.feed.server.php:711 110 110 $GLOBALS['__l10n']['every two hours'] = 'toutes les deux heures'; 111 111 112 #inc/class.zoneclear.feed.server.php: 675112 #inc/class.zoneclear.feed.server.php:712 113 113 $GLOBALS['__l10n']['two times per day'] = 'deux fois par jour'; 114 114 115 #inc/class.zoneclear.feed.server.php: 676115 #inc/class.zoneclear.feed.server.php:713 116 116 $GLOBALS['__l10n']['every day'] = 'tous les jours'; 117 117 118 #inc/class.zoneclear.feed.server.php: 677118 #inc/class.zoneclear.feed.server.php:714 119 119 $GLOBALS['__l10n']['every two days'] = 'tous les deux jours'; 120 120 121 #inc/class.zoneclear.feed.server.php: 678121 #inc/class.zoneclear.feed.server.php:715 122 122 $GLOBALS['__l10n']['every week'] = 'toutes les semaines'; 123 123 124 #inc/class.zoneclear.feed.server.php:7 33124 #inc/class.zoneclear.feed.server.php:770 125 125 $GLOBALS['__l10n']['home page'] = 'la page d\'accueil'; 126 126 127 #inc/class.zoneclear.feed.server.php:7 34127 #inc/class.zoneclear.feed.server.php:771 128 128 $GLOBALS['__l10n']['post pages'] = 'la page d\'un billet'; 129 129 130 #inc/class.zoneclear.feed.server.php:7 35130 #inc/class.zoneclear.feed.server.php:772 131 131 $GLOBALS['__l10n']['tags pages'] = 'les pages des tags'; 132 132 133 #inc/class.zoneclear.feed.server.php:7 36133 #inc/class.zoneclear.feed.server.php:773 134 134 $GLOBALS['__l10n']['archives pages'] = 'les pages des archives'; 135 135 136 #inc/class.zoneclear.feed.server.php:7 37136 #inc/class.zoneclear.feed.server.php:774 137 137 $GLOBALS['__l10n']['category pages'] = 'les pages de catégorie'; 138 138 139 #inc/class.zoneclear.feed.server.php:7 38139 #inc/class.zoneclear.feed.server.php:775 140 140 $GLOBALS['__l10n']['entries feed'] = 'le flux des billets'; 141 141 … … 169 169 #inc/index.feed.php:599 170 170 #inc/index.feeds.php:386 171 #inc/index.setting.php: 83171 #inc/index.setting.php:151 172 172 $GLOBALS['__l10n']['Feeds'] = 'Fils de syndication'; 173 173 … … 178 178 #inc/index.feed.php:608 179 179 #inc/index.feeds.php:387 180 #inc/index.setting.php: 85180 #inc/index.setting.php:153 181 181 $GLOBALS['__l10n']['New feed'] = 'Nouveau flux'; 182 182 … … 270 270 $GLOBALS['__l10n']['Selected feeds action:'] = 'Action sur les flux sélectionnés :'; 271 271 272 #inc/index.setting.php: 60272 #inc/index.setting.php:128 273 273 $GLOBALS['__l10n']['disable'] = 'désactiver'; 274 274 275 #inc/index.setting.php: 61275 #inc/index.setting.php:129 276 276 $GLOBALS['__l10n']['before display'] = 'avant l\'affichage'; 277 277 278 #inc/index.setting.php: 62278 #inc/index.setting.php:130 279 279 $GLOBALS['__l10n']['after display'] = 'après l\'affichage'; 280 280 281 #inc/index.setting.php: 63281 #inc/index.setting.php:131 282 282 $GLOBALS['__l10n']['through Ajax'] = 'A travers Ajax'; 283 283 284 #inc/index.setting.php: 84284 #inc/index.setting.php:152 285 285 #index.php:34 286 286 $GLOBALS['__l10n']['Settings'] = 'Paramètres'; 287 287 288 #inc/index.setting.php: 89288 #inc/index.setting.php:157 289 289 $GLOBALS['__l10n']['Plugin activation'] = 'Activation de l\'extension'; 290 290 291 #inc/index.setting.php: 92291 #inc/index.setting.php:160 292 292 $GLOBALS['__l10n']['Enable plugin'] = 'Activer l\'extension'; 293 293 294 #inc/index.setting.php: 95294 #inc/index.setting.php:163 295 295 $GLOBALS['__l10n']['General rules'] = 'Réglages'; 296 296 297 #inc/index.setting.php: 98297 #inc/index.setting.php:166 298 298 $GLOBALS['__l10n']['Status of new posts:'] = 'Status des nouveaux billets :'; 299 299 300 #inc/index.setting.php:1 01300 #inc/index.setting.php:169 301 301 $GLOBALS['__l10n']['Owner of entries created by zoneclearFeedServer:'] = 'Propriétaire des billets créés par zoneclearFeedServer :'; 302 302 303 #inc/index.setting.php:1 04303 #inc/index.setting.php:172 304 304 $GLOBALS['__l10n']['Update feeds on public side:'] = 'Mettre à jour les flux depuis la partie publique :'; 305 305 306 #inc/index.setting.php:1 07306 #inc/index.setting.php:175 307 307 $GLOBALS['__l10n']['Number of feeds to update at one time:'] = 'Nombre de flux à mettre à jour à la fois :'; 308 308 309 #inc/index.setting.php:1 11309 #inc/index.setting.php:179 310 310 $GLOBALS['__l10n']['Enable public page'] = 'Activer la page publique'; 311 311 312 #inc/index.setting.php:1 15312 #inc/index.setting.php:183 313 313 $GLOBALS['__l10n']['A writable cache folder is required to use this extension.'] = 'Un dossier de cache accessible en écriture est nécessaire pour utiliser cette extension.'; 314 314 315 #inc/index.setting.php:1 16315 #inc/index.setting.php:184 316 316 $GLOBALS['__l10n']['If you set a large number of feeds to update at one time, this may cause a timeout error. We recommand to keep it to one.'] = 'Si vous paramètrez un grand nombre de flux à mettre à jour, ceci peut causer une erreur de timeout. Il est recommandé de laisser cette valeur à 1.'; 317 317 318 #inc/index.setting.php:1 17318 #inc/index.setting.php:185 319 319 $GLOBALS['__l10n']['If you use cron script, you can disable public update.'] = 'Si vous utilisez un script cron, vous pouvez désactiver la mise à jour publique.'; 320 320 321 #inc/index.setting.php:1 18321 #inc/index.setting.php:186 322 322 $GLOBALS['__l10n']['If active, a public list of feeds are available at "%s".'] = 'Si activé, une page publique de la liste des flux est disponible à l\'adresse %s .'; 323 323 324 #inc/index.setting.php:1 19324 #inc/index.setting.php:187 325 325 $GLOBALS['__l10n']['In order to do update through Ajax, your theme must have behavior publicHeadContent.'] = 'Pour utiliser la mise à jour depuis Ajax, votre thème doit avoir le behavior publicheadContent.'; 326 326 327 #inc/index.setting.php:131 328 $GLOBALS['__l10n']['Send automatically message to tweeter on new post only if status of new post is "pusblished".'] = 'Envoie automatiquement un message a twitter lors d\'jout de billet si le status des nouveaux billets est "publié".'; 329 330 #inc/index.setting.php:132 327 #inc/index.setting.php:194 328 $GLOBALS['__l10n']['Identi.ca account'] = 'Compte Identi.ca'; 329 330 #inc/index.setting.php:195 331 $GLOBALS['__l10n']['Login:'] = 'Identifiant :'; 332 333 #inc/index.setting.php:201 334 $GLOBALS['__l10n']['Type a password only to change old one.'] = 'Entrer un mot de passe uniquement pour changer l\'ancien.'; 335 336 #inc/index.setting.php:202 337 #inc/index.setting.php:243 338 $GLOBALS['__l10n']['Message'] = 'Message'; 339 340 #inc/index.setting.php:208 341 $GLOBALS['__l10n']['Send automatically message to Identi.ca on new post only if status of new post is "pusblished".'] = 'Envoie automatiquement un message sur Identi.ca lors d\'ajout de billet si le status des nouveaux billets est "publié".'; 342 343 #inc/index.setting.php:209 344 #inc/index.setting.php:250 331 345 $GLOBALS['__l10n']['Leave empty "ident" to not use this feature.'] = 'Laisser vide votre identifiant pour ne pas envoyer de tweet.'; 332 346 333 #inc/index.setting.php:133 347 #inc/index.setting.php:210 348 #inc/index.setting.php:251 334 349 $GLOBALS['__l10n']['For message, use wildcard: %posttitle%, %postlink%, %postauthor%, %posttweeter%, %sitetitle%, %sitelink%'] = 'Pour le message utiliser les jokers: %posttitle%, %postlink%, %postauthor%, %posttweeter%, %sitetitle%, %sitelink%'; 335 350 336 #inc/index.setting.php:138 351 #inc/index.setting.php:213 352 $GLOBALS['__l10n']['To use a Twitter account you must install plugin called "TaC"'] = 'Pour utiliser un compte Twitter vous devez installer le plugin nommé "TaC"'; 353 354 #inc/index.setting.php:249 355 $GLOBALS['__l10n']['Send automatically message to Twitter on new post only if status of new post is "pusblished".'] = 'Envoie automatiquement un message sur Twitter lors d\'ajout de billet si le status des nouveaux billets est "publié".'; 356 357 #inc/index.setting.php:259 337 358 $GLOBALS['__l10n']['Display'] = 'Affichage'; 338 359 339 #inc/index.setting.php: 141360 #inc/index.setting.php:262 340 361 $GLOBALS['__l10n']['Show full content on:'] = 'Afficher le contenu complet sur :'; 341 362 342 #inc/index.setting.php: 152363 #inc/index.setting.php:273 343 364 $GLOBALS['__l10n']['Entries title'] = 'Titre des billets'; 344 365 345 #inc/index.setting.php: 153366 #inc/index.setting.php:274 346 367 $GLOBALS['__l10n']['Redirect to original post on:'] = 'Rediriger vers le billet original sur :'; 347 368 348 #inc/lib.dc.twitter.php:171 349 $GLOBALS['__l10n']['Twitter account'] = 'Compte Twitter'; 350 351 #inc/lib.dc.twitter.php:172 352 #inc/lib.dc.twitter.php:180 353 $GLOBALS['__l10n']['Login:'] = 'Identifiant :'; 354 355 #inc/lib.dc.twitter.php:178 356 #inc/lib.dc.twitter.php:186 357 $GLOBALS['__l10n']['Type a password only to change old one.'] = 'Entrer un mot de passe uniquement pour changer l\'ancien.'; 358 359 #inc/lib.dc.twitter.php:179 360 $GLOBALS['__l10n']['Identi.ca account'] = 'Compte Identi.ca'; 361 362 #inc/lib.dc.twitter.php:187 363 $GLOBALS['__l10n']['Message'] = 'Message'; 364 365 #inc/lib.dc.twitter.php:298 369 #inc/lib.zcfs.statusnet.php:29 366 370 $GLOBALS['__l10n']['User is not set.'] = 'L\'utilisateur est pas renseigné.'; 367 371 368 #inc/lib. dc.twitter.php:306372 #inc/lib.zcfs.statusnet.php:39 369 373 $GLOBALS['__l10n']['Nothing to send.'] = 'Il n\'y a rien à envoyer.'; 370 374 371 #inc/lib. dc.twitter.php:330375 #inc/lib.zcfs.statusnet.php:54 372 376 $GLOBALS['__l10n']['Failed to send message (%s)'] = 'Impossible d\'envoyer le message (%s)'; 373 377 374 #inc/lib. dc.twitter.php:390378 #inc/lib.zcfs.statusnet.php:115 375 379 $GLOBALS['__l10n']['Failed to get short url (%s)'] = 'Impossible de récupérer le lien court (%s)'; 376 380 377 #inc/lib. dc.twitter.php:396381 #inc/lib.zcfs.statusnet.php:121 378 382 $GLOBALS['__l10n']['Failed to get short url'] = 'Impossible de récupérer le lien court'; 379 383 -
plugins/zoneclearFeedServer/locales/fr/main.po
r2403 r2632 1 1 # Language: Français 2 # Module: zoneclearFeedServer - 1. 0-alpha13 # Date: 2010-0 6-27 21:59:254 # Translated with translater 1. 4.12 # Module: zoneclearFeedServer - 1.1 3 # Date: 2010-09-08 17:26:11 4 # Translated with translater 1.5 5 5 6 6 msgid "" 7 7 msgstr "" 8 8 "Content-Type: text/plain; charset=UTF-8\n" 9 "Project-Id-Version: zoneclearFeedServer 1. 0-alpha1\n"9 "Project-Id-Version: zoneclearFeedServer 1.1\n" 10 10 "POT-Creation-Date: \n" 11 "PO-Revision-Date: 2010-0 6-27T21:59:25+00:00\n"11 "PO-Revision-Date: 2010-09-08T17:26:11+00:00\n" 12 12 "Last-Translator: JC Denis\n" 13 13 "Language-Team: \n" … … 18 18 #: inc/index.feed.php:593 19 19 #: inc/index.feeds.php:381 20 #: inc/index.setting.php: 7420 #: inc/index.setting.php:142 21 21 #: index.php:36 22 22 msgid "Feeds server" … … 137 137 msgstr "%s billets" 138 138 139 #: inc/class.zoneclear.feed.server.php: 665139 #: inc/class.zoneclear.feed.server.php:702 140 140 msgid "disabled" 141 141 msgstr "désactivé" 142 142 143 #: inc/class.zoneclear.feed.server.php: 666143 #: inc/class.zoneclear.feed.server.php:703 144 144 msgid "enabled" 145 145 msgstr "activé" 146 146 147 #: inc/class.zoneclear.feed.server.php: 673147 #: inc/class.zoneclear.feed.server.php:710 148 148 msgid "every hour" 149 149 msgstr "toutes les heures" 150 150 151 #: inc/class.zoneclear.feed.server.php: 674151 #: inc/class.zoneclear.feed.server.php:711 152 152 msgid "every two hours" 153 153 msgstr "toutes les deux heures" 154 154 155 #: inc/class.zoneclear.feed.server.php: 675155 #: inc/class.zoneclear.feed.server.php:712 156 156 msgid "two times per day" 157 157 msgstr "deux fois par jour" 158 158 159 #: inc/class.zoneclear.feed.server.php: 676159 #: inc/class.zoneclear.feed.server.php:713 160 160 msgid "every day" 161 161 msgstr "tous les jours" 162 162 163 #: inc/class.zoneclear.feed.server.php: 677163 #: inc/class.zoneclear.feed.server.php:714 164 164 msgid "every two days" 165 165 msgstr "tous les deux jours" 166 166 167 #: inc/class.zoneclear.feed.server.php: 678167 #: inc/class.zoneclear.feed.server.php:715 168 168 msgid "every week" 169 169 msgstr "toutes les semaines" 170 170 171 #: inc/class.zoneclear.feed.server.php:7 33171 #: inc/class.zoneclear.feed.server.php:770 172 172 msgid "home page" 173 173 msgstr "la page d'accueil" 174 174 175 #: inc/class.zoneclear.feed.server.php:7 34175 #: inc/class.zoneclear.feed.server.php:771 176 176 msgid "post pages" 177 177 msgstr "la page d'un billet" 178 178 179 #: inc/class.zoneclear.feed.server.php:7 35179 #: inc/class.zoneclear.feed.server.php:772 180 180 msgid "tags pages" 181 181 msgstr "les pages des tags" 182 182 183 #: inc/class.zoneclear.feed.server.php:7 36183 #: inc/class.zoneclear.feed.server.php:773 184 184 msgid "archives pages" 185 185 msgstr "les pages des archives" 186 186 187 #: inc/class.zoneclear.feed.server.php:7 37187 #: inc/class.zoneclear.feed.server.php:774 188 188 msgid "category pages" 189 189 msgstr "les pages de catégorie" 190 190 191 #: inc/class.zoneclear.feed.server.php:7 38191 #: inc/class.zoneclear.feed.server.php:775 192 192 msgid "entries feed" 193 193 msgstr "le flux des billets" … … 231 231 #: inc/index.feed.php:599 232 232 #: inc/index.feeds.php:386 233 #: inc/index.setting.php: 83233 #: inc/index.setting.php:151 234 234 msgid "Feeds" 235 235 msgstr "Fils de syndication" … … 242 242 #: inc/index.feed.php:608 243 243 #: inc/index.feeds.php:387 244 #: inc/index.setting.php: 85244 #: inc/index.setting.php:153 245 245 msgid "New feed" 246 246 msgstr "Nouveau flux" … … 364 364 msgstr "Action sur les flux sélectionnés :" 365 365 366 #: inc/index.setting.php: 60366 #: inc/index.setting.php:128 367 367 msgid "disable" 368 368 msgstr "désactiver" 369 369 370 #: inc/index.setting.php: 61370 #: inc/index.setting.php:129 371 371 msgid "before display" 372 372 msgstr "avant l'affichage" 373 373 374 #: inc/index.setting.php: 62374 #: inc/index.setting.php:130 375 375 msgid "after display" 376 376 msgstr "après l'affichage" 377 377 378 #: inc/index.setting.php: 63378 #: inc/index.setting.php:131 379 379 msgid "through Ajax" 380 380 msgstr "A travers Ajax" 381 381 382 #: inc/index.setting.php: 84382 #: inc/index.setting.php:152 383 383 #: index.php:34 384 384 msgid "Settings" 385 385 msgstr "Paramètres" 386 386 387 #: inc/index.setting.php: 89387 #: inc/index.setting.php:157 388 388 msgid "Plugin activation" 389 389 msgstr "Activation de l'extension" 390 390 391 #: inc/index.setting.php: 92391 #: inc/index.setting.php:160 392 392 msgid "Enable plugin" 393 393 msgstr "Activer l'extension" 394 394 395 #: inc/index.setting.php: 95395 #: inc/index.setting.php:163 396 396 msgid "General rules" 397 397 msgstr "Réglages" 398 398 399 #: inc/index.setting.php: 98399 #: inc/index.setting.php:166 400 400 msgid "Status of new posts:" 401 401 msgstr "Status des nouveaux billets :" 402 402 403 #: inc/index.setting.php:1 01403 #: inc/index.setting.php:169 404 404 msgid "Owner of entries created by zoneclearFeedServer:" 405 405 msgstr "Propriétaire des billets créés par zoneclearFeedServer :" 406 406 407 #: inc/index.setting.php:1 04407 #: inc/index.setting.php:172 408 408 msgid "Update feeds on public side:" 409 409 msgstr "Mettre à jour les flux depuis la partie publique :" 410 410 411 #: inc/index.setting.php:1 07411 #: inc/index.setting.php:175 412 412 msgid "Number of feeds to update at one time:" 413 413 msgstr "Nombre de flux à mettre à jour à la fois :" 414 414 415 #: inc/index.setting.php:1 11415 #: inc/index.setting.php:179 416 416 msgid "Enable public page" 417 417 msgstr "Activer la page publique" 418 418 419 #: inc/index.setting.php:1 15419 #: inc/index.setting.php:183 420 420 msgid "A writable cache folder is required to use this extension." 421 421 msgstr "Un dossier de cache accessible en écriture est nécessaire pour utiliser cette extension." 422 422 423 #: inc/index.setting.php:1 16423 #: inc/index.setting.php:184 424 424 msgid "If you set a large number of feeds to update at one time, this may cause a timeout error. We recommand to keep it to one." 425 425 msgstr "Si vous paramètrez un grand nombre de flux à mettre à jour, ceci peut causer une erreur de timeout. Il est recommandé de laisser cette valeur à 1." 426 426 427 #: inc/index.setting.php:1 17427 #: inc/index.setting.php:185 428 428 msgid "If you use cron script, you can disable public update." 429 429 msgstr "Si vous utilisez un script cron, vous pouvez désactiver la mise à jour publique." 430 430 431 #: inc/index.setting.php:1 18431 #: inc/index.setting.php:186 432 432 msgid "If active, a public list of feeds are available at \"%s\"." 433 433 msgstr "Si activé, une page publique de la liste des flux est disponible à l'adresse %s ." 434 434 435 #: inc/index.setting.php:1 19435 #: inc/index.setting.php:187 436 436 msgid "In order to do update through Ajax, your theme must have behavior publicHeadContent." 437 437 msgstr "Pour utiliser la mise à jour depuis Ajax, votre thème doit avoir le behavior publicheadContent." 438 438 439 #: inc/index.setting.php:131 440 msgid "Send automatically message to tweeter on new post only if status of new post is \"pusblished\"." 441 msgstr "Envoie automatiquement un message a twitter lors d'jout de billet si le status des nouveaux billets est \"publié\"." 442 443 #: inc/index.setting.php:132 439 #: inc/index.setting.php:194 440 msgid "Identi.ca account" 441 msgstr "Compte Identi.ca" 442 443 #: inc/index.setting.php:195 444 msgid "Login:" 445 msgstr "Identifiant :" 446 447 #: inc/index.setting.php:201 448 msgid "Type a password only to change old one." 449 msgstr "Entrer un mot de passe uniquement pour changer l'ancien." 450 451 #: inc/index.setting.php:202 452 #: inc/index.setting.php:243 453 msgid "Message" 454 msgstr "Message" 455 456 #: inc/index.setting.php:208 457 msgid "Send automatically message to Identi.ca on new post only if status of new post is \"pusblished\"." 458 msgstr "Envoie automatiquement un message sur Identi.ca lors d'ajout de billet si le status des nouveaux billets est \"publié\"." 459 460 #: inc/index.setting.php:209 461 #: inc/index.setting.php:250 444 462 msgid "Leave empty \"ident\" to not use this feature." 445 463 msgstr "Laisser vide votre identifiant pour ne pas envoyer de tweet." 446 464 447 #: inc/index.setting.php:133 465 #: inc/index.setting.php:210 466 #: inc/index.setting.php:251 448 467 msgid "For message, use wildcard: %posttitle%, %postlink%, %postauthor%, %posttweeter%, %sitetitle%, %sitelink%" 449 468 msgstr "Pour le message utiliser les jokers: %posttitle%, %postlink%, %postauthor%, %posttweeter%, %sitetitle%, %sitelink%" 450 469 451 #: inc/index.setting.php:138 470 #: inc/index.setting.php:213 471 msgid "To use a Twitter account you must install plugin called \"TaC\"" 472 msgstr "Pour utiliser un compte Twitter vous devez installer le plugin nommé \"TaC\"" 473 474 #: inc/index.setting.php:249 475 msgid "Send automatically message to Twitter on new post only if status of new post is \"pusblished\"." 476 msgstr "Envoie automatiquement un message sur Twitter lors d'ajout de billet si le status des nouveaux billets est \"publié\"." 477 478 #: inc/index.setting.php:259 452 479 msgid "Display" 453 480 msgstr "Affichage" 454 481 455 #: inc/index.setting.php: 141482 #: inc/index.setting.php:262 456 483 msgid "Show full content on:" 457 484 msgstr "Afficher le contenu complet sur :" 458 485 459 #: inc/index.setting.php: 152486 #: inc/index.setting.php:273 460 487 msgid "Entries title" 461 488 msgstr "Titre des billets" 462 489 463 #: inc/index.setting.php: 153490 #: inc/index.setting.php:274 464 491 msgid "Redirect to original post on:" 465 492 msgstr "Rediriger vers le billet original sur :" 466 493 467 #: inc/lib.dc.twitter.php:171 468 msgid "Twitter account" 469 msgstr "Compte Twitter" 470 471 #: inc/lib.dc.twitter.php:172 472 #: inc/lib.dc.twitter.php:180 473 msgid "Login:" 474 msgstr "Identifiant :" 475 476 #: inc/lib.dc.twitter.php:178 477 #: inc/lib.dc.twitter.php:186 478 msgid "Type a password only to change old one." 479 msgstr "Entrer un mot de passe uniquement pour changer l'ancien." 480 481 #: inc/lib.dc.twitter.php:179 482 msgid "Identi.ca account" 483 msgstr "Compte Identi.ca" 484 485 #: inc/lib.dc.twitter.php:187 486 msgid "Message" 487 msgstr "Message" 488 489 #: inc/lib.dc.twitter.php:298 494 #: inc/lib.zcfs.statusnet.php:29 490 495 msgid "User is not set." 491 496 msgstr "L'utilisateur est pas renseigné." 492 497 493 #: inc/lib. dc.twitter.php:306498 #: inc/lib.zcfs.statusnet.php:39 494 499 msgid "Nothing to send." 495 500 msgstr "Il n'y a rien à envoyer." 496 501 497 #: inc/lib. dc.twitter.php:330502 #: inc/lib.zcfs.statusnet.php:54 498 503 msgid "Failed to send message (%s)" 499 504 msgstr "Impossible d'envoyer le message (%s)" 500 505 501 #: inc/lib. dc.twitter.php:390506 #: inc/lib.zcfs.statusnet.php:115 502 507 msgid "Failed to get short url (%s)" 503 508 msgstr "Impossible de récupérer le lien court (%s)" 504 509 505 #: inc/lib. dc.twitter.php:396510 #: inc/lib.zcfs.statusnet.php:121 506 511 msgid "Failed to get short url" 507 512 msgstr "Impossible de récupérer le lien court" -
plugins/zoneclearFeedServer/release.txt
r2403 r2632 1 1 x.x xxxxxxxx 2 2 * Not fixed disallow self blog feeds 3 4 x.x.x 5 * Fixed bug on dcTwitter shorten service 6 7 1.1 20100908 8 * Removed old Twitter functions 9 * Added StatusNet small functions (Identica) 10 * Required plugin Tac for Twitter ability 3 11 4 12 1.0 20100627
Note: See TracChangeset
for help on using the changeset viewer.