diff -up diff/drigg/drigg.module drigg/drigg.module
--- diff/drigg/drigg.module	2008-03-06 04:10:37.000000000 +0100
+++ drigg/drigg.module	2008-04-08 08:26:05.000000000 +0200
@@ -146,7 +146,7 @@ function node_add_wrapper($type=NULL){
   $get_url  = iconv("UTF-8","UTF-8//IGNORE", $_GET['url'] );
   $n=drigg_url_exists($get_url);
   if($n){
-    drupal_set_message(t("The URL has already been submitted!"));
+    drupal_set_message(t("URL dj propose par un autre utilisateur!"));
     drupal_goto("node/$n");
   }
 
@@ -172,13 +172,13 @@ function node_add_wrapper($type=NULL){
     // a different site, he needs to be able to create an account...
     $referer=referer_uri();
     if(! preg_match('|user/register\?destination\=submit|',$referer)){
-      drupal_set_message( t("You need to login to submit stories to FSDaily! Please create your new account if you don't have one already") );
+      drupal_set_message( t("Vous devez vous inscrire avant de pouvoir soumettre des actus ! C'est facile et rapide, il suffit d'une adresse mail valide") );
       drupal_goto(url('user/register',NULL,NULL,TRUE), "destination=".urlencode($destination) );
 
     // OTHERWISE, the user has JUST sent a request for a new account! In this
     // case, redirect to user/login.
     } else {
-      drupal_set_message( t("Please use your login and password to login!"));
+      drupal_set_message( t("Vous pouvez vos connecter en utilisant le mot de passe envoy par email!"));
       drupal_goto(url('user/login',NULL,NULL,TRUE), "destination=".urlencode($destination) );
     }
 
@@ -192,7 +192,42 @@ function node_add_wrapper($type=NULL){
  * This is again "the usual story". However, note that this "menu" is
  * quite tricky, because it needs to pass the right arguments to
  * drigg_node_list(). The function is commented throughout
- */ 
+ */
+
+ //PGI
+function drigg_show_button() {
+$url=$_SERVER['HTTP_REFERER'];
+$get_url  = iconv("UTF-8","UTF-8//IGNORE", $_GET['url'] );
+if ($get_url)
+	$url=$get_url;
+//watchdog("giro","URL for button : $url");
+$node_id=drigg_url_exists($url);
+header('P3P: CP="ALL ADM DEV PSAi COM OUR OTRo STP IND ONL"');
+print "<html>";
+print <<<END
+  <head>
+  <!-- $url 2 -->
+  <script type="text/javascript" src="/misc/jquery.js"></script>
+
+  <script type="text/javascript" src="/misc/drupal.js"></script>
+
+  <!-- REMOVE these if you are using jquery-update!! -->
+  <script type="text/javascript" src="/misc/collapse-fix.js"></script>
+  <script type="text/javascript" src="/misc/compat-1.0.js"></script>
+  <script type="text/javascript" src="/sites/all/modules/extra_voting_forms/extra_voting_forms.js"></script>
+END;
+print '<style type="text/css" media="all">@import "/sites/all/modules/extra_voting_forms/widgets/default/extra_voting_forms_all.css";</style>';
+print '<style type="text/css" media="all">@import "/sites/all/themes/drigg_theme/style.css";</style>';
+print "</head><body style='background-color:transparent'><div width='100%'><div style='float:left;padding-right:2px'>";
+print extra_voting_forms_insert_js_css();
+print extra_voting_forms_show_form(node_load($node_id),'n',3,'big');	
+print "</div>";
+if ($node_id) {
+print "<div><b>Votez pour cette actu<br><br><a href='http://www.crise-2008.fr/' target='_blank'><span style='font-size:0.8em;font-style:italic'>crise-2008.fr</span></a><b></div>";
+}
+print "</body>";
+print "</html>";
+}
 function drigg_menu($may_cache) { 
   $items = array(); 
 
@@ -204,6 +239,15 @@ function drigg_menu($may_cache) { 
       'type' => MENU_CALLBACK,
       'weight' => 1);
 
+//PG
+   $items[] = array('path' => 'drigg/external_button',
+      'title' => t('Drigg - Extra Voting Forms Button for outside Drigg'),
+      'description' => t('Button for external sites to send votes directly'),
+      'callback' => 'drigg_show_button',
+      'access' => TRUE,
+      'type' => MENU_CALLBACK);
+//EndPG
+
   if ($may_cache ) { 
 
    $items[] = array('path' => 'drigg/aliases_mass_recalculation',
@@ -309,14 +353,14 @@ function drigg_menu($may_cache) { 
       if ($node->nid) {
 
         $items[] = array('path' => 'node/'. arg(1).'/who_voted', 
-          'title' => t('Who voted'),
+          'title' => t('Qui a vot'),
           'callback' => 'drigg_who_voted',
           'callback arguments' => array($node),
           'access' => node_access('view', $node),
           'type' => MENU_CALLBACK);
 
         $items[] = array('path' => 'node/'. arg(1).'/related_links', 
-          'title' => t('Related links'),
+          'title' => t('Liens similaires'),
           'callback' => 'drigg_related_links',
           'callback arguments' => array($node),
           'access' => node_access('view', $node),
@@ -414,7 +458,7 @@ function drigg_taxonomy_form_term(){
 function drigg_taxonomy_form_delete_check($form_id, $form_values){
 
   $tid=$form_values['tid'];
-  $vid=db_result(db_query("select vid from term_data where tid=%d",$tid));
+  $vid=db_result(db_query("select vid from {term_data} where tid=%d",$tid));
 
   // Paranoid check. This is just to make sure...
   if($vid == 0){
@@ -424,7 +468,7 @@ function drigg_taxonomy_form_delete_chec
   // If the vid is Drigg's, then some serious checking should happen
   if($vid == variable_get('drigg_section_vid', 0) ){
 
-    $how_many=db_result(db_query("SELECT count(*) FROM term_node tn LEFT JOIN node n on tn.nid = n.nid WHERE tn.tid=%d and n.type='drigg'",$tid));
+    $how_many=db_result(db_query("SELECT count(*) FROM {term_node} tn LEFT JOIN {node} n on tn.nid = n.nid WHERE tn.tid=%d and n.type='drigg'",$tid));
     if($how_many != 0){
       form_set_error('', t("Sorry, deletion of this term is not allowed since there are !number scoops in the database right now. Please change those scoop's categories first.",array('!number' => $how_many)));
     }
@@ -1084,7 +1128,7 @@ function drigg_block($op = 'list', $delt
           }
           if($output != ''){
             $output = "<ul class=\"drigg-best-karma-comments\">$output</ul>\n";
-            $output .= '<span class="drigg-best-karma-comments-link">'.l(t('more comments'),'all_comments').'</span>';
+            $output .= '<span class="drigg-best-karma-comments-link">'.l(t('plus de commentaires'),'all_comments').'</span>';
           }
         }
          
@@ -1505,17 +1549,17 @@ function drigg_view_profile($view_user){
     array( 
       #array( t('Joined'), $i_joined),
       array( 
-        l( t('Submitted scoops'), 'user/'.$view_user->uid.'/submitted' ), 
+        l( t('Actus soumises'), 'user/'.$view_user->uid.'/submitted' ), 
         $values['total_scoops']
       ),
 
       array( 
-        l( t('Published scoops'),'user/'.$view_user->uid.'/submitted' ), 
+        l( t('Actus publiées'),'user/'.$view_user->uid.'/submitted' ), 
         $values['published_scoops']
       ),
 
       array( 
-       l( t('Comments'), 'user/'.$view_user->uid.'/commented'),
+       l( t('Commentaires'), 'user/'.$view_user->uid.'/commented'),
        $values['comments']
       ),
 
@@ -1524,7 +1568,7 @@ function drigg_view_profile($view_user){
        $values['votes']
        ),
 
-      array( t('Rank:'), $values['rank'])
+      array( t('Classement:'), $values['rank'])
     ),
     array('style' => 'drigg_user_table'),
     '');
@@ -1598,9 +1642,9 @@ function drigg_node_feed($action,$catego
 
   // Make up a decent title
   if($action == 'all'){
-    $title = t('Submitted news');
+    $title = t('Actus soumises');
   } else {
-    $title = t('Published news');
+    $title = t('Actus publiées');
   }
   if($category != '' && $category != 'All'){
     $title .= ' - '.drigg_section_name_by_safe_name($category);
@@ -1750,13 +1794,13 @@ function drigg_node_list($action,$filter
 
   // Assigning a decent title to this page
   if($action == 'published'){
-    $page_title = t('Published scoops');
+    $page_title = t('Actus publiées');
   }
   if($action == 'upcoming'){
-    $page_title = t('Upcoming scoops');
+    $page_title = t('Actus a venir');
   }
   if($action == 'archived'){
-    $page_title = t('Archived scoops');
+    $page_title = t('Actus archivées');
   }
   if($category != ''){
     $page_title .= " - ".drigg_section_name_by_safe_name($category);
@@ -3063,7 +3107,7 @@ function drigg_form(&$node) { 
   if( variable_get('drigg_url_mode', 0) != 2 && substr($node->url, 0, 5) != 'node/') {
     $form['url'] = array(
       '#type' => 'textfield', 
-      '#title' => t('Story\'s URL'),
+      '#title' => t('URL du site d\'information, blog, etc'),
       '#size' => 60,
       '#maxlength' => 255, 
       '#required' => ! variable_get('drigg_url_mode', 0), 
@@ -3076,7 +3120,7 @@ function drigg_form(&$node) { 
 
     $form['trackback_ping_url'] = array(
       '#type' => 'textfield', 
-      '#title' => t('Original story\'s trackback URL (if known)'),
+      '#title' => t('URL trackback de l\'actu  originale (optionnel)'),
       '#size' => 60,
       '#maxlength' => 255, 
       '#required' => FALSE, 
@@ -3087,7 +3131,7 @@ function drigg_form(&$node) { 
 
   $form['title'] = array(
     '#type' => 'textfield', 
-    '#title' => t('Story\'s title'),  
+    '#title' => t('Titre'),  
     '#size' => 60,
     '#maxlength' => 128, 
     '#required' => TRUE, 
@@ -3096,7 +3140,7 @@ function drigg_form(&$node) { 
  
   $form['body'] = array(
     '#type' => 'textarea',
-    '#title' => t('Story\'s description'), 
+    '#title' => t('Description'), 
     '#default_value' => $node->body,
     '#weight' => -6, 
     '#required' => FALSE ); 
@@ -3143,7 +3187,7 @@ function drigg_form(&$node) { 
     $form['killed'] = array(
       '#type' => 'checkbox',
       '#title' => t('Killed'), 
-      '#description' => t('The story is only accessible if linked to directly'),
+      '#description' => t('L\'actu  n\'est accessible que directement'),
       '#default_value' => $node->killed,
       '#weight' => -5, 
       '#required' => FALSE ); 
@@ -3152,7 +3196,7 @@ function drigg_form(&$node) { 
 
   if($node->title_url){
     $form['not_a_field'] = array(
-     '#value' => t('Path to be used: ').$node->title_url);
+     '#value' => t('Chemin a utiliser: ').$node->title_url);
   }
 
   return $form; 
@@ -4882,11 +4926,11 @@ function drigg_get_article_menu(){
   // List of links at the bottom of the article
   $items=array(
     ''=> t('Comments'),
-    'who_voted'=> t('Who voted'));
+    'who_voted'=> t('Qui a voté'));
 
   // Only add related links if the admin wants it
   if(variable_get('drigg_article_menu_show_similar_links', TRUE)){
-    $items['related_links'] = 'Related links';
+    $items['related_links'] = 'Liens similaires';
   };
 
   // For each item, prints it
@@ -4921,11 +4965,11 @@ function drigg_get_submit_button(){
   global $user;
 
   if($user->uid != 0){
-    return l(  variable_get('drigg_scoop_button_text_submit', t('Submit scoop') ),
+    return l(  variable_get('drigg_scoop_button_text_submit', t('Proposer une actu') ),
                'node/add/drigg',
                array('class'=>'drigg-submit')  );
   } else {
-    return l(  variable_get('drigg_scoop_button_text_login', t('Login/register') ),
+    return l(  variable_get('drigg_scoop_button_text_login', t('Connexion/S\'enregistrer') ),
                'user/login',
                array('class'=>'drigg-login')  );
 
@@ -5086,10 +5130,10 @@ function drigg_view_users_by_karma(){
             t('Avatar'), 
             t('User'),
             $karma_heading,
-            t('Submitted scoops'), 
-            t('Published scoops'),
-            t('Comments'),
-            t('Votes/ published/ ratio'),
+            t('Actus soumises'), 
+            t('Actus publies'),
+            t('Commentaires'),
+            t('Ratio Votes/Publication'),
           ),
           $data_row,
           array('class' => "drigg-users-by-karma" ),
Seulement dans drigg/: .drigg.module.swp
diff -up diff/drigg/drigg_rss.module drigg/drigg_rss.module
--- diff/drigg/drigg_rss.module	2008-02-18 01:58:48.000000000 +0100
+++ drigg/drigg_rss.module	2008-03-30 09:40:36.000000000 +0200
@@ -207,7 +207,7 @@ function drigg_rss_form_submit($form_id,
   $fid=$form_values['fid'];
 
   // Submit: a field was submitted!
-  if($form_values['op'] == 'Submit'){
+  if($form_values['op'] == t('Submit')){
 
     if($fid || $fid === '0'){
       $drigg_rss_attributes=variable_get('drigg_rss_attributes',array() );
@@ -245,7 +245,7 @@ function drigg_rss_form_submit($form_id,
 */
 function drigg_rss_cron(){
   $last_iid=variable_get('drigg_rss_last_iid',0);
-  $last_iid=6;
+  //$last_iid=6;
 
 
   $db_last_iid=db_result(db_query("select max(iid) from {aggregator_item}"));
Les sous-rpertoires diff/drigg/drigg_theme et drigg/drigg_theme sont identiques.
Seulement dans drigg/: i18n-ascii.txt
Les sous-rpertoires diff/drigg/po et drigg/po sont identiques.
