Skip to content

Commit

Permalink
fix spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tomatoeggs committed May 11, 2017
1 parent 52dcccc commit 2db6915
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions LSUnusedResources/Model/ResourceStringSearcher.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@
NSString * const kNotificationResourceStringQueryDone = @"kNotificationResourceStringQueryDone";

typedef NS_ENUM(NSUInteger, LSFileType) {
LSFileTypeNone = 0,
LSFileTypeH = 1,
LSFileTypeObjC = 2,
LSFileTypeC = 3,
LSFileTypeSwift = 4,
LSFileTypeHtml = 5,
LSFileTypeCSS = 6,
LSFileTypeXib = 7,
LSFileTypePlist = 8,
LSFileTypeJson = 9,
LSFileTypeJs = 10,
LSFileTypeStings = 11
LSFileTypeNone = 0,
LSFileTypeH = 1,
LSFileTypeObjC = 2,
LSFileTypeC = 3,
LSFileTypeSwift = 4,
LSFileTypeHtml = 5,
LSFileTypeCSS = 6,
LSFileTypeXib = 7,
LSFileTypePlist = 8,
LSFileTypeJson = 9,
LSFileTypeJs = 10,
LSFileTypeStrings = 11
};


Expand Down Expand Up @@ -220,7 +220,7 @@ - (void)parseFileAtPath:(NSString *)path withType:(LSFileType)fileType {
pattern = [NSString stringWithFormat:@"([a-zA-Z0-9_-]+)\\.(%@)", self.resSuffixs.count ? [self.resSuffixs componentsJoinedByString:@"|"] : @"png|gif|jpg|jpeg"]; //*.(png|gif|jpg|jpeg)
groupIndex = 1;
break;
case LSFileTypeStings:
case LSFileTypeStrings:
pattern = @"=\\s*\"(.+)\"\\s*;";
groupIndex = 1;
break;
Expand Down Expand Up @@ -293,7 +293,7 @@ - (LSFileType)fileTypeByName:(NSString *)name {
return LSFileTypeCSS;
}
if ([ext isEqualTo:@"strings"]) {
return LSFileTypeStings;
return LSFileTypeStrings;
}

return LSFileTypeNone;
Expand Down

0 comments on commit 2db6915

Please sign in to comment.