Revision: 11130
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=11130&view=rev
Author:   hofman
Date:     2007-09-22 15:01:50 -0700 (Sat, 22 Sep 2007)

Log Message:
-----------
Check ffor unique specifier in auto-file format.

Modified Paths:
--------------
    branches/TRY_ARM_FILE_INTERFACE/bibdesk/BDSKFormatParser.m

Modified: branches/TRY_ARM_FILE_INTERFACE/bibdesk/BDSKFormatParser.m
===================================================================
--- branches/TRY_ARM_FILE_INTERFACE/bibdesk/BDSKFormatParser.m  2007-09-22 
20:09:42 UTC (rev 11129)
+++ branches/TRY_ARM_FILE_INTERFACE/bibdesk/BDSKFormatParser.m  2007-09-22 
22:01:50 UTC (rev 11130)
@@ -923,6 +923,10 @@
                }
        }
        
+    if (foundUnique == NO && [fieldName isURLField]) {
+        errorMsg = NSLocalizedString(@"A unique specifier (%u, %U or %n) is 
required in format for URLs.", @"Error description");
+    }
+       
        if (errorMsg == nil) {
                // change formatString
                *formatString = [[sanitizedFormatString copy] autorelease];


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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to