Changed handling of speech synth Incoming message string to be friendlier to existing localizations.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4332 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
954f5b4ef7
commit
79a9d11f29
@ -1328,7 +1328,8 @@
|
||||
// Locale-specific defaults
|
||||
"espeak-default-voice" = "default";
|
||||
|
||||
"speech-synthesis-incoming-message" = "Incoming message: "; // Prefix; message text is appended.
|
||||
"speech-synthesis-incoming-message" = "Incoming message";
|
||||
"speech-synthesis-incoming-message-@" = "[speech-synthesis-incoming-message]: %@";
|
||||
|
||||
// Mac multi-screen handling
|
||||
"oolite-mac-bad-display" = "The display configuration has changed in a way that may impact Oolite’s performance.";
|
||||
|
@ -4971,7 +4971,7 @@ OOINLINE BOOL EntityInRange(Vector p1, Entity *e2, float range)
|
||||
|
||||
if (!logOnly)
|
||||
{
|
||||
[self speakWithSubstitutions:[NSString stringWithFormat:@"%@%@", DESC(@"speech-synthesis-incoming-message"), text]];
|
||||
[self speakWithSubstitutions:[NSString stringWithFormat:DESC(@"speech-synthesis-incoming-message-@"), text]];
|
||||
|
||||
[message_gui printLongText:text align:GUI_ALIGN_CENTER color:[OOColor greenColor] fadeTime:(float)count key:nil addToArray:nil];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user