Skip to content

Commit c194abb

Browse files
authored
LEGO: Merge pull request 38790
LEGO: Merge pull request 38790
2 parents f2d6eda + 2a2bb57 commit c194abb

File tree

5 files changed

+301
-4
lines changed

5 files changed

+301
-4
lines changed

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

+63
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,24 @@
450450
</Str>
451451
<Disp Icon="Str" />
452452
</Item>
453+
<Item ItemId=";A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086" ItemType="0" PsrId="306" Leaf="true">
454+
<Str Cat="Text">
455+
<Val><![CDATA[A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type.]]></Val>
456+
<Tgt Cat="Text" Stat="Loc" Orig="New">
457+
<Val><![CDATA[標記的元組元素已宣告為選用,並在名稱之後、冒號之前加上問號,而非加在類型之後。]]></Val>
458+
</Tgt>
459+
</Str>
460+
<Disp Icon="Str" />
461+
</Item>
462+
<Item ItemId=";A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087" ItemType="0" PsrId="306" Leaf="true">
463+
<Str Cat="Text">
464+
<Val><![CDATA[A labeled tuple element is declared as rest with a `...` before the name, rather than before the type.]]></Val>
465+
<Tgt Cat="Text" Stat="Loc" Orig="New">
466+
<Val><![CDATA[標記的元組元素已宣告為待用,並在名稱之前加上「…」,而非加在類型之前。]]></Val>
467+
</Tgt>
468+
</Str>
469+
<Disp Icon="Str" />
470+
</Item>
453471
<Item ItemId=";A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651" ItemType="0" PsrId="306" Leaf="true">
454472
<Str Cat="Text">
455473
<Val><![CDATA[A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums.]]></Val>
@@ -867,6 +885,15 @@
867885
</Str>
868886
<Disp Icon="Str" />
869887
</Item>
888+
<Item ItemId=";A_tuple_member_cannot_be_both_optional_and_rest_5085" ItemType="0" PsrId="306" Leaf="true">
889+
<Str Cat="Text">
890+
<Val><![CDATA[A tuple member cannot be both optional and rest.]]></Val>
891+
<Tgt Cat="Text" Stat="Loc" Orig="New">
892+
<Val><![CDATA[元組成員不能同時為選用及待用。]]></Val>
893+
</Tgt>
894+
</Str>
895+
<Disp Icon="Str" />
896+
</Item>
870897
<Item ItemId=";A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007" ItemType="0" PsrId="306" Leaf="true">
871898
<Str Cat="Text">
872899
<Val><![CDATA[A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses.]]></Val>
@@ -3522,6 +3549,15 @@
35223549
</Str>
35233550
<Disp Icon="Str" />
35243551
</Item>
3552+
<Item ItemId=";Convert_overload_list_to_single_signature_95118" ItemType="0" PsrId="306" Leaf="true">
3553+
<Str Cat="Text">
3554+
<Val><![CDATA[Convert overload list to single signature]]></Val>
3555+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3556+
<Val><![CDATA[將多載清單轉換成單一特徵標記]]></Val>
3557+
</Tgt>
3558+
</Str>
3559+
<Disp Icon="Str" />
3560+
</Item>
35253561
<Item ItemId=";Convert_parameters_to_destructured_object_95075" ItemType="0" PsrId="306" Leaf="true">
35263562
<Str Cat="Text">
35273563
<Val><![CDATA[Convert parameters to destructured object]]></Val>
@@ -6807,6 +6843,15 @@
68076843
</Str>
68086844
<Disp Icon="Str" />
68096845
</Item>
6846+
<Item ItemId=";Move_labeled_tuple_element_modifiers_to_labels_95117" ItemType="0" PsrId="306" Leaf="true">
6847+
<Str Cat="Text">
6848+
<Val><![CDATA[Move labeled tuple element modifiers to labels]]></Val>
6849+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6850+
<Val><![CDATA[將標記的元組元素修飾元移至標籤]]></Val>
6851+
</Tgt>
6852+
</Str>
6853+
<Disp Icon="Str" />
6854+
</Item>
68106855
<Item ItemId=";Move_to_a_new_file_95049" ItemType="0" PsrId="306" Leaf="true">
68116856
<Str Cat="Text">
68126857
<Val><![CDATA[Move to a new file]]></Val>
@@ -10599,6 +10644,15 @@
1059910644
</Str>
1060010645
<Disp Icon="Str" />
1060110646
</Item>
10647+
<Item ItemId=";This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234" ItemType="0" PsrId="306" Leaf="true">
10648+
<Str Cat="Text">
10649+
<Val><![CDATA[This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?]]></Val>
10650+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10651+
<Val><![CDATA[因為此運算式為 'get' 存取子,所以無法呼叫。要在沒有 '()' 的情況下,使用該運算式嗎?]]></Val>
10652+
</Tgt>
10653+
</Str>
10654+
<Disp Icon="Str" />
10655+
</Item>
1060210656
<Item ItemId=";This_expression_is_not_constructable_2351" ItemType="0" PsrId="306" Leaf="true">
1060310657
<Str Cat="Text">
1060410658
<Val><![CDATA[This expression is not constructable.]]></Val>
@@ -10764,6 +10818,15 @@
1076410818
</Str>
1076510819
<Disp Icon="Str" />
1076610820
</Item>
10821+
<Item ItemId=";Tuple_members_must_all_have_names_or_all_not_have_names_5084" ItemType="0" PsrId="306" Leaf="true">
10822+
<Str Cat="Text">
10823+
<Val><![CDATA[Tuple members must all have names or all not have names.]]></Val>
10824+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10825+
<Val><![CDATA[元組成員必須全數有名稱或都沒有名稱。]]></Val>
10826+
</Tgt>
10827+
</Str>
10828+
<Disp Icon="Str" />
10829+
</Item>
1076710830
<Item ItemId=";Tuple_type_0_of_length_1_has_no_element_at_index_2_2493" ItemType="0" PsrId="306" Leaf="true">
1076810831
<Str Cat="Text">
1076910832
<Val><![CDATA[Tuple type '{0}' of length '{1}' has no element at index '{2}'.]]></Val>

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

+45
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,18 @@
450450
</Str>
451451
<Disp Icon="Str" />
452452
</Item>
453+
<Item ItemId=";A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086" ItemType="0" PsrId="306" Leaf="true">
454+
<Str Cat="Text">
455+
<Val><![CDATA[A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type.]]></Val>
456+
</Str>
457+
<Disp Icon="Str" />
458+
</Item>
459+
<Item ItemId=";A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087" ItemType="0" PsrId="306" Leaf="true">
460+
<Str Cat="Text">
461+
<Val><![CDATA[A labeled tuple element is declared as rest with a `...` before the name, rather than before the type.]]></Val>
462+
</Str>
463+
<Disp Icon="Str" />
464+
</Item>
453465
<Item ItemId=";A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651" ItemType="0" PsrId="306" Leaf="true">
454466
<Str Cat="Text">
455467
<Val><![CDATA[A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums.]]></Val>
@@ -864,6 +876,12 @@
864876
</Str>
865877
<Disp Icon="Str" />
866878
</Item>
879+
<Item ItemId=";A_tuple_member_cannot_be_both_optional_and_rest_5085" ItemType="0" PsrId="306" Leaf="true">
880+
<Str Cat="Text">
881+
<Val><![CDATA[A tuple member cannot be both optional and rest.]]></Val>
882+
</Str>
883+
<Disp Icon="Str" />
884+
</Item>
867885
<Item ItemId=";A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007" ItemType="0" PsrId="306" Leaf="true">
868886
<Str Cat="Text">
869887
<Val><![CDATA[A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses.]]></Val>
@@ -3519,6 +3537,15 @@
35193537
</Str>
35203538
<Disp Icon="Str" />
35213539
</Item>
3540+
<Item ItemId=";Convert_overload_list_to_single_signature_95118" ItemType="0" PsrId="306" Leaf="true">
3541+
<Str Cat="Text">
3542+
<Val><![CDATA[Convert overload list to single signature]]></Val>
3543+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3544+
<Val><![CDATA[Überladungsliste in einzelne Signatur konvertieren]]></Val>
3545+
</Tgt>
3546+
</Str>
3547+
<Disp Icon="Str" />
3548+
</Item>
35223549
<Item ItemId=";Convert_parameters_to_destructured_object_95075" ItemType="0" PsrId="306" Leaf="true">
35233550
<Str Cat="Text">
35243551
<Val><![CDATA[Convert parameters to destructured object]]></Val>
@@ -6804,6 +6831,12 @@
68046831
</Str>
68056832
<Disp Icon="Str" />
68066833
</Item>
6834+
<Item ItemId=";Move_labeled_tuple_element_modifiers_to_labels_95117" ItemType="0" PsrId="306" Leaf="true">
6835+
<Str Cat="Text">
6836+
<Val><![CDATA[Move labeled tuple element modifiers to labels]]></Val>
6837+
</Str>
6838+
<Disp Icon="Str" />
6839+
</Item>
68076840
<Item ItemId=";Move_to_a_new_file_95049" ItemType="0" PsrId="306" Leaf="true">
68086841
<Str Cat="Text">
68096842
<Val><![CDATA[Move to a new file]]></Val>
@@ -10593,6 +10626,12 @@
1059310626
</Str>
1059410627
<Disp Icon="Str" />
1059510628
</Item>
10629+
<Item ItemId=";This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234" ItemType="0" PsrId="306" Leaf="true">
10630+
<Str Cat="Text">
10631+
<Val><![CDATA[This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?]]></Val>
10632+
</Str>
10633+
<Disp Icon="Str" />
10634+
</Item>
1059610635
<Item ItemId=";This_expression_is_not_constructable_2351" ItemType="0" PsrId="306" Leaf="true">
1059710636
<Str Cat="Text">
1059810637
<Val><![CDATA[This expression is not constructable.]]></Val>
@@ -10758,6 +10797,12 @@
1075810797
</Str>
1075910798
<Disp Icon="Str" />
1076010799
</Item>
10800+
<Item ItemId=";Tuple_members_must_all_have_names_or_all_not_have_names_5084" ItemType="0" PsrId="306" Leaf="true">
10801+
<Str Cat="Text">
10802+
<Val><![CDATA[Tuple members must all have names or all not have names.]]></Val>
10803+
</Str>
10804+
<Disp Icon="Str" />
10805+
</Item>
1076110806
<Item ItemId=";Tuple_type_0_of_length_1_has_no_element_at_index_2_2493" ItemType="0" PsrId="306" Leaf="true">
1076210807
<Str Cat="Text">
1076310808
<Val><![CDATA[Tuple type '{0}' of length '{1}' has no element at index '{2}'.]]></Val>

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

+63
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,24 @@
459459
</Str>
460460
<Disp Icon="Str" />
461461
</Item>
462+
<Item ItemId=";A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086" ItemType="0" PsrId="306" Leaf="true">
463+
<Str Cat="Text">
464+
<Val><![CDATA[A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type.]]></Val>
465+
<Tgt Cat="Text" Stat="Loc" Orig="New">
466+
<Val><![CDATA[Un elemento de tupla etiquetado se declara como opcional con un signo de interrogación después del nombre y antes de los dos puntos, en lugar de después del tipo.]]></Val>
467+
</Tgt>
468+
</Str>
469+
<Disp Icon="Str" />
470+
</Item>
471+
<Item ItemId=";A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087" ItemType="0" PsrId="306" Leaf="true">
472+
<Str Cat="Text">
473+
<Val><![CDATA[A labeled tuple element is declared as rest with a `...` before the name, rather than before the type.]]></Val>
474+
<Tgt Cat="Text" Stat="Loc" Orig="New">
475+
<Val><![CDATA[Un elemento de tupla etiquetado se declara como REST con "..." delante del nombre, en lugar de delante del tipo.]]></Val>
476+
</Tgt>
477+
</Str>
478+
<Disp Icon="Str" />
479+
</Item>
462480
<Item ItemId=";A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651" ItemType="0" PsrId="306" Leaf="true">
463481
<Str Cat="Text">
464482
<Val><![CDATA[A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums.]]></Val>
@@ -876,6 +894,15 @@
876894
</Str>
877895
<Disp Icon="Str" />
878896
</Item>
897+
<Item ItemId=";A_tuple_member_cannot_be_both_optional_and_rest_5085" ItemType="0" PsrId="306" Leaf="true">
898+
<Str Cat="Text">
899+
<Val><![CDATA[A tuple member cannot be both optional and rest.]]></Val>
900+
<Tgt Cat="Text" Stat="Loc" Orig="New">
901+
<Val><![CDATA[Un miembro de tupla no puede ser tanto opcional como REST.]]></Val>
902+
</Tgt>
903+
</Str>
904+
<Disp Icon="Str" />
905+
</Item>
879906
<Item ItemId=";A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007" ItemType="0" PsrId="306" Leaf="true">
880907
<Str Cat="Text">
881908
<Val><![CDATA[A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses.]]></Val>
@@ -3534,6 +3561,15 @@
35343561
</Str>
35353562
<Disp Icon="Str" />
35363563
</Item>
3564+
<Item ItemId=";Convert_overload_list_to_single_signature_95118" ItemType="0" PsrId="306" Leaf="true">
3565+
<Str Cat="Text">
3566+
<Val><![CDATA[Convert overload list to single signature]]></Val>
3567+
<Tgt Cat="Text" Stat="Loc" Orig="New">
3568+
<Val><![CDATA[Convertir lista de sobrecargas en firma única]]></Val>
3569+
</Tgt>
3570+
</Str>
3571+
<Disp Icon="Str" />
3572+
</Item>
35373573
<Item ItemId=";Convert_parameters_to_destructured_object_95075" ItemType="0" PsrId="306" Leaf="true">
35383574
<Str Cat="Text">
35393575
<Val><![CDATA[Convert parameters to destructured object]]></Val>
@@ -6819,6 +6855,15 @@
68196855
</Str>
68206856
<Disp Icon="Str" />
68216857
</Item>
6858+
<Item ItemId=";Move_labeled_tuple_element_modifiers_to_labels_95117" ItemType="0" PsrId="306" Leaf="true">
6859+
<Str Cat="Text">
6860+
<Val><![CDATA[Move labeled tuple element modifiers to labels]]></Val>
6861+
<Tgt Cat="Text" Stat="Loc" Orig="New">
6862+
<Val><![CDATA[Mover modificadores de elemento de tupla etiquetados a etiquetas]]></Val>
6863+
</Tgt>
6864+
</Str>
6865+
<Disp Icon="Str" />
6866+
</Item>
68226867
<Item ItemId=";Move_to_a_new_file_95049" ItemType="0" PsrId="306" Leaf="true">
68236868
<Str Cat="Text">
68246869
<Val><![CDATA[Move to a new file]]></Val>
@@ -10611,6 +10656,15 @@
1061110656
</Str>
1061210657
<Disp Icon="Str" />
1061310658
</Item>
10659+
<Item ItemId=";This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234" ItemType="0" PsrId="306" Leaf="true">
10660+
<Str Cat="Text">
10661+
<Val><![CDATA[This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?]]></Val>
10662+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10663+
<Val><![CDATA[No se puede llamar a esta expresión porque es un descriptor de acceso "get". ¿Pretendía usarlo sin "()"?]]></Val>
10664+
</Tgt>
10665+
</Str>
10666+
<Disp Icon="Str" />
10667+
</Item>
1061410668
<Item ItemId=";This_expression_is_not_constructable_2351" ItemType="0" PsrId="306" Leaf="true">
1061510669
<Str Cat="Text">
1061610670
<Val><![CDATA[This expression is not constructable.]]></Val>
@@ -10776,6 +10830,15 @@
1077610830
</Str>
1077710831
<Disp Icon="Str" />
1077810832
</Item>
10833+
<Item ItemId=";Tuple_members_must_all_have_names_or_all_not_have_names_5084" ItemType="0" PsrId="306" Leaf="true">
10834+
<Str Cat="Text">
10835+
<Val><![CDATA[Tuple members must all have names or all not have names.]]></Val>
10836+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10837+
<Val><![CDATA[Todos los miembros de tupla deben tener nombres o no debe tenerlo ninguno de ellos.]]></Val>
10838+
</Tgt>
10839+
</Str>
10840+
<Disp Icon="Str" />
10841+
</Item>
1077910842
<Item ItemId=";Tuple_type_0_of_length_1_has_no_element_at_index_2_2493" ItemType="0" PsrId="306" Leaf="true">
1078010843
<Str Cat="Text">
1078110844
<Val><![CDATA[Tuple type '{0}' of length '{1}' has no element at index '{2}'.]]></Val>

0 commit comments

Comments
 (0)