Skip to content

Commit f6ab1a0

Browse files
committed
fix: invalid translation for question author boxes
1 parent 7565ff8 commit f6ab1a0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

plugins/qeta-react/src/components/AuthorBox/AuthorBoxes.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ export const AuthorBoxes = (props: { entity: PostAnswerEntity }) => {
3535
<AuthorBox
3636
userEntityRef={entity.author}
3737
time={entity.created}
38-
label={t('authorBox.answeredAtTime')}
38+
label={
39+
isAnswer(entity)
40+
? t('authorBox.answeredAtTime')
41+
: t('authorBox.postedAtTime')
42+
}
3943
expert={isAnswer(entity) ? entity.expert : false}
4044
anonymous={entity.anonymous}
4145
/>

0 commit comments

Comments
 (0)