Skip to content

Commit 71e8529

Browse files
authoredAug 8, 2022
LEGO: Merge pull request 50219
LEGO: Merge pull request 50219
1 parent 4a98087 commit 71e8529

File tree

3 files changed

+150
-6
lines changed

3 files changed

+150
-6
lines changed
 

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

+50-2
Original file line numberDiff line numberDiff line change
@@ -8561,10 +8561,13 @@
85618561
</Item>
85628562
<Item ItemId=";Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471" ItemType="0" PsrId="306" Leaf="true">
85638563
<Str Cat="Text">
8564-
<Val><![CDATA[Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported synchronously. Use dynamic import instead.]]></Val>
8564+
<Val><![CDATA[Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead.]]></Val>
85658565
<Tgt Cat="Text" Stat="Loc" Orig="New">
8566-
<Val><![CDATA[无法使用此构造导入模块 '{0}'。说明符仅解析为无法同步导入的 ES 模块。请改用动态导入。]]></Val>
8566+
<Val><![CDATA[无法使用此构造导入模块{0}”。说明符仅解析为 ES 模块,后者不能使用“require”进行导入。请改用 ECMAScript 导入。]]></Val>
85678567
</Tgt>
8568+
<Prev Cat="Text">
8569+
<Val><![CDATA[Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported synchronously. Use dynamic import instead.]]></Val>
8570+
</Prev>
85688571
</Str>
85698572
<Disp Icon="Str" />
85708573
</Item>
@@ -12840,6 +12843,15 @@
1284012843
</Str>
1284112844
<Disp Icon="Str" />
1284212845
</Item>
12846+
<Item ItemId=";The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479" ItemType="0" PsrId="306" Leaf="true">
12847+
<Str Cat="Text">
12848+
<Val><![CDATA[The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("{0}")' call instead.]]></Val>
12849+
<Tgt Cat="Text" Stat="Loc" Orig="New">
12850+
<Val><![CDATA[当前文件是 CommonJS 模块,其导入将生成“require”调用;但是,引用的文件是 ECMAScript 模块,它不能使用“require”进行导入。请考虑改为编写动态“import("{0}")”调用。]]></Val>
12851+
</Tgt>
12852+
</Str>
12853+
<Disp Icon="Str" />
12854+
</Item>
1284312855
<Item ItemId=";The_current_host_does_not_support_the_0_option_5001" ItemType="0" PsrId="306" Leaf="true">
1284412856
<Str Cat="Text">
1284512857
<Val><![CDATA[The current host does not support the '{0}' option.]]></Val>
@@ -13929,6 +13941,42 @@
1392913941
</Str>
1393013942
<Disp Icon="Str" />
1393113943
</Item>
13944+
<Item ItemId=";To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482" ItemType="0" PsrId="306" Leaf="true">
13945+
<Str Cat="Text">
13946+
<Val><![CDATA[To convert this file to an ECMAScript module, add the field `"type": "module"` to '{0}'.]]></Val>
13947+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13948+
<Val><![CDATA[若要将此文件转换为 ECMAScript 模块,请将字段“"type": "module"”添加到“{0}”。]]></Val>
13949+
</Tgt>
13950+
</Str>
13951+
<Disp Icon="Str" />
13952+
</Item>
13953+
<Item ItemId=";To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481" ItemType="0" PsrId="306" Leaf="true">
13954+
<Str Cat="Text">
13955+
<Val><![CDATA[To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field `"type": "module"` to '{1}'.]]></Val>
13956+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13957+
<Val><![CDATA[若要将此文件转换为 ECMAScript 模块,请将其文件扩展名更改为“{0}”,或将字段“"type": "module"”添加到“{1}”。]]></Val>
13958+
</Tgt>
13959+
</Str>
13960+
<Disp Icon="Str" />
13961+
</Item>
13962+
<Item ItemId=";To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480" ItemType="0" PsrId="306" Leaf="true">
13963+
<Str Cat="Text">
13964+
<Val><![CDATA[To convert this file to an ECMAScript module, change its file extension to '{0}' or create a local package.json file with `{ "type": "module" }`.]]></Val>
13965+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13966+
<Val><![CDATA[若要将此文件转换为 ECMAScript 模块,请将其文件扩展名更改为“{0}”,或者使用“{ "type": "module" }”创建本地 package.json 文件。]]></Val>
13967+
</Tgt>
13968+
</Str>
13969+
<Disp Icon="Str" />
13970+
</Item>
13971+
<Item ItemId=";To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483" ItemType="0" PsrId="306" Leaf="true">
13972+
<Str Cat="Text">
13973+
<Val><![CDATA[To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.]]></Val>
13974+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13975+
<Val><![CDATA[若要将此文件转换为 ECMAScript 模块,请使用“{ "type": "module" }”创建本地 package.json 文件。]]></Val>
13976+
</Tgt>
13977+
</Str>
13978+
<Disp Icon="Str" />
13979+
</Item>
1393213980
<Item ItemId=";Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378" ItemType="0" PsrId="306" Leaf="true">
1393313981
<Str Cat="Text">
1393413982
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.]]></Val>

‎src/loc/lcl/plk/diagnosticMessages/diagnosticMessages.generated.json.lcl

+50-2
Original file line numberDiff line numberDiff line change
@@ -8551,10 +8551,13 @@
85518551
</Item>
85528552
<Item ItemId=";Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471" ItemType="0" PsrId="306" Leaf="true">
85538553
<Str Cat="Text">
8554-
<Val><![CDATA[Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported synchronously. Use dynamic import instead.]]></Val>
8554+
<Val><![CDATA[Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead.]]></Val>
85558555
<Tgt Cat="Text" Stat="Loc" Orig="New">
8556-
<Val><![CDATA[Nie można zaimportować modułu „{0}” przy użyciu tej konstrukcji. Specyfikator jest rozpoznawany tylko jako moduł ES, którego nie można zaimportować synchronicznie. Zamiast tego użyj importu dynamicznego.]]></Val>
8556+
<Val><![CDATA[Nie można zaimportować modułu „{0}” przy użyciu tej konstrukcji. Specyfikator jest rozpoznawany tylko jako moduł ES, którego nie można zaimportować za pomocą wywołania „require”. Zamiast tego użyj importu ECMAScript.]]></Val>
85578557
</Tgt>
8558+
<Prev Cat="Text">
8559+
<Val><![CDATA[Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported synchronously. Use dynamic import instead.]]></Val>
8560+
</Prev>
85588561
</Str>
85598562
<Disp Icon="Str" />
85608563
</Item>
@@ -12827,6 +12830,15 @@
1282712830
</Str>
1282812831
<Disp Icon="Str" />
1282912832
</Item>
12833+
<Item ItemId=";The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479" ItemType="0" PsrId="306" Leaf="true">
12834+
<Str Cat="Text">
12835+
<Val><![CDATA[The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("{0}")' call instead.]]></Val>
12836+
<Tgt Cat="Text" Stat="Loc" Orig="New">
12837+
<Val><![CDATA[Bieżący plik jest modułem CommonJS, którego importy będą generować wywołania „require”; jednak przywoływany plik jest modułem ECMAScript i nie można go zaimportować za pomocą wywołania „require”. Zamiast tego rozważ zapisanie dynamicznego wywołania „import("{0}")”.]]></Val>
12838+
</Tgt>
12839+
</Str>
12840+
<Disp Icon="Str" />
12841+
</Item>
1283012842
<Item ItemId=";The_current_host_does_not_support_the_0_option_5001" ItemType="0" PsrId="306" Leaf="true">
1283112843
<Str Cat="Text">
1283212844
<Val><![CDATA[The current host does not support the '{0}' option.]]></Val>
@@ -13916,6 +13928,42 @@
1391613928
</Str>
1391713929
<Disp Icon="Str" />
1391813930
</Item>
13931+
<Item ItemId=";To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482" ItemType="0" PsrId="306" Leaf="true">
13932+
<Str Cat="Text">
13933+
<Val><![CDATA[To convert this file to an ECMAScript module, add the field `"type": "module"` to '{0}'.]]></Val>
13934+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13935+
<Val><![CDATA[Aby przekonwertować ten plik na moduł ECMAScript, dodaj pole „"type": "module"” do „{0}”.]]></Val>
13936+
</Tgt>
13937+
</Str>
13938+
<Disp Icon="Str" />
13939+
</Item>
13940+
<Item ItemId=";To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481" ItemType="0" PsrId="306" Leaf="true">
13941+
<Str Cat="Text">
13942+
<Val><![CDATA[To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field `"type": "module"` to '{1}'.]]></Val>
13943+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13944+
<Val><![CDATA[Aby przekonwertować ten plik na moduł ECMAScript, zmień rozszerzenie jego pliku na „{0}” lub dodaj pole „"type": "module"” do „{1}”.]]></Val>
13945+
</Tgt>
13946+
</Str>
13947+
<Disp Icon="Str" />
13948+
</Item>
13949+
<Item ItemId=";To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480" ItemType="0" PsrId="306" Leaf="true">
13950+
<Str Cat="Text">
13951+
<Val><![CDATA[To convert this file to an ECMAScript module, change its file extension to '{0}' or create a local package.json file with `{ "type": "module" }`.]]></Val>
13952+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13953+
<Val><![CDATA[Aby przekonwertować ten plik na moduł ECMAScript, zmień rozszerzenie jego pliku na „{0}” lub utwórz lokalny plik package.json z polem „{ "type": "module" }".]]></Val>
13954+
</Tgt>
13955+
</Str>
13956+
<Disp Icon="Str" />
13957+
</Item>
13958+
<Item ItemId=";To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483" ItemType="0" PsrId="306" Leaf="true">
13959+
<Str Cat="Text">
13960+
<Val><![CDATA[To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.]]></Val>
13961+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13962+
<Val><![CDATA[Aby przekonwertować ten plik na moduł ECMAScript, utwórz lokalny plik package.json z polem „{ "type": "module" }".]]></Val>
13963+
</Tgt>
13964+
</Str>
13965+
<Disp Icon="Str" />
13966+
</Item>
1391913967
<Item ItemId=";Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378" ItemType="0" PsrId="306" Leaf="true">
1392013968
<Str Cat="Text">
1392113969
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.]]></Val>

‎src/loc/lcl/trk/diagnosticMessages/diagnosticMessages.generated.json.lcl

+50-2
Original file line numberDiff line numberDiff line change
@@ -8554,10 +8554,13 @@
85548554
</Item>
85558555
<Item ItemId=";Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471" ItemType="0" PsrId="306" Leaf="true">
85568556
<Str Cat="Text">
8557-
<Val><![CDATA[Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported synchronously. Use dynamic import instead.]]></Val>
8557+
<Val><![CDATA[Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead.]]></Val>
85588558
<Tgt Cat="Text" Stat="Loc" Orig="New">
8559-
<Val><![CDATA['{0}' modülü bu yapı kullanılarak içeri aktarılamaz. Tanımlayıcı yalnızca eşzamanlı olarak içeri aktarılamayan bir ES modülüne çözümleniyor. Bunun yerine dinamik içeri aktarma kullanın.]]></Val>
8559+
<Val><![CDATA['{0}' modülü bu yapı kullanılarak içe aktarılamaz. Belirtici yalnızca 'require' ile içe aktarılamayan bir ES modülüne çözümlenir. Bunun yerine bir ECMAScript içe aktarma kullanın.]]></Val>
85608560
</Tgt>
8561+
<Prev Cat="Text">
8562+
<Val><![CDATA[Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported synchronously. Use dynamic import instead.]]></Val>
8563+
</Prev>
85618564
</Str>
85628565
<Disp Icon="Str" />
85638566
</Item>
@@ -12833,6 +12836,15 @@
1283312836
</Str>
1283412837
<Disp Icon="Str" />
1283512838
</Item>
12839+
<Item ItemId=";The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479" ItemType="0" PsrId="306" Leaf="true">
12840+
<Str Cat="Text">
12841+
<Val><![CDATA[The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("{0}")' call instead.]]></Val>
12842+
<Tgt Cat="Text" Stat="Loc" Orig="New">
12843+
<Val><![CDATA[Geçerli dosya, içe aktarma işlemlerinin 'require' çağrıları üreteceği bir CommonJS modülüdür; ancak başvurulan dosya bir ECMAScript modülüdür ve 'require' ile içe aktarılamaz. Bunun yerine dinamik bir 'import("{0}")' çağrısı yazmayı deneyin.]]></Val>
12844+
</Tgt>
12845+
</Str>
12846+
<Disp Icon="Str" />
12847+
</Item>
1283612848
<Item ItemId=";The_current_host_does_not_support_the_0_option_5001" ItemType="0" PsrId="306" Leaf="true">
1283712849
<Str Cat="Text">
1283812850
<Val><![CDATA[The current host does not support the '{0}' option.]]></Val>
@@ -13922,6 +13934,42 @@
1392213934
</Str>
1392313935
<Disp Icon="Str" />
1392413936
</Item>
13937+
<Item ItemId=";To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482" ItemType="0" PsrId="306" Leaf="true">
13938+
<Str Cat="Text">
13939+
<Val><![CDATA[To convert this file to an ECMAScript module, add the field `"type": "module"` to '{0}'.]]></Val>
13940+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13941+
<Val><![CDATA[Bu dosyayı bir ECMAScript modülüne dönüştürmek için, '{0}' dizinine `"type": "module"` alanı ekleyin.]]></Val>
13942+
</Tgt>
13943+
</Str>
13944+
<Disp Icon="Str" />
13945+
</Item>
13946+
<Item ItemId=";To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481" ItemType="0" PsrId="306" Leaf="true">
13947+
<Str Cat="Text">
13948+
<Val><![CDATA[To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field `"type": "module"` to '{1}'.]]></Val>
13949+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13950+
<Val><![CDATA[Bu dosyayı bir ECMAScript modülüne dönüştürmek için dosya uzantısını '{0}' olarak değiştirin veya '{1}' dizinine ''type': 'module'' alanı ekleyin.]]></Val>
13951+
</Tgt>
13952+
</Str>
13953+
<Disp Icon="Str" />
13954+
</Item>
13955+
<Item ItemId=";To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480" ItemType="0" PsrId="306" Leaf="true">
13956+
<Str Cat="Text">
13957+
<Val><![CDATA[To convert this file to an ECMAScript module, change its file extension to '{0}' or create a local package.json file with `{ "type": "module" }`.]]></Val>
13958+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13959+
<Val><![CDATA[Bu dosyayı bir ECMAScript modülüne dönüştürmek için dosya uzantısını '{0}' olarak değiştirin veya `{ "type": "module" }` ile yerel bir package.json dosyası oluşturun.]]></Val>
13960+
</Tgt>
13961+
</Str>
13962+
<Disp Icon="Str" />
13963+
</Item>
13964+
<Item ItemId=";To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483" ItemType="0" PsrId="306" Leaf="true">
13965+
<Str Cat="Text">
13966+
<Val><![CDATA[To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.]]></Val>
13967+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13968+
<Val><![CDATA[Bu dosyayı bir ECMAScript modülüne dönüştürmek için, `{ "type": "module" }` ile yerel bir package.json dosyası oluşturun.]]></Val>
13969+
</Tgt>
13970+
</Str>
13971+
<Disp Icon="Str" />
13972+
</Item>
1392513973
<Item ItemId=";Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378" ItemType="0" PsrId="306" Leaf="true">
1392613974
<Str Cat="Text">
1392713975
<Val><![CDATA[Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.]]></Val>

0 commit comments

Comments
 (0)