Add copyright and other option to report

This commit is contained in:
Eric Bailey
2024-02-15 10:21:48 -06:00
parent 16db93d8f9
commit b52beefa27
5 changed files with 90 additions and 27 deletions
+5 -1
View File
@@ -4,7 +4,7 @@ import {useLingui} from '@lingui/react'
import {useMemo} from 'react'
export type LabelGroupStrings = Record<
keyof typeof LABEL_GROUPS,
keyof typeof LABEL_GROUPS | 'other',
{name: string; description: string}
>
@@ -116,6 +116,10 @@ export function useLabelGroupStrings(): LabelGroupStrings {
msg`Helpful annotations to explain intent, such as satire or parody.`,
),
},
other: {
name: _(msg`Other`),
description: _(msg`Other content not covered by the other categories.`),
},
}),
[_],
)