chore: adds error and errors translations (#3121)

This commit is contained in:
Jarrod Flesch
2023-08-03 15:14:34 -04:00
committed by GitHub
parent 5b07e18ff5
commit 5ca45987c4
27 changed files with 89 additions and 35 deletions

View File

@@ -23,7 +23,7 @@ export const ErrorPill: React.FC<Props> = (props) => {
<div className={classes}>
<div className={`${baseClass}__content`}>
<span className={`${baseClass}__count`}>{count}</span>
{withMessage && ` ${count > 1 ? t('error:plural') : t('error:singular')}`}
{withMessage && ` ${count > 1 ? t('general:errors') : t('general:error')}`}
</div>
</div>
);