Skip to content

Commit d86f7c2

Browse files
authored
Update DeprecationPopupService.ts
Update deprecation popup wordings
1 parent 37d0cb0 commit d86f7c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/DeprecationPopupService.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,12 @@ export default class DeprecationPopupService {
159159
const options = ['Dismiss']
160160

161161
if (deprecationType === DeprecationType.NEVER_SUPPORTED) {
162-
message = `This extension does not support MATLAB ${deprecationInfo.matlabVersion}. To make use of the advanced features of the extension or run MATLAB code, you must have MATLAB ${deprecationInfo.minVersion} or later installed.`
162+
message = `This extension does not support MATLAB ${deprecationInfo.matlabVersion}. To use advanced features or run MATLAB code, install MATLAB ${deprecationInfo.minVersion} or later.`
163163
} else if (deprecationType === DeprecationType.DEPRECATED) {
164-
message = `This extension no longer supports MATLAB ${deprecationInfo.matlabVersion}. To make use of the advanced features of the extension or run MATLAB code, you must have MATLAB ${deprecationInfo.minVersion} or later installed.`
164+
message = `This extension no longer supports MATLAB ${deprecationInfo.matlabVersion}. To use advanced features or run MATLAB code, use a previous version of this extension or install MATLAB ${deprecationInfo.minVersion} or later.`
165165
options.push(`Do not show again for ${deprecationInfo.matlabVersion}`)
166166
} else if (deprecationType === DeprecationType.TO_BE_DEPRECATED) {
167-
message = `This extension will no longer support MATLAB ${deprecationInfo.matlabVersion} in a future release. To make use of the advanced features of the extension or run MATLAB code, you will need to have MATLAB ${deprecationInfo.futureMinVersion} or later installed.`
167+
message = `This extension will no longer support MATLAB ${deprecationInfo.matlabVersion} in a future release. To use advanced features or run MATLAB code, you will need to have MATLAB ${deprecationInfo.futureMinVersion} or later installed.`
168168
options.push(`Do not show again for ${deprecationInfo.matlabVersion}`)
169169
}
170170

0 commit comments

Comments
 (0)