Add more translations..

This commit is contained in:
Kegan Dougal 2017-06-08 09:44:58 +01:00
parent d59b0e1595
commit 0f4028da07
6 changed files with 17 additions and 8 deletions

View file

@ -96,10 +96,10 @@ export default class ChatCreateOrReuseDialog extends React.Component {
onFinished={() => {
this.props.onFinished(false)
}}
title='Create a new chat or reuse an existing one'
title={_t('Create a new chat or reuse an existing one')}
>
<div className="mx_Dialog_content">
You already have existing direct chats with this user:
{_t("You already have existing direct chats with this user:")}
<div className="mx_ChatCreateOrReuseDialog_tiles">
{tiles}
{startNewChat}

View file

@ -490,7 +490,7 @@ module.exports = React.createClass({
error = <div className="mx_ChatInviteDialog_error">{_t("You have entered an invalid contact. Try using their Matrix ID or email address.")}</div>;
} else {
const addressSelectorHeader = <div className="mx_ChatInviteDialog_addressSelectHeader">
Searching known users
{_t("Searching known users")}
</div>;
addressSelector = (
<AddressSelector ref={(ref) => {this.addressSelector = ref;}}

View file

@ -86,7 +86,7 @@ export default class DeactivateAccountDialog extends React.Component {
passwordBoxClass = 'error';
}
const okLabel = this.state.busy ? <Loader /> : 'Deactivate Account';
const okLabel = this.state.busy ? <Loader /> : _t('Deactivate Account');
const okEnabled = this.state.confirmButtonEnabled && !this.state.busy;
let cancelButton = null;