Bug 1317297

Summary: Zanata doesn't allow message translation of anaconda
Product: [Fedora] Fedora Reporter: Göran Uddeborg <goeran>
Component: anacondaAssignee: Brian Lane <bcl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, g.kaviyarasu, goeran, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-25.18-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-17 22:12:59 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:

Description Göran Uddeborg 2016-03-13 20:51:56 UTC
Description of problem:
There are three messages in the current anaconda po file where the enter key is marked with the syntax <Enter>.  When translating this, Zanata assumes that the key name is markup, and refuses the translated message.  These messages needs to be marked in some way to tell Zanata that they do not contain markup.  I don't know if there is such a feature currently; if not that would be a feature request with Zanata I guess.

A workaround would of course be to use some other kind of quotes to mark the key name.

The affected messages are

"Please press <Enter> to get a shell. "
"Enter a new value for '%s' and press <Enter>\n"
"Press <Enter> to reboot your system.\n"

Comment 1 Brian Lane 2016-03-15 00:15:47 UTC
Have you tried contacting Zanata to see if they have any suggestions? I suppose that [Enter] would be just as clear -- assuming Zanata allows that :)

Comment 2 Göran Uddeborg 2016-03-15 09:23:55 UTC
Reporting to Zanata was actually my first reaction (https://lists.fedoraproject.org/archives/list/trans@lists.fedoraproject.org/thread/IC2CA5G5VEIH3KXRKN3IUZILBKJZMBUQ/).  But in the replies on the mailing list that idea was questioned.

As I understand it, someone from the development team has asked for XML validation of messages.  And in the majority of cases, that is probably a good thing.  So the right action seems to be for you to somehow mark these messages. To tell Zanata that in these particular cases, it should not do any XML validation.

Or to take the easy way out and use [Enter] instead. :-)

Comment 3 Brian Lane 2016-03-16 23:24:48 UTC
https://github.com/rhinstaller/anaconda/pull/558

Comment 4 Mike McCune 2016-03-28 22:19:01 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions