Skip to content

Cm5Editor.phrase method

Cm5Editor › phrase

Unofficial

Translates a string through the phrases option for i18n.

Signature:

phrase(text: string): unknown

Parameters:

ParameterTypeDescription
textstringThe text to translate.

Returns: unknownThe translated text.