Skip to content

False positive in FormattingPlaceable #3368

@mathjazz

Description

@mathjazz

In the following example, "% s" is detected as a placeable:
"xx% support a Web" -> "xx% support a Web"

The regex should be able to detect the whitespace between % and s and abort.

More specifically, the bug is probably in:
https://github.com/translate/translate/blob/master/translate/storage/placeables/general.py#L150

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions