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
383
383
[headers addObject: column.identifier];
384
384
}
385
385
386
- self. filteredTranslationsDictionary = [self .translationsDictionary mutableCopy ];
386
+ OrderedDictionary *results = [self .translationsDictionary mutableCopy ];
387
387
388
- [self .filteredTranslationsDictionary enumerateKeysAndObjectsUsingBlock: ^(NSString *key, NSMutableDictionary * obj, BOOL *stop) {
388
+ [results enumerateKeysAndObjectsUsingBlock: ^(NSString *key, NSMutableDictionary * obj, BOOL *stop) {
389
389
390
390
if (!includeComments)
391
391
[obj removeObjectForKey: kKeyComment ];
@@ -398,7 +398,7 @@ - (void)generateXMLFileAtPath:(NSString*)path
398
398
399
399
400
400
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 ];
402
402
403
403
if (error) {
404
404
SCLog (@" %@ " , error);
You can’t perform that action at this time.
0 commit comments