The errors normally come back as a list I thought.  so [_('Duplicate key "%s"') % extras_keys[0]]