Skip to content
Arthur edited this page Dec 6, 2023 · 2 revisions

Empty Captions should be Locked.

If an Caption property is empty, the Caption should be Locked to prevent their addition to the translations file.

enum 50100 MyCustomCodeAnalyzer
{
    value(0; " ")
    {
        Caption = ' ', Locked = true;
    }
    value(1; LinterCop)
    {
        Caption = 'LinterCop';
    }
    value(2; CompanialCop)
    {
        Caption = 'CompanialCop';
    }
}
Clone this wiki locally