Project

General

Profile

Bug(バグ) #2862

携帯版のトピック検索ページの文言がSNS名称設定に対応していない

Added by Yuya Watanabe almost 9 years ago. Updated almost 9 years ago.

Status:
Fixed(完了)
Priority:
Normal(通常)
Assignee:
Target version:
Start date:
2012-03-07
Due date:
% Done:

100%

3.6 で発生するか:
Yes (はい)
[QA]バグ通知済:
No
3.8 で発生するか:
Unknown (未調査)
opCommunityTopicPlugin 絞込条件:

Description

概要

携帯版のトピック検索ページの文言がSNS名称設定に対応していない

原因

#270 「This plugin don't support sns term (SNS名称設定に対応していない)」の対応が不十分だった.

バックポート先で発覚.( https://redmine.openpne.jp/issues/2855#note-4

修正内容

diff --git a/apps/mobile_frontend/modules/communityTopic/templates/searchSuccess.php b/apps/mobile_frontend/modules/communityTopic/templates/searchSuccess.php
index 0fdba55..18ea610 100644
--- a/apps/mobile_frontend/modules/communityTopic/templates/searchSuccess.php
+++ b/apps/mobile_frontend/modules/communityTopic/templates/searchSuccess.php
@@ -52,9 +52,9 @@ op_include_form('searchCommunityTopic', $form, $options);
 <?php
 if ($communityId)
 {
-  echo link_to(__('Community Top'), 'community/home?id='.$communityId);
+  echo link_to(__('%Community% Top'), 'community/home?id='.$communityId);
 }
 else
 {
-  echo link_to(__('Search Communities'), 'community/search');
+  echo link_to(__('Search %Community%', array('%Community%' => $op_term['community']->pluralize())), 'community/search');
 }

Related issues

Related to opCommunityTopicPlugin - Backport(バックポート) #2855: This plugin don't support sns term (SNS名称設定に対応していない) Fixed(完了) 2009-11-26
Related to opCommunityTopicPlugin - Bug(バグ) #270: This plugin don't support sns term (SNS名称設定に対応していない) Fixed(完了) 2009-11-26
Related to OpenPNE 3 - Backport(バックポート) #2876: 携帯版 「コミュニティ」の文言がSNS内名称設定に対応してないワードがある Fixed(完了) 2011-10-05

History

#2 Updated by Kousuke Ebihara almost 9 years ago

  • Target version changed from 1.0.x to 1.0.4

#3 Updated by Yuya Watanabe almost 9 years ago

  • Status changed from Accepted(着手) to Pending Review(レビュー待ち)
  • % Done changed from 0 to 50

#4 Updated by Kousuke Ebihara almost 9 years ago

  • Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)
  • % Done changed from 50 to 70

#5 Updated by Yuma Sakata almost 9 years ago

  • Status changed from Pending Testing(テスト待ち) to Fixed(完了)
  • % Done changed from 70 to 100

テストOKです。

Also available in: Atom PDF