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

"Multiple unnamed variables" for Python format source string with one format #5207

Closed
eighthave opened this issue Jan 14, 2021 · 2 comments
Closed
Assignees
Labels
bug Something is broken.
Milestone

Comments

@eighthave
Copy link
Contributor

Describe the issue

Command '%s' not recognised. is being flagged with "Multiple unnamed variables"

To Reproduce the issue

https://hosted.weblate.org/translate/f-droid/fdroidserver/en/?checksum=391386acdf263ec

Expected behavior

No failing check.

@nijel nijel added the bug Something is broken. label Jan 15, 2021
@nijel
Copy link
Member

nijel commented Jan 15, 2021

It's caused by flagging the string both c-format and python-format. Weblate should detect in such case that the extracted format string is actually same in both cases.

@nijel nijel self-assigned this Jan 15, 2021
@nijel nijel added this to the 4.5 milestone Jan 15, 2021
@nijel nijel closed this as completed in 73d39c7 Jan 15, 2021
@github-actions
Copy link

Thank you for your report, the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken.
Projects
None yet
Development

No branches or pull requests

2 participants