Correct spelling mistakes

This commit is contained in:
Edward Betts 2018-12-25 21:59:32 +00:00
parent 1d07c4a72e
commit 94a1d7da90
9 changed files with 12 additions and 12 deletions

View file

@ -55,7 +55,7 @@ require('./components/statusform');
// });
// }
// Initalize Notification Helper
// Initialize Notification Helper
window.pixelfed.n = {};
Vue.component(

View file

@ -70,7 +70,7 @@ export default {
}).catch(err => {
swal(
'Whoops! Something went wrong...',
'An error occured, please try again later.',
'An error occurred, please try again later.',
'error'
);
});

View file

@ -104,7 +104,7 @@ export default {
$('.postCommentsLoader .lds-ring')
.attr('style','width:100%')
.addClass('pt-4 font-weight-bold text-muted')
.text('An error occured, cannot fetch comments. Please try again later.');
.text('An error occurred, cannot fetch comments. Please try again later.');
} else {
switch(error.response.status) {
case 401:
@ -118,7 +118,7 @@ export default {
$('.postCommentsLoader .lds-ring')
.attr('style','width:100%')
.addClass('pt-4 font-weight-bold text-muted')
.text('An error occured, cannot fetch comments. Please try again later.');
.text('An error occurred, cannot fetch comments. Please try again later.');
break;
}
}

View file

@ -339,7 +339,7 @@ export default {
$('.postPresenterContainer').removeClass('d-none');
}).catch(error => {
if(!error.response) {
$('.postPresenterLoader .lds-ring').attr('style','width:100%').addClass('pt-4 font-weight-bold text-muted').text('An error occured, cannot fetch media. Please try again later.');
$('.postPresenterLoader .lds-ring').attr('style','width:100%').addClass('pt-4 font-weight-bold text-muted').text('An error occurred, cannot fetch media. Please try again later.');
} else {
switch(error.response.status) {
case 401:
@ -350,7 +350,7 @@ export default {
break;
default:
$('.postPresenterLoader .lds-ring').attr('style','width:100%').addClass('pt-4 font-weight-bold text-muted').text('An error occured, cannot fetch media. Please try again later.');
$('.postPresenterLoader .lds-ring').attr('style','width:100%').addClass('pt-4 font-weight-bold text-muted').text('An error occurred, cannot fetch media. Please try again later.');
break;
}
}

View file

@ -96,7 +96,7 @@ $(document).ready(function() {
}).catch(err => {
swal(
'Something went wrong!',
'An error occured, please try again later.',
'An error occurred, please try again later.',
'error'
);
});

View file

@ -16,7 +16,7 @@
<p class="">When you press the button below, your photos, comments, likes, friendships and all other data will be removed permanently and will not be recoverable. If you decide to create another Pixelfed account in the future, you cannot sign up with the same username again on this instance.</p>
<div class="alert alert-danger my-5">
<span class="font-weight-bold">Warning:</span> Some remote servers may contain your public data (statuses, avatars, ect) and will not be deleted until federation support is launched.
<span class="font-weight-bold">Warning:</span> Some remote servers may contain your public data (statuses, avatars, etc) and will not be deleted until federation support is launched.
</div>
<p>

View file

@ -64,7 +64,7 @@
<p>
<a class="text-dark font-weight-bold" data-toggle="collapse" href="#collapse5" role="button" aria-expanded="false" aria-controls="collapse5">
<i class="fas fa-chevron-down mr-2"></i>
I recieved an email that I created an account, but I never signed up for one.
I received an email that I created an account, but I never signed up for one.
</a>
<div class="collapse" id="collapse5">
<div class="mt-2">

View file

@ -354,7 +354,7 @@ $(document).on('change', '.file-input', function(e) {
el.remove();
}
}).catch(function(e) {
swal('Oops, something went wrong!', 'An unexpected error occured.', 'error');
swal('Oops, something went wrong!', 'An unexpected error occurred.', 'error');
});
io.value = null;
});
@ -478,7 +478,7 @@ $(document).on('click', '#create', function(e) {
let data = res.data;
window.location.href = data;
}).catch(err => {
swal('Oops, something went wrong!', 'An unexpected error occured.', 'error');
swal('Oops, something went wrong!', 'An unexpected error occurred.', 'error');
});
})

View file

@ -83,7 +83,7 @@
}).then((res) => {
swal('Success!', 'You have successfully updated your post', 'success');
}).catch((err) => {
swal('Something went wrong', 'An error occured, please try again later', 'error');
swal('Something went wrong', 'An error occurred, please try again later', 'error');
});
});