Example 5–1 shows the necessary edits to be made in the file mbox_fs_lr.html to display “Search” as the first tool and changes the text of “Get Mail” tool to “Get Messages.
function getToolbar() { if (!main.loaded) return ''; return nWMtoolbar(i18n['mbox search'], 'srch()', 'search','imx/LrlSearchMsg_wo_1.gif','imx/LrlSearchMsg_1.gif') + nWMtoolbar(i18n['compose'], 'main.compose(\\'new\\')', 'compose', 'imx/LrlNewMsg_wo_1.gif', 'imx/LrlNewMsg_1.gif') + nWMtoolbar(i18n['get mail'], 'main.check_mail = 1; main.displaySpecialMbox(\\'Inbox\\')', 'getmail', 'imx/LrlGetMail_wo_1.gif','imx/LrlGetMail_1.gif')+ nWMtoolbar(i18n["collect long"], 'main.collect()', 'collect', 'imx/LrlColExtMail_wo_1.gif', 'imx/LrlColExtMail_1.gif')+ } |
Example 5–2 shows the necessary changes to be made in file en/i18n.js (text)
i18n[’get mail’] = ’Get Messages’ |