Skip to content

Commit

Permalink
Merge pull request #431 from nishizoe/t-4130
Browse files Browse the repository at this point in the history
(fixed #4130, BP from #4128) ニックネームをSNS内名称設定に対応するよう修正
  • Loading branch information
nishizoe authored Mar 8, 2017
2 parents 2a55c62 + af81965 commit 6ff9657
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
4 changes: 0 additions & 4 deletions apps/pc_backend/i18n/messages.ja.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
<xliff version="1.0">
<file orginal="global" source-language="en" datatype="plaintext">
<body>
<trans-unit id="">
<source>Nickname</source>
<target>ニックネーム</target>
</trans-unit>
<trans-unit id="">
<source>Password</source>
<target>パスワード</target>
Expand Down
2 changes: 1 addition & 1 deletion apps/pc_backend/modules/member/actions/actions.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function executeList(sfWebRequest $request)
$params = $request->getParameter('member', array());

$this->form = new opMemberProfileSearchForm(array(), array('is_use_id' => true, 'is_check_public_flag' => false));
$this->form->getWidgetSchema()->setLabel('name', 'Nickname');
$this->form->getWidgetSchema()->setLabel('name', '%Nickname%');
$this->form->bind($params);

$this->pager = new sfDoctrinePager('Member', 20);
Expand Down
2 changes: 1 addition & 1 deletion apps/pc_backend/modules/member/templates/deleteSuccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<th><?php echo __('ID') ?></th><td><?php echo $member->getId() ?></td>
</tr>
<tr>
<th><?php echo __('Nickname') ?></th><td><?php echo $member->getName() ?></td>
<th><?php echo __('%Nickname%') ?></th><td><?php echo $member->getName() ?></td>
</tr>
<?php foreach ($member->getProfiles() as $profile): ?>
<?php $profileObj = $profile->getProfile(); ?>
Expand Down
2 changes: 1 addition & 1 deletion apps/pc_backend/modules/member/templates/listSuccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<tr>
<th colspan="4"><?php echo __('Operation') ?></th>
<th><?php echo __('ID') ?></th>
<th><?php echo __('Nickname') ?></th>
<th><?php echo __('%Nickname%') ?></th>
<th><?php echo __('Invited by') ?></th>
<th><?php echo __('Last login') ?></th>
<?php foreach ($profiles as $profile) : ?>
Expand Down
2 changes: 1 addition & 1 deletion apps/pc_backend/modules/member/templates/rejectSuccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<th><?php echo __('ID') ?></th><td><?php echo $member->getId() ?></td>
</tr>
<tr>
<th><?php echo __('Nickname') ?></th><td><?php echo $member->getName() ?></td>
<th><?php echo __('%Nickname%') ?></th><td><?php echo $member->getName() ?></td>
</tr>
<?php echo $form ?>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion templates/_deleteAccountMail.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php echo __('Information About the Withdrawal Member') ?>

<?php echo __('ID') ?> : <?php echo $member->getId() ?>
<?php echo __('Nickname') ?> : <?php echo $member->getName() ?>
<?php echo __('%Nickname%') ?> : <?php echo $member->getName() ?>

<?php echo __('Last Login') ?> : <?php if ($member->getLastLoginTime()) : ?><?php echo date('y-m-d H:i:s', $member->getLastLoginTime()) ?><?php endif; ?>
<?php foreach ($member->getProfiles() as $profile) : ?>
Expand Down

0 comments on commit 6ff9657

Please sign in to comment.