Revision: 28905
          http://sourceforge.net/p/bibdesk/svn/28905
Author:   hofman
Date:     2024-05-15 08:57:21 +0000 (Wed, 15 May 2024)
Log Message:
-----------
reorder default export templates

Modified Paths:
--------------
    trunk/bibdesk/BDSKTemplate.m

Modified: trunk/bibdesk/BDSKTemplate.m
===================================================================
--- trunk/bibdesk/BDSKTemplate.m        2024-05-14 15:02:42 UTC (rev 28904)
+++ trunk/bibdesk/BDSKTemplate.m        2024-05-15 08:57:21 UTC (rev 28905)
@@ -178,6 +178,16 @@
     BDSKTemplate *template = nil;
     NSURL *fileURL = nil;
     
+    // RTF template
+    fileURL = [templatesURL 
URLByAppendingPathComponent:@"rtfExportTemplate.rtf" isDirectory:NO];
+    template = [BDSKTemplate templateWithName:NSLocalizedString(@"Default RTF 
template", @"template name") mainPageURL:fileURL fileType:@"rtf"];
+    [itemNodes addObject:template];
+    
+    // RTFD template
+    fileURL = [templatesURL 
URLByAppendingPathComponent:@"rtfdExportTemplate.rtfd" isDirectory:NO];
+    template = [BDSKTemplate templateWithName:NSLocalizedString(@"Default RTFD 
template", @"template name") mainPageURL:fileURL fileType:@"rtfd"];
+    [itemNodes addObject:template];
+        
     // HTML template
     fileURL = [templatesURL 
URLByAppendingPathComponent:@"htmlExportTemplate.html" isDirectory:NO];
     template = [BDSKTemplate templateWithName:NSLocalizedString(@"Default HTML 
template", @"template name") mainPageURL:fileURL fileType:@"html"];
@@ -188,16 +198,6 @@
     [template addChildWithURL:fileURL role:BDSKTemplateAccessoryString];
     [itemNodes addObject:template];
     
-    // RTF template
-    fileURL = [templatesURL 
URLByAppendingPathComponent:@"rtfExportTemplate.rtf" isDirectory:NO];
-    template = [BDSKTemplate templateWithName:NSLocalizedString(@"Default RTF 
template", @"template name") mainPageURL:fileURL fileType:@"rtf"];
-    [itemNodes addObject:template];
-    
-    // RTFD template
-    fileURL = [templatesURL 
URLByAppendingPathComponent:@"rtfdExportTemplate.rtfd" isDirectory:NO];
-    template = [BDSKTemplate templateWithName:NSLocalizedString(@"Default RTFD 
template", @"template name") mainPageURL:fileURL fileType:@"rtfd"];
-    [itemNodes addObject:template];
-        
     // RSS template
     fileURL = [templatesURL 
URLByAppendingPathComponent:@"rssExportTemplate.rss" isDirectory:NO];
     template = [BDSKTemplate templateWithName:NSLocalizedString(@"Default RSS 
template", @"template name") mainPageURL:fileURL fileType:@"rss"];
@@ -208,7 +208,7 @@
     template = [BDSKTemplate templateWithName:NSLocalizedString(@"Default Doc 
template", @"template name") mainPageURL:fileURL fileType:@"doc"];
     [itemNodes addObject:template];
             
-    // RTF template
+    // Preview template
     fileURL = [templatesURL 
URLByAppendingPathComponent:@"rtfPreviewTemplate.rtf" isDirectory:NO];
     template = [BDSKTemplate templateWithName:NSLocalizedString(@"Default 
preview template", @"template name") mainPageURL:fileURL fileType:@"rtf"];
     [itemNodes addObject:template];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to