Skip to content

Commit 52e785f

Browse files
authored
LEGO: Merge pull request 47635
LEGO: Merge pull request 47635
1 parent b6075d8 commit 52e785f

File tree

5 files changed

+645
-75
lines changed

5 files changed

+645
-75
lines changed

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

Lines changed: 129 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -864,15 +864,21 @@
864864
</Str>
865865
<Disp Icon="Str" />
866866
</Item>
867-
<Item ItemId=";A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376" ItemType="0" PsrId="306" Leaf="true">
867+
<Item ItemId=";A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401" ItemType="0" PsrId="306" Leaf="true">
868868
<Str Cat="Text">
869-
<Val><![CDATA[A 'super' call must be the first statement in the constructor when a class contains initialized properties, parameter properties, or private identifiers.]]></Val>
869+
<Val><![CDATA[A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers.]]></Val>
870870
<Tgt Cat="Text" Stat="Loc" Orig="New">
871-
<Val><![CDATA[Un appel de 'super' doit être la première instruction du constructeur quand une classe contient des propriétés initialisées, des propriétés de paramètre ou des identificateurs privés.]]></Val>
871+
<Val><![CDATA[Un appel « super » doit être une instruction de niveau racine dans un constructeur d’une classe dérivée qui contient des propriétés initialisées, des propriétés de paramètre ou des identificateurs privés.]]></Val>
872+
</Tgt>
873+
</Str>
874+
<Disp Icon="Str" />
875+
</Item>
876+
<Item ItemId=";A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376" ItemType="0" PsrId="306" Leaf="true">
877+
<Str Cat="Text">
878+
<Val><![CDATA[A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers.]]></Val>
879+
<Tgt Cat="Text" Stat="Loc" Orig="New">
880+
<Val><![CDATA[Un appel 'super' doit être la première instruction du constructeur à faire référence à « super » ou « this » lorsqu’une classe dérivée contient des propriétés initialisées, des propriétés de paramètre ou des identificateurs privés.]]></Val>
872881
</Tgt>
873-
<Prev Cat="Text">
874-
<Val><![CDATA[A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.]]></Val>
875-
</Prev>
876882
</Str>
877883
<Disp Icon="Str" />
878884
</Item>
@@ -2133,11 +2139,11 @@
21332139
</Str>
21342140
<Disp Icon="Str" />
21352141
</Item>
2136-
<Item ItemId=";An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117" ItemType="0" PsrId="306" Leaf="true">
2142+
<Item ItemId=";An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117" ItemType="0" PsrId="306" Leaf="true">
21372143
<Str Cat="Text">
2138-
<Val><![CDATA[An object literal cannot have multiple properties with the same name in strict mode.]]></Val>
2144+
<Val><![CDATA[An object literal cannot have multiple properties with the same name.]]></Val>
21392145
<Tgt Cat="Text" Stat="Loc" Orig="New">
2140-
<Val><![CDATA[Un littéral d'objet ne peut pas avoir plusieurs propriétés portant le même nom en mode strict.]]></Val>
2146+
<Val><![CDATA[Un littéral dobjet ne peut pas avoir plusieurs propriétés portant le même nom.]]></Val>
21412147
</Tgt>
21422148
</Str>
21432149
<Disp Icon="Str" />
@@ -2928,6 +2934,15 @@
29282934
</Str>
29292935
<Disp Icon="Str" />
29302936
</Item>
2937+
<Item ItemId=";Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311" ItemType="0" PsrId="306" Leaf="true">
2938+
<Str Cat="Text">
2939+
<Val><![CDATA[Cannot find name '{0}'. Did you mean to write this in an async function?]]></Val>
2940+
<Tgt Cat="Text" Stat="Loc" Orig="New">
2941+
<Val><![CDATA[Le nom « {0} » est introuvable. Voulez-vous écrire ceci dans une fonction asynchrone ?]]></Val>
2942+
</Tgt>
2943+
</Str>
2944+
<Disp Icon="Str" />
2945+
</Item>
29312946
<Item ItemId=";Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583" ItemType="0" PsrId="306" Leaf="true">
29322947
<Str Cat="Text">
29332948
<Val><![CDATA[Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later.]]></Val>
@@ -3621,6 +3636,15 @@
36213636
</Str>
36223637
<Disp Icon="Str" />
36233638
</Item>
3639+
<Item ItemId=";Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124" ItemType="0" PsrId="306" Leaf="true">
3640+
<Str Cat="Text">
3641+
<Val><![CDATA[Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.]]></Val>
3642+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3643+
<Val><![CDATA[L’option de compilateur « {0} » de la valeur «{1}» est instable. Utilisez TypeScript nocturne pour désactiver cette erreur. Essayez de mettre à jour avec « npm install -D typescript@next ».]]></Val>
3644+
</Tgt>
3645+
</Str>
3646+
<Disp Icon="Str" />
3647+
</Item>
36243648
<Item ItemId=";Compiler_option_0_requires_a_value_of_type_1_5024" ItemType="0" PsrId="306" Leaf="true">
36253649
<Str Cat="Text">
36263650
<Val><![CDATA[Compiler option '{0}' requires a value of type {1}.]]></Val>
@@ -5253,11 +5277,11 @@
52535277
</Str>
52545278
<Disp Icon="Str" />
52555279
</Item>
5256-
<Item ItemId=";Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_1324" ItemType="0" PsrId="306" Leaf="true">
5280+
<Item ItemId=";Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_or_nodenext_1324" ItemType="0" PsrId="306" Leaf="true">
52575281
<Str Cat="Text">
5258-
<Val><![CDATA[Dynamic imports only support a second argument when the '--module' option is set to 'esnext'.]]></Val>
5282+
<Val><![CDATA[Dynamic imports only support a second argument when the '--module' option is set to 'esnext' or 'nodenext'.]]></Val>
52595283
<Tgt Cat="Text" Stat="Loc" Orig="New">
5260-
<Val><![CDATA[Les importations dynamiques prennent uniquement en charge un deuxième argument lorsque l’option « --module » a la valeur « esnext ».]]></Val>
5284+
<Val><![CDATA[Les importations dynamiques prennent uniquement en charge un deuxième argument lorsque l’option « --module » a la valeur « esnext » ou « nodenext ».]]></Val>
52615285
</Tgt>
52625286
</Str>
52635287
<Disp Icon="Str" />
@@ -5778,6 +5802,15 @@
57785802
</Str>
57795803
<Disp Icon="Str" />
57805804
</Item>
5805+
<Item ItemId=";Errors_Files_6041" ItemType="0" PsrId="306" Leaf="true">
5806+
<Str Cat="Text">
5807+
<Val><![CDATA[Errors Files]]></Val>
5808+
<Tgt Cat="Text" Stat="Loc" Orig="New">
5809+
<Val><![CDATA[Fichiers d’erreurs]]></Val>
5810+
</Tgt>
5811+
</Str>
5812+
<Disp Icon="Str" />
5813+
</Item>
57815814
<Item ItemId=";Examples_Colon_0_6026" ItemType="0" PsrId="306" Leaf="true">
57825815
<Str Cat="Text">
57835816
<Val><![CDATA[Examples: {0}]]></Val>
@@ -6555,6 +6588,24 @@
65556588
</Str>
65566589
<Disp Icon="Str" />
65576590
</Item>
6591+
<Item ItemId=";Found_0_errors_in_1_files_6261" ItemType="0" PsrId="306" Leaf="true">
6592+
<Str Cat="Text">
6593+
<Val><![CDATA[Found {0} errors in {1} files.]]></Val>
6594+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6595+
<Val><![CDATA[Erreurs {0} trouvées dans les fichiers {1} .]]></Val>
6596+
</Tgt>
6597+
</Str>
6598+
<Disp Icon="Str" />
6599+
</Item>
6600+
<Item ItemId=";Found_0_errors_in_the_same_file_starting_at_Colon_1_6260" ItemType="0" PsrId="306" Leaf="true">
6601+
<Str Cat="Text">
6602+
<Val><![CDATA[Found {0} errors in the same file, starting at: {1}]]></Val>
6603+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6604+
<Val><![CDATA[Erreurs {0} trouvées dans le même fichier, à partir de : {1}]]></Val>
6605+
</Tgt>
6606+
</Str>
6607+
<Disp Icon="Str" />
6608+
</Item>
65586609
<Item ItemId=";Found_1_error_6216" ItemType="0" PsrId="306" Leaf="true">
65596610
<Str Cat="Text">
65606611
<Val><![CDATA[Found 1 error.]]></Val>
@@ -6573,6 +6624,15 @@
65736624
</Str>
65746625
<Disp Icon="Str" />
65756626
</Item>
6627+
<Item ItemId=";Found_1_error_in_1_6259" ItemType="0" PsrId="306" Leaf="true">
6628+
<Str Cat="Text">
6629+
<Val><![CDATA[Found 1 error in {1}]]></Val>
6630+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6631+
<Val><![CDATA[1 erreur trouvée dans {1}]]></Val>
6632+
</Tgt>
6633+
</Str>
6634+
<Disp Icon="Str" />
6635+
</Item>
65766636
<Item ItemId=";Found_package_json_at_0_6099" ItemType="0" PsrId="306" Leaf="true">
65776637
<Str Cat="Text">
65786638
<Val><![CDATA[Found 'package.json' at '{0}'.]]></Val>
@@ -7080,11 +7140,29 @@
70807140
</Str>
70817141
<Disp Icon="Str" />
70827142
</Item>
7083-
<Item ItemId=";Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_2821" ItemType="0" PsrId="306" Leaf="true">
7143+
<Item ItemId=";Import_assertion_values_must_be_string_literal_expressions_2837" ItemType="0" PsrId="306" Leaf="true">
7144+
<Str Cat="Text">
7145+
<Val><![CDATA[Import assertion values must be string literal expressions.]]></Val>
7146+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7147+
<Val><![CDATA[Les valeurs d’assertion d’importation doivent être des expressions littérales de chaîne.]]></Val>
7148+
</Tgt>
7149+
</Str>
7150+
<Disp Icon="Str" />
7151+
</Item>
7152+
<Item ItemId=";Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836" ItemType="0" PsrId="306" Leaf="true">
70847153
<Str Cat="Text">
7085-
<Val><![CDATA[Import assertions are only supported when the '--module' option is set to 'esnext'.]]></Val>
7154+
<Val><![CDATA[Import assertions are not allowed on statements that transpile to commonjs 'require' calls.]]></Val>
70867155
<Tgt Cat="Text" Stat="Loc" Orig="New">
7087-
<Val><![CDATA[Les assertions d’importation sont prises en charge uniquement lorsque l’option « --module » a la valeur « esnext ».]]></Val>
7156+
<Val><![CDATA[Les assertions d’importation ne sont pas autorisées sur les instructions qui transpilent en appels commonjs « require ».]]></Val>
7157+
</Tgt>
7158+
</Str>
7159+
<Disp Icon="Str" />
7160+
</Item>
7161+
<Item ItemId=";Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821" ItemType="0" PsrId="306" Leaf="true">
7162+
<Str Cat="Text">
7163+
<Val><![CDATA[Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'.]]></Val>
7164+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7165+
<Val><![CDATA[Les assertions d’importation ne sont prises en charge que lorsque l’option « --module » a la valeur « esnext » ou « nodenext ».]]></Val>
70887166
</Tgt>
70897167
</Str>
70907168
<Disp Icon="Str" />
@@ -7320,6 +7398,15 @@
73207398
</Str>
73217399
<Disp Icon="Str" />
73227400
</Item>
7401+
<Item ItemId=";Includes_imports_of_types_referenced_by_0_90054" ItemType="0" PsrId="306" Leaf="true">
7402+
<Str Cat="Text">
7403+
<Val><![CDATA[Includes imports of types referenced by '{0}']]></Val>
7404+
<Tgt Cat="Text" Stat="Loc" Orig="New">
7405+
<Val><![CDATA[Inclut les importations de types référencés par « {0} »]]></Val>
7406+
</Tgt>
7407+
</Str>
7408+
<Disp Icon="Str" />
7409+
</Item>
73237410
<Item ItemId=";Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914" ItemType="0" PsrId="306" Leaf="true">
73247411
<Str Cat="Text">
73257412
<Val><![CDATA[Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:]]></Val>
@@ -10569,6 +10656,24 @@
1056910656
</Str>
1057010657
<Disp Icon="Str" />
1057110658
</Item>
10659+
<Item ItemId=";Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834" ItemType="0" PsrId="306" Leaf="true">
10660+
<Str Cat="Text">
10661+
<Val><![CDATA[Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node12' or 'nodenext'. Consider adding an extension to the import path.]]></Val>
10662+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10663+
<Val><![CDATA[Les chemins d’importation relatifs nécessitent des extensions de fichier explicites dans les importations EcmaScript quand « --moduleResolution » est « node12 » ou « nodenext ». Envisagez d’ajouter une extension au chemin d’importation.]]></Val>
10664+
</Tgt>
10665+
</Str>
10666+
<Disp Icon="Str" />
10667+
</Item>
10668+
<Item ItemId=";Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835" ItemType="0" PsrId="306" Leaf="true">
10669+
<Str Cat="Text">
10670+
<Val><![CDATA[Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node12' or 'nodenext'. Did you mean '{0}'?]]></Val>
10671+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10672+
<Val><![CDATA[Les chemins d’importation relatifs ont besoin d’extensions de fichier explicites dans les importations EcmaScript quand « --moduleResolution » est « node12 » ou « nodenext ». Voulez-vous dire « {0} » ?]]></Val>
10673+
</Tgt>
10674+
</Str>
10675+
<Disp Icon="Str" />
10676+
</Item>
1057210677
<Item ItemId=";Remove_a_list_of_directories_from_the_watch_process_6628" ItemType="0" PsrId="306" Leaf="true">
1057310678
<Str Cat="Text">
1057410679
<Val><![CDATA[Remove a list of directories from the watch process.]]></Val>
@@ -15693,6 +15798,15 @@
1569315798
</Str>
1569415799
<Disp Icon="Str" />
1569515800
</Item>
15801+
<Item ItemId=";catch_or_finally_expected_1472" ItemType="0" PsrId="306" Leaf="true">
15802+
<Str Cat="Text">
15803+
<Val><![CDATA['catch' or 'finally' expected.]]></Val>
15804+
<Tgt Cat="Text" Stat="Loc" Orig="New">
15805+
<Val><![CDATA[« Catch » ou « finally » attendu.]]></Val>
15806+
</Tgt>
15807+
</Str>
15808+
<Disp Icon="Str" />
15809+
</Item>
1569615810
<Item ItemId=";const_declarations_can_only_be_declared_inside_a_block_1156" ItemType="0" PsrId="306" Leaf="true">
1569715811
<Str Cat="Text">
1569815812
<Val><![CDATA['const' declarations can only be declared inside a block.]]></Val>

0 commit comments

Comments
 (0)