Replaced gettext with _() (since this will work even if HAS_GETTEXT is not set).

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2008-07-03 03:05:05 +00:00
parent eb9d517221
commit 511292b62d

View File

@ -22,9 +22,9 @@
#include "world.hpp"
#include "race_manager.hpp"
#include "track_manager.hpp"
#if defined(WIN32) && !defined(__CYGWIN__)
# define snprintf _snprintf
#endif
#if defined(WIN32) && !defined(__CYGWIN__)
# define snprintf _snprintf
#endif
Challenge::Challenge(std::string id, std::string name) :
@ -111,7 +111,7 @@ const std::string Challenge::getUnlockedMessage() const
case UNLOCK_TRACK:
{
Track* track = track_manager->getTrack( m_feature[n].name );
snprintf(message, 127, _("New track '%s'\nnow available"), gettext(track->getName()) );
snprintf(message, 127, _("New track '%s'\nnow available"), _(track->getName()) );
break;
}
case UNLOCK_MODE: