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

Ignore:
Timestamp:
Mar 2, 2009, 11:44:57 AM (14 years ago)
Author:
ShogoKawahara
Message:

#3626:fixed member/configImage action doesn't render the error message in Japanese

Location:
OpenPNE3/trunk/apps/pc_frontend
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_frontend/i18n/messages.ja.xml

    r10888 r10917  
    511511        <target>■ %1% に参加する</target>
    512512      </trans-unit>
     513      <trans-unit id="">
     514        <source>File is too large (maximum is %max_size% bytes).</source>
     515        <target>ファイルサイズが大きすぎます (最大 %max_size% bytes まで)。</target>
     516      </trans-unit>
     517      <trans-unit id="">
     518        <source>Invalid mime type (%mime_type%).</source>
     519        <target>ファイル形式が間違っています (%mime_type%).</target>
     520      </trans-unit>
    513521    </body>
    514522  </file>
  • OpenPNE3/trunk/apps/pc_frontend/modules/member/actions/actions.class.php

    r10800 r10917  
    140140          if (isset($errors['file']))
    141141          {
    142             $this->getUser()->setFlash('error', $errors['file']);
     142            $error = $errors['file'];
     143            $i18n = $this->getContext()->getI18N();
     144            $this->getUser()->setFlash('error', $i18n->__($error->getMessageFormat(), $error->getArguments()));
    143145          }
    144146        }
Note: See TracChangeset for help on using the changeset viewer.