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

Clarify translations context for error messages #613

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

francoisfreitag
Copy link
Collaborator

Since 9923578, the error message for invalid phone number is annotated with both:

  • {example_number} is a national phone number
  • {example_number} is an international phone number

The comment does not allow to offer a different translation for each context. Instead, use pgettext to offer context information.

Since 9923578, the error message for
invalid phone number is annotated with both:
- {example_number} is a national phone number
- {example_number} is an international phone number

The comment does not allow to offer a different translation for each
context. Instead, use `pgettext` to offer context information.
@francoisfreitag francoisfreitag merged commit eb71ef4 into stefanfoulis:main Jul 16, 2024
38 checks passed
@francoisfreitag francoisfreitag deleted the msg branch July 16, 2024 09:28
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

Successfully merging this pull request may close these issues.

1 participant