Shortened notification message that was too long

The message for invalid private key was too long and didn't fit in the
notification box. This fix reduces the message to fit properly by
removing the extra information.
This commit is contained in:
Vincent Petry 2013-10-04 11:11:24 +02:00
parent b7c3af11bf
commit 9d2595a7c5

View file

@ -69,7 +69,7 @@ Files={
return;
}
if (initStatus === '1') { // encryption tried to init but failed
OC.Notification.show(t('files_encryption', 'Your private key is not valid! Likely your password was changed outside the ownCloud system (e.g. your corporate directory). You can update your private key password in your personal settings to recover access to your encrypted files.'));
OC.Notification.showHtml(t('files_encryption', 'Invalid private key for Encryption App. Please update your private key password in your personal settings to recover access to your encrypted files.'));
return;
}
if (encryptedFiles === '1') {