Skip to content

Translators comment audit - tell me in which files the different comment is #227

@kkmuffme

Description

@kkmuffme

I have 1000s of files (from different projects that share a text-domain since its the same theme and texts just with slightly different design) with this string:
'Hi %s'

I get the following error:
Warning: The string "Hi %s," has 3 different translator comments. (some/file.php)

Since wp-cli knows in which these different translator comments are, could you please also output this info to the user?
Since I have about 7 of these warnings, it would take weeks to sift through all files and check where/what is different, since sometimes strings are on the same line, sometimes on the previous,...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions