Description

A unique string to be translated.

Often this will be a human-readable string (e.g. in English) but it can also be a unique string identifier that must then be translated to the current locale with dgettext() or any similar mechanism.

Setting this property will enable translation for this object or part.

Values

Getter

  • domain - A translation domain. If null this means the default domain is used.

Setter

  • label - A unique (untranslated) string.
  • domain - A translation domain. If null this uses the default domain (eg. set by textdomain()).

Setter

Sets the new untranslated string and domain for this object.

Signature

@property translatable_text @pure_virtual {
    get {
        values {
            domain: free(string, free) @optional;
        }
        return: free(string, free);
    }
    set {
        values {
            label: free(string, free);
            domain: free(string, free) @optional;
        }
    }
}

C signature

const char *efl_ui_translatable_text_get(const Eo *obj, const char **domain);
void efl_ui_translatable_text_set(Eo *obj, const char *label, const char *domain);

Implemented by

  • Efl.Ui.Translatable.translatable_text