LC0041 - StefanMaron/BusinessCentral.LinterCop GitHub Wiki

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