Relation verbs weren't properly translated as they should.
This commit is contained in:
parent
623c562054
commit
91b189b75f
@ -993,9 +993,8 @@ class IDF_Views_Issue
|
|||||||
$r = $project->getRelationsFromConfig();
|
$r = $project->getRelationsFromConfig();
|
||||||
$auto['auto_relation_types'] = '';
|
$auto['auto_relation_types'] = '';
|
||||||
foreach ($r as $rt) {
|
foreach ($r as $rt) {
|
||||||
$esc = Pluf_esc($rt);
|
|
||||||
$auto['auto_relation_types'] .= sprintf('{ name: "%s", to: "%s" }, ',
|
$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);
|
$auto['auto_relation_types'] = substr($auto['auto_relation_types'], 0, -2);
|
||||||
return $auto;
|
return $auto;
|
||||||
|
@ -190,6 +190,7 @@
|
|||||||
{if count($related_issues) > 0}
|
{if count($related_issues) > 0}
|
||||||
{foreach $related_issues as $verb => $rel_issues}
|
{foreach $related_issues as $verb => $rel_issues}
|
||||||
<p>
|
<p>
|
||||||
|
{assign $verb = __($verb)}
|
||||||
<strong>{blocktrans}This issue {$verb}{/blocktrans}</strong><br />
|
<strong>{blocktrans}This issue {$verb}{/blocktrans}</strong><br />
|
||||||
{foreach $rel_issues as $rel_issue}
|
{foreach $rel_issues as $rel_issue}
|
||||||
<span class="label">
|
<span class="label">
|
||||||
|
Loading…
Reference in New Issue
Block a user