CodeCop Warning AA0470
Placeholders should have a comment explaining their content.
Description
Provide an explanation that describes the content of each of the placeholders.
Reason for the rule
Documentation of placeholders is required in order to enable translators to properly know the construct of the label to be translated.
Bad code example
MissingNodeErr: Label 'Cannot find an XML node that matches %1 or %2.';
Good code example
MissingNodeErr: Label 'Cannot find an XML node that matches %1 or %2.', Comment = '%1 = XML node name ; %2 = Parent XML node name';
See Also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : pendant toute l’année 2024, nous allons éliminer progressivement Problèmes GitHub comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, voir :Soumettre et afficher des commentaires pour