[Psi-devel] Psi MUC crash
mblsha-psi at affinix.com
Sat Jul 9 12:54:31 PDT 2005
Maciek Niedzielski wrote:
> Norman Rasmussen napisał(a):
> >>BTW, just wanted to share my 2 kopeykas with you: IMHO this message
> >> should be rewritten like this: m = tr("%1 is now known as
> >>%2").arg(nick).arg(s.mucUserNick()) because it would able to change the
> >>words' order by the translators and it may be very useful for some
> >> languages.
> > If you're going to go that far you have to handle tr("%before% is now
> > known as %after%") because in some translations the before and after
> > nicks might swap around.
> Note that there is %1 and %2, not %s and %s. I think Qt is smart enough
> to handle swapped order using these numbers.
Yep, that's what all that what I said is about. And it would also enable
translators to add some words before and/or after the text.
If it happens once, it's a bug.
If it happens twice, it's a feature.
If it happens more than twice, it's a design philosophy.
More information about the Psi-devel-affinix.com