瀏覽代碼

Revert the “Left Sidebar” language change in the menu.

Jason Grout 7 年之前
父節點
當前提交
f78e52b959
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      docs/source/user/interface.rst
  2. 2 2
      packages/application-extension/src/index.ts

+ 1 - 1
docs/source/user/interface.rst

@@ -55,7 +55,7 @@ and a list of tabs in the main work area:
    :align: center
    :class: jp-screenshot
 
-The left sidebar can be collapsed or expanded by selecting "Show Left Sidebar"
+The left sidebar can be collapsed or expanded by selecting "Show Left Area"
 in the View menu or by clicking on the active sidebar tab:
 
 .. raw:: html

+ 2 - 2
packages/application-extension/src/index.ts

@@ -255,7 +255,7 @@ function addCommands(app: JupyterLab, palette: ICommandPalette): void {
   command = CommandIDs.toggleLeftArea;
   app.commands.addCommand(command, {
     label: args => args['isPalette'] ?
-    'Toggle Left Sidebar' : 'Show Left Sidebar',
+    'Toggle Left Area' : 'Show Left Area',
     execute: () => {
       if (app.shell.leftCollapsed) {
         app.shell.expandLeft();
@@ -272,7 +272,7 @@ function addCommands(app: JupyterLab, palette: ICommandPalette): void {
   command = CommandIDs.toggleRightArea;
   app.commands.addCommand(command, {
     label: args => args['isPalette'] ?
-    'Toggle Right Sidebar' : 'Show Right Sidebar',
+    'Toggle Right Area' : 'Show Right Area',
     execute: () => {
       if (app.shell.rightCollapsed) {
         app.shell.expandRight();