Author: ianb Date: 2008-05-13 15:47:44 -0600 (Tue, 13 May 2008) New Revision: 3417
Modified: FormEncode/trunk/docs/Validator.txt Log: some typos from Shannon Behrens Modified: FormEncode/trunk/docs/Validator.txt =================================================================== --- FormEncode/trunk/docs/Validator.txt 2008-05-13 21:37:19 UTC (rev 3416) +++ FormEncode/trunk/docs/Validator.txt 2008-05-13 21:47:44 UTC (rev 3417) @@ -265,7 +265,7 @@ schema fails (the values are invalid) then ``ValidateState`` will not be run, unless you set ``validate_partial_form`` to True (like ``ValidateState = SimpleFormValidator(validate_state, -validate_partial_form=True). If you validate a partial form you +validate_partial_form=True)``. If you validate a partial form you should be careful that you handle missing keys and other possibly-invalid values gracefully. @@ -502,8 +502,8 @@ Localization of Error Messages (i18n) ------------------------------------- -When a failed validation accurs FormEncode tries to output the error -message in the appropirate language. For this it uses the standard +When a failed validation occurs FormEncode tries to output the error +message in the appropriate language. For this it uses the standard `gettext <http://python.org/doc/current/lib/module-gettext.html>`_ mechanism of python. To translate the message in the appropirate message FormEncode has to find a gettext function that translates the @@ -521,7 +521,7 @@ 3. formencode builtin ``_stdtrans`` function for standalone use of FormEncode. The language to use is determined - out of the local system (see gettext documentation). Optionally you + out of the locale system (see gettext documentation). Optionally you can also set the language or the domain explicitly with the function:: @@ -546,7 +546,7 @@ currently available languages in the source under the directory ``formencode/i18n``. -If your's is not present yet, please consider contributing a +If your language is not present yet, please consider contributing a translation (where ``<lang>`` is you language code):: $ svn co http://svn.formencode.org/FormEncode/trunk/`` ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ FormEncode-CVS mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/formencode-cvs
