MoFile.gettext

Get translated message.

struct MoFile
pure const
string
gettext
(
string msgid
)

Parameters

msgid string

Message id (usually untranslated string)

Return Value

Type: string

Translated message for the msgid. If translation for this msgid does not exist or MoFile is default constructed the msgid is returned.

Meta