Top | ![]() |
![]() |
![]() |
![]() |
AsTranslation * | as_translation_new () |
AsTranslationKind | as_translation_kind_from_string () |
const gchar * | as_translation_kind_to_string () |
const gchar * | as_translation_get_id () |
AsTranslationKind | as_translation_get_kind () |
void | as_translation_set_id () |
void | as_translation_set_kind () |
#define | AS_TYPE_TRANSLATION |
struct | AsTranslationClass |
enum | AsTranslationKind |
AsTranslation |
Translation systems such as gettext install the translated files in a specific location.
This object represents translation data for an application.
See also: AsApp
AsTranslation *
as_translation_new (void
);
Creates a new AsTranslation.
Since: 0.5.8
AsTranslationKind
as_translation_kind_from_string (const gchar *kind
);
Converts the text representation to an enumerated value.
Since: 0.5.8
const gchar *
as_translation_kind_to_string (AsTranslationKind kind
);
Converts the enumerated value to an text representation.
Since: 0.5.8
const gchar *
as_translation_get_id (AsTranslation *translation
);
Gets the ID for this translation.
Since: 0.5.8
AsTranslationKind
as_translation_get_kind (AsTranslation *translation
);
Gets the translation kind.
Since: 0.5.8
void as_translation_set_id (AsTranslation *translation
,const gchar *id
);
Sets the ID for this translation.
Since: 0.5.8
void as_translation_set_kind (AsTranslation *translation
,AsTranslationKind kind
);
Sets the translation kind.
translation |
a AsTranslation instance. |
|
kind |
the AsTranslationKind, e.g. |
Since: 0.5.8