Changeset 29


Ignore:
Timestamp:
09/29/12 05:23:26 (6 years ago)
Author:
nhoyt
Message:

Moved Options menuitem labels to ai-sidebar.dtd

Location:
trunk/proto-05/chrome
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/proto-05/chrome/content/ai-commands.xul

    r27 r29  
    5454    <!-- miscellaneous commands --> 
    5555    <command id="ai-cmd-toggle-menu" 
    56       label="Show/Hide Menu" 
     56      label="&ai-menu.toggle.label;" 
    5757      oncommand="ainspector.toggleMenu()"/> 
    5858 
    5959    <command id="ai-cmd-toggle-toolbar" 
    60       label="Show/Hide Toolbar" 
     60      label="&ai-toolbar.toggle.label;" 
    6161      oncommand="ainspector.toggleToolbar()"/> 
    6262 
    6363    <command id="ai-cmd-toggle-sidebar" 
    64       label="Close AInspector Sidebar" 
     64      label="&ai-sidebar.toggle.label;" 
    6565      oncommand="ainspector.closeSidebar()"/> 
    6666  </commandset> 
  • trunk/proto-05/chrome/content/ai-sidebar.js

    r24 r29  
    5656  var menuitem = ainspectorSidebar.getMenuitem(); 
    5757  if (menuitem) menuitem.setAttribute("checked", flag ? "true" : "false"); 
    58  
    59   // alert("sidebar: getMenuState: " + menuitem.getAttribute("checked")); 
    6058}; 
    6159 
  • trunk/proto-05/chrome/locale/en-US/ai-sidebar.dtd

    r28 r29  
    77<!ENTITY ai-menu.toggle.commandkey "K"> 
    88<!ENTITY ai-menu.toggle.modifierskey "shift accel"> 
     9<!ENTITY ai-menu.toggle.label "Show/Hide Main Menu"> 
    910 
    1011<!ENTITY ai-toolbar.title "&ainspector.title; Toolbar"> 
    1112<!ENTITY ai-toolbar.toggle.commandkey "L"> 
    1213<!ENTITY ai-toolbar.toggle.modifierskey "shift accel"> 
     14<!ENTITY ai-toolbar.toggle.label "Show/Hide Toolbar"> 
    1315 
    1416<!ENTITY ai-sidebar.title "&ainspector.title; Sidebar"> 
    1517<!ENTITY ai-sidebar.toggle.commandkey "M"> 
    1618<!ENTITY ai-sidebar.toggle.modifierskey "shift accel"> 
     19<!ENTITY ai-sidebar.toggle.label "Show/Hide Sidebar"> 
    1720 
    1821<!ENTITY ai-sidebar.view.modifierskey "shift accel"> 
Note: See TracChangeset for help on using the changeset viewer.