From 20718a8b5972210ba2f1b9d68dd6345a15bf50c6 Mon Sep 17 00:00:00 2001 From: Claire Date: Sat, 10 Jun 2023 19:21:44 +0200 Subject: [PATCH] Fix some translation strings inconsistencies --- app/javascript/flavours/glitch/containers/status_container.js | 2 +- .../glitch/features/account_timeline/components/header.jsx | 2 +- .../glitch/features/account_timeline/components/moved_note.jsx | 2 +- .../features/account_timeline/containers/header_container.jsx | 2 +- app/javascript/flavours/glitch/features/explore/results.jsx | 2 +- .../flavours/glitch/features/local_settings/page/index.jsx | 2 +- app/javascript/flavours/glitch/features/status/index.jsx | 2 +- app/javascript/flavours/glitch/locales/en.json | 2 ++ 8 files changed, 9 insertions(+), 7 deletions(-) diff --git a/app/javascript/flavours/glitch/containers/status_container.js b/app/javascript/flavours/glitch/containers/status_container.js index 287e086e5..5d9398909 100644 --- a/app/javascript/flavours/glitch/containers/status_container.js +++ b/app/javascript/flavours/glitch/containers/status_container.js @@ -47,7 +47,7 @@ const messages = defineMessages({ deleteConfirm: { id: 'confirmations.delete.confirm', defaultMessage: 'Delete' }, deleteMessage: { id: 'confirmations.delete.message', defaultMessage: 'Are you sure you want to delete this status?' }, redraftConfirm: { id: 'confirmations.redraft.confirm', defaultMessage: 'Delete & redraft' }, - redraftMessage: { id: 'confirmations.redraft.message', defaultMessage: 'Are you sure you want to delete this status and re-draft it? You will lose all replies, boosts and favourites to it.' }, + redraftMessage: { id: 'confirmations.redraft.message', defaultMessage: 'Are you sure you want to delete this status and re-draft it? Favourites and boosts will be lost, and replies to the original post will be orphaned.' }, replyConfirm: { id: 'confirmations.reply.confirm', defaultMessage: 'Reply' }, replyMessage: { id: 'confirmations.reply.message', defaultMessage: 'Replying now will overwrite the message you are currently composing. Are you sure you want to proceed?' }, editConfirm: { id: 'confirmations.edit.confirm', defaultMessage: 'Edit' }, diff --git a/app/javascript/flavours/glitch/features/account_timeline/components/header.jsx b/app/javascript/flavours/glitch/features/account_timeline/components/header.jsx index 5480045b7..717114d5c 100644 --- a/app/javascript/flavours/glitch/features/account_timeline/components/header.jsx +++ b/app/javascript/flavours/glitch/features/account_timeline/components/header.jsx @@ -153,7 +153,7 @@ export default class Header extends ImmutablePureComponent { {!(hideTabs || hidden) && (
- +
)} diff --git a/app/javascript/flavours/glitch/features/account_timeline/components/moved_note.jsx b/app/javascript/flavours/glitch/features/account_timeline/components/moved_note.jsx index 7b9f6fa37..2e10ea94a 100644 --- a/app/javascript/flavours/glitch/features/account_timeline/components/moved_note.jsx +++ b/app/javascript/flavours/glitch/features/account_timeline/components/moved_note.jsx @@ -38,7 +38,7 @@ export default class MovedNote extends ImmutablePureComponent {
- }} /> + }} />
diff --git a/app/javascript/flavours/glitch/features/account_timeline/containers/header_container.jsx b/app/javascript/flavours/glitch/features/account_timeline/containers/header_container.jsx index 6ee5aba5f..270865df4 100644 --- a/app/javascript/flavours/glitch/features/account_timeline/containers/header_container.jsx +++ b/app/javascript/flavours/glitch/features/account_timeline/containers/header_container.jsx @@ -148,7 +148,7 @@ const mapDispatchToProps = (dispatch, { intl }) => ({ dispatch(openModal({ modalType: 'CONFIRM', modalProps: { - message: {domain} }} />, + message: {domain} }} />, confirm: intl.formatMessage(messages.blockDomainConfirm), onConfirm: () => dispatch(blockDomain(domain)), }, diff --git a/app/javascript/flavours/glitch/features/explore/results.jsx b/app/javascript/flavours/glitch/features/explore/results.jsx index ac1815d75..d4523a583 100644 --- a/app/javascript/flavours/glitch/features/explore/results.jsx +++ b/app/javascript/flavours/glitch/features/explore/results.jsx @@ -113,7 +113,7 @@ class Results extends PureComponent { - +
diff --git a/app/javascript/flavours/glitch/features/local_settings/page/index.jsx b/app/javascript/flavours/glitch/features/local_settings/page/index.jsx index 5badc9079..929391927 100644 --- a/app/javascript/flavours/glitch/features/local_settings/page/index.jsx +++ b/app/javascript/flavours/glitch/features/local_settings/page/index.jsx @@ -275,7 +275,7 @@ class LocalSettingsPage extends PureComponent { ), ({ intl, onChange, settings }) => (
-

+