Fixed translation

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-01-05 20:27:11 +01:00
parent d497594a6f
commit 99dc829369
No known key found for this signature in database
GPG key ID: 9760693FDD98A790

View file

@ -16,7 +16,7 @@ limitations under the License.
*/ */
import React from 'react'; import React from 'react';
import { _td } from '../../../languageHandler'; import { _t } from '../../../languageHandler';
import BaseDialog from "..//dialogs/BaseDialog" import BaseDialog from "..//dialogs/BaseDialog"
import AccessibleButton from './AccessibleButton'; import AccessibleButton from './AccessibleButton';
@ -120,20 +120,20 @@ export default class DesktopCapturerSourcePicker extends React.Component<
<BaseDialog <BaseDialog
className="mx_desktopCapturerSourcePicker" className="mx_desktopCapturerSourcePicker"
onFinished={this.onCloseClick} onFinished={this.onCloseClick}
title={_td("Share your screen")} title={_t("Share your screen")}
> >
<div className="mx_desktopCapturerSourcePicker_tabLabels"> <div className="mx_desktopCapturerSourcePicker_tabLabels">
<AccessibleButton <AccessibleButton
className={screensButtonStyle} className={screensButtonStyle}
onClick={this.onScreensClick} onClick={this.onScreensClick}
> >
{_td("Screens")} {_t("Screens")}
</AccessibleButton> </AccessibleButton>
<AccessibleButton <AccessibleButton
className={windowsButtonStyle} className={windowsButtonStyle}
onClick={this.onWindowsClick} onClick={this.onWindowsClick}
> >
{_td("Windows")} {_t("Windows")}
</AccessibleButton> </AccessibleButton>
</div> </div>
<div className="mx_desktopCapturerSourcePicker_panel"> <div className="mx_desktopCapturerSourcePicker_panel">