Skip to content

Commit 3630994

Browse files
authored
LEGO: Merge pull request 50212
LEGO: Merge pull request 50212
1 parent 7e42591 commit 3630994

File tree

10 files changed

+500
-20
lines changed

10 files changed

+500
-20
lines changed

src/loc/lcl/cht/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}'。指定名稱只能解析成無法以 'require' 匯入的 ES 模組。請改為使用 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/csy/diagnosticMessages/diagnosticMessages.generated.json.lcl

+50-2
Original file line numberDiff line numberDiff line change
@@ -8570,10 +8570,13 @@
85708570
</Item>
85718571
<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">
85728572
<Str Cat="Text">
8573-
<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>
8573+
<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>
85748574
<Tgt Cat="Text" Stat="Loc" Orig="New">
8575-
<Val><![CDATA[Modul {0} nejde importovat pomocí této konstrukce. Specifikátor se převede jenom na modul ES, který se nedá importovat synchronně. Místo toho použijte dynamický import.]]></Val>
8575+
<Val><![CDATA[Modul {0} nejde importovat pomocí této konstrukce. Specifikátor se převede jenom na modul ES, který se nedá importovat s příkazem require. Místo toho použijte import ECMAScript.]]></Val>
85768576
</Tgt>
8577+
<Prev Cat="Text">
8578+
<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>
8579+
</Prev>
85778580
</Str>
85788581
<Disp Icon="Str" />
85798582
</Item>
@@ -12849,6 +12852,15 @@
1284912852
</Str>
1285012853
<Disp Icon="Str" />
1285112854
</Item>
12855+
<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">
12856+
<Str Cat="Text">
12857+
<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>
12858+
<Tgt Cat="Text" Stat="Loc" Orig="New">
12859+
<Val><![CDATA[Aktuální soubor je modul CommonJS, jehož importy vytvoří volání require. Odkazovaný soubor je však modul ECMAScript a nelze ho importovat pomocí příkazu require. Raději zvažte vytvoření dynamického volání import("{0}").]]></Val>
12860+
</Tgt>
12861+
</Str>
12862+
<Disp Icon="Str" />
12863+
</Item>
1285212864
<Item ItemId=";The_current_host_does_not_support_the_0_option_5001" ItemType="0" PsrId="306" Leaf="true">
1285312865
<Str Cat="Text">
1285412866
<Val><![CDATA[The current host does not support the '{0}' option.]]></Val>
@@ -13938,6 +13950,42 @@
1393813950
</Str>
1393913951
<Disp Icon="Str" />
1394013952
</Item>
13953+
<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">
13954+
<Str Cat="Text">
13955+
<Val><![CDATA[To convert this file to an ECMAScript module, add the field `"type": "module"` to '{0}'.]]></Val>
13956+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13957+
<Val><![CDATA[Pokud chcete tento soubor převést na modul ECMAScript, přidejte pole "type": "module" do {0}.]]></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_add_the_field_type_Co_1481" 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 add the field `"type": "module"` to '{1}'.]]></Val>
13965+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13966+
<Val><![CDATA[Pokud chcete tento soubor převést na modul ECMAScript, změňte jeho příponu na {0}" nebo přidejte pole "type": "module" do {1}.]]></Val>
13967+
</Tgt>
13968+
</Str>
13969+
<Disp Icon="Str" />
13970+
</Item>
13971+
<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">
13972+
<Str Cat="Text">
13973+
<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>
13974+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13975+
<Val><![CDATA[Pokud chcete tento soubor převést na modul ECMAScript, změňte jeho příponu na {0} nebo vytvořte místní soubor package.json s {"type": "module"}.]]></Val>
13976+
</Tgt>
13977+
</Str>
13978+
<Disp Icon="Str" />
13979+
</Item>
13980+
<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">
13981+
<Str Cat="Text">
13982+
<Val><![CDATA[To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.]]></Val>
13983+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13984+
<Val><![CDATA[Pokud chcete tento soubor převést na modul ECMAScript, vytvořte místní soubor package.json s { "type": "module" }.]]></Val>
13985+
</Tgt>
13986+
</Str>
13987+
<Disp Icon="Str" />
13988+
</Item>
1394113989
<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">
1394213990
<Str Cat="Text">
1394313991
<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/deu/diagnosticMessages/diagnosticMessages.generated.json.lcl

+50-2
Original file line numberDiff line numberDiff line change
@@ -8558,10 +8558,13 @@
85588558
</Item>
85598559
<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">
85608560
<Str Cat="Text">
8561-
<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>
8561+
<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>
85628562
<Tgt Cat="Text" Stat="Loc" Orig="New">
8563-
<Val><![CDATA[Das Modul "{0}" kann nicht mithilfe dieses Konstrukts importiert werden. Der Spezifizierer wird nur in ein ES-Modul aufgelöst, das nicht synchron importiert werden kann. Verwenden Sie stattdessen den dynamischen Import.]]></Val>
8563+
<Val><![CDATA[Das Modul "{0}" kann nicht mit diesem Konstrukt importiert werden. Der Spezifizierer wird nur in ein ES-Modul aufgelöst, das nicht mit "require" importiert werden kann. Verwenden Sie stattdessen einen ECMAScript-Import.]]></Val>
85648564
</Tgt>
8565+
<Prev Cat="Text">
8566+
<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>
8567+
</Prev>
85658568
</Str>
85668569
<Disp Icon="Str" />
85678570
</Item>
@@ -12834,6 +12837,15 @@
1283412837
</Str>
1283512838
<Disp Icon="Str" />
1283612839
</Item>
12840+
<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">
12841+
<Str Cat="Text">
12842+
<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>
12843+
<Tgt Cat="Text" Stat="Loc" Orig="New">
12844+
<Val><![CDATA[Die aktuelle Datei ist ein CommonJS-Modul, dessen Importe "require"-Aufrufe generieren. Die Datei, auf die verwiesen wird, ist jedoch ein ECMAScript-Modul und kann nicht mit "require" importiert werden. Erwägen Sie stattdessen, einen dynamischen 'import("{0}")'-Aufruf zu schreiben.]]></Val>
12845+
</Tgt>
12846+
</Str>
12847+
<Disp Icon="Str" />
12848+
</Item>
1283712849
<Item ItemId=";The_current_host_does_not_support_the_0_option_5001" ItemType="0" PsrId="306" Leaf="true">
1283812850
<Str Cat="Text">
1283912851
<Val><![CDATA[The current host does not support the '{0}' option.]]></Val>
@@ -13923,6 +13935,42 @@
1392313935
</Str>
1392413936
<Disp Icon="Str" />
1392513937
</Item>
13938+
<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">
13939+
<Str Cat="Text">
13940+
<Val><![CDATA[To convert this file to an ECMAScript module, add the field `"type": "module"` to '{0}'.]]></Val>
13941+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13942+
<Val><![CDATA[Um diese Datei in ein ECMAScript-Modul zu konvertieren, fügen Sie das Feld "type": "module" zu "{0}" hinzu.]]></Val>
13943+
</Tgt>
13944+
</Str>
13945+
<Disp Icon="Str" />
13946+
</Item>
13947+
<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">
13948+
<Str Cat="Text">
13949+
<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>
13950+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13951+
<Val><![CDATA[Um diese Datei in ein ECMAScript-Modul zu konvertieren, ändern Sie die Dateierweiterung in "{0}", oder fügen Sie das Feld ''type': 'module'' zu "{1}" hinzu.]]></Val>
13952+
</Tgt>
13953+
</Str>
13954+
<Disp Icon="Str" />
13955+
</Item>
13956+
<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">
13957+
<Str Cat="Text">
13958+
<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>
13959+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13960+
<Val><![CDATA[Um diese Datei in ein ECMAScript-Modul zu konvertieren, ändern Sie ihre Dateierweiterung in '{0}', oder erstellen Sie eine lokale package.json-Datei mit `{ "type": "module" }`.]]></Val>
13961+
</Tgt>
13962+
</Str>
13963+
<Disp Icon="Str" />
13964+
</Item>
13965+
<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">
13966+
<Str Cat="Text">
13967+
<Val><![CDATA[To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.]]></Val>
13968+
<Tgt Cat="Text" Stat="Loc" Orig="New">
13969+
<Val><![CDATA[Um diese Datei in ein ECMAScript-Modul zu konvertieren, erstellen Sie eine lokale package.json-Datei mit `{ "type": "module" }`.]]></Val>
13970+
</Tgt>
13971+
</Str>
13972+
<Disp Icon="Str" />
13973+
</Item>
1392613974
<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">
1392713975
<Str Cat="Text">
1392813976
<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)