Changes

Jump to: navigation, search

Calendar:Hacking

No change in size, 09:35, 24 October 2007
m
XUL Hacking: Typo corrections
5.) Scroll down until you see something that looks like:
<tt> <vbox id="left-hand-content" persist="width">
<tabbox id="tablist" persist="selectedIndex">
<tabs>
Yay! Great work. You just made your first changes to the code. There's only one problem... remember how we said earlier that all strings live in <tt>locale</tt>? Well, 'Calendar' here is living in <tt>content</tt> which is bad. Change the line back to <tt>label="&calendar.calendartab.label;"</tt> and restart Sunbird to make sure you did it correctly.
9.) The majority of the strings for Sunbird live in <tt>calendar.dtd</tt> instead inside the <tt>locale/en-US</tt> folder. Open it in your text editor. '''Note:''' Changes to strings are always made first to the en-US file. Other localizers will then update there their files (often only prior to a release) to the new strings. Patches involving string changes/additions/deletions should only change en-US files.
10.) Find the ENTITY named <tt>calendar.calendartab.label</tt> and chance change its value from 'Date' to 'Calendar'. Save the file.
11.) Put the new <tt>calendar.dtd</tt> file in your calendar.jar (overwriting the old file) and close the jar tool.
1
edit

Navigation menu