mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 01:04:49 -05:00
* Fix #19959 and #19958: Remove un-localizable messages * Update message * Update diagnostic messages
This commit is contained in:
@@ -16,7 +16,7 @@ verify.completionListContains({ name: "foo", source: "/a" }, "function foo(): vo
|
||||
verify.applyCodeActionFromCompletion("", {
|
||||
name: "foo",
|
||||
source: "/a",
|
||||
description: `Import 'foo' from "./a".`,
|
||||
description: `Import 'foo' from module "./a".`,
|
||||
// TODO: GH#18445
|
||||
newFileContent: `import f_o_o from "./a";
|
||||
import foo from "./a";\r
|
||||
|
||||
@@ -21,7 +21,7 @@ verify.completionListContains({ name: "fooBar", source: "/src/foo-bar" }, "(prop
|
||||
verify.applyCodeActionFromCompletion("1", {
|
||||
name: "fooBar",
|
||||
source: "/src/foo-bar",
|
||||
description: `Import 'fooBar' from "./foo-bar".`,
|
||||
description: `Import 'fooBar' from module "./foo-bar".`,
|
||||
// TODO: GH#18445
|
||||
newFileContent: `import fooBar from "./foo-bar";\r
|
||||
\r
|
||||
|
||||
@@ -17,7 +17,7 @@ verify.completionListContains({ name: "foo", source: "/a" }, "function foo(): vo
|
||||
verify.applyCodeActionFromCompletion("", {
|
||||
name: "foo",
|
||||
source: "/a",
|
||||
description: `Import 'foo' from "./a".`,
|
||||
description: `Import 'foo' from module "./a".`,
|
||||
// TODO: GH#18445
|
||||
newFileContent: `import foo from "./a";\r
|
||||
\r
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
verify.applyCodeActionFromCompletion("", {
|
||||
name: "x",
|
||||
source: "m",
|
||||
description: `Import 'x' from "m".`,
|
||||
description: `Import 'x' from module "m".`,
|
||||
// TODO: GH#18445
|
||||
newFileContent: `import { x } from "m";\r
|
||||
\r
|
||||
|
||||
@@ -22,7 +22,7 @@ verify.completionListContains({ name: "foo", source: "/b" }, "const foo: 1", "",
|
||||
verify.applyCodeActionFromCompletion("", {
|
||||
name: "foo",
|
||||
source: "/b",
|
||||
description: `Import 'foo' from "./b".`,
|
||||
description: `Import 'foo' from module "./b".`,
|
||||
// TODO: GH#18445
|
||||
newFileContent: `import { foo } from "./b";\r
|
||||
\r
|
||||
|
||||
@@ -16,7 +16,7 @@ verify.completionListContains({ name: "foo", source: "/a" }, "function foo(): vo
|
||||
verify.applyCodeActionFromCompletion("", {
|
||||
name: "foo",
|
||||
source: "/a",
|
||||
description: `Import 'foo' from "./a".`,
|
||||
description: `Import 'foo' from module "./a".`,
|
||||
// TODO: GH#18445
|
||||
newFileContent: `import * as a from "./a";
|
||||
import { foo } from "./a";\r
|
||||
|
||||
@@ -28,7 +28,7 @@ verify.not.completionListContains({ name: "foo", source: "/a_reexport_2" }, unde
|
||||
verify.applyCodeActionFromCompletion("", {
|
||||
name: "foo",
|
||||
source: "/a",
|
||||
description: `Import 'foo' from "./a".`,
|
||||
description: `Import 'foo' from module "./a".`,
|
||||
// TODO: GH#18445
|
||||
newFileContent: `import { foo } from "./a";\r
|
||||
\r
|
||||
|
||||
@@ -23,7 +23,7 @@ verify.not.completionListContains({ name: "foo", source: "/foo/index" }, undefin
|
||||
verify.applyCodeActionFromCompletion("", {
|
||||
name: "foo",
|
||||
source: "/foo/lib/foo",
|
||||
description: `Import 'foo' from "./foo".`,
|
||||
description: `Import 'foo' from module "./foo".`,
|
||||
// TODO: GH#18445
|
||||
newFileContent: `import { foo } from "./foo";\r
|
||||
\r
|
||||
|
||||
@@ -22,7 +22,7 @@ verify.completionListContains({ name: "foo", source: "/a" }, "const foo: 0", "",
|
||||
verify.applyCodeActionFromCompletion("b", {
|
||||
name: "foo",
|
||||
source: "/a",
|
||||
description: `Import 'foo' from "./a".`,
|
||||
description: `Import 'foo' from module "./a".`,
|
||||
// TODO: GH#18445
|
||||
newFileContent: `import { foo } from "./a";\r
|
||||
\r
|
||||
@@ -39,7 +39,7 @@ verify.completionListContains({ name: "foo", source: "/a" }, "const foo: 0", "",
|
||||
verify.applyCodeActionFromCompletion("c", {
|
||||
name: "foo",
|
||||
source: "/a",
|
||||
description: `Import 'foo' from "./a".`,
|
||||
description: `Import 'foo' from module "./a".`,
|
||||
// TODO: GH#18445
|
||||
newFileContent: `import { foo } from "./a";\r
|
||||
\r
|
||||
|
||||
Reference in New Issue
Block a user