ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Opened 10 years ago

Closed 10 years ago

#4004 closed enhancement (fixed)

フォームでのエラーメッセージの日本語対応

Reported by: ShogoKawahara Owned by: ShogoKawahara
Priority: minor Milestone: OpenPNE3.0.5
Component: core Version: 3.0.x & 3.1.x
Keywords: OpenPNE3.1.1 確認中 Cc:

Description (last modified by ShogoKawahara)

以下のバラーメッセージの日本語用メッセージを用意する

sfValidatorBaseによるもの

  • Invalid.
  • Required.

sfValidatorCSRFTokenによるもの

  • CSRF attack detected.

sfValidatorDateによるもの

  • "%value%" does not match the date format (%date_format%).
  • The date must be before %max%.
  • The date must be after %min%.

sfValidatorDateRangeによるもの

  • The begin date must be before the end date.

sfValidatorFileによるもの

  • File is too large (maximum is %max_size% bytes).
  • Invalid mime type (%mime_type%).
  • The uploaded file was only partially uploaded.
  • Missing a temporary folder.
  • Failed to write file to disk.
  • File upload stopped by extension.

sfValidatorSchemaによるもの

  • Unexpected extra form field named "%field%".
  • The form submission cannot be processed. It probably means that you have uploaded a file that is too big.

sfValidatorIntegerによるもの

  • "%value%" is not an integer.
  • "%value%" must be less than %max%.
  • "%value%" must be greater than %min%.

sfValidatorNumberによるもの

  • "%value%" is not a number.
  • "%value%" must be less than %max%.
  • "%value%" must be greater than %min%.

sfValidatorStringによるもの

  • "%value%" is too long (%max_length% characters max).
  • "%value%" is too short (%min_length% characters min).

sfValidatorTimeによるもの

  • "%value%" does not match the time format (%time_format%).

Change History (11)

comment:1 Changed 10 years ago by ShogoKawahara

Owner: changed from nobody to ShogoKawahara
Status: newassigned

comment:2 Changed 10 years ago by ShogoKawahara

r11900

以下の日本語化に対応しました

sfValidatorBaseによるもの

  • Invalid.
  • Required.

sfValidatorIntegerによるもの

  • "%value%" is not an integer.
  • "%value%" must be less than %max%.
  • "%value%" must be greater than %min%.

sfValidatorStringによるもの

  • "%value%" is too long (%max_length% characters max).
  • "%value%" is too short (%min_length% characters min).

comment:3 Changed 10 years ago by ShogoKawahara

加えて以下の対訳を用意します

sfValidatorCSRFTokenによるもの

  • CSRF attack detected.

sfValidatorFileによるもの

  • File is too large (maximum is %max_size% bytes).
  • Invalid mime type (%mime_type%).
  • The uploaded file was only partially uploaded.
  • Missing a temporary folder.
  • Failed to write file to disk.
  • File upload stopped by extension.

sfValidatorSchema

  • Unexpected extra form field named "%field%".
  • The form submission cannot be processed. It probably means that you have uploaded a file that is too big.

sfValidatorTimeによるもの

  • "%value%" does not match the time format (%time_format%).

sfValidatorDateRange

  • The begin date must be before the end date.

sfValidatorDateによるもの

  • "%value%" does not match the date format (%date_format%).
  • The date must be before %max%.
  • The date must be after %min%.

comment:4 Changed 10 years ago by ShogoKawahara

Description: modified (diff)

comment:5 Changed 10 years ago by ShogoKawahara

Description: modified (diff)

comment:6 Changed 10 years ago by ShogoKawahara

r11919

追加の対訳を用意しました

comment:7 Changed 10 years ago by ShogoKawahara

Keywords: 確認中 added

r11920

3.0.xに反映しました。

comment:8 Changed 10 years ago by ShogoKawahara

r11921

誤ったコミットを取り消しました。

comment:9 Changed 10 years ago by ShogoKawahara

Type: defectenhancement

comment:10 Changed 10 years ago by ShogoKawahara

Keywords: OpenPNE3.1.1 added
Milestone: OpenPNE3.1.1OpenPNE3.0.5

comment:11 Changed 10 years ago by ShogoKawahara

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.