Fix language when trying to change password
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
1c30c72909
commit
0782072bde
|
@ -178,7 +178,7 @@ $(document).ready(function () {
|
||||||
{
|
{
|
||||||
'status' : 'error',
|
'status' : 'error',
|
||||||
'data' : {
|
'data' : {
|
||||||
'message' : t('core', 'Unable to change password')
|
'message' : t('settings', 'Unable to change password')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -193,7 +193,7 @@ $(document).ready(function () {
|
||||||
{
|
{
|
||||||
'status' : 'error',
|
'status' : 'error',
|
||||||
'data' : {
|
'data' : {
|
||||||
'message' : t('core', 'Unable to change password')
|
'message' : t('settings', 'Unable to change password')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -232,7 +232,7 @@ $(document).ready(function () {
|
||||||
).done(function (data) {
|
).done(function (data) {
|
||||||
var dialog = verify.children('.verification-dialog');
|
var dialog = verify.children('.verification-dialog');
|
||||||
showVerifyDialog($(dialog), data.msg, data.code);
|
showVerifyDialog($(dialog), data.msg, data.code);
|
||||||
indicator.attr('data-origin-title', t('core', 'Verifying …'));
|
indicator.attr('data-origin-title', t('settings', 'Verifying …'));
|
||||||
indicator.attr('src', OC.imagePath('core', 'actions/verifying.svg'));
|
indicator.attr('src', OC.imagePath('core', 'actions/verifying.svg'));
|
||||||
indicator.data('status', '1');
|
indicator.data('status', '1');
|
||||||
});
|
});
|
||||||
|
@ -377,11 +377,11 @@ $(document).ready(function () {
|
||||||
$('#pass2').strengthify({
|
$('#pass2').strengthify({
|
||||||
zxcvbn: OC.linkTo('core','vendor/zxcvbn/dist/zxcvbn.js'),
|
zxcvbn: OC.linkTo('core','vendor/zxcvbn/dist/zxcvbn.js'),
|
||||||
titles: [
|
titles: [
|
||||||
t('core', 'Very weak password'),
|
t('settings', 'Very weak password'),
|
||||||
t('core', 'Weak password'),
|
t('settings', 'Weak password'),
|
||||||
t('core', 'So-so password'),
|
t('settings', 'So-so password'),
|
||||||
t('core', 'Good password'),
|
t('settings', 'Good password'),
|
||||||
t('core', 'Strong password')
|
t('settings', 'Strong password')
|
||||||
],
|
],
|
||||||
drawTitles: true,
|
drawTitles: true,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue