/[Apache-SVN]
ViewVC logotype

Revision 1412181


Jump to revision: Previous Next
Author: cframpton
Date: Wed Nov 21 16:35:24 2012 UTC (11 years, 5 months ago)
Changed paths: 1
Log Message:
The localized textLayout.properties don't belong here.  Higher layers like Flex provide localized versions by using the TLF hook, GlobalSettings.resourceStringFunction to provide a function to that is called to get the localized string.  This hook is set in RichEditableText.initClass().

The GlobalSettings.resourceStringFunction function takes two parameters, a resource id and an optional array of parameters to substitute into the string.  The string is of form "Content {0} more content {1}". The parameters are read from the optional array and substituted for the bracketed substrings.  TLF provides a default implementation with default strings in English.  Clients may replace this function with their own implementation for localization.

Changed paths

Path Details
Directoryincubator/flex/tlf/branches/3.0/textLayout/bundles/ deleted

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26