summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2021-05-31 08:58:20 +0200
committerGitHub <noreply@github.com>2021-05-31 08:58:20 +0200
commit30a595af2cd4aa70a14e68dcccd64cabdc5e8ed5 (patch)
treea519197fb4fdb3dc8adf9e74f8979c70cecf46cf /apps
parent9f70c6cdda2a69ff97eb8c88eb058d16e9377382 (diff)
parent9873195c9891cbe0402bae9034ee251aa9ce1eb2 (diff)
downloadnextcloud-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.js4
-rw-r--r--apps/settings/js/federationsettingsview.js4
-rw-r--r--apps/settings/js/settings.js2
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,