Set app to settings for translate
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
719430559f
commit
9873195c98
|
@ -126,10 +126,10 @@ window.addEventListener('DOMContentLoaded', function(){
|
||||||
var savePublicShareDisclaimerText = _.debounce(function(value) {
|
var savePublicShareDisclaimerText = _.debounce(function(value) {
|
||||||
var options = {
|
var options = {
|
||||||
success: function() {
|
success: function() {
|
||||||
OC.msg.finishedSuccess('#publicShareDisclaimerStatus', t('core', 'Saved'));
|
OC.msg.finishedSuccess('#publicShareDisclaimerStatus', t('settings', 'Saved'));
|
||||||
},
|
},
|
||||||
error: function() {
|
error: function() {
|
||||||
OC.msg.finishedError('#publicShareDisclaimerStatus', t('core', 'Not saved'));
|
OC.msg.finishedError('#publicShareDisclaimerStatus', t('settings', 'Not saved'));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -207,13 +207,13 @@
|
||||||
if (verifyAvailable) {
|
if (verifyAvailable) {
|
||||||
if (field === 'twitter' || field === 'website') {
|
if (field === 'twitter' || field === 'website') {
|
||||||
var verifyStatus = this.$('#' + field + 'form > .verify > #verify-' + field);
|
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.attr('src', OC.imagePath('core', 'actions/verify.svg'));
|
||||||
verifyStatus.data('status', '0');
|
verifyStatus.data('status', '0');
|
||||||
verifyStatus.addClass('verify-action');
|
verifyStatus.addClass('verify-action');
|
||||||
} else if (field === 'email') {
|
} else if (field === 'email') {
|
||||||
var verifyStatus = this.$('#' + field + 'form > .verify > #verify-' + field);
|
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.data('status', '1');
|
||||||
verifyStatus.attr('src', OC.imagePath('core', 'actions/verifying.svg'));
|
verifyStatus.attr('src', OC.imagePath('core', 'actions/verifying.svg'));
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,7 @@ OC.Settings = _.extend(OC.Settings, {
|
||||||
// note: settings are saved through a "change" event registered
|
// note: settings are saved through a "change" event registered
|
||||||
// on all input fields
|
// on all input fields
|
||||||
$elements.select2(_.extend({
|
$elements.select2(_.extend({
|
||||||
placeholder: t('core', 'Groups'),
|
placeholder: t('settings', 'Groups'),
|
||||||
allowClear: true,
|
allowClear: true,
|
||||||
multiple: true,
|
multiple: true,
|
||||||
toggleSelect: true,
|
toggleSelect: true,
|
||||||
|
|
Loading…
Reference in New Issue