Changeset 1414
- Timestamp:
- 08/28/09 23:35:00 (14 years ago)
- Location:
- plugins/dcMiniUrl
- Files:
-
- 1 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/dcMiniUrl/_admin.php
r1408 r1414 39 39 { 40 40 global $core; 41 $ _o= new dcMiniUrl($core);41 $O = new dcMiniUrl($core); 42 42 43 43 $id = -1; … … 46 46 $post_url = $core->blog->url.$core->url->getBase('post').'/'.$post->post_url; 47 47 48 $type = ' miniurl';49 if (-1 == ($id = $ _o->id('miniurl',$post_url))) {50 $type = ' customurl';51 $id = $ _o->id('customurl',$post_url);48 $type = 'customurl'; 49 if (-1 == ($id = $O->id($type,$post_url))) { 50 $type = 'miniurl'; 51 $id = $O->id($type,$post_url); 52 52 } 53 53 } … … 62 62 __('Create short link').'</label></p>'; 63 63 } else { 64 $count = $ _o->counter($type,$id);64 $count = $O->counter($type,$id); 65 65 if ($count == 0) 66 66 $follow = __('never followed'); … … 80 80 { 81 81 global $core; 82 $ _o= new dcMiniUrl($core);82 $O = new dcMiniUrl($core); 83 83 84 84 # Create: see adminAfterPostCreate … … 89 89 $old_post_url = $_POST['miniurl_old_post_url']; 90 90 91 $type = ' miniurl';92 if (-1 == ($id = $ _o->id($type,$old_post_url))) {93 $type = ' customurl';94 if (-1 == ($id = $ _o->id($type,$old_post_url)))91 $type = 'customurl'; 92 if (-1 == ($id = $O->id($type,$old_post_url))) { 93 $type = 'miniurl'; 94 if (-1 == ($id = $O->id($type,$old_post_url))) 95 95 return; 96 96 } … … 102 102 if ($rs->isEmpty()) return; 103 103 104 $new_post_url = $core->blog->url.$core->url->getBase('post').'/'.$rs-> f(0);104 $new_post_url = $core->blog->url.$core->url->getBase('post').'/'.$rs->post_url; 105 105 106 106 if ($old_post_url == $new_post_url) return; 107 107 108 $ _o->update($type,$id,$type,$id,$new_post_url);108 $O->update($type,$id,$type,$id,$new_post_url); 109 109 } 110 110 } … … 113 113 { 114 114 global $core; 115 $ _o= new dcMiniUrl($core);115 $O = new dcMiniUrl($core); 116 116 117 117 if (empty($_POST['miniurl_create'])) return; … … 123 123 if ($rs->isEmpty()) return; 124 124 125 $_o->create('miniurl',$core->blog->url.$core->url->getBase('post').'/'.$rs->f(0)); 125 $new_post_url = $core->blog->url.$core->url->getBase('post').'/'.$rs->post_url; 126 127 $O->create('miniurl',$new_post_url); 126 128 } 127 129 … … 129 131 { 130 132 global $core; 131 $ _o= new dcMiniUrl($core);133 $O = new dcMiniUrl($core); 132 134 133 135 $rs = $core->con->select( … … 137 139 if ($rs->isEmpty()) return; 138 140 139 $post_url = $core->blog->url.$core->url->getBase('post').'/'.$rs-> f(0);140 141 $type = ' miniurl';142 if (-1 == ($id = $ _o->id($type,$post_url))) {143 $type = ' customurl';144 if (-1 == ($id = $ _o->id($type,$post_url)))141 $post_url = $core->blog->url.$core->url->getBase('post').'/'.$rs->post_url; 142 143 $type = 'customurl'; 144 if (-1 == ($id = $O->id($type,$post_url))) { 145 $type = 'miniurl'; 146 if (-1 == ($id = $O->id($type,$post_url))) 145 147 return; 146 148 } 147 149 148 $ _o->delete($type,$id);150 $O->delete($type,$id); 149 151 } 150 152 //?& … … 167 169 168 170 try { 169 $ _o= new dcMiniUrl($core);171 $O = new dcMiniUrl($core); 170 172 171 173 while ($posts->fetch()) { 172 174 $post_url = $core->blog->url.$core->url->getBase('post').'/'.$posts->post_url; 173 175 174 $type = ' miniurl';175 if (-1 == ($id = $ _o->id($type,$post_url))) {176 $type = ' customurl';177 if (-1 == ($id = $ _o->id($type,$post_url)))176 $type = 'customurl'; 177 if (-1 == ($id = $O->id($type,$post_url))) { 178 $type = 'miniurl'; 179 if (-1 == ($id = $O->id($type,$post_url))) 178 180 $type = ''; 179 181 } … … 182 184 183 185 if ($action == 'miniurl_delete') 184 $ _o->delete($type,$id);186 $O->delete($type,$id); 185 187 186 188 elseif ($action == 'miniurl_counter_reset') 187 $ _o->counter($type,$id,'reset');189 $O->counter($type,$id,'reset'); 188 190 } 189 191 190 192 if ($type == '' && $action == 'miniurl_create') 191 $ _o->create('miniurl',$post_url);193 $O->create('miniurl',$post_url); 192 194 } 193 $core-> triggerBlog();195 $core->blog->triggerBlog(); 194 196 http::redirect($redir.'&done=1'); 195 197 } -
plugins/dcMiniUrl/_define.php
r1408 r1414 17 17 /* Description*/ "Use short url on your blog", 18 18 /* Author */ "JC Denis", 19 /* Version */ '0. 2',19 /* Version */ '0.3', 20 20 /* Permissions */ 'admin' 21 21 ); 22 /* date */ #2009082 222 /* date */ #20090828 23 23 ?> -
plugins/dcMiniUrl/_install.php
r1408 r1414 47 47 $core->blog->settings->put('miniurl_blog_autoshorturl', 48 48 false,'boolean','Enabled miniurl auto short url on contents',false,true); 49 $core->blog->settings->put('miniurl_only_blog', 50 false,'boolean','Limited miniurl short url to current blog',false,true); 49 51 $core->blog->settings->put('miniurl_protocols', 50 52 'http:,https:,ftp:,ftps:,irc:','string','Allowed miniurl protocols',false,true); -
plugins/dcMiniUrl/_prepend.php
r1408 r1414 23 23 array('urlMiniUrl','redirectMiniUrl')); 24 24 25 25 # Scan some contents and replace links inside 26 26 if ($core->blog->settings->miniurl_active 27 27 && $core->blog->settings->miniurl_core_autoshorturl) { … … 41 41 $core->addBehavior('coreBeforeCategoryCreate', 42 42 array('coreUpdateMiniUrl','category')); 43 44 $core->addBehavior('postWidgetTextBeforeCreate', 45 array('coreUpdateMiniUrl','postWidgetText')); 43 46 } 44 47 ?> -
plugins/dcMiniUrl/_public.php
r1409 r1414 62 62 $protocols = $core->blog->settings->miniurl_protocols; 63 63 $protocols = !$protocols ? '' : explode(',',$protocols); 64 65 $O = new dcMiniUrl($core,$autoshorturl,$protocols); 64 $onlyblog = (boolean) $core->blog->settings->miniurl_only_blog; 65 66 $O = new dcMiniUrl($core,$autoshorturl,$protocols,$onlyblog); 66 67 67 68 if ($m[1] == '/' && $args == '') … … 126 127 } 127 128 if (!$err) { 129 if ($core->blog->settings->miniurl_only_blog && !$O->isBlog($str)) { 130 $err = true; 131 $_ctx->miniurl_msg = __('This link is not a blog link'); 132 } 133 } 134 if (!$err) { 128 135 if (!$O->isAllowed($str)) { 129 136 $err = true; … … 159 166 $protocols = $core->blog->settings->miniurl_protocols; 160 167 $protocols = !$protocols ? array('http:') : explode(',',$protocols); 161 162 $_ctx->miniurl = new dcMiniUrl($core,$autoshorturl,$protocols); 163 168 $onlyblog = (boolean) $core->blog->settings->miniurl_only_blog; 169 170 $_ctx->miniurl = new dcMiniUrl($core,$autoshorturl,$protocols,$onlyblog); 164 171 } 165 172 } -
plugins/dcMiniUrl/_widgets.php
r1409 r1414 39 39 $w->rankminiurl->setting('limit',__('Limit:'),'10','text'); 40 40 $w->rankminiurl->setting('hideempty',__('Hide no followed links:'),true,'combo',array( 41 __(' Yes') => true,__('No') => false));41 __('yes') => true,__('no') => false)); 42 42 $w->rankminiurl->setting('homeonly',__('Home page only'),1,'check'); 43 43 } -
plugins/dcMiniUrl/inc/class.dc.miniurl.php
r1408 r1414 22 22 23 23 protected $enable_autoshorturl = false; 24 protected $allowed_protocols = array('http;','ftp:','https:','ftps:'); 25 26 public function __construct($core,$enable_autoshorturl=false,$allowed_protocols=array()) 24 protected $allowed_protocols = array('http;','ftp:','https:','ftps:'); 25 protected $only_blog = false; 26 27 public function __construct($core,$enable_autoshorturl=false,$allowed_protocols=array(),$only_blog=false) 27 28 { 28 29 $this->core = $core; … … 35 36 $this->allowed_protocols = $allowed_protocols; 36 37 } 38 $this->only_blog = (boolean) $only_blog; 37 39 } 38 40 … … 49 51 } 50 52 53 public static function isBlog($str) 54 { 55 global $core; 56 $url = $core->blog->url; 57 $str = substr($str,0,strlen($url)); 58 59 return $str == $url; 60 } 61 51 62 public static function isMini($str) 52 63 { … … 85 96 86 97 if (self::isMini($str)) 98 return -1; 99 100 if ($this->only_blog && !self::isBlog($str)) 87 101 return -1; 88 102 -
plugins/dcMiniUrl/inc/lib.miniurl.blog.update.php
r1408 r1414 49 49 } 50 50 51 public static function postWidgetText($cur,$format) 52 { 53 $pattern['XHTML'] = '/<a(.+?)href="(.*?)"/'; 54 $pattern['Wiki'] = '/\[(.*?)\|(.*?)\|(.*?)\]/'; 55 56 $type = $format == 'wiki' ? 'Wiki' : 'XHTML'; 57 58 $cur->wtext_content = preg_replace_callback($pattern[$type], 59 array('coreUpdateMiniUrl','replaceContent'.$type),$cur->wtext_content); 60 $cur->wtext_content_xhtml = preg_replace_callback($pattern['XHTML'], 61 array('coreUpdateMiniUrl','replaceContentXHTML'),$cur->wtext_content_xhtml); 62 } 63 51 64 public static function replaceContentXHTML($m) 52 65 { … … 56 69 global $core; 57 70 58 $miniurl = new dcMiniUrl($core,true); 71 $protocols = $core->blog->settings->miniurl_protocols; 72 $protocols = !$protocols ? '' : explode(',',$protocols); 73 $onlyblog = (boolean) $core->blog->settings->miniurl_only_blog; 74 75 $miniurl = new dcMiniUrl($core,true,$protocols,$onlyblog); 59 76 $id = $miniurl->auto($str,array('miniurl','customurl')); 60 77 … … 72 89 global $core; 73 90 74 $miniurl = new dcMiniUrl($core,true); 91 $protocols = $core->blog->settings->miniurl_protocols; 92 $protocols = !$protocols ? '' : explode(',',$protocols); 93 $onlyblog = (boolean) $core->blog->settings->miniurl_only_blog; 94 95 $miniurl = new dcMiniUrl($core,true,$protocols,$onlyblog); 75 96 $id = $miniurl->auto($str,array('miniurl','customurl')); 76 97 -
plugins/dcMiniUrl/inc/lib.miniurl.list.php
r1408 r1414 46 46 $iter = 0; 47 47 while ($iter < $nb_per_page) { 48 echo $this->urlLine($url); 49 if ($this->rs->isEnd()) { 48 49 echo $this->urlLine($url,$iter); 50 51 if ($this->rs->isEnd()) 50 52 break; 51 } 52 else { 53 else 53 54 $this->rs->moveNext(); 54 $iter++; 55 }55 56 $iter++; 56 57 } 57 58 echo $blocks[1]; … … 60 61 } 61 62 62 private function urlLine($url )63 private function urlLine($url,$loop) 63 64 { 64 65 $url = $this->core->blog->url.$this->core->url->getBase('miniUrl').'/'.html::escapeHTML($this->rs->miniurl_id); … … 69 70 '<tr class="line">'."\n". 70 71 '<td class="nowrap">'. 71 form::checkbox(array('entries[ ]'),$this->rs->miniurl_id,0).72 form::hidden(array('urltypes[ ]'),$this->rs->miniurl_type).72 form::checkbox(array('entries['.$loop.']'),$this->rs->miniurl_id,0). 73 form::hidden(array('urltypes['.$loop.']'),$this->rs->miniurl_type). 73 74 '</td>'. 74 75 '<td class="nowrap">'. -
plugins/dcMiniUrl/index.php
r1408 r1414 24 24 25 25 $page = !empty($_GET['page']) ? (integer) $_GET['page'] : 1; 26 $nb_per_page = 10;26 $nb_per_page = 30; 27 27 if (!empty($_GET['nb']) && (integer) $_GET['nb'] > 0) { 28 28 if ($nb_per_page != $_GET['nb']) $show_filters = true; … … 78 78 $protocols = $core->blog->settings->miniurl_protocols; 79 79 $protocols = !$protocols ? '' : explode(',',$protocols); 80 $O = new dcMiniUrl($core,$autoshorturl,$protocols); 80 $onlyblog = (boolean) $core->blog->settings->miniurl_only_blog; 81 82 $O = new dcMiniUrl($core,$autoshorturl,$protocols,$onlyblog); 81 83 82 84 # Save settings … … 104 106 'Enabled miniurl auto shorturl on contents', 105 107 true,false); 108 $core->blog->settings->put('miniurl_only_blog', 109 isset($_POST['miniurl_only_blog']), 110 'boolean', 111 'Limited miniurl shorturl to current blog', 112 true,false); 106 113 $core->blog->settings->put('miniurl_protocols', 107 114 $_POST['miniurl_protocols'], … … 132 139 if ($O->isMini($str)) 133 140 throw new Exception(__('This link is already a short link')); 141 142 if ($core->blog->settings->miniurl_only_blog && !$O->isBlog($str)) 143 throw new Exception(__('This link is not a blog link')); 134 144 135 145 if (!$O->isAllowed($str)) … … 366 376 </p> 367 377 378 <p><label class="classic"><?php echo 379 form::checkbox(array('miniurl_only_blog'),'1', 380 $core->blog->settings->miniurl_only_blog).' '. 381 __('Limit shorturl to current blog'); ?> 382 </label></p> 383 <p class="form-note"> 384 <?php echo __('Only link started with this blog url could be shortened'); ?> 385 </p> 386 368 387 <p><label class="classic"> 369 388 <?php echo __('Allowed protocols'); ?><br /> -
plugins/dcMiniUrl/locales/fr/main.lang.php
r1408 r1414 2 2 // Language: français 3 3 // Module: dcMiniUrl - 0.2 4 // Date: 2009-08-2 2 13:10:334 // Date: 2009-08-23 01:27:20 5 5 // Author: JC Denis, jcdenis@gdwd.com 6 6 // Translated with dcTranslater - 0.2.4 7 7 8 #index.php:2 329 $GLOBALS['__l10n']['Links shortener'] = 'Raccourcisseur de lien ';8 #index.php:242 9 $GLOBALS['__l10n']['Links shortener'] = 'Raccourcisseur de liens'; 10 10 11 11 #index.php:46 12 12 $GLOBALS['__l10n']['Short link'] = 'Lien court'; 13 13 14 #index.php:2 5414 #index.php:264 15 15 $GLOBALS['__l10n']['Create short link'] = 'Créer un lien court'; 16 16 17 #_public.php: 33717 #_public.php:417 18 18 $GLOBALS['__l10n']['never followed'] = 'jamais suivi'; 19 19 20 #_public.php: 33920 #_public.php:419 21 21 $GLOBALS['__l10n']['followed one time'] = 'suivi une fois'; 22 22 23 #_public.php: 34123 #_public.php:421 24 24 $GLOBALS['__l10n']['followed %s times'] = 'suivi %s fois'; 25 25 26 #_admin.php:15 626 #_admin.php:158 27 27 $GLOBALS['__l10n']['create short link'] = 'créer un lien court'; 28 28 … … 33 33 $GLOBALS['__l10n']['reset short link counter'] = 'RAZ du conteur d\'un lien court'; 34 34 35 #_public.php:1 0235 #_public.php:113 36 36 $GLOBALS['__l10n']['Failed to verify protected field'] = 'Impossible de verifier le champ de protection'; 37 37 38 #index.php:13 038 #index.php:137 39 39 $GLOBALS['__l10n']['This link is too short'] = 'Ce lien est trop court'; 40 40 41 #index.php:1 3341 #index.php:140 42 42 $GLOBALS['__l10n']['This link is already a short link'] = 'Ce lien est déjà un lien court'; 43 43 44 #index.php:136 44 #index.php:143 45 $GLOBALS['__l10n']['This link is not a blog link'] = 'Ce lien n\'appartient pas à ce blog'; 46 47 #index.php:146 45 48 $GLOBALS['__l10n']['This type of link is not allowed'] = 'Ce type de lien n\'est pas autorisé'; 46 49 47 #index.php:1 6050 #index.php:170 48 51 $GLOBALS['__l10n']['Failed to create short link'] = 'Impossible de créer le lien court'; 49 52 50 #index.php:1 5753 #index.php:167 51 54 $GLOBALS['__l10n']['Short link for %s is %s'] = 'Le lien court pour %s est %s'; 52 55 53 #index.php:2 3956 #index.php:249 54 57 $GLOBALS['__l10n']['Long link:'] = 'Lien long :'; 55 58 56 #_public.php: 29559 #_public.php:372 57 60 $GLOBALS['__l10n']['Write "%s" in next field:'] = 'Écrire "%s" dans le champs suivant :'; 58 61 59 #_public.php: 29862 #_public.php:375 60 63 $GLOBALS['__l10n']['Create'] = 'Créer'; 61 64 62 #index.php:2 3565 #index.php:245 63 66 $GLOBALS['__l10n']['Shorten link'] = 'Raccourcir un lien'; 64 67 … … 71 74 #_widgets.php:39 72 75 $GLOBALS['__l10n']['Limit:'] = 'Limite :'; 76 77 #_widgets.php:40 78 $GLOBALS['__l10n']['Hide no followed links:'] = 'Cacher les liens non suivis :'; 73 79 74 80 #inc/lib.miniurl.list.php:20 … … 90 96 $GLOBALS['__l10n']['Follow'] = 'Suivie'; 91 97 92 #index.php:1 2798 #index.php:134 93 99 $GLOBALS['__l10n']['Nothing to shorten'] = 'Rien à raccourcir'; 94 100 95 #index.php:1 43101 #index.php:153 96 102 $GLOBALS['__l10n']['This short link is already taken'] = 'Ce lien court est déjà pris'; 97 103 98 #index.php:1 48104 #index.php:158 99 105 $GLOBALS['__l10n']['This custom short link is already taken'] = 'Ce lien court personnalisé est déjà pris'; 100 106 101 #index.php:2 44107 #index.php:254 102 108 $GLOBALS['__l10n']['Custom short link:'] = 'Lien court personalisé :'; 103 109 104 #index.php:2 49110 #index.php:259 105 111 $GLOBALS['__l10n']['Only for custom short link.'] = 'Seulement pour un lien personnalisé'; 106 112 107 #index.php:3 13113 #index.php:323 108 114 $GLOBALS['__l10n']['Selected links action:'] = 'Action sur les liens selectionnés :'; 109 115 110 #index.php:3 33116 #index.php:343 111 117 $GLOBALS['__l10n']['Settings'] = 'Paramètres'; 112 118 113 #index.php:3 38119 #index.php:348 114 120 $GLOBALS['__l10n']['Enable plugin'] = 'Activer l\'extension'; 115 121 116 #index.php:3 44122 #index.php:354 117 123 $GLOBALS['__l10n']['Enable public page'] = 'Activer la page public'; 118 124 119 #index.php:3 47125 #index.php:357 120 126 $GLOBALS['__l10n']['Allowed users to shortcut their links on public side'] = 'Autoriser les utilisateurs à créer leurs propres liens courts depuis une page publique'; 121 127 122 #index.php:3 53128 #index.php:363 123 129 $GLOBALS['__l10n']['Enable auto shorturl on public urls'] = 'Activer la création automatique de lien court coté public'; 124 130 125 #index.php:3 56131 #index.php:366 126 132 $GLOBALS['__l10n']['Shortcut links automatically when using template value like "EntryMiniUrl"'] = 'Raccourcir automatiquement les liens lors de l\'utilisation de balise de template comme "EntryMiniUrl"'; 127 133 128 #index.php:3 62134 #index.php:372 129 135 $GLOBALS['__l10n']['Enable auto shorturl on contents'] = 'Activer la création automatique des liens courts sur les contenus'; 130 136 131 #index.php:3 65137 #index.php:375 132 138 $GLOBALS['__l10n']['Shortcut links automatically found in contents when creating entry or comment'] = 'Raccourcir automatiquement les liens trouvés lors de la création de contenu comme les billets ou les commentaires'; 133 139 134 #index.php:369 140 #index.php:381 141 $GLOBALS['__l10n']['Limit shorturl to current blog'] = 'Limiter la création de liens courts à ce blog'; 142 143 #index.php:384 144 $GLOBALS['__l10n']['Only link started with this blog url could be shortened'] = 'Uniquement les liens commençant par l\'URL de ce blog peuvent être raccroucis'; 145 146 #index.php:388 135 147 $GLOBALS['__l10n']['Allowed protocols'] = 'Protocoles autorisés'; 136 148 137 #index.php:3 74149 #index.php:393 138 150 $GLOBALS['__l10n']['Use comma seperated list like: "http:,https:,ftp:"'] = 'Utiliser une virgule pour séparer les protocoles, ex: "http:,https:,ftp:"'; 139 151 140 #index.php: 389152 #index.php:408 141 153 $GLOBALS['__l10n']['Note this'] = 'Á noter'; 142 154 143 #index.php: 392155 #index.php:411 144 156 $GLOBALS['__l10n']['If you use this plugin then uninstall it, note that you loose all short links'] = 'Si vous utilisez cette extention puis vous la désinstallez, notez que vous perdrez tous vos liens courts'; 145 157 146 #index.php: 396158 #index.php:415 147 159 $GLOBALS['__l10n']['We recommand that you use a rewrite engine in order to remove \'index.php\' from your blog\'s URLs'] = 'Nous vous recommandons d\'utiliser un system de réécriture d\'URL afin de supprimer "index.php" des URLs de votre blog'; 148 160 149 #index.php: 398161 #index.php:417 150 162 $GLOBALS['__l10n']['You can find more about this on the Dotclear Documentation'] = 'Vous pouvez trouver plus d\'information à ce sujet sur la Documentation Dotclear'; 151 163 -
plugins/dcMiniUrl/locales/fr/main.po
r1408 r1414 1 1 # Language: français 2 2 # Module: dcMiniUrl - 0.2 3 # Date: 2009-08-2 2 13:10:333 # Date: 2009-08-23 01:27:20 4 4 # Author: JC Denis, jcdenis@gdwd.com 5 5 # Translated with dcTranslater - 0.2.4 … … 8 8 msgstr "Content-Type: text/plain; charset=UTF-8\n" 9 9 10 #: index.php:2 3210 #: index.php:242 11 11 msgid "Links shortener" 12 msgstr "Raccourcisseur de lien "12 msgstr "Raccourcisseur de liens" 13 13 14 14 #: index.php:46 … … 16 16 msgstr "Lien court" 17 17 18 #: index.php:2 5418 #: index.php:264 19 19 msgid "Create short link" 20 20 msgstr "Créer un lien court" 21 21 22 #: _public.php: 33722 #: _public.php:417 23 23 msgid "never followed" 24 24 msgstr "jamais suivi" 25 25 26 #: _public.php: 33926 #: _public.php:419 27 27 msgid "followed one time" 28 28 msgstr "suivi une fois" 29 29 30 #: _public.php: 34130 #: _public.php:421 31 31 msgid "followed %s times" 32 32 msgstr "suivi %s fois" 33 33 34 #: _admin.php:15 634 #: _admin.php:158 35 35 msgid "create short link" 36 36 msgstr "créer un lien court" … … 44 44 msgstr "RAZ du conteur d'un lien court" 45 45 46 #: _public.php:1 0246 #: _public.php:113 47 47 msgid "Failed to verify protected field" 48 48 msgstr "Impossible de verifier le champ de protection" 49 49 50 #: index.php:13 050 #: index.php:137 51 51 msgid "This link is too short" 52 52 msgstr "Ce lien est trop court" 53 53 54 #: index.php:1 3354 #: index.php:140 55 55 msgid "This link is already a short link" 56 56 msgstr "Ce lien est déjà un lien court" 57 57 58 #: index.php:136 58 #: index.php:143 59 msgid "This link is not a blog link" 60 msgstr "Ce lien n'appartient pas à ce blog" 61 62 #: index.php:146 59 63 msgid "This type of link is not allowed" 60 64 msgstr "Ce type de lien n'est pas autorisé" 61 65 62 #: index.php:1 6066 #: index.php:170 63 67 msgid "Failed to create short link" 64 68 msgstr "Impossible de créer le lien court" 65 69 66 #: index.php:1 5770 #: index.php:167 67 71 msgid "Short link for %s is %s" 68 72 msgstr "Le lien court pour %s est %s" 69 73 70 #: index.php:2 3974 #: index.php:249 71 75 msgid "Long link:" 72 76 msgstr "Lien long :" 73 77 74 #: _public.php: 29578 #: _public.php:372 75 79 msgid "Write "%s" in next field:" 76 80 msgstr "Écrire \"%s\" dans le champs suivant :" 77 81 78 #: _public.php: 29882 #: _public.php:375 79 83 msgid "Create" 80 84 msgstr "Créer" 81 85 82 #: index.php:2 3586 #: index.php:245 83 87 msgid "Shorten link" 84 88 msgstr "Raccourcir un lien" … … 96 100 msgstr "Limite :" 97 101 102 #: _widgets.php:40 103 msgid "Hide no followed links:" 104 msgstr "Cacher les liens non suivis :" 105 98 106 #: inc/lib.miniurl.list.php:20 99 107 msgid "No short link" … … 120 128 msgstr "Suivie" 121 129 122 #: index.php:1 27130 #: index.php:134 123 131 msgid "Nothing to shorten" 124 132 msgstr "Rien à raccourcir" 125 133 126 #: index.php:1 43134 #: index.php:153 127 135 msgid "This short link is already taken" 128 136 msgstr "Ce lien court est déjà pris" 129 137 130 #: index.php:1 48138 #: index.php:158 131 139 msgid "This custom short link is already taken" 132 140 msgstr "Ce lien court personnalisé est déjà pris" 133 141 134 #: index.php:2 44142 #: index.php:254 135 143 msgid "Custom short link:" 136 144 msgstr "Lien court personalisé :" 137 145 138 #: index.php:2 49146 #: index.php:259 139 147 msgid "Only for custom short link." 140 148 msgstr "Seulement pour un lien personnalisé" 141 149 142 #: index.php:3 13150 #: index.php:323 143 151 msgid "Selected links action:" 144 152 msgstr "Action sur les liens selectionnés :" 145 153 146 #: index.php:3 33154 #: index.php:343 147 155 msgid "Settings" 148 156 msgstr "Paramètres" 149 157 150 #: index.php:3 38158 #: index.php:348 151 159 msgid "Enable plugin" 152 160 msgstr "Activer l'extension" 153 161 154 #: index.php:3 44162 #: index.php:354 155 163 msgid "Enable public page" 156 164 msgstr "Activer la page public" 157 165 158 #: index.php:3 47166 #: index.php:357 159 167 msgid "Allowed users to shortcut their links on public side" 160 168 msgstr "Autoriser les utilisateurs à créer leurs propres liens courts depuis une page publique" 161 169 162 #: index.php:3 53170 #: index.php:363 163 171 msgid "Enable auto shorturl on public urls" 164 172 msgstr "Activer la création automatique de lien court coté public" 165 173 166 #: index.php:3 56174 #: index.php:366 167 175 msgid "Shortcut links automatically when using template value like "EntryMiniUrl"" 168 176 msgstr "Raccourcir automatiquement les liens lors de l'utilisation de balise de template comme \"EntryMiniUrl\"" 169 177 170 #: index.php:3 62178 #: index.php:372 171 179 msgid "Enable auto shorturl on contents" 172 180 msgstr "Activer la création automatique des liens courts sur les contenus" 173 181 174 #: index.php:3 65182 #: index.php:375 175 183 msgid "Shortcut links automatically found in contents when creating entry or comment" 176 184 msgstr "Raccourcir automatiquement les liens trouvés lors de la création de contenu comme les billets ou les commentaires" 177 185 178 #: index.php:369 186 #: index.php:381 187 msgid "Limit shorturl to current blog" 188 msgstr "Limiter la création de liens courts à ce blog" 189 190 #: index.php:384 191 msgid "Only link started with this blog url could be shortened" 192 msgstr "Uniquement les liens commençant par l'URL de ce blog peuvent être raccroucis" 193 194 #: index.php:388 179 195 msgid "Allowed protocols" 180 196 msgstr "Protocoles autorisés" 181 197 182 #: index.php:3 74198 #: index.php:393 183 199 msgid "Use comma seperated list like: "http:,https:,ftp:"" 184 200 msgstr "Utiliser une virgule pour séparer les protocoles, ex: \"http:,https:,ftp:\"" 185 201 186 #: index.php: 389202 #: index.php:408 187 203 msgid "Note this" 188 204 msgstr "Á noter" 189 205 190 #: index.php: 392206 #: index.php:411 191 207 msgid "If you use this plugin then uninstall it, note that you loose all short links" 192 208 msgstr "Si vous utilisez cette extention puis vous la désinstallez, notez que vous perdrez tous vos liens courts" 193 209 194 #: index.php: 396210 #: index.php:415 195 211 msgid "We recommand that you use a rewrite engine in order to remove 'index.php' from your blog's URLs" 196 212 msgstr "Nous vous recommandons d'utiliser un system de réécriture d'URL afin de supprimer \"index.php\" des URLs de votre blog" 197 213 198 #: index.php: 398214 #: index.php:417 199 215 msgid "You can find more about this on the Dotclear Documentation" 200 216 msgstr "Vous pouvez trouver plus d'information à ce sujet sur la Documentation Dotclear" -
plugins/dcMiniUrl/release.txt
r1408 r1414 1 0.4 xxxxxxxx 2 - Fixed bugs on url specialchars on admin post 3 - Fixed extra args to be redirect 4 5 0.3 20090828 6 * Fixed failed to delete miniurl from admin 7 * Added option to limit short url to blog 8 * Added postWidgetText support 9 * Added _uninstall.php feature 10 1 11 0.2 20090822 2 12 * First public release
Note: See TracChangeset
for help on using the changeset viewer.