Skip to content

Commit eca1b45

Browse files
authored
LEGO: Merge pull request 48909
LEGO: Merge pull request 48909
1 parent 7ae0988 commit eca1b45

File tree

8 files changed

+144
-168
lines changed

8 files changed

+144
-168
lines changed

Diff for: src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl

+18-21
Original file line numberDiff line numberDiff line change
@@ -5349,18 +5349,6 @@
53495349
</Str>
53505350
<Disp Icon="Str" />
53515351
</Item>
5352-
<Item ItemId=";Dynamic_import_cannot_have_type_arguments_1326" ItemType="0" PsrId="306" Leaf="true">
5353-
<Str Cat="Text">
5354-
<Val><![CDATA[Dynamic import cannot have type arguments.]]></Val>
5355-
<Tgt Cat="Text" Stat="Loc" Orig="New">
5356-
<Val><![CDATA[动态导入不能含有类型参数。]]></Val>
5357-
</Tgt>
5358-
<Prev Cat="Text">
5359-
<Val><![CDATA[Dynamic import cannot have type arguments]]></Val>
5360-
</Prev>
5361-
</Str>
5362-
<Disp Icon="Str" />
5363-
</Item>
53645352
<Item ItemId=";Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036" ItemType="0" PsrId="306" Leaf="true">
53655353
<Str Cat="Text">
53665354
<Val><![CDATA[Dynamic import's specifier must be of type 'string', but here has type '{0}'.]]></Val>
@@ -5997,6 +5985,15 @@
59975985
</Str>
59985986
<Disp Icon="Str" />
59995987
</Item>
5988+
<Item ItemId=";Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810" ItemType="0" PsrId="306" Leaf="true">
5989+
<Str Cat="Text">
5990+
<Val><![CDATA[Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.]]></Val>
5991+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5992+
<Val><![CDATA[应为 1 个参数,但得到 0。“new Promise()” 需要 JSDoc 提示才能生成可在没有参数的情况下调用的 “resolve”。]]></Val>
5993+
</Tgt>
5994+
</Str>
5995+
<Disp Icon="Str" />
5996+
</Item>
60005997
<Item ItemId=";Expected_at_least_0_arguments_but_got_1_2555" ItemType="0" PsrId="306" Leaf="true">
60015998
<Str Cat="Text">
60025999
<Val><![CDATA[Expected at least {0} arguments, but got {1}.]]></Val>
@@ -13740,6 +13737,15 @@
1374013737
</Str>
1374113738
<Disp Icon="Str" />
1374213739
</Item>
13740+
<Item ItemId=";This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326" ItemType="0" PsrId="306" Leaf="true">
13741+
<Str Cat="Text">
13742+
<Val><![CDATA[This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments.]]></Val>
13743+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13744+
<Val><![CDATA[“import” 的这种用法无效。可以写入 “import()” 调用,但它们必须具有括号,并且不能带有类型参数。]]></Val>
13745+
</Tgt>
13746+
</Str>
13747+
<Disp Icon="Str" />
13748+
</Item>
1374313749
<Item ItemId=";Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_o_1378" ItemType="0" PsrId="306" Leaf="true">
1374413750
<Str Cat="Text">
1374513751
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', or 'nodenext', and the 'target' option is set to 'es2017' or higher.]]></Val>
@@ -13977,15 +13983,6 @@
1397713983
</Str>
1397813984
<Disp Icon="Str" />
1397913985
</Item>
13980-
<Item ItemId=";Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569" ItemType="0" PsrId="306" Leaf="true">
13981-
<Str Cat="Text">
13982-
<Val><![CDATA[Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators.]]></Val>
13983-
<Tgt Cat="Text" Stat="Loc" Orig="New">
13984-
<Val><![CDATA[类型“{0}”不是数组类型或字符串类型。请使用编译器选项 "--downlevelIteration" 允许迭代器进行迭代。]]></Val>
13985-
</Tgt>
13986-
</Str>
13987-
<Disp Icon="Str" />
13988-
</Item>
1398913986
<Item ItemId=";Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549" ItemType="0" PsrId="306" Leaf="true">
1399013987
<Str Cat="Text">
1399113988
<Val><![CDATA[Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]5D;()' method that returns an iterator.]]></Val>

Diff for: src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl

+18-21
Original file line numberDiff line numberDiff line change
@@ -5349,18 +5349,6 @@
53495349
</Str>
53505350
<Disp Icon="Str" />
53515351
</Item>
5352-
<Item ItemId=";Dynamic_import_cannot_have_type_arguments_1326" ItemType="0" PsrId="306" Leaf="true">
5353-
<Str Cat="Text">
5354-
<Val><![CDATA[Dynamic import cannot have type arguments.]]></Val>
5355-
<Tgt Cat="Text" Stat="Loc" Orig="New">
5356-
<Val><![CDATA[動態匯入不可有型別引數。]]></Val>
5357-
</Tgt>
5358-
<Prev Cat="Text">
5359-
<Val><![CDATA[Dynamic import cannot have type arguments]]></Val>
5360-
</Prev>
5361-
</Str>
5362-
<Disp Icon="Str" />
5363-
</Item>
53645352
<Item ItemId=";Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036" ItemType="0" PsrId="306" Leaf="true">
53655353
<Str Cat="Text">
53665354
<Val><![CDATA[Dynamic import's specifier must be of type 'string', but here has type '{0}'.]]></Val>
@@ -5997,6 +5985,15 @@
59975985
</Str>
59985986
<Disp Icon="Str" />
59995987
</Item>
5988+
<Item ItemId=";Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810" ItemType="0" PsrId="306" Leaf="true">
5989+
<Str Cat="Text">
5990+
<Val><![CDATA[Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.]]></Val>
5991+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5992+
<Val><![CDATA[需要 1 個引數,但得到 0。'new Promise()' 需要 JSDoc 提示,才能產生可以呼叫而不含引數的 'resolve'。]]></Val>
5993+
</Tgt>
5994+
</Str>
5995+
<Disp Icon="Str" />
5996+
</Item>
60005997
<Item ItemId=";Expected_at_least_0_arguments_but_got_1_2555" ItemType="0" PsrId="306" Leaf="true">
60015998
<Str Cat="Text">
60025999
<Val><![CDATA[Expected at least {0} arguments, but got {1}.]]></Val>
@@ -13740,6 +13737,15 @@
1374013737
</Str>
1374113738
<Disp Icon="Str" />
1374213739
</Item>
13740+
<Item ItemId=";This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326" ItemType="0" PsrId="306" Leaf="true">
13741+
<Str Cat="Text">
13742+
<Val><![CDATA[This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments.]]></Val>
13743+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13744+
<Val><![CDATA[此 'import' 的使用方式無效。'import()' 呼叫可以寫入,但必須有括弧,而且不能有類型引數。]]></Val>
13745+
</Tgt>
13746+
</Str>
13747+
<Disp Icon="Str" />
13748+
</Item>
1374313749
<Item ItemId=";Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_o_1378" ItemType="0" PsrId="306" Leaf="true">
1374413750
<Str Cat="Text">
1374513751
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', or 'nodenext', and the 'target' option is set to 'es2017' or higher.]]></Val>
@@ -13977,15 +13983,6 @@
1397713983
</Str>
1397813984
<Disp Icon="Str" />
1397913985
</Item>
13980-
<Item ItemId=";Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569" ItemType="0" PsrId="306" Leaf="true">
13981-
<Str Cat="Text">
13982-
<Val><![CDATA[Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators.]]></Val>
13983-
<Tgt Cat="Text" Stat="Loc" Orig="New">
13984-
<Val><![CDATA[類型 '{0}' 不是陣列類型或字串類型。請使用編譯器選項 '-downlevelIteration' 允許逐一查看迭代器。]]></Val>
13985-
</Tgt>
13986-
</Str>
13987-
<Disp Icon="Str" />
13988-
</Item>
1398913986
<Item ItemId=";Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549" ItemType="0" PsrId="306" Leaf="true">
1399013987
<Str Cat="Text">
1399113988
<Val><![CDATA[Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]5D;()' method that returns an iterator.]]></Val>

Diff for: src/loc/lcl/csy/diagnosticMessages/diagnosticMessages.generated.json.lcl

+18-21
Original file line numberDiff line numberDiff line change
@@ -5358,18 +5358,6 @@
53585358
</Str>
53595359
<Disp Icon="Str" />
53605360
</Item>
5361-
<Item ItemId=";Dynamic_import_cannot_have_type_arguments_1326" ItemType="0" PsrId="306" Leaf="true">
5362-
<Str Cat="Text">
5363-
<Val><![CDATA[Dynamic import cannot have type arguments.]]></Val>
5364-
<Tgt Cat="Text" Stat="Loc" Orig="New">
5365-
<Val><![CDATA[Dynamický import nemůže mít argumenty typu.]]></Val>
5366-
</Tgt>
5367-
<Prev Cat="Text">
5368-
<Val><![CDATA[Dynamic import cannot have type arguments]]></Val>
5369-
</Prev>
5370-
</Str>
5371-
<Disp Icon="Str" />
5372-
</Item>
53735361
<Item ItemId=";Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036" ItemType="0" PsrId="306" Leaf="true">
53745362
<Str Cat="Text">
53755363
<Val><![CDATA[Dynamic import's specifier must be of type 'string', but here has type '{0}'.]]></Val>
@@ -6006,6 +5994,15 @@
60065994
</Str>
60075995
<Disp Icon="Str" />
60085996
</Item>
5997+
<Item ItemId=";Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810" ItemType="0" PsrId="306" Leaf="true">
5998+
<Str Cat="Text">
5999+
<Val><![CDATA[Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.]]></Val>
6000+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6001+
<Val><![CDATA[Očekával se 1 argument, ale bylo jich 0. New Promise() potřebuje pomocný parametr JSDoc k vytvoření resolve, který se dá volat bez argumentů.]]></Val>
6002+
</Tgt>
6003+
</Str>
6004+
<Disp Icon="Str" />
6005+
</Item>
60096006
<Item ItemId=";Expected_at_least_0_arguments_but_got_1_2555" ItemType="0" PsrId="306" Leaf="true">
60106007
<Str Cat="Text">
60116008
<Val><![CDATA[Expected at least {0} arguments, but got {1}.]]></Val>
@@ -13749,6 +13746,15 @@
1374913746
</Str>
1375013747
<Disp Icon="Str" />
1375113748
</Item>
13749+
<Item ItemId=";This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326" ItemType="0" PsrId="306" Leaf="true">
13750+
<Str Cat="Text">
13751+
<Val><![CDATA[This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments.]]></Val>
13752+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13753+
<Val><![CDATA[Toto použití importu není platné. Volání import() se dají zapsat, ale musí mít závorky a nemůžou mít typové argumenty.]]></Val>
13754+
</Tgt>
13755+
</Str>
13756+
<Disp Icon="Str" />
13757+
</Item>
1375213758
<Item ItemId=";Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_o_1378" ItemType="0" PsrId="306" Leaf="true">
1375313759
<Str Cat="Text">
1375413760
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', or 'nodenext', and the 'target' option is set to 'es2017' or higher.]]></Val>
@@ -13986,15 +13992,6 @@
1398613992
</Str>
1398713993
<Disp Icon="Str" />
1398813994
</Item>
13989-
<Item ItemId=";Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569" ItemType="0" PsrId="306" Leaf="true">
13990-
<Str Cat="Text">
13991-
<Val><![CDATA[Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators.]]></Val>
13992-
<Tgt Cat="Text" Stat="Loc" Orig="New">
13993-
<Val><![CDATA[Typ {0} není typem pole ani typem řetězce. Pokud chcete povolit iteraci iterátorů, použijte možnost kompilátoru --downlevelIteration.]]></Val>
13994-
</Tgt>
13995-
</Str>
13996-
<Disp Icon="Str" />
13997-
</Item>
1399813995
<Item ItemId=";Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549" ItemType="0" PsrId="306" Leaf="true">
1399913996
<Str Cat="Text">
1400013997
<Val><![CDATA[Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]5D;()' method that returns an iterator.]]></Val>

Diff for: src/loc/lcl/fra/diagnosticMessages/diagnosticMessages.generated.json.lcl

+18-21
Original file line numberDiff line numberDiff line change
@@ -5361,18 +5361,6 @@
53615361
</Str>
53625362
<Disp Icon="Str" />
53635363
</Item>
5364-
<Item ItemId=";Dynamic_import_cannot_have_type_arguments_1326" ItemType="0" PsrId="306" Leaf="true">
5365-
<Str Cat="Text">
5366-
<Val><![CDATA[Dynamic import cannot have type arguments.]]></Val>
5367-
<Tgt Cat="Text" Stat="Loc" Orig="New">
5368-
<Val><![CDATA[L'importation dynamique ne peut pas avoir d'arguments de type.]]></Val>
5369-
</Tgt>
5370-
<Prev Cat="Text">
5371-
<Val><![CDATA[Dynamic import cannot have type arguments]]></Val>
5372-
</Prev>
5373-
</Str>
5374-
<Disp Icon="Str" />
5375-
</Item>
53765364
<Item ItemId=";Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036" ItemType="0" PsrId="306" Leaf="true">
53775365
<Str Cat="Text">
53785366
<Val><![CDATA[Dynamic import's specifier must be of type 'string', but here has type '{0}'.]]></Val>
@@ -6009,6 +5997,15 @@
60095997
</Str>
60105998
<Disp Icon="Str" />
60115999
</Item>
6000+
<Item ItemId=";Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810" ItemType="0" PsrId="306" Leaf="true">
6001+
<Str Cat="Text">
6002+
<Val><![CDATA[Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.]]></Val>
6003+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6004+
<Val><![CDATA[1 argument attendu, mais 0 obtenu. 'new Promise()' a besoin d’un indicateur JSDoc pour produire un 'resolve' qui peut être appelé sans arguments.]]></Val>
6005+
</Tgt>
6006+
</Str>
6007+
<Disp Icon="Str" />
6008+
</Item>
60126009
<Item ItemId=";Expected_at_least_0_arguments_but_got_1_2555" ItemType="0" PsrId="306" Leaf="true">
60136010
<Str Cat="Text">
60146011
<Val><![CDATA[Expected at least {0} arguments, but got {1}.]]></Val>
@@ -13752,6 +13749,15 @@
1375213749
</Str>
1375313750
<Disp Icon="Str" />
1375413751
</Item>
13752+
<Item ItemId=";This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326" ItemType="0" PsrId="306" Leaf="true">
13753+
<Str Cat="Text">
13754+
<Val><![CDATA[This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments.]]></Val>
13755+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13756+
<Val><![CDATA[Cette utilisation de « import » n’est pas valide. Les appels « import() » peuvent être écrits, mais ils doivent avoir des parenthèses et ne peuvent pas avoir d’arguments de type.]]></Val>
13757+
</Tgt>
13758+
</Str>
13759+
<Disp Icon="Str" />
13760+
</Item>
1375513761
<Item ItemId=";Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_o_1378" ItemType="0" PsrId="306" Leaf="true">
1375613762
<Str Cat="Text">
1375713763
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', or 'nodenext', and the 'target' option is set to 'es2017' or higher.]]></Val>
@@ -13989,15 +13995,6 @@
1398913995
</Str>
1399013996
<Disp Icon="Str" />
1399113997
</Item>
13992-
<Item ItemId=";Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569" ItemType="0" PsrId="306" Leaf="true">
13993-
<Str Cat="Text">
13994-
<Val><![CDATA[Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators.]]></Val>
13995-
<Tgt Cat="Text" Stat="Loc" Orig="New">
13996-
<Val><![CDATA[Le type '{0}' n’est pas un type de tableau ou un type string. Utilisez l'option du compilateur '--downlevelIteration' pour autoriser l'itération des itérateurs.]]></Val>
13997-
</Tgt>
13998-
</Str>
13999-
<Disp Icon="Str" />
14000-
</Item>
1400113998
<Item ItemId=";Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549" ItemType="0" PsrId="306" Leaf="true">
1400213999
<Str Cat="Text">
1400314000
<Val><![CDATA[Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]5D;()' method that returns an iterator.]]></Val>

0 commit comments

Comments
 (0)