You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "John Hjelmstad (JIRA)" <ji...@apache.org> on 2008/10/06 21:49:44 UTC
[jira] Resolved: (SHINDIG-645) Inlining of ${Msg} values at compile
time, whitespace trimming.
[ https://issues.apache.org/jira/browse/SHINDIG-645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Hjelmstad resolved SHINDIG-645.
------------------------------------
Resolution: Fixed
Committed patch 2.
> Inlining of ${Msg} values at compile time, whitespace trimming.
> ---------------------------------------------------------------
>
> Key: SHINDIG-645
> URL: https://issues.apache.org/jira/browse/SHINDIG-645
> Project: Shindig
> Issue Type: Improvement
> Components: Features (Javascript)
> Reporter: Lev Epshteyn
> Priority: Minor
> Attachments: Compile-Time-Msg-Substitution.2.patch, Compile-Time-Msg-Substitution.patch
>
>
> Any ${Msg.foo} reference will be inlined into the template during compilation, which will result in all the ${} style markup in the message body to be properly processed.
> So if there is a message that contains "Hello ${Viewer.displayName}", it will work as expected. This will allow more flexibility in internationalization.
> Additionally, added trimming of string contents of template source obtained from DOM nodes.
> Code review: http://codereview.appspot.com/7257
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.