Created attachment 826212 [details] xgettext output There are numerous cases where we are calling gettext with positional string substitution, which does not work. We must always use name-based substitution in case a translate needs to change the word order. The attached output is for the platform only. "xgettext" should be run in pulp_rpm and pulp_puppet as well, where I suspect more errors will be found.
https://github.com/pulp/pulp_rpm/pull/395 https://github.com/pulp/pulp/pull/719
build: 2.4.0-0.7.beta
This can be verified by running the same two commands shown at the top of the attachment, and making sure the list of warnings is shorter than the list in the attachment.
verified [root@yttrium ~]# rpm -qa pulp-server pulp-server-2.4.0-0.23.beta.el6.noarch [root@yttrium ~]# [root@yttrium ~]# find . -name *.py > source_files.txt [root@yttrium ~]# xgettext -f source_files.txt -o catalog.pot [root@yttrium ~]#
This has been fixed in Pulp 2.4.0-1.