Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Modify "Last Updated" for localization
  • Loading branch information
allenhuang committed Jul 16, 2011
1 parent 743679f commit 0b6f9e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EGOTableViewPullRefresh/Classes/View/EGORefreshTableHeaderView.m 100755 → 100644
Expand Up @@ -117,7 +117,7 @@ - (void)refreshLastUpdatedDate {
[dateFormatter setDateStyle:NSDateFormatterShortStyle];
[dateFormatter setTimeStyle:NSDateFormatterShortStyle];

_lastUpdatedLabel.text = [NSString stringWithFormat:@"Last Updated: %@", [dateFormatter stringFromDate:date]];
_lastUpdatedLabel.text = [NSString stringWithFormat:NSLocalizedString(@"Last Updated: %@", @"Show last updated time"), [dateFormatter stringFromDate:date]];
[[NSUserDefaults standardUserDefaults] setObject:_lastUpdatedLabel.text forKey:@"EGORefreshTableView_LastRefresh"];
[[NSUserDefaults standardUserDefaults] synchronize];

Expand Down

0 comments on commit 0b6f9e1

Please sign in to comment.