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

tinygettext translations with a %s substitution are displaying in English, not the specified language #2700

Closed
jamescdericco opened this issue Dec 12, 2023 · 1 comment

Comments

@jamescdericco
Copy link

jamescdericco commented Dec 12, 2023

SuperTux version:
SuperTux master commit ab55701

System information:
Fedora Linux 38 (Container Image), kernel 6.6.3-200.fc39.x86_64.

Expected behavior

Running LANG=es ./supertux2 --help should display "Uso: " on the first line of output.

Actual behavior

Running LANG=es ./supertux2 --help actually displays "Usage:", it does not display the Spanish translation as it should.

Steps to reproduce actual behavior

Run LANG=es ./supertux2 --help

Notes

This affects translations throughout SuperTux, not just the command line usage printout. For example, the level intro "contributed by" sentence is also affected by this issue, since its code uses "%s" substitution in the .po files.

@tobbi
Copy link
Member

tobbi commented Mar 3, 2024

Fixed by e803444

@tobbi tobbi closed this as completed Mar 3, 2024
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

2 participants