Project

General

Profile

Backport(バックポート) #3109

管理画面コミュニティ削除画面で「削除」が英語に翻訳されない

Added by 開 石切山 almost 7 years ago. Updated almost 7 years ago.

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

100%


Description

概要

管理画面コミュニティ削除画面(pc_backend.php/community/delete/id/○○)で「削除」が英語に翻訳されない.

原因

下記コード部分で「削除」という文言がハードコーディングされている.

apps/pc_backend/modules/community/templates/deleteSuccess.php

 14 <form action="<?php url_for('community/delete?id='.$community->getId()) ?>" method="post">
 15 <?php include_partial('community/communityInfo', array(
 16   'community' => $community,
 17   'moreInfo' => array($csrfToken.'<input type="submit" value="削除" />')
 18 )); ?>
 19 </form>
 20 

修正案

diff --git a/apps/pc_backend/modules/community/templates/deleteSuccess.php b/apps/pc_backend/modules/community/templates/deleteSuccess.php
index 00a4f5c..3f4ecfe 100644
--- a/apps/pc_backend/modules/community/templates/deleteSuccess.php
+++ b/apps/pc_backend/modules/community/templates/deleteSuccess.php
@@ -14,7 +14,7 @@ $csrfToken = '<input type="hidden" name="'.$form->getCSRFFieldName().'" value="'
 <form action="<?php url_for('community/delete?id='.$community->getId()) ?>" method="post">
 <?php include_partial('community/communityInfo', array(
   'community' => $community,
-  'moreInfo' => array($csrfToken.'<input type="submit" value="削除" />')
+  'moreInfo' => array($csrfToken.'<input type="submit" value="'.__('Delete').'" />')
 )); ?>
 </form>

参考画像

!http://redmine.openpne.jp/attachments/353/スクリーンショット.png!


Related issues

Related to OpenPNE 3 - Bug(バグ) #2533: 管理画面コミュニティ削除画面で「削除」が英語に翻訳されない Won't fix(対応せず) 2011-10-20

Associated revisions

Revision 6cbe04c8 (diff)
Added by Yuya Watanabe almost 7 years ago

(fixes #3109, BP from #2533) replaced term ja to en in community delete page

History

#1 Updated by 開 石切山 almost 7 years ago

  • Status changed from New(新規) to Accepted(着手)

#2 Updated by Yuma Sakata almost 7 years ago

  • Target version changed from OpenPNE 3.8.1 to OpenPNE 3.8.x

3.8.2 以降で対応します。

#3 Updated by Yuya Watanabe almost 7 years ago

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

更新履歴 6cbe04c8d8a9368668754108cdd1f6e759269275 で適用されました。

#4 Updated by Yuma Sakata almost 7 years ago

  • Target version changed from OpenPNE 3.8.x to OpenPNE 3.8.2

#5 Updated by Yuya Watanabe almost 7 years ago

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

#6 Updated by Yuma Sakata almost 7 years ago

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

テストOKです。

Also available in: Atom PDF