# HG changeset patch # User Dan # Date 1200974536 18000 # Node ID ee4defc9321abd3013c72aacd99780812f4a3c26 # Parent 7e16181545e13ee1a26e5794387b3551915250bf Localized autosuggestion widgets diff -r 7e16181545e1 -r ee4defc9321a includes/clientside/static/autocomplete.js --- 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 = '
Username matches |
---|
' + $lang.get('user_autofill_heading_suggestions') + ' | |
---|---|
' + $lang.get('page_autosuggest_col_name') + ' | ' + $lang.get('page_autosuggest_col_page_id') + ' |
- // user user + // | |
↓ + // 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... - // | |
- // user user + // | |
↑
+ // user user
var newstate = state_td.parentNode.previousSibling.firstChild.firstChild.nodeValue;
if ( !newstate )
diff -r 7e16181545e1 -r ee4defc9321a language/english/core.json
--- 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. To create a redirect page, make the first characters in the page content #redirect [[Page_ID]]. For more information, see the Enano Wiki formatting guide. - 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', diff -r 7e16181545e1 -r ee4defc9321a language/english/user.json --- 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 on or before %yo13_date% and am at least 13 years of age', reg_coppa_link_not13: 'I was born after %yo13_date% and am less than 13 years of age', + + autofill_heading_suggestions: 'Username suggestions', + autofill_msg_no_suggestions: 'No suggestions', }, usercp: { // Meta |