-
Notifications
You must be signed in to change notification settings - Fork 4
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
Please add checks for Perl String::Errf format #5
Comments
The bug in question looked like this: #, perl-brace-format
msgid "Downloading the upgrade to %{name}s %{version}s..."
msgstr "%{name} %{version} güncellemesi indiriliyor..." The message was flagged as
This is different format than String::Errf. In particular, the lack of So I have the following questions:
To be clear, i18nspector doesn't support Locale::TextDomain format strings either, but I could be more easily convinced to add checks for something that's understood by GNU gettext. |
Thanks a lot for all this detailed info. Sorry I did not do my
homework properly before filing this issue!
So I have the following questions:
* Is gettext + String::Errf a common combination in the Perl world?
Judging by reverse-dependencies in CPAN, reverse-dependencies in
Debian, and Debian popcon, it looks like the answer is a clear "no".
* If no, would it make sense for Tails to switch to Locale::TextDomain?
At first glance, it seems entirely feasible. I'll give it a try!
To be clear, i18nspector doesn't support Locale::TextDomain format strings either, but I could be more easily convinced to add checks for something that's understood by GNU gettext.
This totally makes sense to me. Shall we repurpose this issue to be
about supporting `Locale::TextDomain` format strings, or do you prefer
rejecting this one and me filing a new issue?
|
I've marked this as wontfix, and opened #6. |
Hi!
It would be nice to have some basic checks for
perl-brace-format
, as implemented by https://metacpan.org/pod/String::Errf.The equivalent of
python-format-string-argument-type-mismatch
andpython-format-string-missing-argument
, even without support for plural forms, would already be a great start, and would have avoided a serious bug in Tails.Thanks for considering :)
The text was updated successfully, but these errors were encountered: