-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I got lint error from the following translation:
error 'title' requires interpolation data @m6web/i18n/interpolation-data
"title": "Lesson {{number}} - {{name}}",localise('title', {
number: lessonNumber,
name: sectionTitle,
})The problem seems to be caused by this check for useTranslate:
Essentially using any key from ['data', 'number', 'general', 'renderers'] will cause an error. But we don't use useTranslate and "number" should be a very normal key to use for interpolation.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working