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

Untranslatable string in option documentation #1

Open
acolomb opened this issue Jul 22, 2015 · 0 comments
Open

Untranslatable string in option documentation #1

acolomb opened this issue Jul 22, 2015 · 0 comments
Labels

Comments

@acolomb
Copy link
Owner

acolomb commented Jul 22, 2015

The string in https://github.com/acolomb/elf-mangle/blob/master/src/options.c#L104 cannot be sensibly translated. It consists of a fixed string literal part, joined with a stringified compile-time parameter, followed by another fixed string literal. Only the first string literal shows up in the POT file. The full string is generated at preprocessing time, but constant at run time.

This is problematic because

  1. Translators cannot see the whole string.
  2. At run time, the whole string is searched in the translation.
  3. The string might differ from the translated one if FIND_STRING_DEFAULT_LENGTH was changed before compilation.

Help needed...

@acolomb acolomb added the bug label Jul 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant