mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-16 02:21:34 +03:00
Fix translations
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
67a052e46a
commit
79ec655e66
1 changed files with 5 additions and 5 deletions
|
@ -17,7 +17,7 @@ limitations under the License.
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { MatrixEvent } from "matrix-js-sdk/src/models/event";
|
import { MatrixEvent } from "matrix-js-sdk/src/models/event";
|
||||||
import { _t } from '../../../languageHandler';
|
import { _t, _td } from '../../../languageHandler';
|
||||||
import MemberAvatar from '../avatars/MemberAvatar';
|
import MemberAvatar from '../avatars/MemberAvatar';
|
||||||
import CallEventGrouper, { CallEventGrouperEvent } from '../../structures/CallEventGrouper';
|
import CallEventGrouper, { CallEventGrouperEvent } from '../../structures/CallEventGrouper';
|
||||||
import FormButton from '../elements/FormButton';
|
import FormButton from '../elements/FormButton';
|
||||||
|
@ -33,9 +33,9 @@ interface IState {
|
||||||
}
|
}
|
||||||
|
|
||||||
const TEXTUAL_STATES = new Map([
|
const TEXTUAL_STATES = new Map([
|
||||||
[CallState.Connected, _t("Connected")],
|
[CallState.Connected, _td("Connected")],
|
||||||
[CallState.Connecting, _t("Connecting")],
|
[CallState.Connecting, _td("Connecting")],
|
||||||
[CallState.Ended, _t("This call has ended")],
|
[CallState.Ended, _td("This call has ended")],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
export default class CallEvent extends React.Component<IProps, IState> {
|
export default class CallEvent extends React.Component<IProps, IState> {
|
||||||
|
@ -92,7 +92,7 @@ export default class CallEvent extends React.Component<IProps, IState> {
|
||||||
} else {
|
} else {
|
||||||
content = (
|
content = (
|
||||||
<div className="mx_CallEvent_content">
|
<div className="mx_CallEvent_content">
|
||||||
{ _t("The call is in an unknown state!") }
|
{ "The call is in an unknown state!" }
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue