mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Fix spelling of received. (#8937)
This commit is contained in:
@@ -100,7 +100,7 @@ describe('Notification Controller', function() {
|
||||
});
|
||||
|
||||
describe('User challenge won notification watch', function() {
|
||||
it('opens challenge won modal when a challenge-won notification is recieved', function() {
|
||||
it('opens challenge won modal when a challenge-won notification is received', function() {
|
||||
rootScope.$digest();
|
||||
rootScope.userNotifications.push({type: 'WON_CHALLENGE'});
|
||||
rootScope.$digest();
|
||||
@@ -109,7 +109,7 @@ describe('Notification Controller', function() {
|
||||
expect(achievement.displayAchievement).to.be.calledWith('wonChallenge');
|
||||
});
|
||||
|
||||
it('does not open challenge won modal if no new challenge-won notification is recieved', function() {
|
||||
it('does not open challenge won modal if no new challenge-won notification is received', function() {
|
||||
rootScope.$digest();
|
||||
rootScope.$digest();
|
||||
|
||||
@@ -118,7 +118,7 @@ describe('Notification Controller', function() {
|
||||
});
|
||||
|
||||
describe('User streak achievement notification watch', function() {
|
||||
it('opens streak achievement modal when a streak-achievement notification is recieved', function() {
|
||||
it('opens streak achievement modal when a streak-achievement notification is received', function() {
|
||||
rootScope.$digest();
|
||||
rootScope.userNotifications.push({type: 'STREAK_ACHIEVEMENT'});
|
||||
rootScope.$digest();
|
||||
@@ -127,7 +127,7 @@ describe('Notification Controller', function() {
|
||||
expect(achievement.displayAchievement).to.be.calledWith('streak', {size: 'md'});
|
||||
});
|
||||
|
||||
it('does not open streak achievement modal if no new streak-achievement notification is recieved', function() {
|
||||
it('does not open streak achievement modal if no new streak-achievement notification is received', function() {
|
||||
rootScope.$digest();
|
||||
rootScope.$digest();
|
||||
|
||||
@@ -136,7 +136,7 @@ describe('Notification Controller', function() {
|
||||
});
|
||||
|
||||
describe('User ultimate gear set achievement notification watch', function() {
|
||||
it('opens ultimate gear set achievement modal when an ultimate-gear-achievement notification is recieved', function() {
|
||||
it('opens ultimate gear set achievement modal when an ultimate-gear-achievement notification is received', function() {
|
||||
rootScope.$digest();
|
||||
rootScope.userNotifications.push({type: 'ULTIMATE_GEAR_ACHIEVEMENT'});
|
||||
rootScope.$digest();
|
||||
@@ -145,7 +145,7 @@ describe('Notification Controller', function() {
|
||||
expect(achievement.displayAchievement).to.be.calledWith('ultimateGear', {size: 'md'});
|
||||
});
|
||||
|
||||
it('does not open ultimate gear set achievement modal if no new ultimate-gear-achievement notification is recieved', function() {
|
||||
it('does not open ultimate gear set achievement modal if no new ultimate-gear-achievement notification is received', function() {
|
||||
rootScope.$digest();
|
||||
rootScope.$digest();
|
||||
|
||||
@@ -154,7 +154,7 @@ describe('Notification Controller', function() {
|
||||
});
|
||||
|
||||
describe('User rebirth achievement notification watch', function() {
|
||||
it('opens rebirth achievement modal when a rebirth-achievement notification is recieved', function() {
|
||||
it('opens rebirth achievement modal when a rebirth-achievement notification is received', function() {
|
||||
rootScope.$digest();
|
||||
rootScope.userNotifications.push({type: 'REBIRTH_ACHIEVEMENT'});
|
||||
rootScope.$digest();
|
||||
@@ -163,7 +163,7 @@ describe('Notification Controller', function() {
|
||||
expect(achievement.displayAchievement).to.be.calledWith('rebirth');
|
||||
});
|
||||
|
||||
it('does not open rebirth achievement modal if no new rebirth-achievement notification is recieved', function() {
|
||||
it('does not open rebirth achievement modal if no new rebirth-achievement notification is received', function() {
|
||||
rootScope.$digest();
|
||||
rootScope.$digest();
|
||||
|
||||
@@ -172,7 +172,7 @@ describe('Notification Controller', function() {
|
||||
});
|
||||
|
||||
describe('User contributor achievement notification watch', function() {
|
||||
it('opens contributor achievement modal when a new-contributor-level notification is recieved', function() {
|
||||
it('opens contributor achievement modal when a new-contributor-level notification is received', function() {
|
||||
rootScope.$digest();
|
||||
rootScope.userNotifications.push({type: 'NEW_CONTRIBUTOR_LEVEL'});
|
||||
rootScope.$digest();
|
||||
@@ -181,7 +181,7 @@ describe('Notification Controller', function() {
|
||||
expect(achievement.displayAchievement).to.be.calledWith('contributor', {size: 'md'});
|
||||
});
|
||||
|
||||
it('does not open contributor achievement modal if no new new-contributor-level notification is recieved', function() {
|
||||
it('does not open contributor achievement modal if no new new-contributor-level notification is received', function() {
|
||||
rootScope.$digest();
|
||||
rootScope.$digest();
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
"birthdayCardAchievementTitle": "Birthday Bonanza",
|
||||
"birthdayCardAchievementText": "Many happy returns! Sent or received <%= count %> birthday cards.",
|
||||
"congratsCard": "Congratulations Card",
|
||||
"congratsCardExplanation": "You both recieve the Congratulatory Companion achievement!",
|
||||
"congratsCardExplanation": "You both receive the Congratulatory Companion achievement!",
|
||||
"congratsCardNotes": "Send a Congratulations card to a party member.",
|
||||
"congrats0": "Congratulations on your success!",
|
||||
"congrats1": "I'm so proud of you!",
|
||||
@@ -194,7 +194,7 @@
|
||||
"congratsCardAchievementTitle": "Congratulatory Companion",
|
||||
"congratsCardAchievementText": "It's great to celebrate your friends' achievements! Sent or received <%= count %> congratulations cards.",
|
||||
"getwellCard": "Get Well Card",
|
||||
"getwellCardExplanation": "You both recieve the Caring Confidant achievement!",
|
||||
"getwellCardExplanation": "You both receive the Caring Confidant achievement!",
|
||||
"getwellCardNotes": "Send a Get Well card to a party member.",
|
||||
"getwell0": "Hope you feel better soon!",
|
||||
"getwell1": "Take care! <3",
|
||||
|
||||
@@ -1055,8 +1055,8 @@ async function _inviteByEmail (invite, group, inviter, req, res) {
|
||||
* }
|
||||
*
|
||||
* @apiSuccess {Array} data The invites
|
||||
* @apiSuccess {Object} data[0] If the invitation was a user id, you'll receive back an object. You'll recieve one Object for each succesful user id invite.
|
||||
* @apiSuccess {String} data[1] If the invitation was an email, you'll receive back the email. You'll recieve one String for each successful email invite.
|
||||
* @apiSuccess {Object} data[0] If the invitation was a user id, you'll receive back an object. You'll receive one Object for each succesful user id invite.
|
||||
* @apiSuccess {String} data[1] If the invitation was an email, you'll receive back the email. You'll receive one String for each successful email invite.
|
||||
*
|
||||
* @apiSuccessExample {json} Successful Response with Emails
|
||||
* {
|
||||
|
||||
Reference in New Issue
Block a user