diff --git a/Source/classes/RelatedChangesetsColumn.class.php b/Source/classes/RelatedChangesetsColumn.class.php index e60ef01..c6837d5 100644 --- a/Source/classes/RelatedChangesetsColumn.class.php +++ b/Source/classes/RelatedChangesetsColumn.class.php @@ -5,12 +5,19 @@ class SourceRelatedChangesetsColumn extends MantisColumn { - public $title = "Related Changesets"; public $column = "related_changesets"; public $sortable = false; private $changeset_cache = array(); + public function __construct() { + plugin_push_current( 'Source' ); + + $this->title = plugin_lang_get( 'changesets' ); + + plugin_pop_current(); + } + public function cache( $p_bugs ) { $t_bug_table = plugin_table( 'bug', 'Source' ); @@ -35,7 +42,11 @@ } public function display( $p_bug, $p_columns_target ) { - echo $this->changeset_cache[ $p_bug->id ]; + plugin_push_current( 'Source' ); + + echo '', $this->changeset_cache[ $p_bug->id ], ''; + + plugin_pop_current(); } }