Unquotes one raw attribute value and strips the _("...") gettext marker.
_("...")
import { parseValue } from '@datamoc/mw_games/mwl';console.log(parseValue('_("Hold the line")', { file: 'a.mwl', line: 1, column: 1 })); // 'Hold the line' Copy
import { parseValue } from '@datamoc/mw_games/mwl';console.log(parseValue('_("Hold the line")', { file: 'a.mwl', line: 1, column: 1 })); // 'Hold the line'
Unquotes one raw attribute value and strips the
_("...")gettext marker.