Changeset 2510


Ignore:
Timestamp:
10/01/2008 08:35:09 PM (6 years ago)
Author:
mosipov
Message:

Improving documentation

Location:
FCKeditor.Java/trunk/src/site
Files:
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • FCKeditor.Java/trunk/src/site/apt/connector.apt

    r2297 r2510  
    5757  Assuming you installed the editor in the <<</fckeditor>>> folder in your webapp.\ 
    5858  The Connector is now declared but <still> disabled. The response is going to 
    59   be an error message. 
     59  be a localized error message. 
    6060 
    6161  [[2]] Create a <<<fckeditor.properties>>> file in your classpath and add: 
    6262 
    6363+------------------------------------------------------------------------------+ 
    64   connector.userActionImpl=net.fckeditor.requestcycle.impl.TrueUserAction 
     64  connector.userActionImpl=net.fckeditor.requestcycle.impl.EnabledUserAction 
    6565+------------------------------------------------------------------------------+ 
    6666 
     
    6969  The Connector is now enabled. 
    7070 
     71  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    7172Extending the Connector 
    7273 
     
    109110 
    110111  [] 
     112  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
  • FCKeditor.Java/trunk/src/site/apt/ext_overview.apt

    r2253 r2510  
    2424Overview 
    2525 
    26   The Java integration provides you several ways to extend and adapt itself 
    27   to your needs. 
     26    [Hint:] If you do not intend to extend the integration pack, skip this section. 
     27            An appropriate implementation will be used for every interface automatically. 
     28 
     29  The Java integration provides you several interfaces to extend and adapt it to 
     30  your needs: 
    2831 
    2932  * <<UserAction>>: Gives you full control over any action the user can do in the 
     
    3235  * <<UserPathBuilder>>: Enables you to construct a user-dependent file path. 
    3336 
    34   * <<Internationalization>>: You can localize any message returned by tags and 
     37  * <<Localization>>: Enables you to localize any message returned by tags and 
    3538    the connector. 
    3639 
  • FCKeditor.Java/trunk/src/site/apt/localization.apt

    r2508 r2510  
    1919~~ @version $Id$ 
    2020                                ------------------------- 
    21                                         Internationalization 
     21                                        Localization 
    2222                                ------------------------- 
    2323 
    24 Internationalization 
     24Localization 
    2525 
    2626  The interation pack offers you the capability to localize any string responded 
    27   to the user on a global basis and on a per locale basis dependending on the 
     27  to the user on a global basis and on a per-locale basis dependending on the 
    2828  deployed framework/system (Request, JSTL, Struts, Spring, and other). 
    2929 
    30   Read on to see how you can customize the system to your needs: 
     30  Read on to see how you can refit the system to your needs: 
    3131 
    3232* The interface 
     
    3535  contains only one method: 
    3636 
    37   * <<<Locale resolveLocale(final HttpServletRequest)>>>: It will be passed the 
    38     current request instance on every request. It resolves the user locale according 
    39     to the underlying system or returns <<<null>>> if it can't resolve the locale. 
     37  * <<<Locale resolveLocale(final HttpServletRequest)>>>: On every request it will 
     38    passed the current <<<HttpServletRequest>>> instance. It resolves the user 
     39    locale according to the underlying system or returns <<<null>>> if it can't 
     40    resolve the locale. 
    4041 
    4142  [] 
    4243 
    4344** Choosing an implemenation 
    44  
    45      [Hint:] If you do not (want to) choose an implementation, the default one 
    46              will be used. 
    4745 
    4846  You have to choose an inplemenation, either an existing or a custom one. If no 
     
    6260   [] 
    6361 
    64 ** Binding an implementation 
     62** Declaring an implementation 
    6563 
    66    After your have chosen your desired implemenation, you have to bind it to the 
    67    system. Put the fully-qualified class name of the implementation in the 
     64   After your have chosen your desired implemenation, you have to declare it. 
     65   Put the fully-qualified class name of the implementation in your 
    6866   <<<fckeditor.properies>>>: 
    6967 
     
    7472* The strings 
    7573 
    76   dfdfdf 
     74    [Hint:] The resolver system is fail-safe concerning localized string retrieval. 
     75            This means that if a localized cannot be found, the default string 
     76            will be used. 
     77 
     78  Each responded string can be localized on a global basis and on a per-locale basis. 
     79  Put your globally localized strings in your <<<fckeditor.properties>>> and your 
     80  per-locale localized strings in a <<<fckeditor_\<locale\>.properties>>> file. 
     81  See the Localization chapter of the {{{properties.html}Configuration}} for a 
     82  string reference. 
  • FCKeditor.Java/trunk/src/site/apt/properties.apt

    r2298 r2510  
    145145 
    146146  This section shows all messages which are responded to the user and can be 
    147   localized. See {{{i18n.html}I18n}} for more details. 
     147  localized. See {{{localization.html}Localization}} for more details. 
    148148 
    149149*-----------------------------------+-------------------------------------------+---------------+---------------------------------------------------+ 
  • FCKeditor.Java/trunk/src/site/site.xml

    r2480 r2510  
    3737                        <item name="UserAction" /> 
    3838                        <item name="UserPathBuilder" /> 
    39                         <item name="I18n" href="/i18n.html" /> 
     39                        <item name="Localization" href="/localization.html" /> 
    4040                </menu> 
    4141                <menu name="Reference"> 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy