You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-04 11:51:45 +03:00
fix i18n thinko on createTrackedDialog
This commit is contained in:
@@ -65,7 +65,8 @@ export default class BugReportDialog extends React.Component {
|
|||||||
if (!this._unmounted) {
|
if (!this._unmounted) {
|
||||||
this.props.onFinished(false);
|
this.props.onFinished(false);
|
||||||
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
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'),
|
title: _t('Logs sent'),
|
||||||
description: _t('Thank you!'),
|
description: _t('Thank you!'),
|
||||||
hasCancelButton: false,
|
hasCancelButton: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user