mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-05 04:59:42 +00:00
b945bf050a
If a string contains more than one unnamed argument it's hard for translators to proper localize as they don't know which value is represented by a unnamed argument. It also blocks them to use a different order of arguments which would make better sense in other languages. Fixes: $ xgettext --default-domain=python -L Python --keyword=_ --keyword=N_ ../audit2allow/audit2allow ../chcat/chcat ../semanage/semanage ../semanage/seobject.py ../sepolgen/src/sepolgen/interfaces.py ../sepolicy/sepolicy/generate.py ../sepolicy/sepolicy/gui.py ../sepolicy/sepolicy/__init__.py ../sepolicy/sepolicy/interface.py ../sepolicy/sepolicy.py ../chcat/chcat:220: 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. ../semanage/seobject.py:1178: 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. ... Signed-off-by: Petr Lautrbach <lautrbach@redhat.com> Acked-by: James Carter <jwcart2@gmail.com> |
||
---|---|---|
.. | ||
ru | ||
Makefile | ||
semanage | ||
semanage-bash-completion.sh | ||
semanage-boolean.8 | ||
semanage-dontaudit.8 | ||
semanage-export.8 | ||
semanage-fcontext.8 | ||
semanage-ibendport.8 | ||
semanage-ibpkey.8 | ||
semanage-import.8 | ||
semanage-interface.8 | ||
semanage-login.8 | ||
semanage-module.8 | ||
semanage-node.8 | ||
semanage-permissive.8 | ||
semanage-port.8 | ||
semanage-user.8 | ||
semanage.8 | ||
seobject.py | ||
test-semanage.py |