> I'm ok
> the format string would be something like this "Hello %1, Welcome to %2"
> But we have to handle precision and radix for numbers (some are displayed
> in hexa)...
Is there actually any number in glob2 that should be displayed in hexa?
If so, I suggest we can use optional base argument, such as
%x1, %d2, ...
I also suggest we begin in 0 (to be Qt compatible), so your example, with
translation, would be
FormattableString s = FormattableString("Hello %0, Welcome
to %1").arg(tr("[world]")).arg(tr("[glob2]"));
I love this, it becomes more and more Qtish ;-)
Steph
_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel