Project

General

Profile

Actions

Backport(バックポート) #2812

closed

opCommunityTopicPluginで言語切り替えできていないところがある

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

Status:
Fixed(完了)
Priority:
Normal(通常)
Assignee:
Target version:
Start date:
2011-10-18
Due date:
% Done:

100%

Estimated time:
opCommunityTopicPlugin 絞込条件:

Description

http://sns.openpne.jp/diary/26977 より転記

トピック

opCommunityTopicPluginで言語切り替えできていないところがある
pc_frontendの
_topicSearchLink.php
は
<div class="parts">
<ul class="moreInfo">
<li><?php echo link_to(__('Search %Community% Topics'), 'communityTopic/search') ?></li>
</ul>
</div>
で

あとopCalendarPluginの携帯でコミュニティ編集も英語のままなのでこっちは
opCalendarPlugin/apps/mobile_frontend/i18n/messages.ja.xml
に
<trans-unit id="">
<source>All Community Member's opened Schedule and Community Event</source>
<target>全メンバーのスケジュールとコミュニティイベントをカレンダーに表示</target>
</trans-unit>
<trans-unit id="">
<source>Only Member's opend Schedule</source>
<target>メンバーのスケジュールのみをカレンダーに表示</target>
</trans-unit>
<trans-unit id="">
<source>Only Community Event</source>
<target>コミュニティイベントのみカレンダーに表示</target>
</trans-unit>
<trans-unit id="">
<source>Invalidate a calendar</source>
<target>カレンダーは使わない</target>
</trans-unit>
<trans-unit id="">
<source>Community Top</source>
<target>コミュニティ トップ</target>
</trans-unit>
を追加で

form_community.ja.xml には

<trans-unit id="">
<source>Calendar Show Flag</source>
<target>カレンダー表示範囲</target>
</trans-unit>
を追加しないといけない

あとはコミュニティの大カテゴリが表示される場所が無いので機能していない(別にあってもいいと思うけど)

確認バージョン

OpenPNE 3.4.21
opCommunityTopicPlugin 0.9.9

修正方針

上記指摘内容は下記部分のみがopCommunityTopicPluginで対応すべきところであると思うため,そのように修正を行う.

opCommunityTopicPluginで言語切り替えできていないところがある
pc_frontendの
_topicSearchLink.php
は
<div class="parts">
<ul class="moreInfo">
<li><?php echo link_to(__('Search %Community% Topics'), 'communityTopic/search') ?></li>
</ul>
</div>


Related issues 1 (0 open1 closed)

Related to opCommunityTopicPlugin - Bug(バグ) #2514: opCommunityTopicPluginで言語切り替えできていないところがあるFixed(完了)Yuya Watanabe2011-10-18

Actions
Actions #1

Updated by Yuma Sakata almost 13 years ago

再現確認できました。

Environment (再現バージョン)

OpenPNE3.4.20

Way to repro (再現手順)

1. 任意のユーザーでfrontendにログイン
2. グローバルナビよりコミュニティ検索画面(/community/search)に遷移する
3. 言語を英語に設定する
4. 検索フォーム下部を確認する
5. 「トピック検索」の文言が翻訳されない

Way to fix (修正内容)

言語を英語に設定した場合、「トピック検索」の文言が翻訳されるように修正お願いします。

Actions #2

Updated by Yuma Sakata almost 13 years ago

  • Target version changed from 0.9.x to 0.9.10
Actions #3

Updated by Yuya Watanabe almost 13 years ago

  • Status changed from New(新規) to Accepted(着手)
  • Assignee set to Yuya Watanabe
Actions #5

Updated by Yuya Watanabe almost 13 years ago

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

Updated by Kousuke Ebihara almost 13 years ago

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

Updated by Yuma Sakata almost 13 years ago

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

テストOKです。

Actions

Also available in: Atom PDF