i18n: resolve duplicate message identifiers in code
This commit is contained in:
@ -10,7 +10,7 @@ import { Avatar, HStack, Icon } from 'soapbox/components/ui';
|
||||
import { useAppDispatch } from 'soapbox/hooks';
|
||||
|
||||
const messages = defineMessages({
|
||||
publish: { id: 'compose_form.publish', defaultMessage: 'Publish' },
|
||||
publish: { id: 'compose_form.publish', defaultMessage: 'Post' },
|
||||
});
|
||||
|
||||
/** FloatingActionButton (aka FAB), a composer button that floats in the corner on mobile. */
|
||||
|
||||
@ -64,7 +64,7 @@ const ActionsModal: React.FC<IActionsModal> = ({ status, actions, onClick, onClo
|
||||
|
||||
<li>
|
||||
<button type='button' onClick={onClose}>
|
||||
<FormattedMessage id='lightbox.close' defaultMessage='Cancel' />
|
||||
<FormattedMessage id='lightbox.close' defaultMessage='Close' />
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@ -170,7 +170,7 @@ const Navbar = () => {
|
||||
size='sm'
|
||||
{...(features.nostrSignup ? { onClick: handleNostrLogin } : { to: '/login' })}
|
||||
>
|
||||
<FormattedMessage id='account.login' defaultMessage='Log In' />
|
||||
<FormattedMessage id='account.login' defaultMessage='Log in' />
|
||||
</Button>
|
||||
|
||||
{(isOpen) && (
|
||||
|
||||
@ -19,7 +19,7 @@ const SignUpPanel = () => {
|
||||
</Text>
|
||||
|
||||
<Text theme='muted' size='sm'>
|
||||
<FormattedMessage id='signup_panel.subtitle' defaultMessage='Sign up now to discuss.' />
|
||||
<FormattedMessage id='signup_panel.subtitle' defaultMessage="Sign up now to discuss what's happening." />
|
||||
</Text>
|
||||
</Stack>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user