Bug 953492 - add accesskeys in the menus of the buddy list. patch from Bryce Verdier <bryceverdier@gmail.com>

This commit is contained in:
Florian Quèze 2008-03-07 22:05:03 +01:00
Родитель 4e264b8f0d
Коммит bfac8000f2
2 изменённых файлов: 17 добавлений и 3 удалений

Просмотреть файл

@ -62,8 +62,17 @@
<stringbundle id="awayBundle" src="chrome://instantbird/locale/away.properties"/>
<commandset id="maincommandset">
<command id="accountmanager" oncommand="menus.accounts()"/>
</commandset>
<keyset id="mainkeyset">
<key id="accountsetup" key="&account.commandkey;" command="accountmenu" modifiers="accel"/>
</keyset>
<menubar id="blistMenubar">
<menu label="&file.menu;" id="fileMenu">
<menu label="&file.menu;" id="fileMenu" accesskey="&file.accesskey;">
<menupopup id="fileMenuPopup">
<menuitem id="addBuddyMenuItem" label="&addBuddy;" oncommand="menus.addBuddy()"/>
<menuitem id="joinChatMenuItem" label="&joinChat;" oncommand="menus.joinChat()"/>
@ -71,10 +80,10 @@
<menuitem id="getAwayMenuItem" label="&getAway;" oncommand="menus.getAway()"/>
</menupopup>
</menu>
<menu label="&tools.menu;" id="toolsMenu">
<menu label="&tools.menu;" id="toolsMenu" accesskey="&tools.accesskey;">
<menupopup id="toolsMenuPopup">
<menuitem id="soundsMenuItem" label="&sounds;" oncommand="menus.toggleSounds()" type="checkbox"/>
<menuitem id="accountsMenuItem" label="&accountManager;" oncommand="menus.accounts()"/>
<menuitem id="accountsMenuItem" label="&accountManager;" command="accountmanager" key="accountsetup" accesskey="&account.accesskey;"/>
<menuseparator/>
<menuitem id="addonsMenuItem" label="&addonManager;" oncommand="menus.addons()"/>
</menupopup>

Просмотреть файл

@ -1,13 +1,18 @@
<!ENTITY convWindow.title "Conversations - &brandShortName;">
<!ENTITY blist.title "Buddy list - &brandShortName;">
<!ENTITY file.menu "File">
<!ENTITY file.accesskey "F">
<!ENTITY addBuddy "Add Buddy">
<!ENTITY joinChat "Join Chat">
<!ENTITY getAway "Get Away">
<!ENTITY tools.menu "Tools">
<!ENTITY tools.accesskey "T">
<!ENTITY accountManager "Accounts">
<!ENTITY account.commandkey "a">
<!ENTITY account.accesskey "A">
<!ENTITY sounds "Sounds">
<!ENTITY addonManager "Add-ons">
<!ENTITY help.menu "?">
<!ENTITY about.menu "About &brandShortName;">
<!ENTITY about.accesskey "A">
<!ENTITY conversation.contextMenu.close "Close Tab">