Broken/duplicated translation items
Scenario:
- Fresh clone of trunk
- Fresh database
- Install module account with localization for Germany
->
postgres log:
Key „(name, res_id, lang, type, src_md5, module)=(account.account.type.template,name, -1, de_DE, model, 222a267cc5778206b253be35ee3ddab5, account)“ already exists
INSERT INTO "ir_translation" ("create_uid", "create_date", "lang", "src", "name", "type", "module", "src_md5", "value", "fuzzy", "res_id") VALUES (0, CURRENT_TIMESTAMP, 'de_DE', 'Current', 'account.account.type.template,name', 'model', 'account', '222a267cc5778206b253be35ee3ddab5', 'Umlaufvermögen', false, -1) RETURNING "id"
Probably due to changeset http://hg.tryton.org/modules/account/rev/53e93ecd5aee, which moved those items to xml without cleaning up the po files.
http://hg.tryton.org/modules/account/file/53e93ecd5aee/locale/de_DE.po#l2831
http://hg.tryton.org/modules/account/file/53e93ecd5aee/minimal_chart_de.xml#l32
So either the unique key for those translations is not sufficient or the po files should be cleaned.
Note: po files from pootle are broken as well.