i18n'ed a spoken message.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3275 127b21dd-08f5-0310-b4b7-95ae10353056master
parent
6761ad3af9
commit
cac50efa67
|
@ -1275,4 +1275,6 @@
|
|||
|
||||
// Locale-specific defaults
|
||||
"espeak-default-voice" = "default";
|
||||
|
||||
"speech-synthesis-incoming-message" = "Incoming message.";
|
||||
}
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue