diff options
author | Joas Schilling <coding@schilljs.com> | 2017-10-04 09:43:16 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-10-04 09:47:52 +0200 |
commit | e9fd39f3ddab31b22eef1828bc2fa948c36e35a3 (patch) | |
tree | 1713c1fb1cfbc1e26c8bafa983f7909f5c334258 | |
parent | 993dc77d9ea6691d839c02ba0e75d7afafe33540 (diff) | |
download | nextcloud-server-e9fd39f3ddab31b22eef1828bc2fa948c36e35a3.tar.gz nextcloud-server-e9fd39f3ddab31b22eef1828bc2fa948c36e35a3.zip |
Fix language when trying to change password
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | settings/js/settings/personalInfo.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/settings/js/settings/personalInfo.js b/settings/js/settings/personalInfo.js index 10c92ece8f4..1c634bb2887 100644 --- a/settings/js/settings/personalInfo.js +++ b/settings/js/settings/personalInfo.js @@ -180,7 +180,7 @@ $(document).ready(function () { { 'status' : 'error', 'data' : { - 'message' : t('core', 'Unable to change password') + 'message' : t('settings', 'Unable to change password') } } ); @@ -195,7 +195,7 @@ $(document).ready(function () { { 'status' : 'error', 'data' : { - 'message' : t('core', 'Unable to change password') + 'message' : t('settings', 'Unable to change password') } } ); @@ -234,7 +234,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'); }); @@ -379,11 +379,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, }); |