diff options
author | Eric Bailey <git@esb.lol> | 2024-07-25 18:07:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 18:07:15 -0500 |
commit | 783fd351ba5299a74cc9e6885939ef09034ed97d (patch) | |
tree | a204d2745402ba183bc68be15dbdc3677303f7ba /src/components/moderation/LabelPreference.tsx | |
parent | e7b485f185913dd52f807c232b3b9c9a580ae33d (diff) | |
download | voidsky-783fd351ba5299a74cc9e6885939ef09034ed97d.tar.zst |
Add labels to a few missing places (#4838)
Diffstat (limited to 'src/components/moderation/LabelPreference.tsx')
-rw-r--r-- | src/components/moderation/LabelPreference.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/moderation/LabelPreference.tsx b/src/components/moderation/LabelPreference.tsx index 619164303..78b50ff8b 100644 --- a/src/components/moderation/LabelPreference.tsx +++ b/src/components/moderation/LabelPreference.tsx @@ -174,7 +174,7 @@ export function LabelerLabelPreference({ disabled?: boolean labelerDid?: string }) { - const {i18n} = useLingui() + const {_, i18n} = useLingui() const t = useTheme() const {gtPhone} = useBreakpoints() @@ -243,7 +243,10 @@ export function LabelerLabelPreference({ ) : isGlobalLabel ? ( <Trans> Configured in{' '} - <InlineLinkText to="/moderation" style={a.text_sm}> + <InlineLinkText + label={_(msg`moderation settings`)} + to="/moderation" + style={a.text_sm}> moderation settings </InlineLinkText> . |