プロジェクト

全般

プロフィール

Bug(バグ) #2514

Yuya Watanabe12年以上前に更新

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

h3. トピック h3.トピック

<pre>
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>
を追加しないといけない

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

h3. 修正方針

上記指摘内容は下記部分のみがopCommunityTopicPluginで対応すべきところであると思うため,そのように修正を行う.
<pre>
opCommunityTopicPluginで言語切り替えできていないところがある
pc_frontendの
_topicSearchLink.php

<div class="parts">
<ul class="moreInfo">
<li><?php echo link_to(__('Search %Community% Topics'), 'communityTopic/search') ?></li>
</ul>
</div>
</pre>

戻る