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