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

transliterate option of test_language plugin should not modify printf() parameter fields #133

Open
li-dl opened this issue May 3, 2021 · 0 comments

Comments

@li-dl
Copy link

li-dl commented May 3, 2021

I have a string which has been extracted from C++ code which uses printf() parameter fields: https://en.wikipedia.org/wiki/Printf_format_string#Parameter_field

The transliterate option of the test_language plugin in Serge v1.4 is modifying the format sub-strings when they should be left as-is.

Location String
C++ code Showing %1$d of %2$d instruments
Actual Serge output Šĥőŵĩŋğ %1$đ őḟ %2$đ ĩŋšţŕũḿēŋţš
Desired Serge output Šĥőŵĩŋğ %1$d őḟ %2$d ĩŋšţŕũḿēŋţš

i.e. The d type field should not be changed to đ

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