typo fix
This commit is contained in:
1 parent
6d25d89e2b
commit
9bd0fbb718
4 files changed
+12
-12
No files matched your search
@@ -756,7 +756,7 @@ void AuctionHouseObject::BuildListAuctionItems(WorldPacket& data, Player* player
|
||||
continue;
|
||||
|
||||
// local name
|
||||
if (localeConstant >= LOCALE_ENUS)
|
||||
if (localeConstant >= LOCALE_enUS)
|
||||
if (ItemLocale const* il = sObjectMgr->GetItemLocale(proto->ItemId))
|
||||
ObjectMgr::GetLocaleString(il->Name, localeConstant, name);
|
||||
|
||||
|
||||
@@ -229,7 +229,7 @@ void PlayerMenu::SendGossipMenu(uint32 titleTextId, ObjectGuid objectGUID)
|
||||
std::string title = quest->GetTitle();
|
||||
|
||||
LocaleConstant localeConstant = _session->GetSessionDbLocaleIndex();
|
||||
if (localeConstant >= LOCALE_ENUS)
|
||||
if (localeConstant >= LOCALE_enUS)
|
||||
if (QuestLocale const* localeData = sObjectMgr->GetQuestLocale(questID))
|
||||
ObjectMgr::GetLocaleString(localeData->Title, localeConstant, title);
|
||||
|
||||
@@ -263,7 +263,7 @@ void PlayerMenu::SendPointOfInterest(uint32 id) const
|
||||
|
||||
std::string name = poi->Name;
|
||||
LocaleConstant localeConstant = _session->GetSessionDbLocaleIndex();
|
||||
if (localeConstant >= LOCALE_ENUS)
|
||||
if (localeConstant >= LOCALE_enUS)
|
||||
if (PointOfInterestLocale const* localeData = sObjectMgr->GetPointOfInterestLocale(id))
|
||||
ObjectMgr::GetLocaleString(localeData->Name, localeConstant, name);
|
||||
|
||||
@@ -348,7 +348,7 @@ void PlayerMenu::SendQuestGiverQuestList(QEmote const& eEmote, const std::string
|
||||
std::string title = quest->GetTitle();
|
||||
|
||||
LocaleConstant localeConstant = _session->GetSessionDbLocaleIndex();
|
||||
if (localeConstant >= LOCALE_ENUS)
|
||||
if (localeConstant >= LOCALE_enUS)
|
||||
if (QuestLocale const* localeData = sObjectMgr->GetQuestLocale(questID))
|
||||
ObjectMgr::GetLocaleString(localeData->Title, localeConstant, title);
|
||||
|
||||
@@ -391,7 +391,7 @@ void PlayerMenu::SendQuestGiverQuestDetails(Quest const* quest, ObjectGuid npcGU
|
||||
std::string questTurnTargetName = quest->GetQuestTurnTargetName();
|
||||
|
||||
LocaleConstant localeConstant = _session->GetSessionDbLocaleIndex();
|
||||
if (localeConstant >= LOCALE_ENUS)
|
||||
if (localeConstant >= LOCALE_enUS)
|
||||
{
|
||||
if (QuestLocale const* localeData = sObjectMgr->GetQuestLocale(quest->GetQuestId()))
|
||||
{
|
||||
@@ -459,7 +459,7 @@ void PlayerMenu::SendQuestQueryResponse(Quest const* quest) const
|
||||
questObjectiveText[i] = quest->ObjectiveText[i];
|
||||
|
||||
LocaleConstant localeConstant = _session->GetSessionDbLocaleIndex();
|
||||
if (localeConstant >= LOCALE_ENUS)
|
||||
if (localeConstant >= LOCALE_enUS)
|
||||
{
|
||||
if (QuestLocale const* localeData = sObjectMgr->GetQuestLocale(quest->GetQuestId()))
|
||||
{
|
||||
@@ -623,7 +623,7 @@ void PlayerMenu::SendQuestGiverOfferReward(Quest const* quest, ObjectGuid npcGUI
|
||||
std::string questTurnTargetName = quest->GetQuestTurnTargetName();
|
||||
|
||||
LocaleConstant localeConstant = _session->GetSessionDbLocaleIndex();
|
||||
if (localeConstant >= LOCALE_ENUS)
|
||||
if (localeConstant >= LOCALE_enUS)
|
||||
{
|
||||
if (QuestLocale const* localeData = sObjectMgr->GetQuestLocale(quest->GetQuestId()))
|
||||
{
|
||||
@@ -686,7 +686,7 @@ void PlayerMenu::SendQuestGiverRequestItems(Quest const* quest, ObjectGuid npcGU
|
||||
std::string requestItemsText = quest->GetRequestItemsText();
|
||||
|
||||
LocaleConstant localeConstant = _session->GetSessionDbLocaleIndex();
|
||||
if (localeConstant >= LOCALE_ENUS)
|
||||
if (localeConstant >= LOCALE_enUS)
|
||||
{
|
||||
if (QuestLocale const* localeData = sObjectMgr->GetQuestLocale(quest->GetQuestId()))
|
||||
{
|
||||
|
||||
@@ -14633,7 +14633,7 @@ void Player::SendPreparedQuest(ObjectGuid guid)
|
||||
title = gossiptext->Options[0].Text_0;
|
||||
|
||||
LocaleConstant localeConstant = GetSession()->GetSessionDbLocaleIndex();
|
||||
if (localeConstant >= LOCALE_ENUS)
|
||||
if (localeConstant >= LOCALE_enUS)
|
||||
if (NpcTextLocale const* nl = sObjectMgr->GetNpcTextLocale(textid))
|
||||
ObjectMgr::GetLocaleString(nl->Text_0[0], localeConstant, title);
|
||||
}
|
||||
@@ -14642,7 +14642,7 @@ void Player::SendPreparedQuest(ObjectGuid guid)
|
||||
title = gossiptext->Options[0].Text_1;
|
||||
|
||||
LocaleConstant localeConstant = GetSession()->GetSessionDbLocaleIndex();
|
||||
if (localeConstant >= LOCALE_ENUS)
|
||||
if (localeConstant >= LOCALE_enUS)
|
||||
if (NpcTextLocale const* nl = sObjectMgr->GetNpcTextLocale(textid))
|
||||
ObjectMgr::GetLocaleString(nl->Text_1[0], localeConstant, title);
|
||||
}
|
||||
@@ -16814,7 +16814,7 @@ void Player::SendQuestConfirmAccept(const Quest* quest, Player* pReceiver) const
|
||||
std::string strTitle = quest->GetTitle();
|
||||
|
||||
LocaleConstant localeConstant = pReceiver->GetSession()->GetSessionDbLocaleIndex();
|
||||
if (localeConstant >= LOCALE_ENUS)
|
||||
if (localeConstant >= LOCALE_enUS)
|
||||
if (const QuestLocale* pLocale = sObjectMgr->GetQuestLocale(quest->GetQuestId()))
|
||||
ObjectMgr::GetLocaleString(pLocale->Title, localeConstant, strTitle);
|
||||
|
||||
|
||||
@@ -397,7 +397,7 @@ void WorldSession::HandlePageTextQueryOpcode(WorldPacket& recvData)
|
||||
std::string Text = pageText->Text;
|
||||
|
||||
LocaleConstant localeConstant = GetSessionDbLocaleIndex();
|
||||
if (localeConstant >= LOCALE_ENUS)
|
||||
if (localeConstant >= LOCALE_enUS)
|
||||
if (PageTextLocale const* pageTextLocale = sObjectMgr->GetPageTextLocale(pageID))
|
||||
ObjectMgr::GetLocaleString(pageTextLocale->Text, localeConstant, Text);
|
||||
|
||||
|
||||
Reference in new issue
Block a user