Translation strings missing textdomain
pedro-mendonca opened this issue · 0 comments
pedro-mendonca commented
Describe the bug
A few translation strings have no textdomain, from the IP address input on the settings page.
Steps to Reproduce
- Set your site/user language other than en_US
- Go to the plugin 'Settings'
- Scroll down to 'Unrestricted IP Addresses'
- See error the two inputs untranslated
Expected behavior
The placeholders should be translated or translatable
Additional help
You can add the following rule to your new phpcs.xml.dist too keep track of errors like these
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array" value="restricted-site-access"/>
</properties>
</rule>