Closed
Bug 330103
Opened 18 years ago
Closed 18 years ago
Hard coded strings l18n
Categories
(Calendar :: Lightning Only, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Lightning 0.1
People
(Reporter: cedric.corazza, Assigned: jminta)
References
Details
(Keywords: intl)
Attachments
(1 file)
13.57 KB,
patch
|
mvl
:
first-review+
|
Details | Diff | Splinter Review |
I packaged the Lightning xpi (0.1RC1 Linux) in French. Some strings are not localized. I searched in the locale part (calendar-fr-FR.jar and fr-FR.jar) and didn't find anything. These strings are "Today, Tomorrow and Soon" located in the "Agenda" tab. The only file I found these strings in is agenda-tree.js so I guess it is guilty :-) .
Reporter | ||
Comment 1•18 years ago
|
||
Me again, I (in fact Frederic, one of the FrenchMozilla translator, tester, ...) found some other non-localizable strings and as discussed on IRC, a single tracking bug is the most suitable way, so : The title windows for 'New Event' and 'Edit Event' is non-localizable. I'm not a coder but 'New Event' seems to be hard-coded in calendar-event-dialog.js and 'Edit Event' in calendar-event-dialog.js and/or calendar-management.js. Voila
Comment 2•18 years ago
|
||
"Today", "Tomorrow", "Soon" - agenda categories: /calendar/lightning/content/agenda-tree.js, line 50 et seq. "New Event" - default name for new events: /calendar/lightning/content/calendar-management.js, line 193 /calendar/resources/content/calendarWindow.js, line 60 "New Event", "Edit Event", "New Task", "Edit Task" - item dialog title: /calendar/base/content/calendar-event-dialog.js, line 390 et seq.
Assignee | ||
Updated•18 years ago
|
Blocks: sunbird-0.3a2
Assignee | ||
Comment 3•18 years ago
|
||
Patch moves the strings to stringbundles to enable localization. Also removes a bunch of useless lines from the agenda tree and fixes strict warnings about using sharp variables. The Sunbird changes block 0.3a2, because that release should be fully localizable.
Comment 4•18 years ago
|
||
Comment on attachment 215541 [details] [diff] [review] use stringbundles r=mvl
Attachment #215541 -
Flags: first-review?(mvl) → first-review+
Assignee | ||
Comment 5•18 years ago
|
||
Patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•