Class used to handle translation errors.
since | 4.0.0 |
---|---|
package | GlotPress |
add_all(\GP_Translation_Errors $translation_errors)
since | 4.0.0 |
---|---|
access | public |
\GP_Translation_Errors
Instance of GP_Translation_Errors.
error_unexpected_sprintf_token(string $original, string $translation) : boolean | string
This is to catch translations for originals like this:
<a href="%s">100 percent</a>
<a href="%s">100%</a>
<a href="%s">100%%</a>
since | 4.0.0 |
---|---|
access | public |
string
The original string.
string
The translated string.
boolean
string