Permalink
Browse files

Localized "Last updated" in header.

  • Loading branch information...
1 parent 743679f commit 93f9417d335088cfc1fd8a78c86dc18a0ebcd6ee @erikolsson committed Feb 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 EGOTableViewPullRefresh/Classes/View/EGORefreshTableHeaderView.m
@@ -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: %@", @"Last updated, time"), [formatter stringFromDate:date]];
[[NSUserDefaults standardUserDefaults] setObject:_lastUpdatedLabel.text forKey:@"EGORefreshTableView_LastRefresh"];
[[NSUserDefaults standardUserDefaults] synchronize];

0 comments on commit 93f9417

Please sign in to comment.