Closed GoogleCodeExporter closed 9 years ago
Original comment by evernat@free.fr
on 30 Nov 2010 at 10:24
I have created the separate issue 71 for the jvm parameters. And it is now
fixed.
For the robustness:
I may be wrong, but it seems easier to have "#label_key#" in contents than to
write the contents and the translated labels separately. For example, lots of
template libraries come to mind which were made for things like this (jasper,
freemarker, jelly...) but we probably can't use one of them to avoid any new
dependency. We may extend some day the single "#label_key#" feature to include
"$attribute$" (it would be a minimalistic template engine with 2 features).
So I would prefer for now to keep "#label_key#" for the "easier" reason.
And "#" are not supposed to be possible in values of attributes written like
that: if you have ArrayIndexOutOfBoundsException, it is a bug which *must* be
fixed.
So I would prefer to have a "blocking" issue which will be fixed with a new jar
available after some hours in most cases (for example, 4h for issue 30), than
to use that patch to workaround the bug. (I agree with you: the workaround with
the patch can't be long term.)
So this issue would be "won't fix"? (except the issue 71 which is fixed)
What do you think?
Original comment by evernat@free.fr
on 1 Dec 2010 at 12:20
I think that the fix you've done only handle this specific case and wont solve
the generic issue (not sure this generic issue exists either).
It may be enough for now, but I still think that it would be safer to use
"I18N.getString" before creating the string to get the right translation. As
far as you're not expecting the "user data" to contains token to translate (do
you?) you dont have to parse user data.
But it's just my opinion.
Original comment by patrick....@gmail.com
on 1 Dec 2010 at 10:31
I will let the code like that for now, except specific cases of course.
Just a note: a global change would have a large impact and no, "user data" does
not contain tokens to translate.
Thanks for the specific issue.
Original comment by evernat@free.fr
on 4 Dec 2010 at 8:37
Original issue reported on code.google.com by
patrick....@gmail.com
on 29 Nov 2010 at 1:49Attachments: