Skip to content

Commit 9aceff8

Browse files
committed
Add translation form CommentType
1 parent 7a18ce9 commit 9aceff8

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
@@ -44,7 +44,8 @@ function encodeType(CommentType $type)
4444
{
4545
return [
4646
'id' => $type->getId(),
47-
'name' => $type->getName()
47+
'name' => $type->getName(),
48+
'translated' => TranslationService::getTranslation('translated.3000')
4849
];
4950
}
5051

0 commit comments

Comments
 (0)