Skip to content

Commit cc9b10e

Browse files
committed
make deprecation warning clearer
1 parent 2a1a08e commit cc9b10e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/packages/frontend/project/new/file-type-selector.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,15 +374,17 @@ export function FileTypeSelector({
374374

375375
function handleClick(ext) {
376376
Modal.confirm({
377+
width: 500,
377378
icon: <Icon name="exclamation-circle" />,
378379
title: intl.formatMessage({
379380
id: "project.new.file-type-selector.sagews.modal.title",
380-
defaultMessage: "SageMath Worksheets are Deprecated",
381+
defaultMessage:
382+
"SageMath Worksheets are *DEPRECATED* and MAY NOT WORK AT ALL",
381383
}),
382384
content: intl.formatMessage({
383385
id: "project.new.file-type-selector.sagews.modal.content",
384386
defaultMessage:
385-
"Consider creating a Jupyter Notebook and use a SageMath Kernel (use the 'SageMath Notebook' button). You can also convert existing SageMath Worksheets to Jupyter Notebooks by opening the worksheet and clicking 'Jupyter'.",
387+
"Instead, create a Jupyter Notebook and use a SageMath Kernel. You can also convert existing SageMath Worksheets to Jupyter Notebooks by opening the worksheet and clicking 'Jupyter'.",
386388
}),
387389
okText: intl.formatMessage({
388390
id: "project.new.file-type-selector.sagews.modal.ok",

0 commit comments

Comments
 (0)