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

i18n #298

Open
tobifjellner opened this issue Nov 29, 2019 · 0 comments
Open

i18n #298

tobifjellner opened this issue Nov 29, 2019 · 0 comments

Comments

@tobifjellner
Copy link

Hi,
While checking one of the translations of this plugin, I stumbled over a construction that doesn't work as expected:
__('manually, using <code>'.esc_html($this->shortcode($this->options)).'</code> shortcode','theatre')

Only the first substring gets imported to translate.wordpress.org

Use printf() and a placeholder %s in the string to inject the variable part (including the “code” tag pair) and give the translators this: “manually, using %s shortcode”

Appr. location (in SVN): /trunk/functions/wpt_listing_page.php#L391

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant