Ignore:
Timestamp:
02/26/03 07:12:36 (21 years ago)
Author:
Nicholas Riley
Message:

Localization, bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/NJRVoicePopUpButton.m

    r60 r103  
    2525    [menu addItem: [NSMenuItem separatorItem]];
    2626    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: @""];
    2828        [item setEnabled: NO];
    2929    } else {
     
    8888
    8989    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);
    9191        [self _invalidateVoiceSelection];
    9292        return;
Note: See TracChangeset for help on using the changeset viewer.