Fix translations

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-06-01 10:58:17 +02:00
parent 67a052e46a
commit 79ec655e66
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 5 additions and 5 deletions

View File

@ -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>
); );
} }