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

Make translation string extraction work with rust #10345

Merged
merged 2 commits into from Mar 9, 2024

Commits on Mar 5, 2024

  1. Copy the full SHA
    562d0fe View commit details
    Browse the repository at this point in the history
  2. Make fish_xgettext sorta work with rust

    This is absolutely disgusting code, but it works out okay-ish.
    
    The problem is xgettext has no rust support (it's stuck in review
    limbo). So we use cargo-expand to extract all invocations of
    gettext, and massage all that to generate a
    messages.pot ourselves.
    
    We also assume any string constant could be translated.
    faho committed Mar 5, 2024
    Copy the full SHA
    965c407 View commit details
    Browse the repository at this point in the history