Skip to content

Commit e41feab

Browse files
authored
LEGO: Merge pull request 22521
LEGO: Merge pull request 22521
2 parents 0c6ef34 + 472a7f4 commit e41feab

File tree

3 files changed

+252
-18
lines changed

3 files changed

+252
-18
lines changed

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

Lines changed: 84 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,15 @@
10201020
</Str>
10211021
<Disp Icon="Str" />
10221022
</Item>
1023+
<Item ItemId=";All_imports_in_import_declaration_are_unused_6192" ItemType="0" PsrId="306" Leaf="true">
1024+
<Str Cat="Text">
1025+
<Val><![CDATA[All imports in import declaration are unused.]]></Val>
1026+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1027+
<Val><![CDATA[匯入宣告中的所有匯入皆未使用。]]></Val>
1028+
</Tgt>
1029+
</Str>
1030+
<Disp Icon="Str" />
1031+
</Item>
10231032
<Item ItemId=";Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011" ItemType="0" PsrId="306" Leaf="true">
10241033
<Str Cat="Text">
10251034
<Val><![CDATA[Allow default imports from modules with no default export. This does not affect code emit, just typechecking.]]></Val>
@@ -3549,6 +3558,15 @@
35493558
</Str>
35503559
<Disp Icon="Str" />
35513560
</Item>
3561+
<Item ItemId=";File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001" ItemType="0" PsrId="306" Leaf="true">
3562+
<Str Cat="Text">
3563+
<Val><![CDATA[File is a CommonJS module; it may be converted to an ES6 module.]]></Val>
3564+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3565+
<Val><![CDATA[檔案為 CommonJS 模組; 其可轉換為 ES6 模組。]]></Val>
3566+
</Tgt>
3567+
</Str>
3568+
<Disp Icon="Str" />
3569+
</Item>
35523570
<Item ItemId=";File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149" ItemType="0" PsrId="306" Leaf="true">
35533571
<Str Cat="Text">
35543572
<Val><![CDATA[File name '{0}' differs from already included file name '{1}' only in casing.]]></Val>
@@ -3987,6 +4005,15 @@
39874005
</Str>
39884006
<Disp Icon="Str" />
39894007
</Item>
4008+
<Item ItemId=";Import_may_be_converted_to_a_default_import_80003" ItemType="0" PsrId="306" Leaf="true">
4009+
<Str Cat="Text">
4010+
<Val><![CDATA[Import may be converted to a default import.]]></Val>
4011+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4012+
<Val><![CDATA[匯入可轉換成預設匯入。]]></Val>
4013+
</Tgt>
4014+
</Str>
4015+
<Disp Icon="Str" />
4016+
</Item>
39904017
<Item ItemId=";Import_name_cannot_be_0_2438" ItemType="0" PsrId="306" Leaf="true">
39914018
<Str Cat="Text">
39924019
<Val><![CDATA[Import name cannot be '{0}'.]]></Val>
@@ -4365,6 +4392,15 @@
43654392
</Str>
43664393
<Disp Icon="Str" />
43674394
</Item>
4395+
<Item ItemId=";JSDoc_types_may_be_moved_to_TypeScript_types_80004" ItemType="0" PsrId="306" Leaf="true">
4396+
<Str Cat="Text">
4397+
<Val><![CDATA[JSDoc types may be moved to TypeScript types.]]></Val>
4398+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4399+
<Val><![CDATA[JSDoc 類型可移為 TypeScript 類型。]]></Val>
4400+
</Tgt>
4401+
</Str>
4402+
<Disp Icon="Str" />
4403+
</Item>
43684404
<Item ItemId=";JSX_attribute_expected_17003" ItemType="0" PsrId="306" Leaf="true">
43694405
<Str Cat="Text">
43704406
<Val><![CDATA[JSX attribute expected.]]></Val>
@@ -4482,6 +4518,15 @@
44824518
</Str>
44834519
<Disp Icon="Str" />
44844520
</Item>
4521+
<Item ItemId=";JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma_17017" ItemType="0" PsrId="306" Leaf="true">
4522+
<Str Cat="Text">
4523+
<Val><![CDATA[JSX fragment is not supported when using an inline JSX factory pragma]]></Val>
4524+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4525+
<Val><![CDATA[使用內嵌 JSX 處理站 pragma 時,不支援 JSX 片段]]></Val>
4526+
</Tgt>
4527+
</Str>
4528+
<Disp Icon="Str" />
4529+
</Item>
44854530
<Item ItemId=";JSX_fragment_is_not_supported_when_using_jsxFactory_17016" ItemType="0" PsrId="306" Leaf="true">
44864531
<Str Cat="Text">
44874532
<Val><![CDATA[JSX fragment is not supported when using --jsxFactory]]></Val>
@@ -4773,6 +4818,15 @@
47734818
</Str>
47744819
<Disp Icon="Str" />
47754820
</Item>
4821+
<Item ItemId=";Module_0_has_no_exported_member_1_Did_you_mean_2_2724" ItemType="0" PsrId="306" Leaf="true">
4822+
<Str Cat="Text">
4823+
<Val><![CDATA[Module '{0}' has no exported member '{1}'. Did you mean '{2}'?]]></Val>
4824+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4825+
<Val><![CDATA[模組 '{0}' 沒有任何匯出的成員 '{1}'。您是否指的是 '{2}'?]]></Val>
4826+
</Tgt>
4827+
</Str>
4828+
<Disp Icon="Str" />
4829+
</Item>
47764830
<Item ItemId=";Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437" ItemType="0" PsrId="306" Leaf="true">
47774831
<Str Cat="Text">
47784832
<Val><![CDATA[Module '{0}' is hidden by a local declaration with the same name.]]></Val>
@@ -6084,6 +6138,15 @@
60846138
</Str>
60856139
<Disp Icon="Str" />
60866140
</Item>
6141+
<Item ItemId=";Remove_import_from_0_90005" ItemType="0" PsrId="306" Leaf="true">
6142+
<Str Cat="Text">
6143+
<Val><![CDATA[Remove import from '{0}']]></Val>
6144+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6145+
<Val><![CDATA[從 '{0}' 移除匯入]]></Val>
6146+
</Tgt>
6147+
</Str>
6148+
<Disp Icon="Str" />
6149+
</Item>
60876150
<Item ItemId=";Replace_import_with_0_95015" ItemType="0" PsrId="306" Leaf="true">
60886151
<Str Cat="Text">
60896152
<Val><![CDATA[Replace import with '{0}'.]]></Val>
@@ -6147,15 +6210,12 @@
61476210
</Str>
61486211
<Disp Icon="Str" />
61496212
</Item>
6150-
<Item ItemId=";Resolution_for_module_0_was_found_in_cache_6147" ItemType="0" PsrId="306" Leaf="true">
6213+
<Item ItemId=";Resolution_for_module_0_was_found_in_cache_from_location_1_6147" ItemType="0" PsrId="306" Leaf="true">
61516214
<Str Cat="Text">
6152-
<Val><![CDATA[Resolution for module '{0}' was found in cache.]]></Val>
6215+
<Val><![CDATA[Resolution for module '{0}' was found in cache from location '{1}'.]]></Val>
61536216
<Tgt Cat="Text" Stat="Loc" Orig="New">
6154-
<Val><![CDATA[於快取找到模組 '{0}' 的解析。]]></Val>
6217+
<Val><![CDATA[從位置 '{1}' 的快取中找到模組 '{0}' 的解析。]]></Val>
61556218
</Tgt>
6156-
<Prev Cat="Text">
6157-
<Val><![CDATA[Resolution for module '{0}' was found in cache]]></Val>
6158-
</Prev>
61596219
</Str>
61606220
<Disp Icon="Str" />
61616221
</Item>
@@ -7389,6 +7449,15 @@
73897449
</Str>
73907450
<Disp Icon="Str" />
73917451
</Item>
7452+
<Item ItemId=";This_constructor_function_may_be_converted_to_a_class_declaration_80002" ItemType="0" PsrId="306" Leaf="true">
7453+
<Str Cat="Text">
7454+
<Val><![CDATA[This constructor function may be converted to a class declaration.]]></Val>
7455+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7456+
<Val><![CDATA[此建構函式可轉換為類別宣告。]]></Val>
7457+
</Tgt>
7458+
</Str>
7459+
<Disp Icon="Str" />
7460+
</Item>
73927461
<Item ItemId=";This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354" ItemType="0" PsrId="306" Leaf="true">
73937462
<Str Cat="Text">
73947463
<Val><![CDATA[This syntax requires an imported helper but module '{0}' cannot be found.]]></Val>
@@ -8265,6 +8334,15 @@
82658334
</Str>
82668335
<Disp Icon="Str" />
82678336
</Item>
8337+
<Item ItemId=";Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191" ItemType="0" PsrId="306" Leaf="true">
8338+
<Str Cat="Text">
8339+
<Val><![CDATA[Whether to keep outdated console output in watch mode instead of clearing the screen.]]></Val>
8340+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8341+
<Val><![CDATA[是否要將已過期的主控台輸出,維持在監看模式下,而非清除螢幕。]]></Val>
8342+
</Tgt>
8343+
</Str>
8344+
<Disp Icon="Str" />
8345+
</Item>
82688346
<Item ItemId=";You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001" ItemType="0" PsrId="306" Leaf="true">
82698347
<Str Cat="Text">
82708348
<Val><![CDATA[You cannot rename elements that are defined in the standard TypeScript library.]]></Val>

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

Lines changed: 84 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,15 @@
10291029
</Str>
10301030
<Disp Icon="Str" />
10311031
</Item>
1032+
<Item ItemId=";All_imports_in_import_declaration_are_unused_6192" ItemType="0" PsrId="306" Leaf="true">
1033+
<Str Cat="Text">
1034+
<Val><![CDATA[All imports in import declaration are unused.]]></Val>
1035+
<Tgt Cat="Text" Stat="Loc" Orig="New">
1036+
<Val><![CDATA[Žádné importy z deklarace importu se nepoužívají.]]></Val>
1037+
</Tgt>
1038+
</Str>
1039+
<Disp Icon="Str" />
1040+
</Item>
10321041
<Item ItemId=";Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011" ItemType="0" PsrId="306" Leaf="true">
10331042
<Str Cat="Text">
10341043
<Val><![CDATA[Allow default imports from modules with no default export. This does not affect code emit, just typechecking.]]></Val>
@@ -3558,6 +3567,15 @@
35583567
</Str>
35593568
<Disp Icon="Str" />
35603569
</Item>
3570+
<Item ItemId=";File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001" ItemType="0" PsrId="306" Leaf="true">
3571+
<Str Cat="Text">
3572+
<Val><![CDATA[File is a CommonJS module; it may be converted to an ES6 module.]]></Val>
3573+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3574+
<Val><![CDATA[Soubor je modul CommonJS; může se převést na modul ES6.]]></Val>
3575+
</Tgt>
3576+
</Str>
3577+
<Disp Icon="Str" />
3578+
</Item>
35613579
<Item ItemId=";File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149" ItemType="0" PsrId="306" Leaf="true">
35623580
<Str Cat="Text">
35633581
<Val><![CDATA[File name '{0}' differs from already included file name '{1}' only in casing.]]></Val>
@@ -3996,6 +4014,15 @@
39964014
</Str>
39974015
<Disp Icon="Str" />
39984016
</Item>
4017+
<Item ItemId=";Import_may_be_converted_to_a_default_import_80003" ItemType="0" PsrId="306" Leaf="true">
4018+
<Str Cat="Text">
4019+
<Val><![CDATA[Import may be converted to a default import.]]></Val>
4020+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4021+
<Val><![CDATA[Import se může převést na výchozí import.]]></Val>
4022+
</Tgt>
4023+
</Str>
4024+
<Disp Icon="Str" />
4025+
</Item>
39994026
<Item ItemId=";Import_name_cannot_be_0_2438" ItemType="0" PsrId="306" Leaf="true">
40004027
<Str Cat="Text">
40014028
<Val><![CDATA[Import name cannot be '{0}'.]]></Val>
@@ -4374,6 +4401,15 @@
43744401
</Str>
43754402
<Disp Icon="Str" />
43764403
</Item>
4404+
<Item ItemId=";JSDoc_types_may_be_moved_to_TypeScript_types_80004" ItemType="0" PsrId="306" Leaf="true">
4405+
<Str Cat="Text">
4406+
<Val><![CDATA[JSDoc types may be moved to TypeScript types.]]></Val>
4407+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4408+
<Val><![CDATA[Typy JSDoc se můžou přesunout na typy TypeScript.]]></Val>
4409+
</Tgt>
4410+
</Str>
4411+
<Disp Icon="Str" />
4412+
</Item>
43774413
<Item ItemId=";JSX_attribute_expected_17003" ItemType="0" PsrId="306" Leaf="true">
43784414
<Str Cat="Text">
43794415
<Val><![CDATA[JSX attribute expected.]]></Val>
@@ -4491,6 +4527,15 @@
44914527
</Str>
44924528
<Disp Icon="Str" />
44934529
</Item>
4530+
<Item ItemId=";JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma_17017" ItemType="0" PsrId="306" Leaf="true">
4531+
<Str Cat="Text">
4532+
<Val><![CDATA[JSX fragment is not supported when using an inline JSX factory pragma]]></Val>
4533+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4534+
<Val><![CDATA[Při použití vložené direktivy pragma objektu pro vytváření JSX se nepodporuje fragment JSX.]]></Val>
4535+
</Tgt>
4536+
</Str>
4537+
<Disp Icon="Str" />
4538+
</Item>
44944539
<Item ItemId=";JSX_fragment_is_not_supported_when_using_jsxFactory_17016" ItemType="0" PsrId="306" Leaf="true">
44954540
<Str Cat="Text">
44964541
<Val><![CDATA[JSX fragment is not supported when using --jsxFactory]]></Val>
@@ -4782,6 +4827,15 @@
47824827
</Str>
47834828
<Disp Icon="Str" />
47844829
</Item>
4830+
<Item ItemId=";Module_0_has_no_exported_member_1_Did_you_mean_2_2724" ItemType="0" PsrId="306" Leaf="true">
4831+
<Str Cat="Text">
4832+
<Val><![CDATA[Module '{0}' has no exported member '{1}'. Did you mean '{2}'?]]></Val>
4833+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4834+
<Val><![CDATA[Modul {0} nemá žádný exportovaný člen {1}. Neměli jste na mysli {2}?]]></Val>
4835+
</Tgt>
4836+
</Str>
4837+
<Disp Icon="Str" />
4838+
</Item>
47854839
<Item ItemId=";Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437" ItemType="0" PsrId="306" Leaf="true">
47864840
<Str Cat="Text">
47874841
<Val><![CDATA[Module '{0}' is hidden by a local declaration with the same name.]]></Val>
@@ -6093,6 +6147,15 @@
60936147
</Str>
60946148
<Disp Icon="Str" />
60956149
</Item>
6150+
<Item ItemId=";Remove_import_from_0_90005" ItemType="0" PsrId="306" Leaf="true">
6151+
<Str Cat="Text">
6152+
<Val><![CDATA[Remove import from '{0}']]></Val>
6153+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6154+
<Val><![CDATA[Odebrat import z {0}]]></Val>
6155+
</Tgt>
6156+
</Str>
6157+
<Disp Icon="Str" />
6158+
</Item>
60966159
<Item ItemId=";Replace_import_with_0_95015" ItemType="0" PsrId="306" Leaf="true">
60976160
<Str Cat="Text">
60986161
<Val><![CDATA[Replace import with '{0}'.]]></Val>
@@ -6156,15 +6219,12 @@
61566219
</Str>
61576220
<Disp Icon="Str" />
61586221
</Item>
6159-
<Item ItemId=";Resolution_for_module_0_was_found_in_cache_6147" ItemType="0" PsrId="306" Leaf="true">
6222+
<Item ItemId=";Resolution_for_module_0_was_found_in_cache_from_location_1_6147" ItemType="0" PsrId="306" Leaf="true">
61606223
<Str Cat="Text">
6161-
<Val><![CDATA[Resolution for module '{0}' was found in cache.]]></Val>
6224+
<Val><![CDATA[Resolution for module '{0}' was found in cache from location '{1}'.]]></Val>
61626225
<Tgt Cat="Text" Stat="Loc" Orig="New">
6163-
<Val><![CDATA[Překlad pro modul {0} se v mezipaměti nenašel.]]></Val>
6226+
<Val><![CDATA[Překlad pro modul {0} se našel v mezipaměti umístění {1}.]]></Val>
61646227
</Tgt>
6165-
<Prev Cat="Text">
6166-
<Val><![CDATA[Resolution for module '{0}' was found in cache]]></Val>
6167-
</Prev>
61686228
</Str>
61696229
<Disp Icon="Str" />
61706230
</Item>
@@ -7398,6 +7458,15 @@
73987458
</Str>
73997459
<Disp Icon="Str" />
74007460
</Item>
7461+
<Item ItemId=";This_constructor_function_may_be_converted_to_a_class_declaration_80002" ItemType="0" PsrId="306" Leaf="true">
7462+
<Str Cat="Text">
7463+
<Val><![CDATA[This constructor function may be converted to a class declaration.]]></Val>
7464+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7465+
<Val><![CDATA[Tato funkce konstruktoru se může převést na deklaraci třídy.]]></Val>
7466+
</Tgt>
7467+
</Str>
7468+
<Disp Icon="Str" />
7469+
</Item>
74017470
<Item ItemId=";This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354" ItemType="0" PsrId="306" Leaf="true">
74027471
<Str Cat="Text">
74037472
<Val><![CDATA[This syntax requires an imported helper but module '{0}' cannot be found.]]></Val>
@@ -8274,6 +8343,15 @@
82748343
</Str>
82758344
<Disp Icon="Str" />
82768345
</Item>
8346+
<Item ItemId=";Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191" ItemType="0" PsrId="306" Leaf="true">
8347+
<Str Cat="Text">
8348+
<Val><![CDATA[Whether to keep outdated console output in watch mode instead of clearing the screen.]]></Val>
8349+
<Tgt Cat="Text" Stat="Loc" Orig="New">
8350+
<Val><![CDATA[Určuje, jestli se místo vymazání obrazovky má zachovat zastaralý výstup konzoly v režimu sledování.]]></Val>
8351+
</Tgt>
8352+
</Str>
8353+
<Disp Icon="Str" />
8354+
</Item>
82778355
<Item ItemId=";You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001" ItemType="0" PsrId="306" Leaf="true">
82788356
<Str Cat="Text">
82798357
<Val><![CDATA[You cannot rename elements that are defined in the standard TypeScript library.]]></Val>

0 commit comments

Comments
 (0)