From 928512f99ce546ec7141124ebf73097bb2e47932 Mon Sep 17 00:00:00 2001 From: yositani2002 Date: Sat, 26 Apr 2014 15:42:03 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E3=81=A8=E3=83=AA=E3=83=B3?= =?UTF-8?q?=E3=82=AF=E5=85=88=E3=81=AE=E7=BF=BB=E8=A8=B3=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reference/forms/types/date.rst | 4 +--- reference/forms/types/options/days.rst.inc | 7 ++++--- reference/forms/types/options/model_timezone.rst.inc | 10 ++++++++++ reference/forms/types/options/months.rst.inc | 7 ++++--- reference/forms/types/options/view_timezone.rst.inc | 10 ++++++++++ reference/forms/types/options/with_seconds.rst.inc | 7 ++++--- reference/forms/types/options/years.rst.inc | 7 ++++--- 7 files changed, 37 insertions(+), 15 deletions(-) create mode 100644 reference/forms/types/options/model_timezone.rst.inc create mode 100644 reference/forms/types/options/view_timezone.rst.inc diff --git a/reference/forms/types/date.rst b/reference/forms/types/date.rst index 657bdfd..ad18499 100644 --- a/reference/forms/types/date.rst +++ b/reference/forms/types/date.rst @@ -52,8 +52,6 @@ date フィールドタイプ -------------- このフィールドタイプは高度に設定が可能でありながら、簡単に使えます。最も重要なオプションは ``input`` と ``widget`` です。 -This field type is highly configurable, but easy to use. The most important -options are ``input`` and ``widget``. ``publishedAt`` フィールドに``DateTime`` オブジェクトの日付データを持つとします。 以下は、``date`` タイプを3つの選択フィールドとして設定します。: @@ -170,4 +168,4 @@ error_bubbling | date_pattern | ``string`` | 日付フォーマットの文字列 | +--------------+------------+---------------------------------------------------------------------------------+ -.. 2014/04/23 yositani200 d49d12eaf265a5d6d32ac660c62f385d57261475 +.. 2014/04/23 yositani2002 d49d12eaf265a5d6d32ac660c62f385d57261475 diff --git a/reference/forms/types/options/days.rst.inc b/reference/forms/types/options/days.rst.inc index 75fb46f..172bf55 100644 --- a/reference/forms/types/options/days.rst.inc +++ b/reference/forms/types/options/days.rst.inc @@ -1,9 +1,10 @@ days ~~~~ -**type**: ``array`` **default**: 1 to 31 +**データ型**: ``array`` **デフォルト**: 1 to 31 -List of days available to the day field type. This option is only relevant -when the ``widget`` option is set to ``choice``:: +``day`` フィールドタイプに設定可能な日のリストです。このオプションは ``widget`` オプションに ``choice`` が設定されている場合のみ意味を持ちます。:: 'days' => range(1,31) + +.. 2014/04/26 yositani2002 84d43ac157a8860f667bc6b40278197203b4c333 diff --git a/reference/forms/types/options/model_timezone.rst.inc b/reference/forms/types/options/model_timezone.rst.inc new file mode 100644 index 0000000..0183676 --- /dev/null +++ b/reference/forms/types/options/model_timezone.rst.inc @@ -0,0 +1,10 @@ +model_timezone +~~~~~~~~~~~~~~ + +**データ型**: ``string`` **デフォルト**: システムのデフォルトのタイムゾーン + +保存されている入力データのタイムゾーン。これは `PHP supported timezones`_ の一つである必要があります。 + +.. _`PHP supported timezones`: http://php.net/manual/ja/timezones.php + +.. 2014/04/26 yositani2002 d02849d956b529af6cbafe0a3424b5a86a224115 diff --git a/reference/forms/types/options/months.rst.inc b/reference/forms/types/options/months.rst.inc index a53c00f..a63e03c 100644 --- a/reference/forms/types/options/months.rst.inc +++ b/reference/forms/types/options/months.rst.inc @@ -1,7 +1,8 @@ months ~~~~~~ -**type**: ``array`` **default**: 1 to 12 +**データ型**: ``array`` **デフォルト**: 1 to 12 -List of months available to the month field type. This option is only relevant -when the ``widget`` option is set to ``choice``. +``month`` フィールドタイプに設定可能な月のリストです。このオプションは ``widget`` オプションに ``choice`` が設定されている場合のみ意味を持ちます。 + +.. 2014/4/26 yositani2002 906e345d04b170d3367cfc8e523239137867db0d diff --git a/reference/forms/types/options/view_timezone.rst.inc b/reference/forms/types/options/view_timezone.rst.inc new file mode 100644 index 0000000..c1e7600 --- /dev/null +++ b/reference/forms/types/options/view_timezone.rst.inc @@ -0,0 +1,10 @@ +view_timezone +~~~~~~~~~~~~~ + +**データ型**: ``string`` **デフォルト**: システムのデフォルトのタイムゾーン + +ユーザーに表示されるデータのタイムゾーン(従って、ユーザーが送信するデータも)。これは `PHP supported timezones`_ の一つである必要があります。 + +.. _`PHP supported timezones`: http://php.net/manual/ja/timezones.php + +.. 2014/04/26 yositani2002 d02849d956b529af6cbafe0a3424b5a86a224115 diff --git a/reference/forms/types/options/with_seconds.rst.inc b/reference/forms/types/options/with_seconds.rst.inc index 684a748..a464fad 100644 --- a/reference/forms/types/options/with_seconds.rst.inc +++ b/reference/forms/types/options/with_seconds.rst.inc @@ -1,7 +1,8 @@ with_seconds ~~~~~~~~~~~~ -**type**: ``Boolean`` **default**: ``false`` +**データ型**: ``Boolean`` **デフォルト**: ``false`` -Whether or not to include seconds in the input. This will result in an additional -input to capture seconds. \ No newline at end of file +秒を入力に含めるかどうか。これは秒を取得する追加の入力フォームを出力します。 + +.. 2014/04/26 yositani2002 c3ed1d89896cdd33d1d50a42e44759772acd6426 diff --git a/reference/forms/types/options/years.rst.inc b/reference/forms/types/options/years.rst.inc index 7b4f30f..0a9e4d4 100644 --- a/reference/forms/types/options/years.rst.inc +++ b/reference/forms/types/options/years.rst.inc @@ -1,7 +1,8 @@ years ~~~~~ -**type**: ``array`` **default**: five years before to five years after the current year +**データ型**: ``array`` **デフォルト**: 今年より5年前から5年後 -List of years available to the year field type. This option is only relevant -when the ``widget`` option is set to ``choice``. +``year`` フィールドタイプに設定可能な年のリストです。このオプションは ``widget`` オプションに ``choice`` が設定されている場合のみ意味を持ちます。 + +.. 2014/04/26 yositani2002 84d43ac157a8860f667bc6b40278197203b4c333