Add a comment for translators, forgot that in the previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10025 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -306,6 +306,8 @@ const core::stringw RubberBall::getHitString(const Kart *kart) const
|
||||
//I18N: shown when a player is hit by a rubber ball. %1 is the
|
||||
// attacker, %0 is the victim.
|
||||
case 0: return _LTR("%s is being bounced around.");
|
||||
//I18N: shown when a player is hit by a rubber ball. %1 is the
|
||||
// attacker, %0 is the victim.
|
||||
case 1: return _LTR("Fetch the ball, %0!");
|
||||
default:assert(false); return L""; // avoid compiler warning
|
||||
}
|
||||
|
||||
@@ -21,10 +21,10 @@
|
||||
|
||||
/** Switch this to 1 to get the backtrace of the leaks (slows down execution a little)
|
||||
Atm only implemented for OSX */
|
||||
#define GET_STACK_TRACE 0
|
||||
#define GET_STACK_TRACE 1
|
||||
|
||||
|
||||
#if (GET_STACK_TRACE == 1) && defined(MAC_OS_X_VERSION_10_5)
|
||||
#if (GET_STACK_TRACE == 1) && defined(__APPLE__)
|
||||
#include <Availability.h>
|
||||
#include <execinfo.h>
|
||||
#endif
|
||||
@@ -53,7 +53,7 @@ namespace MemoryLeaks
|
||||
{
|
||||
obj = objArg;
|
||||
|
||||
#if (GET_STACK_TRACE == 1) && defined(MAC_OS_X_VERSION_10_5)
|
||||
#if (GET_STACK_TRACE == 1) && defined(__APPLE__)
|
||||
|
||||
const int maxsize = 32;
|
||||
void* callstack[maxsize];
|
||||
|
||||
Reference in New Issue
Block a user