From 68fa834946c75641c73e12402da32dda9386cb0a Mon Sep 17 00:00:00 2001 From: Mateus Etto Date: Mon, 12 Mar 2018 21:08:20 +0900 Subject: [PATCH] spellName -> spell; grammar fix --- website/common/locales/en/character.json | 4 ++-- website/common/locales/en/quests.json | 2 +- website/server/models/group.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/website/common/locales/en/character.json b/website/common/locales/en/character.json index ee99833258..c8626acc86 100644 --- a/website/common/locales/en/character.json +++ b/website/common/locales/en/character.json @@ -170,8 +170,8 @@ "youCast": "You cast <%= spell %>.", "youCastTarget": "You cast <%= spell %> on <%= target %>.", "youCastParty": "You cast <%= spell %> for the party.", - "chatCastSpellParty": "<%= username %> casts <%= spellName %> for the party.", - "chatCastSpellUser": "<%= username %> casts <%= spellName %> on <%= target %>.", + "chatCastSpellParty": "<%= username %> casts <%= spell %> for the party.", + "chatCastSpellUser": "<%= username %> casts <%= spell %> on <%= target %>.", "critBonus": "Critical Hit! Bonus: ", "gainedGold": "You gained some Gold", "gainedMana": "You gained some Mana", diff --git a/website/common/locales/en/quests.json b/website/common/locales/en/quests.json index b691063b82..d467f41c08 100644 --- a/website/common/locales/en/quests.json +++ b/website/common/locales/en/quests.json @@ -129,7 +129,7 @@ "rageStrikes": "Rage Strikes", "chatQuestStarted": "Your quest, <%= questName %>, has started.", "chatBossDamage": "<%= username %> attacks <%= bossName %> for <%= userDamage %> damage. <%= bossName %> attacks party for <%= bossDamage %> damage.", - "chatBossDontAttack": "<%= bossName %> does not attack, because it respects the fact that there are some bugs post-maintenance and it doesn't want to hurt anyone unfairly. It will continue its rampage soon!", + "chatBossDontAttack": "<%= bossName %> does not attack, because it respects the fact that there are some bugs post-maintenance, and it doesn't want to hurt anyone unfairly. It will continue its rampage soon!", "chatBossDefeated": "You defeated <%= bossName %>! Questing party members receive the rewards of victory.", "chatFindItems": "<%= username %> found <%= items %>.", "chatItemQuestFinish": "All items found! Party has received their rewards.", diff --git a/website/server/models/group.js b/website/server/models/group.js index 509c4e160b..23bd4828f3 100644 --- a/website/server/models/group.js +++ b/website/server/models/group.js @@ -348,10 +348,10 @@ function translateSystemMessages (group, user) { group.chat[i].text = `\`${shared.i18n.t('chatItemQuestFinish', user.preferences.language)}\``; break; case 'spell_cast_party': - group.chat[i].text = `\`${shared.i18n.t('chatCastSpellParty', {username: group.chat[i].info.user, spellName: shared.content.spells[group.chat[i].info.class][group.chat[i].info.spell].text(user.preferences.language)}, user.preferences.language)}\``; + group.chat[i].text = `\`${shared.i18n.t('chatCastSpellParty', {username: group.chat[i].info.user, spell: shared.content.spells[group.chat[i].info.class][group.chat[i].info.spell].text(user.preferences.language)}, user.preferences.language)}\``; break; case 'spell_cast_user': - group.chat[i].text = `\`${shared.i18n.t('chatCastSpellUser', {username: group.chat[i].info.user, spellName: shared.content.spells[group.chat[i].info.class][group.chat[i].info.spell].text(user.preferences.language), target: group.chat[i].info.target}, user.preferences.language)}\``; + group.chat[i].text = `\`${shared.i18n.t('chatCastSpellUser', {username: group.chat[i].info.user, spell: shared.content.spells[group.chat[i].info.class][group.chat[i].info.spell].text(user.preferences.language), target: group.chat[i].info.target}, user.preferences.language)}\``; break; case 'quest_abort': group.chat[i].text = `\`${shared.i18n.t('chatQuestAborted', {username: group.chat[i].info.user, questName: questScrolls[group.chat[i].info.quest].text(user.preferences.language)}, user.preferences.language)}\``;