summaryrefslogtreecommitdiffstats
path: root/apps/settings
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2021-05-30 22:45:26 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2021-05-30 22:45:26 +0200
commit9873195c9891cbe0402bae9034ee251aa9ce1eb2 (patch)
treedc400966912639784fcf192356366f225e4fbd87 /apps/settings
parent719430559f1a1f28800a9a26d4a5492aae046730 (diff)
downloadnextcloud-server-9873195c9891cbe0402bae9034ee251aa9ce1eb2.tar.gz
nextcloud-server-9873195c9891cbe0402bae9034ee251aa9ce1eb2.zip
Set app to settings for translate
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'apps/settings')
-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,