Skip to content

Commit 93bed95

Browse files
authored
i hate this language -- fix
1 parent 332eb1a commit 93bed95

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/components/prompt/prompt.jsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,21 +55,13 @@ const PromptComponent = props => props.isCustom ? (
5555
className={styles.cancelButton}
5656
onClick={props.onCancel}
5757
>
58-
<FormattedMessage
59-
defaultMessage={props.closeTitle}
60-
description="Button in prompt for cancelling the dialog"
61-
id="gui.prompt.cancel"
62-
/>
58+
{props.closeTitle}
6359
</button>
6460
<button
6561
className={styles.okButton}
6662
onClick={props.onOk}
6763
>
68-
<FormattedMessage
69-
defaultMessage={props.enterTitle}
70-
description="Button in prompt for confirming the dialog"
71-
id="gui.prompt.ok"
72-
/>
64+
{props.enterTitle}
7365
</button>
7466
</Box>
7567
</Box>

0 commit comments

Comments
 (0)