Closed Bug 209174 Opened 22 years ago Closed 22 years ago

Unlocalizable word in the list of events

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jasnapaka, Assigned: mikeypotter)

Details

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; cs-CZ; rv:1.4) Gecko/20030529 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; cs-CZ; rv:1.4) Gecko/20030529 File: content/unifinder.js if( calendarEvent.allDay ) { startText = "All day " + startDate; } and if( calendarEvent.allDay ) { endText = "All day " + endDate; } Text "All day" cannot be localized. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Yes, but there ar still more such hardcoded strings in .js files. In unifinder.js Title:, Start: End: and Description: are defined (besides "all Day) as hardcoded strings displayed as quick info. There should be defined any entities which can be localized. But, I think also in other .js or .xul files are such hardcoded strings that should be replaced by entities.
Attachment #126369 - Flags: first-review?(mikep)
Comment on attachment 126369 [details] [diff] [review] patch of unifinder.js calendar.xul calendar.dtd I don't know how to correct the patch but the lines : + var unifinderAlldayLabel = "&calendar.unifinder.allday.label"; + var unifinderTitleLabel = "&calendar.unifinder.title.label"; + var unifinderStartLabel = "&calendar.unifinder.start.label"; + var unifinderEndLabel = "&calendar.unifinder.end.label"; + var unifinderDescriptionLabel = "&calendar.unifinder.description.label"; should be replace by : + var unifinderAlldayLabel = "&calendar.unifinder.allday.label"; + var unifinderTitleLabel = "&calendar.unifinder.title.label;"; + var unifinderStartLabel = "&calendar.unifinder.start.label;"; + var unifinderEndLabel = "&calendar.unifinder.end.label;"; + var unifinderDescriptionLabel = "&calendar.unifinder.description.label;";
Comment on attachment 126369 [details] [diff] [review] patch of unifinder.js calendar.xul calendar.dtd Second chance :-) + var unifinderAlldayLabel = "&calendar.unifinder.allday.label;"; + var unifinderTitleLabel = "&calendar.unifinder.title.label;"; + var unifinderStartLabel = "&calendar.unifinder.start.label;"; + var unifinderEndLabel = "&calendar.unifinder.end.label;"; + var unifinderDescriptionLabel = "&calendar.unifinder.description.label;";
This patch won't apply. Please try again using patch -Urn
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment on attachment 126369 [details] [diff] [review] patch of unifinder.js calendar.xul calendar.dtd Can't apply, please make new patch.
Attachment #126369 - Flags: first-review?(mikep) → first-review-
second chance :-;
Attachment #126369 - Attachment is obsolete: true
Attachment #126579 - Flags: first-review?(mikep)
Comment on attachment 126579 [details] [diff] [review] patch of unifinder.js calendar.xul calendar.dtd Checked in cvs.
Attachment #126579 - Flags: first-review?(mikep) → first-review+
Fixed in cvs.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: