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:
parent
9112fc231a
commit
443ab1add7
30 changed files with 31 additions and 78 deletions
|
@ -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"),
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue