Changeset 103 for trunk/Cocoa/Pester/Source/NJRVoicePopUpButton.m
- Timestamp:
- 02/26/03 07:12:36 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/Pester/Source/NJRVoicePopUpButton.m
r60 r103 25 25 [menu addItem: [NSMenuItem separatorItem]]; 26 26 if (voiceNames == nil || [voiceNames count] == 0) { 27 item = [menu addItemWithTitle: @"CanÕt locate voices"action: nil keyEquivalent: @""];27 item = [menu addItemWithTitle: NSLocalizedString(@"Can't locate voices", "Voice popup menu item surrogate for voice list if no voices are found") action: nil keyEquivalent: @""]; 28 28 [item setEnabled: NO]; 29 29 } else { … … 88 88 89 89 if ( (err = GetIndVoice(voiceIndex, &voice)) != noErr) { 90 NSBeginAlertSheet(@"Voice not available", nil, nil, nil, [self window], nil, nil, nil, nil, @"The voice Ò%@Ó you selected could not be used. An error of type %ld occurred while attempting to retrieve voice information.", voiceName, err);90 NSBeginAlertSheet(@"Voice not available", nil, nil, nil, [self window], nil, nil, nil, nil, NSLocalizedString(@"The voice '%@' you selected could not be used. An error of type %ld occurred while attempting to retrieve voice information.", "Message displayed in alert sheet when GetIndVoice returns an error"), voiceName, err); 91 91 [self _invalidateVoiceSelection]; 92 92 return;
Note:
See TracChangeset
for help on using the changeset viewer.