Author: garak
Date: 2010-01-21 09:04:37 +0100 (Thu, 21 Jan 2010)
New Revision: 26964

Modified:
   doc/branches/1.4/forms/en/A-Widgets.txt
   doc/branches/1.4/forms/en/B-Validators.txt
Log:
[doc][1.4] fixed form docs for some I18n widgets/validators


Modified: doc/branches/1.4/forms/en/A-Widgets.txt
===================================================================
--- doc/branches/1.4/forms/en/A-Widgets.txt     2010-01-21 04:21:10 UTC (rev 
26963)
+++ doc/branches/1.4/forms/en/A-Widgets.txt     2010-01-21 08:04:37 UTC (rev 
26964)
@@ -165,6 +165,7 @@
  * 
[`sfWidgetFormI18nChoiceCountry`](A-Widgets#chapter_a_sub_sfwidgetformI18nchoicecountry)
  * 
[`sfWidgetFormI18nChoiceLanguage`](A-Widgets#chapter_a_sub_sfwidgetformi18nchoicelanguage)
  * 
[`sfWidgetFormI18nChoiceCurrency`](A-Widgets#chapter_a_sub_sfwidgetformI18nchoicecurrency)
+ * 
[`sfWidgetFormI18nChoiceTimezone`](A-Widgets#chapter_a_sub_sfwidgetformI18nchoicetimezone)
  * [`sfWidgetFormI18nTime`](A-Widgets#chapter_a_sub_sfwidgetformi18ntime)
  * [`sfWidgetFormInput`](A-Widgets#chapter_a_sub_sfwidgetforminput)
  * 
[`sfWidgetFormInputCheckbox`](A-Widgets#chapter_a_sub_sfwidgetforminputcheckbox)
@@ -932,7 +933,7 @@
 
 | Option      | Description
 | ----------- | -----------
-| `culture`   | The culture to use for internationalized strings (required)
+| `culture`   | The culture to use for internationalized strings (default: 
`en`)
 | `countries` | An array of country codes to use (ISO 3166)
 | `add_empty` | Whether to add a first empty value or not (`false` by default)
 |             | If the option is not a Boolean, the value will be used as the 
text value.
@@ -948,7 +949,7 @@
 
 | Option      | Description
 | ----------- | -----------
-| `culture`   | The culture to use for internationalized strings (required)
+| `culture`   | The culture to use for internationalized strings (default: 
`en`)
 | `languages` | An array of language codes to use
 | `add_empty` | Whether to add a first empty value or not (`false` by default)
 |             | If the option is not a Boolean, the value will be used as the 
text value.
@@ -969,6 +970,19 @@
 | `add_empty`  | Whether to add a first empty value or not (`false` by default)
 |              | If the option is not a Boolean, the value will be used as the 
text value.
 
+### ~`sfWidgetFormI18nChoiceTimezone`~
+
+The `sfWidgetFormI18nChoiceTimezone` represents a choice of timzones:
+
+    [php]
+    $w = new sfWidgetFormI18nChoiceTimezone(array('culture' => 'fr'));
+
+| Option       | Description
+| ------------ | -----------
+| `culture`    | The culture to use for internationalized strings (default: 
`en`)
+| `add_empty`  | Whether to add a first empty value or not (`false` by default)
+|              | If the option is not a Boolean, the value will be used as the 
text value.
+
 Captcha Widget
 --------------
 

Modified: doc/branches/1.4/forms/en/B-Validators.txt
===================================================================
--- doc/branches/1.4/forms/en/B-Validators.txt  2010-01-21 04:21:10 UTC (rev 
26963)
+++ doc/branches/1.4/forms/en/B-Validators.txt  2010-01-21 08:04:37 UTC (rev 
26964)
@@ -687,6 +687,9 @@
 The `sfValidatorI18nChoiceTimezone` validates that the tainted value is a
 valid timezone.
 
+| Option      | Error     | Description
+| ----------- | --------- | -----------
+| `languages` | `invalid` | An array of languages to use
 
 Propel Validators
 -----------------

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.


Reply via email to