Closed Bug 467511 Opened 16 years ago Closed 16 years ago

Unable to add new entry to the Address Book in localized si, gu-IN, nn-NO beta1pre version

Categories

(Mozilla Localizations :: si / Sinhala, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rohana, Unassigned)

References

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; si; rv:1.9.1b3pre) Gecko/20081130 Shredder/3.0b1pre ගොනු ->නව ->ලිපින පොතේ පිටුවක් (In English eq. "File ->New-> Address Book Card") Under "සම්බන්ධය" ("Contact") When "First" and "Last" text boxes are filled, the "Display" should be automatically filled up. But it is not happening in Sinhala Version and nothing happens when "හරි (OK)" button is clicked. (I will separately attach two screen shots for Sinhala (si) version and equivalent En-US) Reproducible: Always Steps to Reproduce: 1.ගොනු ->නව ->ලිපින පොතේ පිටුවක් (en-US eq. "File->New->Address Book Card")with "si" 2.Fill up appropriate text boxes (First, Last etc..) 3.Click "හරි"(OK) Button Actual Results: Nothing Happen. Expected Results: When "First" and "Last" under "Contact" are filled "Display" should be automatically filled up. A new record should be added to the address book. The "හරි" (OK) button looks like dead. But an existing record can be deleted.
You will notice that "First" and "Last" were filled but "Display" is still empty.
This is definitely a regression, from where we display phonetic name fields. In the error console I'm seeing: දෝෂය: doc.getElementById(kVcardFields[i][0]) is null මූල ගොනුව: chrome://messenger/content/addressbook/abCardOverlay.js පේළිය: 385 and දෝෂය: document.getElementById("FirstName") is null මූල ගොනුව: chrome://messenger/content/addressbook/abCardOverlay.js පේළිය: 563 These errors also appear to mean locales that show phonetic fields can't create/edit address book card data via the dialogs.
Assignee: nobody → bugzilla
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking-thunderbird3?
Flags: blocking-thunderbird3.0b1?
I was wrong about phonetic fields, they aren't in use here. Thankfully I've just realised what is wrong: In abCardOverlay.dtd the NameField1.id and NameField2.id have been translated, even though the localisation note says not to translate. So this is an issue with the si localisation, not the TB code. The fields should remain untranslated, but can be swapped around to display the Last Name first on the card, before the First Name. I tested this on the beta 1 release candidate: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; si; rv:1.9.1b3pre) Gecko/20081201 Thunderbird/3.0b1 so this is a problem there as well. Simon: I did a quick scan of NameField?.id and PhoneticField?.id on l10n central. gu-IN and nn-NO are also wrong. nn-NO I think is on the beta 1 list
Assignee: bugzilla → nobody
Component: Address Book → si / Sinhala
Product: Thunderbird → Mozilla Localizations
QA Contact: address-book → sinhala.si
OS: Windows XP → All
Hardware: PC → All
Håvard and Ankit, please take a look at comment 4 here in this bug, since it seems that you translated something that you shouldn't in the Thunderbird nn-NO and gu-IN localization.
Summary: Unable to add new entry to the Address Book in Localized "si" beta1pre version → Unable to add new entry to the Address Book in localized si, gu-IN, nn-NO beta1pre version
(In reply to comment #5) > Håvard and Ankit, please take a look at comment 4 here in this bug, since it > seems that you translated something that you shouldn't in the Thunderbird nn-NO > and gu-IN localization. Hi Simon, Thanks for spotting it & informing us about the mistake. It's corrected & submitted now! http://hg.mozilla.org/l10n-central/gu-IN/rev/8c9240907773 Let me know, if anything else needs to be corrected... Thanks! Ankit
Flags: blocking-thunderbird3?
Flags: blocking-thunderbird3.0b1?
Flags: blocking-thunderbird3.0b1+
Flags: blocking-thunderbird3+
Checked in for nn-NO, too. Thanks for notifying. http://hg.mozilla.org/l10n-central/nn-NO/file/da5123f9eb10
This is still open for si (Sinhala)?
uploaded the corrected file to the bug 439247.
updated the file and pushed. took small time as I had an issue on hg merge fixed it with Pike!
Blocks: 467813
marking fixed, then - this is the right si revision, I believe - http://hg.mozilla.org/l10n-central/si/rev/7faca4f64ff2
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: