Skip to content

Commit

Permalink
meow: default messages in code
Browse files Browse the repository at this point in the history
  • Loading branch information
arachnist committed Aug 28, 2024
1 parent d46bf54 commit 0d2a94b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const allowedAroundShortCode = '><\u0085\u0020\u00a0\u1680\u2000\u2001\u2002\u20
const messages = defineMessages({
placeholder: { id: 'compose_form.placeholder', defaultMessage: 'What is on your mind?' },
spoiler_placeholder: { id: 'compose_form.spoiler_placeholder', defaultMessage: 'Content warning (optional)' },
publish: { id: 'compose_form.publish', defaultMessage: 'Post' },
publish: { id: 'compose_form.publish', defaultMessage: 'Meow' },
saveChanges: { id: 'compose_form.save_changes', defaultMessage: 'Update' },
reply: { id: 'compose_form.reply', defaultMessage: 'Reply' },
});
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/mastodon/features/ui/components/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Header extends PureComponent {
content = (
<>
{location.pathname !== '/search' && <Link to='/search' className='button button-secondary' aria-label={intl.formatMessage(messages.search)}><Icon id='search' icon={SearchIcon} /></Link>}
{location.pathname !== '/publish' && <Link to='/publish' className='button button-secondary'><FormattedMessage id='compose_form.publish_form' defaultMessage='New post' /></Link>}
{location.pathname !== '/publish' && <Link to='/publish' className='button button-secondary'><FormattedMessage id='compose_form.publish_form' defaultMessage='Meow' /></Link>}
<Account />
</>
);
Expand Down

0 comments on commit 0d2a94b

Please sign in to comment.