Closed Bug 369908 Opened 17 years ago Closed 17 years ago

[0.3.1][mn] timezone selection box not shown in preference dialog

Categories

(Calendar :: Sunbird Only, defect)

Sunbird 0.3.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ssitter, Unassigned)

Details

(Whiteboard: [fixed0.3.1])

Mozilla/5.0 (Windows; U; Windows NT 5.0; mn; rv:1.9a1) Gecko/20070208 Sunbird/0.3.1

Алдаа: гадаад оруулгын холболтыг боловсруулах алдаа
Эх файл: chrome://calendar/content/preferences/timezones.xul
Мөр: 46, Багана: 5
Эх бичлэг:
    %timezonesDTD;

Maybe encoding error in dtd file?
Not being able to select timezone should block 0.3.1 release for mn locale. Requesting blocking‑calendar0.3.1.
Flags: blocking-calendar0.3.1?
Flags: blocking-calendar0.3.1? → blocking-calendar0.3.1+
I copied the timezones.dtd from mn locale in an working en-US build. This way I got the following error message:

Error: error in processing external entity reference
Source File: chrome://calendar/content/preferences/timezones.xul
Line: 46, Column: 5
Source Code:
    %timezonesDTD;----^

I see that in timezones.dtd from mn locale there is a line break (<LF>) in pref.timezone.America.North_Dakota.New_Salem:
"Америк/North_Dakota/New_
Salem"

I wonder if this might be the cause of the error.
(In reply to comment #2)
Stefan,
Nice catch.

I removed the line break and committed the change to SUNBIRD_0_3_BRANCH, LIGHTNING_0_3_BRANCH, MOZILLA_1_8_BRANCH, and trunk.

We'll see.
There is another error: The entity for Madeira is declared twice:

<!ENTITY pref.timezone.Atlantic.Madeira "Атлантын далайн/Madeira" >
<!ENTITY pref.timezone.Atlantic/Madeira "Атлантын далайн/Madeira" >

The second line with the '/' should be removed.
(In reply to comment #4)
> The second line with the '/' should be removed.

Done on all 3 branches and trunk.
Works using Mozilla/5.0 (Windows; U; Windows NT 5.0; mn; rv:1.9a1) Gecko/20070213 Sunbird/0.3.1, the timezone preference dialog is displayed correct. Resolving FIXED and marking [fixed0.3.1].
Status: NEW → RESOLVED
Closed: 17 years ago
OS: Windows 2000 → All
Hardware: PC → All
Resolution: --- → FIXED
Whiteboard: [fixed0.3.1]
You need to log in before you can comment on or make changes to this bug.