Set app to settings for translate

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2021-05-30 22:45:26 +02:00
parent 719430559f
commit 9873195c98
No known key found for this signature in database
GPG Key ID: 36E3664E099D0614
3 changed files with 5 additions and 5 deletions

View File

@ -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'));
}
};

View File

@ -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'));
}

View File

@ -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,