Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 40 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2125,6 +2125,7 @@
"ansi-to-html": "^0.6.7",
"bootstrap": "^5.0.0",
"bootstrap-less": "^3.3.8",
"clsx": "^2.1.1",
"cross-fetch": "^3.1.5",
"encoding": "^0.1.13",
"fast-deep-equal": "^2.0.1",
Expand Down Expand Up @@ -2163,6 +2164,7 @@
"strip-comments": "^2.0.1",
"styled-components": "^5.2.1",
"svg-to-pdfkit": "^0.1.8",
"tailwind-merge": "^3.3.1",
"tcp-port-used": "^1.0.1",
"tmp": "^0.2.4",
"url-parse": "^1.5.10",
Expand Down
7 changes: 7 additions & 0 deletions src/messageTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,13 @@ export type LocalizedMessages = {
selectedImageListLabel: string;
selectedImageLabel: string;
dvDeprecationWarning: string;
dataframeRowsColumns: string;
dataframePerPage: string;
dataframePreviousPage: string;
dataframeNextPage: string;
dataframePageOf: string;
dataframeCopyTable: string;
dataframeExportTable: string;
};
// Map all messages to specific payloads
export class IInteractiveWindowMapping {
Expand Down
7 changes: 7 additions & 0 deletions src/platform/common/utils/localize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,13 @@ export namespace WebViews {
export const dvDeprecationWarning = l10n.t(
'The built-in data viewer will be deprecated and no longer usable starting with Visual Studio Code 1.92. Please <a href="command:workbench.extensions.search?%22@tag:jupyterVariableViewers%22">install other data viewing extensions</a> to continue inspecting data'
);
export const dataframeRowsColumns = l10n.t('{0} rows, {1} columns');
export const dataframePerPage = l10n.t('/ page');
export const dataframePreviousPage = l10n.t('Previous page');
export const dataframeNextPage = l10n.t('Next page');
export const dataframePageOf = l10n.t('Page {0} of {1}');
export const dataframeCopyTable = l10n.t('Copy table');
export const dataframeExportTable = l10n.t('Export table');
}

export namespace Deprecated {
Expand Down
9 changes: 8 additions & 1 deletion src/platform/webviews/webviewHost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,14 @@ export abstract class WebviewHost<IMapping> implements IDisposable {
deletePlot: localize.WebViews.deletePlot,
selectedImageListLabel: localize.WebViews.selectedImageListLabel,
selectedImageLabel: localize.WebViews.selectedImageLabel,
dvDeprecationWarning: localize.WebViews.dvDeprecationWarning
dvDeprecationWarning: localize.WebViews.dvDeprecationWarning,
dataframeRowsColumns: localize.WebViews.dataframeRowsColumns,
dataframePerPage: localize.WebViews.dataframePerPage,
dataframePreviousPage: localize.WebViews.dataframePreviousPage,
dataframeNextPage: localize.WebViews.dataframeNextPage,
dataframePageOf: localize.WebViews.dataframePageOf,
dataframeCopyTable: localize.WebViews.dataframeCopyTable,
dataframeExportTable: localize.WebViews.dataframeExportTable
};
this.postMessageInternal(SharedMessages.LocInit, JSON.stringify(locStrings)).catch(noop);
}
Expand Down
Loading