Skip to content

Commit 32f317c

Browse files
committed
LEGO: check in for master to temporary branch.
1 parent acac035 commit 32f317c

File tree

2 files changed

+123
-36
lines changed

2 files changed

+123
-36
lines changed

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

Lines changed: 72 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2010,6 +2010,15 @@
20102010
</Str>
20112011
<Disp Icon="Str" />
20122012
</Item>
2013+
<Item ItemId=";An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017" ItemType="0" PsrId="306" Leaf="true">
2014+
<Str Cat="Text">
2015+
<Val><![CDATA[An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments.]]></Val>
2016+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2017+
<Val><![CDATA[将 @jsx 杂注与 JSX 片段一起使用时,需要使用 @jsxFrag 杂注。]]></Val>
2018+
</Tgt>
2019+
</Str>
2020+
<Disp Icon="Str" />
2021+
</Item>
20132022
<Item ItemId=";An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118" ItemType="0" PsrId="306" Leaf="true">
20142023
<Str Cat="Text">
20152024
<Val><![CDATA[An object literal cannot have multiple get/set accessors with the same name.]]></Val>
@@ -5574,6 +5583,15 @@
55745583
</Str>
55755584
<Disp Icon="Str" />
55765585
</Item>
5586+
<Item ItemId=";Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262" ItemType="0" PsrId="306" Leaf="true">
5587+
<Str Cat="Text">
5588+
<Val><![CDATA[Identifier expected. '{0}' is a reserved word at the top-level of a module.]]></Val>
5589+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5590+
<Val><![CDATA[应为标识符。“{0}”是模块顶层的预留字。]]></Val>
5591+
</Tgt>
5592+
</Str>
5593+
<Disp Icon="Str" />
5594+
</Item>
55775595
<Item ItemId=";Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212" ItemType="0" PsrId="306" Leaf="true">
55785596
<Str Cat="Text">
55795597
<Val><![CDATA[Identifier expected. '{0}' is a reserved word in strict mode.]]></Val>
@@ -6123,6 +6141,15 @@
61236141
</Str>
61246142
<Disp Icon="Str" />
61256143
</Item>
6144+
<Item ItemId=";Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035" ItemType="0" PsrId="306" Leaf="true">
6145+
<Str Cat="Text">
6146+
<Val><![CDATA[Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name.]]></Val>
6147+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6148+
<Val><![CDATA["jsxFragmentFactory" 的值无效。“{0}”不是有效的标识符或限定名称。]]></Val>
6149+
</Tgt>
6150+
</Str>
6151+
<Disp Icon="Str" />
6152+
</Item>
61266153
<Item ItemId=";Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059" ItemType="0" PsrId="306" Leaf="true">
61276154
<Str Cat="Text">
61286155
<Val><![CDATA[Invalid value for '--reactNamespace'. '{0}' is not a valid identifier.]]></Val>
@@ -6366,24 +6393,6 @@
63666393
</Str>
63676394
<Disp Icon="Str" />
63686395
</Item>
6369-
<Item ItemId=";JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma_17017" ItemType="0" PsrId="306" Leaf="true">
6370-
<Str Cat="Text">
6371-
<Val><![CDATA[JSX fragment is not supported when using an inline JSX factory pragma]]></Val>
6372-
<Tgt Cat="Text" Stat="Loc" Orig="New">
6373-
<Val><![CDATA[使用内联 JSX 工厂 pragma 时,不支持 JSX 片段]]></Val>
6374-
</Tgt>
6375-
</Str>
6376-
<Disp Icon="Str" />
6377-
</Item>
6378-
<Item ItemId=";JSX_fragment_is_not_supported_when_using_jsxFactory_17016" ItemType="0" PsrId="306" Leaf="true">
6379-
<Str Cat="Text">
6380-
<Val><![CDATA[JSX fragment is not supported when using --jsxFactory]]></Val>
6381-
<Tgt Cat="Text" Stat="Loc" Orig="New">
6382-
<Val><![CDATA[使用 --jsxFactory 时不支持 JSX 片段]]></Val>
6383-
</Tgt>
6384-
</Str>
6385-
<Disp Icon="Str" />
6386-
</Item>
63876396
<Item ItemId=";JSX_spread_child_must_be_an_array_type_2609" ItemType="0" PsrId="306" Leaf="true">
63886397
<Str Cat="Text">
63896398
<Val><![CDATA[JSX spread child must be an array type.]]></Val>
@@ -8703,6 +8712,15 @@
87038712
</Str>
87048713
<Disp Icon="Str" />
87058714
</Item>
8715+
<Item ItemId=";Referenced_project_0_may_not_disable_emit_6310" ItemType="0" PsrId="306" Leaf="true">
8716+
<Str Cat="Text">
8717+
<Val><![CDATA[Referenced project '{0}' may not disable emit.]]></Val>
8718+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8719+
<Val><![CDATA[引用的项目“{0}”可能不会禁用发出。]]></Val>
8720+
</Tgt>
8721+
</Str>
8722+
<Disp Icon="Str" />
8723+
</Item>
87068724
<Item ItemId=";Referenced_project_0_must_have_setting_composite_Colon_true_6306" ItemType="0" PsrId="306" Leaf="true">
87078725
<Str Cat="Text">
87088726
<Val><![CDATA[Referenced project '{0}' must have setting "composite": true.]]></Val>
@@ -8784,6 +8802,15 @@
87848802
</Str>
87858803
<Disp Icon="Str" />
87868804
</Item>
8805+
<Item ItemId=";Remove_parentheses_95126" ItemType="0" PsrId="306" Leaf="true">
8806+
<Str Cat="Text">
8807+
<Val><![CDATA[Remove parentheses]]></Val>
8808+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8809+
<Val><![CDATA[删除括号]]></Val>
8810+
</Tgt>
8811+
</Str>
8812+
<Disp Icon="Str" />
8813+
</Item>
87878814
<Item ItemId=";Remove_template_tag_90011" ItemType="0" PsrId="306" Leaf="true">
87888815
<Str Cat="Text">
87898816
<Val><![CDATA[Remove template tag]]></Val>
@@ -9606,6 +9633,15 @@
96069633
</Str>
96079634
<Disp Icon="Str" />
96089635
</Item>
9636+
<Item ItemId=";Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034" ItemType="0" PsrId="306" Leaf="true">
9637+
<Str Cat="Text">
9638+
<Val><![CDATA[Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'.]]></Val>
9639+
<Tgt Cat="Text" Stat="Loc" Orig="New">
9640+
<Val><![CDATA[当指定使用 "jsxFactory" 编译器选项面向 "react" JSX 发出时,指定要使用的 JSX 片段工厂函数,例如 "Fragment"。]]></Val>
9641+
</Tgt>
9642+
</Str>
9643+
<Disp Icon="Str" />
9644+
</Item>
96099645
<Item ItemId=";Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060" ItemType="0" PsrId="306" Leaf="true">
96109646
<Str Cat="Text">
96119647
<Val><![CDATA[Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix).]]></Val>
@@ -10161,6 +10197,15 @@
1016110197
</Str>
1016210198
<Disp Icon="Str" />
1016310199
</Item>
10200+
<Item ItemId=";The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016" ItemType="0" PsrId="306" Leaf="true">
10201+
<Str Cat="Text">
10202+
<Val><![CDATA[The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option.]]></Val>
10203+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10204+
<Val><![CDATA[必须提供 "jsxFragmentFactory" 编译器选项才能将 JSX 片段与 "jsxFactory" 编译器选项一起使用。]]></Val>
10205+
</Tgt>
10206+
</Str>
10207+
<Disp Icon="Str" />
10208+
</Item>
1016410209
<Item ItemId=";The_last_overload_gave_the_following_error_2770" ItemType="0" PsrId="306" Leaf="true">
1016510210
<Str Cat="Text">
1016610211
<Val><![CDATA[The last overload gave the following error.]]></Val>
@@ -12330,6 +12375,15 @@
1233012375
</Str>
1233112376
<Disp Icon="Str" />
1233212377
</Item>
12378+
<Item ItemId=";_0_is_deprecated_6385" ItemType="0" PsrId="306" Leaf="true">
12379+
<Str Cat="Text">
12380+
<Val><![CDATA['{0}' is deprecated]]></Val>
12381+
<Tgt Cat="Text" Stat="Loc" Orig="New">
12382+
<Val><![CDATA[“{0}”已被弃用]]></Val>
12383+
</Tgt>
12384+
</Str>
12385+
<Disp Icon="Str" />
12386+
</Item>
1233312387
<Item ItemId=";_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012" ItemType="0" PsrId="306" Leaf="true">
1233412388
<Str Cat="Text">
1233512389
<Val><![CDATA['{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?]]></Val>

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

Lines changed: 51 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2019,6 +2019,12 @@
20192019
</Str>
20202020
<Disp Icon="Str" />
20212021
</Item>
2022+
<Item ItemId=";An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017" ItemType="0" PsrId="306" Leaf="true">
2023+
<Str Cat="Text">
2024+
<Val><![CDATA[An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments.]]></Val>
2025+
</Str>
2026+
<Disp Icon="Str" />
2027+
</Item>
20222028
<Item ItemId=";An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118" ItemType="0" PsrId="306" Leaf="true">
20232029
<Str Cat="Text">
20242030
<Val><![CDATA[An object literal cannot have multiple get/set accessors with the same name.]]></Val>
@@ -5583,6 +5589,15 @@
55835589
</Str>
55845590
<Disp Icon="Str" />
55855591
</Item>
5592+
<Item ItemId=";Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262" ItemType="0" PsrId="306" Leaf="true">
5593+
<Str Cat="Text">
5594+
<Val><![CDATA[Identifier expected. '{0}' is a reserved word at the top-level of a module.]]></Val>
5595+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5596+
<Val><![CDATA[Očekával se identifikátor. {0} je vyhrazené slovo na nejvyšší úrovni modulu.]]></Val>
5597+
</Tgt>
5598+
</Str>
5599+
<Disp Icon="Str" />
5600+
</Item>
55865601
<Item ItemId=";Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212" ItemType="0" PsrId="306" Leaf="true">
55875602
<Str Cat="Text">
55885603
<Val><![CDATA[Identifier expected. '{0}' is a reserved word in strict mode.]]></Val>
@@ -6132,6 +6147,12 @@
61326147
</Str>
61336148
<Disp Icon="Str" />
61346149
</Item>
6150+
<Item ItemId=";Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035" ItemType="0" PsrId="306" Leaf="true">
6151+
<Str Cat="Text">
6152+
<Val><![CDATA[Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name.]]></Val>
6153+
</Str>
6154+
<Disp Icon="Str" />
6155+
</Item>
61356156
<Item ItemId=";Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059" ItemType="0" PsrId="306" Leaf="true">
61366157
<Str Cat="Text">
61376158
<Val><![CDATA[Invalid value for '--reactNamespace'. '{0}' is not a valid identifier.]]></Val>
@@ -6375,24 +6396,6 @@
63756396
</Str>
63766397
<Disp Icon="Str" />
63776398
</Item>
6378-
<Item ItemId=";JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma_17017" ItemType="0" PsrId="306" Leaf="true">
6379-
<Str Cat="Text">
6380-
<Val><![CDATA[JSX fragment is not supported when using an inline JSX factory pragma]]></Val>
6381-
<Tgt Cat="Text" Stat="Loc" Orig="New">
6382-
<Val><![CDATA[Při použití vložené direktivy pragma objektu pro vytváření JSX se nepodporuje fragment JSX.]]></Val>
6383-
</Tgt>
6384-
</Str>
6385-
<Disp Icon="Str" />
6386-
</Item>
6387-
<Item ItemId=";JSX_fragment_is_not_supported_when_using_jsxFactory_17016" ItemType="0" PsrId="306" Leaf="true">
6388-
<Str Cat="Text">
6389-
<Val><![CDATA[JSX fragment is not supported when using --jsxFactory]]></Val>
6390-
<Tgt Cat="Text" Stat="Loc" Orig="New">
6391-
<Val><![CDATA[Při použití --jsxFactory se nepodporuje fragment JSX.]]></Val>
6392-
</Tgt>
6393-
</Str>
6394-
<Disp Icon="Str" />
6395-
</Item>
63966399
<Item ItemId=";JSX_spread_child_must_be_an_array_type_2609" ItemType="0" PsrId="306" Leaf="true">
63976400
<Str Cat="Text">
63986401
<Val><![CDATA[JSX spread child must be an array type.]]></Val>
@@ -8712,6 +8715,12 @@
87128715
</Str>
87138716
<Disp Icon="Str" />
87148717
</Item>
8718+
<Item ItemId=";Referenced_project_0_may_not_disable_emit_6310" ItemType="0" PsrId="306" Leaf="true">
8719+
<Str Cat="Text">
8720+
<Val><![CDATA[Referenced project '{0}' may not disable emit.]]></Val>
8721+
</Str>
8722+
<Disp Icon="Str" />
8723+
</Item>
87158724
<Item ItemId=";Referenced_project_0_must_have_setting_composite_Colon_true_6306" ItemType="0" PsrId="306" Leaf="true">
87168725
<Str Cat="Text">
87178726
<Val><![CDATA[Referenced project '{0}' must have setting "composite": true.]]></Val>
@@ -8793,6 +8802,12 @@
87938802
</Str>
87948803
<Disp Icon="Str" />
87958804
</Item>
8805+
<Item ItemId=";Remove_parentheses_95126" ItemType="0" PsrId="306" Leaf="true">
8806+
<Str Cat="Text">
8807+
<Val><![CDATA[Remove parentheses]]></Val>
8808+
</Str>
8809+
<Disp Icon="Str" />
8810+
</Item>
87968811
<Item ItemId=";Remove_template_tag_90011" ItemType="0" PsrId="306" Leaf="true">
87978812
<Str Cat="Text">
87988813
<Val><![CDATA[Remove template tag]]></Val>
@@ -9615,6 +9630,12 @@
96159630
</Str>
96169631
<Disp Icon="Str" />
96179632
</Item>
9633+
<Item ItemId=";Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034" ItemType="0" PsrId="306" Leaf="true">
9634+
<Str Cat="Text">
9635+
<Val><![CDATA[Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'.]]></Val>
9636+
</Str>
9637+
<Disp Icon="Str" />
9638+
</Item>
96189639
<Item ItemId=";Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060" ItemType="0" PsrId="306" Leaf="true">
96199640
<Str Cat="Text">
96209641
<Val><![CDATA[Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix).]]></Val>
@@ -10170,6 +10191,12 @@
1017010191
</Str>
1017110192
<Disp Icon="Str" />
1017210193
</Item>
10194+
<Item ItemId=";The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016" ItemType="0" PsrId="306" Leaf="true">
10195+
<Str Cat="Text">
10196+
<Val><![CDATA[The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option.]]></Val>
10197+
</Str>
10198+
<Disp Icon="Str" />
10199+
</Item>
1017310200
<Item ItemId=";The_last_overload_gave_the_following_error_2770" ItemType="0" PsrId="306" Leaf="true">
1017410201
<Str Cat="Text">
1017510202
<Val><![CDATA[The last overload gave the following error.]]></Val>
@@ -12339,6 +12366,12 @@
1233912366
</Str>
1234012367
<Disp Icon="Str" />
1234112368
</Item>
12369+
<Item ItemId=";_0_is_deprecated_6385" ItemType="0" PsrId="306" Leaf="true">
12370+
<Str Cat="Text">
12371+
<Val><![CDATA['{0}' is deprecated]]></Val>
12372+
</Str>
12373+
<Disp Icon="Str" />
12374+
</Item>
1234212375
<Item ItemId=";_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012" ItemType="0" PsrId="306" Leaf="true">
1234312376
<Str Cat="Text">
1234412377
<Val><![CDATA['{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?]]></Val>

0 commit comments

Comments
 (0)