Skip to content

Commit c726c82

Browse files
committed
Fix incorrect error message
1 parent 32c6ccc commit c726c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/RswiftCore/ResourceTypes/LocalizableStrings.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ struct LocalizableStrings : WhiteListedExtensionsResourceType {
3434

3535
// Check to make sure url can be parsed as a dictionary
3636
guard let nsDictionary = NSDictionary(contentsOf: url) else {
37-
throw ResourceParsingError.parsingFailed("Filename and/or extension could not be parsed from URL: \(url.absoluteString)")
37+
throw ResourceParsingError.parsingFailed("File could not be parsed as a strings file: \(url.absoluteString)")
3838
}
3939

4040
// Parse dicts from NSDictionary

0 commit comments

Comments
 (0)