Ignore:
Timestamp:
03/14/03 04:45:44 (18 years ago)
Author:
Nicholas Riley
Message:

ICeCoffEEBookmarks.c: Localized strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICeCoffEE/ICeCoffEE/ICeCoffEEBookmarks.c

    r106 r122  
    159159    SAFE_RELEASE(bundleURL);
    160160
    161     const CFStringRef textFieldTitles[] = { CFSTR("Location:"), CFSTR("Name:"), CFSTR("Description:") };
     161    const CFStringRef textFieldTitles[] = { ICCF_CopyLocalizedString(CFSTR("Location:")), ICCF_CopyLocalizedString(CFSTR("Name:")), ICCF_CopyLocalizedString(CFSTR("Description:")) };
    162162    const CFStringRef textFieldValues[] = { url, CFSTR(""), CFSTR("") };
    163163    CFArrayRef textFieldTitlesArray = CFArrayCreate(NULL, (const void **)&textFieldTitles, 3, &kCFTypeArrayCallBacks);
    164164    CFArrayRef textFieldValuesArray = CFArrayCreate(NULL, (const void **)&textFieldValues, 3, &kCFTypeArrayCallBacks);
    165165
    166     CFDictionaryAddValue(dict, kCFUserNotificationAlertHeaderKey, CFSTR("Add Bookmark"));
    167     CFDictionaryAddValue(dict, kCFUserNotificationAlertMessageKey, CFSTR("Bookmark name and description are optional."));
     166    CFDictionaryAddValue(dict, kCFUserNotificationAlertHeaderKey, ICCF_CopyLocalizedString(CFSTR("Add Bookmark")));
     167    CFDictionaryAddValue(dict, kCFUserNotificationAlertMessageKey, ICCF_CopyLocalizedString(CFSTR("Bookmark name and description are optional.")));
    168168    CFDictionaryAddValue(dict, kCFUserNotificationTextFieldTitlesKey, textFieldTitlesArray);
    169169    CFDictionaryAddValue(dict, kCFUserNotificationTextFieldValuesKey, textFieldValuesArray);
    170     CFDictionaryAddValue(dict, kCFUserNotificationDefaultButtonTitleKey, CFSTR("Add"));
    171     CFDictionaryAddValue(dict, kCFUserNotificationAlternateButtonTitleKey, CFSTR("Cancel"));
     170    CFDictionaryAddValue(dict, kCFUserNotificationDefaultButtonTitleKey, ICCF_CopyLocalizedString(CFSTR("Add")));
     171    CFDictionaryAddValue(dict, kCFUserNotificationAlternateButtonTitleKey, ICCF_CopyLocalizedString(CFSTR("Cancel")));
    172172    if (textFieldTitlesArray != NULL) CFRelease(textFieldTitlesArray);
    173173    if (textFieldValuesArray != NULL) CFRelease(textFieldValuesArray);
Note: See TracChangeset for help on using the changeset viewer.