Revision: 12200 http://bibdesk.svn.sourceforge.net/bibdesk/?rev=12200&view=rev Author: amaxwell Date: 2008-01-02 12:12:31 -0800 (Wed, 02 Jan 2008)
Log Message: ----------- Fix bug #1861070. Migration controller value transformer and other UI requires NSURL. Since we can't create it, pass it in the description. Modified Paths: -------------- trunk/bibdesk/BibItem.m Modified: trunk/bibdesk/BibItem.m =================================================================== --- trunk/bibdesk/BibItem.m 2008-01-02 19:51:19 UTC (rev 12199) +++ trunk/bibdesk/BibItem.m 2008-01-02 20:12:31 UTC (rev 12200) @@ -2799,8 +2799,7 @@ } else { NSString *stringValue = [self valueOfField:(id)key inherit:NO]; if (NO == [NSString isEmptyString:stringValue]) { - // @@ this error message is lame - NSDictionary *message = [[NSDictionary alloc] initWithObjectsAndKeys:stringValue, @"URL", NSLocalizedString(@"File or URL invalid", @""), @"error", nil]; + NSDictionary *message = [[NSDictionary alloc] initWithObjectsAndKeys:[NSString stringWithFormat:NSLocalizedString(@"URL \"[EMAIL PROTECTED]" is invalid", @""), stringValue], @"error", nil]; [ctxt->messages addObject:message]; [message release]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit