[PATCH 4/4] Add ability for users to specify an installation source repo in text UI.

Chris Lumens clumens at redhat.com
Mon May 20 17:09:07 UTC 2013


> > You should mark the first one for translation, which means you'll then
> > need to make some other changes to do comparisons correctly (translated
> > against translated, or not against not).
> >
> > > +    edit_fields = [
> > > +        Entry("Repo URL", "url", re.compile(".*$"), True)
> > > +        ]
> > 
> > Likewise here.
> 
> Hm, I do agree I need to translate those two strings, but I'm not making
> any string comparisons. Unless there is something I am missing? (It _is_
> Friday evening, so that's very possible.)

Oh, I was just assuming you were doing some comparisons somewhere.  If
you're not, then just slap a _() around them and you should be fine.

- Chris


More information about the anaconda-patches mailing list