Skip to content
This repository was 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

@akbet

Description

@akbet

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugThere is a bug in the plugin.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions