diff options
author | Joas Schilling <coding@schilljs.com> | 2017-10-04 15:51:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-04 15:51:23 +0200 |
commit | 66b4efe4c6a0580791d8d8b4286fb2ef2962c120 (patch) | |
tree | e3e81fa2a5d8c0753852f90d791557aa2c494504 | |
parent | 2d62f97f1bf1e7848e23ff0417915c3ab9e03e9a (diff) | |
parent | e9fd39f3ddab31b22eef1828bc2fa948c36e35a3 (diff) | |
download | nextcloud-server-66b4efe4c6a0580791d8d8b4286fb2ef2962c120.tar.gz nextcloud-server-66b4efe4c6a0580791d8d8b4286fb2ef2962c120.zip |
Merge pull request #6750 from nextcloud/fix-language-when-setting-password
Fix language when trying to change password
-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, }); |