+ title={_t('Unable to restore session')}
+ contentId='mx_Dialog_content'
+ >
+
{ _t("We encountered an error trying to restore your previous session. If " +
"you continue, you will need to log in again, and encrypted chat " +
"history will be unreadable.") }
@@ -68,7 +76,7 @@ export default React.createClass({
{ bugreport }
+
{ _t("Continue anyway") }
diff --git a/src/components/views/dialogs/SetEmailDialog.js b/src/components/views/dialogs/SetEmailDialog.js
index 2dd996953d..5a9569c1b5 100644
--- a/src/components/views/dialogs/SetEmailDialog.js
+++ b/src/components/views/dialogs/SetEmailDialog.js
@@ -41,6 +41,7 @@ export default React.createClass({
},
componentDidMount: function() {
+ this.refs.emailInputField.focus();
},
onEmailAddressChanged: function(value) {
@@ -130,6 +131,7 @@ export default React.createClass({
const emailInput = this.state.emailBusy ?
:
-
+
{ _t('This will allow you to reset your password and receive notifications.') }
{ emailInput }
diff --git a/src/components/views/dialogs/SetMxIdDialog.js b/src/components/views/dialogs/SetMxIdDialog.js
index 6fc1d77682..5ef04f5be1 100644
--- a/src/components/views/dialogs/SetMxIdDialog.js
+++ b/src/components/views/dialogs/SetMxIdDialog.js
@@ -234,14 +234,14 @@ export default React.createClass({
"error": Boolean(this.state.usernameError),
"success": usernameAvailable,
});
- usernameIndicator =
+ usernameIndicator =
{ usernameAvailable ? _t('Username available') : this.state.usernameError }
;
}
let authErrorIndicator = null;
if (this.state.authError) {
- authErrorIndicator =
+ authErrorIndicator =
{ this.state.authError }
;
}
@@ -253,8 +253,9 @@ export default React.createClass({
-
+
-
+
{ _t('"%(RoomName)s" contains devices that you haven\'t seen before.', {RoomName: this.props.room.name}) }
@@ -161,7 +162,7 @@ export default React.createClass({
}}>
{ _t("Send anyway") }
- {
// XXX: temporary logging to try to diagnose
// https://github.com/vector-im/riot-web/issues/3148
diff --git a/src/components/views/login/InteractiveAuthEntryComponents.js b/src/components/views/login/InteractiveAuthEntryComponents.js
index d0b6c8decb..81b84684fc 100644
--- a/src/components/views/login/InteractiveAuthEntryComponents.js
+++ b/src/components/views/login/InteractiveAuthEntryComponents.js
@@ -130,9 +130,10 @@ export const PasswordAuthEntry = React.createClass({
return (
{ _t("To continue, please enter your password.") }
-
{ _t("Password:") }
-
+
{ this.props.errorText }
@@ -184,7 +185,7 @@ export const RecaptchaAuthEntry = React.createClass({
-
+
{ this.props.errorText }
@@ -384,6 +385,7 @@ export const MsisdnAuthEntry = React.createClass({
className="mx_InteractiveAuthEntryComponents_msisdnEntry"
value={this.state.token}
onChange={this._onTokenChange}
+ aria-label={ _t("Code")}
/>
-
+
{ this.state.errorText }
@@ -426,6 +428,12 @@ export const FallbackAuthEntry = React.createClass({
}
},
+ focus: function() {
+ if (this.refs.fallbackButton) {
+ this.refs.fallbackButton.focus();
+ }
+ },
+
_onShowFallbackClick: function() {
const url = this.props.matrixClient.getFallbackAuthUrl(
this.props.loginType,
@@ -446,8 +454,8 @@ export const FallbackAuthEntry = React.createClass({
render: function() {
return (