Skip to content

Commit 5c2fe0c

Browse files
committed
Add translation form CommentType
1 parent 0e6cfe7 commit 5c2fe0c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ function encodeType(CommentType $type): array
4343
{
4444
return [
4545
'id' => $type->getId(),
46-
'name' => $type->getName()
46+
'name' => $type->getName(),
47+
'translated' => TranslationService::getTranslation('translated.3000')
4748
];
4849
}
4950

0 commit comments

Comments
 (0)