From b3075a9993bff1bfca18ada91fe5587e921781d5 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Wed, 31 Jan 2024 00:34:07 +0900 Subject: [PATCH] Remove unused l18n messages (#28964) --- .../mastodon/features/compose/components/poll_form.jsx | 2 -- app/javascript/mastodon/locales/en.json | 2 -- 2 files changed, 4 deletions(-) diff --git a/app/javascript/mastodon/features/compose/components/poll_form.jsx b/app/javascript/mastodon/features/compose/components/poll_form.jsx index 3c02810e7a..b3566fd6f5 100644 --- a/app/javascript/mastodon/features/compose/components/poll_form.jsx +++ b/app/javascript/mastodon/features/compose/components/poll_form.jsx @@ -18,8 +18,6 @@ import AutosuggestInput from 'mastodon/components/autosuggest_input'; const messages = defineMessages({ option_placeholder: { id: 'compose_form.poll.option_placeholder', defaultMessage: 'Option {number}' }, - add_option: { id: 'compose_form.poll.add_option', defaultMessage: 'Add option' }, - remove_option: { id: 'compose_form.poll.remove_option', defaultMessage: 'Remove this option' }, duration: { id: 'compose_form.poll.duration', defaultMessage: 'Poll length' }, type: { id: 'compose_form.poll.type', defaultMessage: 'Style' }, switchToMultiple: { id: 'compose_form.poll.switch_to_multiple', defaultMessage: 'Change poll to allow multiple choices' }, diff --git a/app/javascript/mastodon/locales/en.json b/app/javascript/mastodon/locales/en.json index 4befe77949..22a831b093 100644 --- a/app/javascript/mastodon/locales/en.json +++ b/app/javascript/mastodon/locales/en.json @@ -145,11 +145,9 @@ "compose_form.lock_disclaimer": "Your account is not {locked}. Anyone can follow you to view your follower-only posts.", "compose_form.lock_disclaimer.lock": "locked", "compose_form.placeholder": "What's on your mind?", - "compose_form.poll.add_option": "Add option", "compose_form.poll.duration": "Poll duration", "compose_form.poll.multiple": "Multiple choice", "compose_form.poll.option_placeholder": "Option {number}", - "compose_form.poll.remove_option": "Remove this option", "compose_form.poll.single": "Pick one", "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",