From 5727d5bbc332366cf1c054fb2a21b36d98216cd8 Mon Sep 17 00:00:00 2001 From: John Mastodon Date: Tue, 7 May 2024 06:28:19 +0200 Subject: [PATCH] toot TOOT --- .../mastodon/features/compose/components/compose_form.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/javascript/mastodon/features/compose/components/compose_form.jsx b/app/javascript/mastodon/features/compose/components/compose_form.jsx index 71db8026b..4b26d09b2 100644 --- a/app/javascript/mastodon/features/compose/components/compose_form.jsx +++ b/app/javascript/mastodon/features/compose/components/compose_form.jsx @@ -34,7 +34,7 @@ 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' }, - publishLoud: { id: 'compose_form.publish_loud', defaultMessage: '{publish}!' }, + publishLoud: { id: 'compose_form.publish_loud', defaultMessage: 'TOOT!' }, saveChanges: { id: 'compose_form.save_changes', defaultMessage: 'Save changes' }, }); @@ -232,9 +232,9 @@ class ComposeForm extends ImmutablePureComponent { if (this.props.isEditing) { publishText = intl.formatMessage(messages.saveChanges); } else if (this.props.privacy === 'private' || this.props.privacy === 'direct') { - publishText = {intl.formatMessage(messages.publish)}; + publishText = toot; } else { - publishText = this.props.privacy !== 'unlisted' ? intl.formatMessage(messages.publishLoud, { publish: intl.formatMessage(messages.publish) }) : intl.formatMessage(messages.publish); + publishText = this.props.privacy !== 'unlisted' ? 'TOOT!' : 'toot'; } return (