Description of problem: The gnome options were not properly translated for 'pt_BR' language. Sample output is shown below, Version-Release number of selected component (if applicable): [root@fsharath-rhel63server ~]# rpm -q subscription-manager subscription-manager-0.99.19-1.el6.x86_64 How reproducible: [root@fsharath-rhel63server ~]# msgunfmt --no-wrap /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo -o /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.po [root@fsharath-rhel63server ~]# pofilter --gnome -t options /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.po processing 1 files... msgid "" msgstr "" "Project-Id-Version: pt_BR\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-05-16 08:40-0400\n" "PO-Revision-Date: 2012-04-12 09:51-0400\n" "Last-Translator: gcintra <gcintra>\n" "Language-Team: <en>\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 1.5.0\n" # (pofilter) options: Missing or translated option '--available' msgid "date to search on, defaults to today's date, only used with --available (example: %s)" msgstr "data a buscar, padrão é o dia de hoje, usad com o --disponível (exemplo: %s)" Steps to Reproduce: Actual results: Shown above Expected results: >option --available in msgID should not be translated to native language in msgstr. msgid "date to search on, defaults to today's date, only used with --available (example: %s)" >msgstr "data a buscar, padrão é o dia de hoje, usad com o --disponível (exemplo: %s)" Additional info: http://translate.sourceforge.net/wiki/toolkit/pofilter_tests#options
commit 104859cdd5984926a366418df07fe38ef3741f29 Refs: subscription-manager-1.0.2-1-90-g104859c Author: Bryan Kearney <bkearney> AuthorDate: Tue Jun 5 17:03:40 2012 -0400 Commit: Bryan Kearney <bkearney> CommitDate: Wed Jun 6 15:38:39 2012 -0400 828958: --available should not be translated
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release.
Bug fixed as requested for pt-BR.
Version: # rpm -qa | egrep "subscription-manager|python-rhsm" subscription-manager-gui-1.0.9-1.git.4.59ef2fe.el5 python-rhsm-1.0.3-1.git.2.47dc8f4.el5 subscription-manager-migration-data-1.11.2.2-1.git.0.2eea155.el5 subscription-manager-migration-1.0.9-1.git.4.59ef2fe.el5 subscription-manager-firstboot-1.0.9-1.git.4.59ef2fe.el5 subscription-manager-1.0.9-1.git.4.59ef2fe.el5 Steps: # msgunfmt --no-wrap /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo -o /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.po # pofilter --gnome -t options /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.poprocessing 1 files... msgid "" msgstr "" "Project-Id-Version: pt_BR\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-07-09 15:06-0400\n" "PO-Revision-Date: 2012-07-08 08:45-0400\n" "Last-Translator: gcintra <gcintra>\n" "Language-Team: <en>\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 1.6.1\n" # (pofilter) options: Missing or translated option '--password' msgid "Error: you must register or specify --username and --password to list service levels" msgstr "Erro: Você deve registrar ou especificar --username e --senha para listar os níveis de serviços" [###########################################] 100% Actual Result: As shown above Expected Result: msgid "Error: you must register or specify --username and --password to list service levels" msgstr "Erro: Você deve registrar ou especificar --username e --senha para listar os níveis de serviços" --password should not be translated in native language FailedQA
fixed in master and in zanata.
*** Bug 829479 has been marked as a duplicate of this bug. ***
Available in 1.0.10 or later.
Version: # rpm -qa| egrep "subscription-manager|python-rhsm" subscription-manager-migration-1.0.10-1.git.25.8954ca8.el5 subscription-manager-1.0.10-1.git.25.8954ca8.el5 subscription-manager-migration-data-1.11.2.2-1.git.0.2eea155.el5 python-rhsm-1.0.3-1.git.34.b74ea4f.el5 subscription-manager-firstboot-1.0.10-1.git.25.8954ca8.el5 subscription-manager-gui-1.0.10-1.git.25.8954ca8.el5 Verification: # msgunfmt --no-wrap /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo -o /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.po # pofilter --gnome -t options /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.po processing 1 files... [###########################################] 100% Moving bug to VERIFIED
Not sure what happened here, but the fix verified in comment 11 appears to have reverted to the original failure... [root@jsefler-rhel59 ~]# rpm -q subscription-manager subscription-manager-1.0.13-1.git.14.28f8917.el5 [root@jsefler-rhel59 ~]# msgunfmt --no-wrap /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo | grep "Error: you must register or specify --username and --password to list service levels" -A1 msgid "Error: you must register or specify --username and --password to list service levels" msgstr "Erro: Você deve registrar ou especificar --username e --senha para listar os níveis de serviços" EXPECTED --password (NOT --senha) ^^^^^^^ Moving status back to ASSIGNED/FailedQA
(In reply to comment #12) > msgid "Error: you must register or specify --username and --password to list > service levels" > msgstr "Erro: Você deve registrar ou especificar --username e --senha para > listar os níveis de serviços" > EXPECTED --password (NOT --senha) ^^^^^^^ Hi Glaucia, Can you please fix this in 1.0.x? also in other versions (if problem exists) if possible. Thanks! Ankit
I have fixed the translation in zanata, and in the po file. Sending pull request now.
fixed in ceba5986eb764db5f3380373c0737f8f0bdb1d2c
Verifying Version... [root@rhsm-accept-rhel5 ~]# rpm -q subscription-manager subscription-manager-1.0.17-1.el5 [root@rhsm-accept-rhel5 ~]# msgunfmt --no-wrap /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo -o /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.po [root@rhsm-accept-rhel5 ~]# pofilter --gnome -t options /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.po processing 1 files... [###########################################] 100% ^^^ VERIFIED: The pofilter options test is now 100% passing for lang=pt_BR
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/RHBA-2013-0033.html