[anaconda][master/rhel7-branch][3/3] Add GUI and TUI logic to handle unformatted DASDs. (#1064423)

Samantha N. Bueno sbueno+anaconda at redhat.com
Mon Mar 3 20:55:01 UTC 2014


On Mon, Mar 03, 2014 at 03:10:37PM -0500, David Shea wrote:
> On 03/03/2014 12:53 PM, Samantha N. Bueno wrote:
> >+                print(_("Formatting/dev/%s. This may take a moment." % disk))
> 
> The % operation needs to happen outside of the _() translation.

Bah, good catch; fixed locally. I think I do this in a couple of other
places also, so I will fix it there as well.

Also noting here....saw this in pyanaconda/ui/tui/spokes/storage.py:

> displaytext = (summary + "\n".join("/dev/" + d for d in to_format) + "\n" + warntext)

I've added the requisite _ to mark translation.

Samantha

> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches



More information about the anaconda-patches mailing list