Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.21 KB

File metadata and controls

38 lines (31 loc) · 1.21 KB
title description ms.author ms.date ms.topic author ms.reviewer
CodeCop Warning AA0470
Provide an explanation that describes the content of each of the placeholders.
solsen
05/14/2024
reference
SusanneWindfeldPedersen
solsen

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

CodeCop Analyzer
Get Started with AL
Developing Extensions