Index: coder_6x.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/coder/includes/coder_6x.inc,v
retrieving revision 1.17.2.47
diff -u -p -r1.17.2.47 coder_6x.inc
--- coder_6x.inc 3 Mar 2008 15:11:55 -0000 1.17.2.47
+++ coder_6x.inc 6 May 2008 14:14:18 -0000
@@ -497,6 +497,17 @@ function _coder_6x_callback(&$coder_args
         }
       }
     }
+
+    // Check that there is a translations directory and not a po directory.
+    $dir = dirname($filename);
+    if (file_exists($dir .'/po') && !file_exists($dir .'/translations')) {
+      $severity_name = _coder_severity_name($coder_args, $review, $rule);
+      $warning = array(
+        '#warning' => t('Translations moved from ./po to ./translations'),
+        '#link' => 'http://drupal.org/node/114774#translations_directory',
+      );
+      $results[-2] = theme('coder_warning', $warning, $severity_name, -1, $dir);
+    }
   }
 }
