diff options
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/federationsettingsview.js | 4 | ||||
-rw-r--r-- | settings/js/personal.js | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/settings/js/federationsettingsview.js b/settings/js/federationsettingsview.js index 4a502544e8d..2b41f49b322 100644 --- a/settings/js/federationsettingsview.js +++ b/settings/js/federationsettingsview.js @@ -142,12 +142,12 @@ if (field === 'twitter' || field === 'webpage') { var verifyStatus = this.$('#' + field + 'form > .verify > #verify-' + field); - verifyStatus.attr('title', 'Verify'); + verifyStatus.attr('title', t('core', 'Verify')); verifyStatus.attr('src', OC.imagePath('core', 'actions/verify.svg')); verifyStatus.addClass('verify-action'); } else if (field === 'email') { var verifyStatus = this.$('#' + field + 'form > .verify > #verify-' + field); - verifyStatus.attr('title', 'Verifying...'); + verifyStatus.attr('title', t('core', 'Verifying …')); verifyStatus.attr('src', OC.imagePath('core', 'actions/verifying.svg')); } }, diff --git a/settings/js/personal.js b/settings/js/personal.js index b67211b274a..094fc36ceaf 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -211,13 +211,12 @@ $(document).ready(function () { $(".verify-action").click(function () { var account = $(this); var accountId = $(this).attr('id'); - $.ajax( OC.generateUrl('/settings/users/{account}/verify', {account: accountId}), {method: 'GET'} ).done(function(data) { showVerifyDialog(data.msg, data.code); - account.attr('title', 'Verifying...'); + account.attr('title', t('core', 'Verifying …')); account.attr('src', OC.imagePath('core', 'actions/verifying.svg')); account.removeClass('verify-action'); }); |