Bug 911776 - [it] msgids containing [OPTIONS] are not translated; expected [OPZIONI]
Summary: [it] msgids containing [OPTIONS] are not translated; expected [OPZIONI]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel510
TreeView+ depends on / blocked
 
Reported: 2013-02-15 23:10 UTC by John Sefler
Modified: 2013-09-30 22:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2013-09-30 22:56:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1332 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-09-30 22:49:24 UTC

Description John Sefler 2013-02-15 23:10:20 UTC
Description of problem:

[root@jsefler-7 ~]# grep -A1 OPTION  /usr/share/locale/it/LC_MESSAGES/rhsm.po
msgid "%%prog %s [OPTIONS]"
msgstr "%%prog %s [OPTIONS]"               <====== Expected [OPZIONI]

msgid "%%prog %s [OPTIONS] CERT_FILE"
msgstr "%%prog %s [OPTIONS] CERT_FILE"     <====== Expected [OPZIONI]

--
msgid "%prog [OPTIONS]"
msgstr "%prog [OPTIONS]"                   <====== Expected [OPZIONI]

--
msgid "Usage: %s MODULE-NAME [MODULE-OPTIONS] [--help]"
msgstr "Utilizzo: %s NOME-MODULO [OPZIONI-MODULO] [--help]"


Version-Release number of selected component (if applicable):
[root@jsefler-7 ~]# rpm -q subscription-manager
subscription-manager-1.8.3-1.git.0.50cbc39.el7.x86_64
https://translate.zanata.org/zanata/iteration/view/subscription-manager/1.8.X

Comment 1 Francesco Valente 2013-02-17 23:39:58 UTC
Aren't [OPTIONS] [MODULE-NAME] and [MODULE-OPTIONS] just entities that will be replaced by the actual option or name, if so there is no need to translate them.

Francesco

Comment 2 John Sefler 2013-02-18 13:15:01 UTC
(In reply to comment #1)
> Aren't [OPTIONS] [MODULE-NAME] and [MODULE-OPTIONS] just entities that will
> be replaced by the actual option or name, if so there is no need to
> translate them.
> 
> Francesco

No.  Replacements will occur where you see "%s" or "%d" in the msgid.

Here is an example of what an Italian user will see with your current translation:


[root@jsefler-7 ~]# LANG=it_IT.UTF-8 rct cat-cert --help
Utilizzo: rct cat-cert [OPTIONS] CERT_FILE              <============ Notice that "OPTIONS" is not translated

Stampa le informazioni del certificato

Opzioni:
  -h, --help     mostra questo messaggio d'aiuto ed esci
  --no-products  non mostrare le informazioni sul prodotto del certificato
  --no-content   non mostrare le informazioni sul contenuto del cert

Comment 3 Adrian Likins 2013-03-25 21:35:26 UTC
commit 008c5cb336b141f300d647d6c71750b2cd15e066
Author: Adrian Likins <alikins>
Date:   Mon Mar 25 15:03:16 2013 -0400

    921126: latest string updates from zanata
    
    921126,911779,911776,911772,911764,911762,911759,
    911757,908886,908879,908869,908866,908521,908511,
    908488,908434,908108,908059,908037,906967,906552,
    842784

Comment 4 Francesco Valente 2013-03-25 22:55:14 UTC
John thanks for the explanation, I have checked and fixed the relevant entries in subscription-manager 1.8.X:

sgid "%%prog %s [OPTIONS]"
msgstr "%%prog %s [OPTIONS]"               <====== Expected [OPZIONI]

msgid "%%prog %s [OPTIONS] CERT_FILE"
msgstr "%%prog %s [OPTIONS] CERT_FILE"     <====== Expected [OPZIONI]

--
msgid "%prog [OPTIONS]"
msgstr "%prog [OPTIONS]"                   <====== Expected [OPZIONI]

--
msgid "Usage: %s MODULE-NAME [MODULE-OPTIONS] [--help]"
msgstr "Utilizzo: %s NOME-MODULO [OPZIONI-MODULO] [--help]"

Thnaks

Francesco

Comment 5 John Sefler 2013-04-11 22:18:47 UTC
Moving back to ASSIGNED: fixes by Francesco need to be re-pulled from Zanata.

Comment 6 RHEL Program Management 2013-04-11 22:27:57 UTC
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.

Comment 7 Bryan Kearney 2013-04-19 01:42:42 UTC
New strings have been pulled, fixes are in. 1.8.6

Comment 8 John Sefler 2013-04-24 01:15:47 UTC
Verifying Version....
[root@jsefler-7 ~]# rpm -q subscription-manager
subscription-manager-1.8.6-1.el7.x86_64


[root@jsefler-7 ~]# msgunfmt --no-wrap /usr/share/locale/it/LC_MESSAGES/rhsm.mo | grep "OPTIONS" -A1
msgid "%%prog %s [OPTIONS]"
msgstr "%%prog %s [OPZIONI]"
--
msgid "%%prog %s [OPTIONS] CERT_FILE"
msgstr "%%prog %s [OPZIONI] CERT_FILE"
--
msgid "%%prog %s [OPTIONS] MANIFEST_FILE"
msgstr "%%prog %s [OPZIONI] MANIFEST_FILE"
--
msgid "%prog [OPTIONS]"
msgstr "%prog [OPZIONI]"
--
msgid "Usage: %s MODULE-NAME [MODULE-OPTIONS] [--help]"
msgstr "Utilizzo: %s NOME-MODULO [OPZIONI-MODULO] [--help]"
[root@jsefler-7 ~]# 

Moving to VERIFIED

Comment 10 errata-xmlrpc 2013-09-30 22:56:28 UTC
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-1332.html


Note You need to log in before you can comment on or make changes to this bug.