This reverts commit 4a24d25f22.
This commit is contained in:
@@ -179,15 +179,10 @@ export const messages = {
|
||||
defaultMessage: 'Switch to advanced editor',
|
||||
description: 'button to switch to the advanced mode of the editor.',
|
||||
},
|
||||
ConfirmSwitchMessageOne: {
|
||||
id: 'authoring.problemeditor.settings.switchtoadvancededitor.message.one',
|
||||
defaultMessage: 'If you use the advanced editor, \r this problem will be converted to OLX and you will not be able to return to the simple editor.',
|
||||
description: 'message to confirm that a user wants to use the advanced editor part 1',
|
||||
},
|
||||
ConfirmSwitchMessageTwo: {
|
||||
id: 'authoring.problemeditor.settings.switchtoadvancededitor.message.two',
|
||||
defaultMessage: 'Any changes made after the last Save action will be lost when converting to OLX.',
|
||||
description: 'message to confirm that a user wants to use the advanced editor part 2',
|
||||
ConfirmSwitchMessage: {
|
||||
id: 'authoring.problemeditor.settings.switchtoadvancededitor.message',
|
||||
defaultMessage: 'If you use the advanced editor, this problem will be converted to OLX and you will not be able to return to the simple editor.',
|
||||
description: 'message to confirm that a user wants to use the advanced editor',
|
||||
},
|
||||
ConfirmSwitchMessageTitle: {
|
||||
id: 'authoring.problemeditor.settings.switchtoadvancededitor.message',
|
||||
|
||||
@@ -34,8 +34,7 @@ export const SwitchToAdvancedEditorCard = ({
|
||||
)}
|
||||
size="md"
|
||||
>
|
||||
<p><FormattedMessage {...messages.ConfirmSwitchMessageOne} /></p>
|
||||
<p><FormattedMessage {...messages.ConfirmSwitchMessageTwo} /></p>
|
||||
<FormattedMessage {...messages.ConfirmSwitchMessage} />
|
||||
</BaseModal>
|
||||
<Button
|
||||
className="my-3 ml-2 py-0"
|
||||
|
||||
@@ -31,21 +31,11 @@ exports[`SwitchToAdvancedEditorCard snapshot snapshot: SwitchToAdvancedEditorCar
|
||||
/>
|
||||
}
|
||||
>
|
||||
<p>
|
||||
<FormattedMessage
|
||||
defaultMessage="If you use the advanced editor,
|
||||
this problem will be converted to OLX and you will not be able to return to the simple editor."
|
||||
description="message to confirm that a user wants to use the advanced editor part 1"
|
||||
id="authoring.problemeditor.settings.switchtoadvancededitor.message.one"
|
||||
/>
|
||||
</p>
|
||||
<p>
|
||||
<FormattedMessage
|
||||
defaultMessage="Any changes made after the last Save action will be lost when converting to OLX."
|
||||
description="message to confirm that a user wants to use the advanced editor part 2"
|
||||
id="authoring.problemeditor.settings.switchtoadvancededitor.message.two"
|
||||
/>
|
||||
</p>
|
||||
<FormattedMessage
|
||||
defaultMessage="If you use the advanced editor, this problem will be converted to OLX and you will not be able to return to the simple editor."
|
||||
description="message to confirm that a user wants to use the advanced editor"
|
||||
id="authoring.problemeditor.settings.switchtoadvancededitor.message"
|
||||
/>
|
||||
</BaseModal>
|
||||
<Button
|
||||
className="my-3 ml-2 py-0"
|
||||
|
||||
Reference in New Issue
Block a user