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

Chris Lumens clumens at redhat.com
Fri May 17 17:20:45 UTC 2013


> > +    def _update_summary(self):
> > +        """ Update screen with a summary. Show errors if there are any. """
> > +        summary = (_("Repo URL set to: " + self.data.method.url))
> We usually use substitution instead of concatenation and I think it is
> better for translators as well. Either way the operation should be done
> outside of the _() call.

Yep - see
https://fedoraproject.org/wiki/Anaconda/Devel/Translation#String_substitutions

- Chris


More information about the anaconda-patches mailing list