Gimp.type_set_translation_domain

function type_set_translation_domain(type: GObject.Type, domain: String): void {
    // Gjs wrapper for gimp_type_set_translation_domain()
}
  

This function attaches a constant string as a gettext translation domain identifier to a GLib.Type. The only purpose of this function is to use it when registering a #G_TYPE_ENUM with translatable value names.

Since 2.2

type

a GLib.Type

domain

a constant string that identifies a translation domain or null