Commit 4df2c07f authored by Jérome Perrin's avatar Jérome Perrin

relation fields can also be on reference

parent 566dc9cb
......@@ -62,7 +62,7 @@ if pieces[-1] == \'list\':\n
pieces.pop()\n
\n
# can it be translated title, or something else?\n
if pieces[-1] == \'title\':\n
if pieces[-1] in (\'title\', \'reference\'):\n
idx = -1\n
else:\n
idx = -2\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment