When using the ACL module in conjunction with this one I get the following error.

User error: Invalid placeholder (!op) in string: Grant !op access in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 240 of core/lib/Drupal/Component/Render/FormattableMarkup.php).

Looking at the documentation it looks like the ! operator found here

Is not used in D8

Comments

geekygnr created an issue. See original summary.

geekygnr’s picture

StatusFileSize
new882 bytes

Here is a patch the removes the errors.

acrosman’s picture

Status: Active » Needs review
lpsolit’s picture

Status: Needs review » Reviewed & tested by the community

Yes, correct.

lpsolit’s picture

Title: Invalid placeholder in translate funcntion » Invalid placeholder in translate function
sutharsan’s picture

This is a no-brainer, let's get it in!

sunja’s picture

marked issue #2882691: Error in admin interface display as a duplicate of this issue.

ameymudras’s picture

StatusFileSize
new882 bytes

Rerolling the patch

mattjones86’s picture

Patch in #8 works a treat for me.

fago’s picture

Thanks, committed.

fago’s picture

Status: Reviewed & tested by the community » Fixed

  • fago committed 9bc7f73 on 8.x-1.x authored by ameymudras
    Issue #2753213 by geekygnr, ameymudras: Invalid placeholder in translate...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.