Index: ps/trunk/source/graphics/ColladaManager.cpp =================================================================== --- ps/trunk/source/graphics/ColladaManager.cpp +++ ps/trunk/source/graphics/ColladaManager.cpp @@ -1,4 +1,4 @@ -/* Copyright (C) 2015 Wildfire Games. +/* Copyright (C) 2017 Wildfire Games. * This file is part of 0 A.D. * * 0 A.D. is free software: you can redistribute it and/or modify @@ -106,7 +106,7 @@ CVFSFile skeletonFile; if (skeletonFile.Load(m_VFS, path) != PSRETURN_OK) { - LOGERROR("Failed to read skeleton defintions from '%s'", path.string8()); + LOGERROR("Failed to read skeleton definitions from '%s'", path.string8()); return ERR::FAIL; } @@ -228,7 +228,7 @@ CVFSFile skeletonFile; if (skeletonFile.Load(m_VFS, path) != PSRETURN_OK) { - LOGERROR("Failed to read skeleton defintions from '%s'", path.string8()); + LOGERROR("Failed to read skeleton definitions from '%s'", path.string8()); continue; } Index: ps/trunk/source/gui/CGUI.h =================================================================== --- ps/trunk/source/gui/CGUI.h +++ ps/trunk/source/gui/CGUI.h @@ -216,7 +216,7 @@ * @param Width Width, 0 if no word-wrapping. * @param BufferZone space between text and edge, and space between text and images. * @param pObject Optional parameter for error output. Used *only* if error parsing fails, - * and we need to be able to output which object the error occured in to aid the user. + * and we need to be able to output which object the error occurred in to aid the user. */ SGUIText GenerateText(const CGUIString& Text, const CStrW& Font, const float& Width, const float& BufferZone, const IGUIObject* pObject = NULL); Index: ps/trunk/source/lobby/XmppClient.cpp =================================================================== --- ps/trunk/source/lobby/XmppClient.cpp +++ ps/trunk/source/lobby/XmppClient.cpp @@ -1004,7 +1004,7 @@ switch (err) { CASE(StanzaErrorUndefined, g_L10n.Translate("No error")); - DEBUG_CASE(StanzaErrorBadRequest, "Server recieved malformed XML"); + DEBUG_CASE(StanzaErrorBadRequest, "Server received malformed XML"); CASE(StanzaErrorConflict, g_L10n.Translate("Player already logged in")); DEBUG_CASE(StanzaErrorFeatureNotImplemented, "Server does not implement requested feature"); CASE(StanzaErrorForbidden, g_L10n.Translate("Forbidden")); @@ -1054,8 +1054,8 @@ DEBUG_CASE(ConnProxyAuthRequired, "The HTTP/SOCKS5 proxy requires authentication"); DEBUG_CASE(ConnProxyAuthFailed, "HTTP/SOCKS5 proxy authentication failed"); DEBUG_CASE(ConnProxyNoSupportedAuth, "The HTTP/SOCKS5 proxy requires an unsupported authentication mechanism"); - CASE(ConnIoError, g_L10n.Translate("An I/O error occured")); - DEBUG_CASE(ConnParseError, "An XML parse error occured"); + CASE(ConnIoError, g_L10n.Translate("An I/O error occurred")); + DEBUG_CASE(ConnParseError, "An XML parse error occurred"); CASE(ConnConnectionRefused, g_L10n.Translate("The connection was refused by the server")); CASE(ConnDnsError, g_L10n.Translate("Resolving the server's hostname failed")); CASE(ConnOutOfMemory, g_L10n.Translate("This system is out of memory")); @@ -1090,7 +1090,7 @@ CASE(RegistrationNotAcceptable, g_L10n.Translate("Not all necessary information provided")); CASE(RegistrationConflict, g_L10n.Translate("Username already exists")); DEBUG_CASE(RegistrationNotAuthorized, "Account removal timeout or insufficiently secure channel for password change"); - DEBUG_CASE(RegistrationBadRequest, "Server recieved incomplete request"); + DEBUG_CASE(RegistrationBadRequest, "Server received an incomplete request"); DEBUG_CASE(RegistrationForbidden, "Registration forbidden"); DEBUG_CASE(RegistrationRequired, "Account cannot be removed as it does not exist"); DEBUG_CASE(RegistrationUnexpectedRequest, "This client is unregistered with the server"); Index: ps/trunk/source/network/NetMessage.h =================================================================== --- ps/trunk/source/network/NetMessage.h +++ ps/trunk/source/network/NetMessage.h @@ -64,7 +64,7 @@ * @param pStart Message start within the serialized buffer * @param pEnd Message end within the serialized buffer * @return The position in the buffer right after the - * message or NULL if an error occured + * message or NULL if an error occurred */ virtual const u8* Deserialize(const u8* pStart, const u8* pEnd);