Use link to associate, leave copy as is
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
|||||||
import {msg, Plural, plural, Trans} from '@lingui/macro'
|
import {msg, Plural, plural, Trans} from '@lingui/macro'
|
||||||
import {useLingui} from '@lingui/react'
|
import {useLingui} from '@lingui/react'
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
import {MAX_LABELERS} from '#/lib/constants'
|
import {MAX_LABELERS} from '#/lib/constants'
|
||||||
import {isAppLabeler} from '#/lib/moderation'
|
import {isAppLabeler} from '#/lib/moderation'
|
||||||
import {logger} from '#/logger'
|
import {logger} from '#/logger'
|
||||||
@@ -315,6 +316,9 @@ let ProfileHeaderLabeler = ({
|
|||||||
ProfileHeaderLabeler = memo(ProfileHeaderLabeler)
|
ProfileHeaderLabeler = memo(ProfileHeaderLabeler)
|
||||||
export {ProfileHeaderLabeler}
|
export {ProfileHeaderLabeler}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Keep this in sync with the value of {@link MAX_LABELERS}
|
||||||
|
*/
|
||||||
function CantSubscribePrompt({
|
function CantSubscribePrompt({
|
||||||
control,
|
control,
|
||||||
}: {
|
}: {
|
||||||
@@ -326,8 +330,8 @@ function CantSubscribePrompt({
|
|||||||
<Prompt.TitleText>Unable to subscribe</Prompt.TitleText>
|
<Prompt.TitleText>Unable to subscribe</Prompt.TitleText>
|
||||||
<Prompt.DescriptionText>
|
<Prompt.DescriptionText>
|
||||||
<Trans>
|
<Trans>
|
||||||
We're sorry! You can only subscribe to {MAX_LABELERS} labelers, and
|
We're sorry! You can only subscribe to twenty labelers, and you've
|
||||||
you've reached your limit of {MAX_LABELERS}.
|
reached your limit of twenty.
|
||||||
</Trans>
|
</Trans>
|
||||||
</Prompt.DescriptionText>
|
</Prompt.DescriptionText>
|
||||||
<Prompt.Actions>
|
<Prompt.Actions>
|
||||||
|
|||||||
Reference in New Issue
Block a user