You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Put back default strings on dialogs
But make them work by calling _t in render rather than getDefaultProps(). Also sort out some 'Warning!' strings
This commit is contained in:
@@ -90,7 +90,7 @@ module.exports = React.createClass({
|
||||
else {
|
||||
var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||
Modal.createDialog(QuestionDialog, {
|
||||
title: _t('Warning'),
|
||||
title: _t('Warning!'),
|
||||
description:
|
||||
<div>
|
||||
{ _t(
|
||||
@@ -157,7 +157,6 @@ module.exports = React.createClass({
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: title,
|
||||
description: body,
|
||||
button: _t("OK"),
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user