Gimp.type_set_translation_context

function type_set_translation_context(type: GObject.Type, context: String): void {
    // Gjs wrapper for gimp_type_set_translation_context()
}
  

This function attaches a constant string as a translation context 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.8

type

a GLib.Type

context

a constant string that identifies a translation context or null