The Wayback Machine - https://web.archive.org/web/20200528053506/https://github.com/roots/sage/issues/2335
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`wp i18n make-pot`: Warnings #2335

Open
strarsis opened this issue Oct 31, 2019 · 0 comments
Open

`wp i18n make-pot`: Warnings #2335

strarsis opened this issue Oct 31, 2019 · 0 comments

Comments

@strarsis
Copy link

@strarsis strarsis commented Oct 31, 2019

Description

wp i18n make-pot lists warnings when extracting strings from a sage 9 theme:

Warning: The string "Search Results for %s" contains placeholders but has no "translators:" comment to clarify their meaning. (app/controllers/app.php:26)
Warning: The string "Error locating <code>%s</code> for inclusion." contains placeholders but has no "translators:" comment to clarify their meaning. (resources/functions.php:59)

Steps to reproduce

  1. Create new theme based on sage 9.
  2. Use wp i18n make-pot to extract strings (e.g. as npm script).

Expected behavior: No warnings emitted from wp cli i18n.

Actual behavior: Warnings emitted from wp cli i18n

Reproduces how often: Always.

Versions

### 9.0.9: February 13th, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.