Skip to content

Commit d4a166d

Browse files
authored
LEGO: Merge pull request 23360
LEGO: Merge pull request 23360
2 parents edcf087 + 29dc3d2 commit d4a166d

File tree

1 file changed

+117
-0
lines changed

1 file changed

+117
-0
lines changed

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

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,9 @@
642642
<Item ItemId=";A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013" ItemType="0" PsrId="306" Leaf="true">
643643
<Str Cat="Text">
644644
<Val><![CDATA[A rest parameter or binding pattern may not have a trailing comma.]]></Val>
645+
<Tgt Cat="Text" Stat="Loc" Orig="New">
646+
<Val><![CDATA[REST 參數或繫結模式的結尾不得為逗點。]]></Val>
647+
</Tgt>
645648
</Str>
646649
<Disp Icon="Str" />
647650
</Item>
@@ -903,18 +906,27 @@
903906
<Item ItemId=";Add_all_missing_async_modifiers_95041" ItemType="0" PsrId="306" Leaf="true">
904907
<Str Cat="Text">
905908
<Val><![CDATA[Add all missing 'async' modifiers]]></Val>
909+
<Tgt Cat="Text" Stat="Loc" Orig="New">
910+
<Val><![CDATA[新增缺少的所有 'async' 修飾詞]]></Val>
911+
</Tgt>
906912
</Str>
907913
<Disp Icon="Str" />
908914
</Item>
909915
<Item ItemId=";Add_all_missing_members_95022" ItemType="0" PsrId="306" Leaf="true">
910916
<Str Cat="Text">
911917
<Val><![CDATA[Add all missing members]]></Val>
918+
<Tgt Cat="Text" Stat="Loc" Orig="New">
919+
<Val><![CDATA[新增遺漏的所有成員]]></Val>
920+
</Tgt>
912921
</Str>
913922
<Disp Icon="Str" />
914923
</Item>
915924
<Item ItemId=";Add_all_missing_super_calls_95039" ItemType="0" PsrId="306" Leaf="true">
916925
<Str Cat="Text">
917926
<Val><![CDATA[Add all missing super calls]]></Val>
927+
<Tgt Cat="Text" Stat="Loc" Orig="New">
928+
<Val><![CDATA[新增缺少的所有 super 呼叫]]></Val>
929+
</Tgt>
918930
</Str>
919931
<Disp Icon="Str" />
920932
</Item>
@@ -939,6 +951,9 @@
939951
<Item ItemId=";Add_definite_assignment_assertions_to_all_uninitialized_properties_95028" ItemType="0" PsrId="306" Leaf="true">
940952
<Str Cat="Text">
941953
<Val><![CDATA[Add definite assignment assertions to all uninitialized properties]]></Val>
954+
<Tgt Cat="Text" Stat="Loc" Orig="New">
955+
<Val><![CDATA[為所有未初始化的屬性新增明確的指派判斷提示]]></Val>
956+
</Tgt>
942957
</Str>
943958
<Disp Icon="Str" />
944959
</Item>
@@ -966,6 +981,9 @@
966981
<Item ItemId=";Add_initializers_to_all_uninitialized_properties_95027" ItemType="0" PsrId="306" Leaf="true">
967982
<Str Cat="Text">
968983
<Val><![CDATA[Add initializers to all uninitialized properties]]></Val>
984+
<Tgt Cat="Text" Stat="Loc" Orig="New">
985+
<Val><![CDATA[為所有未初始化的屬性新增初始設定式]]></Val>
986+
</Tgt>
969987
</Str>
970988
<Disp Icon="Str" />
971989
</Item>
@@ -1002,18 +1020,27 @@
10021020
<Item ItemId=";Add_to_all_uncalled_decorators_95044" ItemType="0" PsrId="306" Leaf="true">
10031021
<Str Cat="Text">
10041022
<Val><![CDATA[Add '()' to all uncalled decorators]]></Val>
1023+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1024+
<Val><![CDATA[為所有未呼叫的裝飾項目新增 '()']]></Val>
1025+
</Tgt>
10051026
</Str>
10061027
<Disp Icon="Str" />
10071028
</Item>
10081029
<Item ItemId=";Add_ts_ignore_to_all_error_messages_95042" ItemType="0" PsrId="306" Leaf="true">
10091030
<Str Cat="Text">
10101031
<Val><![CDATA[Add '@ts-ignore' to all error messages]]></Val>
1032+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1033+
<Val><![CDATA[為所有錯誤訊息新增 '@ts-ignore']]></Val>
1034+
</Tgt>
10111035
</Str>
10121036
<Disp Icon="Str" />
10131037
</Item>
10141038
<Item ItemId=";Add_undefined_type_to_all_uninitialized_properties_95029" ItemType="0" PsrId="306" Leaf="true">
10151039
<Str Cat="Text">
10161040
<Val><![CDATA[Add undefined type to all uninitialized properties]]></Val>
1041+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1042+
<Val><![CDATA[為所有未初始化的屬性新增未定義的類型]]></Val>
1043+
</Tgt>
10171044
</Str>
10181045
<Disp Icon="Str" />
10191046
</Item>
@@ -1524,6 +1551,9 @@
15241551
<Item ItemId=";Annotate_everything_with_types_from_JSDoc_95043" ItemType="0" PsrId="306" Leaf="true">
15251552
<Str Cat="Text">
15261553
<Val><![CDATA[Annotate everything with types from JSDoc]]></Val>
1554+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1555+
<Val><![CDATA[標註具備 JSDoc 之類型的所有項目 ]]></Val>
1556+
</Tgt>
15271557
</Str>
15281558
<Disp Icon="Str" />
15291559
</Item>
@@ -2151,18 +2181,27 @@
21512181
<Item ItemId=";Change_all_extended_interfaces_to_implements_95038" ItemType="0" PsrId="306" Leaf="true">
21522182
<Str Cat="Text">
21532183
<Val><![CDATA[Change all extended interfaces to 'implements']]></Val>
2184+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2185+
<Val><![CDATA[將所有延伸介面變更為 'implements']]></Val>
2186+
</Tgt>
21542187
</Str>
21552188
<Disp Icon="Str" />
21562189
</Item>
21572190
<Item ItemId=";Change_all_jsdoc_style_types_to_TypeScript_95030" ItemType="0" PsrId="306" Leaf="true">
21582191
<Str Cat="Text">
21592192
<Val><![CDATA[Change all jsdoc-style types to TypeScript]]></Val>
2193+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2194+
<Val><![CDATA[將所有 jsdoc 樣式的類型變更為 TypeScript]]></Val>
2195+
</Tgt>
21602196
</Str>
21612197
<Disp Icon="Str" />
21622198
</Item>
21632199
<Item ItemId=";Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031" ItemType="0" PsrId="306" Leaf="true">
21642200
<Str Cat="Text">
21652201
<Val><![CDATA[Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)]]></Val>
2202+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2203+
<Val><![CDATA[將所有 jsdoc 樣式的類型變更為 TypeScript (並為 null 類型新增 '| undefined')]]></Val>
2204+
</Tgt>
21662205
</Str>
21672206
<Disp Icon="Str" />
21682207
</Item>
@@ -2475,12 +2514,18 @@
24752514
<Item ItemId=";Convert_all_constructor_functions_to_classes_95045" ItemType="0" PsrId="306" Leaf="true">
24762515
<Str Cat="Text">
24772516
<Val><![CDATA[Convert all constructor functions to classes]]></Val>
2517+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2518+
<Val><![CDATA[將所有建構函式轉換為類別]]></Val>
2519+
</Tgt>
24782520
</Str>
24792521
<Disp Icon="Str" />
24802522
</Item>
24812523
<Item ItemId=";Convert_all_to_default_imports_95035" ItemType="0" PsrId="306" Leaf="true">
24822524
<Str Cat="Text">
24832525
<Val><![CDATA[Convert all to default imports]]></Val>
2526+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2527+
<Val><![CDATA[全部轉換為預設匯入]]></Val>
2528+
</Tgt>
24842529
</Str>
24852530
<Disp Icon="Str" />
24862531
</Item>
@@ -2664,6 +2709,9 @@
26642709
<Item ItemId=";Delete_all_unused_declarations_95024" ItemType="0" PsrId="306" Leaf="true">
26652710
<Str Cat="Text">
26662711
<Val><![CDATA[Delete all unused declarations]]></Val>
2712+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2713+
<Val><![CDATA[刪除所有未使用的宣告]]></Val>
2714+
</Tgt>
26672715
</Str>
26682716
<Disp Icon="Str" />
26692717
</Item>
@@ -3714,6 +3762,27 @@
37143762
<Item ItemId=";Fix_all_detected_spelling_errors_95026" ItemType="0" PsrId="306" Leaf="true">
37153763
<Str Cat="Text">
37163764
<Val><![CDATA[Fix all detected spelling errors]]></Val>
3765+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3766+
<Val><![CDATA[修正偵測到的所有拼字錯誤]]></Val>
3767+
</Tgt>
3768+
</Str>
3769+
<Disp Icon="Str" />
3770+
</Item>
3771+
<Item ItemId=";Found_0_errors_6194" ItemType="0" PsrId="306" Leaf="true">
3772+
<Str Cat="Text">
3773+
<Val><![CDATA[Found {0} errors.]]></Val>
3774+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3775+
<Val><![CDATA[找到 {0} 個錯誤。]]></Val>
3776+
</Tgt>
3777+
</Str>
3778+
<Disp Icon="Str" />
3779+
</Item>
3780+
<Item ItemId=";Found_1_error_6193" ItemType="0" PsrId="306" Leaf="true">
3781+
<Str Cat="Text">
3782+
<Val><![CDATA[Found 1 error.]]></Val>
3783+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3784+
<Val><![CDATA[找到 1 個錯誤。]]></Val>
3785+
</Tgt>
37173786
</Str>
37183787
<Disp Icon="Str" />
37193788
</Item>
@@ -3825,6 +3894,12 @@
38253894
</Str>
38263895
<Disp Icon="Str" />
38273896
</Item>
3897+
<Item ItemId=";Generate_get_and_set_accessors_95046" ItemType="0" PsrId="306" Leaf="true">
3898+
<Str Cat="Text">
3899+
<Val><![CDATA[Generate 'get' and 'set' accessors]]></Val>
3900+
</Str>
3901+
<Disp Icon="Str" />
3902+
</Item>
38283903
<Item ItemId=";Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000" ItemType="0" PsrId="306" Leaf="true">
38293904
<Str Cat="Text">
38303905
<Val><![CDATA[Generates a sourcemap for each corresponding '.d.ts' file.]]></Val>
@@ -4032,12 +4107,18 @@
40324107
<Item ItemId=";Implement_all_inherited_abstract_classes_95040" ItemType="0" PsrId="306" Leaf="true">
40334108
<Str Cat="Text">
40344109
<Val><![CDATA[Implement all inherited abstract classes]]></Val>
4110+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4111+
<Val><![CDATA[實作所有繼承的抽象類別]]></Val>
4112+
</Tgt>
40354113
</Str>
40364114
<Disp Icon="Str" />
40374115
</Item>
40384116
<Item ItemId=";Implement_all_unimplemented_interfaces_95032" ItemType="0" PsrId="306" Leaf="true">
40394117
<Str Cat="Text">
40404118
<Val><![CDATA[Implement all unimplemented interfaces]]></Val>
4119+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4120+
<Val><![CDATA[實作所有未實作的介面]]></Val>
4121+
</Tgt>
40414122
</Str>
40424123
<Disp Icon="Str" />
40434124
</Item>
@@ -4356,6 +4437,9 @@
43564437
<Item ItemId=";Install_all_missing_types_packages_95033" ItemType="0" PsrId="306" Leaf="true">
43574438
<Str Cat="Text">
43584439
<Val><![CDATA[Install all missing types packages]]></Val>
4440+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4441+
<Val><![CDATA[安裝缺少的所有類型套件]]></Val>
4442+
</Tgt>
43594443
</Str>
43604444
<Disp Icon="Str" />
43614445
</Item>
@@ -4851,6 +4935,9 @@
48514935
<Item ItemId=";Make_all_super_calls_the_first_statement_in_their_constructor_95036" ItemType="0" PsrId="306" Leaf="true">
48524936
<Str Cat="Text">
48534937
<Val><![CDATA[Make all 'super()' calls the first statement in their constructor]]></Val>
4938+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4939+
<Val><![CDATA[在其建構函式的第一個陳述式中呼叫所有的 'super()']]></Val>
4940+
</Tgt>
48544941
</Str>
48554942
<Disp Icon="Str" />
48564943
</Item>
@@ -4950,12 +5037,18 @@
49505037
<Item ItemId=";Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_1340" ItemType="0" PsrId="306" Leaf="true">
49515038
<Str Cat="Text">
49525039
<Val><![CDATA[Module '{0}' does not refer to a type, but is used as a type here.]]></Val>
5040+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5041+
<Val><![CDATA[模組 '{0}' 未參考任何類型,但在此用為類型。]]></Val>
5042+
</Tgt>
49535043
</Str>
49545044
<Disp Icon="Str" />
49555045
</Item>
49565046
<Item ItemId=";Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339" ItemType="0" PsrId="306" Leaf="true">
49575047
<Str Cat="Text">
49585048
<Val><![CDATA[Module '{0}' does not refer to a value, but is used as a value here.]]></Val>
5049+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5050+
<Val><![CDATA[模組 '{0}' 未參考任何值,但在此用為值。]]></Val>
5051+
</Tgt>
49595052
</Str>
49605053
<Disp Icon="Str" />
49615054
</Item>
@@ -5853,6 +5946,9 @@
58535946
<Item ItemId=";Prefix_all_unused_declarations_with_where_possible_95025" ItemType="0" PsrId="306" Leaf="true">
58545947
<Str Cat="Text">
58555948
<Val><![CDATA[Prefix all unused declarations with '_' where possible]]></Val>
5949+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5950+
<Val><![CDATA[若可行,為所有未使用的宣告加上前置詞 '_']]></Val>
5951+
</Tgt>
58565952
</Str>
58575953
<Disp Icon="Str" />
58585954
</Item>
@@ -5910,6 +6006,12 @@
59106006
</Str>
59116007
<Disp Icon="Str" />
59126008
</Item>
6009+
<Item ItemId=";Property_0_does_not_exist_on_type_1_Did_you_forget_to_use_await_2570" ItemType="0" PsrId="306" Leaf="true">
6010+
<Str Cat="Text">
6011+
<Val><![CDATA[Property '{0}' does not exist on type '{1}'. Did you forget to use 'await'?]]></Val>
6012+
</Str>
6013+
<Disp Icon="Str" />
6014+
</Item>
59136015
<Item ItemId=";Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551" ItemType="0" PsrId="306" Leaf="true">
59146016
<Str Cat="Text">
59156017
<Val><![CDATA[Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?]]></Val>
@@ -6756,6 +6858,9 @@
67566858
<Item ItemId=";Rewrite_all_as_indexed_access_types_95034" ItemType="0" PsrId="306" Leaf="true">
67576859
<Str Cat="Text">
67586860
<Val><![CDATA[Rewrite all as indexed access types]]></Val>
6861+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6862+
<Val><![CDATA[將全部重寫為經過編製索引的存取類型]]></Val>
6863+
</Tgt>
67596864
</Str>
67606865
<Disp Icon="Str" />
67616866
</Item>
@@ -7821,6 +7926,9 @@
78217926
<Item ItemId=";Type_0_is_not_an_array_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators_2568" ItemType="0" PsrId="306" Leaf="true">
78227927
<Str Cat="Text">
78237928
<Val><![CDATA[Type '{0}' is not an array type. Use compiler option '--downlevelIteration' to allow iterating of iterators.]]></Val>
7929+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7930+
<Val><![CDATA[類型 '{0}' 不是陣列類型。請使用編譯器選項 '-downlevelIteration' 允許逐一查看迭代器。]]></Val>
7931+
</Tgt>
78247932
</Str>
78257933
<Disp Icon="Str" />
78267934
</Item>
@@ -7836,6 +7944,9 @@
78367944
<Item ItemId=";Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569" ItemType="0" PsrId="306" Leaf="true">
78377945
<Str Cat="Text">
78387946
<Val><![CDATA[Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators.]]></Val>
7947+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7948+
<Val><![CDATA[類型 '{0}' 不是陣列類型或字串類型。請使用編譯器選項 '-downlevelIteration' 允許逐一查看迭代器。]]></Val>
7949+
</Tgt>
78397950
</Str>
78407951
<Disp Icon="Str" />
78417952
</Item>
@@ -7896,12 +8007,18 @@
78968007
<Item ItemId=";Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504" ItemType="0" PsrId="306" Leaf="true">
78978008
<Str Cat="Text">
78988009
<Val><![CDATA[Type '{0}' must have a '[Symbol.asyncIterator]5D;()' method that returns an async iterator.]]></Val>
8010+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8011+
<Val><![CDATA[類型 '{0}' 必須具備會傳回非同步迭代器的 '[Symbol.asyncIterator]5D;()' 方法。]]></Val>
8012+
</Tgt>
78998013
</Str>
79008014
<Disp Icon="Str" />
79018015
</Item>
79028016
<Item ItemId=";Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488" ItemType="0" PsrId="306" Leaf="true">
79038017
<Str Cat="Text">
79048018
<Val><![CDATA[Type '{0}' must have a '[Symbol.iterator]5D;()' method that returns an iterator.]]></Val>
8019+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8020+
<Val><![CDATA[類型 '{0}' 必須具備會傳回迭代器的 '[Symbol.iterator]5D;()' 方法。]]></Val>
8021+
</Tgt>
79058022
</Str>
79068023
<Disp Icon="Str" />
79078024
</Item>

0 commit comments

Comments
 (0)