Update i18n eslint rule to validate missing/extra icu params
This commit is contained in:
parent
4e6c3ba9df
commit
8ca192a48d
16 changed files with 449 additions and 66 deletions
|
@ -70,7 +70,10 @@ export function StoriesAddStoryButton({
|
|||
|
||||
if (result.reason === ReasonVideoNotGood.TooBig) {
|
||||
setError(
|
||||
i18n('icu:StoryCreator__error--video-too-big', result.renderDetails)
|
||||
i18n('icu:StoryCreator__error--video-too-big', {
|
||||
limit: result.renderDetails.limit,
|
||||
units: result.renderDetails.units,
|
||||
})
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue