OC.dialogs.info(t('encryption','Please switch to your ownCloud client and change your encryption password to complete the conversion.'),t('encryption','switched to client side encryption'));
OC.dialogs.form([{text:'Login password',name:'newpasswd',type:'password'},{text:'Encryption password used on the client',name:'oldpasswd',type:'password'}],t('encryption','Change encryption password to login password'),function(data){
OC.dialogs.alert(t('encryption','Please check your passwords and try again.'),t('encryption','Could not change your file encryption password to your login password'))