pl-fe: fix translations

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-09-28 13:26:47 +02:00
parent 5d78ff5f5b
commit bd55870e15
3 changed files with 4 additions and 3 deletions

View File

@ -74,7 +74,7 @@ const ModalRoot: React.FC<IModalRoot> = ({ children, onCancel, onClose, type })
message: isEditing
? <FormattedMessage id='confirmations.cancel_editing.message' defaultMessage='Are you sure you want to cancel editing this post? All changes will be lost.' />
: compose.draft_id
? <FormattedMessage id='confirmations.cancel_editing.message' defaultMessage='Are you sure you want to cancel editing this draft post? All changes will be lost.' />
? <FormattedMessage id='confirmations.cancel_draft_editing.message' defaultMessage='Are you sure you want to cancel editing this draft post? All changes will be lost.' />
: <FormattedMessage id='confirmations.cancel.message' defaultMessage='Are you sure you want to cancel creating this post?' />,
confirm: intl.formatMessage(messages.confirm),
onConfirm: () => {

View File

@ -616,9 +616,10 @@
"confirmations.cancel.heading": "Discard post",
"confirmations.cancel.message": "Are you sure you want to cancel creating this post?",
"confirmations.cancel_draft.heading": "Discard draft changes",
"confirmations.cancel_draft_editing.message": "Are you sure you want to cancel editing this draft post? All changes will be lost.",
"confirmations.cancel_editing.confirm": "Cancel editing",
"confirmations.cancel_editing.heading": "Cancel post editing",
"confirmations.cancel_editing.message": "Are you sure you want to cancel editing this draft post? All changes will be lost.",
"confirmations.cancel_editing.message": "Are you sure you want to cancel editing this post? All changes will be lost.",
"confirmations.cancel_editing.save_draft": "Save draft",
"confirmations.delete.confirm": "Delete",
"confirmations.delete.heading": "Delete post",

View File

@ -49,7 +49,7 @@ const ComposeModal: React.FC<BaseModalProps & ComposeModalProps> = ({ onClose, c
message: statusId
? <FormattedMessage id='confirmations.cancel_editing.message' defaultMessage='Are you sure you want to cancel editing this post? All changes will be lost.' />
: compose.draft_id
? <FormattedMessage id='confirmations.cancel_editing.message' defaultMessage='Are you sure you want to cancel editing this draft post? All changes will be lost.' />
? <FormattedMessage id='confirmations.cancel_draft_editing.message' defaultMessage='Are you sure you want to cancel editing this draft post? All changes will be lost.' />
: <FormattedMessage id='confirmations.cancel.message' defaultMessage='Are you sure you want to cancel creating this post?' />,
confirm: intl.formatMessage(statusId ? messages.cancelEditing : messages.confirm),
onConfirm: () => {