Carbon Edit Strings moved to Sql Folder (#15884)

* added first strings

* added more localized files

* translated all strings in vscode

* added exported strings to editStrings

* updated files

* more changes

* moved to base
This commit is contained in:
Alex Ma
2021-06-25 15:08:29 -07:00
committed by GitHub
parent 768bf47aec
commit 7c6368b4b6
15 changed files with 103 additions and 44 deletions

View File

@@ -16,6 +16,7 @@ import { DisposableStore } from 'vs/base/common/lifecycle';
import { ThemeIcon } from 'vs/platform/theme/common/themeService';
import { Iterable } from 'vs/base/common/iterator';
import { index } from 'vs/base/common/arrays';
import * as locConstants from 'sql/base/common/locConstants'; // {{SQL CARBON EDIT}}
interface IAPIMenu {
readonly key: string;
@@ -230,47 +231,47 @@ const apiMenus: IAPIMenu[] = [
{
key: 'dashboard/toolbar',
id: MenuId.DashboardToolbar,
description: localize('dashboard.toolbar', "The dashboard toolbar action menu")
description: locConstants.menusExtensionPointDashboardToolbar
},
{
key: 'notebook/cell/title',
id: MenuId.NotebookCellTitle,
description: localize('notebook.cellTitle', "The notebook cell title menu")
description: locConstants.menusExtensionPointNotebookCellTitle
},
{
key: 'notebooks/title',
id: MenuId.NotebookTitle,
description: localize('notebook.title', "The notebook title menu")
description: locConstants.menusExtensionPointNotebookTitle
},
{
key: 'notebook/toolbar',
id: MenuId.NotebookToolbar,
description: localize('notebook.toolbar', "The notebook toolbar menu")
description: locConstants.menusExtensionPointNotebookToolbar
},
{
key: 'dataExplorer/action',
id: MenuId.DataExplorerAction,
description: localize('dataExplorer.action', "The dataexplorer view container title action menu")
description: locConstants.menusExtensionPointDataExplorerAction
},
{
key: 'dataExplorer/context',
id: MenuId.DataExplorerContext,
description: localize('dataExplorer.context', "The dataexplorer item context menu")
description: locConstants.menusExtensionPointDataExplorerContext
},
{
key: 'objectExplorer/item/context',
id: MenuId.ObjectExplorerItemContext,
description: localize('objectExplorer.context', "The object explorer item context menu")
description: locConstants.menusExtensionPointObjectExplorerContext
},
{
key: 'connectionDialog/browseTree',
id: MenuId.ConnectionDialogBrowseTreeContext,
description: localize('connectionDialogBrowseTree.context', "The connection dialog's browse tree context menu")
description: locConstants.menusExtensionPointConnectionDialogBrowseTreeContext
},
{
key: 'dataGrid/item/context',
id: MenuId.DataGridItemContext,
description: localize('dataGrid.context', "The data grid item context menu")
description: locConstants.menusExtensionPointDataGridContext
}
// {{SQL CARBON EDIT}} end menu entries
];