Changeset 5718


Ignore:
Timestamp:
Apr 28, 2008, 6:51:38 PM (14 years ago)
Author:
livings124
Message:

even more string cleanup

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/CreatorWindowController.m

    r5716 r5718  
    203203   
    204204    //parse tracker string
    205     if (tr_httpParseURL([trackerString UTF8String], -1, NULL, NULL, NULL))
     205    if (!tr_httpIsValidURL([trackerString UTF8String]))
    206206    {
    207207        NSAlert * alert = [[[NSAlert alloc] init] autorelease];
    208208        [alert addButtonWithTitle: NSLocalizedString(@"OK", "Create torrent -> warning -> button")];
    209         [alert setMessageText: NSLocalizedString(@"The tracker address cannot be blank.", "Create torrent -> warning -> title")];
    210         [alert setInformativeText: NSLocalizedString(@"Change the tracker address to create the torrent.",
     209        [alert setInformativeText: NSLocalizedString(@"Change the tracker address to create the torrent file.",
    211210                                                    "Create torrent -> warning -> info")];
    212211        [alert setAlertStyle: NSWarningAlertStyle];
     
    236235        [alert setInformativeText: [NSString stringWithFormat:
    237236                NSLocalizedString(@"A file with the name \"%@\" already exists in the directory \"%@\". "
    238                     "Choose a new name or directory to create the torrent.",
     237                    "Choose a new name or directory to create the torrent file.",
    239238                    "Create torrent -> file already exists warning -> warning"),
    240239                    [pathComponents objectAtIndex: count-1], [pathComponents objectAtIndex: count-2]]];
  • trunk/macosx/English.lproj/Localizable.strings

    r5716 r5718  
    128128
    129129/* Create torrent -> file already exists warning -> warning */
    130 "A file with the name \"%@\" already exists in the directory \"%@\". Choose a new name or directory to create the torrent." = "A file with the name \"%1$@\" already exists in the directory \"%2$@\". Choose a new name or directory to create the torrent.";
     130"A file with the name \"%@\" already exists in the directory \"%@\". Choose a new name or directory to create the torrent file." = "A file with the name \"%1$@\" already exists in the directory \"%2$@\". Choose a new name or directory to create the torrent file.";
    131131
    132132/* Move inside itself alert -> title */
     
    216216
    217217/* Create torrent -> warning -> info */
    218 "Change the tracker address to create the torrent." = "Change the tracker address to create the torrent.";
     218"Change the tracker address to create the torrent file." = "Change the tracker address to create the torrent file.";
    219219
    220220/* Torrent Table -> tooltip */
     
    256256/* Drag overlay -> file */
    257257"Create a Torrent File" = "Create a Torrent File";
     258
     259/* Create toolbar item -> tooltip */
     260"Create torrent file" = "Create torrent file";
    258261
    259262/* Create torrent -> select file
    260263   Create toolbar item -> palette label */
    261264"Create Torrent File" = "Create Torrent File";
    262 
    263 /* Create toolbar item -> tooltip */
    264 "Create torrent file" = "Create torrent file";
    265265
    266266/* Create torrent -> failed -> title */
     
    502502"Open Torrent Address" = "Open Torrent Address";
    503503
     504/* Open toolbar item -> tooltip */
     505"Open torrent files" = "Open torrent files";
     506
    504507/* Open toolbar item -> palette label */
    505508"Open Torrent Files" = "Open Torrent Files";
    506 
    507 /* Open toolbar item -> tooltip */
    508 "Open torrent files" = "Open torrent files";
    509509
    510510/* Open address toolbar item -> tooltip */
     
    658658"Seeding" = "Seeding";
    659659
    660 /* Torrent -> status string */
    661 "Seeding complete" = "Seeding complete";
    662 
    663660/* Growl notification title */
    664661"Seeding Complete" = "Seeding Complete";
     662
     663/* Torrent -> status string */
     664"Seeding complete" = "Seeding complete";
    665665
    666666/* Torrent -> status string */
     
    764764"The total file size is zero bytes." = "The total file size is zero bytes.";
    765765
    766 /* Create torrent -> warning -> title */
    767 "The tracker address cannot be blank." = "The tracker address cannot be blank.";
    768 
    769766/* Create torrent -> warning -> message */
    770767"The tracker address is invalid." = "The tracker address is invalid.";
Note: See TracChangeset for help on using the changeset viewer.