Make the verification cancelled dialog say OK instead of Cancel

Fixes https://github.com/vector-im/riot-web/issues/9306

Includes unexpected cleanup of i18n
This commit is contained in:
Travis Ralston 2019-06-19 15:07:33 -06:00
parent b16a3c53cd
commit bf443149b5
2 changed files with 3 additions and 6 deletions

View file

@ -31,7 +31,7 @@ export default class VerificationCancelled extends React.Component {
"The other party cancelled the verification.",
)}</p>
<DialogButtons
primaryButton={_t('Cancel')}
primaryButton={_t('OK')}
hasCancel={false}
onPrimaryButtonClick={this.props.onDone}
/>