Function MoFile.gettext

Get translated message.

string gettext (
  string msgid
) pure @safe const;

Parameters

NameDescription
msgid Message id (usually untranslated string)

Returns

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