[i18ncube] fix crash due to duplicated messages in generated schema.pot
Add a test case and fix regression introduced in e713c47a993d.
Relates to #2811282
# migrate default format for TriInfo `comment_format` attributesync_schema_props_perms('TrInfo')commit()