Bearbeiten

Freigeben über


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';

CodeCop Analyzer
Get Started with AL
Developing Extensions