Indefero

Indefero Commit Details


Date:2011-10-31 19:15:23 (13 years 1 month ago)
Author:Thomas Keller
Branch:develop, feature.wiki-default-page, release-1.2, release-1.3
Commit:91b189b75fcdb86127519399b4653470a7f730c1
Parents: 623c562054de05e09ee9c7def9a25329b8d25aea
Message:Relation verbs weren't properly translated as they should.

Changes:

File differences

src/IDF/Views/Issue.php
993993
994994
995995
996
997996
998
997
999998
1000999
10011000
$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;
src/IDF/templates/idf/issues/view.html
190190
191191
192192
193
193194
194195
195196
{if count($related_issues) > 0}
{foreach $related_issues as $verb => $rel_issues}
<p>
{assign $verb = __($verb)}
<strong>{blocktrans}This issue {$verb}{/blocktrans}</strong><br />
{foreach $rel_issues as $rel_issue}
<span class="label">

Archive Download the corresponding diff file

Page rendered in 0.07910s using 13 queries.