Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Modify "Last Updated" for localization #24

Open
wants to merge 1 commit into from

1 participant

@allenhuang

Hi, I just modify this for its missed localization capability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 16, 2011
  1. @allenhuang
This page is out of date. Refresh to see the latest.
View
2  EGOTableViewPullRefresh/Classes/View/EGORefreshTableHeaderView.m 100755 → 100644
@@ -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];
Something went wrong with that request. Please try again.