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

i18n: Unwind "Cannot {} package \"{}\"" message #1489

Merged

Conversation

ppisar
Copy link
Contributor

@ppisar ppisar commented May 14, 2024

Correct localization depends on the first argument. This patch fixes it by spelling the complete sentence.

Note: libdnf_assert(), libdnf_throw_assertion() cannot be internationalized because undelying fmt::format() requires a costexpr. Hence the formatting string cannot be computed at runtime.

Fixes #1488

Correct localization depends on the first argument. This patch fixes
it by spelling the complete sentence.

Note: libdnf_assert(), libdnf_throw_assertion() cannot be
internationalized because undelying fmt::format() requires a costexpr.
Hence the formatting string cannot be computed at runtime.

Fixes rpm-software-management#1488
@evan-goode evan-goode self-assigned this May 14, 2024
@ppisar ppisar added this pull request to the merge queue May 16, 2024
Merged via the queue into rpm-software-management:main with commit ae824d8 May 16, 2024
17 of 19 checks passed
@ppisar ppisar deleted the i18n_transaction_install_up_down branch May 16, 2024 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

String should be split into multiple strings
2 participants