Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

WARNING: Found a translation function that is missing a text-domain in the file #247

Open
akbet opened this issue Aug 9, 2023 · 0 comments
Labels
Type: Bug There is a bug in the plugin.

Comments

@akbet
Copy link

akbet commented Aug 9, 2023

Describe the bug
A clear and concise description of what the bug is.

The Plugin incorrect check "text-domain"

To Reproduce
Steps to reproduce the behavior:

1 Download Gormet theme from here:
https://ordasvit.com/index.php?option=com_os_cck&task=fileDownload&fid=128&field=239&eiid=540

  1. Run check Plugin for it
  2. First error will:

WARNING: Found a translation function that is missing a text-domain in the file inc/class-tgm-plugin-activation.php. Function _n_noop, with the arguments 'This theme requires the following plugin: %1$s.', 'This theme requires the following plugins: %1$s.'.

row in file look like:
'notice_can_install_required' => _n_noop( 'This theme requires the following plugin: %1$s.', 'This theme requires the following plugins: %1$s.', $this->domain ),

  1. $this->domain - there "theme name" -> gourmet
    5 If I replace $this->domain to "gourmet" - the error same

exactly all other errors

@akbet akbet added the Type: Bug There is a bug in the plugin. label Aug 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug There is a bug in the plugin.
Projects
None yet
Development

No branches or pull requests

1 participant