Closed
Bug 156791
Opened 22 years ago
Closed 22 years ago
UI Strings in JavaScript content area should be moved to locale
Categories
(Calendar :: Sunbird Only, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ajbu, Assigned: mikeypotter)
Details
Attachments
(2 files)
9.42 KB,
patch
|
Details | Diff | Splinter Review | |
2.41 KB,
patch
|
Details | Diff | Splinter Review |
There are still hardcoded UI strings in the Calendar JavaScript, those should be moved to locale properties to enable translation. Would it be easiest if I comment those strings here when I see them? Put them all in different bugs seems a little cumbersome.
Strings in calendarMail.js: nsIMsgAttachment.name = "iCal Event" nsIMsgCompFields.subject = gMailIdentity.fullName + " would like to schedule a meeting with you"; nsIMsgCompFields.organization = gMailIdentity.organization; nsIMsgCompFields.body = "When: " + Event.start + "-" + Event.end + "\nWhere: " + Event.location + "\nOrganizer: " + gMailIdentity.fullName + " <" + gMailIdentity.email + ">" + "\nSummary:" + Event.description;
Comment 2•22 years ago
|
||
strings concerned -------- in the Daily view "All-Day Events" -------- in the Calendar global setting "Calendar" in the window title "Date Text Format" The combo whith "Short Format (ie. 04/01/02)" and "Long (ie. Apr 1, 2002)" "First Day Of The Week" and The list of Days just after. "Default Event Length" (and may be "Minutes" juste after but it's the same name in french) "Default Snooze Length" (and may be "Minutes" juste after but it's the same name in french) -------- "Go" menu "Next" and "Previous" item in the "Go" Menu Best regards
Patch to move pref dialog text to locale dtd. Patch also adds simple categories field to the pref page.
This are the strings I know of are still in the JavaScript: calendarMail.js [194] nsIMsgAttachment.name = "iCal Event" [206] nsIMsgCompFields.body = "When: " + Event.start + "-" + Event.end + "\nWhere: " + Event.location + "\nOrganizer: " + gMailIdentity.fullName + " <" + gMailIdentity.email + ">" + "\nSummary:" + Event.description; calendarDayView.js [151] TextNode = document.createTextNode( "All-Day Events" ); note that calendarWeekView uses the label from global.dtd: <!ENTITY allDayEvents.label "All Day Events"> calendarImportExport.js also has hardcoded strings for filters and dialogs.
Assignee: ajbu → mikep
Assignee | ||
Comment 7•22 years ago
|
||
Fixed all except for the strings in calendarImportExport.js
Assignee | ||
Updated•22 years ago
|
Target Milestone: --- → 1.0
Comment 8•22 years ago
|
||
Default QA Contact for Calendar has changed. If you wish to remain the QA contact for this bug, feel free to change it back.
QA Contact: colint → brantgurganus2001
Assignee | ||
Comment 9•22 years ago
|
||
Fixed the ones in importExport.js now. This should be done.
Status: NEW → RESOLVED
Closed: 22 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
Updated•16 years ago
|
Target Milestone: 1.0 → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•