On Tue, Aug 26, 2008 at 01:13:43PM -0700, Brock Pytlik wrote:

> >   lines 575-586: As I understand the localization process, you can't 
> > take one localized and blindly append it to another localized string 
> > (mid-sentence, especially) and get a reliable result due to 
> > subject-verb-order, etc. I'd recommend either passing the full string 
> > for each case to _() or dynamically constructing the strong *first* 
> > before passing it to _() at line 586.
>
> Ok, will what I have now work?

What you had in response to my message should work, yes.

> The reason I didn't want to do this is because it would completely  hide
> the fact that there was a problem, which means we'd never know when the
> indexes and installed packages were out of sync.

That's a fair point, but I'd rather have the proper separation now, and
figure out how to get that message out to the user later.  There are a
couple of places where having a framework to do that would be very handy --
if nothing else, it's related to progress tracking and all sorts of GUI
stuff -- and I'd rather that get developed and used first.

Perhaps leave an XXX comment in place to indicate where you'd emit the
message.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to