Skip to content

Transition item is translated with a "leading" underscore #8

@gremo

Description

@gremo

Maybe a minor issue, but the getLabel method is missing the $type argument:

$menu->addChild(
    $admin->getLabelTranslatorStrategy()->getLabel($transition->getName(), 'workflow'),
    $options
);

Which leads to something like:

workflow:
    _accept: Accetta
    _reject: Rifiuta
    _submit: Invia
    _suspend: Sospendi

What about using "label" or "transition" as $type argument?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions