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
|
@ -157,7 +157,6 @@ module.exports = React.createClass({
|
|||
Modal.createDialog(ErrorDialog, {
|
||||
title: _t('Invalid alias format'),
|
||||
description: _t('"%(alias)s" is not a valid format for an alias', { alias: alias }),
|
||||
button: _t('OK'),
|
||||
});
|
||||
}
|
||||
},
|
||||
|
@ -174,7 +173,6 @@ module.exports = React.createClass({
|
|||
Modal.createDialog(ErrorDialog, {
|
||||
title: _t('Invalid address format'),
|
||||
description: _t('"%(alias)s" is not a valid format for an address', { alias: alias }),
|
||||
button: _t('OK'),
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue