@ -77,7 +77,7 @@ class SessionPasswordPromptInner extends PureComponent<unknown, State> {
type="password"
id="password-prompt-input"
defaultValue=""
placeholder={window.i18n('passwordCreate')}
placeholder={window.i18n('passwordEnter')}
onKeyUp={this.onKeyUp}
ref={input => {
this.inputRef = input;
@ -358,7 +358,7 @@ export class SessionConversation extends Component<Props, State> {
}
private async maybeAddAttachment(file: any) {
private async maybeAddAttachment(file: File) {
if (!file) {
return;
@ -30,6 +30,7 @@ import { StyledLeftPaneOverlay } from './OverlayMessage';
const StyledMemberListNoContacts = styled.div`
text-align: center;
align-self: center;
padding: 20px;
`;
@ -53,9 +54,7 @@ const StyledGroupMemberListContainer = styled.div`
const NoContacts = () => {
return (
<StyledMemberListNoContacts>{window.i18n('conversationsNone')}</StyledMemberListNoContacts>
);
return <StyledMemberListNoContacts>{window.i18n('contactNone')}</StyledMemberListNoContacts>;
};
/**
@ -180,7 +180,7 @@ export const SettingsCategoryRecoveryPassword = () => {
</SessionSettingsItemWrapper>
{!hideRecoveryPassword ? (
<SessionSettingButtonItem
title={window.i18n('recoveryPasswordHidePermanently')}
title={window.i18n('recoveryPasswordHideRecoveryPassword')}
description={window.i18n('recoveryPasswordHideRecoveryPasswordDescription')}
onClick={() => {
dispatch(updateHideRecoveryPasswordModal({ state: 'firstWarning' }));
@ -130,6 +130,7 @@ const acceptOpenGroupInvitationV2 = (completeUrl: string, roomName?: string) =>
},
onClickClose,
okText: window.i18n('join'),
})
// this function does not throw, and will showToasts if anything happens