Relation verbs weren't properly translated as they should.

This commit is contained in:
Thomas Keller
2011-11-01 01:15:23 +01:00
parent 623c562054
commit 91b189b75f
2 changed files with 2 additions and 2 deletions

View File

@@ -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;