]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix language when trying to change password 6751/head
authorJoas Schilling <coding@schilljs.com>
Wed, 4 Oct 2017 07:43:16 +0000 (09:43 +0200)
committerJoas Schilling <coding@schilljs.com>
Wed, 4 Oct 2017 07:49:26 +0000 (09:49 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
settings/js/personal.js

index 5d8a0b8b49e0978a61166e791e573b5ea264f3dd..9193b8e03ddf60c3b2bdb68b82189f06eba6676a 100644 (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,
        });