includes/clientside/static/autocomplete.js
changeset 367 ee4defc9321a
parent 263 d57af0b0302e
child 407 35d94240a197
--- a/includes/clientside/static/autocomplete.js	Mon Jan 21 19:54:29 2008 -0500
+++ b/includes/clientside/static/autocomplete.js	Mon Jan 21 23:02:16 2008 -0500
@@ -185,7 +185,7 @@
         }
         else
         {
-          html = '<table border="0" cellspacing="1" cellpadding="3" style="width: auto;"><tr><th><small>Username matches</small></th></tr>';
+          html = '<table border="0" cellspacing="1" cellpadding="3" style="width: auto;"><tr><th><small>' + $lang.get('user_autofill_heading_suggestions') + '</small></th></tr>';
           cls = 'row2';
           unObjCurrentSelection = userlist[0];
           for(i=0;i<userlist.length;i++)
@@ -251,7 +251,7 @@
         }
         else
         {
-          html = '<table border="0" cellspacing="1" cellpadding="3" style="width: auto;"><tr><th colspan="2">Page name matches</th></tr><tr><th><small>Page title</small></th><th><small>Page ID</small></th></tr>';
+          html = '<table border="0" cellspacing="1" cellpadding="3" style="width: auto;"><tr><th colspan="2">' + $lang.get('page_autosuggest_heading') + '</th></tr><tr><th><small>' + $lang.get('page_autosuggest_col_name') + '</small></th><th><small>' + $lang.get('page_autosuggest_col_page_id') + '</small></th></tr>';
           cls = 'row2';
           unObjCurrentSelection = userlist[0];
           for(i=0;i<userlist.length;i++)