Skip to content

Commit 21c1a61

Browse files
authored
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20241220203953707 to main (#60833)
1 parent 56a0825 commit 21c1a61

File tree

8 files changed

+208
-184
lines changed

8 files changed

+208
-184
lines changed

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

+26-23
Original file line numberDiff line numberDiff line change
@@ -5996,12 +5996,12 @@
59965996
</Item>
59975997
<Item ItemId=";Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323" ItemType="0" PsrId="306" Leaf="true">
59985998
<Str Cat="Text">
5999-
<Val><![CDATA[Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'.]]></Val>
5999+
<Val><![CDATA[Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', or 'nodenext'.]]></Val>
60006000
<Tgt Cat="Text" Stat="Loc" Orig="New">
6001-
<Val><![CDATA[只有在 '--module' 旗標設定為 'es2020'、'es2022'、'esnext'、'commonjs'、'amd'、'system'、'umd'、'node16' 或 'nodenext',才支援動態匯入。]]></Val>
6001+
<Val><![CDATA[只有在 '--module' 旗標設定為 'es2020'、'es2022'、'esnext'、'commonjs'、'amd'、'system'、'umd'、'node16'、'node18' 或 'nodenext',才支援動態匯入。]]></Val>
60026002
</Tgt>
60036003
<Prev Cat="Text">
6004-
<Val><![CDATA[Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node12', or 'nodenext'.]]></Val>
6004+
<Val><![CDATA[Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'.]]></Val>
60056005
</Prev>
60066006
</Str>
60076007
<Disp Icon="Str" />
@@ -6015,11 +6015,11 @@
60156015
</Str>
60166016
<Disp Icon="Str" />
60176017
</Item>
6018-
<Item ItemId=";Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodene_1324" ItemType="0" PsrId="306" Leaf="true">
6018+
<Item ItemId=";Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_node18_1324" ItemType="0" PsrId="306" Leaf="true">
60196019
<Str Cat="Text">
6020-
<Val><![CDATA[Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'nodenext', or 'preserve'.]]></Val>
6020+
<Val><![CDATA[Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'node18', 'nodenext', or 'preserve'.]]></Val>
60216021
<Tgt Cat="Text" Stat="Loc" Orig="New">
6022-
<Val><![CDATA[當 '--module' 選項設定為 'esnext'、'node16'、'nodenext' 或 'preserve' 時,動態匯入只支援第二個引數。]]></Val>
6022+
<Val><![CDATA[當 '--module' 選項設定為 'esnext'、'node16'、'node18'、'nodenext' 或 'preserve' 時,動態匯入只支援第二個引數。]]></Val>
60236023
</Tgt>
60246024
</Str>
60256025
<Disp Icon="Str" />
@@ -8229,11 +8229,11 @@
82298229
</Str>
82308230
<Disp Icon="Str" />
82318231
</Item>
8232-
<Item ItemId=";Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2821" ItemType="0" PsrId="306" Leaf="true">
8232+
<Item ItemId=";Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_node18_nodenext_or_pres_2821" ItemType="0" PsrId="306" Leaf="true">
82338233
<Str Cat="Text">
8234-
<Val><![CDATA[Import assertions are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'.]]></Val>
8234+
<Val><![CDATA[Import assertions are only supported when the '--module' option is set to 'esnext', 'node18', 'nodenext', or 'preserve'.]]></Val>
82358235
<Tgt Cat="Text" Stat="Loc" Orig="New">
8236-
<Val><![CDATA[只有當 '--module' 選項設定為 'esnext'、'nodenext' 或 'preserve' 時,才支援匯入判斷提示。]]></Val>
8236+
<Val><![CDATA[只有當 '--module' 選項設定為 'esnext'、'node18'、'nodenext' 或 'preserve' 時,才支援匯入判斷提示。]]></Val>
82378237
</Tgt>
82388238
</Str>
82398239
<Disp Icon="Str" />
@@ -8274,11 +8274,11 @@
82748274
</Str>
82758275
<Disp Icon="Str" />
82768276
</Item>
8277-
<Item ItemId=";Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2823" ItemType="0" PsrId="306" Leaf="true">
8277+
<Item ItemId=";Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_node18_nodenext_or_pres_2823" ItemType="0" PsrId="306" Leaf="true">
82788278
<Str Cat="Text">
8279-
<Val><![CDATA[Import attributes are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'.]]></Val>
8279+
<Val><![CDATA[Import attributes are only supported when the '--module' option is set to 'esnext', 'node18', 'nodenext', or 'preserve'.]]></Val>
82808280
<Tgt Cat="Text" Stat="Loc" Orig="New">
8281-
<Val><![CDATA[只有當 '--module' 選項設定為 'esnext'、'nodenext' 或 'preserve’ 時,才支援匯入屬性。]]></Val>
8281+
<Val><![CDATA[只有當 '--module' 選項設定為 'esnext'、'node18'、'nodenext' 或 'preserve’ 時,才支援匯入屬性。]]></Val>
82828282
</Tgt>
82838283
</Str>
82848284
<Disp Icon="Str" />
@@ -14393,12 +14393,12 @@
1439314393
</Item>
1439414394
<Item ItemId=";The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343" ItemType="0" PsrId="306" Leaf="true">
1439514395
<Str Cat="Text">
14396-
<Val><![CDATA[The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.]]></Val>
14396+
<Val><![CDATA[The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', 'node18', or 'nodenext'.]]></Val>
1439714397
<Tgt Cat="Text" Stat="Loc" Orig="New">
14398-
<Val><![CDATA[只有當 '--module' 選項為 'es2020'、'es2022'、'esnext'、'system'、, 'node16' 或 'nodenext' 時,才允許 'import.meta' 中繼屬性。]]></Val>
14398+
<Val><![CDATA[只有當 '--module' 選項為 'es2020'、'es2022'、'esnext'、'system'、'node16'、'node18' 或 'nodenext' 時,才允許 'import.meta' 中繼屬性。]]></Val>
1439914399
</Tgt>
1440014400
<Prev Cat="Text">
14401-
<Val><![CDATA[The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node12', or 'nodenext'.]]></Val>
14401+
<Val><![CDATA[The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.]]></Val>
1440214402
</Prev>
1440314403
</Str>
1440414404
<Disp Icon="Str" />
@@ -15641,22 +15641,25 @@
1564115641
</Item>
1564215642
<Item ItemId=";Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378" ItemType="0" PsrId="306" Leaf="true">
1564315643
<Str Cat="Text">
15644-
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
15644+
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
1564515645
<Tgt Cat="Text" Stat="Loc" Orig="New">
15646-
<Val><![CDATA[只有在 'module' 選項設為 'es2022'、'esnext'、'system'、'node16' 'nodenext' 或 'preserve',而且 'target' 選項設為 'es2017' 或更高版本時,才允許最上層的 'await' 運算式。]]></Val>
15646+
<Val><![CDATA[只有在 'module' 選項設為 'es2022'、'esnext'、'system'、'node16'、'node18'、'nodenext' 或 'preserve',而且 'target' 選項設為 'es2017' 或更高版本時,才允許最上層的 'await' 運算式。]]></Val>
1564715647
</Tgt>
1564815648
<Prev Cat="Text">
15649-
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.]]></Val>
15649+
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
1565015650
</Prev>
1565115651
</Str>
1565215652
<Disp Icon="Str" />
1565315653
</Item>
1565415654
<Item ItemId=";Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854" ItemType="0" PsrId="306" Leaf="true">
1565515655
<Str Cat="Text">
15656-
<Val><![CDATA[Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
15656+
<Val><![CDATA[Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
1565715657
<Tgt Cat="Text" Stat="Loc" Orig="New">
15658-
<Val><![CDATA[只有當 'module' 選項設為 'es2022'、'esnext'、'system'、'node16'、'nodenext' 或 'preserve',且 'target' 選項設為 'es2017' 或更高版本時,才能在最上層使用 'await using' 陳述式。]]></Val>
15658+
<Val><![CDATA[只有當 'module' 選項設為 'es2022'、'esnext'、'system'、'node16'、'node18'、'nodenext' 或 'preserve',且 'target' 選項設為 'es2017' 或更高版本時,才能在最上層使用 'await using' 陳述式。]]></Val>
1565915659
</Tgt>
15660+
<Prev Cat="Text">
15661+
<Val><![CDATA[Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
15662+
</Prev>
1566015663
</Str>
1566115664
<Disp Icon="Str" />
1566215665
</Item>
@@ -15671,12 +15674,12 @@
1567115674
</Item>
1567215675
<Item ItemId=";Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432" ItemType="0" PsrId="306" Leaf="true">
1567315676
<Str Cat="Text">
15674-
<Val><![CDATA[Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
15677+
<Val><![CDATA[Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
1567515678
<Tgt Cat="Text" Stat="Loc" Orig="New">
15676-
<Val><![CDATA[只有在 'module' 選項設為 'es2022'、'esnext'、'system'、'node16' 'nodenext' 或 'preserve',而且 'target' 選項設為 'es2017' 或更高版本時,才允許最上層的 'for await' 迴圈。]]></Val>
15679+
<Val><![CDATA[只有在 'module' 選項設為 'es2022'、'esnext'、'system'、'node16'、'node18'、'nodenext' 或 'preserve',而且 'target' 選項設為 'es2017' 或更高版本時,才允許最上層的 'for await' 迴圈。]]></Val>
1567715680
</Tgt>
1567815681
<Prev Cat="Text">
15679-
<Val><![CDATA[Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.]]></Val>
15682+
<Val><![CDATA[Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.]]></Val>
1568015683
</Prev>
1568115684
</Str>
1568215685
<Disp Icon="Str" />

0 commit comments

Comments
 (0)