Closed
Bug 209174
Opened 21 years ago
Closed 21 years ago
Unlocalizable word in the list of events
Categories
(Calendar :: Sunbird Only, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jasnapaka, Assigned: mikeypotter)
Details
Attachments
(1 file, 1 obsolete file)
5.58 KB,
patch
|
mikeypotter
:
first-review+
|
Details | Diff | Splinter Review |
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.
Comment 1•21 years ago
|
||
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.
Comment 2•21 years ago
|
||
Updated•21 years ago
|
Attachment #126369 -
Flags: first-review?(mikep)
Comment 3•21 years ago
|
||
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 4•21 years ago
|
||
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;";
Assignee | ||
Comment 5•21 years ago
|
||
This patch won't apply. Please try again using patch -Urn
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 6•21 years ago
|
||
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-
Updated•21 years ago
|
Attachment #126579 -
Flags: first-review?(mikep)
Assignee | ||
Comment 8•21 years ago
|
||
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+
Assignee | ||
Comment 9•21 years ago
|
||
Fixed in cvs.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 10•18 years ago
|
||
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.
Description
•