i18n'ed a spoken message.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3275 127b21dd-08f5-0310-b4b7-95ae10353056
master
Nikos Barkas 2010-05-02 22:51:00 +00:00
parent 6761ad3af9
commit cac50efa67
2 changed files with 3 additions and 1 deletions

View File

@ -1275,4 +1275,6 @@
// Locale-specific defaults
"espeak-default-voice" = "default";
"speech-synthesis-incoming-message" = "Incoming message.";
}

View File

@ -5408,7 +5408,7 @@ OOINLINE BOOL EntityInRange(Vector p1, Entity *e2, float range)
{
if ([self isSpeaking])
[self stopSpeaking];
[self startSpeakingString:@"Incoming message."];
[self startSpeakingString:DESC(@"speech-synthesis-incoming-message")];
}
[message_gui printLongText:text align:GUI_ALIGN_CENTER color:[OOColor greenColor] fadeTime:(float)count key:nil addToArray:nil];