fix message id

pull/542/head
slowbackspace 5 years ago
parent b155406f47
commit c38a0b8630

@ -198,7 +198,7 @@ class Passphrase extends PureComponent<Props, State> {
if (this.state.byteLength > 50) { if (this.state.byteLength > 50) {
error = ( error = (
<PassphraseError> <PassphraseError>
<FormattedMessage {...l10nMessages.TR_PASSPHRASES_IS_TOO_LONG} /> <FormattedMessage {...l10nMessages.TR_PASSPHRASE_IS_TOO_LONG} />
</PassphraseError> </PassphraseError>
); );
} else if (!this.state.doPassphraseInputsMatch) { } else if (!this.state.doPassphraseInputsMatch) {

@ -24,8 +24,8 @@ const definedMessages: Messages = defineMessages({
id: 'TR_PASSPHRASES_DO_NOT_MATCH', id: 'TR_PASSPHRASES_DO_NOT_MATCH',
defaultMessage: 'Passphrases do not match!', defaultMessage: 'Passphrases do not match!',
}, },
TR_PASSPHRASES_IS_TOO_LONG: { TR_PASSPHRASE_IS_TOO_LONG: {
id: 'TR_PASSPHRASES_IS_TOO_LONG', id: 'TR_PASSPHRASE_IS_TOO_LONG',
defaultMessage: 'Passphrase is too long!', defaultMessage: 'Passphrase is too long!',
}, },
TR_SHOW_PASSPHRASE: { TR_SHOW_PASSPHRASE: {

Loading…
Cancel
Save