Project

General

Profile

Bug(バグ) #2533

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

Added by Yuya Watanabe almost 8 years ago. Updated over 2 years ago.

Status:
Won't fix(対応せず)
Priority:
Normal(通常)
Assignee:
Target version:
Start date:
2011-10-20
Due date:
% Done:

0%

3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)

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!

スクリーンショット.png View (40.5 KB) Yuya Watanabe, 2011-10-20 15:49


Related issues

Related to OpenPNE 3 - Backport(バックポート) #2557: 管理画面コミュニティ削除画面で「削除」が英語に翻訳されない Fixed(完了) 2011-10-20
Related to OpenPNE 3 - Backport(バックポート) #2867: 管理画面コミュニティ削除画面で「削除」が英語に翻訳されない Fixed(完了) 2011-10-20
Related to OpenPNE 3 - Backport(バックポート) #3109: 管理画面コミュニティ削除画面で「削除」が英語に翻訳されない Fixed(完了) 2011-10-20

Associated revisions

Revision db5bb347 (diff)
Added by Yuya Watanabe almost 8 years ago

(fixes #2533) replaced term ja to en in community delete page

History

#1 Updated by Yuya Watanabe almost 8 years ago

  • Description updated (diff)

#2 Updated by Yuya Watanabe almost 8 years ago

  • Description updated (diff)

#3 Updated by wa ta almost 8 years ago

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

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

#4 Updated by Shouta Kashiwagi over 7 years ago

  • Target version changed from OpenPNE 3.7.0 to 252

#5 Updated by Shouta Kashiwagi over 7 years ago

  • Target version changed from 252 to OpenPNE 3.8.x

#6 Updated by Yuma Sakata almost 7 years ago

  • Target version changed from OpenPNE 3.8.x to OpenPNE 3.9.0-old
  • 3.6 で発生するか set to Unknown (未調査)
  • 3.8 で発生するか set to Unknown (未調査)

#7 Updated by Yuya Watanabe almost 7 years ago

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

#9 Updated by isao sano over 2 years ago

  • Status changed from Pending Testing(テスト待ち) to Won't fix(対応せず)
  • % Done changed from 70 to 0

OpenPNE 3.8.2 にて対応済みであったため、対応せずとします。

Also available in: Atom PDF