There are several problems in translations which will result in traceback under given localization: Since localization tool reformat the string I highlight the problematic parts: msgid "Unsuccessfully forgot option [ %s ]" -msgstr "Opção " +msgstr "Sem sucesso esqueci opção [ %s ]" ^ missing %s msgid "Cannot find permission [ %s ] for user role [ %s ]" -msgstr "사용자 역할 [ %s ]의 권한을 찾을 수 없음 " +msgstr "사용자 역할 [ %s ]의 권한을 [ %s ] 찾을 수 없음 " ^ missing %s msgid "name of the parameter, %s must follow" -msgstr "参数名,% 必须跟着" +msgstr "参数名,%s 必须跟着" ^ missign s after percent char msgid "Repo List for Product %s in Org %s " -msgstr "机构 %s 中产品的库列表" +msgstr "机构 %s 中产品的库列表 %s" ^ missign s after percent char
Created attachment 693443 [details] Patch
Katello upstream is not affected, this is related only to SAM.
Since this is used in python code, it will raise traceback when used: [16:51] <msuchy> >>> "foo %s" % 1 [16:51] <msuchy> 'foo 1' [16:51] <msuchy> >>> "foo" % 1 [16:51] <msuchy> Traceback (most recent call last): [16:51] <msuchy> File "<stdin>", line 1, in <module> [16:51] <msuchy> TypeError: not all arguments converted during string formatting [16:52] <msuchy> >>> "foo %s %s" % 1 [16:52] <msuchy> Traceback (most recent call last): [16:52] <msuchy> File "<stdin>", line 1, in <module> [16:52] <msuchy> TypeError: not enough arguments for format string
1.4.3-11-sat has the latest strings, so these bugs shuld be fixed.
> msgid "Repo List for Product %s in Org %s " I would guess that this will be used when you use katello-cli to list repositories for some products.
The make scripts now check for this, and therefore there should be no failed messages. There may be incomplete translations, but there should not be failed messages now.
VERIFIED. I did not see any traceback now. Attached the output of the .po files test. Version Tested: * candlepin-0.8.25-1.el6sam.noarch * candlepin-scl-1-5.el6_4.noarch * candlepin-scl-quartz-2.1.5-5.el6_4.noarch * candlepin-scl-rhino-1.7R3-1.el6_4.noarch * candlepin-scl-runtime-1-5.el6_4.noarch * candlepin-selinux-0.8.25-1.el6sam.noarch * candlepin-tomcat6-0.8.25-1.el6sam.noarch * elasticsearch-0.19.9-8.el6sat.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.4.2-2.el6sat.noarch * katello-cli-1.4.3-10.el6sat.noarch * katello-cli-common-1.4.3-10.el6sat.noarch * katello-common-1.4.3-12.el6sam_splice.noarch * katello-configure-1.4.4-4.el6sat.noarch * katello-glue-candlepin-1.4.3-12.el6sam_splice.noarch * katello-glue-elasticsearch-1.4.3-12.el6sam_splice.noarch * katello-headpin-1.4.3-12.el6sam_splice.noarch * katello-headpin-all-1.4.3-12.el6sam_splice.noarch * katello-selinux-1.4.4-2.el6sat.noarch * thumbslug-0.0.34-1.el6sam.noarch * thumbslug-selinux-0.0.34-1.el6sam.noarch
Created attachment 796127 [details] po files test output.log
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1390.html