Bug 1314451

Summary: Untranslated label in anaconda
Product: Red Hat Enterprise Linux 7 Reporter: Vit Ry <Frodox>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: low    
Version: 7.2CC: dshea, eng-l10n-bugs, Frodox, jstodola, noriko, smaitra, sshedmak
Target Milestone: rcKeywords: Translation
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-21.48.22.62-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 23:22:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1340415    
Attachments:
Description Flags
Screen shot none

Description Vit Ry 2016-03-03 16:11:22 UTC
Created attachment 1132858 [details]
Screen shot

Description of problem:

There is untranslated string in anaconda, which doesn't change with UI-language changes.


Version-Release number of selected component (if applicable):

anaconda-21.48.22.56-1

How reproducible:
always

Steps to Reproduce:
1. Find some already installed system (VM)
2. Start anaconda
3. Choose non-english language
4. Go to "INSTALLATION DESTINATION" spoke
5. Press Done (it will be automatic partitioning radio) - "RECLAIM DISK SPACE" dialog appears
6. Press Reclaim space button

Actual results:

There is text: "Installation requires a total of ... for system data" in english, instead of non-english language (see screen shot).


Expected results:

Label is translated into target-language.


Additional info:

Looks like translation ( _(...)) for this string is missed in logic.

Here is src: https://github.com/rhinstaller/anaconda/blob/rhel7-branch/pyanaconda/ui/gui/spokes/lib/resize.glade#L313
Here it fills with data: https://github.com/rhinstaller/anaconda/blob/rhel7-branch/pyanaconda/ui/gui/spokes/lib/resize.py#L84

Comment 2 Vit Ry 2016-03-04 09:07:22 UTC
Also there is untranslated text on "Help!" button.

Comment 3 David Shea 2016-03-04 16:42:52 UTC
Adding l10n to cc since this would involve a new translation. The string is "Installation requires a total of <b>%s</b> for system data."

(In reply to Vit Ry from comment #2)
> Also there is untranslated text on "Help!" button.

There are translations available for this string, but anaconda is not using them correctly.

Comment 4 Noriko Mizumoto 2016-03-08 00:54:16 UTC
(In reply to David Shea from comment #3)
> Adding l10n to cc since this would involve a new translation. The string is
> "Installation requires a total of <b>%s</b> for system data."
> 
> (In reply to Vit Ry from comment #2)
> > Also there is untranslated text on "Help!" button.
> 
> There are translations available for this string, but anaconda is not using
> them correctly.

I can see seven supported languages incomplete at rhel7-branch. If I organize the translation resource for update, can you pull them for rhel-7.3?
https://fedora.zanata.org/iteration/view/anaconda/rhel7-branch/languages/

Due to high localization demand for Korean and Italian, these two languages may not be delivered. Please advise if this may cause problem.

For the string "Installation requires a total of <b>%s</b> for system data.", as David mentioned, it has been localized already. And this is something translation team can not help.

Comment 11 David Shea 2016-03-31 14:38:45 UTC
Reassigning since this is now concerns the availability of translations for the "Installation requires a total of <b>%s</b> for system data." string.

Comment 12 Noriko Mizumoto 2016-04-03 12:56:28 UTC
This particular translation has already been translated into es and fr on zanata rhel-7 branch. Nothing to do for Localization team.
"Installation requires a total of <b>%s</b> for system data." 
https://fedora.zanata.org/iteration/view/anaconda/rhel7-branch/languages/

Besides, I can see that there are some update on rhel-7 branch, and can procure the translation resource when this branch is finalized. I am planning second translation cycle to be happened btw end of May to Mid Jun. In order to evaluate the workload, I need to know when final update will be added into the branch asap.
Please advise.

Comment 14 David Shea 2016-04-04 13:47:41 UTC
Updated fixed-in-version for the version when es and fr translations were available.

Comment 21 errata-xmlrpc 2016-11-03 23:22:46 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.

https://rhn.redhat.com/errata/RHEA-2016-2158.html