Closed
Bug 284560
Opened 19 years ago
Closed 19 years ago
Can't add English [en] to the language list
Categories
(Firefox :: Settings UI, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: osaier, Assigned: bugs)
References
Details
(Keywords: intl)
Attachments
(1 file)
1.38 KB,
patch
|
bugs
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050302 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050302 Firefox/1.0+ 1. Go to options>advanced>general>edit languages... 2. Remove English [en] 3. Try to add it back Reproducible: Always Actual Results: Clicking the Add button has no visible effect It can still be added by editing the intl.accept_languages pref.
Comment 1•19 years ago
|
||
I confirm this, can't seem to add english[en] as well.
Reporter | ||
Updated•19 years ago
|
Version: unspecified → Trunk
Comment 3•19 years ago
|
||
String 'en' matches 'en-us', so we cannot add language 'en'. This patch also fixes: Bug 284088 - Removing the first language in list doesn't work properly
Updated•19 years ago
|
Attachment #176140 -
Flags: review?
Assignee | ||
Comment 4•19 years ago
|
||
Comment on attachment 176140 [details] [diff] [review] patch Looks OK, but fix these nits: >+ languagesArray.push( item.id ); No whitespace around item.id. >+ var string = languagesArray.join(','); These files standardize on " for quotes, not ' ... then r=ben@mozilla.org
Assignee | ||
Comment 5•19 years ago
|
||
I fixed the nits and checked this in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•19 years ago
|
Attachment #176140 -
Flags: review? → review+
Comment 6•18 years ago
|
||
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → preferences
You need to log in
before you can comment on or make changes to this bug.
Description
•