Internationalization.stripContext

An auxiliary function for gettext() support (see Q_()).

struct Internationalization
static
string
stripContext
(
string msgid
,
string msgval
)

Parameters

msgid string

a string

msgval string

another string

Return Value

Type: string

msgval, unless msgval is identical to msgid and contains a '|' character, in which case a pointer to the substring of msgid after the first '|' character is returned.

Meta