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

Changeset 10634


Ignore:
Timestamp:
Feb 5, 2009, 12:12:21 PM (12 years ago)
Author:
nagasawa
Message:

#3289:added message textarea and added i18n

Location:
OpenPNE3/trunk
Files:
5 edited

Legend:

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

    r10624 r10634  
    295295        <target>6~12文字の半角英数で入力してください。</target>
    296296      </trans-unit>
     297      <trans-unit id="">
     298        <source>Message(Arbitrary)</source>
     299        <target>メッセージ(任意)</target>
     300      </trans-unit>
    297301     </body>
    298302  </file>
  • OpenPNE3/trunk/apps/mobile_frontend/templates/_requestRegisterURLMail.php

    r10309 r10634  
     1<?php echo $message ?>
     2
     3
    14<?php echo __('Click following URL, please. You can register in %1%.', array('%1%' => $op_config['sns_name'])) ?>
    25
  • OpenPNE3/trunk/apps/pc_frontend/i18n/messages.ja.xml

    r10624 r10634  
    268268      </trans-unit>
    269269      <trans-unit id="">
     270        <source>Click following URL, please. You can register in %1%.</source>
     271        <target>以下のURLから%1%に登録してください。</target>
     272      </trans-unit>
     273      <trans-unit id="">
    270274        <source>Main photo</source>
    271275        <target>メイン写真</target>
     
    467471        <target>6~12文字の半角英数で入力してください。</target>
    468472      </trans-unit>
    469      </body>
     473      <trans-unit id="">
     474        <source>Message(Arbitrary)</source>
     475        <target>メッセージ(任意)</target>
     476      </trans-unit>
     477      </body>
    470478  </file>
    471479</xliff>
  • OpenPNE3/trunk/apps/pc_frontend/templates/_requestRegisterURLMail.php

    r10027 r10634  
    1 以下のURLから<?php echo $op_config['sns_name'] ?>に登録してください。
     1<?php echo $message ?>
     2
     3
     4<?php echo __('Click following URL, please. You can register in %1%.', array('%1%' => $op_config['sns_name'])) ?>
    25
    36<?php if ($isMobile) : ?>
  • OpenPNE3/trunk/lib/form/InviteForm.class.php

    r10492 r10634  
    2222    $this->setWidget('mail_address', new sfWidgetFormInput());
    2323    $this->setValidator('mail_address', new sfValidatorPass());
     24
     25    $this->setWidget('message', new sfWidgetFormTextarea());
     26    $this->setValidator('message', new sfValidatorPass());
     27    $this->widgetSchema->setLabel('message', 'Message(Arbitrary)');
    2428
    2529    $this->validatorSchema->setPostValidator(new sfValidatorCallback(array(
     
    8690      'authMode' => $authMode,
    8791      'isMobile' => opToolkit::isMobileEmailAddress($to),
     92      'message'  => $this->getValue('message')
    8893    );
    8994
Note: See TracChangeset for help on using the changeset viewer.