Skip to content

Commit dd574ff

Browse files
committed
LEGO: check in for master to temporary branch.
1 parent 7611579 commit dd574ff

File tree

10 files changed

+150
-60
lines changed

10 files changed

+150
-60
lines changed

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

Lines changed: 15 additions & 6 deletions
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

Lines changed: 15 additions & 6 deletions
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

Lines changed: 15 additions & 6 deletions
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/esn/diagnosticMessages/diagnosticMessages.generated.json.lcl

Lines changed: 15 additions & 6 deletions
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

Lines changed: 15 additions & 6 deletions
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

Lines changed: 15 additions & 6 deletions
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>

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

Lines changed: 15 additions & 6 deletions
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>

0 commit comments

Comments
 (0)