Red Hat Bugzilla – Bug 1417731
[ko][pt_BR] pofilter endwhitespace test fails for subscription-manager 1.18.X
Last modified: 2017-03-21 06:58:05 EDT
Description of problem: After the translation team worked on Bug 1391681, the following pofilter endwhitespace tests are failing... Version-Release number of selected component (if applicable): [root@bkr-hv03-guest24 ~]# rpm -q subscription-manager subscription-manager-1.18.8-1.el6.x86_64 https://translate.zanata.org/iteration/view/subscription-manager/1.18.X How reproducible: always
For an explanation of pofilter test 'endwhitespace', see: http://translate.sourceforge.net/wiki/toolkit/pofilter_tests ssh root@jsefler-rhel6server.usersys.redhat.com pofilter --gnome -t endwhitespace /usr/share/locale/ko/LC_MESSAGES/rhsm.po Stdout: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-01-20 04:05-0500\n" "PO-Revision-Date: 2017-01-08 08:35-0500\n" "Last-Translator: eukim <eukim@fedoraproject.org>\n" "Language-Team: Korean\n" "Language: ko\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0\n" "X-Generator: Zanata 3.9.6\n" # (pofilter) endwhitespace: Different whitespace at the end msgid "%s: file not found." msgstr "%s: 파일을 찾을 수 없습니다. " # (pofilter) endwhitespace: Different whitespace at the end msgid "Derived Products:" msgstr "파생 제품: " # (pofilter) endwhitespace: Different whitespace at the end msgid "Error: You must specify an override name with --remove." msgstr "오류: -remove로 덮어쓰기 이름을 지정해야 합니다. " # (pofilter) endwhitespace: Different whitespace at the end msgid "The --remove-rhn-packages and --keep options cannot be used together." msgstr " --remove-rhn-packages 및 --keep 옵션은 동시에 사용할 수 없습니다. " # (pofilter) endwhitespace: Different whitespace at the end msgid "The --remove-rhn-packages option must be used with --registration-state=purge." msgstr "--remove-rhn-packages 옵션은 --registration-state=purge로 사용해야 합니다. " # (pofilter) endwhitespace: Different whitespace at the end msgid "Validating connection" msgstr "연결 확인 중 " # (pofilter) endwhitespace: Different whitespace at the end msgid "remove legacy packages" msgstr "기존 패키지 삭제 " Stderr: processing 1 files... [###########################################] 100% ExitCode: 0 Asserted: Actual value of '0' matches expected value: Successfully executed the pofilter tests. Test Failed: subscriptionManagerPofilter_Test Test Failed: subscriptionManagerPofilter_Test Test Failed: subscriptionManagerPofilter_Test java.lang.AssertionError: Discounting the ignored test results, the number of failed pofilter 'endwhitespace' tests for translation file '/usr/share/locale/ko/LC_MESSAGES/rhsm.mo'. expected:<0> but was:<7>
For an explanation of pofilter test 'endwhitespace', see: http://translate.sourceforge.net/wiki/toolkit/pofilter_tests ssh root@jsefler-rhel6server.usersys.redhat.com pofilter --gnome -t endwhitespace /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.po Stdout: msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-01-20 04:05-0500\n" "PO-Revision-Date: 2017-01-05 12:40-0500\n" "Last-Translator: Andrea Dallape <adallape@redhat.com>\n" "Language-Team: Portuguese (Brazil)\n" "Language: pt-BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" "X-Generator: Zanata 3.9.6\n" # (pofilter) endwhitespace: Different whitespace at the end msgid "Error: You must specify an override name with --remove." msgstr "Erro: É necessário especificar um nome de substituição com --remove. " # (pofilter) endwhitespace: Different whitespace at the end msgid "_Password:" msgstr "_Senha: " Stderr: processing 1 files... [###########################################] 100% ExitCode: 0 Asserted: Actual value of '0' matches expected value: Successfully executed the pofilter tests. Test Failed: subscriptionManagerPofilter_Test Test Failed: subscriptionManagerPofilter_Test Test Failed: subscriptionManagerPofilter_Test java.lang.AssertionError: Discounting the ignored test results, the number of failed pofilter 'endwhitespace' tests for translation file '/usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo'. expected:<0> but was:<2>
I have updated Zanata project 1.18.X for the failed translations for 'endwhitespace' tests against both [ko] and [pt_BR]. Devel team simply needs to re-pull the translations from https://translate.zanata.org/iteration/view/subscription-manager/1.18.X
Verifying Version.... [root@jsefler-rhel6 ~]# rpm -q subscription-manager subscription-manager-1.18.9-1.el6.x86_64 [root@jsefler-rhel6 ~]# msgunfmt --no-wrap /usr/share/locale/ko/LC_MESSAGES/rhsm.mo -o /usr/share/locale/ko/LC_MESSAGES/rhsm.po [root@jsefler-rhel6 ~]# pofilter --gnome -t endwhitespace /usr/share/locale/ko/LC_MESSAGES/rhsm.po processing 1 files... [###########################################] 100% [root@jsefler-rhel6 ~]# VERIFIED: all [ko] pofilter endwhitespace test are passing [root@jsefler-rhel6 ~]# msgunfmt --no-wrap /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo -o /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.po [root@jsefler-rhel6 ~]# pofilter --gnome -t endwhitespace /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.po processing 1 files... [###########################################] 100% [root@jsefler-rhel6 ~]# VERIFIED: all [pt_BR] pofilter endwhitespace test are passing
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. https://rhn.redhat.com/errata/RHSA-2017-0698.html