Skip to content

Commit 85553ec

Browse files
committed
LEGO: check in for master to temporary branch.
1 parent 575baf5 commit 85553ec

File tree

6 files changed

+401
-80
lines changed

6 files changed

+401
-80
lines changed

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

Lines changed: 41 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,8 +1491,8 @@
14911491
<Item ItemId=";All_type_parameters_are_unused_6205" ItemType="0" PsrId="306" Leaf="true">
14921492
<Str Cat="Text">
14931493
<Val><![CDATA[All type parameters are unused.]]></Val>
1494-
<Tgt Cat="Text" Stat="Update" Orig="New">
1495-
<Val><![CDATA[未使用任何类型参数]]></Val>
1494+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1495+
<Val><![CDATA[未使用任何类型参数]]></Val>
14961496
</Tgt>
14971497
<Prev Cat="Text">
14981498
<Val><![CDATA[All type parameters are unused]]></Val>
@@ -1782,8 +1782,8 @@
17821782
<Item ItemId=";An_expression_of_type_void_cannot_be_tested_for_truthiness_1345" ItemType="0" PsrId="306" Leaf="true">
17831783
<Str Cat="Text">
17841784
<Val><![CDATA[An expression of type 'void' cannot be tested for truthiness.]]></Val>
1785-
<Tgt Cat="Text" Stat="Update" Orig="New">
1786-
<Val><![CDATA[无法测试 "void" 类型表达式的真实性]]></Val>
1785+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1786+
<Val><![CDATA[无法测试 "void" 类型的表达式的真实性。]]></Val>
17871787
</Tgt>
17881788
<Prev Cat="Text">
17891789
<Val><![CDATA[An expression of type 'void' cannot be tested for truthiness]]></Val>
@@ -2613,8 +2613,8 @@
26132613
<Item ItemId=";Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732" ItemType="0" PsrId="306" Leaf="true">
26142614
<Str Cat="Text">
26152615
<Val><![CDATA[Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension.]]></Val>
2616-
<Tgt Cat="Text" Stat="Update" Orig="New">
2617-
<Val><![CDATA[找不到模块 "{0}"。请考虑使用 "--resolveJsonModule" 导入带 ".json" 扩展的模块]]></Val>
2616+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2617+
<Val><![CDATA[找不到模块{0}。请考虑使用 "--resolveJsonModule" 导入带 ".json" 扩展的模块]]></Val>
26182618
</Tgt>
26192619
<Prev Cat="Text">
26202620
<Val><![CDATA[Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension]]></Val>
@@ -3453,6 +3453,9 @@
34533453
<Item ItemId=";Convert_0_to_1_in_0_95003" ItemType="0" PsrId="306" Leaf="true">
34543454
<Str Cat="Text">
34553455
<Val><![CDATA[Convert '{0}' to '{1} in {0}']]></Val>
3456+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3457+
<Val><![CDATA[将“{0}”转换为 {0} 中的 {1}]]></Val>
3458+
</Tgt>
34563459
</Str>
34573460
<Disp Icon="Str" />
34583461
</Item>
@@ -4497,8 +4500,8 @@
44974500
<Item ItemId=";Dynamic_import_cannot_have_type_arguments_1326" ItemType="0" PsrId="306" Leaf="true">
44984501
<Str Cat="Text">
44994502
<Val><![CDATA[Dynamic import cannot have type arguments.]]></Val>
4500-
<Tgt Cat="Text" Stat="Update" Orig="New">
4501-
<Val><![CDATA[动态导入不能含有类型参数]]></Val>
4503+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4504+
<Val><![CDATA[动态导入不能含有类型参数]]></Val>
45024505
</Tgt>
45034506
<Prev Cat="Text">
45044507
<Val><![CDATA[Dynamic import cannot have type arguments]]></Val>
@@ -5649,6 +5652,9 @@
56495652
<Item ItemId=";Generates_an_event_trace_and_a_list_of_types_6237" ItemType="0" PsrId="306" Leaf="true">
56505653
<Str Cat="Text">
56515654
<Val><![CDATA[Generates an event trace and a list of types.]]></Val>
5655+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5656+
<Val><![CDATA[生成事件跟踪和类型列表。]]></Val>
5657+
</Tgt>
56525658
</Str>
56535659
<Disp Icon="Str" />
56545660
</Item>
@@ -6072,6 +6078,9 @@
60726078
<Item ItemId=";Include_undefined_in_index_signature_results_6800" ItemType="0" PsrId="306" Leaf="true">
60736079
<Str Cat="Text">
60746080
<Val><![CDATA[Include 'undefined' in index signature results]]></Val>
6081+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6082+
<Val><![CDATA[在索引签名结果中包含“未定义”]]></Val>
6083+
</Tgt>
60756084
</Str>
60766085
<Disp Icon="Str" />
60776086
</Item>
@@ -7290,6 +7299,9 @@
72907299
<Item ItemId=";Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090" ItemType="0" PsrId="306" Leaf="true">
72917300
<Str Cat="Text">
72927301
<Val><![CDATA[Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?]]></Val>
7302+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7303+
<Val><![CDATA[未设置 "baseUrl" 时,不允许使用非相对路径。是否忘记了前导 "./"?]]></Val>
7304+
</Tgt>
72937305
</Str>
72947306
<Disp Icon="Str" />
72957307
</Item>
@@ -7614,6 +7626,9 @@
76147626
<Item ItemId=";Option_0_cannot_be_specified_when_option_jsx_is_1_5089" ItemType="0" PsrId="306" Leaf="true">
76157627
<Str Cat="Text">
76167628
<Val><![CDATA[Option '{0}' cannot be specified when option 'jsx' is '{1}'.]]></Val>
7629+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7630+
<Val><![CDATA[选项 "jsx" 为“{1}”时,不能指定选项“{0}”。]]></Val>
7631+
</Tgt>
76177632
</Str>
76187633
<Disp Icon="Str" />
76197634
</Item>
@@ -8286,8 +8301,8 @@
82868301
<Item ItemId=";Private_identifiers_cannot_be_used_as_parameters_18009" ItemType="0" PsrId="306" Leaf="true">
82878302
<Str Cat="Text">
82888303
<Val><![CDATA[Private identifiers cannot be used as parameters.]]></Val>
8289-
<Tgt Cat="Text" Stat="Update" Orig="New">
8290-
<Val><![CDATA[不能将专用标识符用作参数]]></Val>
8304+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8305+
<Val><![CDATA[不能将专用标识符用作参数]]></Val>
82918306
</Tgt>
82928307
<Prev Cat="Text">
82938308
<Val><![CDATA[Private identifiers cannot be used as parameters]]></Val>
@@ -8526,8 +8541,8 @@
85268541
<Item ItemId=";Property_0_is_a_static_member_of_type_1_2576" ItemType="0" PsrId="306" Leaf="true">
85278542
<Str Cat="Text">
85288543
<Val><![CDATA[Property '{0}' is a static member of type '{1}'.]]></Val>
8529-
<Tgt Cat="Text" Stat="Update" Orig="New">
8530-
<Val><![CDATA[属性 "{0}" 不是类型为 "{1}" 的静态成员]]></Val>
8544+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8545+
<Val><![CDATA[属性{0}不是类型为{1}的静态成员]]></Val>
85318546
</Tgt>
85328547
<Prev Cat="Text">
85338548
<Val><![CDATA[Property '{0}' is a static member of type '{1}']]></Val>
@@ -8790,6 +8805,9 @@
87908805
<Item ItemId=";Provides_a_root_package_name_when_using_outFile_with_declarations_1390" ItemType="0" PsrId="306" Leaf="true">
87918806
<Str Cat="Text">
87928807
<Val><![CDATA[Provides a root package name when using outFile with declarations.]]></Val>
8808+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8809+
<Val><![CDATA[将 outFile 用于声明时提供根包名称。]]></Val>
8810+
</Tgt>
87938811
</Str>
87948812
<Disp Icon="Str" />
87958813
</Item>
@@ -9942,6 +9960,9 @@
99429960
<Item ItemId=";Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238" ItemType="0" PsrId="306" Leaf="true">
99439961
<Str Cat="Text">
99449962
<Val><![CDATA[Specify the module specifier to be used to import the `jsx` and `jsxs` factory functions from. eg, react]]></Val>
9963+
<Tgt Cat="Text" Stat="Loc" Orig="New">
9964+
<Val><![CDATA[指定要用于从 react 等内容中导入 "jsx" 和 "jsxs" 工厂函数的模块说明符]]></Val>
9965+
</Tgt>
99459966
</Str>
99469967
<Disp Icon="Str" />
99479968
</Item>
@@ -10239,6 +10260,9 @@
1023910260
<Item ItemId=";Template_literal_type_argument_0_is_not_literal_type_or_a_generic_type_2793" ItemType="0" PsrId="306" Leaf="true">
1024010261
<Str Cat="Text">
1024110262
<Val><![CDATA[Template literal type argument '{0}' is not literal type or a generic type.]]></Val>
10263+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10264+
<Val><![CDATA[模板文本类型参数“{0}”不是文本类型或泛型类型。]]></Val>
10265+
</Tgt>
1024210266
</Str>
1024310267
<Disp Icon="Str" />
1024410268
</Item>
@@ -10326,6 +10350,9 @@
1032610350
<Item ItemId=";The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391" ItemType="0" PsrId="306" Leaf="true">
1032710351
<Str Cat="Text">
1032810352
<Val><![CDATA[The `bundledPackageName` option must be provided when using outFile and node module resolution with declaration emit.]]></Val>
10353+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10354+
<Val><![CDATA[在将 outFile 和节点模块解析与声明发出一起使用时,必须提供 "bundledPackageName" 选项。]]></Val>
10355+
</Tgt>
1032910356
</Str>
1033010357
<Disp Icon="Str" />
1033110358
</Item>
@@ -12900,8 +12927,8 @@
1290012927
<Item ItemId=";_0_modifier_cannot_be_used_with_a_private_identifier_18019" ItemType="0" PsrId="306" Leaf="true">
1290112928
<Str Cat="Text">
1290212929
<Val><![CDATA['{0}' modifier cannot be used with a private identifier.]]></Val>
12903-
<Tgt Cat="Text" Stat="Update" Orig="New">
12904-
<Val><![CDATA["{0}" 修饰符不能与专用标识符一起使用。]]></Val>
12930+
<Tgt Cat="Text" Stat="Loc" Orig="New">
12931+
<Val><![CDATA[{0}修饰符不能与专用标识符一起使用。]]></Val>
1290512932
</Tgt>
1290612933
<Prev Cat="Text">
1290712934
<Val><![CDATA['{0}' modifier cannot be used with a private identifier]]></Val>

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3465,6 +3465,9 @@
34653465
<Item ItemId=";Convert_0_to_1_in_0_95003" ItemType="0" PsrId="306" Leaf="true">
34663466
<Str Cat="Text">
34673467
<Val><![CDATA[Convert '{0}' to '{1} in {0}']]></Val>
3468+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3469+
<Val><![CDATA[Convertir "{0}" en "{1} en "{0}"]]></Val>
3470+
</Tgt>
34683471
</Str>
34693472
<Disp Icon="Str" />
34703473
</Item>
@@ -4509,8 +4512,8 @@
45094512
<Item ItemId=";Dynamic_import_cannot_have_type_arguments_1326" ItemType="0" PsrId="306" Leaf="true">
45104513
<Str Cat="Text">
45114514
<Val><![CDATA[Dynamic import cannot have type arguments.]]></Val>
4512-
<Tgt Cat="Text" Stat="Update" Orig="New">
4513-
<Val><![CDATA[La importación dinámica no puede tener argumentos de tipo]]></Val>
4515+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4516+
<Val><![CDATA[La importación dinámica no puede tener argumentos de tipo.]]></Val>
45144517
</Tgt>
45154518
<Prev Cat="Text">
45164519
<Val><![CDATA[Dynamic import cannot have type arguments]]></Val>

0 commit comments

Comments
 (0)