Skip to content

Commit

Permalink
Merge branch 'hectr-i18n' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
billymeltdown committed Mar 26, 2014
2 parents 14c20b4 + 360c8ad commit d723b62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions NSDate+Helper.m
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ - (NSString *)stringDaysAgoAgainstMidnight:(BOOL)flag {
NSString *text = nil;
switch (daysAgo) {
case 0:
text = @"Today";
text = NSLocalizedString(@"Today", nil);
break;
case 1:
text = @"Yesterday";
text = NSLocalizedString(@"Yesterday", nil);
break;
default:
text = [NSString stringWithFormat:@"%d days ago", (int)daysAgo];
text = [NSString stringWithFormat:@"%ld days ago", (NSInteger)daysAgo];
}
return text;
}
Expand Down

0 comments on commit d723b62

Please sign in to comment.