"Paste" button label and "Replace" popup changes

Description

Acceptance criteria

  • Implement "Paste" button changes as described in 1

  • Implement "Replace" popup changes as described in 2

1. "Paste" button changes

"Paste" button changes apply only to a "Paste" button for existing content (just the "Paste" button that triggers "Replace content" popup). Changes:

  • "Paste" button label is renamed to "Paste & Replace"

  • Browser tip is renamed to: "Replace existing content with H5P Content from the clipboard"

Other paste buttons should not be affected by the change above so:

  • When paste over new, empty node - "Paste" button is unchanged

  • CP, IV, DnD, and the Hub paste buttons are unchanged

2. "Replace" popup changes

  • Change the title to: "Replace Content"

  • Change the description to: "By doing this you will replace the current content with the content from your clipboard. The current content will be lost. Are you sure you wish to continue?"

  • Change the button to: "Replace content"

Acceptance Criteria

None

Status

Assignee

Thomas Marstrander

Reporter

Jelena Milinovic

Funding

None

Code reviewer

Frode Petterson

Released

None

Time tracking

1h

Sprint

None

Fix versions

Priority

Medium