On Sunday 07 September 2008, Emanuel Rumpf wrote: > see below...
> nested i18n() !!!!!!!!!! > don't know, .... looks wrong to me..... > > will that work ? It should. (from the converter script's output) Prefix LITERAL_ has been added to these calls, so that you can easily locate them. Quick fix would be to wrap string literal in first argument with QString constructor, but consider refactoring the code: if you are using that same literal somewhere else in the code, it should probably be stored in a const QString, or the like. It might also be that the literal itself should be translated, so you would wrap it with an i18n() call. I opted for the latter, in case people in other countries use 2,10 syntax or whatever. I have no idea if "LilyPond 2.10" is always "LilyPond 2.10" in every country, but most languages I know anything about use , and . differently from English, so I thought I'd leave that door open. If it doesn't work, we know where to fix it. The original version probably would have worked anyway, since this is probably a special exception to the string literal arguments rule. Unless Spanish people want to call it version "2,10" or something. If in doubt, let the translators make the choice. Unless it falls on its face, in which case we'll deal with it when that becomes apparent. -- D. Michael McIntyre ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
