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 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'));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -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'));
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue