Skip to content

Commit 9f12799

Browse files
authored
LEGO: Merge pull request 46002
LEGO: Merge pull request 46002
1 parent 6495544 commit 9f12799

File tree

2 files changed

+90
-36
lines changed

2 files changed

+90
-36
lines changed

src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl

Lines changed: 45 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2241,6 +2241,15 @@
22412241
</Str>
22422242
<Disp Icon="Str" />
22432243
</Item>
2244+
<Item ItemId=";Argument_of_dynamic_import_cannot_be_spread_element_1325" ItemType="0" PsrId="306" Leaf="true">
2245+
<Str Cat="Text">
2246+
<Val><![CDATA[Argument of dynamic import cannot be spread element.]]></Val>
2247+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2248+
<Val><![CDATA[动态导入的参数不能是扩展元素。]]></Val>
2249+
</Tgt>
2250+
</Str>
2251+
<Disp Icon="Str" />
2252+
</Item>
22442253
<Item ItemId=";Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345" ItemType="0" PsrId="306" Leaf="true">
22452254
<Str Cat="Text">
22462255
<Val><![CDATA[Argument of type '{0}' is not assignable to parameter of type '{1}'.]]></Val>
@@ -5178,15 +5187,6 @@
51785187
</Str>
51795188
<Disp Icon="Str" />
51805189
</Item>
5181-
<Item ItemId=";Dynamic_import_must_have_one_specifier_as_an_argument_1324" ItemType="0" PsrId="306" Leaf="true">
5182-
<Str Cat="Text">
5183-
<Val><![CDATA[Dynamic import must have one specifier as an argument.]]></Val>
5184-
<Tgt Cat="Text" Stat="Loc" Orig="New">
5185-
<Val><![CDATA[动态导入必须具有一个说明符作为参数。]]></Val>
5186-
</Tgt>
5187-
</Str>
5188-
<Disp Icon="Str" />
5189-
</Item>
51905190
<Item ItemId=";Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036" ItemType="0" PsrId="306" Leaf="true">
51915191
<Str Cat="Text">
51925192
<Val><![CDATA[Dynamic import's specifier must be of type 'string', but here has type '{0}'.]]></Val>
@@ -5205,6 +5205,24 @@
52055205
</Str>
52065206
<Disp Icon="Str" />
52075207
</Item>
5208+
<Item ItemId=";Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450" ItemType="0" PsrId="306" Leaf="true">
5209+
<Str Cat="Text">
5210+
<Val><![CDATA[Dynamic imports can only accept a module specifier and an optional assertion as arguments]]></Val>
5211+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5212+
<Val><![CDATA[动态导入只能接受模块说明符和可选断言作为参数]]></Val>
5213+
</Tgt>
5214+
</Str>
5215+
<Disp Icon="Str" />
5216+
</Item>
5217+
<Item ItemId=";Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_1324" ItemType="0" PsrId="306" Leaf="true">
5218+
<Str Cat="Text">
5219+
<Val><![CDATA[Dynamic imports only support a second argument when the '--module' option is set to 'esnext'.]]></Val>
5220+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5221+
<Val><![CDATA[只有在 "--module" 选项设置为 "esnext" 时,动态导入才支持第二个参数。]]></Val>
5222+
</Tgt>
5223+
</Str>
5224+
<Disp Icon="Str" />
5225+
</Item>
52085226
<Item ItemId=";Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762" ItemType="0" PsrId="306" Leaf="true">
52095227
<Str Cat="Text">
52105228
<Val><![CDATA[Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other.]]></Val>
@@ -7014,6 +7032,24 @@
70147032
</Str>
70157033
<Disp Icon="Str" />
70167034
</Item>
7035+
<Item ItemId=";Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_2821" ItemType="0" PsrId="306" Leaf="true">
7036+
<Str Cat="Text">
7037+
<Val><![CDATA[Import assertions are only supported when the '--module' option is set to 'esnext'.]]></Val>
7038+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7039+
<Val><![CDATA[只有在 "--module" 选项设置为 "esnext" 时,才支持导入断言。]]></Val>
7040+
</Tgt>
7041+
</Str>
7042+
<Disp Icon="Str" />
7043+
</Item>
7044+
<Item ItemId=";Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822" ItemType="0" PsrId="306" Leaf="true">
7045+
<Str Cat="Text">
7046+
<Val><![CDATA[Import assertions cannot be used with type-only imports or exports.]]></Val>
7047+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7048+
<Val><![CDATA[导入断言不能用于仅类型导入或导出。]]></Val>
7049+
</Tgt>
7050+
</Str>
7051+
<Disp Icon="Str" />
7052+
</Item>
70177053
<Item ItemId=";Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202" ItemType="0" PsrId="306" Leaf="true">
70187054
<Str Cat="Text">
70197055
<Val><![CDATA[Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.]]></Val>
@@ -11505,15 +11541,6 @@
1150511541
</Str>
1150611542
<Disp Icon="Str" />
1150711543
</Item>
11508-
<Item ItemId=";Specifier_of_dynamic_import_cannot_be_spread_element_1325" ItemType="0" PsrId="306" Leaf="true">
11509-
<Str Cat="Text">
11510-
<Val><![CDATA[Specifier of dynamic import cannot be spread element.]]></Val>
11511-
<Tgt Cat="Text" Stat="Loc" Orig="New">
11512-
<Val><![CDATA[动态导入的说明符不能是扩散元素。]]></Val>
11513-
</Tgt>
11514-
</Str>
11515-
<Disp Icon="Str" />
11516-
</Item>
1151711544
<Item ItemId=";Specify_ECMAScript_target_version_6015" ItemType="0" PsrId="306" Leaf="true">
1151811545
<Str Cat="Text">
1151911546
<Val><![CDATA[Specify ECMAScript target version.]]></Val>

src/loc/lcl/esn/diagnosticMessages/diagnosticMessages.generated.json.lcl

Lines changed: 45 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,6 +2253,15 @@
22532253
</Str>
22542254
<Disp Icon="Str" />
22552255
</Item>
2256+
<Item ItemId=";Argument_of_dynamic_import_cannot_be_spread_element_1325" ItemType="0" PsrId="306" Leaf="true">
2257+
<Str Cat="Text">
2258+
<Val><![CDATA[Argument of dynamic import cannot be spread element.]]></Val>
2259+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2260+
<Val><![CDATA[El argumento de importación dinámica no puede ser un elemento de propagación.]]></Val>
2261+
</Tgt>
2262+
</Str>
2263+
<Disp Icon="Str" />
2264+
</Item>
22562265
<Item ItemId=";Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345" ItemType="0" PsrId="306" Leaf="true">
22572266
<Str Cat="Text">
22582267
<Val><![CDATA[Argument of type '{0}' is not assignable to parameter of type '{1}'.]]></Val>
@@ -5190,15 +5199,6 @@
51905199
</Str>
51915200
<Disp Icon="Str" />
51925201
</Item>
5193-
<Item ItemId=";Dynamic_import_must_have_one_specifier_as_an_argument_1324" ItemType="0" PsrId="306" Leaf="true">
5194-
<Str Cat="Text">
5195-
<Val><![CDATA[Dynamic import must have one specifier as an argument.]]></Val>
5196-
<Tgt Cat="Text" Stat="Loc" Orig="New">
5197-
<Val><![CDATA[La importación dinámica debe tener un especificador como argumento.]]></Val>
5198-
</Tgt>
5199-
</Str>
5200-
<Disp Icon="Str" />
5201-
</Item>
52025202
<Item ItemId=";Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036" ItemType="0" PsrId="306" Leaf="true">
52035203
<Str Cat="Text">
52045204
<Val><![CDATA[Dynamic import's specifier must be of type 'string', but here has type '{0}'.]]></Val>
@@ -5217,6 +5217,24 @@
52175217
</Str>
52185218
<Disp Icon="Str" />
52195219
</Item>
5220+
<Item ItemId=";Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450" ItemType="0" PsrId="306" Leaf="true">
5221+
<Str Cat="Text">
5222+
<Val><![CDATA[Dynamic imports can only accept a module specifier and an optional assertion as arguments]]></Val>
5223+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5224+
<Val><![CDATA[Las importaciones dinámicas solo pueden aceptar un especificador de módulo y una aserción opcional como argumentos]]></Val>
5225+
</Tgt>
5226+
</Str>
5227+
<Disp Icon="Str" />
5228+
</Item>
5229+
<Item ItemId=";Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_1324" ItemType="0" PsrId="306" Leaf="true">
5230+
<Str Cat="Text">
5231+
<Val><![CDATA[Dynamic imports only support a second argument when the '--module' option is set to 'esnext'.]]></Val>
5232+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5233+
<Val><![CDATA[Las importaciones dinámicas solo admiten un segundo argumento cuando la opción “--módulo” está establecida en ”esnext”.]]></Val>
5234+
</Tgt>
5235+
</Str>
5236+
<Disp Icon="Str" />
5237+
</Item>
52205238
<Item ItemId=";Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762" ItemType="0" PsrId="306" Leaf="true">
52215239
<Str Cat="Text">
52225240
<Val><![CDATA[Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other.]]></Val>
@@ -7026,6 +7044,24 @@
70267044
</Str>
70277045
<Disp Icon="Str" />
70287046
</Item>
7047+
<Item ItemId=";Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_2821" ItemType="0" PsrId="306" Leaf="true">
7048+
<Str Cat="Text">
7049+
<Val><![CDATA[Import assertions are only supported when the '--module' option is set to 'esnext'.]]></Val>
7050+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7051+
<Val><![CDATA[Las aserciones de importación solo se admiten cuando la opción "--módulo" está establecida en "esnext".]]></Val>
7052+
</Tgt>
7053+
</Str>
7054+
<Disp Icon="Str" />
7055+
</Item>
7056+
<Item ItemId=";Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822" ItemType="0" PsrId="306" Leaf="true">
7057+
<Str Cat="Text">
7058+
<Val><![CDATA[Import assertions cannot be used with type-only imports or exports.]]></Val>
7059+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7060+
<Val><![CDATA[Las aserciones de importación no se pueden usar con importaciones o exportaciones de solo tipo.]]></Val>
7061+
</Tgt>
7062+
</Str>
7063+
<Disp Icon="Str" />
7064+
</Item>
70297065
<Item ItemId=";Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202" ItemType="0" PsrId="306" Leaf="true">
70307066
<Str Cat="Text">
70317067
<Val><![CDATA[Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.]]></Val>
@@ -11517,15 +11553,6 @@
1151711553
</Str>
1151811554
<Disp Icon="Str" />
1151911555
</Item>
11520-
<Item ItemId=";Specifier_of_dynamic_import_cannot_be_spread_element_1325" ItemType="0" PsrId="306" Leaf="true">
11521-
<Str Cat="Text">
11522-
<Val><![CDATA[Specifier of dynamic import cannot be spread element.]]></Val>
11523-
<Tgt Cat="Text" Stat="Loc" Orig="New">
11524-
<Val><![CDATA[El especificador de importación dinámica no puede ser un elemento de propagación.]]></Val>
11525-
</Tgt>
11526-
</Str>
11527-
<Disp Icon="Str" />
11528-
</Item>
1152911556
<Item ItemId=";Specify_ECMAScript_target_version_6015" ItemType="0" PsrId="306" Leaf="true">
1153011557
<Str Cat="Text">
1153111558
<Val><![CDATA[Specify ECMAScript target version.]]></Val>

0 commit comments

Comments
 (0)