? l10n_sug_by_2.patch
Index: ajax.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/l10n_server/l10n_community/Attic/ajax.inc,v
retrieving revision 1.1.2.8
diff -u -p -r1.1.2.8 ajax.inc
--- ajax.inc	28 Dec 2007 16:40:12 -0000	1.1.2.8
+++ ajax.inc	2 Jan 2008 20:42:31 -0000
@@ -54,7 +54,8 @@ function l10n_community_string_details($
   
   // Existing, "unresolved" suggestions.
   $suggestions = array();
-  $result = db_query("SELECT * FROM {l10n_community_translation} WHERE language = '%s' AND sid = %d AND is_active = 1 AND is_suggestion = 1", $langcode, $sid);
+  $result = db_query("SELECT t.tid, t.sid, t.translation, t.uid_entered, t.time_entered, u.name FROM {l10n_community_translation} AS t LEFT JOIN {users} AS u ON (u.uid = t.uid_entered) WHERE t.language = '%s' AND t.sid = %d AND t.is_active = 1 AND t.is_suggestion = 1", $langcode, $sid);

+
   $perm = l10n_community_get_permission($langcode);
   while ($suggestion = db_fetch_object($result)) {
     
@@ -67,8 +68,8 @@ function l10n_community_string_details($
     
     // Plural versions are shown in a short form.
     $translation = check_plain(strpos($suggestion->translation, "\0") ? str_replace(chr(0), '; ', $suggestion->translation) : $suggestion->translation);
-    
-    $suggestions[] = $decline_button . $approve_button . $copy_button . $translation; 
+    $suggestions[] = $decline_button . $approve_button . $copy_button . $translation . '<div class="l10n-suggestion-by">' . t('by %user at %date', array('%user' => (empty($suggestion->name) ? variable_get('anonymous', t('Anonymous')) : $suggestion->name), '%date' => format_date($suggestion->time_entered))) . '</div>';
+
   }
   if (count($suggestions)) {
     // List of suggestions.
