Skip to content

Commit 8683b8a

Browse files
authored
LEGO: Merge pull request 39148
LEGO: Merge pull request 39148
2 parents 8293e51 + 5039105 commit 8683b8a

File tree

13 files changed

+195
-78
lines changed

13 files changed

+195
-78
lines changed

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

+15-6
Original file line numberDiff line numberDiff line change
@@ -2943,20 +2943,20 @@
29432943
</Str>
29442944
<Disp Icon="Str" />
29452945
</Item>
2946-
<Item ItemId=";Catch_clause_variable_cannot_have_a_type_annotation_1196" ItemType="0" PsrId="306" Leaf="true">
2946+
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
29472947
<Str Cat="Text">
2948-
<Val><![CDATA[Catch clause variable cannot have a type annotation.]]></Val>
2948+
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
29492949
<Tgt Cat="Text" Stat="Loc" Orig="New">
2950-
<Val><![CDATA[Catch 子句变量不能有类型批注。]]></Val>
2950+
<Val><![CDATA[Catch 子句变量不能有初始化表达式。]]></Val>
29512951
</Tgt>
29522952
</Str>
29532953
<Disp Icon="Str" />
29542954
</Item>
2955-
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
2955+
<Item ItemId=";Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196" ItemType="0" PsrId="306" Leaf="true">
29562956
<Str Cat="Text">
2957-
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
2957+
<Val><![CDATA[Catch clause variable type annotation must be 'any' or 'unknown' if specified.]]></Val>
29582958
<Tgt Cat="Text" Stat="Loc" Orig="New">
2959-
<Val><![CDATA[Catch 子句变量不能有初始化表达式。]]></Val>
2959+
<Val><![CDATA[Catch 子句变量类型注释必须为 "any" 或 "unknown" (若已指定)。]]></Val>
29602960
</Tgt>
29612961
</Str>
29622962
<Disp Icon="Str" />
@@ -10125,6 +10125,15 @@
1012510125
</Str>
1012610126
<Disp Icon="Str" />
1012710127
</Item>
10128+
<Item ItemId=";The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088" ItemType="0" PsrId="306" Leaf="true">
10129+
<Str Cat="Text">
10130+
<Val><![CDATA[The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary.]]></Val>
10131+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10132+
<Val><![CDATA[推断类型“{0}”引用的类型具有无法简单序列化的循环结构。必须具有类型注释。]]></Val>
10133+
</Tgt>
10134+
</Str>
10135+
<Disp Icon="Str" />
10136+
</Item>
1012810137
<Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true">
1012910138
<Str Cat="Text">
1013010139
<Val><![CDATA[The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.]]></Val>

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

+15-6
Original file line numberDiff line numberDiff line change
@@ -2943,20 +2943,20 @@
29432943
</Str>
29442944
<Disp Icon="Str" />
29452945
</Item>
2946-
<Item ItemId=";Catch_clause_variable_cannot_have_a_type_annotation_1196" ItemType="0" PsrId="306" Leaf="true">
2946+
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
29472947
<Str Cat="Text">
2948-
<Val><![CDATA[Catch clause variable cannot have a type annotation.]]></Val>
2948+
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
29492949
<Tgt Cat="Text" Stat="Loc" Orig="New">
2950-
<Val><![CDATA[Catch 子句變數不得有類型註釋。]]></Val>
2950+
<Val><![CDATA[Catch 子句變數不得有初始設定式。]]></Val>
29512951
</Tgt>
29522952
</Str>
29532953
<Disp Icon="Str" />
29542954
</Item>
2955-
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
2955+
<Item ItemId=";Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196" ItemType="0" PsrId="306" Leaf="true">
29562956
<Str Cat="Text">
2957-
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
2957+
<Val><![CDATA[Catch clause variable type annotation must be 'any' or 'unknown' if specified.]]></Val>
29582958
<Tgt Cat="Text" Stat="Loc" Orig="New">
2959-
<Val><![CDATA[Catch 子句變數不得有初始設定式。]]></Val>
2959+
<Val><![CDATA[Catch 子句變數型別註解必須為 'any' 或 'unknown' (如有指定)。]]></Val>
29602960
</Tgt>
29612961
</Str>
29622962
<Disp Icon="Str" />
@@ -10125,6 +10125,15 @@
1012510125
</Str>
1012610126
<Disp Icon="Str" />
1012710127
</Item>
10128+
<Item ItemId=";The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088" ItemType="0" PsrId="306" Leaf="true">
10129+
<Str Cat="Text">
10130+
<Val><![CDATA[The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary.]]></Val>
10131+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10132+
<Val><![CDATA['{0}' 的推斷型別參考了具有迴圈結構且不是可完整序列化的型別。必須有型別註解。]]></Val>
10133+
</Tgt>
10134+
</Str>
10135+
<Disp Icon="Str" />
10136+
</Item>
1012810137
<Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true">
1012910138
<Str Cat="Text">
1013010139
<Val><![CDATA[The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.]]></Val>

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

+15-6
Original file line numberDiff line numberDiff line change
@@ -2952,20 +2952,20 @@
29522952
</Str>
29532953
<Disp Icon="Str" />
29542954
</Item>
2955-
<Item ItemId=";Catch_clause_variable_cannot_have_a_type_annotation_1196" ItemType="0" PsrId="306" Leaf="true">
2955+
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
29562956
<Str Cat="Text">
2957-
<Val><![CDATA[Catch clause variable cannot have a type annotation.]]></Val>
2957+
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
29582958
<Tgt Cat="Text" Stat="Loc" Orig="New">
2959-
<Val><![CDATA[Proměnná klauzule catch nemůže mít anotaci typu.]]></Val>
2959+
<Val><![CDATA[Proměnná klauzule catch nemůže mít inicializátor.]]></Val>
29602960
</Tgt>
29612961
</Str>
29622962
<Disp Icon="Str" />
29632963
</Item>
2964-
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
2964+
<Item ItemId=";Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196" ItemType="0" PsrId="306" Leaf="true">
29652965
<Str Cat="Text">
2966-
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
2966+
<Val><![CDATA[Catch clause variable type annotation must be 'any' or 'unknown' if specified.]]></Val>
29672967
<Tgt Cat="Text" Stat="Loc" Orig="New">
2968-
<Val><![CDATA[Proměnná klauzule catch nemůže mít inicializátor.]]></Val>
2968+
<Val><![CDATA[Pokud se zadá typ proměnné klauzule catch, jeho anotace musí být any nebo unknown.]]></Val>
29692969
</Tgt>
29702970
</Str>
29712971
<Disp Icon="Str" />
@@ -10134,6 +10134,15 @@
1013410134
</Str>
1013510135
<Disp Icon="Str" />
1013610136
</Item>
10137+
<Item ItemId=";The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088" ItemType="0" PsrId="306" Leaf="true">
10138+
<Str Cat="Text">
10139+
<Val><![CDATA[The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary.]]></Val>
10140+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10141+
<Val><![CDATA[Odvozený typ {0} se odkazuje na typ s cyklickou strukturou, která se nedá triviálně serializovat. Musí se použít anotace typu.]]></Val>
10142+
</Tgt>
10143+
</Str>
10144+
<Disp Icon="Str" />
10145+
</Item>
1013710146
<Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true">
1013810147
<Str Cat="Text">
1013910148
<Val><![CDATA[The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.]]></Val>

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

+15-6
Original file line numberDiff line numberDiff line change
@@ -2940,20 +2940,20 @@
29402940
</Str>
29412941
<Disp Icon="Str" />
29422942
</Item>
2943-
<Item ItemId=";Catch_clause_variable_cannot_have_a_type_annotation_1196" ItemType="0" PsrId="306" Leaf="true">
2943+
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
29442944
<Str Cat="Text">
2945-
<Val><![CDATA[Catch clause variable cannot have a type annotation.]]></Val>
2945+
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
29462946
<Tgt Cat="Text" Stat="Loc" Orig="New">
2947-
<Val><![CDATA[Die Variable der Catch-Klausel darf keine Typanmerkung aufweisen.]]></Val>
2947+
<Val><![CDATA[Die Variable der Catch-Klausel darf keinen Initialisierer aufweisen.]]></Val>
29482948
</Tgt>
29492949
</Str>
29502950
<Disp Icon="Str" />
29512951
</Item>
2952-
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
2952+
<Item ItemId=";Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196" ItemType="0" PsrId="306" Leaf="true">
29532953
<Str Cat="Text">
2954-
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
2954+
<Val><![CDATA[Catch clause variable type annotation must be 'any' or 'unknown' if specified.]]></Val>
29552955
<Tgt Cat="Text" Stat="Loc" Orig="New">
2956-
<Val><![CDATA[Die Variable der Catch-Klausel darf keinen Initialisierer aufweisen.]]></Val>
2956+
<Val><![CDATA[Die Anmerkung des Variablentyps der catch-Klausel muss "any" oder "unknown" lauten, sofern angegeben.]]></Val>
29572957
</Tgt>
29582958
</Str>
29592959
<Disp Icon="Str" />
@@ -10119,6 +10119,15 @@
1011910119
</Str>
1012010120
<Disp Icon="Str" />
1012110121
</Item>
10122+
<Item ItemId=";The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088" ItemType="0" PsrId="306" Leaf="true">
10123+
<Str Cat="Text">
10124+
<Val><![CDATA[The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary.]]></Val>
10125+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10126+
<Val><![CDATA[Der abgeleitete Typ von "{0}" verweist auf einen Typ mit zyklischer Struktur, die nicht trivial serialisiert werden kann. Es ist eine Typanmerkung erforderlich.]]></Val>
10127+
</Tgt>
10128+
</Str>
10129+
<Disp Icon="Str" />
10130+
</Item>
1012210131
<Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true">
1012310132
<Str Cat="Text">
1012410133
<Val><![CDATA[The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.]]></Val>

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

+15-6
Original file line numberDiff line numberDiff line change
@@ -2955,20 +2955,20 @@
29552955
</Str>
29562956
<Disp Icon="Str" />
29572957
</Item>
2958-
<Item ItemId=";Catch_clause_variable_cannot_have_a_type_annotation_1196" ItemType="0" PsrId="306" Leaf="true">
2958+
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
29592959
<Str Cat="Text">
2960-
<Val><![CDATA[Catch clause variable cannot have a type annotation.]]></Val>
2960+
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
29612961
<Tgt Cat="Text" Stat="Loc" Orig="New">
2962-
<Val><![CDATA[La variable de la cláusula catch no puede tener una anotación de tipo.]]></Val>
2962+
<Val><![CDATA[La variable de la cláusula catch no puede tener un inicializador.]]></Val>
29632963
</Tgt>
29642964
</Str>
29652965
<Disp Icon="Str" />
29662966
</Item>
2967-
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
2967+
<Item ItemId=";Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196" ItemType="0" PsrId="306" Leaf="true">
29682968
<Str Cat="Text">
2969-
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
2969+
<Val><![CDATA[Catch clause variable type annotation must be 'any' or 'unknown' if specified.]]></Val>
29702970
<Tgt Cat="Text" Stat="Loc" Orig="New">
2971-
<Val><![CDATA[La variable de la cláusula catch no puede tener un inicializador.]]></Val>
2971+
<Val><![CDATA[La anotación de tipo de variable de la cláusula catch debe ser "any" o "unknown" si se especifica.]]></Val>
29722972
</Tgt>
29732973
</Str>
29742974
<Disp Icon="Str" />
@@ -10137,6 +10137,15 @@
1013710137
</Str>
1013810138
<Disp Icon="Str" />
1013910139
</Item>
10140+
<Item ItemId=";The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088" ItemType="0" PsrId="306" Leaf="true">
10141+
<Str Cat="Text">
10142+
<Val><![CDATA[The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary.]]></Val>
10143+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10144+
<Val><![CDATA[El tipo deducido de "{0}" hace referencia a un tipo con una estructura cíclica que no se puede serializar trivialmente. Es necesaria una anotación de tipo.]]></Val>
10145+
</Tgt>
10146+
</Str>
10147+
<Disp Icon="Str" />
10148+
</Item>
1014010149
<Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true">
1014110150
<Str Cat="Text">
1014210151
<Val><![CDATA[The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.]]></Val>

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

+15-6
Original file line numberDiff line numberDiff line change
@@ -2955,20 +2955,20 @@
29552955
</Str>
29562956
<Disp Icon="Str" />
29572957
</Item>
2958-
<Item ItemId=";Catch_clause_variable_cannot_have_a_type_annotation_1196" ItemType="0" PsrId="306" Leaf="true">
2958+
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
29592959
<Str Cat="Text">
2960-
<Val><![CDATA[Catch clause variable cannot have a type annotation.]]></Val>
2960+
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
29612961
<Tgt Cat="Text" Stat="Loc" Orig="New">
2962-
<Val><![CDATA[Une variable de clause catch ne peut pas avoir d'annotation de type.]]></Val>
2962+
<Val><![CDATA[Une variable de clause catch ne peut pas avoir d'initialiseur.]]></Val>
29632963
</Tgt>
29642964
</Str>
29652965
<Disp Icon="Str" />
29662966
</Item>
2967-
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
2967+
<Item ItemId=";Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196" ItemType="0" PsrId="306" Leaf="true">
29682968
<Str Cat="Text">
2969-
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
2969+
<Val><![CDATA[Catch clause variable type annotation must be 'any' or 'unknown' if specified.]]></Val>
29702970
<Tgt Cat="Text" Stat="Loc" Orig="New">
2971-
<Val><![CDATA[Une variable de clause catch ne peut pas avoir d'initialiseur.]]></Val>
2971+
<Val><![CDATA[L'annotation de type de variable de la clause catch doit être 'any' ou 'unknown' si elle est spécifiée.]]></Val>
29722972
</Tgt>
29732973
</Str>
29742974
<Disp Icon="Str" />
@@ -10137,6 +10137,15 @@
1013710137
</Str>
1013810138
<Disp Icon="Str" />
1013910139
</Item>
10140+
<Item ItemId=";The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088" ItemType="0" PsrId="306" Leaf="true">
10141+
<Str Cat="Text">
10142+
<Val><![CDATA[The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary.]]></Val>
10143+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10144+
<Val><![CDATA[Le type déduit de '{0}' référence un type avec une structure cyclique qui ne peut pas être sérialisée de manière triviale. Une annotation de type est nécessaire.]]></Val>
10145+
</Tgt>
10146+
</Str>
10147+
<Disp Icon="Str" />
10148+
</Item>
1014010149
<Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true">
1014110150
<Str Cat="Text">
1014210151
<Val><![CDATA[The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.]]></Val>

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

+15-6
Original file line numberDiff line numberDiff line change
@@ -2943,20 +2943,20 @@
29432943
</Str>
29442944
<Disp Icon="Str" />
29452945
</Item>
2946-
<Item ItemId=";Catch_clause_variable_cannot_have_a_type_annotation_1196" ItemType="0" PsrId="306" Leaf="true">
2946+
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
29472947
<Str Cat="Text">
2948-
<Val><![CDATA[Catch clause variable cannot have a type annotation.]]></Val>
2948+
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
29492949
<Tgt Cat="Text" Stat="Loc" Orig="New">
2950-
<Val><![CDATA[La variabile della clausola catch non può contenere un'annotazione di tipo.]]></Val>
2950+
<Val><![CDATA[La variabile della clausola catch non può contenere un inizializzatore.]]></Val>
29512951
</Tgt>
29522952
</Str>
29532953
<Disp Icon="Str" />
29542954
</Item>
2955-
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
2955+
<Item ItemId=";Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196" ItemType="0" PsrId="306" Leaf="true">
29562956
<Str Cat="Text">
2957-
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
2957+
<Val><![CDATA[Catch clause variable type annotation must be 'any' or 'unknown' if specified.]]></Val>
29582958
<Tgt Cat="Text" Stat="Loc" Orig="New">
2959-
<Val><![CDATA[La variabile della clausola catch non può contenere un inizializzatore.]]></Val>
2959+
<Val><![CDATA[Se specificata, l'annotazione del tipo di variabile della clausola catch deve essere 'any' o 'unknown'.]]></Val>
29602960
</Tgt>
29612961
</Str>
29622962
<Disp Icon="Str" />
@@ -10125,6 +10125,15 @@
1012510125
</Str>
1012610126
<Disp Icon="Str" />
1012710127
</Item>
10128+
<Item ItemId=";The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088" ItemType="0" PsrId="306" Leaf="true">
10129+
<Str Cat="Text">
10130+
<Val><![CDATA[The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary.]]></Val>
10131+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10132+
<Val><![CDATA[Il tipo dedotto di '{0}' fa riferimento a un tipo con una struttura ciclica che non può essere facilmente serializzata. È necessaria un'annotazione di tipo.]]></Val>
10133+
</Tgt>
10134+
</Str>
10135+
<Disp Icon="Str" />
10136+
</Item>
1012810137
<Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true">
1012910138
<Str Cat="Text">
1013010139
<Val><![CDATA[The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.]]></Val>

0 commit comments

Comments
 (0)