Changeset 554
- Timestamp:
- 11/10/08 11:43:26 (15 years ago)
- google:author:
- popech
- Location:
- plugins/javatar
- Files:
-
- 3 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/javatar/_define.php
r481 r554 20 20 /* Description*/ 'Display Javatars of comment authors', 21 21 /* Author */ 'Osku', 22 /* Version */ '0. 3.1',22 /* Version */ '0.6rc3', 23 23 /* Permissions */ 'usage,admin' 24 24 ); -
plugins/javatar/_prepend.php
r473 r554 16 16 if (!defined('DC_RC_PATH')) { return; } 17 17 18 $core->url->register('post',19 $core->url->getBase('post'),20 sprintf('^%s/(.+)$',$core->url->getBase('post')),21 array('JabberHandler','post'));22 18 $GLOBALS['__autoload']['rsExtCommentJavatar'] = dirname(__FILE__).'/rs.extensions.php'; 23 19 $GLOBALS['__autoload']['publicJavatar'] = dirname(__FILE__).'/class.public.javatar.php'; -
plugins/javatar/_public.php
r472 r554 16 16 if (!defined('DC_RC_PATH')) { return; } 17 17 18 $core->addBehavior('publicBeforeCommentPreview',array('publicJavatar','publicBeforeCommentPreview')); 19 $core->addBehavior('publicBeforeCommentCreate',array('publicJavatar','publicBeforeCommentCreate')); 20 $core->addBehavior('publicCommentFormAfterContent',array('publicJavatar','publicCommentFormAfterContent')); 18 21 $core->addBehavior('publicHeadContent',array('publicJavatar','publicHeadContent')); 22 $core->addBehavior('publicFooterContent',array('publicJavatar','publicFooterContent')); 19 23 $core->addBehavior('coreBlogGetComments',array('publicJavatar','coreBlogGetComments')); 20 $core->tpl->addValue('CommentJID',array('tplJavatar','CommentJID')); 21 $core->tpl->addValue('CommentPreviewJabber',array('tplJavatar','CommentPreviewJabber')); 22 $core->tpl->addValue('JavatarSize',array('tplJavatar','JavatarSize')); 23 $core->tpl->addValue('JavatarImgDefaut',array('tplJavatar','JavatarImgDefaut')); 24 $core->tpl->addValue('CommentAuthorJavatar',array('tplJavatar','CommentAuthorJavatar')); 24 $core->addBehavior('publicCommentBeforeContent',array('publicJavatar','publicCommentBeforeContent')); 25 26 $core->tpl->addValue('CommentAuthorJabberMD5',array('tplJavatar','CommentAuthorJabberMD5')); 25 27 ?> -
plugins/javatar/class.public.javatar.php
r479 r554 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 class JabberHandler extends dcUrlHandlers18 {19 public static function post($args)20 {21 if ($args == '') {22 self::p404();23 }24 25 $_ctx =& $GLOBALS['_ctx'];26 $core =& $GLOBALS['core'];27 28 $core->blog->withoutPassword(false);29 30 $params = new ArrayObject();31 $params['post_url'] = $args;32 33 $_ctx->posts = $core->blog->getPosts($params);34 35 $_ctx->comment_preview = new ArrayObject();36 $_ctx->comment_preview['content'] = '';37 $_ctx->comment_preview['rawcontent'] = '';38 $_ctx->comment_preview['name'] = '';39 $_ctx->comment_preview['mail'] = '';40 $_ctx->comment_preview['jabber'] = '';41 $_ctx->comment_preview['site'] = '';42 $_ctx->comment_preview['preview'] = false;43 $_ctx->comment_preview['remember'] = false;44 45 $core->blog->withoutPassword(true);46 47 48 if ($_ctx->posts->isEmpty())49 {50 # No entry51 self::p404();52 }53 54 $post_id = $_ctx->posts->post_id;55 $post_password = $_ctx->posts->post_password;56 57 # Password protected entry58 if ($post_password != '')59 {60 # Get passwords cookie61 if (isset($_COOKIE['dc_passwd'])) {62 $pwd_cookie = unserialize($_COOKIE['dc_passwd']);63 } else {64 $pwd_cookie = array();65 }66 67 # Check for match68 if ((!empty($_POST['password']) && $_POST['password'] == $post_password)69 || (isset($pwd_cookie[$post_id]) && $pwd_cookie[$post_id] == $post_password))70 {71 $pwd_cookie[$post_id] = $post_password;72 setcookie('dc_passwd',serialize($pwd_cookie),0,'/');73 }74 else75 {76 self::serveDocument('password-form.html','text/html',false);77 exit;78 }79 }80 81 $post_comment =82 isset($_POST['c_name']) && isset($_POST['c_mail']) &&83 isset($_POST['c_jabber']) &&84 isset($_POST['c_site']) && isset($_POST['c_content']) &&85 $_ctx->posts->commentsActive();86 87 # Posting a comment88 if ($post_comment)89 {90 # Spam trap91 if (!empty($_POST['f_mail'])) {92 http::head(412,'Precondition Failed');93 header('Content-Type: text/plain');94 echo "So Long, and Thanks For All the Fish";95 exit;96 }97 98 $name = $_POST['c_name'];99 $mail = $_POST['c_mail'];100 $jabber = $_POST['c_jabber'];101 $site = $_POST['c_site'];102 $content = $_POST['c_content'];103 $preview = !empty($_POST['preview']);104 105 if ($content != '')106 {107 if ($core->blog->settings->wiki_comments) {108 $core->initWikiComment();109 } else {110 $core->initWikiSimpleComment();111 }112 $content = $core->wikiTransform($content);113 $content = $core->HTMLfilter($content);114 }115 116 $_ctx->comment_preview['content'] = $content;117 $_ctx->comment_preview['rawcontent'] = $_POST['c_content'];118 $_ctx->comment_preview['name'] = $name;119 $_ctx->comment_preview['mail'] = $mail;120 $_ctx->comment_preview['jabber'] = $jabber;121 $_ctx->comment_preview['site'] = $site;122 123 if ($preview)124 {125 $_ctx->comment_preview['preview'] = true;126 }127 else128 {129 # Post the comment130 $cur = $core->con->openCursor($core->prefix.'comment');131 $cur->comment_author = $name;132 $cur->comment_site = html::clean($site);133 $cur->comment_email = html::clean($mail);134 $cur->comment_jabber = html::clean($jabber);135 $cur->comment_content = $content;136 $cur->post_id = $_ctx->posts->post_id;137 $cur->comment_status = $core->blog->settings->comments_pub ? 1 : -1;138 $cur->comment_ip = http::realIP();139 140 $redir = $_ctx->posts->getURL();141 $redir .= strpos($redir,'?') !== false ? '&' : '?';142 143 try144 {145 if (!text::isEmail($cur->comment_email)) {146 throw new Exception(__('You must provide a valid email address.'));147 }148 # --BEHAVIOR-- publicBeforeCommentCreate149 $core->callBehavior('publicBeforeCommentCreate',$cur);150 if ($cur->post_id) {151 $comment_id = $core->blog->addComment($cur);152 153 # --BEHAVIOR-- publicAfterCommentCreate154 $core->callBehavior('publicAfterCommentCreate',$cur,$comment_id);155 }156 157 if ($cur->comment_status == 1) {158 $redir_arg = 'pub=1';159 } else {160 $redir_arg = 'pub=0';161 }162 163 header('Location: '.$redir.$redir_arg);164 exit;165 }166 catch (Exception $e)167 {168 $_ctx->form_error = $e->getMessage();169 $_ctx->form_error;170 }171 }172 }173 174 # The entry175 self::serveDocument('post.html');176 exit;177 }178 }179 18 class publicJavatar 180 19 { 181 20 public static $c_info = array(); 182 21 22 public static function publicBeforeCommentPreview() 23 { 24 global $_ctx; 25 26 $_ctx->comment_preview['jabber'] = $_POST['c_jabber']; 27 } 28 29 public static function publicBeforeCommentCreate(&$cur) 30 { 31 global $core; 32 33 $cur->comment_jabber = $_POST['c_jabber']; 34 } 35 36 public static function publicCommentFormAfterContent() 37 { 38 global $core,$_ctx; 39 $jabber = null; 40 41 if (!$core->blog->settings->javatar_active) { 42 return; 43 } 44 $jabber = isset($_ctx->comment_preview['jabber']) ? html::escapeHTML($_ctx->comment_preview['jabber']) : ''; 45 46 echo '<p class="field jabber"><label for="c_jabber">'.__('Jabber'). 47 ' ('.__('optionnal').') '.':</label>'. 48 '<input name="c_jabber" id="c_jabber" type="text" size="30" maxlength="255"'. 49 'value="'.$jabber.'"/></p>'; 50 } 51 52 public static function publicCommentBeforeContent() 53 { 54 global $core,$_ctx; 55 56 if (!$core->blog->settings->javatar_active) { 57 return; 58 } 59 60 $jid = $_ctx->comments->getJID(); 61 $mid = md5($_ctx->comments->comment_email); 62 $default_img = $core->blog->settings->javatar_default_img; 63 $javatar_img_size = $core->blog->settings->javatar_img_size; 64 if (!empty($default_img)) { 65 $img = $default_img; 66 } 67 else { 68 $img = $core->blog->getQmarkURL().'pf=javatar/default/logo-'.$javatar_img_size.'.png'; 69 } 70 if (!$core->blog->settings->gravatar_default) { 71 echo '<img src="http://presence.jabberfr.org/avatar.php?hash='.$jid.'&size='.$javatar_img_size.'&default='.$img.'" 72 alt="avatar jabber" class="javatar" />'; 73 } 74 else { 75 echo '<img src="http://presence.jabberfr.org/avatar.php?hash='.$jid.'&size='.$javatar_img_size.'&default=http://www.gravatar.com/avatar/'.$mid.'?s='.$javatar_img_size.'" 76 alt="avatar" class="javatar" />'; 77 } 78 } 79 183 80 public static function publicHeadContent() 184 81 { … … 210 107 echo 211 108 '<style type="text/css" media="screen">@import url('.$css.');</style>'."\n"; 109 } 110 111 public static function publicFooterContent() 112 { 113 global $core; 114 115 if (!$core->blog->settings->javatar_active) { 116 return; 117 } 118 119 $js = html::stripHostURL($core->blog->getQmarkURL().'pf=javatar/js/post.js'); 120 121 echo 122 '<script type="text/javascript" src="'.$js.'"></script>'."\n"; 212 123 } 213 124 -
plugins/javatar/class.tpl.javatar.php
r479 r554 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!defined('DC_RC_PATH')) { return; } 16 17 17 18 class tplJavatar 18 19 { 19 public static function Comment JID($attr)20 public static function CommentAuthorJabberMD5($attr) 20 21 { 21 22 global $core,$_ctx; … … 23 24 return '<?php echo '.sprintf($f,'$_ctx->comments->getJID()').'; ?>'; 24 25 } 25 26 public static function CommentPreviewJabber($attr)27 {28 global $core,$_ctx;29 $f = $core->tpl->getFilters($attr);30 return '<?php echo '.sprintf($f,'$_ctx->comment_preview["jabber"]').'; ?>';31 }32 33 public static function JavatarSize($attr)34 {35 global $core;36 $f = $core->tpl->getFilters($attr);37 return '<?php echo '.sprintf($f,'$core->blog->settings->javatar_img_size').'; ?>';38 }39 40 public static function JavatarImgDefaut($attr)41 {42 global $core;43 $default_img = $core->blog->settings->javatar_default_img;44 $javatar_img_size = $core->blog->settings->javatar_img_size;45 if (!empty($default_img)) {46 $img = $default_img;47 }48 else {49 $img = $core->blog->getQmarkURL().'pf=javatar/default/logo-'.$javatar_img_size.'.png';50 }51 return html::escapeHTML($img);52 }53 54 public static function CommentAuthorJavatar($attr)55 {56 global $core;57 $f = $core->tpl->getFilters($attr);58 return59 '<?php if($core->blog->settings->javatar_active) : ?>60 <img src="http://presence.jabberfr.org/avatar.php?hash='.self::CommentJID($f).'&size='.self::JavatarSize($f).'&default='.self::JavatarImgDefaut($f).'"61 alt="avatar jabber" class="javatar" />62 <?php endif; ?>';63 }64 26 } 65 27 ?> -
plugins/javatar/default/javatar-default.css
r479 r554 1 1 #comments img.javatar{ 2 float: left;2 float:right; 3 3 padding:2px; 4 margin:0 5px;4 margin:0; 5 5 background:#fff; 6 border:1px solid #ddd 6 border:1px solid #DDD; 7 } 8 9 #comments dd p{ 10 padding-bottom:15px; 7 11 } 8 12 -
plugins/javatar/index.php
r481 r554 31 31 // Javatars are not active by default 32 32 $core->blog->settings->put('javatar_active',false,'boolean'); 33 $core->blog->settings->put('gravatar_default',false,'boolean'); 33 34 $core->blog->settings->put('javatar_custom_css','','string'); 34 35 $core->blog->settings->put('javatar_default_img','','string'); … … 41 42 } 42 43 43 44 44 // Getting current parameters 45 45 $active = (boolean)$core->blog->settings->javatar_active; 46 $gravatar = (boolean)$core->blog->settings->gravatar_default; 46 47 $custom_css = (string)$core->blog->settings->javatar_custom_css; 47 48 $default_img = (string)$core->blog->settings->javatar_default_img; … … 58 59 59 60 $active = (empty($_POST['active']))?false:true; 61 $gravatar = (empty($_POST['gravatar']))?false:true; 60 62 $custom_css = (empty($_POST['custom_css']))?'':html::sanitizeURL($_POST['custom_css']); 61 63 $default_img = (empty($_POST['default_img']))?'':html::sanitizeURL($_POST['default_img']); 62 64 $core->blog->settings->put('javatar_active',$active,'boolean'); 65 $core->blog->settings->put('gravatar_default',$gravatar,'boolean'); 63 66 $core->blog->settings->put('javatar_custom_css',$custom_css,'string'); 64 67 $core->blog->settings->put('javatar_default_img',$default_img,'string'); … … 85 88 '<h2 style="padding:8px 0 8px 34px;background:url(index.php?pf=javatar/icon_32.png) no-repeat;">'. 86 89 html::escapeHTML($core->blog->name). 87 ' & gt; '.__('Javatars').'</h2>';90 ' › '.__('Javatars').'</h2>'; 88 91 if (!empty($msg)) { 89 92 echo '<p class="message">'.$msg.'</p>'; … … 95 98 echo 96 99 '<p class="field">'. 97 form::checkbox('active', 1, $active). 98 '<label class=" classic" for="active">'.__('Enable Javatars').'</label></p></fieldset>'; 100 form::checkbox('active', 1, $active). 101 '<label class=" classic" for="active">'.__('Enable Javatars').'</label></p>'; 102 echo 103 '<p class="field">'. 104 form::checkbox('gravatar', 1, $gravatar). 105 '<label class=" classic" for="gravatar">'.__('Enable Gravatars compatibility').'</label></p>'. 106 '<p class="form-note">'.__('If no Javatar, we try to show Gravatar.').'</p></fieldset>'; 99 107 100 108 echo '<fieldset><legend>'.__('Options').'</legend>'; 101 109 echo 102 '< h3><label for="javatar_img_size">'.__('Javatar image size').'</label></h3>'.103 '<p>'. __('This defines image size for Javatars. Choose a size:').'</p>'.104 '<p >'.form::combo('javatar_img_size',$javatar_size_combo,html::escapeHTML($core->blog->settings->javatar_img_size)).'</p>';110 '<label for="javatar_img_size" class="required" title="'.__('Required field').'">'.__('Javatar image size').'</label>'. 111 '<p>'.form::combo('javatar_img_size',$javatar_size_combo,html::escapeHTML($core->blog->settings->javatar_img_size)).'</p>'. 112 '<p class="form-note">'.__('This defines image size for Javatars.').'</p>'; 105 113 106 114 echo '<h3>'.__('Custom parameters').'</h3>'; 107 115 echo '<p>'.__('You can use a custom CSS by providing its location.').'<br /></p>'; 108 116 echo 109 '<p class="field"><label class=" classic">'.117 '<p><label>'. 110 118 __('Custom CSS:').'</label>'. 111 119 form::field('custom_css',40,128,$custom_css). 112 120 '</p>'; 113 echo '<p ><em>'.121 echo '<p class="form-note">'. 114 122 __('A location beginning with a / is treated as absolute, else it is treated as relative to the blog\'s current theme URL'). 115 '</ em></p>';123 '</p>'; 116 124 echo '<p>'.__('You can use a custom default Javatar image by providing its location.').'<br /></p>'; 117 125 echo 118 '<p class="field"><label class=" classic">'.126 '<p><label>'. 119 127 __('Custom default image:').'</label>'. 120 128 form::field('default_img',40,128,$default_img). 121 129 '</p>'; 122 echo '<p ><em>'.130 echo '<p class="form-note">'. 123 131 __('The API of Presence Jabber works only with full path for the default picture.'). 124 '</ em></p>';132 '</p>'; 125 133 126 134 echo '</fieldset>'; -
plugins/javatar/locales/_pot/main.pot
r479 r554 9 9 "Project-Id-Version: PACKAGE VERSION\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2008- 07-27 21:40+0200\n"11 "POT-Creation-Date: 2008-11-10 10:45+0100\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 17 17 "Content-Transfer-Encoding: 8bit\n" 18 18 19 #: _admin.php:19 index.php:8 0 index.php:8819 #: _admin.php:19 index.php:82 index.php:90 20 20 msgid "Javatars" 21 21 msgstr "" 22 22 23 #: class.public.javatar.php:146 24 msgid "You must provide a valid email address." 23 #: class.public.javatar.php:46 24 msgid "Jabber" 25 msgstr "" 26 27 #: class.public.javatar.php:47 28 msgid "optionnal" 25 29 msgstr "" 26 30 … … 41 45 msgstr "" 42 46 43 #: index.php:7 047 #: index.php:72 44 48 msgid "Configuration successfully updated." 45 49 msgstr "" 46 50 47 #: index.php:9 551 #: index.php:97 48 52 msgid "Plugin activation" 49 53 msgstr "" 50 54 51 #: index.php: 9955 #: index.php:101 52 56 msgid "Enable Javatars" 53 57 msgstr "" 54 58 55 #: index.php:101 59 #: index.php:105 60 msgid "Enable Gravatars compatibility" 61 msgstr "" 62 63 #: index.php:106 64 msgid "If no Javatar, we try to show Gravatar." 65 msgstr "" 66 67 #: index.php:108 56 68 msgid "Options" 57 69 msgstr "" 58 70 59 #: index.php:103 71 #: index.php:110 72 msgid "Required field" 73 msgstr "" 74 75 #: index.php:110 60 76 msgid "Javatar image size" 61 77 msgstr "" 62 78 63 #: index.php:1 0464 msgid "This defines image size for Javatars. Choose a size:"79 #: index.php:112 80 msgid "This defines image size for Javatars." 65 81 msgstr "" 66 82 67 #: index.php:1 0783 #: index.php:114 68 84 msgid "Custom parameters" 69 85 msgstr "" 70 86 71 #: index.php:1 0887 #: index.php:115 72 88 msgid "You can use a custom CSS by providing its location." 73 89 msgstr "" 74 90 75 #: index.php:11 191 #: index.php:118 76 92 msgid "Custom CSS:" 77 93 msgstr "" 78 94 79 #: index.php:1 1595 #: index.php:122 80 96 msgid "" 81 97 "A location beginning with a / is treated as absolute, else it is treated as " … … 83 99 msgstr "" 84 100 85 #: index.php:1 17101 #: index.php:124 86 102 msgid "You can use a custom default Javatar image by providing its location." 87 103 msgstr "" 88 104 89 #: index.php:12 0105 #: index.php:127 90 106 msgid "Custom default image:" 91 107 msgstr "" 92 108 93 #: index.php:1 24109 #: index.php:131 94 110 msgid "" 95 111 "The API of Presence Jabber works only with full path for the default picture." 96 112 msgstr "" 97 113 98 #: index.php:13 2114 #: index.php:139 99 115 msgid "Save configuration" 100 116 msgstr "" -
plugins/javatar/locales/en/help.html
r479 r554 1 <p>Size of images are 32px, 64px, 80px or 96px</p> 2 <p>You have to <b>edit</b> the post.html and page.html of your current theme for saving the Jabber adress information</p> 3 <p>In those files add the following bloc in the <code>#comments dl dd</code></p> 4 <textarea> 5 <tpl:SysIf has_tag="CommentAuthorJavatar"> 6 {{tpl:CommentAuthorJavatar}} 7 </tpl:SysIf> 8 </textarea> 9 <p>And this bloc in the <code>#comment-form</code> where you want (why not under the email adress field)</p> 10 <textarea> 11 <tpl:SysIf has_tag="CommentAuthorJavatar"> 12 <p class="field"><label for="c_jabber">{{tpl:lang Jabber}} 13 ({{tpl:lang optional}}) :</label> 14 <input name="c_jabber" id="c_jabber" type="text" size="30" maxlength="255" 15 value="{{tpl:CommentPreviewJabber encode_html="1"}}" /> 16 </p> 17 </tpl:SysIf> 18 </textarea> 19 <p>If you delete the plugin, you don't need to edit thoses template files another time.Thanks <code>tpl:SysIf has_tag</code>.</p> 1 <p>Available size for avatars are:</p> 2 <ul><li>32px<li> 3 <li>64px<li> 4 <li>80px<li> 5 <li>96px<li></ul> 6 <p>You don't have to edit template files of current theme.</p> 7 <p><a href="http://presence.jabberfr.org/" title="Official website Presence Jabber" hreflang="fr">More informations about Presence Jabber service</a></p> -
plugins/javatar/locales/fr/help.html
r479 r554 1 <p>La taille des images est de 32px, 64px, 80px ou 96px</p> 2 <p>Vous devez <b>éditer</b> les post.html et page.html du thème actif pour la mémorisation de l'adresse Jabber</p> 3 <p>Dans ces fichiers, ajouter le bloc suivant dans <code>#comments dl dd</code></p> 4 <textarea> 5 <tpl:SysIf has_tag="CommentAuthorJavatar"> 6 {{tpl:CommentAuthorJavatar}} 7 </tpl:SysIf> 8 </textarea> 9 <p>Et le bloc suivant dans <code>#comment-form</code> où vous voulez (pourquoi pas sous le paragraphe correspondant à l'adresse e-mail)</p> 10 <textarea> 11 <tpl:SysIf has_tag="CommentAuthorJavatar"> 12 <p class="field"><label for="c_jabber">{{tpl:lang Jabber}} 13 ({{tpl:lang optional}}) :</label> 14 <input name="c_jabber" id="c_jabber" type="text" size="30" maxlength="255" 15 value="{{tpl:CommentPreviewJabber encode_html="1"}}" /> 16 </p> 17 </tpl:SysIf> 18 </textarea> 19 <p>Si vous supprimez ce plugin, il n'est pas nécessaire d'éditer une nouvelle fois les fichies template.Merci les <code>tpl:SysIf has_tag</code>.</p> 1 <p>Les tailles disponibles pour les avatars sont:</p> 2 <ul><li>32px<li> 3 <li>64px<li> 4 <li>80px<li> 5 <li>96px<li></ul> 6 <p>Il n'est pas nécessaire d'éditer les fichiers template du thème actif.</p> 7 <p><a href="http://presence.jabberfr.org/" title="Site officiel de Presence Jabber" hreflang="fr">Plus d'informations sur le service Presence Jabber</a></p> -
plugins/javatar/locales/fr/main.po
r479 r554 8 8 "Project-Id-Version: PACKAGE VERSION\n" 9 9 "Report-Msgid-Bugs-To: \n" 10 "POT-Creation-Date: 2008- 07-20 21:41+0200\n"11 "PO-Revision-Date: 2008- 07-20 21:41+0200\n"10 "POT-Creation-Date: 2008-11-10 10:45+0100\n" 11 "PO-Revision-Date: 2008-11-10 10:45+0100\n" 12 12 "Last-Translator: Greg <popech@gmail.com>\n" 13 13 "Language-Team: French\n" … … 17 17 "Plural-Forms: nplurals=2; plural=(n > 1);\n" 18 18 19 #: _admin.php:19 index.php: 79 index.php:8719 #: _admin.php:19 index.php:82 index.php:90 20 20 msgid "Javatars" 21 21 msgstr "Javatars" 22 23 #: class.public.javatar.php:46 24 msgid "Jabber" 25 msgstr "Jabber" 26 27 #: class.public.javatar.php:47 28 msgid "optionnal" 29 msgstr "facultatif" 22 30 23 31 #: index.php:20 … … 37 45 msgstr "Très grande" 38 46 39 #: index.php: 6947 #: index.php:72 40 48 msgid "Configuration successfully updated." 41 msgstr "Configuration mis à jour avec succès "49 msgstr "Configuration mis à jour avec succès." 42 50 43 #: index.php:9 451 #: index.php:97 44 52 msgid "Plugin activation" 45 53 msgstr "Activation de l'extension" 46 54 47 #: index.php: 9855 #: index.php:101 48 56 msgid "Enable Javatars" 49 57 msgstr "Activer les Javatars" 50 58 51 #: index.php:100 59 #: index.php:105 60 msgid "Enable Gravatars compatibility" 61 msgstr "Gravatars par défaut" 62 63 #: index.php:106 64 msgid "If no Javatar, we try to show Gravatar." 65 msgstr "Si aucun Javatar, on essaie d'afficher le Gravatar." 66 67 #: index.php:108 52 68 msgid "Options" 53 69 msgstr "Options" 54 70 55 #: index.php:103 71 #: index.php:110 72 msgid "Required field" 73 msgstr "Champ obligatoire" 74 75 #: index.php:110 56 76 msgid "Javatar image size" 57 77 msgstr "Taille des Javatars" 58 78 59 #: index.php:1 0460 msgid "This defines image size for Javatars. Choose a size:"61 msgstr "Ceci définit la taille de s Javatars. Choisissez une taille:"79 #: index.php:112 80 msgid "This defines image size for Javatars." 81 msgstr "Ceci définit la taille de l'image du Javatar." 62 82 63 #: index.php:1 0783 #: index.php:114 64 84 msgid "Custom parameters" 65 85 msgstr "Paramètres personnels" 66 86 67 #: index.php:1 0887 #: index.php:115 68 88 msgid "You can use a custom CSS by providing its location." 69 89 msgstr "Vous pouvez utiliser une CSS personnalisée en fournissant son adresse." 70 90 71 #: index.php:11 191 #: index.php:118 72 92 msgid "Custom CSS:" 73 msgstr "CSS personnalisée "93 msgstr "CSS personnalisée:" 74 94 75 #: index.php:1 1595 #: index.php:122 76 96 msgid "" 77 97 "A location beginning with a / is treated as absolute, else it is treated as " 78 98 "relative to the blog's current theme URL" 79 msgstr "Une adresse commençant par un / est considérée comme absolue, sinon elle traitée comme " 80 "relative à l'adresse du thème actuellement en usage sur le blog" 99 msgstr "Une adresse commençant par un / est considérée comme absolue, sinon elle traitée comme relative à l'adresse du thème actuellement en usage sur le blog" 81 100 82 #: index.php:1 17101 #: index.php:124 83 102 msgid "You can use a custom default Javatar image by providing its location." 84 103 msgstr "Vous pouvez utiliser une image Javatar par défaut en fournissant son adresse." 85 104 86 #: index.php:12 0105 #: index.php:127 87 106 msgid "Custom default image:" 88 107 msgstr "Image par défaut personnalisée:" 89 108 90 #: index.php:1 24109 #: index.php:131 91 110 msgid "" 92 111 "The API of Presence Jabber works only with full path for the default picture." 93 msgstr "" 94 "L'API de Presence Jabber ne fonctionne qu'avec un chemin complet pour l'image par défaut" 112 msgstr "L'API de Presence Jabber ne fonctionne qu'avec un chemin complet pour l'image par défaut" 95 113 96 #: index.php:13 2114 #: index.php:139 97 115 msgid "Save configuration" 98 116 msgstr "Enregistrer la configuration" -
plugins/javatar/locales/fr/resources.php
r480 r554 14 14 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 15 15 \***************************************************************/ 16 if (!isset($__resources['help']['javatar'])) { 17 $__resources['help']['javatar'] = dirname(__FILE__).'/help.html'; 18 } 16 $__resources['help']['javatar'] = dirname(__FILE__).'/help.html'; 19 17 ?>
Note: See TracChangeset
for help on using the changeset viewer.