Make the button that expands the publish form differentiable from the button that publishes a post (#20864)

local
Levi Bard 2 years ago committed by GitHub
parent 642870c82b
commit 654d348aac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/javascript/mastodon/features/ui/components/header.js
  2. 2
      app/javascript/mastodon/locales/defaultMessages.json

@ -35,7 +35,7 @@ class Header extends React.PureComponent {
if (signedIn) {
content = (
<>
{location.pathname !== '/publish' && <Link to='/publish' className='button'><FormattedMessage id='compose_form.publish' defaultMessage='Publish' /></Link>}
{location.pathname !== '/publish' && <Link to='/publish' className='button'><FormattedMessage id='compose_form.publish_form' defaultMessage='Publish' /></Link>}
<Account />
</>
);

@ -3989,7 +3989,7 @@
"descriptors": [
{
"defaultMessage": "Publish",
"id": "compose_form.publish"
"id": "compose_form.publish_form"
},
{
"defaultMessage": "Sign in",

Loading…
Cancel
Save