Browse Source

Change label of publish button to be "Publish" again (#18583)

closed-social-glitch-2
Eugen Rochko 2 years ago
committed by GitHub
parent
commit
628c177ebe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      app/javascript/mastodon/features/compose/components/compose_form.js
  2. +2
    -2
      app/javascript/mastodon/locales/defaultMessages.json
  3. +1
    -1
      app/javascript/mastodon/locales/en.json

+ 1
- 1
app/javascript/mastodon/features/compose/components/compose_form.js View File

@ -27,7 +27,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: 'Write your warning here' },
publish: { id: 'compose_form.publish', defaultMessage: 'Toot' },
publish: { id: 'compose_form.publish', defaultMessage: 'Publish' },
publishLoud: { id: 'compose_form.publish_loud', defaultMessage: '{publish}!' },
saveChanges: { id: 'compose_form.save_changes', defaultMessage: 'Save changes' },
});

+ 2
- 2
app/javascript/mastodon/locales/defaultMessages.json View File

@ -1182,7 +1182,7 @@
"id": "compose_form.spoiler_placeholder"
},
{
"defaultMessage": "Toot",
"defaultMessage": "Publish",
"id": "compose_form.publish"
},
{
@ -3711,4 +3711,4 @@
],
"path": "app/javascript/mastodon/features/video/index.json"
}
]
]

+ 1
- 1
app/javascript/mastodon/locales/en.json View File

@ -106,7 +106,7 @@
"compose_form.poll.remove_option": "Remove this choice",
"compose_form.poll.switch_to_multiple": "Change poll to allow multiple choices",
"compose_form.poll.switch_to_single": "Change poll to allow for a single choice",
"compose_form.publish": "Toot",
"compose_form.publish": "Publish",
"compose_form.publish_loud": "{publish}!",
"compose_form.save_changes": "Save changes",
"compose_form.sensitive.hide": "{count, plural, one {Mark media as sensitive} other {Mark media as sensitive}}",

Loading…
Cancel
Save