--- 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++)
--- a/includes/clientside/static/autofill.js Mon Jan 21 19:54:29 2008 -0500
+++ b/includes/clientside/static/autofill.js Mon Jan 21 23:02:16 2008 -0500
@@ -116,7 +116,7 @@
var tr = document.createElement('tr');
var th = document.createElement('th');
- th.appendChild(document.createTextNode('Username suggestions'));
+ th.appendChild(document.createTextNode($lang.get('user_autofill_heading_suggestions')));
tr.appendChild(th);
table.appendChild(tr);
@@ -125,7 +125,7 @@
var tr = document.createElement('tr');
var td = document.createElement('td');
td.className = 'row1';
- td.appendChild(document.createTextNode('No suggestions'));
+ td.appendChild(document.createTextNode($lang.get('user_autofill_msg_no_suggestions')));
td.afobj = autofill;
tr.appendChild(td);
table.appendChild(tr);
@@ -315,9 +315,9 @@
if ( state_td.parentNode.nextSibling )
{
// Ooh boy, DOM stuff can be so complicated...
- // <tr> --> <tr>
- // <td> <td>
- // user user
+ // <tr> → <tr>
+ // ↑ <td> <td> ↓
+ // user user
var newstate = state_td.parentNode.nextSibling.firstChild.firstChild.nodeValue;
if ( !newstate )
@@ -368,9 +368,9 @@
if ( state_td.parentNode.previousSibling && state_td.parentNode.previousSibling.firstChild.tagName != 'TH' )
{
// Ooh boy, DOM stuff can be so complicated...
- // <tr> <-- <tr>
- // <td> <td>
- // user user
+ // <tr> ← <tr>
+ // ↓ <td> <td> ↑
+ // user user
var newstate = state_td.parentNode.previousSibling.firstChild.firstChild.nodeValue;
if ( !newstate )
--- a/language/english/core.json Mon Jan 21 19:54:29 2008 -0500
+++ b/language/english/core.json Mon Jan 21 23:02:16 2008 -0500
@@ -109,7 +109,11 @@
This means that this page will not show its own content by default. Instead it will display the contents of the page it redirects to.<br /><br />
To create a redirect page, make the <i>first characters</i> in the page content <tt>#redirect [[Page_ID]]</tt>. For more information, see the
Enano <a href="http://enanocms.org/Help:Wiki_formatting" onclick="window.open(this.href); return false;">Wiki formatting guide</a>.<br /><br />
- This page redirects to %redirect_target%.'
+ This page redirects to %redirect_target%.',
+
+ autosuggest_heading: 'Page name matches',
+ autosuggest_col_name: 'Page title',
+ autosuggest_col_page_id: 'Page ID',
},
comment: {
lbl_subject: 'Subject',
--- a/language/english/user.json Mon Jan 21 19:54:29 2008 -0500
+++ b/language/english/user.json Mon Jan 21 23:02:16 2008 -0500
@@ -131,6 +131,9 @@
reg_coppa_title: 'Before you can register, please tell us your age.',
reg_coppa_link_atleast13: 'I was born <b>on or before</b> %yo13_date% and am <b>at least</b> 13 years of age',
reg_coppa_link_not13: 'I was born <b>after</b> %yo13_date% and am <b>less than</b> 13 years of age',
+
+ autofill_heading_suggestions: 'Username suggestions',
+ autofill_msg_no_suggestions: 'No suggestions',
},
usercp: {
// Meta