Skip to content

Otter Blocks build contains translation domain from sub-plugins #2657

@Soare-Robert-Daniel

Description

@Soare-Robert-Daniel

Description

Reference: https://wordpress.org/support/topic/some-strings-are-not-shown-translated/

Our dist folder for Otter Blocks is sent with the sub-plugin's text domain. The fixer from phpcs does not detect the issue to fix it.

I checked, and updating the versions of the WordPress phpcs packages fixes this issue.

Step-by-step reproduction instructions

  1. Download the otter build (v3.1.1)
  2. Check the file class-blocks-animation.php
  3. It contains translations like __( 'Activate %s', 'blocks-animation' )

Screenshots, screen recording, code snippet or Help Scout ticket

No response

Environment info

No response

Is the issue you are reporting a regression

No

Metadata

Metadata

Labels

bugThis label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions