File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -383,9 +383,9 @@ - (void)generateXMLFileAtPath:(NSString*)path
383383 [headers addObject: column.identifier];
384384 }
385385
386- self. filteredTranslationsDictionary = [self .translationsDictionary mutableCopy ];
386+ OrderedDictionary *results = [self .translationsDictionary mutableCopy ];
387387
388- [self .filteredTranslationsDictionary enumerateKeysAndObjectsUsingBlock: ^(NSString *key, NSMutableDictionary * obj, BOOL *stop) {
388+ [results enumerateKeysAndObjectsUsingBlock: ^(NSString *key, NSMutableDictionary * obj, BOOL *stop) {
389389
390390 if (!includeComments)
391391 [obj removeObjectForKey: kKeyComment ];
@@ -398,7 +398,7 @@ - (void)generateXMLFileAtPath:(NSString*)path
398398
399399
400400 NSError *error;
401- [[NSPropertyListSerialization dataWithPropertyList: self .filteredTranslationsDictionary format: NSPropertyListXMLFormat_v1_0 options: 0 error: &error] writeToFile: path ? path : self .sourceFilePath atomically: YES ];
401+ [[NSPropertyListSerialization dataWithPropertyList: results format: NSPropertyListXMLFormat_v1_0 options: 0 error: &error] writeToFile: path ? path : self .sourceFilePath atomically: YES ];
402402
403403 if (error) {
404404 SCLog (@" %@ " , error);
You can’t perform that action at this time.
0 commit comments