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

Warnings when compiling translatable strings #101

Open
EbonJaeger opened this issue Nov 23, 2024 · 1 comment
Open

Warnings when compiling translatable strings #101

EbonJaeger opened this issue Nov 23, 2024 · 1 comment

Comments

@EbonJaeger
Copy link
Member

There are a number of warnings emitted when generating the pot file for translations. We should fix those.

po/pisi.po: warning: Charset "CHARSET" is not a portable encoding name.
                     Message conversion to user's charset might not work.
pisi/cli/listrepo.py:35: warning: 'msgid' 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.
pisi/operations/install.py:117: warning: 'msgid' 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.
pisi/operations/upgrade.py:169: warning: 'msgid' 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.
pisi/operations/upgrade.py:197: warning: 'msgid' 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.
pisi/operations/upgrade.py:216: warning: 'msgid' 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.
pisi/atomicoperations.py:77: warning: 'msgid' 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.
pisi/atomicoperations.py:199: warning: 'msgid' 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.
pisi/atomicoperations.py:255: warning: 'msgid' 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.
pisi/specfile.py:301: warning: 'msgid' 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.
pisi/specfile.py:398: warning: 'msgid' 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.
pisi/specfile.py:507: warning: 'msgid' 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.
pisi/util.py:231: warning: 'msgid' 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.
@ermo
Copy link
Contributor

ermo commented Nov 23, 2024

We should fix those.

😭

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

No branches or pull requests

2 participants