Skip to content

Commit 1654ebf

Browse files
authored
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20251031193321730 to main (#62702)
1 parent cc05d94 commit 1654ebf

File tree

8 files changed

+276
-159
lines changed

8 files changed

+276
-159
lines changed

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

Lines changed: 39 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,11 @@
267267
</Str>
268268
<Disp Icon="Str" />
269269
</Item>
270-
<Item ItemId=";A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355" ItemType="0" PsrId="306" Leaf="true">
270+
<Item ItemId=";A_const_assertion_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_o_1355" ItemType="0" PsrId="306" Leaf="true">
271271
<Str Cat="Text">
272-
<Val><![CDATA[A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals.]]></Val>
272+
<Val><![CDATA[A 'const' assertion can only be applied to references to enum members, or string, number, boolean, array, or object literals.]]></Val>
273273
<Tgt Cat="Text" Stat="Loc" Orig="New">
274-
<Val><![CDATA['const' 断言只能作用于枚举成员、字符串、数字、布尔值、数组或对象字面量。]]></Val>
274+
<Val><![CDATA["const" 断言只能作用于枚举成员、字符串、数字、布尔值、数组或对象字面量。]]></Val>
275275
</Tgt>
276276
</Str>
277277
<Disp Icon="Str" />
@@ -3369,6 +3369,15 @@
33693369
</Str>
33703370
<Disp Icon="Str" />
33713371
</Item>
3372+
<Item ItemId=";Cannot_find_module_or_type_declarations_for_side_effect_import_of_0_2882" ItemType="0" PsrId="306" Leaf="true">
3373+
<Str Cat="Text">
3374+
<Val><![CDATA[Cannot find module or type declarations for side-effect import of '{0}'.]]></Val>
3375+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3376+
<Val><![CDATA[找不到“{0}”的副作用导入的模块或类型声明。]]></Val>
3377+
</Tgt>
3378+
</Str>
3379+
<Disp Icon="Str" />
3380+
</Item>
33723381
<Item ItemId=";Cannot_find_name_0_2304" ItemType="0" PsrId="306" Leaf="true">
33733382
<Str Cat="Text">
33743383
<Val><![CDATA[Cannot find name '{0}'.]]></Val>
@@ -17463,6 +17472,15 @@
1746317472
</Str>
1746417473
<Disp Icon="Str" />
1746517474
</Item>
17475+
<Item ItemId=";Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information_5111" ItemType="0" PsrId="306" Leaf="true">
17476+
<Str Cat="Text">
17477+
<Val><![CDATA[Visit https://aka.ms/ts6 for migration information.]]></Val>
17478+
<Tgt Cat="Text" Stat="Loc" Orig="New">
17479+
<Val><![CDATA[请访问 https://aka.ms/ts6 以获取迁移信息。]]></Val>
17480+
</Tgt>
17481+
</Str>
17482+
<Disp Icon="Str" />
17483+
</Item>
1746617484
<Item ItemId=";Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110" ItemType="0" PsrId="306" Leaf="true">
1746717485
<Str Cat="Text">
1746817486
<Val><![CDATA[Visit https://aka.ms/tsconfig to read more about this file]]></Val>
@@ -18834,6 +18852,15 @@
1883418852
</Str>
1883518853
<Disp Icon="Str" />
1883618854
</Item>
18855+
<Item ItemId=";false_unless_checkJs_is_set_6932" ItemType="0" PsrId="306" Leaf="true">
18856+
<Str Cat="Text">
18857+
<Val><![CDATA[`false`, unless `checkJs` is set]]></Val>
18858+
<Tgt Cat="Text" Stat="Loc" Orig="New">
18859+
<Val><![CDATA[为 `false`,除非设置了 `checkJs`]]></Val>
18860+
</Tgt>
18861+
</Str>
18862+
<Disp Icon="Str" />
18863+
</Item>
1883718864
<Item ItemId=";false_unless_composite_is_set_6906" ItemType="0" PsrId="306" Leaf="true">
1883818865
<Str Cat="Text">
1883918866
<Val><![CDATA[`false`, unless `composite` is set]]></Val>
@@ -18960,24 +18987,6 @@
1896018987
</Str>
1896118988
<Disp Icon="Str" />
1896218989
</Item>
18963-
<Item ItemId=";module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010" ItemType="0" PsrId="306" Leaf="true">
18964-
<Str Cat="Text">
18965-
<Val><![CDATA[module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`]]></Val>
18966-
<Tgt Cat="Text" Stat="Loc" Orig="New">
18967-
<Val><![CDATA[module === 'AMD' 或 'UMD' 或 'System' 或 'ES6',然后 'Classic', 否则为 'Node']]></Val>
18968-
</Tgt>
18969-
</Str>
18970-
<Disp Icon="Str" />
18971-
</Item>
18972-
<Item ItemId=";module_system_or_esModuleInterop_6904" ItemType="0" PsrId="306" Leaf="true">
18973-
<Str Cat="Text">
18974-
<Val><![CDATA[module === "system" or esModuleInterop]]></Val>
18975-
<Tgt Cat="Text" Stat="Loc" Orig="New">
18976-
<Val><![CDATA[module === "system" 或 esModuleInterop]]></Val>
18977-
</Tgt>
18978-
</Str>
18979-
<Disp Icon="Str" />
18980-
</Item>
1898118990
<Item ItemId=";new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009" ItemType="0" PsrId="306" Leaf="true">
1898218991
<Str Cat="Text">
1898318992
<Val><![CDATA['new' expression, whose target lacks a construct signature, implicitly has an 'any' type.]]></Val>
@@ -18996,6 +19005,15 @@
1899619005
</Str>
1899719006
<Disp Icon="Str" />
1899819007
</Item>
19008+
<Item ItemId=";nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler_69010" ItemType="0" PsrId="306" Leaf="true">
19009+
<Str Cat="Text">
19010+
<Val><![CDATA[`nodenext` if `module` is `nodenext`; `node16` if `module` is `node16` or `node18`; otherwise, `bundler`.]]></Val>
19011+
<Tgt Cat="Text" Stat="Loc" Orig="New">
19012+
<Val><![CDATA[如果 `module` 是 `nodenext`,则为 `nodenext`;如果 `module` 是 `node16` 或 `node18`,则为 `node16`;否则为 `bundler`。]]></Val>
19013+
</Tgt>
19014+
</Str>
19015+
<Disp Icon="Str" />
19016+
</Item>
1899919017
<Item ItemId=";one_of_Colon_6900" ItemType="0" PsrId="306" Leaf="true">
1900019018
<Str Cat="Text">
1900119019
<Val><![CDATA[one of:]]></Val>

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

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17472,6 +17472,15 @@
1747217472
</Str>
1747317473
<Disp Icon="Str" />
1747417474
</Item>
17475+
<Item ItemId=";Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information_5111" ItemType="0" PsrId="306" Leaf="true">
17476+
<Str Cat="Text">
17477+
<Val><![CDATA[Visit https://aka.ms/ts6 for migration information.]]></Val>
17478+
<Tgt Cat="Text" Stat="Loc" Orig="New">
17479+
<Val><![CDATA[請造訪 https://aka.ms/ts6 以取得移轉資訊。]]></Val>
17480+
</Tgt>
17481+
</Str>
17482+
<Disp Icon="Str" />
17483+
</Item>
1747517484
<Item ItemId=";Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110" ItemType="0" PsrId="306" Leaf="true">
1747617485
<Str Cat="Text">
1747717486
<Val><![CDATA[Visit https://aka.ms/tsconfig to read more about this file]]></Val>
@@ -18843,6 +18852,15 @@
1884318852
</Str>
1884418853
<Disp Icon="Str" />
1884518854
</Item>
18855+
<Item ItemId=";false_unless_checkJs_is_set_6932" ItemType="0" PsrId="306" Leaf="true">
18856+
<Str Cat="Text">
18857+
<Val><![CDATA[`false`, unless `checkJs` is set]]></Val>
18858+
<Tgt Cat="Text" Stat="Loc" Orig="New">
18859+
<Val><![CDATA['false',除非已設定 'checkJs']]></Val>
18860+
</Tgt>
18861+
</Str>
18862+
<Disp Icon="Str" />
18863+
</Item>
1884618864
<Item ItemId=";false_unless_composite_is_set_6906" ItemType="0" PsrId="306" Leaf="true">
1884718865
<Str Cat="Text">
1884818866
<Val><![CDATA[`false`, unless `composite` is set]]></Val>
@@ -18969,24 +18987,6 @@
1896918987
</Str>
1897018988
<Disp Icon="Str" />
1897118989
</Item>
18972-
<Item ItemId=";module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010" ItemType="0" PsrId="306" Leaf="true">
18973-
<Str Cat="Text">
18974-
<Val><![CDATA[module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`]]></Val>
18975-
<Tgt Cat="Text" Stat="Loc" Orig="New">
18976-
<Val><![CDATA[模組 === `AMD` 或 `UMD` 或 `System` 或 `ES6`,則為 `Classic`,否則為 `Node`]]></Val>
18977-
</Tgt>
18978-
</Str>
18979-
<Disp Icon="Str" />
18980-
</Item>
18981-
<Item ItemId=";module_system_or_esModuleInterop_6904" ItemType="0" PsrId="306" Leaf="true">
18982-
<Str Cat="Text">
18983-
<Val><![CDATA[module === "system" or esModuleInterop]]></Val>
18984-
<Tgt Cat="Text" Stat="Loc" Orig="New">
18985-
<Val><![CDATA[模組 === "system" 或 esModuleInterop]]></Val>
18986-
</Tgt>
18987-
</Str>
18988-
<Disp Icon="Str" />
18989-
</Item>
1899018990
<Item ItemId=";new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009" ItemType="0" PsrId="306" Leaf="true">
1899118991
<Str Cat="Text">
1899218992
<Val><![CDATA['new' expression, whose target lacks a construct signature, implicitly has an 'any' type.]]></Val>
@@ -19005,6 +19005,15 @@
1900519005
</Str>
1900619006
<Disp Icon="Str" />
1900719007
</Item>
19008+
<Item ItemId=";nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler_69010" ItemType="0" PsrId="306" Leaf="true">
19009+
<Str Cat="Text">
19010+
<Val><![CDATA[`nodenext` if `module` is `nodenext`; `node16` if `module` is `node16` or `node18`; otherwise, `bundler`.]]></Val>
19011+
<Tgt Cat="Text" Stat="Loc" Orig="New">
19012+
<Val><![CDATA[如果 `module` 是 `nodenext`,則為 `nodenext`; 如果 `module` 是 `node16` 或 `node18`,則為 `node16`; 否則為 `bundler`。]]></Val>
19013+
</Tgt>
19014+
</Str>
19015+
<Disp Icon="Str" />
19016+
</Item>
1900819017
<Item ItemId=";one_of_Colon_6900" ItemType="0" PsrId="306" Leaf="true">
1900919018
<Str Cat="Text">
1901019019
<Val><![CDATA[one of:]]></Val>

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

Lines changed: 39 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,11 @@
276276
</Str>
277277
<Disp Icon="Str" />
278278
</Item>
279-
<Item ItemId=";A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355" ItemType="0" PsrId="306" Leaf="true">
279+
<Item ItemId=";A_const_assertion_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_o_1355" ItemType="0" PsrId="306" Leaf="true">
280280
<Str Cat="Text">
281-
<Val><![CDATA[A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals.]]></Val>
281+
<Val><![CDATA[A 'const' assertion can only be applied to references to enum members, or string, number, boolean, array, or object literals.]]></Val>
282282
<Tgt Cat="Text" Stat="Loc" Orig="New">
283-
<Val><![CDATA[Kontrolní výrazy const se dají použít jen pro odkazy na členy výčtu, řetězec, číslo, logickou hodnotu, pole nebo literály objektů.]]></Val>
283+
<Val><![CDATA[Kontrolní výraz „const“ lze použít pouze na odkazy na členy výčtu nebo na řetězce, čísla, logické hodnoty, pole nebo objektové literály.]]></Val>
284284
</Tgt>
285285
</Str>
286286
<Disp Icon="Str" />
@@ -3378,6 +3378,15 @@
33783378
</Str>
33793379
<Disp Icon="Str" />
33803380
</Item>
3381+
<Item ItemId=";Cannot_find_module_or_type_declarations_for_side_effect_import_of_0_2882" ItemType="0" PsrId="306" Leaf="true">
3382+
<Str Cat="Text">
3383+
<Val><![CDATA[Cannot find module or type declarations for side-effect import of '{0}'.]]></Val>
3384+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3385+
<Val><![CDATA[Nelze najít deklarace modulu nebo typu pro import vedlejšího efektu {0}.]]></Val>
3386+
</Tgt>
3387+
</Str>
3388+
<Disp Icon="Str" />
3389+
</Item>
33813390
<Item ItemId=";Cannot_find_name_0_2304" ItemType="0" PsrId="306" Leaf="true">
33823391
<Str Cat="Text">
33833392
<Val><![CDATA[Cannot find name '{0}'.]]></Val>
@@ -17472,6 +17481,15 @@
1747217481
</Str>
1747317482
<Disp Icon="Str" />
1747417483
</Item>
17484+
<Item ItemId=";Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information_5111" ItemType="0" PsrId="306" Leaf="true">
17485+
<Str Cat="Text">
17486+
<Val><![CDATA[Visit https://aka.ms/ts6 for migration information.]]></Val>
17487+
<Tgt Cat="Text" Stat="Loc" Orig="New">
17488+
<Val><![CDATA[Informace o migraci najdete na https://aka.ms/ts6.]]></Val>
17489+
</Tgt>
17490+
</Str>
17491+
<Disp Icon="Str" />
17492+
</Item>
1747517493
<Item ItemId=";Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110" ItemType="0" PsrId="306" Leaf="true">
1747617494
<Str Cat="Text">
1747717495
<Val><![CDATA[Visit https://aka.ms/tsconfig to read more about this file]]></Val>
@@ -18843,6 +18861,15 @@
1884318861
</Str>
1884418862
<Disp Icon="Str" />
1884518863
</Item>
18864+
<Item ItemId=";false_unless_checkJs_is_set_6932" ItemType="0" PsrId="306" Leaf="true">
18865+
<Str Cat="Text">
18866+
<Val><![CDATA[`false`, unless `checkJs` is set]]></Val>
18867+
<Tgt Cat="Text" Stat="Loc" Orig="New">
18868+
<Val><![CDATA[„false“, pokud není nastavené „checkJs“.]]></Val>
18869+
</Tgt>
18870+
</Str>
18871+
<Disp Icon="Str" />
18872+
</Item>
1884618873
<Item ItemId=";false_unless_composite_is_set_6906" ItemType="0" PsrId="306" Leaf="true">
1884718874
<Str Cat="Text">
1884818875
<Val><![CDATA[`false`, unless `composite` is set]]></Val>
@@ -18969,24 +18996,6 @@
1896918996
</Str>
1897018997
<Disp Icon="Str" />
1897118998
</Item>
18972-
<Item ItemId=";module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010" ItemType="0" PsrId="306" Leaf="true">
18973-
<Str Cat="Text">
18974-
<Val><![CDATA[module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`]]></Val>
18975-
<Tgt Cat="Text" Stat="Loc" Orig="New">
18976-
<Val><![CDATA[module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`]]></Val>
18977-
</Tgt>
18978-
</Str>
18979-
<Disp Icon="Str" />
18980-
</Item>
18981-
<Item ItemId=";module_system_or_esModuleInterop_6904" ItemType="0" PsrId="306" Leaf="true">
18982-
<Str Cat="Text">
18983-
<Val><![CDATA[module === "system" or esModuleInterop]]></Val>
18984-
<Tgt Cat="Text" Stat="Loc" Orig="New">
18985-
<Val><![CDATA[module === "system" or esModuleInterop]]></Val>
18986-
</Tgt>
18987-
</Str>
18988-
<Disp Icon="Str" />
18989-
</Item>
1899018999
<Item ItemId=";new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009" ItemType="0" PsrId="306" Leaf="true">
1899119000
<Str Cat="Text">
1899219001
<Val><![CDATA['new' expression, whose target lacks a construct signature, implicitly has an 'any' type.]]></Val>
@@ -19005,6 +19014,15 @@
1900519014
</Str>
1900619015
<Disp Icon="Str" />
1900719016
</Item>
19017+
<Item ItemId=";nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler_69010" ItemType="0" PsrId="306" Leaf="true">
19018+
<Str Cat="Text">
19019+
<Val><![CDATA[`nodenext` if `module` is `nodenext`; `node16` if `module` is `node16` or `node18`; otherwise, `bundler`.]]></Val>
19020+
<Tgt Cat="Text" Stat="Loc" Orig="New">
19021+
<Val><![CDATA[`nodenext`, pokud je `module` nastaveno na `nodenext`; `node16`, pokud je `module` nastaveno na `node16` nebo `node18`; jinak `bundler`.]]></Val>
19022+
</Tgt>
19023+
</Str>
19024+
<Disp Icon="Str" />
19025+
</Item>
1900819026
<Item ItemId=";one_of_Colon_6900" ItemType="0" PsrId="306" Leaf="true">
1900919027
<Str Cat="Text">
1901019028
<Val><![CDATA[one of:]]></Val>

0 commit comments

Comments
 (0)