(i18nInfo: any, self: any)
| 291 | * @param self context |
| 292 | */ |
| 293 | export function parseI18n(i18nInfo: any, self: any) { |
| 294 | return parseExpression({ |
| 295 | type: EXPRESSION_TYPE.JSEXPRESSION, |
| 296 | value: `this.i18n('${i18nInfo.key}')`, |
| 297 | }, self); |
| 298 | } |
| 299 | |
| 300 | /** |
| 301 | * for each key in targetObj, run fn with the value of the value, and the context paased in. |
no test coverage detected
searching dependent graphs…