10up/restricted-site-access

Translation strings missing textdomain

pedro-mendonca opened this issue · 0 comments

Describe the bug
A few translation strings have no textdomain, from the IP address input on the settings page.

Steps to Reproduce

  1. Set your site/user language other than en_US
  2. Go to the plugin 'Settings'
  3. Scroll down to 'Unrestricted IP Addresses'
  4. 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>