Skip to content

Commit 2f7ecc6

Browse files
authored
LEGO: Merge pull request 49455
LEGO: Merge pull request 49455
1 parent 71106a6 commit 2f7ecc6

File tree

13 files changed

+585
-234
lines changed

13 files changed

+585
-234
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
@@ -2112,6 +2112,15 @@
21122112
</Str>
21132113
<Disp Icon="Str" />
21142114
</Item>
2115+
<Item ItemId=";An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_clas_2840" ItemType="0" PsrId="306" Leaf="true">
2116+
<Str Cat="Text">
2117+
<Val><![CDATA[An interface cannot extend a primitive type like '{0}'; an interface can only extend named types and classes]]></Val>
2118+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2119+
<Val><![CDATA[接口无法扩展基元类型,如“{0}”;接口只能扩展命名类型和类]]></Val>
2120+
</Tgt>
2121+
</Str>
2122+
<Disp Icon="Str" />
2123+
</Item>
21152124
<Item ItemId=";An_interface_property_cannot_have_an_initializer_1246" ItemType="0" PsrId="306" Leaf="true">
21162125
<Str Cat="Text">
21172126
<Val><![CDATA[An interface property cannot have an initializer.]]></Val>
@@ -7815,6 +7824,15 @@
78157824
</Str>
78167825
<Disp Icon="Str" />
78177826
</Item>
7827+
<Item ItemId=";Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209" ItemType="0" PsrId="306" Leaf="true">
7828+
<Str Cat="Text">
7829+
<Val><![CDATA[Invalid optional chain from new expression. Did you mean to call '{0}()'?]]></Val>
7830+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7831+
<Val><![CDATA[新表达式中的可选链无效。是否要调用“{0}()”?]]></Val>
7832+
</Tgt>
7833+
</Str>
7834+
<Disp Icon="Str" />
7835+
</Item>
78187836
<Item ItemId=";Invalid_reference_directive_syntax_1084" ItemType="0" PsrId="306" Leaf="true">
78197837
<Str Cat="Text">
78207838
<Val><![CDATA[Invalid 'reference' directive syntax.]]></Val>
@@ -11142,24 +11160,6 @@
1114211160
</Str>
1114311161
<Disp Icon="Str" />
1114411162
</Item>
11145-
<Item ItemId=";Resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125" ItemType="0" PsrId="306" Leaf="true">
11146-
<Str Cat="Text">
11147-
<Val><![CDATA[Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.]]></Val>
11148-
<Tgt Cat="Text" Stat="Loc" Orig="New">
11149-
<Val><![CDATA[解决模式断言不稳定。使用夜间 TypeScript 消除此错误。请尝试使用 “npm install -D typescript@next” 进行更新。]]></Val>
11150-
</Tgt>
11151-
</Str>
11152-
<Disp Icon="Str" />
11153-
</Item>
11154-
<Item ItemId=";Resolution_modes_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452" ItemType="0" PsrId="306" Leaf="true">
11155-
<Str Cat="Text">
11156-
<Val><![CDATA[Resolution modes are only supported when `moduleResolution` is `node16` or `nodenext`.]]></Val>
11157-
<Tgt Cat="Text" Stat="Loc" Orig="New">
11158-
<Val><![CDATA[仅当 `moduleResolution` 为 `node16` 或 `nodenext` 时才支持解析模式。]]></Val>
11159-
</Tgt>
11160-
</Str>
11161-
<Disp Icon="Str" />
11162-
</Item>
1116311163
<Item ItemId=";Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195" ItemType="0" PsrId="306" Leaf="true">
1116411164
<Str Cat="Text">
1116511165
<Val><![CDATA[Resolve 'keyof' to string valued property names only (no numbers or symbols).]]></Val>
@@ -13416,6 +13416,15 @@
1341613416
</Str>
1341713417
<Disp Icon="Str" />
1341813418
</Item>
13419+
<Item ItemId=";The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_2841" ItemType="0" PsrId="306" Leaf="true">
13420+
<Str Cat="Text">
13421+
<Val><![CDATA[The type of this expression cannot be named without a 'resolution-mode' assertion, which is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.]]></Val>
13422+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13423+
<Val><![CDATA[如果没有“resolution-mode”断言(这是不稳定的功能),则无法命名此表达式的类型。请使用夜间 TypeScript 来消除此错误。请尝试使用“npm install -D typescript@next”进行更新。]]></Val>
13424+
</Tgt>
13425+
</Str>
13426+
<Disp Icon="Str" />
13427+
</Item>
1341913428
<Item ItemId=";The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118" ItemType="0" PsrId="306" Leaf="true">
1342013429
<Str Cat="Text">
1342113430
<Val><![CDATA[The type of this node cannot be serialized because its property '{0}' cannot be serialized.]]></Val>
@@ -16602,6 +16611,24 @@
1660216611
</Str>
1660316612
<Disp Icon="Str" />
1660416613
</Item>
16614+
<Item ItemId=";resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452" ItemType="0" PsrId="306" Leaf="true">
16615+
<Str Cat="Text">
16616+
<Val><![CDATA['resolution-mode' assertions are only supported when `moduleResolution` is `node16` or `nodenext`.]]></Val>
16617+
<Tgt Cat="Text" Stat="Loc" Orig="New">
16618+
<Val><![CDATA[仅当“moduleResolution”为“node16”或“nodenext”时才支持“resolution-mode”断言。]]></Val>
16619+
</Tgt>
16620+
</Str>
16621+
<Disp Icon="Str" />
16622+
</Item>
16623+
<Item ItemId=";resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125" ItemType="0" PsrId="306" Leaf="true">
16624+
<Str Cat="Text">
16625+
<Val><![CDATA['resolution-mode' assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.]]></Val>
16626+
<Tgt Cat="Text" Stat="Loc" Orig="New">
16627+
<Val><![CDATA[“resolution-mode”断言不稳定。请使用夜间 TypeScript 消除此错误。请尝试使用“npm install -D typescript@next”进行更新。]]></Val>
16628+
</Tgt>
16629+
</Str>
16630+
<Disp Icon="Str" />
16631+
</Item>
1660516632
<Item ItemId=";resolution_mode_can_only_be_set_for_type_only_imports_1454" ItemType="0" PsrId="306" Leaf="true">
1660616633
<Str Cat="Text">
1660716634
<Val><![CDATA[`resolution-mode` can only be set for type-only imports.]]></Val>

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

Lines changed: 45 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,6 +2112,15 @@
21122112
</Str>
21132113
<Disp Icon="Str" />
21142114
</Item>
2115+
<Item ItemId=";An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_clas_2840" ItemType="0" PsrId="306" Leaf="true">
2116+
<Str Cat="Text">
2117+
<Val><![CDATA[An interface cannot extend a primitive type like '{0}'; an interface can only extend named types and classes]]></Val>
2118+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2119+
<Val><![CDATA[介面無法延伸基本類型,例如 '{0}';介面只能延伸命名類型和類別]]></Val>
2120+
</Tgt>
2121+
</Str>
2122+
<Disp Icon="Str" />
2123+
</Item>
21152124
<Item ItemId=";An_interface_property_cannot_have_an_initializer_1246" ItemType="0" PsrId="306" Leaf="true">
21162125
<Str Cat="Text">
21172126
<Val><![CDATA[An interface property cannot have an initializer.]]></Val>
@@ -7815,6 +7824,15 @@
78157824
</Str>
78167825
<Disp Icon="Str" />
78177826
</Item>
7827+
<Item ItemId=";Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209" ItemType="0" PsrId="306" Leaf="true">
7828+
<Str Cat="Text">
7829+
<Val><![CDATA[Invalid optional chain from new expression. Did you mean to call '{0}()'?]]></Val>
7830+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7831+
<Val><![CDATA[新運算式的選擇性鏈結無效。您想要呼叫 '{0}()' 嗎?]]></Val>
7832+
</Tgt>
7833+
</Str>
7834+
<Disp Icon="Str" />
7835+
</Item>
78187836
<Item ItemId=";Invalid_reference_directive_syntax_1084" ItemType="0" PsrId="306" Leaf="true">
78197837
<Str Cat="Text">
78207838
<Val><![CDATA[Invalid 'reference' directive syntax.]]></Val>
@@ -11142,24 +11160,6 @@
1114211160
</Str>
1114311161
<Disp Icon="Str" />
1114411162
</Item>
11145-
<Item ItemId=";Resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125" ItemType="0" PsrId="306" Leaf="true">
11146-
<Str Cat="Text">
11147-
<Val><![CDATA[Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.]]></Val>
11148-
<Tgt Cat="Text" Stat="Loc" Orig="New">
11149-
<Val><![CDATA[解析模式宣告不穩定。使用夜間 TypeScript 將此錯誤設為靜音。請嘗試使用 'npm install -D typescript@next' 更新。]]></Val>
11150-
</Tgt>
11151-
</Str>
11152-
<Disp Icon="Str" />
11153-
</Item>
11154-
<Item ItemId=";Resolution_modes_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452" ItemType="0" PsrId="306" Leaf="true">
11155-
<Str Cat="Text">
11156-
<Val><![CDATA[Resolution modes are only supported when `moduleResolution` is `node16` or `nodenext`.]]></Val>
11157-
<Tgt Cat="Text" Stat="Loc" Orig="New">
11158-
<Val><![CDATA[只有當 'moduleResolution' 為 'node16' 或 'nodenext' 時,才支援解析模式。]]></Val>
11159-
</Tgt>
11160-
</Str>
11161-
<Disp Icon="Str" />
11162-
</Item>
1116311163
<Item ItemId=";Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195" ItemType="0" PsrId="306" Leaf="true">
1116411164
<Str Cat="Text">
1116511165
<Val><![CDATA[Resolve 'keyof' to string valued property names only (no numbers or symbols).]]></Val>
@@ -13416,6 +13416,15 @@
1341613416
</Str>
1341713417
<Disp Icon="Str" />
1341813418
</Item>
13419+
<Item ItemId=";The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_2841" ItemType="0" PsrId="306" Leaf="true">
13420+
<Str Cat="Text">
13421+
<Val><![CDATA[The type of this expression cannot be named without a 'resolution-mode' assertion, which is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.]]></Val>
13422+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13423+
<Val><![CDATA[沒有 'resolution-mode' 判斷提示,就無法命名此運算式的類型,這是不穩定的功能。請使用夜間 TypeScript 將此錯誤設為靜音。請嘗試使用 'npm install -D typescript@next' 更新。]]></Val>
13424+
</Tgt>
13425+
</Str>
13426+
<Disp Icon="Str" />
13427+
</Item>
1341913428
<Item ItemId=";The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118" ItemType="0" PsrId="306" Leaf="true">
1342013429
<Str Cat="Text">
1342113430
<Val><![CDATA[The type of this node cannot be serialized because its property '{0}' cannot be serialized.]]></Val>
@@ -16602,6 +16611,24 @@
1660216611
</Str>
1660316612
<Disp Icon="Str" />
1660416613
</Item>
16614+
<Item ItemId=";resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452" ItemType="0" PsrId="306" Leaf="true">
16615+
<Str Cat="Text">
16616+
<Val><![CDATA['resolution-mode' assertions are only supported when `moduleResolution` is `node16` or `nodenext`.]]></Val>
16617+
<Tgt Cat="Text" Stat="Loc" Orig="New">
16618+
<Val><![CDATA[只有當 'moduleResolution' 為 'node16' 或 'nodenext' 時,才支援 'resolution-mode' 判斷提示。]]></Val>
16619+
</Tgt>
16620+
</Str>
16621+
<Disp Icon="Str" />
16622+
</Item>
16623+
<Item ItemId=";resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125" ItemType="0" PsrId="306" Leaf="true">
16624+
<Str Cat="Text">
16625+
<Val><![CDATA['resolution-mode' assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.]]></Val>
16626+
<Tgt Cat="Text" Stat="Loc" Orig="New">
16627+
<Val><![CDATA['resolution-mode' 判斷提示不穩定。使用夜間 TypeScript 將此錯誤設為靜音。請嘗試使用 'npm install -D typescript@next' 更新。]]></Val>
16628+
</Tgt>
16629+
</Str>
16630+
<Disp Icon="Str" />
16631+
</Item>
1660516632
<Item ItemId=";resolution_mode_can_only_be_set_for_type_only_imports_1454" ItemType="0" PsrId="306" Leaf="true">
1660616633
<Str Cat="Text">
1660716634
<Val><![CDATA[`resolution-mode` can only be set for type-only imports.]]></Val>

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

Lines changed: 45 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2121,6 +2121,15 @@
21212121
</Str>
21222122
<Disp Icon="Str" />
21232123
</Item>
2124+
<Item ItemId=";An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_clas_2840" ItemType="0" PsrId="306" Leaf="true">
2125+
<Str Cat="Text">
2126+
<Val><![CDATA[An interface cannot extend a primitive type like '{0}'; an interface can only extend named types and classes]]></Val>
2127+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2128+
<Val><![CDATA[Rozhraní nemůže rozšířit primitivní typ, jako je {0}; rozhraní může rozšířit jenom pojmenované typy a třídy.]]></Val>
2129+
</Tgt>
2130+
</Str>
2131+
<Disp Icon="Str" />
2132+
</Item>
21242133
<Item ItemId=";An_interface_property_cannot_have_an_initializer_1246" ItemType="0" PsrId="306" Leaf="true">
21252134
<Str Cat="Text">
21262135
<Val><![CDATA[An interface property cannot have an initializer.]]></Val>
@@ -7824,6 +7833,15 @@
78247833
</Str>
78257834
<Disp Icon="Str" />
78267835
</Item>
7836+
<Item ItemId=";Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209" ItemType="0" PsrId="306" Leaf="true">
7837+
<Str Cat="Text">
7838+
<Val><![CDATA[Invalid optional chain from new expression. Did you mean to call '{0}()'?]]></Val>
7839+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7840+
<Val><![CDATA[Neplatný volitelný řetěz z nového výrazu. Chtěli jste volat {0}()?]]></Val>
7841+
</Tgt>
7842+
</Str>
7843+
<Disp Icon="Str" />
7844+
</Item>
78277845
<Item ItemId=";Invalid_reference_directive_syntax_1084" ItemType="0" PsrId="306" Leaf="true">
78287846
<Str Cat="Text">
78297847
<Val><![CDATA[Invalid 'reference' directive syntax.]]></Val>
@@ -11151,24 +11169,6 @@
1115111169
</Str>
1115211170
<Disp Icon="Str" />
1115311171
</Item>
11154-
<Item ItemId=";Resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125" ItemType="0" PsrId="306" Leaf="true">
11155-
<Str Cat="Text">
11156-
<Val><![CDATA[Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.]]></Val>
11157-
<Tgt Cat="Text" Stat="Loc" Orig="New">
11158-
<Val><![CDATA[Kontrolní výrazy režimu řešení jsou nestabilní. Ke ztlumení této chyby použijte noční TypeScript. Zkuste provést aktualizaci pomocí příkazu npm install -D typescript@next.]]></Val>
11159-
</Tgt>
11160-
</Str>
11161-
<Disp Icon="Str" />
11162-
</Item>
11163-
<Item ItemId=";Resolution_modes_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452" ItemType="0" PsrId="306" Leaf="true">
11164-
<Str Cat="Text">
11165-
<Val><![CDATA[Resolution modes are only supported when `moduleResolution` is `node16` or `nodenext`.]]></Val>
11166-
<Tgt Cat="Text" Stat="Loc" Orig="New">
11167-
<Val><![CDATA[Režimy řešení se podporují pouze v případě, že hodnota moduleResolution je node16 nebo nodenext.]]></Val>
11168-
</Tgt>
11169-
</Str>
11170-
<Disp Icon="Str" />
11171-
</Item>
1117211172
<Item ItemId=";Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195" ItemType="0" PsrId="306" Leaf="true">
1117311173
<Str Cat="Text">
1117411174
<Val><![CDATA[Resolve 'keyof' to string valued property names only (no numbers or symbols).]]></Val>
@@ -13425,6 +13425,15 @@
1342513425
</Str>
1342613426
<Disp Icon="Str" />
1342713427
</Item>
13428+
<Item ItemId=";The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_2841" ItemType="0" PsrId="306" Leaf="true">
13429+
<Str Cat="Text">
13430+
<Val><![CDATA[The type of this expression cannot be named without a 'resolution-mode' assertion, which is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.]]></Val>
13431+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13432+
<Val><![CDATA[Tento typ výrazu se nedá pojmenovat bez kontrolního výrazu resolution-mode, což je nestabilní funkce. K potlačení této chyby použijte noční vydání TypeScript. Pokuste se o update pomocí „npm install -D typescript@next'.“.]]></Val>
13433+
</Tgt>
13434+
</Str>
13435+
<Disp Icon="Str" />
13436+
</Item>
1342813437
<Item ItemId=";The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118" ItemType="0" PsrId="306" Leaf="true">
1342913438
<Str Cat="Text">
1343013439
<Val><![CDATA[The type of this node cannot be serialized because its property '{0}' cannot be serialized.]]></Val>
@@ -16611,6 +16620,24 @@
1661116620
</Str>
1661216621
<Disp Icon="Str" />
1661316622
</Item>
16623+
<Item ItemId=";resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452" ItemType="0" PsrId="306" Leaf="true">
16624+
<Str Cat="Text">
16625+
<Val><![CDATA['resolution-mode' assertions are only supported when `moduleResolution` is `node16` or `nodenext`.]]></Val>
16626+
<Tgt Cat="Text" Stat="Loc" Orig="New">
16627+
<Val><![CDATA[Kontrolní výrazy resolution-mode se podporují jenom tehdy, kdy je moduleResolution node16 nebo nodenext]]></Val>
16628+
</Tgt>
16629+
</Str>
16630+
<Disp Icon="Str" />
16631+
</Item>
16632+
<Item ItemId=";resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125" ItemType="0" PsrId="306" Leaf="true">
16633+
<Str Cat="Text">
16634+
<Val><![CDATA['resolution-mode' assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.]]></Val>
16635+
<Tgt Cat="Text" Stat="Loc" Orig="New">
16636+
<Val><![CDATA[Kontrolní výrazy resolution-mode jsou nestabilní. K potlačení této chyby použijte noční vydání TypeScript. Pokuste se o update pomocí „npm install -D typescript@next'.“.]]></Val>
16637+
</Tgt>
16638+
</Str>
16639+
<Disp Icon="Str" />
16640+
</Item>
1661416641
<Item ItemId=";resolution_mode_can_only_be_set_for_type_only_imports_1454" ItemType="0" PsrId="306" Leaf="true">
1661516642
<Str Cat="Text">
1661616643
<Val><![CDATA[`resolution-mode` can only be set for type-only imports.]]></Val>

0 commit comments

Comments
 (0)