fix i18n thinko on createTrackedDialog

pull/21833/head
Matthew Hodgson 2018-04-17 16:51:17 +01:00
parent eca5a965c5
commit ce809e16d9
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ export default class BugReportDialog extends React.Component {
if (!this._unmounted) {
this.props.onFinished(false);
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
Modal.createTrackedDialog(_t('Bug report sent'), '', QuestionDialog, {
// N.B. first param is passed to piwik and so doesn't want i18n
Modal.createTrackedDialog('Bug report sent', '', QuestionDialog, {
title: _t('Logs sent'),
description: _t('Thank you!'),
hasCancelButton: false,