1
edit
No edit summary |
m (→XUL Hacking: Typo corrections) |
||
| Line 45: | Line 45: | ||
5.) Scroll down until you see something that looks like: | 5.) Scroll down until you see something that looks like: | ||
<tt> | <tt> | ||
<vbox id="left-hand-content" persist="width"> | |||
<tabbox id="tablist" persist="selectedIndex"> | <tabbox id="tablist" persist="selectedIndex"> | ||
<tabs> | <tabs> | ||
| Line 62: | Line 63: | ||
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. | 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> | 9.) The majority of the strings for Sunbird live in <tt>calendar.dtd</tt> 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 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 | 10.) Find the ENTITY named <tt>calendar.calendartab.label</tt> and 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. | 11.) Put the new <tt>calendar.dtd</tt> file in your calendar.jar (overwriting the old file) and close the jar tool. | ||
edit