From: Joas Schilling Date: Wed, 4 Oct 2017 07:43:16 +0000 (+0200) Subject: Fix language when trying to change password X-Git-Tag: v12.0.4RC1~85^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F6751%2Fhead;p=nextcloud-server.git Fix language when trying to change password Signed-off-by: Joas Schilling --- diff --git a/settings/js/personal.js b/settings/js/personal.js index 5d8a0b8b49e..9193b8e03dd 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -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, });