Skip to content

i18n: Replace strings constructed by parts with complete strings #5938

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

echoix
Copy link
Member

@echoix echoix commented Jun 22, 2025

  • Added translation comments for context on the units

  • Made strings reorderable for translation
    A few strings were flagged by when running xgettext, mentioning that format string with unnamed arguments cannot be properly localized:
    The translator cannot reorder the arguments.
    Please consider using a format string with named arguments,
    and a mapping instead of a tuple for the arguments.

  • Also shoved in fixes of some typos encountered during that search.

echoix added 4 commits June 22, 2025 03:58
A few strings were flagged by when running xgettext, mentioning that format string with unnamed arguments cannot be properly localized:
The translator cannot reorder the arguments.
Please consider using a format string with named arguments,
and a mapping instead of a tuple for the arguments.
@echoix echoix added the translation Message translation related label Jun 22, 2025
@github-actions github-actions bot added GUI wxGUI related vector Related to vector data processing raster Related to raster data processing Python Related code is in Python C Related code is in C database Related to database management libraries module display imagery labels Jun 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C Related code is in C database Related to database management display GUI wxGUI related imagery libraries module Python Related code is in Python raster Related to raster data processing translation Message translation related vector Related to vector data processing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant