-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Mismatched text domain. Expected 'kala' but got 'meom-blocks'.
| | (WordPress.WP.I18n.TextDomainMismatch)
Above is outputted when using command ./vendor/bin/phpcs htdocs/wp-content/plugins/meomblocks with this .phpcs.xml.dist in meoblocks root.
<?xml version="1.0"?>
<ruleset name="Project Rules">
<rule ref="MEOM-default" />
<!-- Verify that the text_domain is set to the desired text-domain.
Multiple valid text domains can be provided as a new element. -->
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="meom-blocks"/>
</property>
</properties>
</rule>
</ruleset>Maybe we need to remove checking kala text-domain check from this main PHPCS rules and it in theme or plugin root folder.
Metadata
Metadata
Assignees
Labels
No labels