<prettysize:display size="${someSize}" />generates outputs like:
"one kilobyte", "2 megabytes", or "3 GB"
The second one, Pretty Time, does this:
<prettytime:display date="${someDate}" />generates timestamps like:
"right now", "2 days ago", or "3 months from now"
For i18n, check the “message.properties” file from the plugin directory.
Thanks to the creative developers in the Grails community! Have fun!
Diese Beiträge könnten Sie noch interessieren:
- Small batches contribute to success
- Pretty cool Eclipse plugin for editing resource bundles
- New WordPress plugin: MBCalendar
- Java resource bundle Editor für Eclipse
- MBCalendar
Berater, Coach und Trainer für effektive Produktentwicklung