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

Annotate some strings with xgettext:no-c-format #1908

Merged
merged 1 commit into from
Sep 18, 2021

Commits on Sep 17, 2021

  1. Annotate some strings with xgettext:no-c-format

    Some descriptions of location properties contain the text "100%
    overlap".  When extracting text for translation, `xgettext`
    misidentifies this as containing the C format string "% o", and tags it
    as `c-format`.  Translation tools that are sensitive to this will
    require that translations contain matching format strings; since in this
    case the format string is nonsensical, that is often not reasonably
    possible.  See:
    
      https://answers.launchpad.net/launchpad/+question/698762
    
    The description of the DotRange tag contains the text "0% dot and 100%
    dot", which is similarly misidentified.
    
    To fix this, inform `xgettext` that the messages do not contain C format
    strings, as documented here (towards the end):
    
      https://www.gnu.org/software/gettext/manual/html_node/c_002dformat-Flag.html
    cjwatson committed Sep 17, 2021
    Configuration menu
    Copy the full SHA
    f643d9b View commit details
    Browse the repository at this point in the history