Bug(バグ) #2558
管理画面コミュニティ一覧で削除ボタンが翻訳されない
Start date:
2011-10-25
Due date:
% Done:
100%
3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)
Description
概要¶
管理画面コミュニティ一覧(pc_backend.php/community/list)で削除ボタンが翻訳されない.
参考: http://redmine.openpne.jp/issues/2520#note-13
確認バージョン¶
OpenPNE 3.4.16 (stable-3.4.x)
原因¶
下記部分において日本語がハードコーディングされている.
apps/pc_backend/modules/community/templates/listSuccess.php
25 <?php include_partial('community/communityInfo', array( 26 'community' => $community, 27 'moreInfo' => array( 28 button_to(__('削除'), 'community/delete?id='.$community->getId()) 29 ) 30 )); ?>
修正案¶
diff --git a/apps/pc_backend/modules/community/templates/listSuccess.php b/apps/pc_backend/modules/community/templates/listSuccess.php index 8806fc8..3f27d03 100644 --- a/apps/pc_backend/modules/community/templates/listSuccess.php +++ b/apps/pc_backend/modules/community/templates/listSuccess.php @@ -25,7 +25,7 @@ <?php include_partial('community/communityInfo', array( 'community' => $community, 'moreInfo' => array( - button_to(__('削除'), 'community/delete?id='.$community->getId()) + button_to(__('Delete'), 'community/delete?id='.$community->getId()) ) )); ?> <?php endforeach; ?>
Associated revisions
(fixes #2558) fixed translation in community list page
History
#1
Updated by Yuya Watanabe over 11 years ago
3.6 および 3.7 ではこの記述がないため,修正案が妥当かどうかを調査する必要がある.
#2
Updated by Yuya Watanabe over 11 years ago
#575 の 36602a0289d2da14dc3d5d81ec8b79022bc08da4 の変更により 3.6 および 3.7 では該当部分が修正されている.
#575 は3.4で対応されていないため本チケットで修正を行うことは妥当であると思われる.
#3
Updated by wa ta over 11 years ago
- Status changed from Accepted(着手) to Pending Review(レビュー待ち)
- % Done changed from 0 to 50
更新履歴 2a6a608c643c35cb2a5541f8c5a710c1c2436227 で適用されました。
#4
Updated by Kousuke Ebihara over 11 years ago
- Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)
- % Done changed from 50 to 70
#5
Updated by Yuma Sakata over 11 years ago
- Status changed from Pending Testing(テスト待ち) to Fixed(完了)
- % Done changed from 70 to 100
テストOKです。