Class

AppStreamTranslation

[]

Description

class AppStream.Translation : GObject.Object
{
  /* No available fields */
}

No description available.

[]

Hierarchy

hierarchy this AsTranslation ancestor_0 GObject ancestor_0--this
[]

Ancestors

[]

Constructors

as_translation_new

Creates a new AsTranslation.

[]

Instance methods

as_translation_get_id

The ID (e.g. Gettext translation domain) of this translation.

as_translation_get_kind

The translation system type.

as_translation_get_source_locale

The locale of the source strings for this component. If this has not been explicitly specified, en_US will be returned.

since: 0.14.6

as_translation_set_id

Set the ID (e.g. Gettext domain) of this translation.

as_translation_set_kind

Set the translation system type.

as_translation_set_source_locale

Set the locale of the source strings for this component. In gettext, this is referred to as the C locale. It’s almost always en_US, but for some components it may not be.

since: 0.14.6

Methods inherited from GObject (43)
[]

Signals

Signals inherited from GObject (1)

Class structure