diff --git a/src/IDF/Views/Issue.php b/src/IDF/Views/Issue.php index 083bd62..10ecfff 100644 --- a/src/IDF/Views/Issue.php +++ b/src/IDF/Views/Issue.php @@ -993,9 +993,8 @@ class IDF_Views_Issue $r = $project->getRelationsFromConfig(); $auto['auto_relation_types'] = ''; foreach ($r as $rt) { - $esc = Pluf_esc($rt); $auto['auto_relation_types'] .= sprintf('{ name: "%s", to: "%s" }, ', - $esc, $esc); + Pluf_esc(__($rt)), Pluf_esc($rt)); } $auto['auto_relation_types'] = substr($auto['auto_relation_types'], 0, -2); return $auto; diff --git a/src/IDF/templates/idf/issues/view.html b/src/IDF/templates/idf/issues/view.html index 1e2f18f..452ffd7 100644 --- a/src/IDF/templates/idf/issues/view.html +++ b/src/IDF/templates/idf/issues/view.html @@ -190,6 +190,7 @@ {if count($related_issues) > 0} {foreach $related_issues as $verb => $rel_issues}
+{assign $verb = __($verb)}
{blocktrans}This issue {$verb}{/blocktrans}
{foreach $rel_issues as $rel_issue}