Skip to content

[Issue] Remove sprintf usage in phrase calls #40050

Open
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #40033: Remove sprintf usage in phrase calls


Description (*)

Remove the usage of sprintf in the phrase function call in the Magento core.
Using sprintf to interpolate variable in the phrase prevent the phrase to be localized by said function.

Related Pull Requests

Fixed Issues (if relevant)

  1. Fixes magento/magento2#<issue_number>

Manual testing scenarios (*)

  1. ...
  2. ...

Questions or comments

It exists other cases in Magento packages, but some are closed to public contribution.

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Ready for Development

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions