>>>>> "Axel" == axel-4eJtQOnFJqFBDgjK7y7TUQ  
>>>>> <axel-4ejtqonfjqfbdgjk7y7...@public.gmane.org> writes:

Axel> We can only do this in the compiler if we actually compiled each
Axel> localized version by itself.

Yes, I see what you mean.

Axel> The other "easy" way to reduce impact here is to reduce the use of
Axel> nsTextFormatter, or create a replacement that doesn't crash. L20n
Axel> would be one, or maybe there's C++ template stuff that can "taint"
Axel> values with their original types.

I don't think there is a compile-time solution to this part of problem,
because the substitution is done at runtime.

I think what is needed for this problem is a runtime check to verify
that the translated format string is consistent with the "primary" one.

Tom

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to