Skip to content

Validate strings with placeholders in make-mo/make-php #434

Open
@swissspidy

Description

@swissspidy

This is a follow-up to #427

Ideally we add some validation logic to make-mo and make-php as well. We already do some validation in make-pot (see audit_strings() method, which we could extract into a reusable trait.

Maybe make-json too?

Prevents you from generating translation files with incorrect placeholders in them.

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