diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2021-05-31 08:58:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-31 08:58:20 +0200 |
commit | 30a595af2cd4aa70a14e68dcccd64cabdc5e8ed5 (patch) | |
tree | a519197fb4fdb3dc8adf9e74f8979c70cecf46cf /apps | |
parent | 9f70c6cdda2a69ff97eb8c88eb058d16e9377382 (diff) | |
parent | 9873195c9891cbe0402bae9034ee251aa9ce1eb2 (diff) | |
download | nextcloud-server-30a595af2cd4aa70a14e68dcccd64cabdc5e8ed5.tar.gz nextcloud-server-30a595af2cd4aa70a14e68dcccd64cabdc5e8ed5.zip |
Merge pull request #27295 from nextcloud/bug/27293/wrong-category-for-string
Set app to settings for translate
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/js/admin.js | 4 | ||||
-rw-r--r-- | apps/settings/js/federationsettingsview.js | 4 | ||||
-rw-r--r-- | apps/settings/js/settings.js | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/settings/js/admin.js b/apps/settings/js/admin.js index f749c9e132c..20d9843fe14 100644 --- a/apps/settings/js/admin.js +++ b/apps/settings/js/admin.js @@ -126,10 +126,10 @@ window.addEventListener('DOMContentLoaded', function(){ var savePublicShareDisclaimerText = _.debounce(function(value) { var options = { success: function() { - OC.msg.finishedSuccess('#publicShareDisclaimerStatus', t('core', 'Saved')); + OC.msg.finishedSuccess('#publicShareDisclaimerStatus', t('settings', 'Saved')); }, error: function() { - OC.msg.finishedError('#publicShareDisclaimerStatus', t('core', 'Not saved')); + OC.msg.finishedError('#publicShareDisclaimerStatus', t('settings', 'Not saved')); } }; diff --git a/apps/settings/js/federationsettingsview.js b/apps/settings/js/federationsettingsview.js index bb8011aca73..cf2865be1b0 100644 --- a/apps/settings/js/federationsettingsview.js +++ b/apps/settings/js/federationsettingsview.js @@ -207,13 +207,13 @@ if (verifyAvailable) { if (field === 'twitter' || field === 'website') { var verifyStatus = this.$('#' + field + 'form > .verify > #verify-' + field); - verifyStatus.attr('data-origin-title', t('core', 'Verify')); + verifyStatus.attr('data-origin-title', t('settings', 'Verify')); verifyStatus.attr('src', OC.imagePath('core', 'actions/verify.svg')); verifyStatus.data('status', '0'); verifyStatus.addClass('verify-action'); } else if (field === 'email') { var verifyStatus = this.$('#' + field + 'form > .verify > #verify-' + field); - verifyStatus.attr('data-origin-title', t('core', 'Verifying …')); + verifyStatus.attr('data-origin-title', t('settings', 'Verifying …')); verifyStatus.data('status', '1'); verifyStatus.attr('src', OC.imagePath('core', 'actions/verifying.svg')); } diff --git a/apps/settings/js/settings.js b/apps/settings/js/settings.js index 510180d4559..6f29b3fc58c 100644 --- a/apps/settings/js/settings.js +++ b/apps/settings/js/settings.js @@ -51,7 +51,7 @@ OC.Settings = _.extend(OC.Settings, { // note: settings are saved through a "change" event registered // on all input fields $elements.select2(_.extend({ - placeholder: t('core', 'Groups'), + placeholder: t('settings', 'Groups'), allowClear: true, multiple: true, toggleSelect: true, |