Placeables: Skip non-placeholders with whitespace#3414
Placeables: Skip non-placeholders with whitespace#3414unho wants to merge 1 commit intotranslate:masterfrom
Conversation
|
@unho mmm you mean except that space in that place is actually valid :( |
|
@dwaynebailey I mean that we don't want to mark as placeable strings with stuff that are not format placeholders. For example "%s" is a placeholder, but "% s" is not. |
|
This placeholder is implementing printf as in The docs state: I agree its a corner case. But until I actually hear arguments about why and documents in the change I convinced that nobody has even bothered to look at the comments in the function or the manual page. |
bfec65f to
ce2d9e4
Compare
This fix prevents from detecting strings like "% s" to be format placeholders. Fixes translate#3368.
This fix prevents from detecting strings like "% s" to be format placeholders.
Fixes #3368.