This function attaches a constant string as a gettext translation domain identifier to a Type.
The only purpose of this function is to use it when registering a ENUM with translatable value names.
| type |
a Type |
| domain |
a constant string that identifies a translation domain or null |