Merge pull request #6751 from nextcloud/backport-6750-fix-language-when-setting-password

[stable12] Fix language when trying to change password
This commit is contained in:
Joas Schilling 2017-10-05 09:36:09 +02:00 committed by GitHub
commit 76faefd980
1 changed files with 8 additions and 8 deletions

View File

@ -178,7 +178,7 @@ $(document).ready(function () {
{
'status' : 'error',
'data' : {
'message' : t('core', 'Unable to change password')
'message' : t('settings', 'Unable to change password')
}
}
);
@ -193,7 +193,7 @@ $(document).ready(function () {
{
'status' : 'error',
'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) {
var dialog = verify.children('.verification-dialog');
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.data('status', '1');
});
@ -377,11 +377,11 @@ $(document).ready(function () {
$('#pass2').strengthify({
zxcvbn: OC.linkTo('core','vendor/zxcvbn/dist/zxcvbn.js'),
titles: [
t('core', 'Very weak password'),
t('core', 'Weak password'),
t('core', 'So-so password'),
t('core', 'Good password'),
t('core', 'Strong password')
t('settings', 'Very weak password'),
t('settings', 'Weak password'),
t('settings', 'So-so password'),
t('settings', 'Good password'),
t('settings', 'Strong password')
],
drawTitles: true,
});