Skip to content

Cm5Editor.phrase method

Cm5Editor › phrase

Unofficial

Translates a string through the phrases option for i18n.

Signature:

phrase(text: string): unknown

Parameters:

Parameter Type Description
text string The text to translate.

Returns: unknownThe translated text.